diff --git a/Makefile b/Makefile index 6078772..6329188 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ SHELL := /bin/bash PACK := outscale ORG := outscale PROJECT := github.com/${ORG}/pulumi-${PACK} -NODE_MODULE_NAME := @pulumi/${PACK} +NODE_MODULE_NAME := @${PACK}/pulumi-${PACK} TF_NAME := ${PACK} PROVIDER_PATH := provider VERSION_PATH := ${PROVIDER_PATH}/pkg/version.Version diff --git a/examples/examples_nodejs_test.go b/examples/examples_nodejs_test.go index ca4c4a2..8ed7be4 100644 --- a/examples/examples_nodejs_test.go +++ b/examples/examples_nodejs_test.go @@ -25,8 +25,8 @@ func getJsBaseOptions(t *testing.T) integration.ProgramTestOptions { baseJS := base.With(integration.ProgramTestOptions{ ExpectRefreshChanges: true, Dependencies: []string{ - "@pulumi/outscale", + "@outscale/pulumi-outscale", }, }) return baseJS -} \ No newline at end of file +} diff --git a/examples/ts/hello/index.ts b/examples/ts/hello/index.ts index 2f1edba..9aec85d 100644 --- a/examples/ts/hello/index.ts +++ b/examples/ts/hello/index.ts @@ -1,4 +1,4 @@ -import * as outscale from "@pulumi/outscale"; +import * as outscale from "@outscale/pulumi-outscale"; import * as cloudinit from "@pulumi/cloudinit"; import { readFileSync } from "fs"; diff --git a/examples/ts/hello/package-lock.json b/examples/ts/hello/package-lock.json index 427c194..655f8eb 100644 --- a/examples/ts/hello/package-lock.json +++ b/examples/ts/hello/package-lock.json @@ -7,7 +7,7 @@ "name": "hello-you", "dependencies": { "@pulumi/cloudinit": "^1.3.0", - "@pulumi/outscale": "../../../sdk/nodejs/", + "@outscale/pulumi-outscale": "../../../sdk/nodejs/", "@pulumi/pulumi": "^3.83.0", "ts-node": "^10.9.1" }, @@ -16,7 +16,7 @@ } }, "../../../sdk/nodejs": { - "name": "@pulumi/outscale", + "name": "@outscale/pulumi-outscale", "version": "v0.0.1", "license": "Apache-2.0", "dependencies": { @@ -350,7 +350,7 @@ "@pulumi/pulumi": "^3.0.0" } }, - "node_modules/@pulumi/outscale": { + "node_modules/@outscale/pulumi-outscale": { "resolved": "../../../sdk/nodejs", "link": true }, diff --git a/examples/ts/hello/package.json b/examples/ts/hello/package.json index b8a414e..58050b0 100644 --- a/examples/ts/hello/package.json +++ b/examples/ts/hello/package.json @@ -7,7 +7,7 @@ "dependencies": { "@pulumi/cloudinit": "^1.3.0", - "@pulumi/outscale": "../../../sdk/nodejs/", + "@outscale/pulumi-outscale": "../../../sdk/nodejs/", "@pulumi/pulumi": "^3.83.0", "ts-node": "^10.9.1" } diff --git a/examples/ts/user/index.ts b/examples/ts/user/index.ts index b28148b..f49ac1e 100644 --- a/examples/ts/user/index.ts +++ b/examples/ts/user/index.ts @@ -1,5 +1,5 @@ import * as pulumi from "@pulumi/pulumi"; -import * as outscale from "@pulumi/outscale"; +import * as outscale from "@outscale/pulumi-outscale"; // How to use and set simple example const keypair = new outscale.Keypair("ts-demo", { diff --git a/examples/ts/user/package.json b/examples/ts/user/package.json index c925d31..bd0fa91 100644 --- a/examples/ts/user/package.json +++ b/examples/ts/user/package.json @@ -5,7 +5,7 @@ "@types/node": "^16" }, "dependencies": { - "@pulumi/outscale": "file:./../../sdk/nodejs/", + "@outscale/pulumi-outscale": "file:./../../sdk/nodejs/", "@pulumi/pulumi": "^3.0.0" } } diff --git a/examples/ts/user/yarn.lock b/examples/ts/user/yarn.lock index 579aba0..3bcb8fc 100644 --- a/examples/ts/user/yarn.lock +++ b/examples/ts/user/yarn.lock @@ -184,7 +184,7 @@ resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw== -"@pulumi/outscale@file:./../../sdk/nodejs/": +"@outscale/pulumi-outscale@file:./../../sdk/nodejs/": version "0.0.1" dependencies: "@pulumi/pulumi" "^3.0.0" diff --git a/provider/resources.go b/provider/resources.go index f838783..3a092ae 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -524,6 +524,7 @@ func Provider() tfbridge.ProviderInfo { "outscale_vpn_connection_route": {Tok: outscaleDataSource(outscaleMod, "getVpnConnectionRoute")}, }, JavaScript: &tfbridge.JavaScriptInfo{ + PackageName: "@outscale/pulumi-outscale", // List any npm dependencies and their versions Dependencies: map[string]string{ "@pulumi/pulumi": "^3.0.0", diff --git a/sdk/dotnet/AccessKey.cs b/sdk/dotnet/AccessKey.cs deleted file mode 100644 index d8dc076..0000000 --- a/sdk/dotnet/AccessKey.cs +++ /dev/null @@ -1,192 +0,0 @@ -// *** 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.Outscale -{ - /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var accessKey01 = new Outscale.AccessKey("accessKey01", new() - /// { - /// ExpirationDate = "2023-01-01", - /// State = "ACTIVE", - /// }); - /// - /// }); - /// ``` - /// - /// ## Import - /// - /// An access key can be imported using its ID. For exampleconsole - /// - /// ```sh - /// $ pulumi import outscale:index/accessKey:AccessKey ImportedAccessKey ABCDEFGHIJ0123456789 - /// ``` - /// - [OutscaleResourceType("outscale:index/accessKey:AccessKey")] - public partial class AccessKey : global::Pulumi.CustomResource - { - /// - /// The ID of the access key. - /// - [Output("accessKeyId")] - public Output AccessKeyId { get; private set; } = null!; - - /// - /// The date and time (UTC) of creation of the access key. - /// - [Output("creationDate")] - public Output CreationDate { get; private set; } = null!; - - /// - /// The date and time, or the date, at which you want the access key to expire, in ISO 8601 format (for example, `2020-06-14T00:00:00.000Z`, or `2020-06-14`). To remove an existing expiration date, use the method without specifying this parameter. - /// - [Output("expirationDate")] - public Output ExpirationDate { get; private set; } = null!; - - /// - /// The date and time (UTC) of the last modification of the access key. - /// - [Output("lastModificationDate")] - public Output LastModificationDate { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - /// - /// The access key that enables you to send requests. - /// - [Output("secretKey")] - public Output SecretKey { get; private set; } = null!; - - /// - /// The state for the access key (`ACTIVE` | `INACTIVE`). - /// - [Output("state")] - public Output State { get; private set; } = null!; - - - /// - /// Create a AccessKey resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public AccessKey(string name, AccessKeyArgs? args = null, CustomResourceOptions? options = null) - : base("outscale:index/accessKey:AccessKey", name, args ?? new AccessKeyArgs(), MakeResourceOptions(options, "")) - { - } - - private AccessKey(string name, Input id, AccessKeyState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/accessKey:AccessKey", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing AccessKey resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static AccessKey Get(string name, Input id, AccessKeyState? state = null, CustomResourceOptions? options = null) - { - return new AccessKey(name, id, state, options); - } - } - - public sealed class AccessKeyArgs : global::Pulumi.ResourceArgs - { - /// - /// The date and time, or the date, at which you want the access key to expire, in ISO 8601 format (for example, `2020-06-14T00:00:00.000Z`, or `2020-06-14`). To remove an existing expiration date, use the method without specifying this parameter. - /// - [Input("expirationDate")] - public Input? ExpirationDate { get; set; } - - /// - /// The state for the access key (`ACTIVE` | `INACTIVE`). - /// - [Input("state")] - public Input? State { get; set; } - - public AccessKeyArgs() - { - } - public static new AccessKeyArgs Empty => new AccessKeyArgs(); - } - - public sealed class AccessKeyState : global::Pulumi.ResourceArgs - { - /// - /// The ID of the access key. - /// - [Input("accessKeyId")] - public Input? AccessKeyId { get; set; } - - /// - /// The date and time (UTC) of creation of the access key. - /// - [Input("creationDate")] - public Input? CreationDate { get; set; } - - /// - /// The date and time, or the date, at which you want the access key to expire, in ISO 8601 format (for example, `2020-06-14T00:00:00.000Z`, or `2020-06-14`). To remove an existing expiration date, use the method without specifying this parameter. - /// - [Input("expirationDate")] - public Input? ExpirationDate { get; set; } - - /// - /// The date and time (UTC) of the last modification of the access key. - /// - [Input("lastModificationDate")] - public Input? LastModificationDate { get; set; } - - [Input("requestId")] - public Input? RequestId { get; set; } - - /// - /// The access key that enables you to send requests. - /// - [Input("secretKey")] - public Input? SecretKey { get; set; } - - /// - /// The state for the access key (`ACTIVE` | `INACTIVE`). - /// - [Input("state")] - public Input? State { get; set; } - - public AccessKeyState() - { - } - public static new AccessKeyState Empty => new AccessKeyState(); - } -} diff --git a/sdk/dotnet/ApiAccessPolicy.cs b/sdk/dotnet/ApiAccessPolicy.cs deleted file mode 100644 index dc118b6..0000000 --- a/sdk/dotnet/ApiAccessPolicy.cs +++ /dev/null @@ -1,182 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages the API access policy. - /// - /// To activate a trusted session, first you must: - /// * Set expiration dates to all your access keys. - /// * Specify a Certificate Authority (CA) in all your API access rules. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Your-API-Access-Policy.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-apiaccesspolicy). - /// - /// ## Example Usage - /// ### Require expiration dates for your access keys - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var unique = new Outscale.ApiAccessPolicy("unique", new() - /// { - /// MaxAccessKeyExpirationSeconds = 31536000, - /// RequireTrustedEnv = false, - /// }); - /// - /// }); - /// ``` - /// ### Activate a trusted session - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var unique = new Outscale.ApiAccessPolicy("unique", new() - /// { - /// MaxAccessKeyExpirationSeconds = 3153600000, - /// RequireTrustedEnv = true, - /// }); - /// - /// }); - /// ``` - /// ### Deactivate a trusted session - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var unique = new Outscale.ApiAccessPolicy("unique", new() - /// { - /// MaxAccessKeyExpirationSeconds = 0, - /// RequireTrustedEnv = false, - /// }); - /// - /// }); - /// ``` - /// - [OutscaleResourceType("outscale:index/apiAccessPolicy:ApiAccessPolicy")] - public partial class ApiAccessPolicy : global::Pulumi.CustomResource - { - /// - /// The maximum possible lifetime for your access keys, in seconds (between `0` and `3153600000`, both included). If set to `O`, your access keys can have unlimited lifetimes, but a trusted session cannot be activated. Otherwise, all your access keys must have an expiration date. This value must be greater than the remaining lifetime of each access key of your account. - /// - [Output("maxAccessKeyExpirationSeconds")] - public Output MaxAccessKeyExpirationSeconds { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - /// - /// If true, a trusted session is activated, provided that you specify the `max_access_key_expiration_seconds` parameter with a value greater than `0`. - /// - [Output("requireTrustedEnv")] - public Output RequireTrustedEnv { get; private set; } = null!; - - - /// - /// Create a ApiAccessPolicy resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public ApiAccessPolicy(string name, ApiAccessPolicyArgs args, CustomResourceOptions? options = null) - : base("outscale:index/apiAccessPolicy:ApiAccessPolicy", name, args ?? new ApiAccessPolicyArgs(), MakeResourceOptions(options, "")) - { - } - - private ApiAccessPolicy(string name, Input id, ApiAccessPolicyState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/apiAccessPolicy:ApiAccessPolicy", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing ApiAccessPolicy resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static ApiAccessPolicy Get(string name, Input id, ApiAccessPolicyState? state = null, CustomResourceOptions? options = null) - { - return new ApiAccessPolicy(name, id, state, options); - } - } - - public sealed class ApiAccessPolicyArgs : global::Pulumi.ResourceArgs - { - /// - /// The maximum possible lifetime for your access keys, in seconds (between `0` and `3153600000`, both included). If set to `O`, your access keys can have unlimited lifetimes, but a trusted session cannot be activated. Otherwise, all your access keys must have an expiration date. This value must be greater than the remaining lifetime of each access key of your account. - /// - [Input("maxAccessKeyExpirationSeconds", required: true)] - public Input MaxAccessKeyExpirationSeconds { get; set; } = null!; - - /// - /// If true, a trusted session is activated, provided that you specify the `max_access_key_expiration_seconds` parameter with a value greater than `0`. - /// - [Input("requireTrustedEnv", required: true)] - public Input RequireTrustedEnv { get; set; } = null!; - - public ApiAccessPolicyArgs() - { - } - public static new ApiAccessPolicyArgs Empty => new ApiAccessPolicyArgs(); - } - - public sealed class ApiAccessPolicyState : global::Pulumi.ResourceArgs - { - /// - /// The maximum possible lifetime for your access keys, in seconds (between `0` and `3153600000`, both included). If set to `O`, your access keys can have unlimited lifetimes, but a trusted session cannot be activated. Otherwise, all your access keys must have an expiration date. This value must be greater than the remaining lifetime of each access key of your account. - /// - [Input("maxAccessKeyExpirationSeconds")] - public Input? MaxAccessKeyExpirationSeconds { get; set; } - - [Input("requestId")] - public Input? RequestId { get; set; } - - /// - /// If true, a trusted session is activated, provided that you specify the `max_access_key_expiration_seconds` parameter with a value greater than `0`. - /// - [Input("requireTrustedEnv")] - public Input? RequireTrustedEnv { get; set; } - - public ApiAccessPolicyState() - { - } - public static new ApiAccessPolicyState Empty => new ApiAccessPolicyState(); - } -} diff --git a/sdk/dotnet/ApiAccessRule.cs b/sdk/dotnet/ApiAccessRule.cs deleted file mode 100644 index 8637699..0000000 --- a/sdk/dotnet/ApiAccessRule.cs +++ /dev/null @@ -1,271 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages an API access rule. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-API-Access-Rules.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-apiaccessrule). - /// - /// ## Example Usage - /// ### Create an API access rule based on IPs - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var apiAccessRule01 = new Outscale.ApiAccessRule("apiAccessRule01", new() - /// { - /// Description = "Basic API Access Rule from Terraform", - /// IpRanges = new[] - /// { - /// "192.0.2.0", - /// "192.0.2.0/16", - /// }, - /// }); - /// - /// }); - /// ``` - /// ### Create an API access rule based on IPs and Certificate Authority (CA) - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.IO; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var ca01 = new Outscale.Ca("ca01", new() - /// { - /// CaPem = File.ReadAllText("<PATH>"), - /// Description = "Terraform CA", - /// }); - /// - /// var apiAccessRule02 = new Outscale.ApiAccessRule("apiAccessRule02", new() - /// { - /// IpRanges = new[] - /// { - /// "192.0.2.0", - /// "192.0.2.0/16", - /// }, - /// CaIds = new[] - /// { - /// ca01.CaId, - /// }, - /// Description = "API Access Rule with CA from Terraform", - /// }); - /// - /// }); - /// ``` - /// - /// ## Import - /// - /// An API access rule can be imported using its ID. For exampleconsole - /// - /// ```sh - /// $ pulumi import outscale:index/apiAccessRule:ApiAccessRule ImportedAPIAccessRule "aar-12345678" - /// ``` - /// - [OutscaleResourceType("outscale:index/apiAccessRule:ApiAccessRule")] - public partial class ApiAccessRule : global::Pulumi.CustomResource - { - /// - /// The ID of the API access rule. - /// - [Output("apiAccessRuleId")] - public Output ApiAccessRuleId { get; private set; } = null!; - - /// - /// One or more IDs of Client Certificate Authorities (CAs). - /// - [Output("caIds")] - public Output> CaIds { get; private set; } = null!; - - /// - /// One or more Client Certificate Common Names (CNs). If this parameter is specified, you must also specify the `ca_ids` parameter. - /// - [Output("cns")] - public Output> Cns { get; private set; } = null!; - - /// - /// A description for the API access rule. - /// - [Output("description")] - public Output Description { get; private set; } = null!; - - /// - /// One or more IP addresses or CIDR blocks (for example, `192.0.2.0/16`). - /// - [Output("ipRanges")] - public Output> IpRanges { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - - /// - /// Create a ApiAccessRule resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public ApiAccessRule(string name, ApiAccessRuleArgs? args = null, CustomResourceOptions? options = null) - : base("outscale:index/apiAccessRule:ApiAccessRule", name, args ?? new ApiAccessRuleArgs(), MakeResourceOptions(options, "")) - { - } - - private ApiAccessRule(string name, Input id, ApiAccessRuleState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/apiAccessRule:ApiAccessRule", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing ApiAccessRule resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static ApiAccessRule Get(string name, Input id, ApiAccessRuleState? state = null, CustomResourceOptions? options = null) - { - return new ApiAccessRule(name, id, state, options); - } - } - - public sealed class ApiAccessRuleArgs : global::Pulumi.ResourceArgs - { - [Input("caIds")] - private InputList? _caIds; - - /// - /// One or more IDs of Client Certificate Authorities (CAs). - /// - public InputList CaIds - { - get => _caIds ?? (_caIds = new InputList()); - set => _caIds = value; - } - - [Input("cns")] - private InputList? _cns; - - /// - /// One or more Client Certificate Common Names (CNs). If this parameter is specified, you must also specify the `ca_ids` parameter. - /// - public InputList Cns - { - get => _cns ?? (_cns = new InputList()); - set => _cns = value; - } - - /// - /// A description for the API access rule. - /// - [Input("description")] - public Input? Description { get; set; } - - [Input("ipRanges")] - private InputList? _ipRanges; - - /// - /// One or more IP addresses or CIDR blocks (for example, `192.0.2.0/16`). - /// - public InputList IpRanges - { - get => _ipRanges ?? (_ipRanges = new InputList()); - set => _ipRanges = value; - } - - public ApiAccessRuleArgs() - { - } - public static new ApiAccessRuleArgs Empty => new ApiAccessRuleArgs(); - } - - public sealed class ApiAccessRuleState : global::Pulumi.ResourceArgs - { - /// - /// The ID of the API access rule. - /// - [Input("apiAccessRuleId")] - public Input? ApiAccessRuleId { get; set; } - - [Input("caIds")] - private InputList? _caIds; - - /// - /// One or more IDs of Client Certificate Authorities (CAs). - /// - public InputList CaIds - { - get => _caIds ?? (_caIds = new InputList()); - set => _caIds = value; - } - - [Input("cns")] - private InputList? _cns; - - /// - /// One or more Client Certificate Common Names (CNs). If this parameter is specified, you must also specify the `ca_ids` parameter. - /// - public InputList Cns - { - get => _cns ?? (_cns = new InputList()); - set => _cns = value; - } - - /// - /// A description for the API access rule. - /// - [Input("description")] - public Input? Description { get; set; } - - [Input("ipRanges")] - private InputList? _ipRanges; - - /// - /// One or more IP addresses or CIDR blocks (for example, `192.0.2.0/16`). - /// - public InputList IpRanges - { - get => _ipRanges ?? (_ipRanges = new InputList()); - set => _ipRanges = value; - } - - [Input("requestId")] - public Input? RequestId { get; set; } - - public ApiAccessRuleState() - { - } - public static new ApiAccessRuleState Empty => new ApiAccessRuleState(); - } -} diff --git a/sdk/dotnet/Ca.cs b/sdk/dotnet/Ca.cs deleted file mode 100644 index 912d2a8..0000000 --- a/sdk/dotnet/Ca.cs +++ /dev/null @@ -1,174 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages a Certificate Authority (CA). - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-API-Access-Rules.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-ca). - /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.IO; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var ca01 = new Outscale.Ca("ca01", new() - /// { - /// CaPem = File.ReadAllText("<PATH>"), - /// Description = "Terraform certificate authority", - /// }); - /// - /// }); - /// ``` - /// - /// ## Import - /// - /// A CA can be imported using its ID. For exampleconsole - /// - /// ```sh - /// $ pulumi import outscale:index/ca:Ca ImportedCa ca-12345678 - /// ``` - /// - [OutscaleResourceType("outscale:index/ca:Ca")] - public partial class Ca : global::Pulumi.CustomResource - { - /// - /// The fingerprint of the CA. - /// - [Output("caFingerprint")] - public Output CaFingerprint { get; private set; } = null!; - - /// - /// The ID of the CA. - /// - [Output("caId")] - public Output CaId { get; private set; } = null!; - - /// - /// The CA in PEM format. - /// - [Output("caPem")] - public Output CaPem { get; private set; } = null!; - - /// - /// The description of the CA. - /// - [Output("description")] - public Output Description { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - - /// - /// Create a Ca resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public Ca(string name, CaArgs? args = null, CustomResourceOptions? options = null) - : base("outscale:index/ca:Ca", name, args ?? new CaArgs(), MakeResourceOptions(options, "")) - { - } - - private Ca(string name, Input id, CaState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/ca:Ca", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing Ca resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static Ca Get(string name, Input id, CaState? state = null, CustomResourceOptions? options = null) - { - return new Ca(name, id, state, options); - } - } - - public sealed class CaArgs : global::Pulumi.ResourceArgs - { - /// - /// The CA in PEM format. - /// - [Input("caPem")] - public Input? CaPem { get; set; } - - /// - /// The description of the CA. - /// - [Input("description")] - public Input? Description { get; set; } - - public CaArgs() - { - } - public static new CaArgs Empty => new CaArgs(); - } - - public sealed class CaState : global::Pulumi.ResourceArgs - { - /// - /// The fingerprint of the CA. - /// - [Input("caFingerprint")] - public Input? CaFingerprint { get; set; } - - /// - /// The ID of the CA. - /// - [Input("caId")] - public Input? CaId { get; set; } - - /// - /// The CA in PEM format. - /// - [Input("caPem")] - public Input? CaPem { get; set; } - - /// - /// The description of the CA. - /// - [Input("description")] - public Input? Description { get; set; } - - [Input("requestId")] - public Input? RequestId { get; set; } - - public CaState() - { - } - public static new CaState Empty => new CaState(); - } -} diff --git a/sdk/dotnet/ClientGateway.cs b/sdk/dotnet/ClientGateway.cs deleted file mode 100644 index a80caa7..0000000 --- a/sdk/dotnet/ClientGateway.cs +++ /dev/null @@ -1,230 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages a client gateway. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Customer-Gateways.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-clientgateway). - /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var clientGateway01 = new Outscale.ClientGateway("clientGateway01", new() - /// { - /// BgpAsn = 65000, - /// ConnectionType = "ipsec.1", - /// PublicIp = "111.11.11.111", - /// Tags = new[] - /// { - /// new Outscale.Inputs.ClientGatewayTagArgs - /// { - /// Key = "Name", - /// Value = "client_gateway_01", - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// - /// ## Import - /// - /// A client gateway can be imported using its ID. For exampleconsole - /// - /// ```sh - /// $ pulumi import outscale:index/clientGateway:ClientGateway ImportedClientGateway cgw-12345678 - /// ``` - /// - [OutscaleResourceType("outscale:index/clientGateway:ClientGateway")] - public partial class ClientGateway : global::Pulumi.CustomResource - { - /// - /// The Autonomous System Number (ASN) used by the Border Gateway Protocol (BGP) to find the path to your client gateway through the Internet. This number must be between `1` and `4294967295`. - /// - [Output("bgpAsn")] - public Output BgpAsn { get; private set; } = null!; - - /// - /// The ID of the client gateway. - /// - [Output("clientGatewayId")] - public Output ClientGatewayId { get; private set; } = null!; - - /// - /// The communication protocol used to establish tunnel with your client gateway (only `ipsec.1` is supported). - /// - [Output("connectionType")] - public Output ConnectionType { get; private set; } = null!; - - /// - /// The public fixed IPv4 address of your client gateway. - /// - [Output("publicIp")] - public Output PublicIp { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - /// - /// The state of the client gateway (`pending` \| `available` \| `deleting` \| `deleted`). - /// - [Output("state")] - public Output State { get; private set; } = null!; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - [Output("tags")] - public Output> Tags { get; private set; } = null!; - - - /// - /// Create a ClientGateway resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public ClientGateway(string name, ClientGatewayArgs args, CustomResourceOptions? options = null) - : base("outscale:index/clientGateway:ClientGateway", name, args ?? new ClientGatewayArgs(), MakeResourceOptions(options, "")) - { - } - - private ClientGateway(string name, Input id, ClientGatewayState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/clientGateway:ClientGateway", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing ClientGateway resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static ClientGateway Get(string name, Input id, ClientGatewayState? state = null, CustomResourceOptions? options = null) - { - return new ClientGateway(name, id, state, options); - } - } - - public sealed class ClientGatewayArgs : global::Pulumi.ResourceArgs - { - /// - /// The Autonomous System Number (ASN) used by the Border Gateway Protocol (BGP) to find the path to your client gateway through the Internet. This number must be between `1` and `4294967295`. - /// - [Input("bgpAsn", required: true)] - public Input BgpAsn { get; set; } = null!; - - /// - /// The communication protocol used to establish tunnel with your client gateway (only `ipsec.1` is supported). - /// - [Input("connectionType", required: true)] - public Input ConnectionType { get; set; } = null!; - - /// - /// The public fixed IPv4 address of your client gateway. - /// - [Input("publicIp", required: true)] - public Input PublicIp { get; set; } = null!; - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - public ClientGatewayArgs() - { - } - public static new ClientGatewayArgs Empty => new ClientGatewayArgs(); - } - - public sealed class ClientGatewayState : global::Pulumi.ResourceArgs - { - /// - /// The Autonomous System Number (ASN) used by the Border Gateway Protocol (BGP) to find the path to your client gateway through the Internet. This number must be between `1` and `4294967295`. - /// - [Input("bgpAsn")] - public Input? BgpAsn { get; set; } - - /// - /// The ID of the client gateway. - /// - [Input("clientGatewayId")] - public Input? ClientGatewayId { get; set; } - - /// - /// The communication protocol used to establish tunnel with your client gateway (only `ipsec.1` is supported). - /// - [Input("connectionType")] - public Input? ConnectionType { get; set; } - - /// - /// The public fixed IPv4 address of your client gateway. - /// - [Input("publicIp")] - public Input? PublicIp { get; set; } - - [Input("requestId")] - public Input? RequestId { get; set; } - - /// - /// The state of the client gateway (`pending` \| `available` \| `deleting` \| `deleted`). - /// - [Input("state")] - public Input? State { get; set; } - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - public ClientGatewayState() - { - } - public static new ClientGatewayState Empty => new ClientGatewayState(); - } -} diff --git a/sdk/dotnet/Config/Config.cs b/sdk/dotnet/Config/Config.cs deleted file mode 100644 index aebbb7b..0000000 --- a/sdk/dotnet/Config/Config.cs +++ /dev/null @@ -1,111 +0,0 @@ -// *** 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.Immutable; - -namespace Pulumi.Outscale -{ - public static class Config - { - [global::System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "IDE1006", Justification = - "Double underscore prefix used to avoid conflicts with variable names.")] - private sealed class __Value - { - private readonly Func _getter; - private T _value = default!; - private bool _set; - - public __Value(Func getter) - { - _getter = getter; - } - - public T Get() => _set ? _value : _getter(); - - public void Set(T value) - { - _value = value; - _set = true; - } - } - - private static readonly global::Pulumi.Config __config = new global::Pulumi.Config("outscale"); - - private static readonly __Value _accessKeyId = new __Value(() => __config.Get("accessKeyId") ?? Utilities.GetEnv("OUTSCALE_ACCESSKEYID")); - /// - /// The Access Key ID for API operations - /// - public static string? AccessKeyId - { - get => _accessKeyId.Get(); - set => _accessKeyId.Set(value); - } - - private static readonly __Value> _endpoints = new __Value>(() => __config.GetObject>("endpoints")); - public static ImmutableArray Endpoints - { - get => _endpoints.Get(); - set => _endpoints.Set(value); - } - - private static readonly __Value _insecure = new __Value(() => __config.GetBoolean("insecure")); - /// - /// tls insecure connection - /// - public static bool? Insecure - { - get => _insecure.Get(); - set => _insecure.Set(value); - } - - private static readonly __Value _region = new __Value(() => __config.Get("region") ?? Utilities.GetEnv("OUTSCALE_REGION")); - /// - /// The Region for API operations. - /// - public static string? Region - { - get => _region.Get(); - set => _region.Set(value); - } - - private static readonly __Value _secretKeyId = new __Value(() => __config.Get("secretKeyId") ?? Utilities.GetEnv("OUTSCALE_SECRETKEYID")); - /// - /// The Secret Key ID for API operations. - /// - public static string? SecretKeyId - { - get => _secretKeyId.Get(); - set => _secretKeyId.Set(value); - } - - private static readonly __Value _x509CertPath = new __Value(() => __config.Get("x509CertPath")); - /// - /// The path to your x509 cert - /// - public static string? X509CertPath - { - get => _x509CertPath.Get(); - set => _x509CertPath.Set(value); - } - - private static readonly __Value _x509KeyPath = new __Value(() => __config.Get("x509KeyPath")); - /// - /// The path to your x509 key - /// - public static string? X509KeyPath - { - get => _x509KeyPath.Get(); - set => _x509KeyPath.Set(value); - } - - public static class Types - { - - public class Endpoints - { - public string? Api { get; set; } = null!; - } - } - } -} diff --git a/sdk/dotnet/Config/README.md b/sdk/dotnet/Config/README.md deleted file mode 100644 index c15975e..0000000 --- a/sdk/dotnet/Config/README.md +++ /dev/null @@ -1 +0,0 @@ -A Pulumi package for creating and managing outscale cloud resources. diff --git a/sdk/dotnet/DhcpOption.cs b/sdk/dotnet/DhcpOption.cs deleted file mode 100644 index f4835bb..0000000 --- a/sdk/dotnet/DhcpOption.cs +++ /dev/null @@ -1,310 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages a DHCP option. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-DHCP-Options.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-dhcpoption). - /// - /// ## Example Usage - /// ### Create a basic DHCP options set - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var dhcpOption01 = new Outscale.DhcpOption("dhcpOption01", new() - /// { - /// DomainName = "MyCompany.com", - /// }); - /// - /// }); - /// ``` - /// ### Create a complete DHCP options set - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var dhcpOption02 = new Outscale.DhcpOption("dhcpOption02", new() - /// { - /// DomainName = "MyCompany.com", - /// DomainNameServers = new[] - /// { - /// "111.111.11.111", - /// "222.222.22.222", - /// }, - /// NtpServers = new[] - /// { - /// "111.1.1.1", - /// "222.2.2.2", - /// }, - /// Tags = new[] - /// { - /// new Outscale.Inputs.DhcpOptionTagArgs - /// { - /// Key = "Name", - /// Value = "DHCP01", - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// - /// ## Import - /// - /// DHCP options can be imported using the DHCP option ID. For exampleconsole - /// - /// ```sh - /// $ pulumi import outscale:index/dhcpOption:DhcpOption ImportedDhcpSet dopt-87654321 - /// ``` - /// - [OutscaleResourceType("outscale:index/dhcpOption:DhcpOption")] - public partial class DhcpOption : global::Pulumi.CustomResource - { - /// - /// If true, the DHCP options set is a default one. If false, it is not. - /// - [Output("default")] - public Output Default { get; private set; } = null!; - - /// - /// The ID of the DHCP options set. - /// - [Output("dhcpOptionsSetId")] - public Output DhcpOptionsSetId { get; private set; } = null!; - - /// - /// Specify a domain name (for example, MyCompany.com). You can specify only one domain name. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - /// - [Output("domainName")] - public Output DomainName { get; private set; } = null!; - - /// - /// The IPs of domain name servers. If no IPs are specified, the `OutscaleProvidedDNS` value is set by default. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - /// - [Output("domainNameServers")] - public Output> DomainNameServers { get; private set; } = null!; - - /// - /// The IPs of the log servers. You must specify at least one of the following parameters: `domain_name`, `domain_name_servers`, `log_servers`, or `ntp_servers`. - /// - [Output("logServers")] - public Output> LogServers { get; private set; } = null!; - - /// - /// The IPs of the Network Time Protocol (NTP) servers. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - /// - [Output("ntpServers")] - public Output> NtpServers { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - [Output("tags")] - public Output> Tags { get; private set; } = null!; - - - /// - /// Create a DhcpOption resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public DhcpOption(string name, DhcpOptionArgs? args = null, CustomResourceOptions? options = null) - : base("outscale:index/dhcpOption:DhcpOption", name, args ?? new DhcpOptionArgs(), MakeResourceOptions(options, "")) - { - } - - private DhcpOption(string name, Input id, DhcpOptionState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/dhcpOption:DhcpOption", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing DhcpOption resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static DhcpOption Get(string name, Input id, DhcpOptionState? state = null, CustomResourceOptions? options = null) - { - return new DhcpOption(name, id, state, options); - } - } - - public sealed class DhcpOptionArgs : global::Pulumi.ResourceArgs - { - /// - /// Specify a domain name (for example, MyCompany.com). You can specify only one domain name. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - /// - [Input("domainName")] - public Input? DomainName { get; set; } - - [Input("domainNameServers")] - private InputList? _domainNameServers; - - /// - /// The IPs of domain name servers. If no IPs are specified, the `OutscaleProvidedDNS` value is set by default. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - /// - public InputList DomainNameServers - { - get => _domainNameServers ?? (_domainNameServers = new InputList()); - set => _domainNameServers = value; - } - - [Input("logServers")] - private InputList? _logServers; - - /// - /// The IPs of the log servers. You must specify at least one of the following parameters: `domain_name`, `domain_name_servers`, `log_servers`, or `ntp_servers`. - /// - public InputList LogServers - { - get => _logServers ?? (_logServers = new InputList()); - set => _logServers = value; - } - - [Input("ntpServers")] - private InputList? _ntpServers; - - /// - /// The IPs of the Network Time Protocol (NTP) servers. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - /// - public InputList NtpServers - { - get => _ntpServers ?? (_ntpServers = new InputList()); - set => _ntpServers = value; - } - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - public DhcpOptionArgs() - { - } - public static new DhcpOptionArgs Empty => new DhcpOptionArgs(); - } - - public sealed class DhcpOptionState : global::Pulumi.ResourceArgs - { - /// - /// If true, the DHCP options set is a default one. If false, it is not. - /// - [Input("default")] - public Input? Default { get; set; } - - /// - /// The ID of the DHCP options set. - /// - [Input("dhcpOptionsSetId")] - public Input? DhcpOptionsSetId { get; set; } - - /// - /// Specify a domain name (for example, MyCompany.com). You can specify only one domain name. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - /// - [Input("domainName")] - public Input? DomainName { get; set; } - - [Input("domainNameServers")] - private InputList? _domainNameServers; - - /// - /// The IPs of domain name servers. If no IPs are specified, the `OutscaleProvidedDNS` value is set by default. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - /// - public InputList DomainNameServers - { - get => _domainNameServers ?? (_domainNameServers = new InputList()); - set => _domainNameServers = value; - } - - [Input("logServers")] - private InputList? _logServers; - - /// - /// The IPs of the log servers. You must specify at least one of the following parameters: `domain_name`, `domain_name_servers`, `log_servers`, or `ntp_servers`. - /// - public InputList LogServers - { - get => _logServers ?? (_logServers = new InputList()); - set => _logServers = value; - } - - [Input("ntpServers")] - private InputList? _ntpServers; - - /// - /// The IPs of the Network Time Protocol (NTP) servers. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - /// - public InputList NtpServers - { - get => _ntpServers ?? (_ntpServers = new InputList()); - set => _ntpServers = value; - } - - [Input("requestId")] - public Input? RequestId { get; set; } - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - public DhcpOptionState() - { - } - public static new DhcpOptionState Empty => new DhcpOptionState(); - } -} diff --git a/sdk/dotnet/FlexibleGpu.cs b/sdk/dotnet/FlexibleGpu.cs deleted file mode 100644 index eb04fa3..0000000 --- a/sdk/dotnet/FlexibleGpu.cs +++ /dev/null @@ -1,224 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages a flexible GPU. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-flexiblegpu). - /// - /// ## Example Usage - /// ### Create a flexible GPU - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var flexibleGpu01 = new Outscale.FlexibleGpu("flexibleGpu01", new() - /// { - /// ModelName = @var.Model_name, - /// Generation = "v4", - /// SubregionName = $"{@var.Region}a", - /// DeleteOnVmDeletion = true, - /// }); - /// - /// }); - /// ``` - /// - /// ## Import - /// - /// A flexible GPU can be imported using its ID. For exampleconsole - /// - /// ```sh - /// $ pulumi import outscale:index/flexibleGpu:FlexibleGpu imported_fgpu fgpu-12345678 - /// ``` - /// - [OutscaleResourceType("outscale:index/flexibleGpu:FlexibleGpu")] - public partial class FlexibleGpu : global::Pulumi.CustomResource - { - /// - /// If true, the fGPU is deleted when the VM is terminated. - /// - [Output("deleteOnVmDeletion")] - public Output DeleteOnVmDeletion { get; private set; } = null!; - - /// - /// The ID of the fGPU. - /// - [Output("flexibleGpuId")] - public Output FlexibleGpuId { get; private set; } = null!; - - /// - /// The processor generation that the fGPU must be compatible with. If not specified, the oldest possible processor generation is selected (as provided by [ReadFlexibleGpuCatalog](https://docs.outscale.com/api#readflexiblegpucatalog) for the specified model of fGPU). - /// - [Output("generation")] - public Output Generation { get; private set; } = null!; - - /// - /// The model of fGPU you want to allocate. For more information, see [About Flexible GPUs](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html). - /// - [Output("modelName")] - public Output ModelName { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - /// - /// The state of the fGPU (`allocated` \| `attaching` \| `attached` \| `detaching`). - /// - [Output("state")] - public Output State { get; private set; } = null!; - - /// - /// The Subregion in which you want to create the fGPU. - /// - [Output("subregionName")] - public Output SubregionName { get; private set; } = null!; - - /// - /// The ID of the VM the fGPU is attached to, if any. - /// - [Output("vmId")] - public Output VmId { get; private set; } = null!; - - - /// - /// Create a FlexibleGpu resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public FlexibleGpu(string name, FlexibleGpuArgs args, CustomResourceOptions? options = null) - : base("outscale:index/flexibleGpu:FlexibleGpu", name, args ?? new FlexibleGpuArgs(), MakeResourceOptions(options, "")) - { - } - - private FlexibleGpu(string name, Input id, FlexibleGpuState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/flexibleGpu:FlexibleGpu", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing FlexibleGpu resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static FlexibleGpu Get(string name, Input id, FlexibleGpuState? state = null, CustomResourceOptions? options = null) - { - return new FlexibleGpu(name, id, state, options); - } - } - - public sealed class FlexibleGpuArgs : global::Pulumi.ResourceArgs - { - /// - /// If true, the fGPU is deleted when the VM is terminated. - /// - [Input("deleteOnVmDeletion")] - public Input? DeleteOnVmDeletion { get; set; } - - /// - /// The processor generation that the fGPU must be compatible with. If not specified, the oldest possible processor generation is selected (as provided by [ReadFlexibleGpuCatalog](https://docs.outscale.com/api#readflexiblegpucatalog) for the specified model of fGPU). - /// - [Input("generation")] - public Input? Generation { get; set; } - - /// - /// The model of fGPU you want to allocate. For more information, see [About Flexible GPUs](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html). - /// - [Input("modelName", required: true)] - public Input ModelName { get; set; } = null!; - - /// - /// The Subregion in which you want to create the fGPU. - /// - [Input("subregionName", required: true)] - public Input SubregionName { get; set; } = null!; - - public FlexibleGpuArgs() - { - } - public static new FlexibleGpuArgs Empty => new FlexibleGpuArgs(); - } - - public sealed class FlexibleGpuState : global::Pulumi.ResourceArgs - { - /// - /// If true, the fGPU is deleted when the VM is terminated. - /// - [Input("deleteOnVmDeletion")] - public Input? DeleteOnVmDeletion { get; set; } - - /// - /// The ID of the fGPU. - /// - [Input("flexibleGpuId")] - public Input? FlexibleGpuId { get; set; } - - /// - /// The processor generation that the fGPU must be compatible with. If not specified, the oldest possible processor generation is selected (as provided by [ReadFlexibleGpuCatalog](https://docs.outscale.com/api#readflexiblegpucatalog) for the specified model of fGPU). - /// - [Input("generation")] - public Input? Generation { get; set; } - - /// - /// The model of fGPU you want to allocate. For more information, see [About Flexible GPUs](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html). - /// - [Input("modelName")] - public Input? ModelName { get; set; } - - [Input("requestId")] - public Input? RequestId { get; set; } - - /// - /// The state of the fGPU (`allocated` \| `attaching` \| `attached` \| `detaching`). - /// - [Input("state")] - public Input? State { get; set; } - - /// - /// The Subregion in which you want to create the fGPU. - /// - [Input("subregionName")] - public Input? SubregionName { get; set; } - - /// - /// The ID of the VM the fGPU is attached to, if any. - /// - [Input("vmId")] - public Input? VmId { get; set; } - - public FlexibleGpuState() - { - } - public static new FlexibleGpuState Empty => new FlexibleGpuState(); - } -} diff --git a/sdk/dotnet/FlexibleGpuLink.cs b/sdk/dotnet/FlexibleGpuLink.cs deleted file mode 100644 index ff1ad1c..0000000 --- a/sdk/dotnet/FlexibleGpuLink.cs +++ /dev/null @@ -1,163 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages a flexible GPU link. - /// - /// When linking a flexible GPU to a VM, the VM will automatically be stopped and started again. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-flexiblegpu). - /// - /// ## Example Usage - /// ### Required resources - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var vm01 = new Outscale.Vm("vm01", new() - /// { - /// ImageId = ami_12345678, - /// VmType = t2.Small, - /// KeypairName = @var.Keypair_name, - /// PlacementSubregionName = "eu-west-2a", - /// }); - /// - /// var flexibleGpu01 = new Outscale.FlexibleGpu("flexibleGpu01", new() - /// { - /// ModelName = @var.Model_name, - /// Generation = "v4", - /// SubregionName = "eu-west-2a", - /// DeleteOnVmDeletion = true, - /// }); - /// - /// }); - /// ``` - /// - /// ## Import - /// - /// A flexible GPU link can be imported using the flexible GPU ID. For exampleconsole - /// - /// ```sh - /// $ pulumi import outscale:index/flexibleGpuLink:FlexibleGpuLink imported_link_fgpu fgpu-12345678 - /// ``` - /// - [OutscaleResourceType("outscale:index/flexibleGpuLink:FlexibleGpuLink")] - public partial class FlexibleGpuLink : global::Pulumi.CustomResource - { - [Output("flexibleGpuIds")] - public Output> FlexibleGpuIds { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - /// - /// The ID of the VM you want to attach the fGPU to. - /// - [Output("vmId")] - public Output VmId { get; private set; } = null!; - - - /// - /// Create a FlexibleGpuLink resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public FlexibleGpuLink(string name, FlexibleGpuLinkArgs args, CustomResourceOptions? options = null) - : base("outscale:index/flexibleGpuLink:FlexibleGpuLink", name, args ?? new FlexibleGpuLinkArgs(), MakeResourceOptions(options, "")) - { - } - - private FlexibleGpuLink(string name, Input id, FlexibleGpuLinkState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/flexibleGpuLink:FlexibleGpuLink", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing FlexibleGpuLink resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static FlexibleGpuLink Get(string name, Input id, FlexibleGpuLinkState? state = null, CustomResourceOptions? options = null) - { - return new FlexibleGpuLink(name, id, state, options); - } - } - - public sealed class FlexibleGpuLinkArgs : global::Pulumi.ResourceArgs - { - [Input("flexibleGpuIds", required: true)] - private InputList? _flexibleGpuIds; - public InputList FlexibleGpuIds - { - get => _flexibleGpuIds ?? (_flexibleGpuIds = new InputList()); - set => _flexibleGpuIds = value; - } - - /// - /// The ID of the VM you want to attach the fGPU to. - /// - [Input("vmId", required: true)] - public Input VmId { get; set; } = null!; - - public FlexibleGpuLinkArgs() - { - } - public static new FlexibleGpuLinkArgs Empty => new FlexibleGpuLinkArgs(); - } - - public sealed class FlexibleGpuLinkState : global::Pulumi.ResourceArgs - { - [Input("flexibleGpuIds")] - private InputList? _flexibleGpuIds; - public InputList FlexibleGpuIds - { - get => _flexibleGpuIds ?? (_flexibleGpuIds = new InputList()); - set => _flexibleGpuIds = value; - } - - [Input("requestId")] - public Input? RequestId { get; set; } - - /// - /// The ID of the VM you want to attach the fGPU to. - /// - [Input("vmId")] - public Input? VmId { get; set; } - - public FlexibleGpuLinkState() - { - } - public static new FlexibleGpuLinkState Empty => new FlexibleGpuLinkState(); - } -} diff --git a/sdk/dotnet/GetAccessKey.cs b/sdk/dotnet/GetAccessKey.cs deleted file mode 100644 index 741f098..0000000 --- a/sdk/dotnet/GetAccessKey.cs +++ /dev/null @@ -1,221 +0,0 @@ -// *** 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.Outscale -{ - public static class GetAccessKey - { - /// - /// Provides information about an access key. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Access-Keys.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-accesskey). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var accessKey01 = Outscale.GetAccessKey.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetAccessKeyFilterInputArgs - /// { - /// Name = "access_key_ids", - /// Values = new[] - /// { - /// "ABCDEFGHIJ0123456789", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetAccessKeyArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getAccessKey:getAccessKey", args ?? new GetAccessKeyArgs(), options.WithDefaults()); - - /// - /// Provides information about an access key. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Access-Keys.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-accesskey). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var accessKey01 = Outscale.GetAccessKey.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetAccessKeyFilterInputArgs - /// { - /// Name = "access_key_ids", - /// Values = new[] - /// { - /// "ABCDEFGHIJ0123456789", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetAccessKeyInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getAccessKey:getAccessKey", args ?? new GetAccessKeyInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetAccessKeyArgs : global::Pulumi.InvokeArgs - { - /// - /// The ID of the access key. - /// - [Input("accessKeyId")] - public string? AccessKeyId { get; set; } - - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - /// - /// The state of the access key (`ACTIVE` if the key is valid for API calls, or `INACTIVE` if not). - /// - [Input("state")] - public string? State { get; set; } - - public GetAccessKeyArgs() - { - } - public static new GetAccessKeyArgs Empty => new GetAccessKeyArgs(); - } - - public sealed class GetAccessKeyInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// The ID of the access key. - /// - [Input("accessKeyId")] - public Input? AccessKeyId { get; set; } - - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - /// - /// The state of the access key (`ACTIVE` if the key is valid for API calls, or `INACTIVE` if not). - /// - [Input("state")] - public Input? State { get; set; } - - public GetAccessKeyInvokeArgs() - { - } - public static new GetAccessKeyInvokeArgs Empty => new GetAccessKeyInvokeArgs(); - } - - - [OutputType] - public sealed class GetAccessKeyResult - { - /// - /// The ID of the access key. - /// - public readonly string? AccessKeyId; - /// - /// The date and time (UTC) of creation of the access key. - /// - public readonly string CreationDate; - /// - /// The date (UTC) at which the access key expires. - /// - public readonly string ExpirationDate; - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// The date and time (UTC) of the last modification of the access key. - /// - public readonly string LastModificationDate; - public readonly string RequestId; - /// - /// The state of the access key (`ACTIVE` if the key is valid for API calls, or `INACTIVE` if not). - /// - public readonly string? State; - - [OutputConstructor] - private GetAccessKeyResult( - string? accessKeyId, - - string creationDate, - - string expirationDate, - - ImmutableArray filters, - - string id, - - string lastModificationDate, - - string requestId, - - string? state) - { - AccessKeyId = accessKeyId; - CreationDate = creationDate; - ExpirationDate = expirationDate; - Filters = filters; - Id = id; - LastModificationDate = lastModificationDate; - RequestId = requestId; - State = state; - } - } -} diff --git a/sdk/dotnet/GetAccessKeys.cs b/sdk/dotnet/GetAccessKeys.cs deleted file mode 100644 index 9a49ee4..0000000 --- a/sdk/dotnet/GetAccessKeys.cs +++ /dev/null @@ -1,227 +0,0 @@ -// *** 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.Outscale -{ - public static class GetAccessKeys - { - /// - /// Provides information about access keys. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Access-Keys.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-accesskey). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var accessKeys01 = Outscale.GetAccessKeys.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetAccessKeysFilterInputArgs - /// { - /// Name = "access_key_ids", - /// Values = new[] - /// { - /// "ABCDEFGHIJ0123456789", - /// "0123456789ABCDEFGHIJ", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetAccessKeysArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getAccessKeys:getAccessKeys", args ?? new GetAccessKeysArgs(), options.WithDefaults()); - - /// - /// Provides information about access keys. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Access-Keys.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-accesskey). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var accessKeys01 = Outscale.GetAccessKeys.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetAccessKeysFilterInputArgs - /// { - /// Name = "access_key_ids", - /// Values = new[] - /// { - /// "ABCDEFGHIJ0123456789", - /// "0123456789ABCDEFGHIJ", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetAccessKeysInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getAccessKeys:getAccessKeys", args ?? new GetAccessKeysInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetAccessKeysArgs : global::Pulumi.InvokeArgs - { - [Input("accessKeyIds")] - private List? _accessKeyIds; - - /// - /// The IDs of the access keys. - /// - public List AccessKeyIds - { - get => _accessKeyIds ?? (_accessKeyIds = new List()); - set => _accessKeyIds = value; - } - - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - [Input("states")] - private List? _states; - - /// - /// The states of the access keys (`ACTIVE` \| `INACTIVE`). - /// - public List States - { - get => _states ?? (_states = new List()); - set => _states = value; - } - - public GetAccessKeysArgs() - { - } - public static new GetAccessKeysArgs Empty => new GetAccessKeysArgs(); - } - - public sealed class GetAccessKeysInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("accessKeyIds")] - private InputList? _accessKeyIds; - - /// - /// The IDs of the access keys. - /// - public InputList AccessKeyIds - { - get => _accessKeyIds ?? (_accessKeyIds = new InputList()); - set => _accessKeyIds = value; - } - - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - [Input("states")] - private InputList? _states; - - /// - /// The states of the access keys (`ACTIVE` \| `INACTIVE`). - /// - public InputList States - { - get => _states ?? (_states = new InputList()); - set => _states = value; - } - - public GetAccessKeysInvokeArgs() - { - } - public static new GetAccessKeysInvokeArgs Empty => new GetAccessKeysInvokeArgs(); - } - - - [OutputType] - public sealed class GetAccessKeysResult - { - public readonly ImmutableArray AccessKeyIds; - /// - /// A list of access keys. - /// - public readonly ImmutableArray AccessKeys; - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - public readonly string RequestId; - public readonly ImmutableArray States; - - [OutputConstructor] - private GetAccessKeysResult( - ImmutableArray accessKeyIds, - - ImmutableArray accessKeys, - - ImmutableArray filters, - - string id, - - string requestId, - - ImmutableArray states) - { - AccessKeyIds = accessKeyIds; - AccessKeys = accessKeys; - Filters = filters; - Id = id; - RequestId = requestId; - States = states; - } - } -} diff --git a/sdk/dotnet/GetAccount.cs b/sdk/dotnet/GetAccount.cs deleted file mode 100644 index 2c7b8f8..0000000 --- a/sdk/dotnet/GetAccount.cs +++ /dev/null @@ -1,196 +0,0 @@ -// *** 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.Outscale -{ - public static class GetAccount - { - /// - /// Provides information about an account. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Your-Account.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-account). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var account01 = Outscale.GetAccount.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getAccount:getAccount", InvokeArgs.Empty, options.WithDefaults()); - - /// - /// Provides information about an account. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Your-Account.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-account). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var account01 = Outscale.GetAccount.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getAccount:getAccount", InvokeArgs.Empty, options.WithDefaults()); - } - - - [OutputType] - public sealed class GetAccountResult - { - /// - /// The ID of the account. - /// - public readonly string AccountId; - /// - /// One or more additional email addresses for the account. These addresses are used for notifications only. - /// - public readonly ImmutableArray AdditionalEmails; - /// - /// The city of the account owner. - /// - public readonly string City; - /// - /// The name of the company for the account. - /// - public readonly string CompanyName; - /// - /// The country of the account owner. - /// - public readonly string Country; - /// - /// The ID of the customer. - /// - public readonly string CustomerId; - /// - /// The main email address for the account. This address is used for your credentials and for notifications. - /// - public readonly string Email; - /// - /// The first name of the account owner. - /// - public readonly string FirstName; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// The job title of the account owner. - /// - public readonly string JobTitle; - /// - /// The last name of the account owner. - /// - public readonly string LastName; - /// - /// The mobile phone number of the account owner. - /// - public readonly string MobileNumber; - /// - /// The landline phone number of the account owner. - /// - public readonly string PhoneNumber; - public readonly string RequestId; - /// - /// The state/province of the account. - /// - public readonly string StateProvince; - /// - /// The value added tax (VAT) number for the account. - /// - public readonly string VatNumber; - /// - /// The ZIP code of the city. - /// - public readonly string ZipCode; - - [OutputConstructor] - private GetAccountResult( - string accountId, - - ImmutableArray additionalEmails, - - string city, - - string companyName, - - string country, - - string customerId, - - string email, - - string firstName, - - string id, - - string jobTitle, - - string lastName, - - string mobileNumber, - - string phoneNumber, - - string requestId, - - string stateProvince, - - string vatNumber, - - string zipCode) - { - AccountId = accountId; - AdditionalEmails = additionalEmails; - City = city; - CompanyName = companyName; - Country = country; - CustomerId = customerId; - Email = email; - FirstName = firstName; - Id = id; - JobTitle = jobTitle; - LastName = lastName; - MobileNumber = mobileNumber; - PhoneNumber = phoneNumber; - RequestId = requestId; - StateProvince = stateProvince; - VatNumber = vatNumber; - ZipCode = zipCode; - } - } -} diff --git a/sdk/dotnet/GetAccounts.cs b/sdk/dotnet/GetAccounts.cs deleted file mode 100644 index 0632ec8..0000000 --- a/sdk/dotnet/GetAccounts.cs +++ /dev/null @@ -1,98 +0,0 @@ -// *** 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.Outscale -{ - public static class GetAccounts - { - /// - /// Provides information about accounts. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Your-Account.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-account). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var allAccounts = Outscale.GetAccounts.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getAccounts:getAccounts", InvokeArgs.Empty, options.WithDefaults()); - - /// - /// Provides information about accounts. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Your-Account.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-account). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var allAccounts = Outscale.GetAccounts.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getAccounts:getAccounts", InvokeArgs.Empty, options.WithDefaults()); - } - - - [OutputType] - public sealed class GetAccountsResult - { - /// - /// The list of the accounts. - /// - public readonly ImmutableArray Accounts; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - public readonly string RequestId; - - [OutputConstructor] - private GetAccountsResult( - ImmutableArray accounts, - - string id, - - string requestId) - { - Accounts = accounts; - Id = id; - RequestId = requestId; - } - } -} diff --git a/sdk/dotnet/GetApiAccessPolicy.cs b/sdk/dotnet/GetApiAccessPolicy.cs deleted file mode 100644 index c3ac361..0000000 --- a/sdk/dotnet/GetApiAccessPolicy.cs +++ /dev/null @@ -1,105 +0,0 @@ -// *** 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.Outscale -{ - public static class GetApiAccessPolicy - { - /// - /// Provides information about the API access policy. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Your-API-Access-Policy.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-apiaccesspolicy). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var unique = Outscale.GetApiAccessPolicy.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getApiAccessPolicy:getApiAccessPolicy", InvokeArgs.Empty, options.WithDefaults()); - - /// - /// Provides information about the API access policy. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Your-API-Access-Policy.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-apiaccesspolicy). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var unique = Outscale.GetApiAccessPolicy.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getApiAccessPolicy:getApiAccessPolicy", InvokeArgs.Empty, options.WithDefaults()); - } - - - [OutputType] - public sealed class GetApiAccessPolicyResult - { - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// The maximum possible lifetime for your access keys, in seconds. If `0`, your access keys can have unlimited lifetimes. - /// - public readonly int MaxAccessKeyExpirationSeconds; - public readonly string RequestId; - /// - /// If true, a trusted session is activated, allowing you to bypass Certificate Authorities (CAs) enforcement. For more information, see the `ApiKeyAuth` authentication scheme in the [Authentication](https://docs.outscale.com/api#authentication) section. - /// - public readonly bool RequireTrustedEnv; - - [OutputConstructor] - private GetApiAccessPolicyResult( - string id, - - int maxAccessKeyExpirationSeconds, - - string requestId, - - bool requireTrustedEnv) - { - Id = id; - MaxAccessKeyExpirationSeconds = maxAccessKeyExpirationSeconds; - RequestId = requestId; - RequireTrustedEnv = requireTrustedEnv; - } - } -} diff --git a/sdk/dotnet/GetApiAccessRule.cs b/sdk/dotnet/GetApiAccessRule.cs deleted file mode 100644 index 9bc385a..0000000 --- a/sdk/dotnet/GetApiAccessRule.cs +++ /dev/null @@ -1,197 +0,0 @@ -// *** 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.Outscale -{ - public static class GetApiAccessRule - { - /// - /// Provides information about an API access rule. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-API-Access-Rules.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-apiaccessrule). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var apiAccessRule01 = Outscale.GetApiAccessRule.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetApiAccessRuleFilterInputArgs - /// { - /// Name = "api_access_rule_ids", - /// Values = new[] - /// { - /// "aar-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetApiAccessRuleArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getApiAccessRule:getApiAccessRule", args ?? new GetApiAccessRuleArgs(), options.WithDefaults()); - - /// - /// Provides information about an API access rule. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-API-Access-Rules.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-apiaccessrule). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var apiAccessRule01 = Outscale.GetApiAccessRule.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetApiAccessRuleFilterInputArgs - /// { - /// Name = "api_access_rule_ids", - /// Values = new[] - /// { - /// "aar-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetApiAccessRuleInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getApiAccessRule:getApiAccessRule", args ?? new GetApiAccessRuleInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetApiAccessRuleArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - public GetApiAccessRuleArgs() - { - } - public static new GetApiAccessRuleArgs Empty => new GetApiAccessRuleArgs(); - } - - public sealed class GetApiAccessRuleInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - public GetApiAccessRuleInvokeArgs() - { - } - public static new GetApiAccessRuleInvokeArgs Empty => new GetApiAccessRuleInvokeArgs(); - } - - - [OutputType] - public sealed class GetApiAccessRuleResult - { - /// - /// The ID of the API access rule. - /// - public readonly string ApiAccessRuleId; - /// - /// One or more IDs of Client Certificate Authorities (CAs) used for the API access rule. - /// - public readonly ImmutableArray CaIds; - /// - /// One or more Client Certificate Common Names (CNs). - /// - public readonly ImmutableArray Cns; - /// - /// The description of the API access rule. - /// - public readonly string Description; - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// One or more IP ranges used for the API access rule, in CIDR notation (for example, `192.0.2.0/16`). - /// - public readonly ImmutableArray IpRanges; - public readonly string RequestId; - - [OutputConstructor] - private GetApiAccessRuleResult( - string apiAccessRuleId, - - ImmutableArray caIds, - - ImmutableArray cns, - - string description, - - ImmutableArray filters, - - string id, - - ImmutableArray ipRanges, - - string requestId) - { - ApiAccessRuleId = apiAccessRuleId; - CaIds = caIds; - Cns = cns; - Description = description; - Filters = filters; - Id = id; - IpRanges = ipRanges; - RequestId = requestId; - } - } -} diff --git a/sdk/dotnet/GetApiAccessRules.cs b/sdk/dotnet/GetApiAccessRules.cs deleted file mode 100644 index 42c90af..0000000 --- a/sdk/dotnet/GetApiAccessRules.cs +++ /dev/null @@ -1,187 +0,0 @@ -// *** 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.Outscale -{ - public static class GetApiAccessRules - { - /// - /// Provides information about API access rules. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-API-Access-Rules.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-apiaccessrule). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var apiAccessRules01 = Outscale.GetApiAccessRules.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetApiAccessRulesFilterInputArgs - /// { - /// Name = "ca_ids", - /// Values = new[] - /// { - /// "ca-12345678", - /// "ca-87654321", - /// }, - /// }, - /// new Outscale.Inputs.GetApiAccessRulesFilterInputArgs - /// { - /// Name = "ip_ranges", - /// Values = new[] - /// { - /// "192.0.2.0/16", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetApiAccessRulesArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getApiAccessRules:getApiAccessRules", args ?? new GetApiAccessRulesArgs(), options.WithDefaults()); - - /// - /// Provides information about API access rules. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-API-Access-Rules.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-apiaccessrule). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var apiAccessRules01 = Outscale.GetApiAccessRules.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetApiAccessRulesFilterInputArgs - /// { - /// Name = "ca_ids", - /// Values = new[] - /// { - /// "ca-12345678", - /// "ca-87654321", - /// }, - /// }, - /// new Outscale.Inputs.GetApiAccessRulesFilterInputArgs - /// { - /// Name = "ip_ranges", - /// Values = new[] - /// { - /// "192.0.2.0/16", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetApiAccessRulesInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getApiAccessRules:getApiAccessRules", args ?? new GetApiAccessRulesInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetApiAccessRulesArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - public GetApiAccessRulesArgs() - { - } - public static new GetApiAccessRulesArgs Empty => new GetApiAccessRulesArgs(); - } - - public sealed class GetApiAccessRulesInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - public GetApiAccessRulesInvokeArgs() - { - } - public static new GetApiAccessRulesInvokeArgs Empty => new GetApiAccessRulesInvokeArgs(); - } - - - [OutputType] - public sealed class GetApiAccessRulesResult - { - /// - /// A list of API access rules. - /// - public readonly ImmutableArray ApiAccessRules; - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - public readonly string RequestId; - - [OutputConstructor] - private GetApiAccessRulesResult( - ImmutableArray apiAccessRules, - - ImmutableArray filters, - - string id, - - string requestId) - { - ApiAccessRules = apiAccessRules; - Filters = filters; - Id = id; - RequestId = requestId; - } - } -} diff --git a/sdk/dotnet/GetCa.cs b/sdk/dotnet/GetCa.cs deleted file mode 100644 index c3bc359..0000000 --- a/sdk/dotnet/GetCa.cs +++ /dev/null @@ -1,187 +0,0 @@ -// *** 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.Outscale -{ - public static class GetCa - { - /// - /// Provides information about a Certificate Authority (CA). - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-API-Access-Rules.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-ca). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var ca01 = Outscale.GetCa.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetCaFilterInputArgs - /// { - /// Name = "ca_ids", - /// Values = new[] - /// { - /// "ca-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetCaArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getCa:getCa", args ?? new GetCaArgs(), options.WithDefaults()); - - /// - /// Provides information about a Certificate Authority (CA). - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-API-Access-Rules.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-ca). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var ca01 = Outscale.GetCa.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetCaFilterInputArgs - /// { - /// Name = "ca_ids", - /// Values = new[] - /// { - /// "ca-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetCaInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getCa:getCa", args ?? new GetCaInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetCaArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - public GetCaArgs() - { - } - public static new GetCaArgs Empty => new GetCaArgs(); - } - - public sealed class GetCaInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - public GetCaInvokeArgs() - { - } - public static new GetCaInvokeArgs Empty => new GetCaInvokeArgs(); - } - - - [OutputType] - public sealed class GetCaResult - { - /// - /// The fingerprint of the CA. - /// - public readonly string CaFingerprint; - /// - /// The ID of the CA. - /// - public readonly string CaId; - public readonly string CaPem; - /// - /// The description of the CA. - /// - public readonly string Description; - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - public readonly string RequestId; - - [OutputConstructor] - private GetCaResult( - string caFingerprint, - - string caId, - - string caPem, - - string description, - - ImmutableArray filters, - - string id, - - string requestId) - { - CaFingerprint = caFingerprint; - CaId = caId; - CaPem = caPem; - Description = description; - Filters = filters; - Id = id; - RequestId = requestId; - } - } -} diff --git a/sdk/dotnet/GetCas.cs b/sdk/dotnet/GetCas.cs deleted file mode 100644 index dc1ced5..0000000 --- a/sdk/dotnet/GetCas.cs +++ /dev/null @@ -1,171 +0,0 @@ -// *** 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.Outscale -{ - public static class GetCas - { - /// - /// Provides information about Certificate Authorities (CAs). - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-API-Access-Rules.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-ca). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var cas01 = Outscale.GetCas.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetCasFilterInputArgs - /// { - /// Name = "ca_ids", - /// Values = new[] - /// { - /// "ca-12345678", - /// "ca-87654321", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetCasArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getCas:getCas", args ?? new GetCasArgs(), options.WithDefaults()); - - /// - /// Provides information about Certificate Authorities (CAs). - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-API-Access-Rules.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-ca). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var cas01 = Outscale.GetCas.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetCasFilterInputArgs - /// { - /// Name = "ca_ids", - /// Values = new[] - /// { - /// "ca-12345678", - /// "ca-87654321", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetCasInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getCas:getCas", args ?? new GetCasInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetCasArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - public GetCasArgs() - { - } - public static new GetCasArgs Empty => new GetCasArgs(); - } - - public sealed class GetCasInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - public GetCasInvokeArgs() - { - } - public static new GetCasInvokeArgs Empty => new GetCasInvokeArgs(); - } - - - [OutputType] - public sealed class GetCasResult - { - /// - /// Information about one or more CAs. - /// - public readonly ImmutableArray Cas; - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - public readonly string RequestId; - - [OutputConstructor] - private GetCasResult( - ImmutableArray cas, - - ImmutableArray filters, - - string id, - - string requestId) - { - Cas = cas; - Filters = filters; - Id = id; - RequestId = requestId; - } - } -} diff --git a/sdk/dotnet/GetClientGateway.cs b/sdk/dotnet/GetClientGateway.cs deleted file mode 100644 index eddda7b..0000000 --- a/sdk/dotnet/GetClientGateway.cs +++ /dev/null @@ -1,216 +0,0 @@ -// *** 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.Outscale -{ - public static class GetClientGateway - { - /// - /// Provides information about a client gateway. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Customer-Gateways.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-clientgateway). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var clientGateway01 = Outscale.GetClientGateway.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetClientGatewayFilterInputArgs - /// { - /// Name = "client_gateway_ids", - /// Values = new[] - /// { - /// "cgw-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetClientGatewayArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getClientGateway:getClientGateway", args ?? new GetClientGatewayArgs(), options.WithDefaults()); - - /// - /// Provides information about a client gateway. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Customer-Gateways.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-clientgateway). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var clientGateway01 = Outscale.GetClientGateway.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetClientGatewayFilterInputArgs - /// { - /// Name = "client_gateway_ids", - /// Values = new[] - /// { - /// "cgw-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetClientGatewayInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getClientGateway:getClientGateway", args ?? new GetClientGatewayInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetClientGatewayArgs : global::Pulumi.InvokeArgs - { - /// - /// The ID of the client gateway. - /// - [Input("clientGatewayId")] - public string? ClientGatewayId { get; set; } - - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - public GetClientGatewayArgs() - { - } - public static new GetClientGatewayArgs Empty => new GetClientGatewayArgs(); - } - - public sealed class GetClientGatewayInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// The ID of the client gateway. - /// - [Input("clientGatewayId")] - public Input? ClientGatewayId { get; set; } - - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - public GetClientGatewayInvokeArgs() - { - } - public static new GetClientGatewayInvokeArgs Empty => new GetClientGatewayInvokeArgs(); - } - - - [OutputType] - public sealed class GetClientGatewayResult - { - /// - /// The Autonomous System Number (ASN) used by the Border Gateway Protocol (BGP) to find the path to your client gateway through the Internet. - /// - public readonly int BgpAsn; - /// - /// The ID of the client gateway. - /// - public readonly string? ClientGatewayId; - /// - /// The type of communication tunnel used by the client gateway (only `ipsec.1` is supported). - /// - public readonly string ConnectionType; - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// The public IPv4 address of the client gateway (must be a fixed address into a NATed network). - /// - public readonly string PublicIp; - public readonly string RequestId; - /// - /// The state of the client gateway (`pending` \| `available` \| `deleting` \| `deleted`). - /// - public readonly string State; - /// - /// One or more tags associated with the client gateway. - /// - public readonly ImmutableArray Tags; - - [OutputConstructor] - private GetClientGatewayResult( - int bgpAsn, - - string? clientGatewayId, - - string connectionType, - - ImmutableArray filters, - - string id, - - string publicIp, - - string requestId, - - string state, - - ImmutableArray tags) - { - BgpAsn = bgpAsn; - ClientGatewayId = clientGatewayId; - ConnectionType = connectionType; - Filters = filters; - Id = id; - PublicIp = publicIp; - RequestId = requestId; - State = state; - Tags = tags; - } - } -} diff --git a/sdk/dotnet/GetClientGateways.cs b/sdk/dotnet/GetClientGateways.cs deleted file mode 100644 index a1c92b6..0000000 --- a/sdk/dotnet/GetClientGateways.cs +++ /dev/null @@ -1,215 +0,0 @@ -// *** 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.Outscale -{ - public static class GetClientGateways - { - /// - /// Provides information about client gateways. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Customer-Gateways.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-clientgateway). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var clientGateways01 = Outscale.GetClientGateways.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetClientGatewaysFilterInputArgs - /// { - /// Name = "bgp_asns", - /// Values = new[] - /// { - /// "65000", - /// }, - /// }, - /// new Outscale.Inputs.GetClientGatewaysFilterInputArgs - /// { - /// Name = "public_ips", - /// Values = new[] - /// { - /// "111.11.111.1", - /// "222.22.222.2", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetClientGatewaysArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getClientGateways:getClientGateways", args ?? new GetClientGatewaysArgs(), options.WithDefaults()); - - /// - /// Provides information about client gateways. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Customer-Gateways.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-clientgateway). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var clientGateways01 = Outscale.GetClientGateways.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetClientGatewaysFilterInputArgs - /// { - /// Name = "bgp_asns", - /// Values = new[] - /// { - /// "65000", - /// }, - /// }, - /// new Outscale.Inputs.GetClientGatewaysFilterInputArgs - /// { - /// Name = "public_ips", - /// Values = new[] - /// { - /// "111.11.111.1", - /// "222.22.222.2", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetClientGatewaysInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getClientGateways:getClientGateways", args ?? new GetClientGatewaysInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetClientGatewaysArgs : global::Pulumi.InvokeArgs - { - [Input("clientGatewayIds")] - private List? _clientGatewayIds; - - /// - /// The IDs of the client gateways. - /// - public List ClientGatewayIds - { - get => _clientGatewayIds ?? (_clientGatewayIds = new List()); - set => _clientGatewayIds = value; - } - - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - public GetClientGatewaysArgs() - { - } - public static new GetClientGatewaysArgs Empty => new GetClientGatewaysArgs(); - } - - public sealed class GetClientGatewaysInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("clientGatewayIds")] - private InputList? _clientGatewayIds; - - /// - /// The IDs of the client gateways. - /// - public InputList ClientGatewayIds - { - get => _clientGatewayIds ?? (_clientGatewayIds = new InputList()); - set => _clientGatewayIds = value; - } - - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - public GetClientGatewaysInvokeArgs() - { - } - public static new GetClientGatewaysInvokeArgs Empty => new GetClientGatewaysInvokeArgs(); - } - - - [OutputType] - public sealed class GetClientGatewaysResult - { - public readonly ImmutableArray ClientGatewayIds; - /// - /// Information about one or more client gateways. - /// - public readonly ImmutableArray ClientGateways; - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - public readonly string RequestId; - - [OutputConstructor] - private GetClientGatewaysResult( - ImmutableArray clientGatewayIds, - - ImmutableArray clientGateways, - - ImmutableArray filters, - - string id, - - string requestId) - { - ClientGatewayIds = clientGatewayIds; - ClientGateways = clientGateways; - Filters = filters; - Id = id; - RequestId = requestId; - } - } -} diff --git a/sdk/dotnet/GetDhcpOption.cs b/sdk/dotnet/GetDhcpOption.cs deleted file mode 100644 index cc13841..0000000 --- a/sdk/dotnet/GetDhcpOption.cs +++ /dev/null @@ -1,211 +0,0 @@ -// *** 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.Outscale -{ - public static class GetDhcpOption - { - /// - /// Provides information about a DHCP option. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-DHCP-Options.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-dhcpoption). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var dhcpOption01 = Outscale.GetDhcpOption.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetDhcpOptionFilterInputArgs - /// { - /// Name = "dhcp_options_set_id", - /// Values = new[] - /// { - /// "dopt-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetDhcpOptionArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getDhcpOption:getDhcpOption", args ?? new GetDhcpOptionArgs(), options.WithDefaults()); - - /// - /// Provides information about a DHCP option. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-DHCP-Options.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-dhcpoption). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var dhcpOption01 = Outscale.GetDhcpOption.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetDhcpOptionFilterInputArgs - /// { - /// Name = "dhcp_options_set_id", - /// Values = new[] - /// { - /// "dopt-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetDhcpOptionInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getDhcpOption:getDhcpOption", args ?? new GetDhcpOptionInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetDhcpOptionArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - public GetDhcpOptionArgs() - { - } - public static new GetDhcpOptionArgs Empty => new GetDhcpOptionArgs(); - } - - public sealed class GetDhcpOptionInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - public GetDhcpOptionInvokeArgs() - { - } - public static new GetDhcpOptionInvokeArgs Empty => new GetDhcpOptionInvokeArgs(); - } - - - [OutputType] - public sealed class GetDhcpOptionResult - { - /// - /// If true, the DHCP options set is a default one. If false, it is not. - /// - public readonly bool Default; - /// - /// The ID of the DHCP options set. - /// - public readonly string DhcpOptionsSetId; - /// - /// The domain name. - /// - public readonly string DomainName; - /// - /// One or more IPs for the domain name servers. - /// - public readonly ImmutableArray DomainNameServers; - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// One or more IPs for the log servers. - /// - public readonly ImmutableArray LogServers; - /// - /// One or more IPs for the NTP servers. - /// - public readonly ImmutableArray NtpServers; - public readonly string RequestId; - /// - /// One or more tags associated with the DHCP options set. - /// - public readonly ImmutableArray Tags; - - [OutputConstructor] - private GetDhcpOptionResult( - bool @default, - - string dhcpOptionsSetId, - - string domainName, - - ImmutableArray domainNameServers, - - ImmutableArray filters, - - string id, - - ImmutableArray logServers, - - ImmutableArray ntpServers, - - string requestId, - - ImmutableArray tags) - { - Default = @default; - DhcpOptionsSetId = dhcpOptionsSetId; - DomainName = domainName; - DomainNameServers = domainNameServers; - Filters = filters; - Id = id; - LogServers = logServers; - NtpServers = ntpServers; - RequestId = requestId; - Tags = tags; - } - } -} diff --git a/sdk/dotnet/GetDhcpOptions.cs b/sdk/dotnet/GetDhcpOptions.cs deleted file mode 100644 index 83155db..0000000 --- a/sdk/dotnet/GetDhcpOptions.cs +++ /dev/null @@ -1,188 +0,0 @@ -// *** 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.Outscale -{ - public static class GetDhcpOptions - { - /// - /// Provides information about DHCP options. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-DHCP-Options.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-dhcpoption). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var dhcpOptions01 = Outscale.GetDhcpOptions.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetDhcpOptionsFilterInputArgs - /// { - /// Name = "domain_name_servers", - /// Values = new[] - /// { - /// "111.11.111.1", - /// "222.22.222.2", - /// }, - /// }, - /// new Outscale.Inputs.GetDhcpOptionsFilterInputArgs - /// { - /// Name = "domain_names", - /// Values = new[] - /// { - /// "example.com", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetDhcpOptionsArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getDhcpOptions:getDhcpOptions", args ?? new GetDhcpOptionsArgs(), options.WithDefaults()); - - /// - /// Provides information about DHCP options. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-DHCP-Options.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-dhcpoption). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var dhcpOptions01 = Outscale.GetDhcpOptions.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetDhcpOptionsFilterInputArgs - /// { - /// Name = "domain_name_servers", - /// Values = new[] - /// { - /// "111.11.111.1", - /// "222.22.222.2", - /// }, - /// }, - /// new Outscale.Inputs.GetDhcpOptionsFilterInputArgs - /// { - /// Name = "domain_names", - /// Values = new[] - /// { - /// "example.com", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetDhcpOptionsInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getDhcpOptions:getDhcpOptions", args ?? new GetDhcpOptionsInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetDhcpOptionsArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - public GetDhcpOptionsArgs() - { - } - public static new GetDhcpOptionsArgs Empty => new GetDhcpOptionsArgs(); - } - - public sealed class GetDhcpOptionsInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - public GetDhcpOptionsInvokeArgs() - { - } - public static new GetDhcpOptionsInvokeArgs Empty => new GetDhcpOptionsInvokeArgs(); - } - - - [OutputType] - public sealed class GetDhcpOptionsResult - { - public readonly ImmutableArray DhcpOptions; - public readonly ImmutableArray DhcpOptionsSetIds; - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - public readonly string RequestId; - - [OutputConstructor] - private GetDhcpOptionsResult( - ImmutableArray dhcpOptions, - - ImmutableArray dhcpOptionsSetIds, - - ImmutableArray filters, - - string id, - - string requestId) - { - DhcpOptions = dhcpOptions; - DhcpOptionsSetIds = dhcpOptionsSetIds; - Filters = filters; - Id = id; - RequestId = requestId; - } - } -} diff --git a/sdk/dotnet/GetFlexibleGpu.cs b/sdk/dotnet/GetFlexibleGpu.cs deleted file mode 100644 index a5a4ace..0000000 --- a/sdk/dotnet/GetFlexibleGpu.cs +++ /dev/null @@ -1,211 +0,0 @@ -// *** 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.Outscale -{ - public static class GetFlexibleGpu - { - /// - /// Provides information about a flexible GPU. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-flexiblegpu). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var flexibleGpu01 = Outscale.GetFlexibleGpu.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetFlexibleGpuFilterInputArgs - /// { - /// Name = "flexible_gpu_ids", - /// Values = new[] - /// { - /// "fgpu-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetFlexibleGpuArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getFlexibleGpu:getFlexibleGpu", args ?? new GetFlexibleGpuArgs(), options.WithDefaults()); - - /// - /// Provides information about a flexible GPU. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-flexiblegpu). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var flexibleGpu01 = Outscale.GetFlexibleGpu.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetFlexibleGpuFilterInputArgs - /// { - /// Name = "flexible_gpu_ids", - /// Values = new[] - /// { - /// "fgpu-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetFlexibleGpuInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getFlexibleGpu:getFlexibleGpu", args ?? new GetFlexibleGpuInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetFlexibleGpuArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - public GetFlexibleGpuArgs() - { - } - public static new GetFlexibleGpuArgs Empty => new GetFlexibleGpuArgs(); - } - - public sealed class GetFlexibleGpuInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - public GetFlexibleGpuInvokeArgs() - { - } - public static new GetFlexibleGpuInvokeArgs Empty => new GetFlexibleGpuInvokeArgs(); - } - - - [OutputType] - public sealed class GetFlexibleGpuResult - { - /// - /// If true, the fGPU is deleted when the VM is terminated. - /// - public readonly bool DeleteOnVmDeletion; - public readonly ImmutableArray Filters; - /// - /// The ID of the fGPU. - /// - public readonly string FlexibleGpuId; - /// - /// The compatible processor generation. - /// - public readonly string Generation; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// The model of fGPU. For more information, see [About Flexible GPUs](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html). - /// - public readonly string ModelName; - public readonly string RequestId; - /// - /// The state of the fGPU (`allocated` \| `attaching` \| `attached` \| `detaching`). - /// - public readonly string State; - /// - /// The Subregion where the fGPU is located. - /// - public readonly string SubregionName; - /// - /// The ID of the VM the fGPU is attached to, if any. - /// - public readonly string VmId; - - [OutputConstructor] - private GetFlexibleGpuResult( - bool deleteOnVmDeletion, - - ImmutableArray filters, - - string flexibleGpuId, - - string generation, - - string id, - - string modelName, - - string requestId, - - string state, - - string subregionName, - - string vmId) - { - DeleteOnVmDeletion = deleteOnVmDeletion; - Filters = filters; - FlexibleGpuId = flexibleGpuId; - Generation = generation; - Id = id; - ModelName = modelName; - RequestId = requestId; - State = state; - SubregionName = subregionName; - VmId = vmId; - } - } -} diff --git a/sdk/dotnet/GetFlexibleGpuCatalog.cs b/sdk/dotnet/GetFlexibleGpuCatalog.cs deleted file mode 100644 index 27c1e13..0000000 --- a/sdk/dotnet/GetFlexibleGpuCatalog.cs +++ /dev/null @@ -1,135 +0,0 @@ -// *** 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.Outscale -{ - public static class GetFlexibleGpuCatalog - { - /// - /// Provides information about the flexible GPU catalog. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readflexiblegpucatalog). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var flexibleGpuCatalog01 = Outscale.GetFlexibleGpuCatalog.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetFlexibleGpuCatalogArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getFlexibleGpuCatalog:getFlexibleGpuCatalog", args ?? new GetFlexibleGpuCatalogArgs(), options.WithDefaults()); - - /// - /// Provides information about the flexible GPU catalog. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readflexiblegpucatalog). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var flexibleGpuCatalog01 = Outscale.GetFlexibleGpuCatalog.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetFlexibleGpuCatalogInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getFlexibleGpuCatalog:getFlexibleGpuCatalog", args ?? new GetFlexibleGpuCatalogInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetFlexibleGpuCatalogArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - public GetFlexibleGpuCatalogArgs() - { - } - public static new GetFlexibleGpuCatalogArgs Empty => new GetFlexibleGpuCatalogArgs(); - } - - public sealed class GetFlexibleGpuCatalogInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - public GetFlexibleGpuCatalogInvokeArgs() - { - } - public static new GetFlexibleGpuCatalogInvokeArgs Empty => new GetFlexibleGpuCatalogInvokeArgs(); - } - - - [OutputType] - public sealed class GetFlexibleGpuCatalogResult - { - public readonly ImmutableArray Filters; - /// - /// Information about one or more fGPUs available in the public catalog. - /// - public readonly ImmutableArray FlexibleGpuCatalogs; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - public readonly string RequestId; - - [OutputConstructor] - private GetFlexibleGpuCatalogResult( - ImmutableArray filters, - - ImmutableArray flexibleGpuCatalogs, - - string id, - - string requestId) - { - Filters = filters; - FlexibleGpuCatalogs = flexibleGpuCatalogs; - Id = id; - RequestId = requestId; - } - } -} diff --git a/sdk/dotnet/GetFlexibleGpus.cs b/sdk/dotnet/GetFlexibleGpus.cs deleted file mode 100644 index 32cb00e..0000000 --- a/sdk/dotnet/GetFlexibleGpus.cs +++ /dev/null @@ -1,187 +0,0 @@ -// *** 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.Outscale -{ - public static class GetFlexibleGpus - { - /// - /// Provides information about flexible GPUs. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-flexiblegpu). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var flexibleGpus01 = Outscale.GetFlexibleGpus.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetFlexibleGpusFilterInputArgs - /// { - /// Name = "model_names", - /// Values = new[] - /// { - /// "nvidia-p6", - /// "nvidia-p100", - /// }, - /// }, - /// new Outscale.Inputs.GetFlexibleGpusFilterInputArgs - /// { - /// Name = "states", - /// Values = new[] - /// { - /// "attached", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetFlexibleGpusArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getFlexibleGpus:getFlexibleGpus", args ?? new GetFlexibleGpusArgs(), options.WithDefaults()); - - /// - /// Provides information about flexible GPUs. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-flexiblegpu). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var flexibleGpus01 = Outscale.GetFlexibleGpus.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetFlexibleGpusFilterInputArgs - /// { - /// Name = "model_names", - /// Values = new[] - /// { - /// "nvidia-p6", - /// "nvidia-p100", - /// }, - /// }, - /// new Outscale.Inputs.GetFlexibleGpusFilterInputArgs - /// { - /// Name = "states", - /// Values = new[] - /// { - /// "attached", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetFlexibleGpusInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getFlexibleGpus:getFlexibleGpus", args ?? new GetFlexibleGpusInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetFlexibleGpusArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - public GetFlexibleGpusArgs() - { - } - public static new GetFlexibleGpusArgs Empty => new GetFlexibleGpusArgs(); - } - - public sealed class GetFlexibleGpusInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - public GetFlexibleGpusInvokeArgs() - { - } - public static new GetFlexibleGpusInvokeArgs Empty => new GetFlexibleGpusInvokeArgs(); - } - - - [OutputType] - public sealed class GetFlexibleGpusResult - { - public readonly ImmutableArray Filters; - /// - /// Information about one or more fGPUs. - /// - public readonly ImmutableArray FlexibleGpuses; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - public readonly string RequestId; - - [OutputConstructor] - private GetFlexibleGpusResult( - ImmutableArray filters, - - ImmutableArray flexibleGpuses, - - string id, - - string requestId) - { - Filters = filters; - FlexibleGpuses = flexibleGpuses; - Id = id; - RequestId = requestId; - } - } -} diff --git a/sdk/dotnet/GetImage.cs b/sdk/dotnet/GetImage.cs deleted file mode 100644 index c379187..0000000 --- a/sdk/dotnet/GetImage.cs +++ /dev/null @@ -1,341 +0,0 @@ -// *** 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.Outscale -{ - public static class GetImage - { - /// - /// Provides information about an image. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-OMIs.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-image). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var image01 = Outscale.GetImage.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetImageFilterInputArgs - /// { - /// Name = "image_ids", - /// Values = new[] - /// { - /// "ami-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetImageArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getImage:getImage", args ?? new GetImageArgs(), options.WithDefaults()); - - /// - /// Provides information about an image. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-OMIs.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-image). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var image01 = Outscale.GetImage.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetImageFilterInputArgs - /// { - /// Name = "image_ids", - /// Values = new[] - /// { - /// "ami-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetImageInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getImage:getImage", args ?? new GetImageInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetImageArgs : global::Pulumi.InvokeArgs - { - [Input("blockDeviceMappings")] - private List? _blockDeviceMappings; - - /// - /// One or more block device mappings. - /// - public List BlockDeviceMappings - { - get => _blockDeviceMappings ?? (_blockDeviceMappings = new List()); - set => _blockDeviceMappings = value; - } - - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - /// - /// The ID of the OMI. - /// - [Input("imageId")] - public string? ImageId { get; set; } - - [Input("permissions")] - private List? _permissions; - public List Permissions - { - get => _permissions ?? (_permissions = new List()); - set => _permissions = value; - } - - public GetImageArgs() - { - } - public static new GetImageArgs Empty => new GetImageArgs(); - } - - public sealed class GetImageInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("blockDeviceMappings")] - private InputList? _blockDeviceMappings; - - /// - /// One or more block device mappings. - /// - public InputList BlockDeviceMappings - { - get => _blockDeviceMappings ?? (_blockDeviceMappings = new InputList()); - set => _blockDeviceMappings = value; - } - - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - /// - /// The ID of the OMI. - /// - [Input("imageId")] - public Input? ImageId { get; set; } - - [Input("permissions")] - private InputList? _permissions; - public InputList Permissions - { - get => _permissions ?? (_permissions = new InputList()); - set => _permissions = value; - } - - public GetImageInvokeArgs() - { - } - public static new GetImageInvokeArgs Empty => new GetImageInvokeArgs(); - } - - - [OutputType] - public sealed class GetImageResult - { - /// - /// The account alias of the owner of the OMI. - /// - public readonly string AccountAlias; - /// - /// The account ID of the owner of the OMI. - /// - public readonly string AccountId; - /// - /// The architecture of the OMI (by default, `i386`). - /// - public readonly string Architecture; - /// - /// One or more block device mappings. - /// - public readonly ImmutableArray BlockDeviceMappings; - /// - /// The date and time of creation of the OMI, in ISO 8601 date-time format. - /// - public readonly string CreationDate; - /// - /// The description of the OMI. - /// - public readonly string Description; - /// - /// The location of the bucket where the OMI files are stored. - /// - public readonly string FileLocation; - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// The ID of the OMI. - /// - public readonly string? ImageId; - /// - /// The name of the OMI. - /// - public readonly string ImageName; - /// - /// The type of the OMI. - /// - public readonly string ImageType; - public readonly bool IsPublic; - public readonly ImmutableArray Permissions; - /// - /// Permissions for the resource. - /// - public readonly ImmutableArray PermissionsToLaunches; - /// - /// The product codes associated with the OMI. - /// - public readonly ImmutableArray ProductCodes; - public readonly string RequestId; - /// - /// The name of the root device. - /// - public readonly string RootDeviceName; - /// - /// The type of root device used by the OMI (always `bsu`). - /// - public readonly string RootDeviceType; - /// - /// The state of the OMI (`pending` \| `available` \| `failed`). - /// - public readonly string State; - /// - /// Information about the change of state. - /// - public readonly ImmutableArray StateComments; - /// - /// One or more tags associated with the OMI. - /// - public readonly ImmutableArray Tags; - - [OutputConstructor] - private GetImageResult( - string accountAlias, - - string accountId, - - string architecture, - - ImmutableArray blockDeviceMappings, - - string creationDate, - - string description, - - string fileLocation, - - ImmutableArray filters, - - string id, - - string? imageId, - - string imageName, - - string imageType, - - bool isPublic, - - ImmutableArray permissions, - - ImmutableArray permissionsToLaunches, - - ImmutableArray productCodes, - - string requestId, - - string rootDeviceName, - - string rootDeviceType, - - string state, - - ImmutableArray stateComments, - - ImmutableArray tags) - { - AccountAlias = accountAlias; - AccountId = accountId; - Architecture = architecture; - BlockDeviceMappings = blockDeviceMappings; - CreationDate = creationDate; - Description = description; - FileLocation = fileLocation; - Filters = filters; - Id = id; - ImageId = imageId; - ImageName = imageName; - ImageType = imageType; - IsPublic = isPublic; - Permissions = permissions; - PermissionsToLaunches = permissionsToLaunches; - ProductCodes = productCodes; - RequestId = requestId; - RootDeviceName = rootDeviceName; - RootDeviceType = rootDeviceType; - State = state; - StateComments = stateComments; - Tags = tags; - } - } -} diff --git a/sdk/dotnet/GetImageExportTask.cs b/sdk/dotnet/GetImageExportTask.cs deleted file mode 100644 index 623d72a..0000000 --- a/sdk/dotnet/GetImageExportTask.cs +++ /dev/null @@ -1,221 +0,0 @@ -// *** 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.Outscale -{ - public static class GetImageExportTask - { - /// - /// Provides information about an image export task. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-OMIs.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-image). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var imageExportTask01 = Outscale.GetImageExportTask.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetImageExportTaskFilterInputArgs - /// { - /// Name = "task_ids", - /// Values = new[] - /// { - /// "image-export-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetImageExportTaskArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getImageExportTask:getImageExportTask", args ?? new GetImageExportTaskArgs(), options.WithDefaults()); - - /// - /// Provides information about an image export task. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-OMIs.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-image). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var imageExportTask01 = Outscale.GetImageExportTask.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetImageExportTaskFilterInputArgs - /// { - /// Name = "task_ids", - /// Values = new[] - /// { - /// "image-export-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetImageExportTaskInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getImageExportTask:getImageExportTask", args ?? new GetImageExportTaskInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetImageExportTaskArgs : global::Pulumi.InvokeArgs - { - [Input("dryRun")] - public bool? DryRun { get; set; } - - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - public GetImageExportTaskArgs() - { - } - public static new GetImageExportTaskArgs Empty => new GetImageExportTaskArgs(); - } - - public sealed class GetImageExportTaskInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("dryRun")] - public Input? DryRun { get; set; } - - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - public GetImageExportTaskInvokeArgs() - { - } - public static new GetImageExportTaskInvokeArgs Empty => new GetImageExportTaskInvokeArgs(); - } - - - [OutputType] - public sealed class GetImageExportTaskResult - { - /// - /// If the OMI export task fails, an error message appears. - /// - public readonly string Comment; - public readonly bool DryRun; - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// The ID of the OMI to be exported. - /// - public readonly string ImageId; - /// - /// Information about the OMI export task. - /// - public readonly ImmutableArray OsuExports; - /// - /// The progress of the OMI export task, as a percentage. - /// - public readonly int Progress; - public readonly string RequestId; - /// - /// The state of the OMI export task (`pending/queued` \| `pending` \| `completed` \| `failed` \| `cancelled`). - /// - public readonly string State; - /// - /// One or more tags associated with the image export task. - /// - public readonly ImmutableArray Tags; - /// - /// The ID of the OMI export task. - /// - public readonly string TaskId; - - [OutputConstructor] - private GetImageExportTaskResult( - string comment, - - bool dryRun, - - ImmutableArray filters, - - string id, - - string imageId, - - ImmutableArray osuExports, - - int progress, - - string requestId, - - string state, - - ImmutableArray tags, - - string taskId) - { - Comment = comment; - DryRun = dryRun; - Filters = filters; - Id = id; - ImageId = imageId; - OsuExports = osuExports; - Progress = progress; - RequestId = requestId; - State = state; - Tags = tags; - TaskId = taskId; - } - } -} diff --git a/sdk/dotnet/GetImageExportTasks.cs b/sdk/dotnet/GetImageExportTasks.cs deleted file mode 100644 index dbe95a1..0000000 --- a/sdk/dotnet/GetImageExportTasks.cs +++ /dev/null @@ -1,181 +0,0 @@ -// *** 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.Outscale -{ - public static class GetImageExportTasks - { - /// - /// Provides information about image export tasks. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-OMIs.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-image). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var imageExportTasks01 = Outscale.GetImageExportTasks.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetImageExportTasksFilterInputArgs - /// { - /// Name = "task_ids", - /// Values = new[] - /// { - /// "image-export-12345678", - /// "image-export-87654321", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetImageExportTasksArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getImageExportTasks:getImageExportTasks", args ?? new GetImageExportTasksArgs(), options.WithDefaults()); - - /// - /// Provides information about image export tasks. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-OMIs.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-image). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var imageExportTasks01 = Outscale.GetImageExportTasks.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetImageExportTasksFilterInputArgs - /// { - /// Name = "task_ids", - /// Values = new[] - /// { - /// "image-export-12345678", - /// "image-export-87654321", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetImageExportTasksInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getImageExportTasks:getImageExportTasks", args ?? new GetImageExportTasksInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetImageExportTasksArgs : global::Pulumi.InvokeArgs - { - [Input("dryRun")] - public bool? DryRun { get; set; } - - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - public GetImageExportTasksArgs() - { - } - public static new GetImageExportTasksArgs Empty => new GetImageExportTasksArgs(); - } - - public sealed class GetImageExportTasksInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("dryRun")] - public Input? DryRun { get; set; } - - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - public GetImageExportTasksInvokeArgs() - { - } - public static new GetImageExportTasksInvokeArgs Empty => new GetImageExportTasksInvokeArgs(); - } - - - [OutputType] - public sealed class GetImageExportTasksResult - { - public readonly bool DryRun; - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// Information about one or more image export tasks. - /// - public readonly ImmutableArray ImageExportTasks; - public readonly string RequestId; - - [OutputConstructor] - private GetImageExportTasksResult( - bool dryRun, - - ImmutableArray filters, - - string id, - - ImmutableArray imageExportTasks, - - string requestId) - { - DryRun = dryRun; - Filters = filters; - Id = id; - ImageExportTasks = imageExportTasks; - RequestId = requestId; - } - } -} diff --git a/sdk/dotnet/GetImages.cs b/sdk/dotnet/GetImages.cs deleted file mode 100644 index 5b9133d..0000000 --- a/sdk/dotnet/GetImages.cs +++ /dev/null @@ -1,266 +0,0 @@ -// *** 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.Outscale -{ - public static class GetImages - { - /// - /// Provides information about images. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-OMIs.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-image). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var images01 = Outscale.GetImages.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetImagesFilterInputArgs - /// { - /// Name = "account_aliases", - /// Values = new[] - /// { - /// "Outscale", - /// }, - /// }, - /// new Outscale.Inputs.GetImagesFilterInputArgs - /// { - /// Name = "image_names", - /// Values = new[] - /// { - /// "Ubuntu*", - /// "RockyLinux*", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetImagesArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getImages:getImages", args ?? new GetImagesArgs(), options.WithDefaults()); - - /// - /// Provides information about images. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-OMIs.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-image). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var images01 = Outscale.GetImages.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetImagesFilterInputArgs - /// { - /// Name = "account_aliases", - /// Values = new[] - /// { - /// "Outscale", - /// }, - /// }, - /// new Outscale.Inputs.GetImagesFilterInputArgs - /// { - /// Name = "image_names", - /// Values = new[] - /// { - /// "Ubuntu*", - /// "RockyLinux*", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetImagesInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getImages:getImages", args ?? new GetImagesInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetImagesArgs : global::Pulumi.InvokeArgs - { - [Input("accountIds")] - private List? _accountIds; - - /// - /// The account IDs of the owners of the OMIs. By default, all the OMIs for which you have launch permissions are described. - /// - public List AccountIds - { - get => _accountIds ?? (_accountIds = new List()); - set => _accountIds = value; - } - - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - [Input("imageIds")] - private List? _imageIds; - - /// - /// The IDs of the OMIs. - /// - public List ImageIds - { - get => _imageIds ?? (_imageIds = new List()); - set => _imageIds = value; - } - - [Input("permissions")] - private List? _permissions; - public List Permissions - { - get => _permissions ?? (_permissions = new List()); - set => _permissions = value; - } - - public GetImagesArgs() - { - } - public static new GetImagesArgs Empty => new GetImagesArgs(); - } - - public sealed class GetImagesInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("accountIds")] - private InputList? _accountIds; - - /// - /// The account IDs of the owners of the OMIs. By default, all the OMIs for which you have launch permissions are described. - /// - public InputList AccountIds - { - get => _accountIds ?? (_accountIds = new InputList()); - set => _accountIds = value; - } - - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - [Input("imageIds")] - private InputList? _imageIds; - - /// - /// The IDs of the OMIs. - /// - public InputList ImageIds - { - get => _imageIds ?? (_imageIds = new InputList()); - set => _imageIds = value; - } - - [Input("permissions")] - private InputList? _permissions; - public InputList Permissions - { - get => _permissions ?? (_permissions = new InputList()); - set => _permissions = value; - } - - public GetImagesInvokeArgs() - { - } - public static new GetImagesInvokeArgs Empty => new GetImagesInvokeArgs(); - } - - - [OutputType] - public sealed class GetImagesResult - { - /// - /// One or more account IDs that the permission is associated with. - /// - public readonly ImmutableArray AccountIds; - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - public readonly ImmutableArray ImageIds; - /// - /// Information about one or more OMIs. - /// - public readonly ImmutableArray Images; - public readonly ImmutableArray Permissions; - public readonly string RequestId; - - [OutputConstructor] - private GetImagesResult( - ImmutableArray accountIds, - - ImmutableArray filters, - - string id, - - ImmutableArray imageIds, - - ImmutableArray images, - - ImmutableArray permissions, - - string requestId) - { - AccountIds = accountIds; - Filters = filters; - Id = id; - ImageIds = imageIds; - Images = images; - Permissions = permissions; - RequestId = requestId; - } - } -} diff --git a/sdk/dotnet/GetInternetService.cs b/sdk/dotnet/GetInternetService.cs deleted file mode 100644 index 3975b56..0000000 --- a/sdk/dotnet/GetInternetService.cs +++ /dev/null @@ -1,190 +0,0 @@ -// *** 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.Outscale -{ - public static class GetInternetService - { - /// - /// Provides information about an Internet service. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Internet-Gateways.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-internetservice). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var internetService01 = Outscale.GetInternetService.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetInternetServiceFilterInputArgs - /// { - /// Name = "internet_service_ids", - /// Values = new[] - /// { - /// "igw-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetInternetServiceArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getInternetService:getInternetService", args ?? new GetInternetServiceArgs(), options.WithDefaults()); - - /// - /// Provides information about an Internet service. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Internet-Gateways.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-internetservice). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var internetService01 = Outscale.GetInternetService.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetInternetServiceFilterInputArgs - /// { - /// Name = "internet_service_ids", - /// Values = new[] - /// { - /// "igw-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetInternetServiceInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getInternetService:getInternetService", args ?? new GetInternetServiceInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetInternetServiceArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - public GetInternetServiceArgs() - { - } - public static new GetInternetServiceArgs Empty => new GetInternetServiceArgs(); - } - - public sealed class GetInternetServiceInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - public GetInternetServiceInvokeArgs() - { - } - public static new GetInternetServiceInvokeArgs Empty => new GetInternetServiceInvokeArgs(); - } - - - [OutputType] - public sealed class GetInternetServiceResult - { - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// The ID of the Internet service. - /// - public readonly string InternetServiceId; - /// - /// The ID of the Net attached to the Internet service. - /// - public readonly string NetId; - public readonly string RequestId; - /// - /// The state of the attachment of the Internet service to the Net (always `available`). - /// - public readonly string State; - /// - /// One or more tags associated with the Internet service. - /// - public readonly ImmutableArray Tags; - - [OutputConstructor] - private GetInternetServiceResult( - ImmutableArray filters, - - string id, - - string internetServiceId, - - string netId, - - string requestId, - - string state, - - ImmutableArray tags) - { - Filters = filters; - Id = id; - InternetServiceId = internetServiceId; - NetId = netId; - RequestId = requestId; - State = state; - Tags = tags; - } - } -} diff --git a/sdk/dotnet/GetInternetServices.cs b/sdk/dotnet/GetInternetServices.cs deleted file mode 100644 index 30837c1..0000000 --- a/sdk/dotnet/GetInternetServices.cs +++ /dev/null @@ -1,215 +0,0 @@ -// *** 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.Outscale -{ - public static class GetInternetServices - { - /// - /// Provides information about Internet services. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Internet-Gateways.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-internetservice). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var internetServices01 = Outscale.GetInternetServices.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetInternetServicesFilterInputArgs - /// { - /// Name = "tag_keys", - /// Values = new[] - /// { - /// "env", - /// }, - /// }, - /// new Outscale.Inputs.GetInternetServicesFilterInputArgs - /// { - /// Name = "tag_values", - /// Values = new[] - /// { - /// "prod", - /// "test", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetInternetServicesArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getInternetServices:getInternetServices", args ?? new GetInternetServicesArgs(), options.WithDefaults()); - - /// - /// Provides information about Internet services. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Internet-Gateways.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-internetservice). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var internetServices01 = Outscale.GetInternetServices.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetInternetServicesFilterInputArgs - /// { - /// Name = "tag_keys", - /// Values = new[] - /// { - /// "env", - /// }, - /// }, - /// new Outscale.Inputs.GetInternetServicesFilterInputArgs - /// { - /// Name = "tag_values", - /// Values = new[] - /// { - /// "prod", - /// "test", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetInternetServicesInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getInternetServices:getInternetServices", args ?? new GetInternetServicesInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetInternetServicesArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - [Input("internetServiceIds")] - private List? _internetServiceIds; - - /// - /// The IDs of the Internet services. - /// - public List InternetServiceIds - { - get => _internetServiceIds ?? (_internetServiceIds = new List()); - set => _internetServiceIds = value; - } - - public GetInternetServicesArgs() - { - } - public static new GetInternetServicesArgs Empty => new GetInternetServicesArgs(); - } - - public sealed class GetInternetServicesInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - [Input("internetServiceIds")] - private InputList? _internetServiceIds; - - /// - /// The IDs of the Internet services. - /// - public InputList InternetServiceIds - { - get => _internetServiceIds ?? (_internetServiceIds = new InputList()); - set => _internetServiceIds = value; - } - - public GetInternetServicesInvokeArgs() - { - } - public static new GetInternetServicesInvokeArgs Empty => new GetInternetServicesInvokeArgs(); - } - - - [OutputType] - public sealed class GetInternetServicesResult - { - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - public readonly ImmutableArray InternetServiceIds; - /// - /// Information about one or more Internet services. - /// - public readonly ImmutableArray InternetServices; - public readonly string RequestId; - - [OutputConstructor] - private GetInternetServicesResult( - ImmutableArray filters, - - string id, - - ImmutableArray internetServiceIds, - - ImmutableArray internetServices, - - string requestId) - { - Filters = filters; - Id = id; - InternetServiceIds = internetServiceIds; - InternetServices = internetServices; - RequestId = requestId; - } - } -} diff --git a/sdk/dotnet/GetKeypair.cs b/sdk/dotnet/GetKeypair.cs deleted file mode 100644 index 433c4fc..0000000 --- a/sdk/dotnet/GetKeypair.cs +++ /dev/null @@ -1,188 +0,0 @@ -// *** 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.Outscale -{ - public static class GetKeypair - { - /// - /// Provides information about a keypair. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Keypairs.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-keypair). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var keypair01 = Outscale.GetKeypair.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetKeypairFilterInputArgs - /// { - /// Name = "keypair_names", - /// Values = new[] - /// { - /// "terraform-keypair-01", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetKeypairArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getKeypair:getKeypair", args ?? new GetKeypairArgs(), options.WithDefaults()); - - /// - /// Provides information about a keypair. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Keypairs.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-keypair). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var keypair01 = Outscale.GetKeypair.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetKeypairFilterInputArgs - /// { - /// Name = "keypair_names", - /// Values = new[] - /// { - /// "terraform-keypair-01", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetKeypairInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getKeypair:getKeypair", args ?? new GetKeypairInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetKeypairArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - /// - /// The name of the keypair. - /// - [Input("keypairName")] - public string? KeypairName { get; set; } - - public GetKeypairArgs() - { - } - public static new GetKeypairArgs Empty => new GetKeypairArgs(); - } - - public sealed class GetKeypairInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - /// - /// The name of the keypair. - /// - [Input("keypairName")] - public Input? KeypairName { get; set; } - - public GetKeypairInvokeArgs() - { - } - public static new GetKeypairInvokeArgs Empty => new GetKeypairInvokeArgs(); - } - - - [OutputType] - public sealed class GetKeypairResult - { - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// The MD5 public key fingerprint as specified in section 4 of RFC 4716. - /// - public readonly string KeypairFingerprint; - /// - /// The name of the keypair. - /// - public readonly string KeypairName; - public readonly string RequestId; - - [OutputConstructor] - private GetKeypairResult( - ImmutableArray filters, - - string id, - - string keypairFingerprint, - - string keypairName, - - string requestId) - { - Filters = filters; - Id = id; - KeypairFingerprint = keypairFingerprint; - KeypairName = keypairName; - RequestId = requestId; - } - } -} diff --git a/sdk/dotnet/GetKeypairs.cs b/sdk/dotnet/GetKeypairs.cs deleted file mode 100644 index 8e09ee5..0000000 --- a/sdk/dotnet/GetKeypairs.cs +++ /dev/null @@ -1,199 +0,0 @@ -// *** 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.Outscale -{ - public static class GetKeypairs - { - /// - /// Provides information about keypairs. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Keypairs.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-keypair). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var keypairs01 = Outscale.GetKeypairs.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetKeypairsFilterInputArgs - /// { - /// Name = "keypair_names", - /// Values = new[] - /// { - /// "terraform-keypair-01", - /// "terraform-keypair-02", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetKeypairsArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getKeypairs:getKeypairs", args ?? new GetKeypairsArgs(), options.WithDefaults()); - - /// - /// Provides information about keypairs. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Keypairs.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-keypair). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var keypairs01 = Outscale.GetKeypairs.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetKeypairsFilterInputArgs - /// { - /// Name = "keypair_names", - /// Values = new[] - /// { - /// "terraform-keypair-01", - /// "terraform-keypair-02", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetKeypairsInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getKeypairs:getKeypairs", args ?? new GetKeypairsInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetKeypairsArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - [Input("keypairNames")] - private List? _keypairNames; - - /// - /// The names of the keypairs. - /// - public List KeypairNames - { - get => _keypairNames ?? (_keypairNames = new List()); - set => _keypairNames = value; - } - - public GetKeypairsArgs() - { - } - public static new GetKeypairsArgs Empty => new GetKeypairsArgs(); - } - - public sealed class GetKeypairsInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - [Input("keypairNames")] - private InputList? _keypairNames; - - /// - /// The names of the keypairs. - /// - public InputList KeypairNames - { - get => _keypairNames ?? (_keypairNames = new InputList()); - set => _keypairNames = value; - } - - public GetKeypairsInvokeArgs() - { - } - public static new GetKeypairsInvokeArgs Empty => new GetKeypairsInvokeArgs(); - } - - - [OutputType] - public sealed class GetKeypairsResult - { - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - public readonly ImmutableArray KeypairNames; - /// - /// Information about one or more keypairs. - /// - public readonly ImmutableArray Keypairs; - public readonly string RequestId; - - [OutputConstructor] - private GetKeypairsResult( - ImmutableArray filters, - - string id, - - ImmutableArray keypairNames, - - ImmutableArray keypairs, - - string requestId) - { - Filters = filters; - Id = id; - KeypairNames = keypairNames; - Keypairs = keypairs; - RequestId = requestId; - } - } -} diff --git a/sdk/dotnet/GetLoadBalancer.cs b/sdk/dotnet/GetLoadBalancer.cs deleted file mode 100644 index 3e421d7..0000000 --- a/sdk/dotnet/GetLoadBalancer.cs +++ /dev/null @@ -1,504 +0,0 @@ -// *** 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.Outscale -{ - public static class GetLoadBalancer - { - /// - /// Provides information about a load balancer. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Load-Balancers.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-loadbalancer). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var loadBalancer01 = Outscale.GetLoadBalancer.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetLoadBalancerFilterInputArgs - /// { - /// Name = "load_balancer_names", - /// Values = new[] - /// { - /// "load_balancer01", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetLoadBalancerArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getLoadBalancer:getLoadBalancer", args ?? new GetLoadBalancerArgs(), options.WithDefaults()); - - /// - /// Provides information about a load balancer. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Load-Balancers.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-loadbalancer). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var loadBalancer01 = Outscale.GetLoadBalancer.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetLoadBalancerFilterInputArgs - /// { - /// Name = "load_balancer_names", - /// Values = new[] - /// { - /// "load_balancer01", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetLoadBalancerInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getLoadBalancer:getLoadBalancer", args ?? new GetLoadBalancerInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetLoadBalancerArgs : global::Pulumi.InvokeArgs - { - [Input("accessLogs")] - private List? _accessLogs; - - /// - /// Information about access logs. - /// - public List AccessLogs - { - get => _accessLogs ?? (_accessLogs = new List()); - set => _accessLogs = value; - } - - [Input("backendVmIds")] - private List? _backendVmIds; - - /// - /// One or more IDs of back-end VMs for the load balancer. - /// - public List BackendVmIds - { - get => _backendVmIds ?? (_backendVmIds = new List()); - set => _backendVmIds = value; - } - - /// - /// The DNS name of the load balancer. - /// - [Input("dnsName")] - public string? DnsName { get; set; } - - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - [Input("healthChecks")] - private List? _healthChecks; - - /// - /// Information about the health check configuration. - /// - public List HealthChecks - { - get => _healthChecks ?? (_healthChecks = new List()); - set => _healthChecks = value; - } - - [Input("listeners")] - private List? _listeners; - - /// - /// The listeners for the load balancer. - /// - public List Listeners - { - get => _listeners ?? (_listeners = new List()); - set => _listeners = value; - } - - /// - /// The name of the load balancer. - /// - [Input("loadBalancerName")] - public string? LoadBalancerName { get; set; } - - /// - /// The type of load balancer. Valid only for load balancers in a Net.<br /> - /// If `load_balancer_type` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.<br /> - /// If `load_balancer_type` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - /// - [Input("loadBalancerType")] - public string? LoadBalancerType { get; set; } - - /// - /// The ID of the Net for the load balancer. - /// - [Input("netId")] - public string? NetId { get; set; } - - [Input("securityGroups")] - private List? _securityGroups; - - /// - /// One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - /// - public List SecurityGroups - { - get => _securityGroups ?? (_securityGroups = new List()); - set => _securityGroups = value; - } - - [Input("subnets")] - private List? _subnets; - - /// - /// The ID of the Subnet in which the load balancer was created. - /// - public List Subnets - { - get => _subnets ?? (_subnets = new List()); - set => _subnets = value; - } - - [Input("tags")] - private List? _tags; - - /// - /// One or more tags associated with the load balancer. - /// - public List Tags - { - get => _tags ?? (_tags = new List()); - set => _tags = value; - } - - public GetLoadBalancerArgs() - { - } - public static new GetLoadBalancerArgs Empty => new GetLoadBalancerArgs(); - } - - public sealed class GetLoadBalancerInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("accessLogs")] - private InputList? _accessLogs; - - /// - /// Information about access logs. - /// - public InputList AccessLogs - { - get => _accessLogs ?? (_accessLogs = new InputList()); - set => _accessLogs = value; - } - - [Input("backendVmIds")] - private InputList? _backendVmIds; - - /// - /// One or more IDs of back-end VMs for the load balancer. - /// - public InputList BackendVmIds - { - get => _backendVmIds ?? (_backendVmIds = new InputList()); - set => _backendVmIds = value; - } - - /// - /// The DNS name of the load balancer. - /// - [Input("dnsName")] - public Input? DnsName { get; set; } - - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - [Input("healthChecks")] - private InputList? _healthChecks; - - /// - /// Information about the health check configuration. - /// - public InputList HealthChecks - { - get => _healthChecks ?? (_healthChecks = new InputList()); - set => _healthChecks = value; - } - - [Input("listeners")] - private InputList? _listeners; - - /// - /// The listeners for the load balancer. - /// - public InputList Listeners - { - get => _listeners ?? (_listeners = new InputList()); - set => _listeners = value; - } - - /// - /// The name of the load balancer. - /// - [Input("loadBalancerName")] - public Input? LoadBalancerName { get; set; } - - /// - /// The type of load balancer. Valid only for load balancers in a Net.<br /> - /// If `load_balancer_type` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.<br /> - /// If `load_balancer_type` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - /// - [Input("loadBalancerType")] - public Input? LoadBalancerType { get; set; } - - /// - /// The ID of the Net for the load balancer. - /// - [Input("netId")] - public Input? NetId { get; set; } - - [Input("securityGroups")] - private InputList? _securityGroups; - - /// - /// One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - /// - public InputList SecurityGroups - { - get => _securityGroups ?? (_securityGroups = new InputList()); - set => _securityGroups = value; - } - - [Input("subnets")] - private InputList? _subnets; - - /// - /// The ID of the Subnet in which the load balancer was created. - /// - public InputList Subnets - { - get => _subnets ?? (_subnets = new InputList()); - set => _subnets = value; - } - - [Input("tags")] - private InputList? _tags; - - /// - /// One or more tags associated with the load balancer. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - public GetLoadBalancerInvokeArgs() - { - } - public static new GetLoadBalancerInvokeArgs Empty => new GetLoadBalancerInvokeArgs(); - } - - - [OutputType] - public sealed class GetLoadBalancerResult - { - /// - /// Information about access logs. - /// - public readonly ImmutableArray AccessLogs; - /// - /// The stickiness policies defined for the load balancer. - /// - public readonly ImmutableArray ApplicationStickyCookiePolicies; - /// - /// One or more IDs of back-end VMs for the load balancer. - /// - public readonly ImmutableArray BackendVmIds; - /// - /// The DNS name of the load balancer. - /// - public readonly string DnsName; - public readonly ImmutableArray Filters; - /// - /// Information about the health check configuration. - /// - public readonly ImmutableArray HealthChecks; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// The listeners for the load balancer. - /// - public readonly ImmutableArray Listeners; - /// - /// The name of the load balancer. - /// - public readonly string LoadBalancerName; - /// - /// The policies defined for the load balancer. - /// - public readonly ImmutableArray LoadBalancerStickyCookiePolicies; - /// - /// The type of load balancer. Valid only for load balancers in a Net.<br /> - /// If `load_balancer_type` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.<br /> - /// If `load_balancer_type` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - /// - public readonly string LoadBalancerType; - /// - /// The ID of the Net for the load balancer. - /// - public readonly string NetId; - /// - /// (internet-facing only) The public IP associated with the load balancer. - /// - public readonly string PublicIp; - public readonly string RequestId; - /// - /// Whether secure cookies are enabled for the load balancer. - /// - public readonly bool SecuredCookies; - /// - /// One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - /// - public readonly ImmutableArray SecurityGroups; - /// - /// Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.<br /> - /// To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. - /// - public readonly ImmutableArray SourceSecurityGroups; - /// - /// The ID of the Subnet in which the load balancer was created. - /// - public readonly ImmutableArray Subnets; - /// - /// The ID of the Subregion in which the load balancer was created. - /// - public readonly ImmutableArray SubregionNames; - /// - /// One or more tags associated with the load balancer. - /// - public readonly ImmutableArray Tags; - - [OutputConstructor] - private GetLoadBalancerResult( - ImmutableArray accessLogs, - - ImmutableArray applicationStickyCookiePolicies, - - ImmutableArray backendVmIds, - - string dnsName, - - ImmutableArray filters, - - ImmutableArray healthChecks, - - string id, - - ImmutableArray listeners, - - string loadBalancerName, - - ImmutableArray loadBalancerStickyCookiePolicies, - - string loadBalancerType, - - string netId, - - string publicIp, - - string requestId, - - bool securedCookies, - - ImmutableArray securityGroups, - - ImmutableArray sourceSecurityGroups, - - ImmutableArray subnets, - - ImmutableArray subregionNames, - - ImmutableArray tags) - { - AccessLogs = accessLogs; - ApplicationStickyCookiePolicies = applicationStickyCookiePolicies; - BackendVmIds = backendVmIds; - DnsName = dnsName; - Filters = filters; - HealthChecks = healthChecks; - Id = id; - Listeners = listeners; - LoadBalancerName = loadBalancerName; - LoadBalancerStickyCookiePolicies = loadBalancerStickyCookiePolicies; - LoadBalancerType = loadBalancerType; - NetId = netId; - PublicIp = publicIp; - RequestId = requestId; - SecuredCookies = securedCookies; - SecurityGroups = securityGroups; - SourceSecurityGroups = sourceSecurityGroups; - Subnets = subnets; - SubregionNames = subregionNames; - Tags = tags; - } - } -} diff --git a/sdk/dotnet/GetLoadBalancerTags.cs b/sdk/dotnet/GetLoadBalancerTags.cs deleted file mode 100644 index dbe602a..0000000 --- a/sdk/dotnet/GetLoadBalancerTags.cs +++ /dev/null @@ -1,102 +0,0 @@ -// *** 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.Outscale -{ - public static class GetLoadBalancerTags - { - public static Task InvokeAsync(GetLoadBalancerTagsArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getLoadBalancerTags:getLoadBalancerTags", args ?? new GetLoadBalancerTagsArgs(), options.WithDefaults()); - - public static Output Invoke(GetLoadBalancerTagsInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getLoadBalancerTags:getLoadBalancerTags", args ?? new GetLoadBalancerTagsInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetLoadBalancerTagsArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - [Input("loadBalancerNames")] - private List? _loadBalancerNames; - public List LoadBalancerNames - { - get => _loadBalancerNames ?? (_loadBalancerNames = new List()); - set => _loadBalancerNames = value; - } - - public GetLoadBalancerTagsArgs() - { - } - public static new GetLoadBalancerTagsArgs Empty => new GetLoadBalancerTagsArgs(); - } - - public sealed class GetLoadBalancerTagsInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - [Input("loadBalancerNames")] - private InputList? _loadBalancerNames; - public InputList LoadBalancerNames - { - get => _loadBalancerNames ?? (_loadBalancerNames = new InputList()); - set => _loadBalancerNames = value; - } - - public GetLoadBalancerTagsInvokeArgs() - { - } - public static new GetLoadBalancerTagsInvokeArgs Empty => new GetLoadBalancerTagsInvokeArgs(); - } - - - [OutputType] - public sealed class GetLoadBalancerTagsResult - { - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - public readonly ImmutableArray LoadBalancerNames; - public readonly string RequestId; - public readonly ImmutableArray Tags; - - [OutputConstructor] - private GetLoadBalancerTagsResult( - ImmutableArray filters, - - string id, - - ImmutableArray loadBalancerNames, - - string requestId, - - ImmutableArray tags) - { - Filters = filters; - Id = id; - LoadBalancerNames = loadBalancerNames; - RequestId = requestId; - Tags = tags; - } - } -} diff --git a/sdk/dotnet/GetLoadBalancerVmHealth.cs b/sdk/dotnet/GetLoadBalancerVmHealth.cs deleted file mode 100644 index e26ec7a..0000000 --- a/sdk/dotnet/GetLoadBalancerVmHealth.cs +++ /dev/null @@ -1,195 +0,0 @@ -// *** 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.Outscale -{ - public static class GetLoadBalancerVmHealth - { - /// - /// Provides information about the health of one or more back-end VMs registered with a specific load balancer. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Load-Balancers.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readvmshealth). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var loadBalancerVmHealth01 = Outscale.GetLoadBalancerVmHealth.Invoke(new() - /// { - /// BackendVmIds = new[] - /// { - /// "i-12345678", - /// "i-87654321", - /// }, - /// LoadBalancerName = "load_balancer01", - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetLoadBalancerVmHealthArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getLoadBalancerVmHealth:getLoadBalancerVmHealth", args ?? new GetLoadBalancerVmHealthArgs(), options.WithDefaults()); - - /// - /// Provides information about the health of one or more back-end VMs registered with a specific load balancer. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Load-Balancers.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readvmshealth). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var loadBalancerVmHealth01 = Outscale.GetLoadBalancerVmHealth.Invoke(new() - /// { - /// BackendVmIds = new[] - /// { - /// "i-12345678", - /// "i-87654321", - /// }, - /// LoadBalancerName = "load_balancer01", - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetLoadBalancerVmHealthInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getLoadBalancerVmHealth:getLoadBalancerVmHealth", args ?? new GetLoadBalancerVmHealthInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetLoadBalancerVmHealthArgs : global::Pulumi.InvokeArgs - { - [Input("backendVmIds")] - private List? _backendVmIds; - - /// - /// One or more IDs of back-end VMs. - /// - public List BackendVmIds - { - get => _backendVmIds ?? (_backendVmIds = new List()); - set => _backendVmIds = value; - } - - [Input("filters")] - private List? _filters; - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - /// - /// The name of the load balancer. - /// - [Input("loadBalancerName", required: true)] - public string LoadBalancerName { get; set; } = null!; - - public GetLoadBalancerVmHealthArgs() - { - } - public static new GetLoadBalancerVmHealthArgs Empty => new GetLoadBalancerVmHealthArgs(); - } - - public sealed class GetLoadBalancerVmHealthInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("backendVmIds")] - private InputList? _backendVmIds; - - /// - /// One or more IDs of back-end VMs. - /// - public InputList BackendVmIds - { - get => _backendVmIds ?? (_backendVmIds = new InputList()); - set => _backendVmIds = value; - } - - [Input("filters")] - private InputList? _filters; - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - /// - /// The name of the load balancer. - /// - [Input("loadBalancerName", required: true)] - public Input LoadBalancerName { get; set; } = null!; - - public GetLoadBalancerVmHealthInvokeArgs() - { - } - public static new GetLoadBalancerVmHealthInvokeArgs Empty => new GetLoadBalancerVmHealthInvokeArgs(); - } - - - [OutputType] - public sealed class GetLoadBalancerVmHealthResult - { - /// - /// Information about the health of one or more back-end VMs. - /// - public readonly ImmutableArray BackendVmHealths; - public readonly ImmutableArray BackendVmIds; - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - public readonly string LoadBalancerName; - public readonly string RequestId; - - [OutputConstructor] - private GetLoadBalancerVmHealthResult( - ImmutableArray backendVmHealths, - - ImmutableArray backendVmIds, - - ImmutableArray filters, - - string id, - - string loadBalancerName, - - string requestId) - { - BackendVmHealths = backendVmHealths; - BackendVmIds = backendVmIds; - Filters = filters; - Id = id; - LoadBalancerName = loadBalancerName; - RequestId = requestId; - } - } -} diff --git a/sdk/dotnet/GetLoadBalancers.cs b/sdk/dotnet/GetLoadBalancers.cs deleted file mode 100644 index a10c770..0000000 --- a/sdk/dotnet/GetLoadBalancers.cs +++ /dev/null @@ -1,199 +0,0 @@ -// *** 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.Outscale -{ - public static class GetLoadBalancers - { - /// - /// Provides information about load balancers. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Load-Balancers.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-loadbalancer). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var loadBalancers01 = Outscale.GetLoadBalancers.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetLoadBalancersFilterInputArgs - /// { - /// Name = "load_balancer_names", - /// Values = new[] - /// { - /// "load_balancer01", - /// "load_balancer02", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetLoadBalancersArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getLoadBalancers:getLoadBalancers", args ?? new GetLoadBalancersArgs(), options.WithDefaults()); - - /// - /// Provides information about load balancers. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Load-Balancers.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-loadbalancer). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var loadBalancers01 = Outscale.GetLoadBalancers.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetLoadBalancersFilterInputArgs - /// { - /// Name = "load_balancer_names", - /// Values = new[] - /// { - /// "load_balancer01", - /// "load_balancer02", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetLoadBalancersInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getLoadBalancers:getLoadBalancers", args ?? new GetLoadBalancersInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetLoadBalancersArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - [Input("loadBalancerNames")] - private List? _loadBalancerNames; - - /// - /// The name of the load balancer. - /// - public List LoadBalancerNames - { - get => _loadBalancerNames ?? (_loadBalancerNames = new List()); - set => _loadBalancerNames = value; - } - - public GetLoadBalancersArgs() - { - } - public static new GetLoadBalancersArgs Empty => new GetLoadBalancersArgs(); - } - - public sealed class GetLoadBalancersInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - [Input("loadBalancerNames")] - private InputList? _loadBalancerNames; - - /// - /// The name of the load balancer. - /// - public InputList LoadBalancerNames - { - get => _loadBalancerNames ?? (_loadBalancerNames = new InputList()); - set => _loadBalancerNames = value; - } - - public GetLoadBalancersInvokeArgs() - { - } - public static new GetLoadBalancersInvokeArgs Empty => new GetLoadBalancersInvokeArgs(); - } - - - [OutputType] - public sealed class GetLoadBalancersResult - { - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// The name of the load balancer. - /// - public readonly ImmutableArray LoadBalancerNames; - public readonly ImmutableArray LoadBalancers; - public readonly string RequestId; - - [OutputConstructor] - private GetLoadBalancersResult( - ImmutableArray filters, - - string id, - - ImmutableArray loadBalancerNames, - - ImmutableArray loadBalancers, - - string requestId) - { - Filters = filters; - Id = id; - LoadBalancerNames = loadBalancerNames; - LoadBalancers = loadBalancers; - RequestId = requestId; - } - } -} diff --git a/sdk/dotnet/GetNatService.cs b/sdk/dotnet/GetNatService.cs deleted file mode 100644 index 38b40c4..0000000 --- a/sdk/dotnet/GetNatService.cs +++ /dev/null @@ -1,216 +0,0 @@ -// *** 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.Outscale -{ - public static class GetNatService - { - /// - /// Provides information about a NAT service. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-NAT-Gateways.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-natservice). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var natService01 = Outscale.GetNatService.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetNatServiceFilterInputArgs - /// { - /// Name = "nat_service_ids", - /// Values = new[] - /// { - /// "nat-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetNatServiceArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getNatService:getNatService", args ?? new GetNatServiceArgs(), options.WithDefaults()); - - /// - /// Provides information about a NAT service. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-NAT-Gateways.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-natservice). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var natService01 = Outscale.GetNatService.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetNatServiceFilterInputArgs - /// { - /// Name = "nat_service_ids", - /// Values = new[] - /// { - /// "nat-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetNatServiceInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getNatService:getNatService", args ?? new GetNatServiceInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetNatServiceArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - /// - /// The ID of the NAT service. - /// - [Input("natServiceId")] - public string? NatServiceId { get; set; } - - public GetNatServiceArgs() - { - } - public static new GetNatServiceArgs Empty => new GetNatServiceArgs(); - } - - public sealed class GetNatServiceInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - /// - /// The ID of the NAT service. - /// - [Input("natServiceId")] - public Input? NatServiceId { get; set; } - - public GetNatServiceInvokeArgs() - { - } - public static new GetNatServiceInvokeArgs Empty => new GetNatServiceInvokeArgs(); - } - - - [OutputType] - public sealed class GetNatServiceResult - { - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// The ID of the NAT service. - /// - public readonly string? NatServiceId; - /// - /// The ID of the Net in which the NAT service is. - /// - public readonly string NetId; - /// - /// Information about the public IP or IPs associated with the NAT service. - /// - public readonly ImmutableArray PublicIps; - public readonly string RequestId; - /// - /// The state of the NAT service (`pending` \| `available` \| `deleting` \| `deleted`). - /// - public readonly string State; - /// - /// The ID of the Subnet in which the NAT service is. - /// - public readonly string SubnetId; - /// - /// One or more tags associated with the NAT service. - /// - public readonly ImmutableArray Tags; - - [OutputConstructor] - private GetNatServiceResult( - ImmutableArray filters, - - string id, - - string? natServiceId, - - string netId, - - ImmutableArray publicIps, - - string requestId, - - string state, - - string subnetId, - - ImmutableArray tags) - { - Filters = filters; - Id = id; - NatServiceId = natServiceId; - NetId = netId; - PublicIps = publicIps; - RequestId = requestId; - State = state; - SubnetId = subnetId; - Tags = tags; - } - } -} diff --git a/sdk/dotnet/GetNatServices.cs b/sdk/dotnet/GetNatServices.cs deleted file mode 100644 index b18fb18..0000000 --- a/sdk/dotnet/GetNatServices.cs +++ /dev/null @@ -1,215 +0,0 @@ -// *** 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.Outscale -{ - public static class GetNatServices - { - /// - /// Provides information about NAT services. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-NAT-Gateways.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-natservice). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var natServices01 = Outscale.GetNatServices.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetNatServicesFilterInputArgs - /// { - /// Name = "net_ids", - /// Values = new[] - /// { - /// "vpc-12345678", - /// "vpc-87654321", - /// }, - /// }, - /// new Outscale.Inputs.GetNatServicesFilterInputArgs - /// { - /// Name = "subnet_ids", - /// Values = new[] - /// { - /// "eu-west-2a", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetNatServicesArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getNatServices:getNatServices", args ?? new GetNatServicesArgs(), options.WithDefaults()); - - /// - /// Provides information about NAT services. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-NAT-Gateways.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-natservice). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var natServices01 = Outscale.GetNatServices.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetNatServicesFilterInputArgs - /// { - /// Name = "net_ids", - /// Values = new[] - /// { - /// "vpc-12345678", - /// "vpc-87654321", - /// }, - /// }, - /// new Outscale.Inputs.GetNatServicesFilterInputArgs - /// { - /// Name = "subnet_ids", - /// Values = new[] - /// { - /// "eu-west-2a", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetNatServicesInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getNatServices:getNatServices", args ?? new GetNatServicesInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetNatServicesArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - [Input("natServiceIds")] - private List? _natServiceIds; - - /// - /// The IDs of the NAT services. - /// - public List NatServiceIds - { - get => _natServiceIds ?? (_natServiceIds = new List()); - set => _natServiceIds = value; - } - - public GetNatServicesArgs() - { - } - public static new GetNatServicesArgs Empty => new GetNatServicesArgs(); - } - - public sealed class GetNatServicesInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - [Input("natServiceIds")] - private InputList? _natServiceIds; - - /// - /// The IDs of the NAT services. - /// - public InputList NatServiceIds - { - get => _natServiceIds ?? (_natServiceIds = new InputList()); - set => _natServiceIds = value; - } - - public GetNatServicesInvokeArgs() - { - } - public static new GetNatServicesInvokeArgs Empty => new GetNatServicesInvokeArgs(); - } - - - [OutputType] - public sealed class GetNatServicesResult - { - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - public readonly ImmutableArray NatServiceIds; - /// - /// Information about one or more NAT services. - /// - public readonly ImmutableArray NatServices; - public readonly string RequestId; - - [OutputConstructor] - private GetNatServicesResult( - ImmutableArray filters, - - string id, - - ImmutableArray natServiceIds, - - ImmutableArray natServices, - - string requestId) - { - Filters = filters; - Id = id; - NatServiceIds = natServiceIds; - NatServices = natServices; - RequestId = requestId; - } - } -} diff --git a/sdk/dotnet/GetNet.cs b/sdk/dotnet/GetNet.cs deleted file mode 100644 index e86dde4..0000000 --- a/sdk/dotnet/GetNet.cs +++ /dev/null @@ -1,216 +0,0 @@ -// *** 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.Outscale -{ - public static class GetNet - { - /// - /// Provides information about a Net. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPCs.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-net). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var net01 = Outscale.GetNet.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetNetFilterInputArgs - /// { - /// Name = "net_ids", - /// Values = new[] - /// { - /// "vpc-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetNetArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getNet:getNet", args ?? new GetNetArgs(), options.WithDefaults()); - - /// - /// Provides information about a Net. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPCs.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-net). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var net01 = Outscale.GetNet.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetNetFilterInputArgs - /// { - /// Name = "net_ids", - /// Values = new[] - /// { - /// "vpc-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetNetInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getNet:getNet", args ?? new GetNetInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetNetArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - /// - /// The ID of the Net. - /// - [Input("netId")] - public string? NetId { get; set; } - - public GetNetArgs() - { - } - public static new GetNetArgs Empty => new GetNetArgs(); - } - - public sealed class GetNetInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - /// - /// The ID of the Net. - /// - [Input("netId")] - public Input? NetId { get; set; } - - public GetNetInvokeArgs() - { - } - public static new GetNetInvokeArgs Empty => new GetNetInvokeArgs(); - } - - - [OutputType] - public sealed class GetNetResult - { - /// - /// The ID of the DHCP options set (or `default` if you want to associate the default one). - /// - public readonly string DhcpOptionsSetId; - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). - /// - public readonly string IpRange; - /// - /// The ID of the Net. - /// - public readonly string NetId; - public readonly string RequestId; - /// - /// The state of the Net (`pending` \| `available` \| `deleted`). - /// - public readonly string State; - /// - /// One or more tags associated with the Net. - /// - public readonly ImmutableArray Tags; - /// - /// The VM tenancy in a Net. - /// - public readonly string Tenancy; - - [OutputConstructor] - private GetNetResult( - string dhcpOptionsSetId, - - ImmutableArray filters, - - string id, - - string ipRange, - - string netId, - - string requestId, - - string state, - - ImmutableArray tags, - - string tenancy) - { - DhcpOptionsSetId = dhcpOptionsSetId; - Filters = filters; - Id = id; - IpRange = ipRange; - NetId = netId; - RequestId = requestId; - State = state; - Tags = tags; - Tenancy = tenancy; - } - } -} diff --git a/sdk/dotnet/GetNetAccessPoint.cs b/sdk/dotnet/GetNetAccessPoint.cs deleted file mode 100644 index 9d7be63..0000000 --- a/sdk/dotnet/GetNetAccessPoint.cs +++ /dev/null @@ -1,280 +0,0 @@ -// *** 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.Outscale -{ - public static class GetNetAccessPoint - { - /// - /// Provides information about a Net access point. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Endpoints.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netaccesspoint). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// ### List a Net access point - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var netAccessPoint01 = Outscale.GetNetAccessPoint.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetNetAccessPointFilterInputArgs - /// { - /// Name = "net_access_point_ids", - /// Values = new[] - /// { - /// "vpce-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% example %}} - /// ### List a Net access point according to its Net and state - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var netAccessPoint02 = Outscale.GetNetAccessPoint.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetNetAccessPointFilterInputArgs - /// { - /// Name = "net_ids", - /// Values = new[] - /// { - /// "vpc-12345678", - /// }, - /// }, - /// new Outscale.Inputs.GetNetAccessPointFilterInputArgs - /// { - /// Name = "states", - /// Values = new[] - /// { - /// "available", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetNetAccessPointArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getNetAccessPoint:getNetAccessPoint", args ?? new GetNetAccessPointArgs(), options.WithDefaults()); - - /// - /// Provides information about a Net access point. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Endpoints.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netaccesspoint). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// ### List a Net access point - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var netAccessPoint01 = Outscale.GetNetAccessPoint.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetNetAccessPointFilterInputArgs - /// { - /// Name = "net_access_point_ids", - /// Values = new[] - /// { - /// "vpce-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% example %}} - /// ### List a Net access point according to its Net and state - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var netAccessPoint02 = Outscale.GetNetAccessPoint.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetNetAccessPointFilterInputArgs - /// { - /// Name = "net_ids", - /// Values = new[] - /// { - /// "vpc-12345678", - /// }, - /// }, - /// new Outscale.Inputs.GetNetAccessPointFilterInputArgs - /// { - /// Name = "states", - /// Values = new[] - /// { - /// "available", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetNetAccessPointInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getNetAccessPoint:getNetAccessPoint", args ?? new GetNetAccessPointInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetNetAccessPointArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - public GetNetAccessPointArgs() - { - } - public static new GetNetAccessPointArgs Empty => new GetNetAccessPointArgs(); - } - - public sealed class GetNetAccessPointInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - public GetNetAccessPointInvokeArgs() - { - } - public static new GetNetAccessPointInvokeArgs Empty => new GetNetAccessPointInvokeArgs(); - } - - - [OutputType] - public sealed class GetNetAccessPointResult - { - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// The ID of the Net access point. - /// - public readonly string NetAccessPointId; - /// - /// The ID of the Net with which the Net access point is associated. - /// - public readonly string NetId; - public readonly string RequestId; - /// - /// The ID of the route tables associated with the Net access point. - /// - public readonly ImmutableArray RouteTableIds; - /// - /// The name of the service with which the Net access point is associated. - /// - public readonly string ServiceName; - /// - /// The state of the Net access point (`pending` \| `available` \| `deleting` \| `deleted`). - /// - public readonly string State; - /// - /// One or more tags associated with the Net access point. - /// - public readonly ImmutableArray Tags; - - [OutputConstructor] - private GetNetAccessPointResult( - ImmutableArray filters, - - string id, - - string netAccessPointId, - - string netId, - - string requestId, - - ImmutableArray routeTableIds, - - string serviceName, - - string state, - - ImmutableArray tags) - { - Filters = filters; - Id = id; - NetAccessPointId = netAccessPointId; - NetId = netId; - RequestId = requestId; - RouteTableIds = routeTableIds; - ServiceName = serviceName; - State = state; - Tags = tags; - } - } -} diff --git a/sdk/dotnet/GetNetAccessPointServices.cs b/sdk/dotnet/GetNetAccessPointServices.cs deleted file mode 100644 index 696c946..0000000 --- a/sdk/dotnet/GetNetAccessPointServices.cs +++ /dev/null @@ -1,263 +0,0 @@ -// *** 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.Outscale -{ - public static class GetNetAccessPointServices - { - /// - /// Provides information about Net access point services. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Endpoints.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netaccesspoint). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// ### List all services available to create Net access points - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var all_services = Outscale.GetNetAccessPointServices.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% example %}} - /// ### List one or more services according to their service IDs - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var services01 = Outscale.GetNetAccessPointServices.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetNetAccessPointServicesFilterInputArgs - /// { - /// Name = "service_ids", - /// Values = new[] - /// { - /// "pl-12345678", - /// "pl-12345679", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% example %}} - /// ### List one or more services according to their service names - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var services02 = Outscale.GetNetAccessPointServices.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetNetAccessPointServicesFilterInputArgs - /// { - /// Name = "service_names", - /// Values = new[] - /// { - /// "com.outscale.eu-west-2.api", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetNetAccessPointServicesArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getNetAccessPointServices:getNetAccessPointServices", args ?? new GetNetAccessPointServicesArgs(), options.WithDefaults()); - - /// - /// Provides information about Net access point services. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Endpoints.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netaccesspoint). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// ### List all services available to create Net access points - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var all_services = Outscale.GetNetAccessPointServices.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% example %}} - /// ### List one or more services according to their service IDs - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var services01 = Outscale.GetNetAccessPointServices.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetNetAccessPointServicesFilterInputArgs - /// { - /// Name = "service_ids", - /// Values = new[] - /// { - /// "pl-12345678", - /// "pl-12345679", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% example %}} - /// ### List one or more services according to their service names - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var services02 = Outscale.GetNetAccessPointServices.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetNetAccessPointServicesFilterInputArgs - /// { - /// Name = "service_names", - /// Values = new[] - /// { - /// "com.outscale.eu-west-2.api", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetNetAccessPointServicesInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getNetAccessPointServices:getNetAccessPointServices", args ?? new GetNetAccessPointServicesInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetNetAccessPointServicesArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - public GetNetAccessPointServicesArgs() - { - } - public static new GetNetAccessPointServicesArgs Empty => new GetNetAccessPointServicesArgs(); - } - - public sealed class GetNetAccessPointServicesInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - public GetNetAccessPointServicesInvokeArgs() - { - } - public static new GetNetAccessPointServicesInvokeArgs Empty => new GetNetAccessPointServicesInvokeArgs(); - } - - - [OutputType] - public sealed class GetNetAccessPointServicesResult - { - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - public readonly string RequestId; - /// - /// The names of the services you can use for Net access points. - /// - public readonly ImmutableArray Services; - - [OutputConstructor] - private GetNetAccessPointServicesResult( - ImmutableArray filters, - - string id, - - string requestId, - - ImmutableArray services) - { - Filters = filters; - Id = id; - RequestId = requestId; - Services = services; - } - } -} diff --git a/sdk/dotnet/GetNetAccessPoints.cs b/sdk/dotnet/GetNetAccessPoints.cs deleted file mode 100644 index 90d9d79..0000000 --- a/sdk/dotnet/GetNetAccessPoints.cs +++ /dev/null @@ -1,247 +0,0 @@ -// *** 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.Outscale -{ - public static class GetNetAccessPoints - { - /// - /// Provides information about Net access points. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Endpoints.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netaccesspoint). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// ### List Net access points - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var netAccessPoints01 = Outscale.GetNetAccessPoints.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetNetAccessPointsFilterInputArgs - /// { - /// Name = "net_access_point_ids", - /// Values = new[] - /// { - /// "vpce-12345678", - /// "vpce-12345679", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% example %}} - /// ### List Net access points according to their Net and state - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var netAccessPoints02 = Outscale.GetNetAccessPoints.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetNetAccessPointsFilterInputArgs - /// { - /// Name = "net_ids", - /// Values = new[] - /// { - /// "vpc-12345678", - /// }, - /// }, - /// new Outscale.Inputs.GetNetAccessPointsFilterInputArgs - /// { - /// Name = "states", - /// Values = new[] - /// { - /// "available", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetNetAccessPointsArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getNetAccessPoints:getNetAccessPoints", args ?? new GetNetAccessPointsArgs(), options.WithDefaults()); - - /// - /// Provides information about Net access points. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Endpoints.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netaccesspoint). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// ### List Net access points - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var netAccessPoints01 = Outscale.GetNetAccessPoints.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetNetAccessPointsFilterInputArgs - /// { - /// Name = "net_access_point_ids", - /// Values = new[] - /// { - /// "vpce-12345678", - /// "vpce-12345679", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% example %}} - /// ### List Net access points according to their Net and state - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var netAccessPoints02 = Outscale.GetNetAccessPoints.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetNetAccessPointsFilterInputArgs - /// { - /// Name = "net_ids", - /// Values = new[] - /// { - /// "vpc-12345678", - /// }, - /// }, - /// new Outscale.Inputs.GetNetAccessPointsFilterInputArgs - /// { - /// Name = "states", - /// Values = new[] - /// { - /// "available", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetNetAccessPointsInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getNetAccessPoints:getNetAccessPoints", args ?? new GetNetAccessPointsInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetNetAccessPointsArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - public GetNetAccessPointsArgs() - { - } - public static new GetNetAccessPointsArgs Empty => new GetNetAccessPointsArgs(); - } - - public sealed class GetNetAccessPointsInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - public GetNetAccessPointsInvokeArgs() - { - } - public static new GetNetAccessPointsInvokeArgs Empty => new GetNetAccessPointsInvokeArgs(); - } - - - [OutputType] - public sealed class GetNetAccessPointsResult - { - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// One or more Net access points. - /// - public readonly ImmutableArray NetAccessPoints; - public readonly string RequestId; - - [OutputConstructor] - private GetNetAccessPointsResult( - ImmutableArray filters, - - string id, - - ImmutableArray netAccessPoints, - - string requestId) - { - Filters = filters; - Id = id; - NetAccessPoints = netAccessPoints; - RequestId = requestId; - } - } -} diff --git a/sdk/dotnet/GetNetAttributes.cs b/sdk/dotnet/GetNetAttributes.cs deleted file mode 100644 index 83fb22b..0000000 --- a/sdk/dotnet/GetNetAttributes.cs +++ /dev/null @@ -1,168 +0,0 @@ -// *** 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.Outscale -{ - public static class GetNetAttributes - { - /// - /// Provides information about the attributes of a Net. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-DHCP-Options.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#updatenet). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var netAttributes01 = Outscale.GetNetAttributes.Invoke(new() - /// { - /// NetId = "vpc-12345678", - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetNetAttributesArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getNetAttributes:getNetAttributes", args ?? new GetNetAttributesArgs(), options.WithDefaults()); - - /// - /// Provides information about the attributes of a Net. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-DHCP-Options.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#updatenet). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var netAttributes01 = Outscale.GetNetAttributes.Invoke(new() - /// { - /// NetId = "vpc-12345678", - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetNetAttributesInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getNetAttributes:getNetAttributes", args ?? new GetNetAttributesInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetNetAttributesArgs : global::Pulumi.InvokeArgs - { - /// - /// The ID of the Net. - /// - [Input("netId", required: true)] - public string NetId { get; set; } = null!; - - public GetNetAttributesArgs() - { - } - public static new GetNetAttributesArgs Empty => new GetNetAttributesArgs(); - } - - public sealed class GetNetAttributesInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// The ID of the Net. - /// - [Input("netId", required: true)] - public Input NetId { get; set; } = null!; - - public GetNetAttributesInvokeArgs() - { - } - public static new GetNetAttributesInvokeArgs Empty => new GetNetAttributesInvokeArgs(); - } - - - [OutputType] - public sealed class GetNetAttributesResult - { - /// - /// The ID of the DHCP options set (or `default` if you want to associate the default one). - /// - public readonly string DhcpOptionsSetId; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). - /// - public readonly string IpRange; - /// - /// The ID of the Net. - /// - public readonly string NetId; - public readonly string RequestId; - /// - /// The state of the Net (`pending` \| `available` \| `deleted`). - /// - public readonly string State; - /// - /// One or more tags associated with the Net. - /// - public readonly ImmutableArray Tags; - /// - /// The VM tenancy in a Net. - /// - public readonly string Tenancy; - - [OutputConstructor] - private GetNetAttributesResult( - string dhcpOptionsSetId, - - string id, - - string ipRange, - - string netId, - - string requestId, - - string state, - - ImmutableArray tags, - - string tenancy) - { - DhcpOptionsSetId = dhcpOptionsSetId; - Id = id; - IpRange = ipRange; - NetId = netId; - RequestId = requestId; - State = state; - Tags = tags; - Tenancy = tenancy; - } - } -} diff --git a/sdk/dotnet/GetNetPeering.cs b/sdk/dotnet/GetNetPeering.cs deleted file mode 100644 index b878f19..0000000 --- a/sdk/dotnet/GetNetPeering.cs +++ /dev/null @@ -1,197 +0,0 @@ -// *** 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.Outscale -{ - public static class GetNetPeering - { - /// - /// Provides information about a Net peering. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Peering-Connections.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netpeering). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var netPeering01 = Outscale.GetNetPeering.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetNetPeeringFilterInputArgs - /// { - /// Name = "net_peering_ids", - /// Values = new[] - /// { - /// "pcx-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetNetPeeringArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getNetPeering:getNetPeering", args ?? new GetNetPeeringArgs(), options.WithDefaults()); - - /// - /// Provides information about a Net peering. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Peering-Connections.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netpeering). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var netPeering01 = Outscale.GetNetPeering.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetNetPeeringFilterInputArgs - /// { - /// Name = "net_peering_ids", - /// Values = new[] - /// { - /// "pcx-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetNetPeeringInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getNetPeering:getNetPeering", args ?? new GetNetPeeringInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetNetPeeringArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - public GetNetPeeringArgs() - { - } - public static new GetNetPeeringArgs Empty => new GetNetPeeringArgs(); - } - - public sealed class GetNetPeeringInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - public GetNetPeeringInvokeArgs() - { - } - public static new GetNetPeeringInvokeArgs Empty => new GetNetPeeringInvokeArgs(); - } - - - [OutputType] - public sealed class GetNetPeeringResult - { - /// - /// Information about the accepter Net. - /// - public readonly ImmutableArray AccepterNets; - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// The ID of the Net peering. - /// - public readonly string NetPeeringId; - public readonly string RequestId; - /// - /// Information about the source Net. - /// - public readonly ImmutableArray SourceNets; - /// - /// Information about the state of the Net peering. - /// - public readonly ImmutableArray States; - /// - /// One or more tags associated with the Net peering. - /// - public readonly ImmutableArray Tags; - - [OutputConstructor] - private GetNetPeeringResult( - ImmutableArray accepterNets, - - ImmutableArray filters, - - string id, - - string netPeeringId, - - string requestId, - - ImmutableArray sourceNets, - - ImmutableArray states, - - ImmutableArray tags) - { - AccepterNets = accepterNets; - Filters = filters; - Id = id; - NetPeeringId = netPeeringId; - RequestId = requestId; - SourceNets = sourceNets; - States = states; - Tags = tags; - } - } -} diff --git a/sdk/dotnet/GetNetPeerings.cs b/sdk/dotnet/GetNetPeerings.cs deleted file mode 100644 index f627d04..0000000 --- a/sdk/dotnet/GetNetPeerings.cs +++ /dev/null @@ -1,187 +0,0 @@ -// *** 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.Outscale -{ - public static class GetNetPeerings - { - /// - /// Provides information about Net peerings. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Peering-Connections.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netpeering). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var netPeerings01 = Outscale.GetNetPeerings.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetNetPeeringsFilterInputArgs - /// { - /// Name = "source_net_net_ids", - /// Values = new[] - /// { - /// "vpc-12345678", - /// }, - /// }, - /// new Outscale.Inputs.GetNetPeeringsFilterInputArgs - /// { - /// Name = "state_names", - /// Values = new[] - /// { - /// "active", - /// "pending-acceptance", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetNetPeeringsArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getNetPeerings:getNetPeerings", args ?? new GetNetPeeringsArgs(), options.WithDefaults()); - - /// - /// Provides information about Net peerings. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Peering-Connections.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netpeering). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var netPeerings01 = Outscale.GetNetPeerings.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetNetPeeringsFilterInputArgs - /// { - /// Name = "source_net_net_ids", - /// Values = new[] - /// { - /// "vpc-12345678", - /// }, - /// }, - /// new Outscale.Inputs.GetNetPeeringsFilterInputArgs - /// { - /// Name = "state_names", - /// Values = new[] - /// { - /// "active", - /// "pending-acceptance", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetNetPeeringsInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getNetPeerings:getNetPeerings", args ?? new GetNetPeeringsInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetNetPeeringsArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - public GetNetPeeringsArgs() - { - } - public static new GetNetPeeringsArgs Empty => new GetNetPeeringsArgs(); - } - - public sealed class GetNetPeeringsInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - public GetNetPeeringsInvokeArgs() - { - } - public static new GetNetPeeringsInvokeArgs Empty => new GetNetPeeringsInvokeArgs(); - } - - - [OutputType] - public sealed class GetNetPeeringsResult - { - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// Information about one or more Net peerings. - /// - public readonly ImmutableArray NetPeerings; - public readonly string RequestId; - - [OutputConstructor] - private GetNetPeeringsResult( - ImmutableArray filters, - - string id, - - ImmutableArray netPeerings, - - string requestId) - { - Filters = filters; - Id = id; - NetPeerings = netPeerings; - RequestId = requestId; - } - } -} diff --git a/sdk/dotnet/GetNets.cs b/sdk/dotnet/GetNets.cs deleted file mode 100644 index f5271f6..0000000 --- a/sdk/dotnet/GetNets.cs +++ /dev/null @@ -1,218 +0,0 @@ -// *** 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.Outscale -{ - public static class GetNets - { - /// - /// Provides information about Nets. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPCs.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-net). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var nets01 = Outscale.GetNets.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetNetsFilterInputArgs - /// { - /// Name = "net_ids", - /// Values = new[] - /// { - /// "vpc-12345678", - /// "vpc-87654321", - /// }, - /// }, - /// new Outscale.Inputs.GetNetsFilterInputArgs - /// { - /// Name = "ip_ranges", - /// Values = new[] - /// { - /// "10.0.0.0/16", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetNetsArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getNets:getNets", args ?? new GetNetsArgs(), options.WithDefaults()); - - /// - /// Provides information about Nets. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPCs.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-net). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var nets01 = Outscale.GetNets.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetNetsFilterInputArgs - /// { - /// Name = "net_ids", - /// Values = new[] - /// { - /// "vpc-12345678", - /// "vpc-87654321", - /// }, - /// }, - /// new Outscale.Inputs.GetNetsFilterInputArgs - /// { - /// Name = "ip_ranges", - /// Values = new[] - /// { - /// "10.0.0.0/16", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetNetsInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getNets:getNets", args ?? new GetNetsInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetNetsArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - [Input("netIds")] - private List? _netIds; - - /// - /// The ID of the Net. - /// - public List NetIds - { - get => _netIds ?? (_netIds = new List()); - set => _netIds = value; - } - - public GetNetsArgs() - { - } - public static new GetNetsArgs Empty => new GetNetsArgs(); - } - - public sealed class GetNetsInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - [Input("netIds")] - private InputList? _netIds; - - /// - /// The ID of the Net. - /// - public InputList NetIds - { - get => _netIds ?? (_netIds = new InputList()); - set => _netIds = value; - } - - public GetNetsInvokeArgs() - { - } - public static new GetNetsInvokeArgs Empty => new GetNetsInvokeArgs(); - } - - - [OutputType] - public sealed class GetNetsResult - { - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// The ID of the Net. - /// - public readonly ImmutableArray NetIds; - /// - /// Information about the described Nets. - /// - public readonly ImmutableArray Nets; - public readonly string RequestId; - - [OutputConstructor] - private GetNetsResult( - ImmutableArray filters, - - string id, - - ImmutableArray netIds, - - ImmutableArray nets, - - string requestId) - { - Filters = filters; - Id = id; - NetIds = netIds; - Nets = nets; - RequestId = requestId; - } - } -} diff --git a/sdk/dotnet/GetNic.cs b/sdk/dotnet/GetNic.cs deleted file mode 100644 index 5635841..0000000 --- a/sdk/dotnet/GetNic.cs +++ /dev/null @@ -1,285 +0,0 @@ -// *** 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.Outscale -{ - public static class GetNic - { - /// - /// Provides information about a network interface card (NIC). - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-FNIs.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-nic). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var nic01 = Outscale.GetNic.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetNicFilterInputArgs - /// { - /// Name = "nic_ids", - /// Values = new[] - /// { - /// "eni-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetNicArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getNic:getNic", args ?? new GetNicArgs(), options.WithDefaults()); - - /// - /// Provides information about a network interface card (NIC). - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-FNIs.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-nic). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var nic01 = Outscale.GetNic.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetNicFilterInputArgs - /// { - /// Name = "nic_ids", - /// Values = new[] - /// { - /// "eni-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetNicInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getNic:getNic", args ?? new GetNicInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetNicArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - public GetNicArgs() - { - } - public static new GetNicArgs Empty => new GetNicArgs(); - } - - public sealed class GetNicInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - public GetNicInvokeArgs() - { - } - public static new GetNicInvokeArgs Empty => new GetNicInvokeArgs(); - } - - - [OutputType] - public sealed class GetNicResult - { - /// - /// The account ID of the owner of the NIC. - /// - public readonly string AccountId; - /// - /// The description of the NIC. - /// - public readonly string Description; - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - /// - public readonly bool IsSourceDestChecked; - /// - /// Information about the NIC attachment. - /// - public readonly ImmutableArray LinkNics; - /// - /// Information about the public IP association. - /// - public readonly ImmutableArray LinkPublicIps; - /// - /// The Media Access Control (MAC) address of the NIC. - /// - public readonly string MacAddress; - /// - /// The ID of the Net for the NIC. - /// - public readonly string NetId; - /// - /// The ID of the NIC. - /// - public readonly string NicId; - /// - /// The name of the private DNS. - /// - public readonly string PrivateDnsName; - /// - /// The private IP of the NIC. - /// - public readonly string PrivateIp; - /// - /// The private IPs of the NIC. - /// - public readonly ImmutableArray PrivateIps; - public readonly string RequestId; - public readonly bool RequesterManaged; - /// - /// The ID of the security group. - /// - public readonly ImmutableArray SecurityGroupIds; - /// - /// One or more IDs of security groups for the NIC. - /// - public readonly ImmutableArray SecurityGroups; - /// - /// The state of the NIC (`available` \| `attaching` \| `in-use` \| `detaching`). - /// - public readonly string State; - /// - /// The ID of the Subnet. - /// - public readonly string SubnetId; - /// - /// The Subregion in which the NIC is located. - /// - public readonly string SubregionName; - /// - /// One or more tags associated with the NIC. - /// - public readonly ImmutableArray Tags; - - [OutputConstructor] - private GetNicResult( - string accountId, - - string description, - - ImmutableArray filters, - - string id, - - bool isSourceDestChecked, - - ImmutableArray linkNics, - - ImmutableArray linkPublicIps, - - string macAddress, - - string netId, - - string nicId, - - string privateDnsName, - - string privateIp, - - ImmutableArray privateIps, - - string requestId, - - bool requesterManaged, - - ImmutableArray securityGroupIds, - - ImmutableArray securityGroups, - - string state, - - string subnetId, - - string subregionName, - - ImmutableArray tags) - { - AccountId = accountId; - Description = description; - Filters = filters; - Id = id; - IsSourceDestChecked = isSourceDestChecked; - LinkNics = linkNics; - LinkPublicIps = linkPublicIps; - MacAddress = macAddress; - NetId = netId; - NicId = nicId; - PrivateDnsName = privateDnsName; - PrivateIp = privateIp; - PrivateIps = privateIps; - RequestId = requestId; - RequesterManaged = requesterManaged; - SecurityGroupIds = securityGroupIds; - SecurityGroups = securityGroups; - State = state; - SubnetId = subnetId; - SubregionName = subregionName; - Tags = tags; - } - } -} diff --git a/sdk/dotnet/GetNics.cs b/sdk/dotnet/GetNics.cs deleted file mode 100644 index 97a3b8f..0000000 --- a/sdk/dotnet/GetNics.cs +++ /dev/null @@ -1,187 +0,0 @@ -// *** 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.Outscale -{ - public static class GetNics - { - /// - /// Provides information about network interface cards (NICs). - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-FNIs.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-nic). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var nics01 = Outscale.GetNics.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetNicsFilterInputArgs - /// { - /// Name = "nic_ids", - /// Values = new[] - /// { - /// "eni-12345678", - /// "eni-87654321", - /// }, - /// }, - /// new Outscale.Inputs.GetNicsFilterInputArgs - /// { - /// Name = "link_nic_vm_ids", - /// Values = new[] - /// { - /// "i-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetNicsArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getNics:getNics", args ?? new GetNicsArgs(), options.WithDefaults()); - - /// - /// Provides information about network interface cards (NICs). - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-FNIs.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-nic). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var nics01 = Outscale.GetNics.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetNicsFilterInputArgs - /// { - /// Name = "nic_ids", - /// Values = new[] - /// { - /// "eni-12345678", - /// "eni-87654321", - /// }, - /// }, - /// new Outscale.Inputs.GetNicsFilterInputArgs - /// { - /// Name = "link_nic_vm_ids", - /// Values = new[] - /// { - /// "i-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetNicsInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getNics:getNics", args ?? new GetNicsInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetNicsArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - public GetNicsArgs() - { - } - public static new GetNicsArgs Empty => new GetNicsArgs(); - } - - public sealed class GetNicsInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - public GetNicsInvokeArgs() - { - } - public static new GetNicsInvokeArgs Empty => new GetNicsInvokeArgs(); - } - - - [OutputType] - public sealed class GetNicsResult - { - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// Information about one or more NICs. - /// - public readonly ImmutableArray Nics; - public readonly string RequestId; - - [OutputConstructor] - private GetNicsResult( - ImmutableArray filters, - - string id, - - ImmutableArray nics, - - string requestId) - { - Filters = filters; - Id = id; - Nics = nics; - RequestId = requestId; - } - } -} diff --git a/sdk/dotnet/GetProductType.cs b/sdk/dotnet/GetProductType.cs deleted file mode 100644 index c42abd6..0000000 --- a/sdk/dotnet/GetProductType.cs +++ /dev/null @@ -1,183 +0,0 @@ -// *** 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.Outscale -{ - public static class GetProductType - { - /// - /// Provides information about a product type. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/Software-Licenses.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-producttype). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var productType01 = Outscale.GetProductType.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetProductTypeFilterInputArgs - /// { - /// Name = "product_type_ids", - /// Values = new[] - /// { - /// "0001", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetProductTypeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getProductType:getProductType", args ?? new GetProductTypeArgs(), options.WithDefaults()); - - /// - /// Provides information about a product type. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/Software-Licenses.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-producttype). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var productType01 = Outscale.GetProductType.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetProductTypeFilterInputArgs - /// { - /// Name = "product_type_ids", - /// Values = new[] - /// { - /// "0001", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetProductTypeInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getProductType:getProductType", args ?? new GetProductTypeInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetProductTypeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - public GetProductTypeArgs() - { - } - public static new GetProductTypeArgs Empty => new GetProductTypeArgs(); - } - - public sealed class GetProductTypeInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - public GetProductTypeInvokeArgs() - { - } - public static new GetProductTypeInvokeArgs Empty => new GetProductTypeInvokeArgs(); - } - - - [OutputType] - public sealed class GetProductTypeResult - { - /// - /// The description of the product type. - /// - public readonly string Description; - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// The ID of the product type. - /// - public readonly string ProductTypeId; - public readonly string RequestId; - /// - /// The vendor of the product type. - /// - public readonly string Vendor; - - [OutputConstructor] - private GetProductTypeResult( - string description, - - ImmutableArray filters, - - string id, - - string productTypeId, - - string requestId, - - string vendor) - { - Description = description; - Filters = filters; - Id = id; - ProductTypeId = productTypeId; - RequestId = requestId; - Vendor = vendor; - } - } -} diff --git a/sdk/dotnet/GetProductTypes.cs b/sdk/dotnet/GetProductTypes.cs deleted file mode 100644 index 7ed6000..0000000 --- a/sdk/dotnet/GetProductTypes.cs +++ /dev/null @@ -1,201 +0,0 @@ -// *** 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.Outscale -{ - public static class GetProductTypes - { - /// - /// Provides information about product types. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/Software-Licenses.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-producttype). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// ### Read specific product types - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var productTypes01 = Outscale.GetProductTypes.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetProductTypesFilterInputArgs - /// { - /// Name = "product_type_ids", - /// Values = new[] - /// { - /// "0001", - /// "0002", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% example %}} - /// ### Read all product types - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var allProductTypes = Outscale.GetProductTypes.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetProductTypesArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getProductTypes:getProductTypes", args ?? new GetProductTypesArgs(), options.WithDefaults()); - - /// - /// Provides information about product types. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/Software-Licenses.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-producttype). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// ### Read specific product types - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var productTypes01 = Outscale.GetProductTypes.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetProductTypesFilterInputArgs - /// { - /// Name = "product_type_ids", - /// Values = new[] - /// { - /// "0001", - /// "0002", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% example %}} - /// ### Read all product types - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var allProductTypes = Outscale.GetProductTypes.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetProductTypesInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getProductTypes:getProductTypes", args ?? new GetProductTypesInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetProductTypesArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - public GetProductTypesArgs() - { - } - public static new GetProductTypesArgs Empty => new GetProductTypesArgs(); - } - - public sealed class GetProductTypesInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - public GetProductTypesInvokeArgs() - { - } - public static new GetProductTypesInvokeArgs Empty => new GetProductTypesInvokeArgs(); - } - - - [OutputType] - public sealed class GetProductTypesResult - { - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// Information about one or more product types. - /// - public readonly ImmutableArray ProductTypes; - public readonly string RequestId; - - [OutputConstructor] - private GetProductTypesResult( - ImmutableArray filters, - - string id, - - ImmutableArray productTypes, - - string requestId) - { - Filters = filters; - Id = id; - ProductTypes = productTypes; - RequestId = requestId; - } - } -} diff --git a/sdk/dotnet/GetPublicIp.cs b/sdk/dotnet/GetPublicIp.cs deleted file mode 100644 index 5243b36..0000000 --- a/sdk/dotnet/GetPublicIp.cs +++ /dev/null @@ -1,242 +0,0 @@ -// *** 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.Outscale -{ - public static class GetPublicIp - { - /// - /// Provides information about a public IP. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-EIPs.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-publicip). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var publicIp01 = Outscale.GetPublicIp.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetPublicIpFilterInputArgs - /// { - /// Name = "public_ips", - /// Values = new[] - /// { - /// "111.11.111.1", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetPublicIpArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getPublicIp:getPublicIp", args ?? new GetPublicIpArgs(), options.WithDefaults()); - - /// - /// Provides information about a public IP. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-EIPs.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-publicip). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var publicIp01 = Outscale.GetPublicIp.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetPublicIpFilterInputArgs - /// { - /// Name = "public_ips", - /// Values = new[] - /// { - /// "111.11.111.1", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetPublicIpInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getPublicIp:getPublicIp", args ?? new GetPublicIpInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetPublicIpArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - /// - /// The public IP. - /// - [Input("publicIp")] - public string? PublicIp { get; set; } - - /// - /// The allocation ID of the public IP. - /// - [Input("publicIpId")] - public string? PublicIpId { get; set; } - - public GetPublicIpArgs() - { - } - public static new GetPublicIpArgs Empty => new GetPublicIpArgs(); - } - - public sealed class GetPublicIpInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - /// - /// The public IP. - /// - [Input("publicIp")] - public Input? PublicIp { get; set; } - - /// - /// The allocation ID of the public IP. - /// - [Input("publicIpId")] - public Input? PublicIpId { get; set; } - - public GetPublicIpInvokeArgs() - { - } - public static new GetPublicIpInvokeArgs Empty => new GetPublicIpInvokeArgs(); - } - - - [OutputType] - public sealed class GetPublicIpResult - { - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - /// - public readonly string LinkPublicIpId; - /// - /// The account ID of the owner of the NIC. - /// - public readonly string NicAccountId; - /// - /// The ID of the NIC the public IP is associated with (if any). - /// - public readonly string NicId; - /// - /// The private IP associated with the public IP. - /// - public readonly string PrivateIp; - /// - /// The public IP. - /// - public readonly string PublicIp; - /// - /// The allocation ID of the public IP. - /// - public readonly string PublicIpId; - public readonly string RequestId; - /// - /// One or more tags associated with the public IP. - /// - public readonly ImmutableArray Tags; - /// - /// The ID of the VM the public IP is associated with (if any). - /// - public readonly string VmId; - - [OutputConstructor] - private GetPublicIpResult( - ImmutableArray filters, - - string id, - - string linkPublicIpId, - - string nicAccountId, - - string nicId, - - string privateIp, - - string publicIp, - - string publicIpId, - - string requestId, - - ImmutableArray tags, - - string vmId) - { - Filters = filters; - Id = id; - LinkPublicIpId = linkPublicIpId; - NicAccountId = nicAccountId; - NicId = nicId; - PrivateIp = privateIp; - PublicIp = publicIp; - PublicIpId = publicIpId; - RequestId = requestId; - Tags = tags; - VmId = vmId; - } - } -} diff --git a/sdk/dotnet/GetPublicIps.cs b/sdk/dotnet/GetPublicIps.cs deleted file mode 100644 index f0952fc..0000000 --- a/sdk/dotnet/GetPublicIps.cs +++ /dev/null @@ -1,171 +0,0 @@ -// *** 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.Outscale -{ - public static class GetPublicIps - { - /// - /// Provides information about public IPs. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-EIPs.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-publicip). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var publicIps01 = Outscale.GetPublicIps.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetPublicIpsFilterInputArgs - /// { - /// Name = "public_ips", - /// Values = new[] - /// { - /// "111.11.111.1", - /// "222.22.222.2", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetPublicIpsArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getPublicIps:getPublicIps", args ?? new GetPublicIpsArgs(), options.WithDefaults()); - - /// - /// Provides information about public IPs. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-EIPs.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-publicip). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var publicIps01 = Outscale.GetPublicIps.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetPublicIpsFilterInputArgs - /// { - /// Name = "public_ips", - /// Values = new[] - /// { - /// "111.11.111.1", - /// "222.22.222.2", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetPublicIpsInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getPublicIps:getPublicIps", args ?? new GetPublicIpsInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetPublicIpsArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - public GetPublicIpsArgs() - { - } - public static new GetPublicIpsArgs Empty => new GetPublicIpsArgs(); - } - - public sealed class GetPublicIpsInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - public GetPublicIpsInvokeArgs() - { - } - public static new GetPublicIpsInvokeArgs Empty => new GetPublicIpsInvokeArgs(); - } - - - [OutputType] - public sealed class GetPublicIpsResult - { - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// Information about one or more public IPs. - /// - public readonly ImmutableArray PublicIps; - public readonly string RequestId; - - [OutputConstructor] - private GetPublicIpsResult( - ImmutableArray filters, - - string id, - - ImmutableArray publicIps, - - string requestId) - { - Filters = filters; - Id = id; - PublicIps = publicIps; - RequestId = requestId; - } - } -} diff --git a/sdk/dotnet/GetPulicCatalog.cs b/sdk/dotnet/GetPulicCatalog.cs deleted file mode 100644 index ee3fcf9..0000000 --- a/sdk/dotnet/GetPulicCatalog.cs +++ /dev/null @@ -1,45 +0,0 @@ -// *** 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.Outscale -{ - public static class GetPulicCatalog - { - public static Task InvokeAsync(InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getPulicCatalog:getPulicCatalog", InvokeArgs.Empty, options.WithDefaults()); - - public static Output Invoke(InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getPulicCatalog:getPulicCatalog", InvokeArgs.Empty, options.WithDefaults()); - } - - - [OutputType] - public sealed class GetPulicCatalogResult - { - public readonly ImmutableArray Catalogs; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - public readonly string RequestId; - - [OutputConstructor] - private GetPulicCatalogResult( - ImmutableArray catalogs, - - string id, - - string requestId) - { - Catalogs = catalogs; - Id = id; - RequestId = requestId; - } - } -} diff --git a/sdk/dotnet/GetQuota.cs b/sdk/dotnet/GetQuota.cs deleted file mode 100644 index 3d376a3..0000000 --- a/sdk/dotnet/GetQuota.cs +++ /dev/null @@ -1,266 +0,0 @@ -// *** 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.Outscale -{ - public static class GetQuota - { - /// - /// Provides information about a quota. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Your-Account.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readquotas). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var loadBalancerListenersQuota01 = Outscale.GetQuota.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetQuotaFilterInputArgs - /// { - /// Name = "collections", - /// Values = new[] - /// { - /// "LBU", - /// }, - /// }, - /// new Outscale.Inputs.GetQuotaFilterInputArgs - /// { - /// Name = "quota_names", - /// Values = new[] - /// { - /// "lb_listeners_limit", - /// }, - /// }, - /// new Outscale.Inputs.GetQuotaFilterInputArgs - /// { - /// Name = "quota_types", - /// Values = new[] - /// { - /// "global", - /// }, - /// }, - /// new Outscale.Inputs.GetQuotaFilterInputArgs - /// { - /// Name = "short_descriptions", - /// Values = new[] - /// { - /// "Load Balancer Listeners Limit", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetQuotaArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getQuota:getQuota", args ?? new GetQuotaArgs(), options.WithDefaults()); - - /// - /// Provides information about a quota. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Your-Account.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readquotas). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var loadBalancerListenersQuota01 = Outscale.GetQuota.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetQuotaFilterInputArgs - /// { - /// Name = "collections", - /// Values = new[] - /// { - /// "LBU", - /// }, - /// }, - /// new Outscale.Inputs.GetQuotaFilterInputArgs - /// { - /// Name = "quota_names", - /// Values = new[] - /// { - /// "lb_listeners_limit", - /// }, - /// }, - /// new Outscale.Inputs.GetQuotaFilterInputArgs - /// { - /// Name = "quota_types", - /// Values = new[] - /// { - /// "global", - /// }, - /// }, - /// new Outscale.Inputs.GetQuotaFilterInputArgs - /// { - /// Name = "short_descriptions", - /// Values = new[] - /// { - /// "Load Balancer Listeners Limit", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetQuotaInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getQuota:getQuota", args ?? new GetQuotaInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetQuotaArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - public GetQuotaArgs() - { - } - public static new GetQuotaArgs Empty => new GetQuotaArgs(); - } - - public sealed class GetQuotaInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - public GetQuotaInvokeArgs() - { - } - public static new GetQuotaInvokeArgs Empty => new GetQuotaInvokeArgs(); - } - - - [OutputType] - public sealed class GetQuotaResult - { - /// - /// The account ID of the owner of the quotas. - /// - public readonly string AccountId; - /// - /// The description of the quota. - /// - public readonly string Description; - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// The maximum value of the quota for the OUTSCALE user account (if there is no limit, `0`). - /// - public readonly int MaxValue; - /// - /// The unique name of the quota. - /// - public readonly string Name; - /// - /// The group name of the quota. - /// - public readonly string QuotaCollection; - /// - /// The resource ID if it is a resource-specific quota, `global` if it is not. - /// - public readonly string QuotaType; - public readonly string RequestId; - /// - /// The description of the quota. - /// - public readonly string ShortDescription; - /// - /// The limit value currently used by the OUTSCALE user account. - /// - public readonly int UsedValue; - - [OutputConstructor] - private GetQuotaResult( - string accountId, - - string description, - - ImmutableArray filters, - - string id, - - int maxValue, - - string name, - - string quotaCollection, - - string quotaType, - - string requestId, - - string shortDescription, - - int usedValue) - { - AccountId = accountId; - Description = description; - Filters = filters; - Id = id; - MaxValue = maxValue; - Name = name; - QuotaCollection = quotaCollection; - QuotaType = quotaType; - RequestId = requestId; - ShortDescription = shortDescription; - UsedValue = usedValue; - } - } -} diff --git a/sdk/dotnet/GetQuotas.cs b/sdk/dotnet/GetQuotas.cs deleted file mode 100644 index bcfc50e..0000000 --- a/sdk/dotnet/GetQuotas.cs +++ /dev/null @@ -1,199 +0,0 @@ -// *** 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.Outscale -{ - public static class GetQuotas - { - /// - /// Provides information about quotas. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Your-Account.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readquotas). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// ### Read specific quotas - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var vpcQuotas01 = Outscale.GetQuotas.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetQuotasFilterInputArgs - /// { - /// Name = "collections", - /// Values = new[] - /// { - /// "VPC", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% example %}} - /// ### Read all quotas - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var allQuotas = Outscale.GetQuotas.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetQuotasArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getQuotas:getQuotas", args ?? new GetQuotasArgs(), options.WithDefaults()); - - /// - /// Provides information about quotas. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Your-Account.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readquotas). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// ### Read specific quotas - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var vpcQuotas01 = Outscale.GetQuotas.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetQuotasFilterInputArgs - /// { - /// Name = "collections", - /// Values = new[] - /// { - /// "VPC", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% example %}} - /// ### Read all quotas - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var allQuotas = Outscale.GetQuotas.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetQuotasInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getQuotas:getQuotas", args ?? new GetQuotasInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetQuotasArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - public GetQuotasArgs() - { - } - public static new GetQuotasArgs Empty => new GetQuotasArgs(); - } - - public sealed class GetQuotasInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - public GetQuotasInvokeArgs() - { - } - public static new GetQuotasInvokeArgs Empty => new GetQuotasInvokeArgs(); - } - - - [OutputType] - public sealed class GetQuotasResult - { - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// One or more quotas associated with the user. - /// - public readonly ImmutableArray Quotas; - public readonly string RequestId; - - [OutputConstructor] - private GetQuotasResult( - ImmutableArray filters, - - string id, - - ImmutableArray quotas, - - string requestId) - { - Filters = filters; - Id = id; - Quotas = quotas; - RequestId = requestId; - } - } -} diff --git a/sdk/dotnet/GetRegions.cs b/sdk/dotnet/GetRegions.cs deleted file mode 100644 index 00e494d..0000000 --- a/sdk/dotnet/GetRegions.cs +++ /dev/null @@ -1,98 +0,0 @@ -// *** 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.Outscale -{ - public static class GetRegions - { - /// - /// Provides information about Regions. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Regions-Endpoints-and-Availability-Zones.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readregions). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var allRegions = Outscale.GetRegions.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getRegions:getRegions", InvokeArgs.Empty, options.WithDefaults()); - - /// - /// Provides information about Regions. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Regions-Endpoints-and-Availability-Zones.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readregions). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var allRegions = Outscale.GetRegions.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getRegions:getRegions", InvokeArgs.Empty, options.WithDefaults()); - } - - - [OutputType] - public sealed class GetRegionsResult - { - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// Information about one or more Regions. - /// - public readonly ImmutableArray Regions; - public readonly string RequestId; - - [OutputConstructor] - private GetRegionsResult( - string id, - - ImmutableArray regions, - - string requestId) - { - Id = id; - Regions = regions; - RequestId = requestId; - } - } -} diff --git a/sdk/dotnet/GetRouteTable.cs b/sdk/dotnet/GetRouteTable.cs deleted file mode 100644 index f2f54e8..0000000 --- a/sdk/dotnet/GetRouteTable.cs +++ /dev/null @@ -1,216 +0,0 @@ -// *** 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.Outscale -{ - public static class GetRouteTable - { - /// - /// Provides information about a route table. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Route-Tables.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-routetable). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var routeTable01 = Outscale.GetRouteTable.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetRouteTableFilterInputArgs - /// { - /// Name = "route_table_ids", - /// Values = new[] - /// { - /// "rtb-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetRouteTableArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getRouteTable:getRouteTable", args ?? new GetRouteTableArgs(), options.WithDefaults()); - - /// - /// Provides information about a route table. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Route-Tables.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-routetable). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var routeTable01 = Outscale.GetRouteTable.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetRouteTableFilterInputArgs - /// { - /// Name = "route_table_ids", - /// Values = new[] - /// { - /// "rtb-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetRouteTableInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getRouteTable:getRouteTable", args ?? new GetRouteTableInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetRouteTableArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - /// - /// The ID of the route table. - /// - [Input("routeTableId")] - public string? RouteTableId { get; set; } - - public GetRouteTableArgs() - { - } - public static new GetRouteTableArgs Empty => new GetRouteTableArgs(); - } - - public sealed class GetRouteTableInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - /// - /// The ID of the route table. - /// - [Input("routeTableId")] - public Input? RouteTableId { get; set; } - - public GetRouteTableInvokeArgs() - { - } - public static new GetRouteTableInvokeArgs Empty => new GetRouteTableInvokeArgs(); - } - - - [OutputType] - public sealed class GetRouteTableResult - { - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// One or more associations between the route table and Subnets. - /// - public readonly ImmutableArray LinkRouteTables; - /// - /// The ID of the Net for the route table. - /// - public readonly string NetId; - public readonly string RequestId; - /// - /// Information about virtual gateways propagating routes. - /// - public readonly ImmutableArray RoutePropagatingVirtualGateways; - /// - /// The ID of the route table. - /// - public readonly string RouteTableId; - /// - /// One or more routes in the route table. - /// - public readonly ImmutableArray Routes; - /// - /// One or more tags associated with the route table. - /// - public readonly ImmutableArray Tags; - - [OutputConstructor] - private GetRouteTableResult( - ImmutableArray filters, - - string id, - - ImmutableArray linkRouteTables, - - string netId, - - string requestId, - - ImmutableArray routePropagatingVirtualGateways, - - string routeTableId, - - ImmutableArray routes, - - ImmutableArray tags) - { - Filters = filters; - Id = id; - LinkRouteTables = linkRouteTables; - NetId = netId; - RequestId = requestId; - RoutePropagatingVirtualGateways = routePropagatingVirtualGateways; - RouteTableId = routeTableId; - Routes = routes; - Tags = tags; - } - } -} diff --git a/sdk/dotnet/GetRouteTables.cs b/sdk/dotnet/GetRouteTables.cs deleted file mode 100644 index f7b1dfa..0000000 --- a/sdk/dotnet/GetRouteTables.cs +++ /dev/null @@ -1,218 +0,0 @@ -// *** 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.Outscale -{ - public static class GetRouteTables - { - /// - /// Provides information about route tables. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Route-Tables.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-routetable). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var routeTables01 = Outscale.GetRouteTables.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetRouteTablesFilterInputArgs - /// { - /// Name = "net_ids", - /// Values = new[] - /// { - /// "vpc-12345678", - /// "vpc-87654321", - /// }, - /// }, - /// new Outscale.Inputs.GetRouteTablesFilterInputArgs - /// { - /// Name = "link_route_table_main", - /// Values = new[] - /// { - /// "true", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetRouteTablesArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getRouteTables:getRouteTables", args ?? new GetRouteTablesArgs(), options.WithDefaults()); - - /// - /// Provides information about route tables. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Route-Tables.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-routetable). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var routeTables01 = Outscale.GetRouteTables.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetRouteTablesFilterInputArgs - /// { - /// Name = "net_ids", - /// Values = new[] - /// { - /// "vpc-12345678", - /// "vpc-87654321", - /// }, - /// }, - /// new Outscale.Inputs.GetRouteTablesFilterInputArgs - /// { - /// Name = "link_route_table_main", - /// Values = new[] - /// { - /// "true", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetRouteTablesInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getRouteTables:getRouteTables", args ?? new GetRouteTablesInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetRouteTablesArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - [Input("routeTableIds")] - private List? _routeTableIds; - - /// - /// The ID of the route table. - /// - public List RouteTableIds - { - get => _routeTableIds ?? (_routeTableIds = new List()); - set => _routeTableIds = value; - } - - public GetRouteTablesArgs() - { - } - public static new GetRouteTablesArgs Empty => new GetRouteTablesArgs(); - } - - public sealed class GetRouteTablesInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - [Input("routeTableIds")] - private InputList? _routeTableIds; - - /// - /// The ID of the route table. - /// - public InputList RouteTableIds - { - get => _routeTableIds ?? (_routeTableIds = new InputList()); - set => _routeTableIds = value; - } - - public GetRouteTablesInvokeArgs() - { - } - public static new GetRouteTablesInvokeArgs Empty => new GetRouteTablesInvokeArgs(); - } - - - [OutputType] - public sealed class GetRouteTablesResult - { - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - public readonly string RequestId; - /// - /// The ID of the route table. - /// - public readonly ImmutableArray RouteTableIds; - /// - /// Information about one or more route tables. - /// - public readonly ImmutableArray RouteTables; - - [OutputConstructor] - private GetRouteTablesResult( - ImmutableArray filters, - - string id, - - string requestId, - - ImmutableArray routeTableIds, - - ImmutableArray routeTables) - { - Filters = filters; - Id = id; - RequestId = requestId; - RouteTableIds = routeTableIds; - RouteTables = routeTables; - } - } -} diff --git a/sdk/dotnet/GetSecurityGroup.cs b/sdk/dotnet/GetSecurityGroup.cs deleted file mode 100644 index bda4f6f..0000000 --- a/sdk/dotnet/GetSecurityGroup.cs +++ /dev/null @@ -1,242 +0,0 @@ -// *** 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.Outscale -{ - public static class GetSecurityGroup - { - /// - /// Provides information about a security group. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Security-Groups.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-securitygroup). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var securityGroup01 = Outscale.GetSecurityGroup.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetSecurityGroupFilterInputArgs - /// { - /// Name = "security_group_ids", - /// Values = new[] - /// { - /// "sg-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetSecurityGroupArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getSecurityGroup:getSecurityGroup", args ?? new GetSecurityGroupArgs(), options.WithDefaults()); - - /// - /// Provides information about a security group. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Security-Groups.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-securitygroup). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var securityGroup01 = Outscale.GetSecurityGroup.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetSecurityGroupFilterInputArgs - /// { - /// Name = "security_group_ids", - /// Values = new[] - /// { - /// "sg-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetSecurityGroupInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getSecurityGroup:getSecurityGroup", args ?? new GetSecurityGroupInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetSecurityGroupArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - /// - /// The ID of the security group. - /// - [Input("securityGroupId")] - public string? SecurityGroupId { get; set; } - - /// - /// The name of the security group. - /// - [Input("securityGroupName")] - public string? SecurityGroupName { get; set; } - - public GetSecurityGroupArgs() - { - } - public static new GetSecurityGroupArgs Empty => new GetSecurityGroupArgs(); - } - - public sealed class GetSecurityGroupInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - /// - /// The ID of the security group. - /// - [Input("securityGroupId")] - public Input? SecurityGroupId { get; set; } - - /// - /// The name of the security group. - /// - [Input("securityGroupName")] - public Input? SecurityGroupName { get; set; } - - public GetSecurityGroupInvokeArgs() - { - } - public static new GetSecurityGroupInvokeArgs Empty => new GetSecurityGroupInvokeArgs(); - } - - - [OutputType] - public sealed class GetSecurityGroupResult - { - /// - /// The account ID that owns the source or destination security group. - /// - public readonly string AccountId; - /// - /// The description of the security group. - /// - public readonly string Description; - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// The inbound rules associated with the security group. - /// - public readonly ImmutableArray InboundRules; - /// - /// The ID of the Net for the security group. - /// - public readonly string NetId; - /// - /// The outbound rules associated with the security group. - /// - public readonly ImmutableArray OutboundRules; - public readonly string RequestId; - /// - /// The ID of the security group. - /// - public readonly string SecurityGroupId; - /// - /// The name of the security group. - /// - public readonly string SecurityGroupName; - /// - /// One or more tags associated with the security group. - /// - public readonly ImmutableArray Tags; - - [OutputConstructor] - private GetSecurityGroupResult( - string accountId, - - string description, - - ImmutableArray filters, - - string id, - - ImmutableArray inboundRules, - - string netId, - - ImmutableArray outboundRules, - - string requestId, - - string securityGroupId, - - string securityGroupName, - - ImmutableArray tags) - { - AccountId = accountId; - Description = description; - Filters = filters; - Id = id; - InboundRules = inboundRules; - NetId = netId; - OutboundRules = outboundRules; - RequestId = requestId; - SecurityGroupId = securityGroupId; - SecurityGroupName = securityGroupName; - Tags = tags; - } - } -} diff --git a/sdk/dotnet/GetSecurityGroups.cs b/sdk/dotnet/GetSecurityGroups.cs deleted file mode 100644 index 7c0d167..0000000 --- a/sdk/dotnet/GetSecurityGroups.cs +++ /dev/null @@ -1,243 +0,0 @@ -// *** 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.Outscale -{ - public static class GetSecurityGroups - { - /// - /// Provides information about security groups. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Security-Groups.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-securitygroup). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var securityGroups01 = Outscale.GetSecurityGroups.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetSecurityGroupsFilterInputArgs - /// { - /// Name = "net_ids", - /// Values = new[] - /// { - /// "sg-12345678", - /// "sg-87654321", - /// }, - /// }, - /// new Outscale.Inputs.GetSecurityGroupsFilterInputArgs - /// { - /// Name = "inbound_rule_ip_ranges", - /// Values = new[] - /// { - /// "111.11.111.1/32", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetSecurityGroupsArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getSecurityGroups:getSecurityGroups", args ?? new GetSecurityGroupsArgs(), options.WithDefaults()); - - /// - /// Provides information about security groups. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Security-Groups.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-securitygroup). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var securityGroups01 = Outscale.GetSecurityGroups.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetSecurityGroupsFilterInputArgs - /// { - /// Name = "net_ids", - /// Values = new[] - /// { - /// "sg-12345678", - /// "sg-87654321", - /// }, - /// }, - /// new Outscale.Inputs.GetSecurityGroupsFilterInputArgs - /// { - /// Name = "inbound_rule_ip_ranges", - /// Values = new[] - /// { - /// "111.11.111.1/32", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetSecurityGroupsInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getSecurityGroups:getSecurityGroups", args ?? new GetSecurityGroupsInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetSecurityGroupsArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - [Input("securityGroupIds")] - private List? _securityGroupIds; - - /// - /// The IDs of the security groups. - /// - public List SecurityGroupIds - { - get => _securityGroupIds ?? (_securityGroupIds = new List()); - set => _securityGroupIds = value; - } - - [Input("securityGroupNames")] - private List? _securityGroupNames; - - /// - /// The names of the security groups. - /// - public List SecurityGroupNames - { - get => _securityGroupNames ?? (_securityGroupNames = new List()); - set => _securityGroupNames = value; - } - - public GetSecurityGroupsArgs() - { - } - public static new GetSecurityGroupsArgs Empty => new GetSecurityGroupsArgs(); - } - - public sealed class GetSecurityGroupsInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - [Input("securityGroupIds")] - private InputList? _securityGroupIds; - - /// - /// The IDs of the security groups. - /// - public InputList SecurityGroupIds - { - get => _securityGroupIds ?? (_securityGroupIds = new InputList()); - set => _securityGroupIds = value; - } - - [Input("securityGroupNames")] - private InputList? _securityGroupNames; - - /// - /// The names of the security groups. - /// - public InputList SecurityGroupNames - { - get => _securityGroupNames ?? (_securityGroupNames = new InputList()); - set => _securityGroupNames = value; - } - - public GetSecurityGroupsInvokeArgs() - { - } - public static new GetSecurityGroupsInvokeArgs Empty => new GetSecurityGroupsInvokeArgs(); - } - - - [OutputType] - public sealed class GetSecurityGroupsResult - { - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - public readonly string RequestId; - public readonly ImmutableArray SecurityGroupIds; - public readonly ImmutableArray SecurityGroupNames; - /// - /// Information about one or more security groups. - /// - public readonly ImmutableArray SecurityGroups; - - [OutputConstructor] - private GetSecurityGroupsResult( - ImmutableArray filters, - - string id, - - string requestId, - - ImmutableArray securityGroupIds, - - ImmutableArray securityGroupNames, - - ImmutableArray securityGroups) - { - Filters = filters; - Id = id; - RequestId = requestId; - SecurityGroupIds = securityGroupIds; - SecurityGroupNames = securityGroupNames; - SecurityGroups = securityGroups; - } - } -} diff --git a/sdk/dotnet/GetServerCertificate.cs b/sdk/dotnet/GetServerCertificate.cs deleted file mode 100644 index fe751d2..0000000 --- a/sdk/dotnet/GetServerCertificate.cs +++ /dev/null @@ -1,133 +0,0 @@ -// *** 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.Outscale -{ - public static class GetServerCertificate - { - /// - /// Provides information about a server certificate. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Server-Certificates-in-EIM.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-servercertificate). - /// - public static Task InvokeAsync(GetServerCertificateArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getServerCertificate:getServerCertificate", args ?? new GetServerCertificateArgs(), options.WithDefaults()); - - /// - /// Provides information about a server certificate. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Server-Certificates-in-EIM.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-servercertificate). - /// - public static Output Invoke(GetServerCertificateInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getServerCertificate:getServerCertificate", args ?? new GetServerCertificateInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetServerCertificateArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - public GetServerCertificateArgs() - { - } - public static new GetServerCertificateArgs Empty => new GetServerCertificateArgs(); - } - - public sealed class GetServerCertificateInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - public GetServerCertificateInvokeArgs() - { - } - public static new GetServerCertificateInvokeArgs Empty => new GetServerCertificateInvokeArgs(); - } - - - [OutputType] - public sealed class GetServerCertificateResult - { - /// - /// The date at which the server certificate expires. - /// - public readonly string ExpirationDate; - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// The name of the server certificate. - /// - public readonly string Name; - /// - /// The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - /// - public readonly string Orn; - /// - /// The path to the server certificate. - /// - public readonly string Path; - public readonly string RequestId; - /// - /// The date at which the server certificate has been uploaded. - /// - public readonly string UploadDate; - - [OutputConstructor] - private GetServerCertificateResult( - string expirationDate, - - ImmutableArray filters, - - string id, - - string name, - - string orn, - - string path, - - string requestId, - - string uploadDate) - { - ExpirationDate = expirationDate; - Filters = filters; - Id = id; - Name = name; - Orn = orn; - Path = path; - RequestId = requestId; - UploadDate = uploadDate; - } - } -} diff --git a/sdk/dotnet/GetServerCertificates.cs b/sdk/dotnet/GetServerCertificates.cs deleted file mode 100644 index 0b1cf8d..0000000 --- a/sdk/dotnet/GetServerCertificates.cs +++ /dev/null @@ -1,205 +0,0 @@ -// *** 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.Outscale -{ - public static class GetServerCertificates - { - /// - /// Provides information about server certificates. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Server-Certificates-in-EIM.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-servercertificate). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// ### Read specific server certificates - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var serverCertificates01 = Outscale.GetServerCertificates.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetServerCertificatesFilterInputArgs - /// { - /// Name = "paths", - /// Values = new[] - /// { - /// "<PATH01>", - /// "<PATH02>", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% example %}} - /// ### Read all server certificates - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var allServerCertificates = Outscale.GetServerCertificates.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetServerCertificatesArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getServerCertificates:getServerCertificates", args ?? new GetServerCertificatesArgs(), options.WithDefaults()); - - /// - /// Provides information about server certificates. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Server-Certificates-in-EIM.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-servercertificate). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// ### Read specific server certificates - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var serverCertificates01 = Outscale.GetServerCertificates.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetServerCertificatesFilterInputArgs - /// { - /// Name = "paths", - /// Values = new[] - /// { - /// "<PATH01>", - /// "<PATH02>", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% example %}} - /// ### Read all server certificates - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var allServerCertificates = Outscale.GetServerCertificates.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetServerCertificatesInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getServerCertificates:getServerCertificates", args ?? new GetServerCertificatesInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetServerCertificatesArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - public GetServerCertificatesArgs() - { - } - public static new GetServerCertificatesArgs Empty => new GetServerCertificatesArgs(); - } - - public sealed class GetServerCertificatesInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - public GetServerCertificatesInvokeArgs() - { - } - public static new GetServerCertificatesInvokeArgs Empty => new GetServerCertificatesInvokeArgs(); - } - - - [OutputType] - public sealed class GetServerCertificatesResult - { - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - public readonly string RequestId; - /// - /// Information about one or more server certificates. - /// - public readonly ImmutableArray ServerCertificates; - - [OutputConstructor] - private GetServerCertificatesResult( - ImmutableArray filters, - - string id, - - string requestId, - - ImmutableArray serverCertificates) - { - Filters = filters; - Id = id; - RequestId = requestId; - ServerCertificates = serverCertificates; - } - } -} diff --git a/sdk/dotnet/GetSnapshot.cs b/sdk/dotnet/GetSnapshot.cs deleted file mode 100644 index dc84037..0000000 --- a/sdk/dotnet/GetSnapshot.cs +++ /dev/null @@ -1,263 +0,0 @@ -// *** 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.Outscale -{ - public static class GetSnapshot - { - /// - /// Provides information about a snapshot. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Snapshots.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-snapshot). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var snapshot01 = Outscale.GetSnapshot.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetSnapshotFilterInputArgs - /// { - /// Name = "snapshot_ids", - /// Values = new[] - /// { - /// "snap-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetSnapshotArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getSnapshot:getSnapshot", args ?? new GetSnapshotArgs(), options.WithDefaults()); - - /// - /// Provides information about a snapshot. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Snapshots.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-snapshot). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var snapshot01 = Outscale.GetSnapshot.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetSnapshotFilterInputArgs - /// { - /// Name = "snapshot_ids", - /// Values = new[] - /// { - /// "snap-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetSnapshotInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getSnapshot:getSnapshot", args ?? new GetSnapshotInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetSnapshotArgs : global::Pulumi.InvokeArgs - { - /// - /// The account ID of the owner of the snapshot. - /// - [Input("accountId")] - public string? AccountId { get; set; } - - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - /// - /// The ID of the snapshot. - /// - [Input("snapshotId")] - public string? SnapshotId { get; set; } - - public GetSnapshotArgs() - { - } - public static new GetSnapshotArgs Empty => new GetSnapshotArgs(); - } - - public sealed class GetSnapshotInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// The account ID of the owner of the snapshot. - /// - [Input("accountId")] - public Input? AccountId { get; set; } - - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - /// - /// The ID of the snapshot. - /// - [Input("snapshotId")] - public Input? SnapshotId { get; set; } - - public GetSnapshotInvokeArgs() - { - } - public static new GetSnapshotInvokeArgs Empty => new GetSnapshotInvokeArgs(); - } - - - [OutputType] - public sealed class GetSnapshotResult - { - /// - /// The account alias of the owner of the snapshot. - /// - public readonly string AccountAlias; - /// - /// The account ID of the owner of the snapshot. - /// - public readonly string AccountId; - /// - /// The date and time of creation of the snapshot. - /// - public readonly string CreationDate; - /// - /// The description of the snapshot. - /// - public readonly string Description; - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// Permissions for the resource. - /// - public readonly ImmutableArray PermissionsToCreateVolumes; - /// - /// The progress of the snapshot, as a percentage. - /// - public readonly int Progress; - public readonly string RequestId; - /// - /// The ID of the snapshot. - /// - public readonly string SnapshotId; - /// - /// The state of the snapshot (`in-queue` \| `completed` \| `error`). - /// - public readonly string State; - /// - /// One or more tags associated with the snapshot. - /// - public readonly ImmutableArray Tags; - /// - /// The ID of the volume used to create the snapshot. - /// - public readonly string VolumeId; - /// - /// The size of the volume used to create the snapshot, in gibibytes (GiB). - /// - public readonly int VolumeSize; - - [OutputConstructor] - private GetSnapshotResult( - string accountAlias, - - string accountId, - - string creationDate, - - string description, - - ImmutableArray filters, - - string id, - - ImmutableArray permissionsToCreateVolumes, - - int progress, - - string requestId, - - string snapshotId, - - string state, - - ImmutableArray tags, - - string volumeId, - - int volumeSize) - { - AccountAlias = accountAlias; - AccountId = accountId; - CreationDate = creationDate; - Description = description; - Filters = filters; - Id = id; - PermissionsToCreateVolumes = permissionsToCreateVolumes; - Progress = progress; - RequestId = requestId; - SnapshotId = snapshotId; - State = state; - Tags = tags; - VolumeId = volumeId; - VolumeSize = volumeSize; - } - } -} diff --git a/sdk/dotnet/GetSnapshotExportTask.cs b/sdk/dotnet/GetSnapshotExportTask.cs deleted file mode 100644 index 9c34324..0000000 --- a/sdk/dotnet/GetSnapshotExportTask.cs +++ /dev/null @@ -1,221 +0,0 @@ -// *** 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.Outscale -{ - public static class GetSnapshotExportTask - { - /// - /// Provides information about a snapshot export task. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Snapshots.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-snapshot). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var snapshotExportTask01 = Outscale.GetSnapshotExportTask.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetSnapshotExportTaskFilterInputArgs - /// { - /// Name = "task_ids", - /// Values = new[] - /// { - /// "snap-export-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetSnapshotExportTaskArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getSnapshotExportTask:getSnapshotExportTask", args ?? new GetSnapshotExportTaskArgs(), options.WithDefaults()); - - /// - /// Provides information about a snapshot export task. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Snapshots.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-snapshot). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var snapshotExportTask01 = Outscale.GetSnapshotExportTask.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetSnapshotExportTaskFilterInputArgs - /// { - /// Name = "task_ids", - /// Values = new[] - /// { - /// "snap-export-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetSnapshotExportTaskInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getSnapshotExportTask:getSnapshotExportTask", args ?? new GetSnapshotExportTaskInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetSnapshotExportTaskArgs : global::Pulumi.InvokeArgs - { - [Input("dryRun")] - public bool? DryRun { get; set; } - - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - public GetSnapshotExportTaskArgs() - { - } - public static new GetSnapshotExportTaskArgs Empty => new GetSnapshotExportTaskArgs(); - } - - public sealed class GetSnapshotExportTaskInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("dryRun")] - public Input? DryRun { get; set; } - - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - public GetSnapshotExportTaskInvokeArgs() - { - } - public static new GetSnapshotExportTaskInvokeArgs Empty => new GetSnapshotExportTaskInvokeArgs(); - } - - - [OutputType] - public sealed class GetSnapshotExportTaskResult - { - /// - /// If the snapshot export task fails, an error message appears. - /// - public readonly string Comment; - public readonly bool DryRun; - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// Information about the snapshot export task. - /// - public readonly ImmutableArray OsuExports; - /// - /// The progress of the snapshot export task, as a percentage. - /// - public readonly int Progress; - public readonly string RequestId; - /// - /// The ID of the snapshot to be exported. - /// - public readonly string SnapshotId; - /// - /// The state of the snapshot export task (`pending` \| `active` \| `completed` \| `failed`). - /// - public readonly string State; - /// - /// One or more tags associated with the snapshot export task. - /// - public readonly ImmutableArray Tags; - /// - /// The ID of the snapshot export task. - /// - public readonly string TaskId; - - [OutputConstructor] - private GetSnapshotExportTaskResult( - string comment, - - bool dryRun, - - ImmutableArray filters, - - string id, - - ImmutableArray osuExports, - - int progress, - - string requestId, - - string snapshotId, - - string state, - - ImmutableArray tags, - - string taskId) - { - Comment = comment; - DryRun = dryRun; - Filters = filters; - Id = id; - OsuExports = osuExports; - Progress = progress; - RequestId = requestId; - SnapshotId = snapshotId; - State = state; - Tags = tags; - TaskId = taskId; - } - } -} diff --git a/sdk/dotnet/GetSnapshotExportTasks.cs b/sdk/dotnet/GetSnapshotExportTasks.cs deleted file mode 100644 index 97acf71..0000000 --- a/sdk/dotnet/GetSnapshotExportTasks.cs +++ /dev/null @@ -1,181 +0,0 @@ -// *** 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.Outscale -{ - public static class GetSnapshotExportTasks - { - /// - /// Provides information about snapshot export tasks. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Snapshots.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-snapshot). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var snapshotExportTasks01 = Outscale.GetSnapshotExportTasks.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetSnapshotExportTasksFilterInputArgs - /// { - /// Name = "task_ids", - /// Values = new[] - /// { - /// "snap-export-12345678", - /// "snap-export-87654321", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetSnapshotExportTasksArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getSnapshotExportTasks:getSnapshotExportTasks", args ?? new GetSnapshotExportTasksArgs(), options.WithDefaults()); - - /// - /// Provides information about snapshot export tasks. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Snapshots.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-snapshot). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var snapshotExportTasks01 = Outscale.GetSnapshotExportTasks.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetSnapshotExportTasksFilterInputArgs - /// { - /// Name = "task_ids", - /// Values = new[] - /// { - /// "snap-export-12345678", - /// "snap-export-87654321", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetSnapshotExportTasksInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getSnapshotExportTasks:getSnapshotExportTasks", args ?? new GetSnapshotExportTasksInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetSnapshotExportTasksArgs : global::Pulumi.InvokeArgs - { - [Input("dryRun")] - public bool? DryRun { get; set; } - - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - public GetSnapshotExportTasksArgs() - { - } - public static new GetSnapshotExportTasksArgs Empty => new GetSnapshotExportTasksArgs(); - } - - public sealed class GetSnapshotExportTasksInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("dryRun")] - public Input? DryRun { get; set; } - - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - public GetSnapshotExportTasksInvokeArgs() - { - } - public static new GetSnapshotExportTasksInvokeArgs Empty => new GetSnapshotExportTasksInvokeArgs(); - } - - - [OutputType] - public sealed class GetSnapshotExportTasksResult - { - public readonly bool DryRun; - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - public readonly string RequestId; - /// - /// Information about one or more snapshot export tasks. - /// - public readonly ImmutableArray SnapshotExportTasks; - - [OutputConstructor] - private GetSnapshotExportTasksResult( - bool dryRun, - - ImmutableArray filters, - - string id, - - string requestId, - - ImmutableArray snapshotExportTasks) - { - DryRun = dryRun; - Filters = filters; - Id = id; - RequestId = requestId; - SnapshotExportTasks = snapshotExportTasks; - } - } -} diff --git a/sdk/dotnet/GetSnapshots.cs b/sdk/dotnet/GetSnapshots.cs deleted file mode 100644 index 7cf1469..0000000 --- a/sdk/dotnet/GetSnapshots.cs +++ /dev/null @@ -1,269 +0,0 @@ -// *** 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.Outscale -{ - public static class GetSnapshots - { - /// - /// Provides information about snapshots. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Snapshots.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-snapshot). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var snapshots01 = Outscale.GetSnapshots.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetSnapshotsFilterInputArgs - /// { - /// Name = "tag_keys", - /// Values = new[] - /// { - /// "env", - /// }, - /// }, - /// new Outscale.Inputs.GetSnapshotsFilterInputArgs - /// { - /// Name = "tag_values", - /// Values = new[] - /// { - /// "prod", - /// "test", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetSnapshotsArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getSnapshots:getSnapshots", args ?? new GetSnapshotsArgs(), options.WithDefaults()); - - /// - /// Provides information about snapshots. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Snapshots.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-snapshot). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var snapshots01 = Outscale.GetSnapshots.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetSnapshotsFilterInputArgs - /// { - /// Name = "tag_keys", - /// Values = new[] - /// { - /// "env", - /// }, - /// }, - /// new Outscale.Inputs.GetSnapshotsFilterInputArgs - /// { - /// Name = "tag_values", - /// Values = new[] - /// { - /// "prod", - /// "test", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetSnapshotsInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getSnapshots:getSnapshots", args ?? new GetSnapshotsInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetSnapshotsArgs : global::Pulumi.InvokeArgs - { - [Input("accountIds")] - private List? _accountIds; - - /// - /// The account ID of the owner of the snapshot. - /// - public List AccountIds - { - get => _accountIds ?? (_accountIds = new List()); - set => _accountIds = value; - } - - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - [Input("permissionToCreateVolumes")] - private List? _permissionToCreateVolumes; - public List PermissionToCreateVolumes - { - get => _permissionToCreateVolumes ?? (_permissionToCreateVolumes = new List()); - set => _permissionToCreateVolumes = value; - } - - [Input("snapshotIds")] - private List? _snapshotIds; - - /// - /// The ID of the snapshot. - /// - public List SnapshotIds - { - get => _snapshotIds ?? (_snapshotIds = new List()); - set => _snapshotIds = value; - } - - public GetSnapshotsArgs() - { - } - public static new GetSnapshotsArgs Empty => new GetSnapshotsArgs(); - } - - public sealed class GetSnapshotsInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("accountIds")] - private InputList? _accountIds; - - /// - /// The account ID of the owner of the snapshot. - /// - public InputList AccountIds - { - get => _accountIds ?? (_accountIds = new InputList()); - set => _accountIds = value; - } - - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - [Input("permissionToCreateVolumes")] - private InputList? _permissionToCreateVolumes; - public InputList PermissionToCreateVolumes - { - get => _permissionToCreateVolumes ?? (_permissionToCreateVolumes = new InputList()); - set => _permissionToCreateVolumes = value; - } - - [Input("snapshotIds")] - private InputList? _snapshotIds; - - /// - /// The ID of the snapshot. - /// - public InputList SnapshotIds - { - get => _snapshotIds ?? (_snapshotIds = new InputList()); - set => _snapshotIds = value; - } - - public GetSnapshotsInvokeArgs() - { - } - public static new GetSnapshotsInvokeArgs Empty => new GetSnapshotsInvokeArgs(); - } - - - [OutputType] - public sealed class GetSnapshotsResult - { - /// - /// The account ID of the owner of the snapshot. - /// - public readonly ImmutableArray AccountIds; - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - public readonly ImmutableArray PermissionToCreateVolumes; - public readonly string RequestId; - /// - /// The ID of the snapshot. - /// - public readonly ImmutableArray SnapshotIds; - /// - /// Information about one or more snapshots and their permissions. - /// - public readonly ImmutableArray Snapshots; - - [OutputConstructor] - private GetSnapshotsResult( - ImmutableArray accountIds, - - ImmutableArray filters, - - string id, - - ImmutableArray permissionToCreateVolumes, - - string requestId, - - ImmutableArray snapshotIds, - - ImmutableArray snapshots) - { - AccountIds = accountIds; - Filters = filters; - Id = id; - PermissionToCreateVolumes = permissionToCreateVolumes; - RequestId = requestId; - SnapshotIds = snapshotIds; - Snapshots = snapshots; - } - } -} diff --git a/sdk/dotnet/GetSubnet.cs b/sdk/dotnet/GetSubnet.cs deleted file mode 100644 index 71c811f..0000000 --- a/sdk/dotnet/GetSubnet.cs +++ /dev/null @@ -1,230 +0,0 @@ -// *** 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.Outscale -{ - public static class GetSubnet - { - /// - /// Provides information about a Subnet. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPCs.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-subnet). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var subnet01 = Outscale.GetSubnet.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetSubnetFilterInputArgs - /// { - /// Name = "net_ids", - /// Values = new[] - /// { - /// "vpc-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetSubnetArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getSubnet:getSubnet", args ?? new GetSubnetArgs(), options.WithDefaults()); - - /// - /// Provides information about a Subnet. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPCs.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-subnet). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var subnet01 = Outscale.GetSubnet.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetSubnetFilterInputArgs - /// { - /// Name = "net_ids", - /// Values = new[] - /// { - /// "vpc-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetSubnetInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getSubnet:getSubnet", args ?? new GetSubnetInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetSubnetArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - /// - /// The ID of the Subnet. - /// - [Input("subnetId")] - public string? SubnetId { get; set; } - - public GetSubnetArgs() - { - } - public static new GetSubnetArgs Empty => new GetSubnetArgs(); - } - - public sealed class GetSubnetInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - /// - /// The ID of the Subnet. - /// - [Input("subnetId")] - public Input? SubnetId { get; set; } - - public GetSubnetInvokeArgs() - { - } - public static new GetSubnetInvokeArgs Empty => new GetSubnetInvokeArgs(); - } - - - [OutputType] - public sealed class GetSubnetResult - { - /// - /// The number of available IPs in the Subnets. - /// - public readonly int AvailableIpsCount; - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// The IP range in the Subnet, in CIDR notation (for example, `10.0.0.0/16`). - /// - public readonly string IpRange; - /// - /// If true, a public IP is assigned to the network interface cards (NICs) created in the specified Subnet. - /// - public readonly bool MapPublicIpOnLaunch; - /// - /// The ID of the Net in which the Subnet is. - /// - public readonly string NetId; - public readonly string RequestId; - /// - /// The state of the Subnet (`pending` \| `available` \| `deleted`). - /// - public readonly string State; - /// - /// The ID of the Subnet. - /// - public readonly string SubnetId; - /// - /// The name of the Subregion in which the Subnet is located. - /// - public readonly string SubregionName; - /// - /// One or more tags associated with the Subnet. - /// - public readonly ImmutableArray Tags; - - [OutputConstructor] - private GetSubnetResult( - int availableIpsCount, - - ImmutableArray filters, - - string id, - - string ipRange, - - bool mapPublicIpOnLaunch, - - string netId, - - string requestId, - - string state, - - string subnetId, - - string subregionName, - - ImmutableArray tags) - { - AvailableIpsCount = availableIpsCount; - Filters = filters; - Id = id; - IpRange = ipRange; - MapPublicIpOnLaunch = mapPublicIpOnLaunch; - NetId = netId; - RequestId = requestId; - State = state; - SubnetId = subnetId; - SubregionName = subregionName; - Tags = tags; - } - } -} diff --git a/sdk/dotnet/GetSubnets.cs b/sdk/dotnet/GetSubnets.cs deleted file mode 100644 index 033b5ce..0000000 --- a/sdk/dotnet/GetSubnets.cs +++ /dev/null @@ -1,215 +0,0 @@ -// *** 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.Outscale -{ - public static class GetSubnets - { - /// - /// Provides information about Subnets. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPCs.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-subnet). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var subnets01 = Outscale.GetSubnets.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetSubnetsFilterInputArgs - /// { - /// Name = "states", - /// Values = new[] - /// { - /// "available", - /// }, - /// }, - /// new Outscale.Inputs.GetSubnetsFilterInputArgs - /// { - /// Name = "subregion_names", - /// Values = new[] - /// { - /// "eu-west-2a", - /// "eu-west-2b", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetSubnetsArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getSubnets:getSubnets", args ?? new GetSubnetsArgs(), options.WithDefaults()); - - /// - /// Provides information about Subnets. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPCs.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-subnet). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var subnets01 = Outscale.GetSubnets.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetSubnetsFilterInputArgs - /// { - /// Name = "states", - /// Values = new[] - /// { - /// "available", - /// }, - /// }, - /// new Outscale.Inputs.GetSubnetsFilterInputArgs - /// { - /// Name = "subregion_names", - /// Values = new[] - /// { - /// "eu-west-2a", - /// "eu-west-2b", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetSubnetsInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getSubnets:getSubnets", args ?? new GetSubnetsInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetSubnetsArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - [Input("subnetIds")] - private List? _subnetIds; - - /// - /// The IDs of the Subnets. - /// - public List SubnetIds - { - get => _subnetIds ?? (_subnetIds = new List()); - set => _subnetIds = value; - } - - public GetSubnetsArgs() - { - } - public static new GetSubnetsArgs Empty => new GetSubnetsArgs(); - } - - public sealed class GetSubnetsInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - [Input("subnetIds")] - private InputList? _subnetIds; - - /// - /// The IDs of the Subnets. - /// - public InputList SubnetIds - { - get => _subnetIds ?? (_subnetIds = new InputList()); - set => _subnetIds = value; - } - - public GetSubnetsInvokeArgs() - { - } - public static new GetSubnetsInvokeArgs Empty => new GetSubnetsInvokeArgs(); - } - - - [OutputType] - public sealed class GetSubnetsResult - { - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - public readonly string RequestId; - public readonly ImmutableArray SubnetIds; - /// - /// Information about one or more Subnets. - /// - public readonly ImmutableArray Subnets; - - [OutputConstructor] - private GetSubnetsResult( - ImmutableArray filters, - - string id, - - string requestId, - - ImmutableArray subnetIds, - - ImmutableArray subnets) - { - Filters = filters; - Id = id; - RequestId = requestId; - SubnetIds = subnetIds; - Subnets = subnets; - } - } -} diff --git a/sdk/dotnet/GetSubregions.cs b/sdk/dotnet/GetSubregions.cs deleted file mode 100644 index 307ce43..0000000 --- a/sdk/dotnet/GetSubregions.cs +++ /dev/null @@ -1,263 +0,0 @@ -// *** 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.Outscale -{ - public static class GetSubregions - { - /// - /// Provides information about subregions. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Regions-Endpoints-and-Availability-Zones.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readsubregions). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// ### List a specific Subregion in the current Region - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var subregions01 = Outscale.GetSubregions.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetSubregionsFilterInputArgs - /// { - /// Name = "subregion_names", - /// Values = new[] - /// { - /// "eu-west-2a", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% example %}} - /// ### List two specific Subregions in the current Region - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var subregions02 = Outscale.GetSubregions.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetSubregionsFilterInputArgs - /// { - /// Name = "subregion_names", - /// Values = new[] - /// { - /// "eu-west-2a", - /// "eu-west-2b", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% example %}} - /// ### List all accessible Subregions in the current Region - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var all_subregions = Outscale.GetSubregions.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetSubregionsArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getSubregions:getSubregions", args ?? new GetSubregionsArgs(), options.WithDefaults()); - - /// - /// Provides information about subregions. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Regions-Endpoints-and-Availability-Zones.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readsubregions). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// ### List a specific Subregion in the current Region - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var subregions01 = Outscale.GetSubregions.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetSubregionsFilterInputArgs - /// { - /// Name = "subregion_names", - /// Values = new[] - /// { - /// "eu-west-2a", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% example %}} - /// ### List two specific Subregions in the current Region - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var subregions02 = Outscale.GetSubregions.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetSubregionsFilterInputArgs - /// { - /// Name = "subregion_names", - /// Values = new[] - /// { - /// "eu-west-2a", - /// "eu-west-2b", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% example %}} - /// ### List all accessible Subregions in the current Region - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var all_subregions = Outscale.GetSubregions.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetSubregionsInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getSubregions:getSubregions", args ?? new GetSubregionsInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetSubregionsArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - public GetSubregionsArgs() - { - } - public static new GetSubregionsArgs Empty => new GetSubregionsArgs(); - } - - public sealed class GetSubregionsInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - public GetSubregionsInvokeArgs() - { - } - public static new GetSubregionsInvokeArgs Empty => new GetSubregionsInvokeArgs(); - } - - - [OutputType] - public sealed class GetSubregionsResult - { - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - public readonly string RequestId; - /// - /// Information about one or more Subregions. - /// - public readonly ImmutableArray Subregions; - - [OutputConstructor] - private GetSubregionsResult( - ImmutableArray filters, - - string id, - - string requestId, - - ImmutableArray subregions) - { - Filters = filters; - Id = id; - RequestId = requestId; - Subregions = subregions; - } - } -} diff --git a/sdk/dotnet/GetTag.cs b/sdk/dotnet/GetTag.cs deleted file mode 100644 index 960c6b2..0000000 --- a/sdk/dotnet/GetTag.cs +++ /dev/null @@ -1,90 +0,0 @@ -// *** 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.Outscale -{ - public static class GetTag - { - public static Task InvokeAsync(GetTagArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getTag:getTag", args ?? new GetTagArgs(), options.WithDefaults()); - - public static Output Invoke(GetTagInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getTag:getTag", args ?? new GetTagInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetTagArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - public GetTagArgs() - { - } - public static new GetTagArgs Empty => new GetTagArgs(); - } - - public sealed class GetTagInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - public GetTagInvokeArgs() - { - } - public static new GetTagInvokeArgs Empty => new GetTagInvokeArgs(); - } - - - [OutputType] - public sealed class GetTagResult - { - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - public readonly string Key; - public readonly string ResourceId; - public readonly string ResourceType; - public readonly string Value; - - [OutputConstructor] - private GetTagResult( - ImmutableArray filters, - - string id, - - string key, - - string resourceId, - - string resourceType, - - string value) - { - Filters = filters; - Id = id; - Key = key; - ResourceId = resourceId; - ResourceType = resourceType; - Value = value; - } - } -} diff --git a/sdk/dotnet/GetVirtualGateway.cs b/sdk/dotnet/GetVirtualGateway.cs deleted file mode 100644 index 6d0f0a0..0000000 --- a/sdk/dotnet/GetVirtualGateway.cs +++ /dev/null @@ -1,233 +0,0 @@ -// *** 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.Outscale -{ - public static class GetVirtualGateway - { - /// - /// Provides information about a virtual gateway. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Virtual-Private-Gateways.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-virtualgateway). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var virtualGateway01 = Outscale.GetVirtualGateway.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetVirtualGatewayFilterInputArgs - /// { - /// Name = "virtual_gateway_ids", - /// Values = new[] - /// { - /// "vgw-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetVirtualGatewayArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getVirtualGateway:getVirtualGateway", args ?? new GetVirtualGatewayArgs(), options.WithDefaults()); - - /// - /// Provides information about a virtual gateway. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Virtual-Private-Gateways.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-virtualgateway). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var virtualGateway01 = Outscale.GetVirtualGateway.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetVirtualGatewayFilterInputArgs - /// { - /// Name = "virtual_gateway_ids", - /// Values = new[] - /// { - /// "vgw-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetVirtualGatewayInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getVirtualGateway:getVirtualGateway", args ?? new GetVirtualGatewayInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetVirtualGatewayArgs : global::Pulumi.InvokeArgs - { - /// - /// The type of VPN connection supported by the virtual gateway (only `ipsec.1` is supported). - /// - [Input("connectionType")] - public string? ConnectionType { get; set; } - - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - /// - /// The state of the virtual gateway (`pending` \| `available` \| `deleting` \| `deleted`). - /// - [Input("state")] - public string? State { get; set; } - - /// - /// The ID of the virtual gateway. - /// - [Input("virtualGatewayId")] - public string? VirtualGatewayId { get; set; } - - public GetVirtualGatewayArgs() - { - } - public static new GetVirtualGatewayArgs Empty => new GetVirtualGatewayArgs(); - } - - public sealed class GetVirtualGatewayInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// The type of VPN connection supported by the virtual gateway (only `ipsec.1` is supported). - /// - [Input("connectionType")] - public Input? ConnectionType { get; set; } - - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - /// - /// The state of the virtual gateway (`pending` \| `available` \| `deleting` \| `deleted`). - /// - [Input("state")] - public Input? State { get; set; } - - /// - /// The ID of the virtual gateway. - /// - [Input("virtualGatewayId")] - public Input? VirtualGatewayId { get; set; } - - public GetVirtualGatewayInvokeArgs() - { - } - public static new GetVirtualGatewayInvokeArgs Empty => new GetVirtualGatewayInvokeArgs(); - } - - - [OutputType] - public sealed class GetVirtualGatewayResult - { - /// - /// The type of VPN connection supported by the virtual gateway (only `ipsec.1` is supported). - /// - public readonly string ConnectionType; - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// The Net to which the virtual gateway is attached. - /// - public readonly ImmutableArray NetToVirtualGatewayLinks; - public readonly string RequestId; - /// - /// The state of the virtual gateway (`pending` \| `available` \| `deleting` \| `deleted`). - /// - public readonly string State; - /// - /// One or more tags associated with the virtual gateway. - /// - public readonly ImmutableArray Tags; - /// - /// The ID of the virtual gateway. - /// - public readonly string VirtualGatewayId; - - [OutputConstructor] - private GetVirtualGatewayResult( - string connectionType, - - ImmutableArray filters, - - string id, - - ImmutableArray netToVirtualGatewayLinks, - - string requestId, - - string state, - - ImmutableArray tags, - - string virtualGatewayId) - { - ConnectionType = connectionType; - Filters = filters; - Id = id; - NetToVirtualGatewayLinks = netToVirtualGatewayLinks; - RequestId = requestId; - State = state; - Tags = tags; - VirtualGatewayId = virtualGatewayId; - } - } -} diff --git a/sdk/dotnet/GetVirtualGateways.cs b/sdk/dotnet/GetVirtualGateways.cs deleted file mode 100644 index 890b74d..0000000 --- a/sdk/dotnet/GetVirtualGateways.cs +++ /dev/null @@ -1,218 +0,0 @@ -// *** 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.Outscale -{ - public static class GetVirtualGateways - { - /// - /// Provides information about virtual gateways. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Virtual-Private-Gateways.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-virtualgateway). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var virtualGateways01 = Outscale.GetVirtualGateways.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetVirtualGatewaysFilterInputArgs - /// { - /// Name = "states", - /// Values = new[] - /// { - /// "available", - /// }, - /// }, - /// new Outscale.Inputs.GetVirtualGatewaysFilterInputArgs - /// { - /// Name = "link_states", - /// Values = new[] - /// { - /// "attached", - /// "detached", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetVirtualGatewaysArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getVirtualGateways:getVirtualGateways", args ?? new GetVirtualGatewaysArgs(), options.WithDefaults()); - - /// - /// Provides information about virtual gateways. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Virtual-Private-Gateways.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-virtualgateway). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var virtualGateways01 = Outscale.GetVirtualGateways.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetVirtualGatewaysFilterInputArgs - /// { - /// Name = "states", - /// Values = new[] - /// { - /// "available", - /// }, - /// }, - /// new Outscale.Inputs.GetVirtualGatewaysFilterInputArgs - /// { - /// Name = "link_states", - /// Values = new[] - /// { - /// "attached", - /// "detached", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetVirtualGatewaysInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getVirtualGateways:getVirtualGateways", args ?? new GetVirtualGatewaysInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetVirtualGatewaysArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - [Input("virtualGatewayIds")] - private List? _virtualGatewayIds; - - /// - /// The ID of the virtual gateway. - /// - public List VirtualGatewayIds - { - get => _virtualGatewayIds ?? (_virtualGatewayIds = new List()); - set => _virtualGatewayIds = value; - } - - public GetVirtualGatewaysArgs() - { - } - public static new GetVirtualGatewaysArgs Empty => new GetVirtualGatewaysArgs(); - } - - public sealed class GetVirtualGatewaysInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - [Input("virtualGatewayIds")] - private InputList? _virtualGatewayIds; - - /// - /// The ID of the virtual gateway. - /// - public InputList VirtualGatewayIds - { - get => _virtualGatewayIds ?? (_virtualGatewayIds = new InputList()); - set => _virtualGatewayIds = value; - } - - public GetVirtualGatewaysInvokeArgs() - { - } - public static new GetVirtualGatewaysInvokeArgs Empty => new GetVirtualGatewaysInvokeArgs(); - } - - - [OutputType] - public sealed class GetVirtualGatewaysResult - { - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - public readonly string RequestId; - /// - /// The ID of the virtual gateway. - /// - public readonly ImmutableArray VirtualGatewayIds; - /// - /// Information about one or more virtual gateways. - /// - public readonly ImmutableArray VirtualGateways; - - [OutputConstructor] - private GetVirtualGatewaysResult( - ImmutableArray filters, - - string id, - - string requestId, - - ImmutableArray virtualGatewayIds, - - ImmutableArray virtualGateways) - { - Filters = filters; - Id = id; - RequestId = requestId; - VirtualGatewayIds = virtualGatewayIds; - VirtualGateways = virtualGateways; - } - } -} diff --git a/sdk/dotnet/GetVm.cs b/sdk/dotnet/GetVm.cs deleted file mode 100644 index 01f69b0..0000000 --- a/sdk/dotnet/GetVm.cs +++ /dev/null @@ -1,417 +0,0 @@ -// *** 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.Outscale -{ - public static class GetVm - { - /// - /// Provides information about a virtual machine (VM). - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Instances.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-vm). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var vm01 = Outscale.GetVm.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetVmFilterInputArgs - /// { - /// Name = "vm_ids", - /// Values = new[] - /// { - /// "i-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetVmArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getVm:getVm", args ?? new GetVmArgs(), options.WithDefaults()); - - /// - /// Provides information about a virtual machine (VM). - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Instances.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-vm). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var vm01 = Outscale.GetVm.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetVmFilterInputArgs - /// { - /// Name = "vm_ids", - /// Values = new[] - /// { - /// "i-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetVmInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getVm:getVm", args ?? new GetVmInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetVmArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - public GetVmArgs() - { - } - public static new GetVmArgs Empty => new GetVmArgs(); - } - - public sealed class GetVmInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - public GetVmInvokeArgs() - { - } - public static new GetVmInvokeArgs Empty => new GetVmInvokeArgs(); - } - - - [OutputType] - public sealed class GetVmResult - { - /// - /// The architecture of the VM (`i386` \| `x86_64`). - /// - public readonly string Architecture; - /// - /// The block device mapping of the VM. - /// - public readonly ImmutableArray BlockDeviceMappingsCreateds; - public readonly bool BsuOptimized; - /// - /// The idempotency token provided when launching the VM. - /// - public readonly string ClientToken; - /// - /// The date and time of creation of the VM. - /// - public readonly string CreationDate; - /// - /// If true, you cannot delete the VM unless you change this parameter back to false. - /// - public readonly bool DeletionProtection; - public readonly ImmutableArray Filters; - /// - /// The hypervisor type of the VMs (`ovm` \| `xen`). - /// - public readonly string Hypervisor; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// The ID of the OMI used to create the VM. - /// - public readonly string ImageId; - /// - /// (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - /// - public readonly bool IsSourceDestChecked; - /// - /// The name of the keypair used when launching the VM. - /// - public readonly string KeypairName; - /// - /// The number for the VM when launching a group of several VMs (for example, `0`, `1`, `2`, and so on). - /// - public readonly int LaunchNumber; - /// - /// If true, nested virtualization is enabled. If false, it is disabled. - /// - public readonly bool NestedVirtualization; - /// - /// The ID of the Net for the NIC. - /// - public readonly string NetId; - /// - /// (Net only) The network interface cards (NICs) the VMs are attached to. - /// - public readonly ImmutableArray Nics; - /// - /// Indicates the operating system (OS) of the VM. - /// - public readonly string OsFamily; - /// - /// The performance of the VM (`medium` \| `high` \| `highest`). - /// - public readonly string Performance; - public readonly string PlacementSubregionName; - public readonly string PlacementTenancy; - public readonly ImmutableArray PrimaryNics; - /// - /// The name of the private DNS. - /// - public readonly string PrivateDnsName; - /// - /// The primary private IP of the VM. - /// - public readonly string PrivateIp; - /// - /// The private IP or IPs of the NIC. - /// - public readonly ImmutableArray PrivateIps; - /// - /// The product codes associated with the OMI used to create the VM. - /// - public readonly ImmutableArray ProductCodes; - /// - /// The name of the public DNS. - /// - public readonly string PublicDnsName; - /// - /// The public IP of the VM. - /// - public readonly string PublicIp; - public readonly string RequestId; - /// - /// The reservation ID of the VM. - /// - public readonly string ReservationId; - /// - /// The name of the root device for the VM (for example, `/dev/vda1`). - /// - public readonly string RootDeviceName; - /// - /// The type of root device used by the VM (always `bsu`). - /// - public readonly string RootDeviceType; - public readonly ImmutableArray SecurityGroupIds; - public readonly ImmutableArray SecurityGroupNames; - /// - /// One or more security groups associated with the VM. - /// - public readonly ImmutableArray SecurityGroups; - /// - /// The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - /// - public readonly string State; - /// - /// The reason explaining the current state of the VM. - /// - public readonly string StateReason; - /// - /// The ID of the Subnet for the VM. - /// - public readonly string SubnetId; - /// - /// One or more tags associated with the VM. - /// - public readonly ImmutableArray Tags; - /// - /// The Base64-encoded MIME user data. - /// - public readonly string UserData; - /// - /// The ID of the VM. - /// - public readonly string VmId; - /// - /// The VM behavior when you stop it. If set to `stop`, the VM stops. If set to `restart`, the VM stops then automatically restarts. If set to `terminate`, the VM stops and is deleted. - /// - public readonly string VmInitiatedShutdownBehavior; - /// - /// The type of VM. For more information, see [Instance Types](https://docs.outscale.com/en/userguide/Instance-Types.html). - /// - public readonly string VmType; - - [OutputConstructor] - private GetVmResult( - string architecture, - - ImmutableArray blockDeviceMappingsCreateds, - - bool bsuOptimized, - - string clientToken, - - string creationDate, - - bool deletionProtection, - - ImmutableArray filters, - - string hypervisor, - - string id, - - string imageId, - - bool isSourceDestChecked, - - string keypairName, - - int launchNumber, - - bool nestedVirtualization, - - string netId, - - ImmutableArray nics, - - string osFamily, - - string performance, - - string placementSubregionName, - - string placementTenancy, - - ImmutableArray primaryNics, - - string privateDnsName, - - string privateIp, - - ImmutableArray privateIps, - - ImmutableArray productCodes, - - string publicDnsName, - - string publicIp, - - string requestId, - - string reservationId, - - string rootDeviceName, - - string rootDeviceType, - - ImmutableArray securityGroupIds, - - ImmutableArray securityGroupNames, - - ImmutableArray securityGroups, - - string state, - - string stateReason, - - string subnetId, - - ImmutableArray tags, - - string userData, - - string vmId, - - string vmInitiatedShutdownBehavior, - - string vmType) - { - Architecture = architecture; - BlockDeviceMappingsCreateds = blockDeviceMappingsCreateds; - BsuOptimized = bsuOptimized; - ClientToken = clientToken; - CreationDate = creationDate; - DeletionProtection = deletionProtection; - Filters = filters; - Hypervisor = hypervisor; - Id = id; - ImageId = imageId; - IsSourceDestChecked = isSourceDestChecked; - KeypairName = keypairName; - LaunchNumber = launchNumber; - NestedVirtualization = nestedVirtualization; - NetId = netId; - Nics = nics; - OsFamily = osFamily; - Performance = performance; - PlacementSubregionName = placementSubregionName; - PlacementTenancy = placementTenancy; - PrimaryNics = primaryNics; - PrivateDnsName = privateDnsName; - PrivateIp = privateIp; - PrivateIps = privateIps; - ProductCodes = productCodes; - PublicDnsName = publicDnsName; - PublicIp = publicIp; - RequestId = requestId; - ReservationId = reservationId; - RootDeviceName = rootDeviceName; - RootDeviceType = rootDeviceType; - SecurityGroupIds = securityGroupIds; - SecurityGroupNames = securityGroupNames; - SecurityGroups = securityGroups; - State = state; - StateReason = stateReason; - SubnetId = subnetId; - Tags = tags; - UserData = userData; - VmId = vmId; - VmInitiatedShutdownBehavior = vmInitiatedShutdownBehavior; - VmType = vmType; - } - } -} diff --git a/sdk/dotnet/GetVmState.cs b/sdk/dotnet/GetVmState.cs deleted file mode 100644 index 9f2b7a6..0000000 --- a/sdk/dotnet/GetVmState.cs +++ /dev/null @@ -1,220 +0,0 @@ -// *** 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.Outscale -{ - public static class GetVmState - { - /// - /// Provides information about a VM state. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Instance-Lifecycle.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readvmsstate). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var vmState01 = Outscale.GetVmState.Invoke(new() - /// { - /// AllVms = true, - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetVmStateFilterInputArgs - /// { - /// Name = "vm_ids", - /// Values = new[] - /// { - /// "i-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetVmStateArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getVmState:getVmState", args ?? new GetVmStateArgs(), options.WithDefaults()); - - /// - /// Provides information about a VM state. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Instance-Lifecycle.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readvmsstate). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var vmState01 = Outscale.GetVmState.Invoke(new() - /// { - /// AllVms = true, - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetVmStateFilterInputArgs - /// { - /// Name = "vm_ids", - /// Values = new[] - /// { - /// "i-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetVmStateInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getVmState:getVmState", args ?? new GetVmStateInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetVmStateArgs : global::Pulumi.InvokeArgs - { - /// - /// If true, includes the status of all VMs. By default or if set to false, only includes the status of running VMs. - /// - [Input("allVms")] - public bool? AllVms { get; set; } - - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - /// - /// The ID of the VM. - /// - [Input("vmId")] - public string? VmId { get; set; } - - public GetVmStateArgs() - { - } - public static new GetVmStateArgs Empty => new GetVmStateArgs(); - } - - public sealed class GetVmStateInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// If true, includes the status of all VMs. By default or if set to false, only includes the status of running VMs. - /// - [Input("allVms")] - public Input? AllVms { get; set; } - - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - /// - /// The ID of the VM. - /// - [Input("vmId")] - public Input? VmId { get; set; } - - public GetVmStateInvokeArgs() - { - } - public static new GetVmStateInvokeArgs Empty => new GetVmStateInvokeArgs(); - } - - - [OutputType] - public sealed class GetVmStateResult - { - public readonly bool? AllVms; - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// One or more scheduled events associated with the VM. - /// - public readonly ImmutableArray MaintenanceEvents; - public readonly string RequestId; - /// - /// The name of the Subregion of the VM. - /// - public readonly string SubregionName; - /// - /// The ID of the VM. - /// - public readonly string? VmId; - /// - /// The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - /// - public readonly string VmState; - - [OutputConstructor] - private GetVmStateResult( - bool? allVms, - - ImmutableArray filters, - - string id, - - ImmutableArray maintenanceEvents, - - string requestId, - - string subregionName, - - string? vmId, - - string vmState) - { - AllVms = allVms; - Filters = filters; - Id = id; - MaintenanceEvents = maintenanceEvents; - RequestId = requestId; - SubregionName = subregionName; - VmId = vmId; - VmState = vmState; - } - } -} diff --git a/sdk/dotnet/GetVmStates.cs b/sdk/dotnet/GetVmStates.cs deleted file mode 100644 index 2590ca1..0000000 --- a/sdk/dotnet/GetVmStates.cs +++ /dev/null @@ -1,231 +0,0 @@ -// *** 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.Outscale -{ - public static class GetVmStates - { - /// - /// Provides information about VM states. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Instance-Lifecycle.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readvmsstate). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var vmStates01 = Outscale.GetVmStates.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetVmStatesFilterInputArgs - /// { - /// Name = "vm_ids", - /// Values = new[] - /// { - /// "i-12345678", - /// "i-87654321", - /// }, - /// }, - /// new Outscale.Inputs.GetVmStatesFilterInputArgs - /// { - /// Name = "vm_states", - /// Values = new[] - /// { - /// "running", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetVmStatesArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getVmStates:getVmStates", args ?? new GetVmStatesArgs(), options.WithDefaults()); - - /// - /// Provides information about VM states. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Instance-Lifecycle.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readvmsstate). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var vmStates01 = Outscale.GetVmStates.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetVmStatesFilterInputArgs - /// { - /// Name = "vm_ids", - /// Values = new[] - /// { - /// "i-12345678", - /// "i-87654321", - /// }, - /// }, - /// new Outscale.Inputs.GetVmStatesFilterInputArgs - /// { - /// Name = "vm_states", - /// Values = new[] - /// { - /// "running", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetVmStatesInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getVmStates:getVmStates", args ?? new GetVmStatesInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetVmStatesArgs : global::Pulumi.InvokeArgs - { - /// - /// If true, includes the status of all VMs. By default or if set to false, only includes the status of running VMs. - /// - [Input("allVms")] - public bool? AllVms { get; set; } - - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - [Input("vmIds")] - private List? _vmIds; - - /// - /// One or more IDs of VMs. - /// - public List VmIds - { - get => _vmIds ?? (_vmIds = new List()); - set => _vmIds = value; - } - - public GetVmStatesArgs() - { - } - public static new GetVmStatesArgs Empty => new GetVmStatesArgs(); - } - - public sealed class GetVmStatesInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// If true, includes the status of all VMs. By default or if set to false, only includes the status of running VMs. - /// - [Input("allVms")] - public Input? AllVms { get; set; } - - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - [Input("vmIds")] - private InputList? _vmIds; - - /// - /// One or more IDs of VMs. - /// - public InputList VmIds - { - get => _vmIds ?? (_vmIds = new InputList()); - set => _vmIds = value; - } - - public GetVmStatesInvokeArgs() - { - } - public static new GetVmStatesInvokeArgs Empty => new GetVmStatesInvokeArgs(); - } - - - [OutputType] - public sealed class GetVmStatesResult - { - public readonly bool? AllVms; - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - public readonly string RequestId; - public readonly ImmutableArray VmIds; - /// - /// Information about one or more VM states. - /// - public readonly ImmutableArray VmStates; - - [OutputConstructor] - private GetVmStatesResult( - bool? allVms, - - ImmutableArray filters, - - string id, - - string requestId, - - ImmutableArray vmIds, - - ImmutableArray vmStates) - { - AllVms = allVms; - Filters = filters; - Id = id; - RequestId = requestId; - VmIds = vmIds; - VmStates = vmStates; - } - } -} diff --git a/sdk/dotnet/GetVmTypes.cs b/sdk/dotnet/GetVmTypes.cs deleted file mode 100644 index 3773c38..0000000 --- a/sdk/dotnet/GetVmTypes.cs +++ /dev/null @@ -1,255 +0,0 @@ -// *** 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.Outscale -{ - public static class GetVmTypes - { - /// - /// Provides information about VM types. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/Instance-Types.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readvmtypes). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// ### All types of VMs - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var allVmTypes = Outscale.GetVmTypes.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% example %}} - /// ### VMs optimized for Block Storage Unit (BSU) - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var vmTypes01 = Outscale.GetVmTypes.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetVmTypesFilterInputArgs - /// { - /// Name = "bsu_optimized", - /// Values = new[] - /// { - /// "true", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% example %}} - /// ### Specific VM type - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var vmTypes02 = Outscale.GetVmTypes.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetVmTypesFilterInputArgs - /// { - /// Name = "vm_type_names", - /// Values = new[] - /// { - /// "m3.large", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetVmTypesArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getVmTypes:getVmTypes", args ?? new GetVmTypesArgs(), options.WithDefaults()); - - /// - /// Provides information about VM types. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/Instance-Types.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readvmtypes). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// ### All types of VMs - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var allVmTypes = Outscale.GetVmTypes.Invoke(); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% example %}} - /// ### VMs optimized for Block Storage Unit (BSU) - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var vmTypes01 = Outscale.GetVmTypes.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetVmTypesFilterInputArgs - /// { - /// Name = "bsu_optimized", - /// Values = new[] - /// { - /// "true", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% example %}} - /// ### Specific VM type - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var vmTypes02 = Outscale.GetVmTypes.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetVmTypesFilterInputArgs - /// { - /// Name = "vm_type_names", - /// Values = new[] - /// { - /// "m3.large", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetVmTypesInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getVmTypes:getVmTypes", args ?? new GetVmTypesInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetVmTypesArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - public GetVmTypesArgs() - { - } - public static new GetVmTypesArgs Empty => new GetVmTypesArgs(); - } - - public sealed class GetVmTypesInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - public GetVmTypesInvokeArgs() - { - } - public static new GetVmTypesInvokeArgs Empty => new GetVmTypesInvokeArgs(); - } - - - [OutputType] - public sealed class GetVmTypesResult - { - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - public readonly string RequestId; - /// - /// Information about one or more VM types. - /// - public readonly ImmutableArray VmTypes; - - [OutputConstructor] - private GetVmTypesResult( - ImmutableArray filters, - - string id, - - string requestId, - - ImmutableArray vmTypes) - { - Filters = filters; - Id = id; - RequestId = requestId; - VmTypes = vmTypes; - } - } -} diff --git a/sdk/dotnet/GetVms.cs b/sdk/dotnet/GetVms.cs deleted file mode 100644 index 110f45d..0000000 --- a/sdk/dotnet/GetVms.cs +++ /dev/null @@ -1,187 +0,0 @@ -// *** 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.Outscale -{ - public static class GetVms - { - /// - /// Provides information about virtual machines (VMs). - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Instances.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-vm). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var vms01 = Outscale.GetVms.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetVmsFilterInputArgs - /// { - /// Name = "tag_keys", - /// Values = new[] - /// { - /// "env", - /// }, - /// }, - /// new Outscale.Inputs.GetVmsFilterInputArgs - /// { - /// Name = "tag_values", - /// Values = new[] - /// { - /// "prod", - /// "test", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetVmsArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getVms:getVms", args ?? new GetVmsArgs(), options.WithDefaults()); - - /// - /// Provides information about virtual machines (VMs). - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Instances.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-vm). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var vms01 = Outscale.GetVms.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetVmsFilterInputArgs - /// { - /// Name = "tag_keys", - /// Values = new[] - /// { - /// "env", - /// }, - /// }, - /// new Outscale.Inputs.GetVmsFilterInputArgs - /// { - /// Name = "tag_values", - /// Values = new[] - /// { - /// "prod", - /// "test", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetVmsInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getVms:getVms", args ?? new GetVmsInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetVmsArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - public GetVmsArgs() - { - } - public static new GetVmsArgs Empty => new GetVmsArgs(); - } - - public sealed class GetVmsInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - public GetVmsInvokeArgs() - { - } - public static new GetVmsInvokeArgs Empty => new GetVmsInvokeArgs(); - } - - - [OutputType] - public sealed class GetVmsResult - { - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - public readonly string RequestId; - /// - /// Information about one or more VMs. - /// - public readonly ImmutableArray Vms; - - [OutputConstructor] - private GetVmsResult( - ImmutableArray filters, - - string id, - - string requestId, - - ImmutableArray vms) - { - Filters = filters; - Id = id; - RequestId = requestId; - Vms = vms; - } - } -} diff --git a/sdk/dotnet/GetVolume.cs b/sdk/dotnet/GetVolume.cs deleted file mode 100644 index 663ce31..0000000 --- a/sdk/dotnet/GetVolume.cs +++ /dev/null @@ -1,250 +0,0 @@ -// *** 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.Outscale -{ - public static class GetVolume - { - /// - /// Provides information about a volume. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Volumes.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-volume). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var outscaleVolume01 = Outscale.GetVolume.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetVolumeFilterInputArgs - /// { - /// Name = "volume_ids", - /// Values = new[] - /// { - /// "vol-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetVolumeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getVolume:getVolume", args ?? new GetVolumeArgs(), options.WithDefaults()); - - /// - /// Provides information about a volume. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Volumes.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-volume). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var outscaleVolume01 = Outscale.GetVolume.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetVolumeFilterInputArgs - /// { - /// Name = "volume_ids", - /// Values = new[] - /// { - /// "vol-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetVolumeInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getVolume:getVolume", args ?? new GetVolumeInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetVolumeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - [Input("requestId")] - public string? RequestId { get; set; } - - /// - /// The ID of the volume. - /// - [Input("volumeId")] - public string? VolumeId { get; set; } - - public GetVolumeArgs() - { - } - public static new GetVolumeArgs Empty => new GetVolumeArgs(); - } - - public sealed class GetVolumeInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - [Input("requestId")] - public Input? RequestId { get; set; } - - /// - /// The ID of the volume. - /// - [Input("volumeId")] - public Input? VolumeId { get; set; } - - public GetVolumeInvokeArgs() - { - } - public static new GetVolumeInvokeArgs Empty => new GetVolumeInvokeArgs(); - } - - - [OutputType] - public sealed class GetVolumeResult - { - /// - /// The date and time of creation of the volume. - /// - public readonly string CreationDate; - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// The number of I/O operations per second (IOPS):<br />- For `io1` volumes, the number of provisioned IOPS.<br />- For `gp2` volumes, the baseline performance of the volume. - /// - public readonly int Iops; - /// - /// Information about your volume attachment. - /// - public readonly ImmutableArray LinkedVolumes; - public readonly string? RequestId; - /// - /// The size of the volume, in gibibytes (GiB). - /// - public readonly int Size; - /// - /// The snapshot from which the volume was created. - /// - public readonly string SnapshotId; - /// - /// The state of the volume (`creating` \| `available` \| `in-use` \| `updating` \| `deleting` \| `error`). - /// - public readonly string State; - /// - /// The Subregion in which the volume was created. - /// - public readonly string SubregionName; - /// - /// One or more tags associated with the volume. - /// - public readonly ImmutableArray Tags; - /// - /// The ID of the volume. - /// - public readonly string? VolumeId; - /// - /// The type of the volume (`standard` \| `gp2` \| `io1`). - /// - public readonly string VolumeType; - - [OutputConstructor] - private GetVolumeResult( - string creationDate, - - ImmutableArray filters, - - string id, - - int iops, - - ImmutableArray linkedVolumes, - - string? requestId, - - int size, - - string snapshotId, - - string state, - - string subregionName, - - ImmutableArray tags, - - string? volumeId, - - string volumeType) - { - CreationDate = creationDate; - Filters = filters; - Id = id; - Iops = iops; - LinkedVolumes = linkedVolumes; - RequestId = requestId; - Size = size; - SnapshotId = snapshotId; - State = state; - SubregionName = subregionName; - Tags = tags; - VolumeId = volumeId; - VolumeType = volumeType; - } - } -} diff --git a/sdk/dotnet/GetVolumes.cs b/sdk/dotnet/GetVolumes.cs deleted file mode 100644 index 41b7101..0000000 --- a/sdk/dotnet/GetVolumes.cs +++ /dev/null @@ -1,212 +0,0 @@ -// *** 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.Outscale -{ - public static class GetVolumes - { - /// - /// Provides information about volumes. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Volumes.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-volume). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var outscaleVolumes01 = Outscale.GetVolumes.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetVolumesFilterInputArgs - /// { - /// Name = "volume_states", - /// Values = new[] - /// { - /// "in-use", - /// }, - /// }, - /// new Outscale.Inputs.GetVolumesFilterInputArgs - /// { - /// Name = "volume_types", - /// Values = new[] - /// { - /// "gp2", - /// "io1", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetVolumesArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getVolumes:getVolumes", args ?? new GetVolumesArgs(), options.WithDefaults()); - - /// - /// Provides information about volumes. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Volumes.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-volume). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var outscaleVolumes01 = Outscale.GetVolumes.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetVolumesFilterInputArgs - /// { - /// Name = "volume_states", - /// Values = new[] - /// { - /// "in-use", - /// }, - /// }, - /// new Outscale.Inputs.GetVolumesFilterInputArgs - /// { - /// Name = "volume_types", - /// Values = new[] - /// { - /// "gp2", - /// "io1", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetVolumesInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getVolumes:getVolumes", args ?? new GetVolumesInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetVolumesArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - [Input("requestId")] - public string? RequestId { get; set; } - - /// - /// The ID of the volume. - /// - [Input("volumeId")] - public string? VolumeId { get; set; } - - public GetVolumesArgs() - { - } - public static new GetVolumesArgs Empty => new GetVolumesArgs(); - } - - public sealed class GetVolumesInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - [Input("requestId")] - public Input? RequestId { get; set; } - - /// - /// The ID of the volume. - /// - [Input("volumeId")] - public Input? VolumeId { get; set; } - - public GetVolumesInvokeArgs() - { - } - public static new GetVolumesInvokeArgs Empty => new GetVolumesInvokeArgs(); - } - - - [OutputType] - public sealed class GetVolumesResult - { - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - public readonly string? RequestId; - /// - /// The ID of the volume. - /// - public readonly string? VolumeId; - /// - /// Information about one or more volumes. - /// - public readonly ImmutableArray Volumes; - - [OutputConstructor] - private GetVolumesResult( - ImmutableArray filters, - - string id, - - string? requestId, - - string? volumeId, - - ImmutableArray volumes) - { - Filters = filters; - Id = id; - RequestId = requestId; - VolumeId = volumeId; - Volumes = volumes; - } - } -} diff --git a/sdk/dotnet/GetVpnConnection.cs b/sdk/dotnet/GetVpnConnection.cs deleted file mode 100644 index d2e2764..0000000 --- a/sdk/dotnet/GetVpnConnection.cs +++ /dev/null @@ -1,256 +0,0 @@ -// *** 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.Outscale -{ - public static class GetVpnConnection - { - /// - /// Provides information about a VPN connection. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPN-Connections.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-vpnconnection). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var vpnConnection01 = Outscale.GetVpnConnection.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetVpnConnectionFilterInputArgs - /// { - /// Name = "vpn_connection_ids", - /// Values = new[] - /// { - /// "vpn-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetVpnConnectionArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getVpnConnection:getVpnConnection", args ?? new GetVpnConnectionArgs(), options.WithDefaults()); - - /// - /// Provides information about a VPN connection. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPN-Connections.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-vpnconnection). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var vpnConnection01 = Outscale.GetVpnConnection.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetVpnConnectionFilterInputArgs - /// { - /// Name = "vpn_connection_ids", - /// Values = new[] - /// { - /// "vpn-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetVpnConnectionInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getVpnConnection:getVpnConnection", args ?? new GetVpnConnectionInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetVpnConnectionArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - /// - /// If false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see [CreateVpnConnectionRoute](https://docs.outscale.com/api#createvpnconnectionroute) and [DeleteVpnConnectionRoute](https://docs.outscale.com/api#deletevpnconnectionroute). - /// - [Input("staticRoutesOnly")] - public bool? StaticRoutesOnly { get; set; } - - /// - /// The ID of the VPN connection. - /// - [Input("vpnConnectionId")] - public string? VpnConnectionId { get; set; } - - public GetVpnConnectionArgs() - { - } - public static new GetVpnConnectionArgs Empty => new GetVpnConnectionArgs(); - } - - public sealed class GetVpnConnectionInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - /// - /// If false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see [CreateVpnConnectionRoute](https://docs.outscale.com/api#createvpnconnectionroute) and [DeleteVpnConnectionRoute](https://docs.outscale.com/api#deletevpnconnectionroute). - /// - [Input("staticRoutesOnly")] - public Input? StaticRoutesOnly { get; set; } - - /// - /// The ID of the VPN connection. - /// - [Input("vpnConnectionId")] - public Input? VpnConnectionId { get; set; } - - public GetVpnConnectionInvokeArgs() - { - } - public static new GetVpnConnectionInvokeArgs Empty => new GetVpnConnectionInvokeArgs(); - } - - - [OutputType] - public sealed class GetVpnConnectionResult - { - /// - /// Example configuration for the client gateway. - /// - public readonly string ClientGatewayConfiguration; - /// - /// The ID of the client gateway used on the client end of the connection. - /// - public readonly string ClientGatewayId; - /// - /// The type of VPN connection (always `ipsec.1`). - /// - public readonly string ConnectionType; - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - public readonly string RequestId; - /// - /// Information about one or more static routes associated with the VPN connection, if any. - /// - public readonly ImmutableArray Routes; - /// - /// The state of the IPSEC tunnel (`UP` \| `DOWN`). - /// - public readonly string State; - /// - /// If false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see [CreateVpnConnectionRoute](https://docs.outscale.com/api#createvpnconnectionroute) and [DeleteVpnConnectionRoute](https://docs.outscale.com/api#deletevpnconnectionroute). - /// - public readonly bool? StaticRoutesOnly; - /// - /// One or more tags associated with the VPN connection. - /// - public readonly ImmutableArray Tags; - /// - /// Information about the current state of one or more of the VPN tunnels. - /// - public readonly ImmutableArray VgwTelemetries; - /// - /// The ID of the virtual gateway used on the OUTSCALE end of the connection. - /// - public readonly string VirtualGatewayId; - /// - /// The ID of the VPN connection. - /// - public readonly string? VpnConnectionId; - - [OutputConstructor] - private GetVpnConnectionResult( - string clientGatewayConfiguration, - - string clientGatewayId, - - string connectionType, - - ImmutableArray filters, - - string id, - - string requestId, - - ImmutableArray routes, - - string state, - - bool? staticRoutesOnly, - - ImmutableArray tags, - - ImmutableArray vgwTelemetries, - - string virtualGatewayId, - - string? vpnConnectionId) - { - ClientGatewayConfiguration = clientGatewayConfiguration; - ClientGatewayId = clientGatewayId; - ConnectionType = connectionType; - Filters = filters; - Id = id; - RequestId = requestId; - Routes = routes; - State = state; - StaticRoutesOnly = staticRoutesOnly; - Tags = tags; - VgwTelemetries = vgwTelemetries; - VirtualGatewayId = virtualGatewayId; - VpnConnectionId = vpnConnectionId; - } - } -} diff --git a/sdk/dotnet/GetVpnConnections.cs b/sdk/dotnet/GetVpnConnections.cs deleted file mode 100644 index dde1751..0000000 --- a/sdk/dotnet/GetVpnConnections.cs +++ /dev/null @@ -1,215 +0,0 @@ -// *** 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.Outscale -{ - public static class GetVpnConnections - { - /// - /// Provides information about VPN connections. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPN-Connections.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-vpnconnection). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var vpnConnections01 = Outscale.GetVpnConnections.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetVpnConnectionsFilterInputArgs - /// { - /// Name = "client_gateway_ids", - /// Values = new[] - /// { - /// "cgw-12345678", - /// }, - /// }, - /// new Outscale.Inputs.GetVpnConnectionsFilterInputArgs - /// { - /// Name = "virtual_gateway_ids", - /// Values = new[] - /// { - /// "vgw-12345678", - /// "vgw-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Task InvokeAsync(GetVpnConnectionsArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("outscale:index/getVpnConnections:getVpnConnections", args ?? new GetVpnConnectionsArgs(), options.WithDefaults()); - - /// - /// Provides information about VPN connections. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPN-Connections.html). - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-vpnconnection). - /// - /// {{% examples %}} - /// ## Example Usage - /// {{% example %}} - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var vpnConnections01 = Outscale.GetVpnConnections.Invoke(new() - /// { - /// Filters = new[] - /// { - /// new Outscale.Inputs.GetVpnConnectionsFilterInputArgs - /// { - /// Name = "client_gateway_ids", - /// Values = new[] - /// { - /// "cgw-12345678", - /// }, - /// }, - /// new Outscale.Inputs.GetVpnConnectionsFilterInputArgs - /// { - /// Name = "virtual_gateway_ids", - /// Values = new[] - /// { - /// "vgw-12345678", - /// "vgw-12345678", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// {{% /example %}} - /// {{% /examples %}} - /// - public static Output Invoke(GetVpnConnectionsInvokeArgs? args = null, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("outscale:index/getVpnConnections:getVpnConnections", args ?? new GetVpnConnectionsInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetVpnConnectionsArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private List? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - [Input("vpnConnectionIds")] - private List? _vpnConnectionIds; - - /// - /// The IDs of the VPN connections. - /// - public List VpnConnectionIds - { - get => _vpnConnectionIds ?? (_vpnConnectionIds = new List()); - set => _vpnConnectionIds = value; - } - - public GetVpnConnectionsArgs() - { - } - public static new GetVpnConnectionsArgs Empty => new GetVpnConnectionsArgs(); - } - - public sealed class GetVpnConnectionsInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("filters")] - private InputList? _filters; - - /// - /// A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - /// - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - [Input("vpnConnectionIds")] - private InputList? _vpnConnectionIds; - - /// - /// The IDs of the VPN connections. - /// - public InputList VpnConnectionIds - { - get => _vpnConnectionIds ?? (_vpnConnectionIds = new InputList()); - set => _vpnConnectionIds = value; - } - - public GetVpnConnectionsInvokeArgs() - { - } - public static new GetVpnConnectionsInvokeArgs Empty => new GetVpnConnectionsInvokeArgs(); - } - - - [OutputType] - public sealed class GetVpnConnectionsResult - { - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - public readonly string RequestId; - public readonly ImmutableArray VpnConnectionIds; - /// - /// Information about one or more VPN connections. - /// - public readonly ImmutableArray VpnConnections; - - [OutputConstructor] - private GetVpnConnectionsResult( - ImmutableArray filters, - - string id, - - string requestId, - - ImmutableArray vpnConnectionIds, - - ImmutableArray vpnConnections) - { - Filters = filters; - Id = id; - RequestId = requestId; - VpnConnectionIds = vpnConnectionIds; - VpnConnections = vpnConnections; - } - } -} diff --git a/sdk/dotnet/Image.cs b/sdk/dotnet/Image.cs deleted file mode 100644 index 823b8d9..0000000 --- a/sdk/dotnet/Image.cs +++ /dev/null @@ -1,561 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages an image. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-OMIs.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-image). - /// - /// ## Example Usage - /// ### Create an image - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var image01 = new Outscale.Image("image01", new() - /// { - /// ImageName = "terraform-omi-create", - /// VmId = @var.Vm_id, - /// NoReboot = true, - /// }); - /// - /// }); - /// ``` - /// ### Import an image - /// > **Important** Make sure the manifest file is still valid. - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var image02 = new Outscale.Image("image02", new() - /// { - /// Description = "Terraform register OMI", - /// FileLocation = "<URL>", - /// ImageName = "terraform-omi-register", - /// }); - /// - /// }); - /// ``` - /// ### Copy an image - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var image03 = new Outscale.Image("image03", new() - /// { - /// Description = "Terraform copy OMI", - /// ImageName = "terraform-omi-copy", - /// SourceImageId = "ami-12345678", - /// SourceRegionName = "eu-west-2", - /// }); - /// - /// }); - /// ``` - /// ### Create an image with a Block Storage Unit (BSU) volume - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var image04 = new Outscale.Image("image04", new() - /// { - /// BlockDeviceMappings = new[] - /// { - /// new Outscale.Inputs.ImageBlockDeviceMappingArgs - /// { - /// Bsus = new[] - /// { - /// new Outscale.Inputs.ImageBlockDeviceMappingBsusArgs - /// { - /// DeleteOnVmDeletion = true, - /// Iops = 150, - /// SnapshotId = "snap-12345678", - /// VolumeSize = 120, - /// VolumeType = "io1", - /// }, - /// }, - /// DeviceName = "/dev/sda1", - /// }, - /// }, - /// Description = "Terraform OMI with BSU", - /// ImageName = "terraform-omi-bsu", - /// RootDeviceName = "/dev/sda1", - /// }); - /// - /// }); - /// ``` - /// - /// ## Import - /// - /// An image can be imported using its ID. For exampleconsole - /// - /// ```sh - /// $ pulumi import outscale:index/image:Image ImportedImage ami-12345678 - /// ``` - /// - [OutscaleResourceType("outscale:index/image:Image")] - public partial class Image : global::Pulumi.CustomResource - { - /// - /// The account alias of the owner of the OMI. - /// - [Output("accountAlias")] - public Output AccountAlias { get; private set; } = null!; - - /// - /// The account ID of the owner of the OMI. - /// - [Output("accountId")] - public Output AccountId { get; private set; } = null!; - - /// - /// The architecture of the OMI (by default, `i386` if you specified the `file_location` or `root_device_name` parameter). - /// - [Output("architecture")] - public Output Architecture { get; private set; } = null!; - - /// - /// One or more block device mappings. - /// - [Output("blockDeviceMappings")] - public Output> BlockDeviceMappings { get; private set; } = null!; - - /// - /// The date and time of creation of the OMI, in ISO 8601 date-time format. - /// - [Output("creationDate")] - public Output CreationDate { get; private set; } = null!; - - /// - /// A description for the new OMI. - /// - [Output("description")] - public Output Description { get; private set; } = null!; - - /// - /// The pre-signed URL of the OMI manifest file, or the full path to the OMI stored in a bucket. If you specify this parameter, a copy of the OMI is created in your account. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - /// - [Output("fileLocation")] - public Output FileLocation { get; private set; } = null!; - - /// - /// The ID of the OMI. - /// - [Output("imageId")] - public Output ImageId { get; private set; } = null!; - - /// - /// A unique name for the new OMI.<br /> - /// Constraints: 3-128 alphanumeric characters, underscores (_), spaces ( ), parentheses (()), slashes (/), periods (.), or dashes (-). - /// - [Output("imageName")] - public Output ImageName { get; private set; } = null!; - - /// - /// The type of the OMI. - /// - [Output("imageType")] - public Output ImageType { get; private set; } = null!; - - [Output("isPublic")] - public Output IsPublic { get; private set; } = null!; - - /// - /// If false, the VM shuts down before creating the OMI and then reboots. If true, the VM does not. - /// - [Output("noReboot")] - public Output NoReboot { get; private set; } = null!; - - /// - /// Permissions for the resource. - /// - [Output("permissionsToLaunches")] - public Output> PermissionsToLaunches { get; private set; } = null!; - - /// - /// The product codes associated with the OMI. - /// - [Output("productCodes")] - public Output> ProductCodes { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - /// - /// The name of the root device. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - /// - [Output("rootDeviceName")] - public Output RootDeviceName { get; private set; } = null!; - - /// - /// The type of root device used by the OMI (always `bsu`). - /// - [Output("rootDeviceType")] - public Output RootDeviceType { get; private set; } = null!; - - /// - /// The ID of the OMI you want to copy. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - /// - [Output("sourceImageId")] - public Output SourceImageId { get; private set; } = null!; - - /// - /// The name of the source Region, which must be the same as the Region of your account. - /// - [Output("sourceRegionName")] - public Output SourceRegionName { get; private set; } = null!; - - /// - /// The state of the OMI (`pending` \| `available` \| `failed`). - /// - [Output("state")] - public Output State { get; private set; } = null!; - - /// - /// Information about the change of state. - /// - [Output("stateComments")] - public Output> StateComments { get; private set; } = null!; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - [Output("tags")] - public Output> Tags { get; private set; } = null!; - - /// - /// The ID of the VM from which you want to create the OMI. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - /// - [Output("vmId")] - public Output VmId { get; private set; } = null!; - - - /// - /// Create a Image resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public Image(string name, ImageArgs? args = null, CustomResourceOptions? options = null) - : base("outscale:index/image:Image", name, args ?? new ImageArgs(), MakeResourceOptions(options, "")) - { - } - - private Image(string name, Input id, ImageState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/image:Image", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing Image resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static Image Get(string name, Input id, ImageState? state = null, CustomResourceOptions? options = null) - { - return new Image(name, id, state, options); - } - } - - public sealed class ImageArgs : global::Pulumi.ResourceArgs - { - /// - /// The architecture of the OMI (by default, `i386` if you specified the `file_location` or `root_device_name` parameter). - /// - [Input("architecture")] - public Input? Architecture { get; set; } - - [Input("blockDeviceMappings")] - private InputList? _blockDeviceMappings; - - /// - /// One or more block device mappings. - /// - public InputList BlockDeviceMappings - { - get => _blockDeviceMappings ?? (_blockDeviceMappings = new InputList()); - set => _blockDeviceMappings = value; - } - - /// - /// A description for the new OMI. - /// - [Input("description")] - public Input? Description { get; set; } - - /// - /// The pre-signed URL of the OMI manifest file, or the full path to the OMI stored in a bucket. If you specify this parameter, a copy of the OMI is created in your account. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - /// - [Input("fileLocation")] - public Input? FileLocation { get; set; } - - /// - /// A unique name for the new OMI.<br /> - /// Constraints: 3-128 alphanumeric characters, underscores (_), spaces ( ), parentheses (()), slashes (/), periods (.), or dashes (-). - /// - [Input("imageName")] - public Input? ImageName { get; set; } - - /// - /// If false, the VM shuts down before creating the OMI and then reboots. If true, the VM does not. - /// - [Input("noReboot")] - public Input? NoReboot { get; set; } - - /// - /// The name of the root device. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - /// - [Input("rootDeviceName")] - public Input? RootDeviceName { get; set; } - - /// - /// The ID of the OMI you want to copy. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - /// - [Input("sourceImageId")] - public Input? SourceImageId { get; set; } - - /// - /// The name of the source Region, which must be the same as the Region of your account. - /// - [Input("sourceRegionName")] - public Input? SourceRegionName { get; set; } - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - /// - /// The ID of the VM from which you want to create the OMI. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - /// - [Input("vmId")] - public Input? VmId { get; set; } - - public ImageArgs() - { - } - public static new ImageArgs Empty => new ImageArgs(); - } - - public sealed class ImageState : global::Pulumi.ResourceArgs - { - /// - /// The account alias of the owner of the OMI. - /// - [Input("accountAlias")] - public Input? AccountAlias { get; set; } - - /// - /// The account ID of the owner of the OMI. - /// - [Input("accountId")] - public Input? AccountId { get; set; } - - /// - /// The architecture of the OMI (by default, `i386` if you specified the `file_location` or `root_device_name` parameter). - /// - [Input("architecture")] - public Input? Architecture { get; set; } - - [Input("blockDeviceMappings")] - private InputList? _blockDeviceMappings; - - /// - /// One or more block device mappings. - /// - public InputList BlockDeviceMappings - { - get => _blockDeviceMappings ?? (_blockDeviceMappings = new InputList()); - set => _blockDeviceMappings = value; - } - - /// - /// The date and time of creation of the OMI, in ISO 8601 date-time format. - /// - [Input("creationDate")] - public Input? CreationDate { get; set; } - - /// - /// A description for the new OMI. - /// - [Input("description")] - public Input? Description { get; set; } - - /// - /// The pre-signed URL of the OMI manifest file, or the full path to the OMI stored in a bucket. If you specify this parameter, a copy of the OMI is created in your account. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - /// - [Input("fileLocation")] - public Input? FileLocation { get; set; } - - /// - /// The ID of the OMI. - /// - [Input("imageId")] - public Input? ImageId { get; set; } - - /// - /// A unique name for the new OMI.<br /> - /// Constraints: 3-128 alphanumeric characters, underscores (_), spaces ( ), parentheses (()), slashes (/), periods (.), or dashes (-). - /// - [Input("imageName")] - public Input? ImageName { get; set; } - - /// - /// The type of the OMI. - /// - [Input("imageType")] - public Input? ImageType { get; set; } - - [Input("isPublic")] - public Input? IsPublic { get; set; } - - /// - /// If false, the VM shuts down before creating the OMI and then reboots. If true, the VM does not. - /// - [Input("noReboot")] - public Input? NoReboot { get; set; } - - [Input("permissionsToLaunches")] - private InputList? _permissionsToLaunches; - - /// - /// Permissions for the resource. - /// - public InputList PermissionsToLaunches - { - get => _permissionsToLaunches ?? (_permissionsToLaunches = new InputList()); - set => _permissionsToLaunches = value; - } - - [Input("productCodes")] - private InputList? _productCodes; - - /// - /// The product codes associated with the OMI. - /// - public InputList ProductCodes - { - get => _productCodes ?? (_productCodes = new InputList()); - set => _productCodes = value; - } - - [Input("requestId")] - public Input? RequestId { get; set; } - - /// - /// The name of the root device. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - /// - [Input("rootDeviceName")] - public Input? RootDeviceName { get; set; } - - /// - /// The type of root device used by the OMI (always `bsu`). - /// - [Input("rootDeviceType")] - public Input? RootDeviceType { get; set; } - - /// - /// The ID of the OMI you want to copy. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - /// - [Input("sourceImageId")] - public Input? SourceImageId { get; set; } - - /// - /// The name of the source Region, which must be the same as the Region of your account. - /// - [Input("sourceRegionName")] - public Input? SourceRegionName { get; set; } - - /// - /// The state of the OMI (`pending` \| `available` \| `failed`). - /// - [Input("state")] - public Input? State { get; set; } - - [Input("stateComments")] - private InputList? _stateComments; - - /// - /// Information about the change of state. - /// - public InputList StateComments - { - get => _stateComments ?? (_stateComments = new InputList()); - set => _stateComments = value; - } - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - /// - /// The ID of the VM from which you want to create the OMI. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - /// - [Input("vmId")] - public Input? VmId { get; set; } - - public ImageState() - { - } - public static new ImageState Empty => new ImageState(); - } -} diff --git a/sdk/dotnet/ImageExportTask.cs b/sdk/dotnet/ImageExportTask.cs deleted file mode 100644 index b102341..0000000 --- a/sdk/dotnet/ImageExportTask.cs +++ /dev/null @@ -1,274 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages an image export task. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-OMIs.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-image). - /// - /// ## Example Usage - /// ### Required resource - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var image01 = new Outscale.Image("image01", new() - /// { - /// ImageName = "terraform-image-to-export", - /// VmId = "i-12345678", - /// }); - /// - /// }); - /// ``` - /// ### Create an image export task - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var imageExportTask01 = new Outscale.ImageExportTask("imageExportTask01", new() - /// { - /// ImageId = outscale_image.Image01.Image_id, - /// OsuExports = new[] - /// { - /// new Outscale.Inputs.ImageExportTaskOsuExportArgs - /// { - /// DiskImageFormat = "qcow2", - /// OsuBucket = "terraform-bucket", - /// OsuPrefix = "new-export", - /// OsuApiKeys = new[] - /// { - /// new Outscale.Inputs.ImageExportTaskOsuExportOsuApiKeyArgs - /// { - /// ApiKeyId = @var.Access_key_id, - /// SecretKey = @var.Secret_key_id, - /// }, - /// }, - /// }, - /// }, - /// Tags = new[] - /// { - /// new Outscale.Inputs.ImageExportTaskTagArgs - /// { - /// Key = "Name", - /// Value = "terraform-snapshot-export-task", - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// - [OutscaleResourceType("outscale:index/imageExportTask:ImageExportTask")] - public partial class ImageExportTask : global::Pulumi.CustomResource - { - /// - /// If the OMI export task fails, an error message appears. - /// - [Output("comment")] - public Output Comment { get; private set; } = null!; - - /// - /// The ID of the OMI to export. - /// - [Output("imageId")] - public Output ImageId { get; private set; } = null!; - - /// - /// Information about the OOS export task to create. - /// - [Output("osuExports")] - public Output> OsuExports { get; private set; } = null!; - - /// - /// The progress of the OMI export task, as a percentage. - /// - [Output("progress")] - public Output Progress { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - /// - /// The state of the OMI export task (`pending/queued` \| `pending` \| `completed` \| `failed` \| `cancelled`). - /// - [Output("state")] - public Output State { get; private set; } = null!; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - [Output("tags")] - public Output> Tags { get; private set; } = null!; - - /// - /// The ID of the OMI export task. - /// - [Output("taskId")] - public Output TaskId { get; private set; } = null!; - - - /// - /// Create a ImageExportTask resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public ImageExportTask(string name, ImageExportTaskArgs args, CustomResourceOptions? options = null) - : base("outscale:index/imageExportTask:ImageExportTask", name, args ?? new ImageExportTaskArgs(), MakeResourceOptions(options, "")) - { - } - - private ImageExportTask(string name, Input id, ImageExportTaskState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/imageExportTask:ImageExportTask", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing ImageExportTask resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static ImageExportTask Get(string name, Input id, ImageExportTaskState? state = null, CustomResourceOptions? options = null) - { - return new ImageExportTask(name, id, state, options); - } - } - - public sealed class ImageExportTaskArgs : global::Pulumi.ResourceArgs - { - /// - /// The ID of the OMI to export. - /// - [Input("imageId", required: true)] - public Input ImageId { get; set; } = null!; - - [Input("osuExports", required: true)] - private InputList? _osuExports; - - /// - /// Information about the OOS export task to create. - /// - public InputList OsuExports - { - get => _osuExports ?? (_osuExports = new InputList()); - set => _osuExports = value; - } - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - public ImageExportTaskArgs() - { - } - public static new ImageExportTaskArgs Empty => new ImageExportTaskArgs(); - } - - public sealed class ImageExportTaskState : global::Pulumi.ResourceArgs - { - /// - /// If the OMI export task fails, an error message appears. - /// - [Input("comment")] - public Input? Comment { get; set; } - - /// - /// The ID of the OMI to export. - /// - [Input("imageId")] - public Input? ImageId { get; set; } - - [Input("osuExports")] - private InputList? _osuExports; - - /// - /// Information about the OOS export task to create. - /// - public InputList OsuExports - { - get => _osuExports ?? (_osuExports = new InputList()); - set => _osuExports = value; - } - - /// - /// The progress of the OMI export task, as a percentage. - /// - [Input("progress")] - public Input? Progress { get; set; } - - [Input("requestId")] - public Input? RequestId { get; set; } - - /// - /// The state of the OMI export task (`pending/queued` \| `pending` \| `completed` \| `failed` \| `cancelled`). - /// - [Input("state")] - public Input? State { get; set; } - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - /// - /// The ID of the OMI export task. - /// - [Input("taskId")] - public Input? TaskId { get; set; } - - public ImageExportTaskState() - { - } - public static new ImageExportTaskState Empty => new ImageExportTaskState(); - } -} diff --git a/sdk/dotnet/ImageLaunchPermission.cs b/sdk/dotnet/ImageLaunchPermission.cs deleted file mode 100644 index 5851847..0000000 --- a/sdk/dotnet/ImageLaunchPermission.cs +++ /dev/null @@ -1,220 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages an image launch permission. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-OMIs.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#updateimage). - /// - /// ## Example Usage - /// ### Add permissions - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var image01 = new Outscale.ImageLaunchPermission("image01", new() - /// { - /// ImageId = "ami-12345678", - /// PermissionAdditions = new Outscale.Inputs.ImageLaunchPermissionPermissionAdditionsArgs - /// { - /// AccountIds = new[] - /// { - /// "012345678910", - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// ### Remove permissions - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var image02 = new Outscale.ImageLaunchPermission("image02", new() - /// { - /// ImageId = "ami-12345678", - /// PermissionRemovals = new Outscale.Inputs.ImageLaunchPermissionPermissionRemovalsArgs - /// { - /// AccountIds = new[] - /// { - /// "012345678910", - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// - [OutscaleResourceType("outscale:index/imageLaunchPermission:ImageLaunchPermission")] - public partial class ImageLaunchPermission : global::Pulumi.CustomResource - { - /// - /// The description of the OMI. - /// - [Output("description")] - public Output Description { get; private set; } = null!; - - /// - /// The ID of the OMI you want to modify. - /// - [Output("imageId")] - public Output ImageId { get; private set; } = null!; - - /// - /// Information about the users to whom you want to give permissions for the resource. - /// - [Output("permissionAdditions")] - public Output PermissionAdditions { get; private set; } = null!; - - /// - /// Information about the users from whom you want to remove permissions for the resource. - /// - [Output("permissionRemovals")] - public Output PermissionRemovals { get; private set; } = null!; - - /// - /// Permissions for the resource. - /// - [Output("permissionsToLaunches")] - public Output> PermissionsToLaunches { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - - /// - /// Create a ImageLaunchPermission resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public ImageLaunchPermission(string name, ImageLaunchPermissionArgs args, CustomResourceOptions? options = null) - : base("outscale:index/imageLaunchPermission:ImageLaunchPermission", name, args ?? new ImageLaunchPermissionArgs(), MakeResourceOptions(options, "")) - { - } - - private ImageLaunchPermission(string name, Input id, ImageLaunchPermissionState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/imageLaunchPermission:ImageLaunchPermission", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing ImageLaunchPermission resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static ImageLaunchPermission Get(string name, Input id, ImageLaunchPermissionState? state = null, CustomResourceOptions? options = null) - { - return new ImageLaunchPermission(name, id, state, options); - } - } - - public sealed class ImageLaunchPermissionArgs : global::Pulumi.ResourceArgs - { - /// - /// The ID of the OMI you want to modify. - /// - [Input("imageId", required: true)] - public Input ImageId { get; set; } = null!; - - /// - /// Information about the users to whom you want to give permissions for the resource. - /// - [Input("permissionAdditions")] - public Input? PermissionAdditions { get; set; } - - /// - /// Information about the users from whom you want to remove permissions for the resource. - /// - [Input("permissionRemovals")] - public Input? PermissionRemovals { get; set; } - - public ImageLaunchPermissionArgs() - { - } - public static new ImageLaunchPermissionArgs Empty => new ImageLaunchPermissionArgs(); - } - - public sealed class ImageLaunchPermissionState : global::Pulumi.ResourceArgs - { - /// - /// The description of the OMI. - /// - [Input("description")] - public Input? Description { get; set; } - - /// - /// The ID of the OMI you want to modify. - /// - [Input("imageId")] - public Input? ImageId { get; set; } - - /// - /// Information about the users to whom you want to give permissions for the resource. - /// - [Input("permissionAdditions")] - public Input? PermissionAdditions { get; set; } - - /// - /// Information about the users from whom you want to remove permissions for the resource. - /// - [Input("permissionRemovals")] - public Input? PermissionRemovals { get; set; } - - [Input("permissionsToLaunches")] - private InputList? _permissionsToLaunches; - - /// - /// Permissions for the resource. - /// - public InputList PermissionsToLaunches - { - get => _permissionsToLaunches ?? (_permissionsToLaunches = new InputList()); - set => _permissionsToLaunches = value; - } - - [Input("requestId")] - public Input? RequestId { get; set; } - - public ImageLaunchPermissionState() - { - } - public static new ImageLaunchPermissionState Empty => new ImageLaunchPermissionState(); - } -} diff --git a/sdk/dotnet/Inputs/ClientGatewayTagArgs.cs b/sdk/dotnet/Inputs/ClientGatewayTagArgs.cs deleted file mode 100644 index e343534..0000000 --- a/sdk/dotnet/Inputs/ClientGatewayTagArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class ClientGatewayTagArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public ClientGatewayTagArgs() - { - } - public static new ClientGatewayTagArgs Empty => new ClientGatewayTagArgs(); - } -} diff --git a/sdk/dotnet/Inputs/ClientGatewayTagGetArgs.cs b/sdk/dotnet/Inputs/ClientGatewayTagGetArgs.cs deleted file mode 100644 index de29af5..0000000 --- a/sdk/dotnet/Inputs/ClientGatewayTagGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class ClientGatewayTagGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public ClientGatewayTagGetArgs() - { - } - public static new ClientGatewayTagGetArgs Empty => new ClientGatewayTagGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DhcpOptionTagArgs.cs b/sdk/dotnet/Inputs/DhcpOptionTagArgs.cs deleted file mode 100644 index 268df73..0000000 --- a/sdk/dotnet/Inputs/DhcpOptionTagArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class DhcpOptionTagArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public DhcpOptionTagArgs() - { - } - public static new DhcpOptionTagArgs Empty => new DhcpOptionTagArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DhcpOptionTagGetArgs.cs b/sdk/dotnet/Inputs/DhcpOptionTagGetArgs.cs deleted file mode 100644 index 99da40c..0000000 --- a/sdk/dotnet/Inputs/DhcpOptionTagGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class DhcpOptionTagGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public DhcpOptionTagGetArgs() - { - } - public static new DhcpOptionTagGetArgs Empty => new DhcpOptionTagGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetAccessKeyFilter.cs b/sdk/dotnet/Inputs/GetAccessKeyFilter.cs deleted file mode 100644 index 65888ca..0000000 --- a/sdk/dotnet/Inputs/GetAccessKeyFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetAccessKeyFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetAccessKeyFilterArgs() - { - } - public static new GetAccessKeyFilterArgs Empty => new GetAccessKeyFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetAccessKeyFilterArgs.cs b/sdk/dotnet/Inputs/GetAccessKeyFilterArgs.cs deleted file mode 100644 index 07d1947..0000000 --- a/sdk/dotnet/Inputs/GetAccessKeyFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetAccessKeyFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetAccessKeyFilterInputArgs() - { - } - public static new GetAccessKeyFilterInputArgs Empty => new GetAccessKeyFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetAccessKeysFilter.cs b/sdk/dotnet/Inputs/GetAccessKeysFilter.cs deleted file mode 100644 index 8a5920d..0000000 --- a/sdk/dotnet/Inputs/GetAccessKeysFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetAccessKeysFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetAccessKeysFilterArgs() - { - } - public static new GetAccessKeysFilterArgs Empty => new GetAccessKeysFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetAccessKeysFilterArgs.cs b/sdk/dotnet/Inputs/GetAccessKeysFilterArgs.cs deleted file mode 100644 index 430af5e..0000000 --- a/sdk/dotnet/Inputs/GetAccessKeysFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetAccessKeysFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetAccessKeysFilterInputArgs() - { - } - public static new GetAccessKeysFilterInputArgs Empty => new GetAccessKeysFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetApiAccessRuleFilter.cs b/sdk/dotnet/Inputs/GetApiAccessRuleFilter.cs deleted file mode 100644 index 4dafa9e..0000000 --- a/sdk/dotnet/Inputs/GetApiAccessRuleFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetApiAccessRuleFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetApiAccessRuleFilterArgs() - { - } - public static new GetApiAccessRuleFilterArgs Empty => new GetApiAccessRuleFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetApiAccessRuleFilterArgs.cs b/sdk/dotnet/Inputs/GetApiAccessRuleFilterArgs.cs deleted file mode 100644 index d7a139b..0000000 --- a/sdk/dotnet/Inputs/GetApiAccessRuleFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetApiAccessRuleFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetApiAccessRuleFilterInputArgs() - { - } - public static new GetApiAccessRuleFilterInputArgs Empty => new GetApiAccessRuleFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetApiAccessRulesFilter.cs b/sdk/dotnet/Inputs/GetApiAccessRulesFilter.cs deleted file mode 100644 index 520ba3b..0000000 --- a/sdk/dotnet/Inputs/GetApiAccessRulesFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetApiAccessRulesFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetApiAccessRulesFilterArgs() - { - } - public static new GetApiAccessRulesFilterArgs Empty => new GetApiAccessRulesFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetApiAccessRulesFilterArgs.cs b/sdk/dotnet/Inputs/GetApiAccessRulesFilterArgs.cs deleted file mode 100644 index c5ee968..0000000 --- a/sdk/dotnet/Inputs/GetApiAccessRulesFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetApiAccessRulesFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetApiAccessRulesFilterInputArgs() - { - } - public static new GetApiAccessRulesFilterInputArgs Empty => new GetApiAccessRulesFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetCaFilter.cs b/sdk/dotnet/Inputs/GetCaFilter.cs deleted file mode 100644 index 0797ad9..0000000 --- a/sdk/dotnet/Inputs/GetCaFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetCaFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetCaFilterArgs() - { - } - public static new GetCaFilterArgs Empty => new GetCaFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetCaFilterArgs.cs b/sdk/dotnet/Inputs/GetCaFilterArgs.cs deleted file mode 100644 index 2dfed59..0000000 --- a/sdk/dotnet/Inputs/GetCaFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetCaFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetCaFilterInputArgs() - { - } - public static new GetCaFilterInputArgs Empty => new GetCaFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetCasFilter.cs b/sdk/dotnet/Inputs/GetCasFilter.cs deleted file mode 100644 index 07939c8..0000000 --- a/sdk/dotnet/Inputs/GetCasFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetCasFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetCasFilterArgs() - { - } - public static new GetCasFilterArgs Empty => new GetCasFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetCasFilterArgs.cs b/sdk/dotnet/Inputs/GetCasFilterArgs.cs deleted file mode 100644 index 8941204..0000000 --- a/sdk/dotnet/Inputs/GetCasFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetCasFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetCasFilterInputArgs() - { - } - public static new GetCasFilterInputArgs Empty => new GetCasFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetClientGatewayFilter.cs b/sdk/dotnet/Inputs/GetClientGatewayFilter.cs deleted file mode 100644 index 3bd9758..0000000 --- a/sdk/dotnet/Inputs/GetClientGatewayFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetClientGatewayFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetClientGatewayFilterArgs() - { - } - public static new GetClientGatewayFilterArgs Empty => new GetClientGatewayFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetClientGatewayFilterArgs.cs b/sdk/dotnet/Inputs/GetClientGatewayFilterArgs.cs deleted file mode 100644 index 19dfea0..0000000 --- a/sdk/dotnet/Inputs/GetClientGatewayFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetClientGatewayFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetClientGatewayFilterInputArgs() - { - } - public static new GetClientGatewayFilterInputArgs Empty => new GetClientGatewayFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetClientGatewaysFilter.cs b/sdk/dotnet/Inputs/GetClientGatewaysFilter.cs deleted file mode 100644 index dfabc2d..0000000 --- a/sdk/dotnet/Inputs/GetClientGatewaysFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetClientGatewaysFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetClientGatewaysFilterArgs() - { - } - public static new GetClientGatewaysFilterArgs Empty => new GetClientGatewaysFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetClientGatewaysFilterArgs.cs b/sdk/dotnet/Inputs/GetClientGatewaysFilterArgs.cs deleted file mode 100644 index ff6b001..0000000 --- a/sdk/dotnet/Inputs/GetClientGatewaysFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetClientGatewaysFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetClientGatewaysFilterInputArgs() - { - } - public static new GetClientGatewaysFilterInputArgs Empty => new GetClientGatewaysFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetDhcpOptionFilter.cs b/sdk/dotnet/Inputs/GetDhcpOptionFilter.cs deleted file mode 100644 index 3d4a3fb..0000000 --- a/sdk/dotnet/Inputs/GetDhcpOptionFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetDhcpOptionFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetDhcpOptionFilterArgs() - { - } - public static new GetDhcpOptionFilterArgs Empty => new GetDhcpOptionFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetDhcpOptionFilterArgs.cs b/sdk/dotnet/Inputs/GetDhcpOptionFilterArgs.cs deleted file mode 100644 index da02112..0000000 --- a/sdk/dotnet/Inputs/GetDhcpOptionFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetDhcpOptionFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetDhcpOptionFilterInputArgs() - { - } - public static new GetDhcpOptionFilterInputArgs Empty => new GetDhcpOptionFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetDhcpOptionsFilter.cs b/sdk/dotnet/Inputs/GetDhcpOptionsFilter.cs deleted file mode 100644 index 5901e5c..0000000 --- a/sdk/dotnet/Inputs/GetDhcpOptionsFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetDhcpOptionsFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetDhcpOptionsFilterArgs() - { - } - public static new GetDhcpOptionsFilterArgs Empty => new GetDhcpOptionsFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetDhcpOptionsFilterArgs.cs b/sdk/dotnet/Inputs/GetDhcpOptionsFilterArgs.cs deleted file mode 100644 index 9a86580..0000000 --- a/sdk/dotnet/Inputs/GetDhcpOptionsFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetDhcpOptionsFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetDhcpOptionsFilterInputArgs() - { - } - public static new GetDhcpOptionsFilterInputArgs Empty => new GetDhcpOptionsFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetFlexibleGpuCatalogFilter.cs b/sdk/dotnet/Inputs/GetFlexibleGpuCatalogFilter.cs deleted file mode 100644 index 84ef42c..0000000 --- a/sdk/dotnet/Inputs/GetFlexibleGpuCatalogFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetFlexibleGpuCatalogFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetFlexibleGpuCatalogFilterArgs() - { - } - public static new GetFlexibleGpuCatalogFilterArgs Empty => new GetFlexibleGpuCatalogFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetFlexibleGpuCatalogFilterArgs.cs b/sdk/dotnet/Inputs/GetFlexibleGpuCatalogFilterArgs.cs deleted file mode 100644 index 72b70c1..0000000 --- a/sdk/dotnet/Inputs/GetFlexibleGpuCatalogFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetFlexibleGpuCatalogFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetFlexibleGpuCatalogFilterInputArgs() - { - } - public static new GetFlexibleGpuCatalogFilterInputArgs Empty => new GetFlexibleGpuCatalogFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetFlexibleGpuFilter.cs b/sdk/dotnet/Inputs/GetFlexibleGpuFilter.cs deleted file mode 100644 index 7608ec1..0000000 --- a/sdk/dotnet/Inputs/GetFlexibleGpuFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetFlexibleGpuFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetFlexibleGpuFilterArgs() - { - } - public static new GetFlexibleGpuFilterArgs Empty => new GetFlexibleGpuFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetFlexibleGpuFilterArgs.cs b/sdk/dotnet/Inputs/GetFlexibleGpuFilterArgs.cs deleted file mode 100644 index 4523386..0000000 --- a/sdk/dotnet/Inputs/GetFlexibleGpuFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetFlexibleGpuFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetFlexibleGpuFilterInputArgs() - { - } - public static new GetFlexibleGpuFilterInputArgs Empty => new GetFlexibleGpuFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetFlexibleGpusFilter.cs b/sdk/dotnet/Inputs/GetFlexibleGpusFilter.cs deleted file mode 100644 index 24837de..0000000 --- a/sdk/dotnet/Inputs/GetFlexibleGpusFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetFlexibleGpusFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetFlexibleGpusFilterArgs() - { - } - public static new GetFlexibleGpusFilterArgs Empty => new GetFlexibleGpusFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetFlexibleGpusFilterArgs.cs b/sdk/dotnet/Inputs/GetFlexibleGpusFilterArgs.cs deleted file mode 100644 index 61ba8bc..0000000 --- a/sdk/dotnet/Inputs/GetFlexibleGpusFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetFlexibleGpusFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetFlexibleGpusFilterInputArgs() - { - } - public static new GetFlexibleGpusFilterInputArgs Empty => new GetFlexibleGpusFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetImageBlockDeviceMapping.cs b/sdk/dotnet/Inputs/GetImageBlockDeviceMapping.cs deleted file mode 100644 index 72ebac1..0000000 --- a/sdk/dotnet/Inputs/GetImageBlockDeviceMapping.cs +++ /dev/null @@ -1,44 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetImageBlockDeviceMappingArgs : global::Pulumi.InvokeArgs - { - [Input("bsus", required: true)] - private List? _bsus; - - /// - /// Information about the BSU volume to create. - /// - public List Bsus - { - get => _bsus ?? (_bsus = new List()); - set => _bsus = value; - } - - /// - /// The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - /// - [Input("deviceName", required: true)] - public string DeviceName { get; set; } = null!; - - /// - /// The name of the virtual device (`ephemeralN`). - /// - [Input("virtualDeviceName", required: true)] - public string VirtualDeviceName { get; set; } = null!; - - public GetImageBlockDeviceMappingArgs() - { - } - public static new GetImageBlockDeviceMappingArgs Empty => new GetImageBlockDeviceMappingArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetImageBlockDeviceMappingArgs.cs b/sdk/dotnet/Inputs/GetImageBlockDeviceMappingArgs.cs deleted file mode 100644 index 0379945..0000000 --- a/sdk/dotnet/Inputs/GetImageBlockDeviceMappingArgs.cs +++ /dev/null @@ -1,44 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetImageBlockDeviceMappingInputArgs : global::Pulumi.ResourceArgs - { - [Input("bsus", required: true)] - private InputList? _bsus; - - /// - /// Information about the BSU volume to create. - /// - public InputList Bsus - { - get => _bsus ?? (_bsus = new InputList()); - set => _bsus = value; - } - - /// - /// The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - /// - [Input("deviceName", required: true)] - public Input DeviceName { get; set; } = null!; - - /// - /// The name of the virtual device (`ephemeralN`). - /// - [Input("virtualDeviceName", required: true)] - public Input VirtualDeviceName { get; set; } = null!; - - public GetImageBlockDeviceMappingInputArgs() - { - } - public static new GetImageBlockDeviceMappingInputArgs Empty => new GetImageBlockDeviceMappingInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetImageBlockDeviceMappingBsus.cs b/sdk/dotnet/Inputs/GetImageBlockDeviceMappingBsus.cs deleted file mode 100644 index 2583ceb..0000000 --- a/sdk/dotnet/Inputs/GetImageBlockDeviceMappingBsus.cs +++ /dev/null @@ -1,53 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetImageBlockDeviceMappingBsusArgs : global::Pulumi.InvokeArgs - { - /// - /// By default or if set to true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - /// - [Input("deleteOnVmDeletion", required: true)] - public bool DeleteOnVmDeletion { get; set; } - - /// - /// The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - /// - [Input("iops", required: true)] - public int Iops { get; set; } - - /// - /// The ID of the snapshot used to create the volume. - /// - [Input("snapshotId", required: true)] - public string SnapshotId { get; set; } = null!; - - /// - /// The size of the volume, in gibibytes (GiB).<br /> - /// If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.<br /> - /// If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. - /// - [Input("volumeSize", required: true)] - public int VolumeSize { get; set; } - - /// - /// The type of the volume (`standard` \| `io1` \| `gp2`). If not specified in the request, a `standard` volume is created.<br /> - /// For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - /// - [Input("volumeType", required: true)] - public string VolumeType { get; set; } = null!; - - public GetImageBlockDeviceMappingBsusArgs() - { - } - public static new GetImageBlockDeviceMappingBsusArgs Empty => new GetImageBlockDeviceMappingBsusArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetImageBlockDeviceMappingBsusArgs.cs b/sdk/dotnet/Inputs/GetImageBlockDeviceMappingBsusArgs.cs deleted file mode 100644 index 6813661..0000000 --- a/sdk/dotnet/Inputs/GetImageBlockDeviceMappingBsusArgs.cs +++ /dev/null @@ -1,53 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetImageBlockDeviceMappingBsusInputArgs : global::Pulumi.ResourceArgs - { - /// - /// By default or if set to true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - /// - [Input("deleteOnVmDeletion", required: true)] - public Input DeleteOnVmDeletion { get; set; } = null!; - - /// - /// The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - /// - [Input("iops", required: true)] - public Input Iops { get; set; } = null!; - - /// - /// The ID of the snapshot used to create the volume. - /// - [Input("snapshotId", required: true)] - public Input SnapshotId { get; set; } = null!; - - /// - /// The size of the volume, in gibibytes (GiB).<br /> - /// If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.<br /> - /// If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. - /// - [Input("volumeSize", required: true)] - public Input VolumeSize { get; set; } = null!; - - /// - /// The type of the volume (`standard` \| `io1` \| `gp2`). If not specified in the request, a `standard` volume is created.<br /> - /// For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - /// - [Input("volumeType", required: true)] - public Input VolumeType { get; set; } = null!; - - public GetImageBlockDeviceMappingBsusInputArgs() - { - } - public static new GetImageBlockDeviceMappingBsusInputArgs Empty => new GetImageBlockDeviceMappingBsusInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetImageExportTaskFilter.cs b/sdk/dotnet/Inputs/GetImageExportTaskFilter.cs deleted file mode 100644 index 8d53a81..0000000 --- a/sdk/dotnet/Inputs/GetImageExportTaskFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetImageExportTaskFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetImageExportTaskFilterArgs() - { - } - public static new GetImageExportTaskFilterArgs Empty => new GetImageExportTaskFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetImageExportTaskFilterArgs.cs b/sdk/dotnet/Inputs/GetImageExportTaskFilterArgs.cs deleted file mode 100644 index d0a5e55..0000000 --- a/sdk/dotnet/Inputs/GetImageExportTaskFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetImageExportTaskFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetImageExportTaskFilterInputArgs() - { - } - public static new GetImageExportTaskFilterInputArgs Empty => new GetImageExportTaskFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetImageExportTasksFilter.cs b/sdk/dotnet/Inputs/GetImageExportTasksFilter.cs deleted file mode 100644 index 5e182b0..0000000 --- a/sdk/dotnet/Inputs/GetImageExportTasksFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetImageExportTasksFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetImageExportTasksFilterArgs() - { - } - public static new GetImageExportTasksFilterArgs Empty => new GetImageExportTasksFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetImageExportTasksFilterArgs.cs b/sdk/dotnet/Inputs/GetImageExportTasksFilterArgs.cs deleted file mode 100644 index 623252a..0000000 --- a/sdk/dotnet/Inputs/GetImageExportTasksFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetImageExportTasksFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetImageExportTasksFilterInputArgs() - { - } - public static new GetImageExportTasksFilterInputArgs Empty => new GetImageExportTasksFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetImageFilter.cs b/sdk/dotnet/Inputs/GetImageFilter.cs deleted file mode 100644 index b628559..0000000 --- a/sdk/dotnet/Inputs/GetImageFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetImageFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetImageFilterArgs() - { - } - public static new GetImageFilterArgs Empty => new GetImageFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetImageFilterArgs.cs b/sdk/dotnet/Inputs/GetImageFilterArgs.cs deleted file mode 100644 index 2aac62f..0000000 --- a/sdk/dotnet/Inputs/GetImageFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetImageFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetImageFilterInputArgs() - { - } - public static new GetImageFilterInputArgs Empty => new GetImageFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetImagesFilter.cs b/sdk/dotnet/Inputs/GetImagesFilter.cs deleted file mode 100644 index c56120a..0000000 --- a/sdk/dotnet/Inputs/GetImagesFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetImagesFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetImagesFilterArgs() - { - } - public static new GetImagesFilterArgs Empty => new GetImagesFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetImagesFilterArgs.cs b/sdk/dotnet/Inputs/GetImagesFilterArgs.cs deleted file mode 100644 index 916df97..0000000 --- a/sdk/dotnet/Inputs/GetImagesFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetImagesFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetImagesFilterInputArgs() - { - } - public static new GetImagesFilterInputArgs Empty => new GetImagesFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetInternetServiceFilter.cs b/sdk/dotnet/Inputs/GetInternetServiceFilter.cs deleted file mode 100644 index 25f5e0f..0000000 --- a/sdk/dotnet/Inputs/GetInternetServiceFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetInternetServiceFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetInternetServiceFilterArgs() - { - } - public static new GetInternetServiceFilterArgs Empty => new GetInternetServiceFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetInternetServiceFilterArgs.cs b/sdk/dotnet/Inputs/GetInternetServiceFilterArgs.cs deleted file mode 100644 index c001f4d..0000000 --- a/sdk/dotnet/Inputs/GetInternetServiceFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetInternetServiceFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetInternetServiceFilterInputArgs() - { - } - public static new GetInternetServiceFilterInputArgs Empty => new GetInternetServiceFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetInternetServicesFilter.cs b/sdk/dotnet/Inputs/GetInternetServicesFilter.cs deleted file mode 100644 index 25445de..0000000 --- a/sdk/dotnet/Inputs/GetInternetServicesFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetInternetServicesFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetInternetServicesFilterArgs() - { - } - public static new GetInternetServicesFilterArgs Empty => new GetInternetServicesFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetInternetServicesFilterArgs.cs b/sdk/dotnet/Inputs/GetInternetServicesFilterArgs.cs deleted file mode 100644 index 5759727..0000000 --- a/sdk/dotnet/Inputs/GetInternetServicesFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetInternetServicesFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetInternetServicesFilterInputArgs() - { - } - public static new GetInternetServicesFilterInputArgs Empty => new GetInternetServicesFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetKeypairFilter.cs b/sdk/dotnet/Inputs/GetKeypairFilter.cs deleted file mode 100644 index aa70d9b..0000000 --- a/sdk/dotnet/Inputs/GetKeypairFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetKeypairFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetKeypairFilterArgs() - { - } - public static new GetKeypairFilterArgs Empty => new GetKeypairFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetKeypairFilterArgs.cs b/sdk/dotnet/Inputs/GetKeypairFilterArgs.cs deleted file mode 100644 index bf770b2..0000000 --- a/sdk/dotnet/Inputs/GetKeypairFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetKeypairFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetKeypairFilterInputArgs() - { - } - public static new GetKeypairFilterInputArgs Empty => new GetKeypairFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetKeypairsFilter.cs b/sdk/dotnet/Inputs/GetKeypairsFilter.cs deleted file mode 100644 index c211b61..0000000 --- a/sdk/dotnet/Inputs/GetKeypairsFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetKeypairsFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetKeypairsFilterArgs() - { - } - public static new GetKeypairsFilterArgs Empty => new GetKeypairsFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetKeypairsFilterArgs.cs b/sdk/dotnet/Inputs/GetKeypairsFilterArgs.cs deleted file mode 100644 index ecbc805..0000000 --- a/sdk/dotnet/Inputs/GetKeypairsFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetKeypairsFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetKeypairsFilterInputArgs() - { - } - public static new GetKeypairsFilterInputArgs Empty => new GetKeypairsFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetLoadBalancerAccessLog.cs b/sdk/dotnet/Inputs/GetLoadBalancerAccessLog.cs deleted file mode 100644 index 5b39e8b..0000000 --- a/sdk/dotnet/Inputs/GetLoadBalancerAccessLog.cs +++ /dev/null @@ -1,44 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetLoadBalancerAccessLogArgs : global::Pulumi.InvokeArgs - { - /// - /// If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osu_bucket_name` parameter is required. - /// - [Input("isEnabled", required: true)] - public bool IsEnabled { get; set; } - - /// - /// The name of the OOS bucket for the access logs. - /// - [Input("osuBucketName", required: true)] - public string OsuBucketName { get; set; } = null!; - - /// - /// The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - /// - [Input("osuBucketPrefix", required: true)] - public string OsuBucketPrefix { get; set; } = null!; - - /// - /// The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - /// - [Input("publicationInterval", required: true)] - public int PublicationInterval { get; set; } - - public GetLoadBalancerAccessLogArgs() - { - } - public static new GetLoadBalancerAccessLogArgs Empty => new GetLoadBalancerAccessLogArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetLoadBalancerAccessLogArgs.cs b/sdk/dotnet/Inputs/GetLoadBalancerAccessLogArgs.cs deleted file mode 100644 index df60b07..0000000 --- a/sdk/dotnet/Inputs/GetLoadBalancerAccessLogArgs.cs +++ /dev/null @@ -1,44 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetLoadBalancerAccessLogInputArgs : global::Pulumi.ResourceArgs - { - /// - /// If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osu_bucket_name` parameter is required. - /// - [Input("isEnabled", required: true)] - public Input IsEnabled { get; set; } = null!; - - /// - /// The name of the OOS bucket for the access logs. - /// - [Input("osuBucketName", required: true)] - public Input OsuBucketName { get; set; } = null!; - - /// - /// The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - /// - [Input("osuBucketPrefix", required: true)] - public Input OsuBucketPrefix { get; set; } = null!; - - /// - /// The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - /// - [Input("publicationInterval", required: true)] - public Input PublicationInterval { get; set; } = null!; - - public GetLoadBalancerAccessLogInputArgs() - { - } - public static new GetLoadBalancerAccessLogInputArgs Empty => new GetLoadBalancerAccessLogInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetLoadBalancerFilter.cs b/sdk/dotnet/Inputs/GetLoadBalancerFilter.cs deleted file mode 100644 index 6c07a03..0000000 --- a/sdk/dotnet/Inputs/GetLoadBalancerFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetLoadBalancerFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetLoadBalancerFilterArgs() - { - } - public static new GetLoadBalancerFilterArgs Empty => new GetLoadBalancerFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetLoadBalancerFilterArgs.cs b/sdk/dotnet/Inputs/GetLoadBalancerFilterArgs.cs deleted file mode 100644 index 37fae8c..0000000 --- a/sdk/dotnet/Inputs/GetLoadBalancerFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetLoadBalancerFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetLoadBalancerFilterInputArgs() - { - } - public static new GetLoadBalancerFilterInputArgs Empty => new GetLoadBalancerFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetLoadBalancerHealthCheck.cs b/sdk/dotnet/Inputs/GetLoadBalancerHealthCheck.cs deleted file mode 100644 index 1eb2b45..0000000 --- a/sdk/dotnet/Inputs/GetLoadBalancerHealthCheck.cs +++ /dev/null @@ -1,62 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetLoadBalancerHealthCheckArgs : global::Pulumi.InvokeArgs - { - /// - /// The number of seconds between two pings (between `5` and `600` both included). - /// - [Input("checkInterval", required: true)] - public int CheckInterval { get; set; } - - /// - /// The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - /// - [Input("healthyThreshold", required: true)] - public int HealthyThreshold { get; set; } - - /// - /// If you use the HTTP or HTTPS protocols, the ping path. - /// - [Input("path", required: true)] - public string Path { get; set; } = null!; - - /// - /// The port number (between `1` and `65535`, both included). - /// - [Input("port", required: true)] - public int Port { get; set; } - - /// - /// The protocol for the URL of the VM (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - [Input("protocol", required: true)] - public string Protocol { get; set; } = null!; - - /// - /// The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - /// - [Input("timeout", required: true)] - public int Timeout { get; set; } - - /// - /// The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - /// - [Input("unhealthyThreshold", required: true)] - public int UnhealthyThreshold { get; set; } - - public GetLoadBalancerHealthCheckArgs() - { - } - public static new GetLoadBalancerHealthCheckArgs Empty => new GetLoadBalancerHealthCheckArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetLoadBalancerHealthCheckArgs.cs b/sdk/dotnet/Inputs/GetLoadBalancerHealthCheckArgs.cs deleted file mode 100644 index 09b75ff..0000000 --- a/sdk/dotnet/Inputs/GetLoadBalancerHealthCheckArgs.cs +++ /dev/null @@ -1,62 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetLoadBalancerHealthCheckInputArgs : global::Pulumi.ResourceArgs - { - /// - /// The number of seconds between two pings (between `5` and `600` both included). - /// - [Input("checkInterval", required: true)] - public Input CheckInterval { get; set; } = null!; - - /// - /// The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - /// - [Input("healthyThreshold", required: true)] - public Input HealthyThreshold { get; set; } = null!; - - /// - /// If you use the HTTP or HTTPS protocols, the ping path. - /// - [Input("path", required: true)] - public Input Path { get; set; } = null!; - - /// - /// The port number (between `1` and `65535`, both included). - /// - [Input("port", required: true)] - public Input Port { get; set; } = null!; - - /// - /// The protocol for the URL of the VM (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - [Input("protocol", required: true)] - public Input Protocol { get; set; } = null!; - - /// - /// The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - /// - [Input("timeout", required: true)] - public Input Timeout { get; set; } = null!; - - /// - /// The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - /// - [Input("unhealthyThreshold", required: true)] - public Input UnhealthyThreshold { get; set; } = null!; - - public GetLoadBalancerHealthCheckInputArgs() - { - } - public static new GetLoadBalancerHealthCheckInputArgs Empty => new GetLoadBalancerHealthCheckInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetLoadBalancerListener.cs b/sdk/dotnet/Inputs/GetLoadBalancerListener.cs deleted file mode 100644 index e539b1b..0000000 --- a/sdk/dotnet/Inputs/GetLoadBalancerListener.cs +++ /dev/null @@ -1,62 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetLoadBalancerListenerArgs : global::Pulumi.InvokeArgs - { - /// - /// The port on which the back-end VM is listening (between `1` and `65535`, both included). - /// - [Input("backendPort", required: true)] - public int BackendPort { get; set; } - - /// - /// The protocol for routing traffic to back-end VMs (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - [Input("backendProtocol", required: true)] - public string BackendProtocol { get; set; } = null!; - - /// - /// The port on which the load balancer is listening (between `1` and `65535`, both included). - /// - [Input("loadBalancerPort", required: true)] - public int LoadBalancerPort { get; set; } - - /// - /// The routing protocol (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - [Input("loadBalancerProtocol", required: true)] - public string LoadBalancerProtocol { get; set; } = null!; - - [Input("policyNames", required: true)] - private List? _policyNames; - - /// - /// The names of the policies. If there are no policies enabled, the list is empty. - /// - public List PolicyNames - { - get => _policyNames ?? (_policyNames = new List()); - set => _policyNames = value; - } - - /// - /// The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > OUTSCALE Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - /// - [Input("serverCertificateId", required: true)] - public string ServerCertificateId { get; set; } = null!; - - public GetLoadBalancerListenerArgs() - { - } - public static new GetLoadBalancerListenerArgs Empty => new GetLoadBalancerListenerArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetLoadBalancerListenerArgs.cs b/sdk/dotnet/Inputs/GetLoadBalancerListenerArgs.cs deleted file mode 100644 index b5aa877..0000000 --- a/sdk/dotnet/Inputs/GetLoadBalancerListenerArgs.cs +++ /dev/null @@ -1,62 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetLoadBalancerListenerInputArgs : global::Pulumi.ResourceArgs - { - /// - /// The port on which the back-end VM is listening (between `1` and `65535`, both included). - /// - [Input("backendPort", required: true)] - public Input BackendPort { get; set; } = null!; - - /// - /// The protocol for routing traffic to back-end VMs (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - [Input("backendProtocol", required: true)] - public Input BackendProtocol { get; set; } = null!; - - /// - /// The port on which the load balancer is listening (between `1` and `65535`, both included). - /// - [Input("loadBalancerPort", required: true)] - public Input LoadBalancerPort { get; set; } = null!; - - /// - /// The routing protocol (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - [Input("loadBalancerProtocol", required: true)] - public Input LoadBalancerProtocol { get; set; } = null!; - - [Input("policyNames", required: true)] - private InputList? _policyNames; - - /// - /// The names of the policies. If there are no policies enabled, the list is empty. - /// - public InputList PolicyNames - { - get => _policyNames ?? (_policyNames = new InputList()); - set => _policyNames = value; - } - - /// - /// The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > OUTSCALE Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - /// - [Input("serverCertificateId", required: true)] - public Input ServerCertificateId { get; set; } = null!; - - public GetLoadBalancerListenerInputArgs() - { - } - public static new GetLoadBalancerListenerInputArgs Empty => new GetLoadBalancerListenerInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetLoadBalancerTag.cs b/sdk/dotnet/Inputs/GetLoadBalancerTag.cs deleted file mode 100644 index b0aeeb1..0000000 --- a/sdk/dotnet/Inputs/GetLoadBalancerTag.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetLoadBalancerTagArgs : global::Pulumi.InvokeArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key", required: true)] - public string Key { get; set; } = null!; - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value", required: true)] - public string Value { get; set; } = null!; - - public GetLoadBalancerTagArgs() - { - } - public static new GetLoadBalancerTagArgs Empty => new GetLoadBalancerTagArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetLoadBalancerTagArgs.cs b/sdk/dotnet/Inputs/GetLoadBalancerTagArgs.cs deleted file mode 100644 index 40850e8..0000000 --- a/sdk/dotnet/Inputs/GetLoadBalancerTagArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetLoadBalancerTagInputArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key", required: true)] - public Input Key { get; set; } = null!; - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value", required: true)] - public Input Value { get; set; } = null!; - - public GetLoadBalancerTagInputArgs() - { - } - public static new GetLoadBalancerTagInputArgs Empty => new GetLoadBalancerTagInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetLoadBalancerTagsFilter.cs b/sdk/dotnet/Inputs/GetLoadBalancerTagsFilter.cs deleted file mode 100644 index b7adb0e..0000000 --- a/sdk/dotnet/Inputs/GetLoadBalancerTagsFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetLoadBalancerTagsFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetLoadBalancerTagsFilterArgs() - { - } - public static new GetLoadBalancerTagsFilterArgs Empty => new GetLoadBalancerTagsFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetLoadBalancerTagsFilterArgs.cs b/sdk/dotnet/Inputs/GetLoadBalancerTagsFilterArgs.cs deleted file mode 100644 index 19d9613..0000000 --- a/sdk/dotnet/Inputs/GetLoadBalancerTagsFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetLoadBalancerTagsFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetLoadBalancerTagsFilterInputArgs() - { - } - public static new GetLoadBalancerTagsFilterInputArgs Empty => new GetLoadBalancerTagsFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetLoadBalancerVmHealthFilter.cs b/sdk/dotnet/Inputs/GetLoadBalancerVmHealthFilter.cs deleted file mode 100644 index f848f33..0000000 --- a/sdk/dotnet/Inputs/GetLoadBalancerVmHealthFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetLoadBalancerVmHealthFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetLoadBalancerVmHealthFilterArgs() - { - } - public static new GetLoadBalancerVmHealthFilterArgs Empty => new GetLoadBalancerVmHealthFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetLoadBalancerVmHealthFilterArgs.cs b/sdk/dotnet/Inputs/GetLoadBalancerVmHealthFilterArgs.cs deleted file mode 100644 index 916dae8..0000000 --- a/sdk/dotnet/Inputs/GetLoadBalancerVmHealthFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetLoadBalancerVmHealthFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetLoadBalancerVmHealthFilterInputArgs() - { - } - public static new GetLoadBalancerVmHealthFilterInputArgs Empty => new GetLoadBalancerVmHealthFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetLoadBalancersFilter.cs b/sdk/dotnet/Inputs/GetLoadBalancersFilter.cs deleted file mode 100644 index e1bafe8..0000000 --- a/sdk/dotnet/Inputs/GetLoadBalancersFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetLoadBalancersFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetLoadBalancersFilterArgs() - { - } - public static new GetLoadBalancersFilterArgs Empty => new GetLoadBalancersFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetLoadBalancersFilterArgs.cs b/sdk/dotnet/Inputs/GetLoadBalancersFilterArgs.cs deleted file mode 100644 index 8a985de..0000000 --- a/sdk/dotnet/Inputs/GetLoadBalancersFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetLoadBalancersFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetLoadBalancersFilterInputArgs() - { - } - public static new GetLoadBalancersFilterInputArgs Empty => new GetLoadBalancersFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetNatServiceFilter.cs b/sdk/dotnet/Inputs/GetNatServiceFilter.cs deleted file mode 100644 index 6e99855..0000000 --- a/sdk/dotnet/Inputs/GetNatServiceFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetNatServiceFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetNatServiceFilterArgs() - { - } - public static new GetNatServiceFilterArgs Empty => new GetNatServiceFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetNatServiceFilterArgs.cs b/sdk/dotnet/Inputs/GetNatServiceFilterArgs.cs deleted file mode 100644 index 1c98425..0000000 --- a/sdk/dotnet/Inputs/GetNatServiceFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetNatServiceFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetNatServiceFilterInputArgs() - { - } - public static new GetNatServiceFilterInputArgs Empty => new GetNatServiceFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetNatServicesFilter.cs b/sdk/dotnet/Inputs/GetNatServicesFilter.cs deleted file mode 100644 index 778d83f..0000000 --- a/sdk/dotnet/Inputs/GetNatServicesFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetNatServicesFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetNatServicesFilterArgs() - { - } - public static new GetNatServicesFilterArgs Empty => new GetNatServicesFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetNatServicesFilterArgs.cs b/sdk/dotnet/Inputs/GetNatServicesFilterArgs.cs deleted file mode 100644 index 030709c..0000000 --- a/sdk/dotnet/Inputs/GetNatServicesFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetNatServicesFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetNatServicesFilterInputArgs() - { - } - public static new GetNatServicesFilterInputArgs Empty => new GetNatServicesFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetNetAccessPointFilter.cs b/sdk/dotnet/Inputs/GetNetAccessPointFilter.cs deleted file mode 100644 index 2662bb5..0000000 --- a/sdk/dotnet/Inputs/GetNetAccessPointFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetNetAccessPointFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetNetAccessPointFilterArgs() - { - } - public static new GetNetAccessPointFilterArgs Empty => new GetNetAccessPointFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetNetAccessPointFilterArgs.cs b/sdk/dotnet/Inputs/GetNetAccessPointFilterArgs.cs deleted file mode 100644 index 03f7a20..0000000 --- a/sdk/dotnet/Inputs/GetNetAccessPointFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetNetAccessPointFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetNetAccessPointFilterInputArgs() - { - } - public static new GetNetAccessPointFilterInputArgs Empty => new GetNetAccessPointFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetNetAccessPointServicesFilter.cs b/sdk/dotnet/Inputs/GetNetAccessPointServicesFilter.cs deleted file mode 100644 index 7e2fbcf..0000000 --- a/sdk/dotnet/Inputs/GetNetAccessPointServicesFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetNetAccessPointServicesFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetNetAccessPointServicesFilterArgs() - { - } - public static new GetNetAccessPointServicesFilterArgs Empty => new GetNetAccessPointServicesFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetNetAccessPointServicesFilterArgs.cs b/sdk/dotnet/Inputs/GetNetAccessPointServicesFilterArgs.cs deleted file mode 100644 index 3610f20..0000000 --- a/sdk/dotnet/Inputs/GetNetAccessPointServicesFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetNetAccessPointServicesFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetNetAccessPointServicesFilterInputArgs() - { - } - public static new GetNetAccessPointServicesFilterInputArgs Empty => new GetNetAccessPointServicesFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetNetAccessPointsFilter.cs b/sdk/dotnet/Inputs/GetNetAccessPointsFilter.cs deleted file mode 100644 index 07fe5c8..0000000 --- a/sdk/dotnet/Inputs/GetNetAccessPointsFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetNetAccessPointsFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetNetAccessPointsFilterArgs() - { - } - public static new GetNetAccessPointsFilterArgs Empty => new GetNetAccessPointsFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetNetAccessPointsFilterArgs.cs b/sdk/dotnet/Inputs/GetNetAccessPointsFilterArgs.cs deleted file mode 100644 index 0bc261d..0000000 --- a/sdk/dotnet/Inputs/GetNetAccessPointsFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetNetAccessPointsFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetNetAccessPointsFilterInputArgs() - { - } - public static new GetNetAccessPointsFilterInputArgs Empty => new GetNetAccessPointsFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetNetFilter.cs b/sdk/dotnet/Inputs/GetNetFilter.cs deleted file mode 100644 index 049ec4c..0000000 --- a/sdk/dotnet/Inputs/GetNetFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetNetFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetNetFilterArgs() - { - } - public static new GetNetFilterArgs Empty => new GetNetFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetNetFilterArgs.cs b/sdk/dotnet/Inputs/GetNetFilterArgs.cs deleted file mode 100644 index 3d72836..0000000 --- a/sdk/dotnet/Inputs/GetNetFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetNetFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetNetFilterInputArgs() - { - } - public static new GetNetFilterInputArgs Empty => new GetNetFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetNetPeeringFilter.cs b/sdk/dotnet/Inputs/GetNetPeeringFilter.cs deleted file mode 100644 index d71fe6a..0000000 --- a/sdk/dotnet/Inputs/GetNetPeeringFilter.cs +++ /dev/null @@ -1,34 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetNetPeeringFilterArgs : global::Pulumi.InvokeArgs - { - /// - /// The state of the Net peering (`pending-acceptance` \| `active` \| `rejected` \| `failed` \| `expired` \| `deleted`). - /// - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetNetPeeringFilterArgs() - { - } - public static new GetNetPeeringFilterArgs Empty => new GetNetPeeringFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetNetPeeringFilterArgs.cs b/sdk/dotnet/Inputs/GetNetPeeringFilterArgs.cs deleted file mode 100644 index 60ee136..0000000 --- a/sdk/dotnet/Inputs/GetNetPeeringFilterArgs.cs +++ /dev/null @@ -1,34 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetNetPeeringFilterInputArgs : global::Pulumi.ResourceArgs - { - /// - /// The state of the Net peering (`pending-acceptance` \| `active` \| `rejected` \| `failed` \| `expired` \| `deleted`). - /// - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetNetPeeringFilterInputArgs() - { - } - public static new GetNetPeeringFilterInputArgs Empty => new GetNetPeeringFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetNetPeeringsFilter.cs b/sdk/dotnet/Inputs/GetNetPeeringsFilter.cs deleted file mode 100644 index 50188b9..0000000 --- a/sdk/dotnet/Inputs/GetNetPeeringsFilter.cs +++ /dev/null @@ -1,34 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetNetPeeringsFilterArgs : global::Pulumi.InvokeArgs - { - /// - /// The state of the Net peering (`pending-acceptance` \| `active` \| `rejected` \| `failed` \| `expired` \| `deleted`). - /// - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetNetPeeringsFilterArgs() - { - } - public static new GetNetPeeringsFilterArgs Empty => new GetNetPeeringsFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetNetPeeringsFilterArgs.cs b/sdk/dotnet/Inputs/GetNetPeeringsFilterArgs.cs deleted file mode 100644 index 87c9c99..0000000 --- a/sdk/dotnet/Inputs/GetNetPeeringsFilterArgs.cs +++ /dev/null @@ -1,34 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetNetPeeringsFilterInputArgs : global::Pulumi.ResourceArgs - { - /// - /// The state of the Net peering (`pending-acceptance` \| `active` \| `rejected` \| `failed` \| `expired` \| `deleted`). - /// - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetNetPeeringsFilterInputArgs() - { - } - public static new GetNetPeeringsFilterInputArgs Empty => new GetNetPeeringsFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetNetsFilter.cs b/sdk/dotnet/Inputs/GetNetsFilter.cs deleted file mode 100644 index d644e03..0000000 --- a/sdk/dotnet/Inputs/GetNetsFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetNetsFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetNetsFilterArgs() - { - } - public static new GetNetsFilterArgs Empty => new GetNetsFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetNetsFilterArgs.cs b/sdk/dotnet/Inputs/GetNetsFilterArgs.cs deleted file mode 100644 index e0e3037..0000000 --- a/sdk/dotnet/Inputs/GetNetsFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetNetsFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetNetsFilterInputArgs() - { - } - public static new GetNetsFilterInputArgs Empty => new GetNetsFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetNicFilter.cs b/sdk/dotnet/Inputs/GetNicFilter.cs deleted file mode 100644 index d5110f8..0000000 --- a/sdk/dotnet/Inputs/GetNicFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetNicFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetNicFilterArgs() - { - } - public static new GetNicFilterArgs Empty => new GetNicFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetNicFilterArgs.cs b/sdk/dotnet/Inputs/GetNicFilterArgs.cs deleted file mode 100644 index 6a0b52d..0000000 --- a/sdk/dotnet/Inputs/GetNicFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetNicFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetNicFilterInputArgs() - { - } - public static new GetNicFilterInputArgs Empty => new GetNicFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetNicsFilter.cs b/sdk/dotnet/Inputs/GetNicsFilter.cs deleted file mode 100644 index 609ab7e..0000000 --- a/sdk/dotnet/Inputs/GetNicsFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetNicsFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetNicsFilterArgs() - { - } - public static new GetNicsFilterArgs Empty => new GetNicsFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetNicsFilterArgs.cs b/sdk/dotnet/Inputs/GetNicsFilterArgs.cs deleted file mode 100644 index b6267cd..0000000 --- a/sdk/dotnet/Inputs/GetNicsFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetNicsFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetNicsFilterInputArgs() - { - } - public static new GetNicsFilterInputArgs Empty => new GetNicsFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetProductTypeFilter.cs b/sdk/dotnet/Inputs/GetProductTypeFilter.cs deleted file mode 100644 index 46061e9..0000000 --- a/sdk/dotnet/Inputs/GetProductTypeFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetProductTypeFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetProductTypeFilterArgs() - { - } - public static new GetProductTypeFilterArgs Empty => new GetProductTypeFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetProductTypeFilterArgs.cs b/sdk/dotnet/Inputs/GetProductTypeFilterArgs.cs deleted file mode 100644 index fc9ce69..0000000 --- a/sdk/dotnet/Inputs/GetProductTypeFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetProductTypeFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetProductTypeFilterInputArgs() - { - } - public static new GetProductTypeFilterInputArgs Empty => new GetProductTypeFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetProductTypesFilter.cs b/sdk/dotnet/Inputs/GetProductTypesFilter.cs deleted file mode 100644 index f42b25e..0000000 --- a/sdk/dotnet/Inputs/GetProductTypesFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetProductTypesFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetProductTypesFilterArgs() - { - } - public static new GetProductTypesFilterArgs Empty => new GetProductTypesFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetProductTypesFilterArgs.cs b/sdk/dotnet/Inputs/GetProductTypesFilterArgs.cs deleted file mode 100644 index c292add..0000000 --- a/sdk/dotnet/Inputs/GetProductTypesFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetProductTypesFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetProductTypesFilterInputArgs() - { - } - public static new GetProductTypesFilterInputArgs Empty => new GetProductTypesFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetPublicIpFilter.cs b/sdk/dotnet/Inputs/GetPublicIpFilter.cs deleted file mode 100644 index 2cc2c5c..0000000 --- a/sdk/dotnet/Inputs/GetPublicIpFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetPublicIpFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetPublicIpFilterArgs() - { - } - public static new GetPublicIpFilterArgs Empty => new GetPublicIpFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetPublicIpFilterArgs.cs b/sdk/dotnet/Inputs/GetPublicIpFilterArgs.cs deleted file mode 100644 index fb14fbe..0000000 --- a/sdk/dotnet/Inputs/GetPublicIpFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetPublicIpFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetPublicIpFilterInputArgs() - { - } - public static new GetPublicIpFilterInputArgs Empty => new GetPublicIpFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetPublicIpsFilter.cs b/sdk/dotnet/Inputs/GetPublicIpsFilter.cs deleted file mode 100644 index 29570ab..0000000 --- a/sdk/dotnet/Inputs/GetPublicIpsFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetPublicIpsFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetPublicIpsFilterArgs() - { - } - public static new GetPublicIpsFilterArgs Empty => new GetPublicIpsFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetPublicIpsFilterArgs.cs b/sdk/dotnet/Inputs/GetPublicIpsFilterArgs.cs deleted file mode 100644 index 4f28335..0000000 --- a/sdk/dotnet/Inputs/GetPublicIpsFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetPublicIpsFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetPublicIpsFilterInputArgs() - { - } - public static new GetPublicIpsFilterInputArgs Empty => new GetPublicIpsFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetQuotaFilter.cs b/sdk/dotnet/Inputs/GetQuotaFilter.cs deleted file mode 100644 index b1c99e3..0000000 --- a/sdk/dotnet/Inputs/GetQuotaFilter.cs +++ /dev/null @@ -1,34 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetQuotaFilterArgs : global::Pulumi.InvokeArgs - { - /// - /// The unique name of the quota. - /// - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetQuotaFilterArgs() - { - } - public static new GetQuotaFilterArgs Empty => new GetQuotaFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetQuotaFilterArgs.cs b/sdk/dotnet/Inputs/GetQuotaFilterArgs.cs deleted file mode 100644 index 8cc03d7..0000000 --- a/sdk/dotnet/Inputs/GetQuotaFilterArgs.cs +++ /dev/null @@ -1,34 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetQuotaFilterInputArgs : global::Pulumi.ResourceArgs - { - /// - /// The unique name of the quota. - /// - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetQuotaFilterInputArgs() - { - } - public static new GetQuotaFilterInputArgs Empty => new GetQuotaFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetQuotasFilter.cs b/sdk/dotnet/Inputs/GetQuotasFilter.cs deleted file mode 100644 index 94cf50f..0000000 --- a/sdk/dotnet/Inputs/GetQuotasFilter.cs +++ /dev/null @@ -1,34 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetQuotasFilterArgs : global::Pulumi.InvokeArgs - { - /// - /// The unique name of the quota. - /// - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetQuotasFilterArgs() - { - } - public static new GetQuotasFilterArgs Empty => new GetQuotasFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetQuotasFilterArgs.cs b/sdk/dotnet/Inputs/GetQuotasFilterArgs.cs deleted file mode 100644 index d7e2e71..0000000 --- a/sdk/dotnet/Inputs/GetQuotasFilterArgs.cs +++ /dev/null @@ -1,34 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetQuotasFilterInputArgs : global::Pulumi.ResourceArgs - { - /// - /// The unique name of the quota. - /// - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetQuotasFilterInputArgs() - { - } - public static new GetQuotasFilterInputArgs Empty => new GetQuotasFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetRouteTableFilter.cs b/sdk/dotnet/Inputs/GetRouteTableFilter.cs deleted file mode 100644 index 1b43f93..0000000 --- a/sdk/dotnet/Inputs/GetRouteTableFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetRouteTableFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetRouteTableFilterArgs() - { - } - public static new GetRouteTableFilterArgs Empty => new GetRouteTableFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetRouteTableFilterArgs.cs b/sdk/dotnet/Inputs/GetRouteTableFilterArgs.cs deleted file mode 100644 index 7245bf2..0000000 --- a/sdk/dotnet/Inputs/GetRouteTableFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetRouteTableFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetRouteTableFilterInputArgs() - { - } - public static new GetRouteTableFilterInputArgs Empty => new GetRouteTableFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetRouteTablesFilter.cs b/sdk/dotnet/Inputs/GetRouteTablesFilter.cs deleted file mode 100644 index 89a78d2..0000000 --- a/sdk/dotnet/Inputs/GetRouteTablesFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetRouteTablesFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetRouteTablesFilterArgs() - { - } - public static new GetRouteTablesFilterArgs Empty => new GetRouteTablesFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetRouteTablesFilterArgs.cs b/sdk/dotnet/Inputs/GetRouteTablesFilterArgs.cs deleted file mode 100644 index 2fe6888..0000000 --- a/sdk/dotnet/Inputs/GetRouteTablesFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetRouteTablesFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetRouteTablesFilterInputArgs() - { - } - public static new GetRouteTablesFilterInputArgs Empty => new GetRouteTablesFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetSecurityGroupFilter.cs b/sdk/dotnet/Inputs/GetSecurityGroupFilter.cs deleted file mode 100644 index 5620949..0000000 --- a/sdk/dotnet/Inputs/GetSecurityGroupFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetSecurityGroupFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetSecurityGroupFilterArgs() - { - } - public static new GetSecurityGroupFilterArgs Empty => new GetSecurityGroupFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetSecurityGroupFilterArgs.cs b/sdk/dotnet/Inputs/GetSecurityGroupFilterArgs.cs deleted file mode 100644 index d2ee193..0000000 --- a/sdk/dotnet/Inputs/GetSecurityGroupFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetSecurityGroupFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetSecurityGroupFilterInputArgs() - { - } - public static new GetSecurityGroupFilterInputArgs Empty => new GetSecurityGroupFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetSecurityGroupsFilter.cs b/sdk/dotnet/Inputs/GetSecurityGroupsFilter.cs deleted file mode 100644 index 3693a72..0000000 --- a/sdk/dotnet/Inputs/GetSecurityGroupsFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetSecurityGroupsFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetSecurityGroupsFilterArgs() - { - } - public static new GetSecurityGroupsFilterArgs Empty => new GetSecurityGroupsFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetSecurityGroupsFilterArgs.cs b/sdk/dotnet/Inputs/GetSecurityGroupsFilterArgs.cs deleted file mode 100644 index 491568d..0000000 --- a/sdk/dotnet/Inputs/GetSecurityGroupsFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetSecurityGroupsFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetSecurityGroupsFilterInputArgs() - { - } - public static new GetSecurityGroupsFilterInputArgs Empty => new GetSecurityGroupsFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetServerCertificateFilter.cs b/sdk/dotnet/Inputs/GetServerCertificateFilter.cs deleted file mode 100644 index e704e10..0000000 --- a/sdk/dotnet/Inputs/GetServerCertificateFilter.cs +++ /dev/null @@ -1,34 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetServerCertificateFilterArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the server certificate. - /// - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetServerCertificateFilterArgs() - { - } - public static new GetServerCertificateFilterArgs Empty => new GetServerCertificateFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetServerCertificateFilterArgs.cs b/sdk/dotnet/Inputs/GetServerCertificateFilterArgs.cs deleted file mode 100644 index cf183e6..0000000 --- a/sdk/dotnet/Inputs/GetServerCertificateFilterArgs.cs +++ /dev/null @@ -1,34 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetServerCertificateFilterInputArgs : global::Pulumi.ResourceArgs - { - /// - /// The name of the server certificate. - /// - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetServerCertificateFilterInputArgs() - { - } - public static new GetServerCertificateFilterInputArgs Empty => new GetServerCertificateFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetServerCertificatesFilter.cs b/sdk/dotnet/Inputs/GetServerCertificatesFilter.cs deleted file mode 100644 index fdb2d84..0000000 --- a/sdk/dotnet/Inputs/GetServerCertificatesFilter.cs +++ /dev/null @@ -1,34 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetServerCertificatesFilterArgs : global::Pulumi.InvokeArgs - { - /// - /// The name of the server certificate. - /// - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetServerCertificatesFilterArgs() - { - } - public static new GetServerCertificatesFilterArgs Empty => new GetServerCertificatesFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetServerCertificatesFilterArgs.cs b/sdk/dotnet/Inputs/GetServerCertificatesFilterArgs.cs deleted file mode 100644 index 735ebea..0000000 --- a/sdk/dotnet/Inputs/GetServerCertificatesFilterArgs.cs +++ /dev/null @@ -1,34 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetServerCertificatesFilterInputArgs : global::Pulumi.ResourceArgs - { - /// - /// The name of the server certificate. - /// - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetServerCertificatesFilterInputArgs() - { - } - public static new GetServerCertificatesFilterInputArgs Empty => new GetServerCertificatesFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetSnapshotExportTaskFilter.cs b/sdk/dotnet/Inputs/GetSnapshotExportTaskFilter.cs deleted file mode 100644 index 10e4c6b..0000000 --- a/sdk/dotnet/Inputs/GetSnapshotExportTaskFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetSnapshotExportTaskFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetSnapshotExportTaskFilterArgs() - { - } - public static new GetSnapshotExportTaskFilterArgs Empty => new GetSnapshotExportTaskFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetSnapshotExportTaskFilterArgs.cs b/sdk/dotnet/Inputs/GetSnapshotExportTaskFilterArgs.cs deleted file mode 100644 index 9a8fd9a..0000000 --- a/sdk/dotnet/Inputs/GetSnapshotExportTaskFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetSnapshotExportTaskFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetSnapshotExportTaskFilterInputArgs() - { - } - public static new GetSnapshotExportTaskFilterInputArgs Empty => new GetSnapshotExportTaskFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetSnapshotExportTasksFilter.cs b/sdk/dotnet/Inputs/GetSnapshotExportTasksFilter.cs deleted file mode 100644 index c765ce8..0000000 --- a/sdk/dotnet/Inputs/GetSnapshotExportTasksFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetSnapshotExportTasksFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetSnapshotExportTasksFilterArgs() - { - } - public static new GetSnapshotExportTasksFilterArgs Empty => new GetSnapshotExportTasksFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetSnapshotExportTasksFilterArgs.cs b/sdk/dotnet/Inputs/GetSnapshotExportTasksFilterArgs.cs deleted file mode 100644 index 25ca94e..0000000 --- a/sdk/dotnet/Inputs/GetSnapshotExportTasksFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetSnapshotExportTasksFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetSnapshotExportTasksFilterInputArgs() - { - } - public static new GetSnapshotExportTasksFilterInputArgs Empty => new GetSnapshotExportTasksFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetSnapshotFilter.cs b/sdk/dotnet/Inputs/GetSnapshotFilter.cs deleted file mode 100644 index 3c20f6b..0000000 --- a/sdk/dotnet/Inputs/GetSnapshotFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetSnapshotFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetSnapshotFilterArgs() - { - } - public static new GetSnapshotFilterArgs Empty => new GetSnapshotFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetSnapshotFilterArgs.cs b/sdk/dotnet/Inputs/GetSnapshotFilterArgs.cs deleted file mode 100644 index f52067a..0000000 --- a/sdk/dotnet/Inputs/GetSnapshotFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetSnapshotFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetSnapshotFilterInputArgs() - { - } - public static new GetSnapshotFilterInputArgs Empty => new GetSnapshotFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetSnapshotsFilter.cs b/sdk/dotnet/Inputs/GetSnapshotsFilter.cs deleted file mode 100644 index 458df2a..0000000 --- a/sdk/dotnet/Inputs/GetSnapshotsFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetSnapshotsFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetSnapshotsFilterArgs() - { - } - public static new GetSnapshotsFilterArgs Empty => new GetSnapshotsFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetSnapshotsFilterArgs.cs b/sdk/dotnet/Inputs/GetSnapshotsFilterArgs.cs deleted file mode 100644 index 8c02f2c..0000000 --- a/sdk/dotnet/Inputs/GetSnapshotsFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetSnapshotsFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetSnapshotsFilterInputArgs() - { - } - public static new GetSnapshotsFilterInputArgs Empty => new GetSnapshotsFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetSubnetFilter.cs b/sdk/dotnet/Inputs/GetSubnetFilter.cs deleted file mode 100644 index 7ddfced..0000000 --- a/sdk/dotnet/Inputs/GetSubnetFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetSubnetFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetSubnetFilterArgs() - { - } - public static new GetSubnetFilterArgs Empty => new GetSubnetFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetSubnetFilterArgs.cs b/sdk/dotnet/Inputs/GetSubnetFilterArgs.cs deleted file mode 100644 index 1224605..0000000 --- a/sdk/dotnet/Inputs/GetSubnetFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetSubnetFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetSubnetFilterInputArgs() - { - } - public static new GetSubnetFilterInputArgs Empty => new GetSubnetFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetSubnetsFilter.cs b/sdk/dotnet/Inputs/GetSubnetsFilter.cs deleted file mode 100644 index 9a1f1b9..0000000 --- a/sdk/dotnet/Inputs/GetSubnetsFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetSubnetsFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetSubnetsFilterArgs() - { - } - public static new GetSubnetsFilterArgs Empty => new GetSubnetsFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetSubnetsFilterArgs.cs b/sdk/dotnet/Inputs/GetSubnetsFilterArgs.cs deleted file mode 100644 index ec0ac0c..0000000 --- a/sdk/dotnet/Inputs/GetSubnetsFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetSubnetsFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetSubnetsFilterInputArgs() - { - } - public static new GetSubnetsFilterInputArgs Empty => new GetSubnetsFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetSubregionsFilter.cs b/sdk/dotnet/Inputs/GetSubregionsFilter.cs deleted file mode 100644 index dbd1d14..0000000 --- a/sdk/dotnet/Inputs/GetSubregionsFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetSubregionsFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetSubregionsFilterArgs() - { - } - public static new GetSubregionsFilterArgs Empty => new GetSubregionsFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetSubregionsFilterArgs.cs b/sdk/dotnet/Inputs/GetSubregionsFilterArgs.cs deleted file mode 100644 index 4fc562b..0000000 --- a/sdk/dotnet/Inputs/GetSubregionsFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetSubregionsFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetSubregionsFilterInputArgs() - { - } - public static new GetSubregionsFilterInputArgs Empty => new GetSubregionsFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetTagFilter.cs b/sdk/dotnet/Inputs/GetTagFilter.cs deleted file mode 100644 index 0c62862..0000000 --- a/sdk/dotnet/Inputs/GetTagFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetTagFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetTagFilterArgs() - { - } - public static new GetTagFilterArgs Empty => new GetTagFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetTagFilterArgs.cs b/sdk/dotnet/Inputs/GetTagFilterArgs.cs deleted file mode 100644 index 8e11d31..0000000 --- a/sdk/dotnet/Inputs/GetTagFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetTagFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetTagFilterInputArgs() - { - } - public static new GetTagFilterInputArgs Empty => new GetTagFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetVirtualGatewayFilter.cs b/sdk/dotnet/Inputs/GetVirtualGatewayFilter.cs deleted file mode 100644 index 28046d2..0000000 --- a/sdk/dotnet/Inputs/GetVirtualGatewayFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetVirtualGatewayFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetVirtualGatewayFilterArgs() - { - } - public static new GetVirtualGatewayFilterArgs Empty => new GetVirtualGatewayFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetVirtualGatewayFilterArgs.cs b/sdk/dotnet/Inputs/GetVirtualGatewayFilterArgs.cs deleted file mode 100644 index 50554fd..0000000 --- a/sdk/dotnet/Inputs/GetVirtualGatewayFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetVirtualGatewayFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetVirtualGatewayFilterInputArgs() - { - } - public static new GetVirtualGatewayFilterInputArgs Empty => new GetVirtualGatewayFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetVirtualGatewaysFilter.cs b/sdk/dotnet/Inputs/GetVirtualGatewaysFilter.cs deleted file mode 100644 index 666372d..0000000 --- a/sdk/dotnet/Inputs/GetVirtualGatewaysFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetVirtualGatewaysFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetVirtualGatewaysFilterArgs() - { - } - public static new GetVirtualGatewaysFilterArgs Empty => new GetVirtualGatewaysFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetVirtualGatewaysFilterArgs.cs b/sdk/dotnet/Inputs/GetVirtualGatewaysFilterArgs.cs deleted file mode 100644 index b4c9346..0000000 --- a/sdk/dotnet/Inputs/GetVirtualGatewaysFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetVirtualGatewaysFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetVirtualGatewaysFilterInputArgs() - { - } - public static new GetVirtualGatewaysFilterInputArgs Empty => new GetVirtualGatewaysFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetVmFilter.cs b/sdk/dotnet/Inputs/GetVmFilter.cs deleted file mode 100644 index eccedd7..0000000 --- a/sdk/dotnet/Inputs/GetVmFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetVmFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetVmFilterArgs() - { - } - public static new GetVmFilterArgs Empty => new GetVmFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetVmFilterArgs.cs b/sdk/dotnet/Inputs/GetVmFilterArgs.cs deleted file mode 100644 index 51f24cd..0000000 --- a/sdk/dotnet/Inputs/GetVmFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetVmFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetVmFilterInputArgs() - { - } - public static new GetVmFilterInputArgs Empty => new GetVmFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetVmStateFilter.cs b/sdk/dotnet/Inputs/GetVmStateFilter.cs deleted file mode 100644 index 81f1f33..0000000 --- a/sdk/dotnet/Inputs/GetVmStateFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetVmStateFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetVmStateFilterArgs() - { - } - public static new GetVmStateFilterArgs Empty => new GetVmStateFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetVmStateFilterArgs.cs b/sdk/dotnet/Inputs/GetVmStateFilterArgs.cs deleted file mode 100644 index 4d1511e..0000000 --- a/sdk/dotnet/Inputs/GetVmStateFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetVmStateFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetVmStateFilterInputArgs() - { - } - public static new GetVmStateFilterInputArgs Empty => new GetVmStateFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetVmStatesFilter.cs b/sdk/dotnet/Inputs/GetVmStatesFilter.cs deleted file mode 100644 index e4ea632..0000000 --- a/sdk/dotnet/Inputs/GetVmStatesFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetVmStatesFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetVmStatesFilterArgs() - { - } - public static new GetVmStatesFilterArgs Empty => new GetVmStatesFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetVmStatesFilterArgs.cs b/sdk/dotnet/Inputs/GetVmStatesFilterArgs.cs deleted file mode 100644 index 52b49fb..0000000 --- a/sdk/dotnet/Inputs/GetVmStatesFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetVmStatesFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetVmStatesFilterInputArgs() - { - } - public static new GetVmStatesFilterInputArgs Empty => new GetVmStatesFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetVmTypesFilter.cs b/sdk/dotnet/Inputs/GetVmTypesFilter.cs deleted file mode 100644 index da85f26..0000000 --- a/sdk/dotnet/Inputs/GetVmTypesFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetVmTypesFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetVmTypesFilterArgs() - { - } - public static new GetVmTypesFilterArgs Empty => new GetVmTypesFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetVmTypesFilterArgs.cs b/sdk/dotnet/Inputs/GetVmTypesFilterArgs.cs deleted file mode 100644 index 451628b..0000000 --- a/sdk/dotnet/Inputs/GetVmTypesFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetVmTypesFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetVmTypesFilterInputArgs() - { - } - public static new GetVmTypesFilterInputArgs Empty => new GetVmTypesFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetVmsFilter.cs b/sdk/dotnet/Inputs/GetVmsFilter.cs deleted file mode 100644 index 4a49e3e..0000000 --- a/sdk/dotnet/Inputs/GetVmsFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetVmsFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetVmsFilterArgs() - { - } - public static new GetVmsFilterArgs Empty => new GetVmsFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetVmsFilterArgs.cs b/sdk/dotnet/Inputs/GetVmsFilterArgs.cs deleted file mode 100644 index a80bd3c..0000000 --- a/sdk/dotnet/Inputs/GetVmsFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetVmsFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetVmsFilterInputArgs() - { - } - public static new GetVmsFilterInputArgs Empty => new GetVmsFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetVolumeFilter.cs b/sdk/dotnet/Inputs/GetVolumeFilter.cs deleted file mode 100644 index 1f71d79..0000000 --- a/sdk/dotnet/Inputs/GetVolumeFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetVolumeFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetVolumeFilterArgs() - { - } - public static new GetVolumeFilterArgs Empty => new GetVolumeFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetVolumeFilterArgs.cs b/sdk/dotnet/Inputs/GetVolumeFilterArgs.cs deleted file mode 100644 index 6160ea9..0000000 --- a/sdk/dotnet/Inputs/GetVolumeFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetVolumeFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetVolumeFilterInputArgs() - { - } - public static new GetVolumeFilterInputArgs Empty => new GetVolumeFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetVolumesFilter.cs b/sdk/dotnet/Inputs/GetVolumesFilter.cs deleted file mode 100644 index 7c5f500..0000000 --- a/sdk/dotnet/Inputs/GetVolumesFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetVolumesFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetVolumesFilterArgs() - { - } - public static new GetVolumesFilterArgs Empty => new GetVolumesFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetVolumesFilterArgs.cs b/sdk/dotnet/Inputs/GetVolumesFilterArgs.cs deleted file mode 100644 index 761fbf6..0000000 --- a/sdk/dotnet/Inputs/GetVolumesFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetVolumesFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetVolumesFilterInputArgs() - { - } - public static new GetVolumesFilterInputArgs Empty => new GetVolumesFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetVpnConnectionFilter.cs b/sdk/dotnet/Inputs/GetVpnConnectionFilter.cs deleted file mode 100644 index 29561da..0000000 --- a/sdk/dotnet/Inputs/GetVpnConnectionFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetVpnConnectionFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetVpnConnectionFilterArgs() - { - } - public static new GetVpnConnectionFilterArgs Empty => new GetVpnConnectionFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetVpnConnectionFilterArgs.cs b/sdk/dotnet/Inputs/GetVpnConnectionFilterArgs.cs deleted file mode 100644 index 1c3afd0..0000000 --- a/sdk/dotnet/Inputs/GetVpnConnectionFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetVpnConnectionFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetVpnConnectionFilterInputArgs() - { - } - public static new GetVpnConnectionFilterInputArgs Empty => new GetVpnConnectionFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetVpnConnectionsFilter.cs b/sdk/dotnet/Inputs/GetVpnConnectionsFilter.cs deleted file mode 100644 index cb4429d..0000000 --- a/sdk/dotnet/Inputs/GetVpnConnectionsFilter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetVpnConnectionsFilterArgs : global::Pulumi.InvokeArgs - { - [Input("name", required: true)] - public string Name { get; set; } = null!; - - [Input("values", required: true)] - private List? _values; - public List Values - { - get => _values ?? (_values = new List()); - set => _values = value; - } - - public GetVpnConnectionsFilterArgs() - { - } - public static new GetVpnConnectionsFilterArgs Empty => new GetVpnConnectionsFilterArgs(); - } -} diff --git a/sdk/dotnet/Inputs/GetVpnConnectionsFilterArgs.cs b/sdk/dotnet/Inputs/GetVpnConnectionsFilterArgs.cs deleted file mode 100644 index 673ba37..0000000 --- a/sdk/dotnet/Inputs/GetVpnConnectionsFilterArgs.cs +++ /dev/null @@ -1,31 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class GetVpnConnectionsFilterInputArgs : global::Pulumi.ResourceArgs - { - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - [Input("values", required: true)] - private InputList? _values; - public InputList Values - { - get => _values ?? (_values = new InputList()); - set => _values = value; - } - - public GetVpnConnectionsFilterInputArgs() - { - } - public static new GetVpnConnectionsFilterInputArgs Empty => new GetVpnConnectionsFilterInputArgs(); - } -} diff --git a/sdk/dotnet/Inputs/ImageBlockDeviceMappingArgs.cs b/sdk/dotnet/Inputs/ImageBlockDeviceMappingArgs.cs deleted file mode 100644 index 7ef08b6..0000000 --- a/sdk/dotnet/Inputs/ImageBlockDeviceMappingArgs.cs +++ /dev/null @@ -1,44 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class ImageBlockDeviceMappingArgs : global::Pulumi.ResourceArgs - { - [Input("bsus")] - private InputList? _bsus; - - /// - /// Information about the BSU volume to create. - /// - public InputList Bsus - { - get => _bsus ?? (_bsus = new InputList()); - set => _bsus = value; - } - - /// - /// The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - /// - [Input("deviceName")] - public Input? DeviceName { get; set; } - - /// - /// The name of the virtual device (`ephemeralN`). - /// - [Input("virtualDeviceName")] - public Input? VirtualDeviceName { get; set; } - - public ImageBlockDeviceMappingArgs() - { - } - public static new ImageBlockDeviceMappingArgs Empty => new ImageBlockDeviceMappingArgs(); - } -} diff --git a/sdk/dotnet/Inputs/ImageBlockDeviceMappingBsusArgs.cs b/sdk/dotnet/Inputs/ImageBlockDeviceMappingBsusArgs.cs deleted file mode 100644 index 6791429..0000000 --- a/sdk/dotnet/Inputs/ImageBlockDeviceMappingBsusArgs.cs +++ /dev/null @@ -1,53 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class ImageBlockDeviceMappingBsusArgs : global::Pulumi.ResourceArgs - { - /// - /// By default or if set to true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - /// - [Input("deleteOnVmDeletion")] - public Input? DeleteOnVmDeletion { get; set; } - - /// - /// The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - /// - [Input("iops")] - public Input? Iops { get; set; } - - /// - /// The ID of the snapshot used to create the volume. - /// - [Input("snapshotId")] - public Input? SnapshotId { get; set; } - - /// - /// The size of the volume, in gibibytes (GiB).<br /> - /// If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.<br /> - /// If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. - /// - [Input("volumeSize")] - public Input? VolumeSize { get; set; } - - /// - /// The type of the volume (`standard` \| `io1` \| `gp2`). If not specified in the request, a `standard` volume is created.<br /> - /// For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - /// - [Input("volumeType")] - public Input? VolumeType { get; set; } - - public ImageBlockDeviceMappingBsusArgs() - { - } - public static new ImageBlockDeviceMappingBsusArgs Empty => new ImageBlockDeviceMappingBsusArgs(); - } -} diff --git a/sdk/dotnet/Inputs/ImageBlockDeviceMappingBsusGetArgs.cs b/sdk/dotnet/Inputs/ImageBlockDeviceMappingBsusGetArgs.cs deleted file mode 100644 index b8fb6a1..0000000 --- a/sdk/dotnet/Inputs/ImageBlockDeviceMappingBsusGetArgs.cs +++ /dev/null @@ -1,53 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class ImageBlockDeviceMappingBsusGetArgs : global::Pulumi.ResourceArgs - { - /// - /// By default or if set to true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - /// - [Input("deleteOnVmDeletion")] - public Input? DeleteOnVmDeletion { get; set; } - - /// - /// The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - /// - [Input("iops")] - public Input? Iops { get; set; } - - /// - /// The ID of the snapshot used to create the volume. - /// - [Input("snapshotId")] - public Input? SnapshotId { get; set; } - - /// - /// The size of the volume, in gibibytes (GiB).<br /> - /// If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.<br /> - /// If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. - /// - [Input("volumeSize")] - public Input? VolumeSize { get; set; } - - /// - /// The type of the volume (`standard` \| `io1` \| `gp2`). If not specified in the request, a `standard` volume is created.<br /> - /// For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - /// - [Input("volumeType")] - public Input? VolumeType { get; set; } - - public ImageBlockDeviceMappingBsusGetArgs() - { - } - public static new ImageBlockDeviceMappingBsusGetArgs Empty => new ImageBlockDeviceMappingBsusGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/ImageBlockDeviceMappingGetArgs.cs b/sdk/dotnet/Inputs/ImageBlockDeviceMappingGetArgs.cs deleted file mode 100644 index 7bf5c01..0000000 --- a/sdk/dotnet/Inputs/ImageBlockDeviceMappingGetArgs.cs +++ /dev/null @@ -1,44 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class ImageBlockDeviceMappingGetArgs : global::Pulumi.ResourceArgs - { - [Input("bsus")] - private InputList? _bsus; - - /// - /// Information about the BSU volume to create. - /// - public InputList Bsus - { - get => _bsus ?? (_bsus = new InputList()); - set => _bsus = value; - } - - /// - /// The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - /// - [Input("deviceName")] - public Input? DeviceName { get; set; } - - /// - /// The name of the virtual device (`ephemeralN`). - /// - [Input("virtualDeviceName")] - public Input? VirtualDeviceName { get; set; } - - public ImageBlockDeviceMappingGetArgs() - { - } - public static new ImageBlockDeviceMappingGetArgs Empty => new ImageBlockDeviceMappingGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/ImageExportTaskOsuExportArgs.cs b/sdk/dotnet/Inputs/ImageExportTaskOsuExportArgs.cs deleted file mode 100644 index 6c9d991..0000000 --- a/sdk/dotnet/Inputs/ImageExportTaskOsuExportArgs.cs +++ /dev/null @@ -1,56 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class ImageExportTaskOsuExportArgs : global::Pulumi.ResourceArgs - { - /// - /// The format of the export disk (`qcow2` \| `raw`). - /// - [Input("diskImageFormat", required: true)] - public Input DiskImageFormat { get; set; } = null!; - - [Input("osuApiKeys")] - private InputList? _osuApiKeys; - - /// - /// Information about the OOS API key. - /// - public InputList OsuApiKeys - { - get => _osuApiKeys ?? (_osuApiKeys = new InputList()); - set => _osuApiKeys = value; - } - - /// - /// The name of the OOS bucket where you want to export the object. - /// - [Input("osuBucket", required: true)] - public Input OsuBucket { get; set; } = null!; - - /// - /// The URL of the manifest file. - /// - [Input("osuManifestUrl")] - public Input? OsuManifestUrl { get; set; } - - /// - /// The prefix for the key of the OOS object. - /// - [Input("osuPrefix")] - public Input? OsuPrefix { get; set; } - - public ImageExportTaskOsuExportArgs() - { - } - public static new ImageExportTaskOsuExportArgs Empty => new ImageExportTaskOsuExportArgs(); - } -} diff --git a/sdk/dotnet/Inputs/ImageExportTaskOsuExportGetArgs.cs b/sdk/dotnet/Inputs/ImageExportTaskOsuExportGetArgs.cs deleted file mode 100644 index 93a5d0e..0000000 --- a/sdk/dotnet/Inputs/ImageExportTaskOsuExportGetArgs.cs +++ /dev/null @@ -1,56 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class ImageExportTaskOsuExportGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The format of the export disk (`qcow2` \| `raw`). - /// - [Input("diskImageFormat", required: true)] - public Input DiskImageFormat { get; set; } = null!; - - [Input("osuApiKeys")] - private InputList? _osuApiKeys; - - /// - /// Information about the OOS API key. - /// - public InputList OsuApiKeys - { - get => _osuApiKeys ?? (_osuApiKeys = new InputList()); - set => _osuApiKeys = value; - } - - /// - /// The name of the OOS bucket where you want to export the object. - /// - [Input("osuBucket", required: true)] - public Input OsuBucket { get; set; } = null!; - - /// - /// The URL of the manifest file. - /// - [Input("osuManifestUrl")] - public Input? OsuManifestUrl { get; set; } - - /// - /// The prefix for the key of the OOS object. - /// - [Input("osuPrefix")] - public Input? OsuPrefix { get; set; } - - public ImageExportTaskOsuExportGetArgs() - { - } - public static new ImageExportTaskOsuExportGetArgs Empty => new ImageExportTaskOsuExportGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/ImageExportTaskOsuExportOsuApiKeyArgs.cs b/sdk/dotnet/Inputs/ImageExportTaskOsuExportOsuApiKeyArgs.cs deleted file mode 100644 index d11c7bc..0000000 --- a/sdk/dotnet/Inputs/ImageExportTaskOsuExportOsuApiKeyArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class ImageExportTaskOsuExportOsuApiKeyArgs : global::Pulumi.ResourceArgs - { - /// - /// The API key of the OOS account that enables you to access the bucket. - /// - [Input("apiKeyId", required: true)] - public Input ApiKeyId { get; set; } = null!; - - /// - /// The secret key of the OOS account that enables you to access the bucket. - /// - [Input("secretKey", required: true)] - public Input SecretKey { get; set; } = null!; - - public ImageExportTaskOsuExportOsuApiKeyArgs() - { - } - public static new ImageExportTaskOsuExportOsuApiKeyArgs Empty => new ImageExportTaskOsuExportOsuApiKeyArgs(); - } -} diff --git a/sdk/dotnet/Inputs/ImageExportTaskOsuExportOsuApiKeyGetArgs.cs b/sdk/dotnet/Inputs/ImageExportTaskOsuExportOsuApiKeyGetArgs.cs deleted file mode 100644 index 8fdaca7..0000000 --- a/sdk/dotnet/Inputs/ImageExportTaskOsuExportOsuApiKeyGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class ImageExportTaskOsuExportOsuApiKeyGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The API key of the OOS account that enables you to access the bucket. - /// - [Input("apiKeyId", required: true)] - public Input ApiKeyId { get; set; } = null!; - - /// - /// The secret key of the OOS account that enables you to access the bucket. - /// - [Input("secretKey", required: true)] - public Input SecretKey { get; set; } = null!; - - public ImageExportTaskOsuExportOsuApiKeyGetArgs() - { - } - public static new ImageExportTaskOsuExportOsuApiKeyGetArgs Empty => new ImageExportTaskOsuExportOsuApiKeyGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/ImageExportTaskTagArgs.cs b/sdk/dotnet/Inputs/ImageExportTaskTagArgs.cs deleted file mode 100644 index 9f92c56..0000000 --- a/sdk/dotnet/Inputs/ImageExportTaskTagArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class ImageExportTaskTagArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public ImageExportTaskTagArgs() - { - } - public static new ImageExportTaskTagArgs Empty => new ImageExportTaskTagArgs(); - } -} diff --git a/sdk/dotnet/Inputs/ImageExportTaskTagGetArgs.cs b/sdk/dotnet/Inputs/ImageExportTaskTagGetArgs.cs deleted file mode 100644 index 7acb215..0000000 --- a/sdk/dotnet/Inputs/ImageExportTaskTagGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class ImageExportTaskTagGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public ImageExportTaskTagGetArgs() - { - } - public static new ImageExportTaskTagGetArgs Empty => new ImageExportTaskTagGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/ImageLaunchPermissionPermissionAdditionsArgs.cs b/sdk/dotnet/Inputs/ImageLaunchPermissionPermissionAdditionsArgs.cs deleted file mode 100644 index 96684b5..0000000 --- a/sdk/dotnet/Inputs/ImageLaunchPermissionPermissionAdditionsArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class ImageLaunchPermissionPermissionAdditionsArgs : global::Pulumi.ResourceArgs - { - [Input("accountIds")] - private InputList? _accountIds; - - /// - /// The account ID of one or more users from whom you want to remove permissions. - /// - public InputList AccountIds - { - get => _accountIds ?? (_accountIds = new InputList()); - set => _accountIds = value; - } - - /// - /// If true, the resource is public. If false, the resource is private. - /// - [Input("globalPermission")] - public Input? GlobalPermission { get; set; } - - public ImageLaunchPermissionPermissionAdditionsArgs() - { - } - public static new ImageLaunchPermissionPermissionAdditionsArgs Empty => new ImageLaunchPermissionPermissionAdditionsArgs(); - } -} diff --git a/sdk/dotnet/Inputs/ImageLaunchPermissionPermissionAdditionsGetArgs.cs b/sdk/dotnet/Inputs/ImageLaunchPermissionPermissionAdditionsGetArgs.cs deleted file mode 100644 index 5973522..0000000 --- a/sdk/dotnet/Inputs/ImageLaunchPermissionPermissionAdditionsGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class ImageLaunchPermissionPermissionAdditionsGetArgs : global::Pulumi.ResourceArgs - { - [Input("accountIds")] - private InputList? _accountIds; - - /// - /// The account ID of one or more users from whom you want to remove permissions. - /// - public InputList AccountIds - { - get => _accountIds ?? (_accountIds = new InputList()); - set => _accountIds = value; - } - - /// - /// If true, the resource is public. If false, the resource is private. - /// - [Input("globalPermission")] - public Input? GlobalPermission { get; set; } - - public ImageLaunchPermissionPermissionAdditionsGetArgs() - { - } - public static new ImageLaunchPermissionPermissionAdditionsGetArgs Empty => new ImageLaunchPermissionPermissionAdditionsGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/ImageLaunchPermissionPermissionRemovalsArgs.cs b/sdk/dotnet/Inputs/ImageLaunchPermissionPermissionRemovalsArgs.cs deleted file mode 100644 index 8a77046..0000000 --- a/sdk/dotnet/Inputs/ImageLaunchPermissionPermissionRemovalsArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class ImageLaunchPermissionPermissionRemovalsArgs : global::Pulumi.ResourceArgs - { - [Input("accountIds")] - private InputList? _accountIds; - - /// - /// The account ID of one or more users from whom you want to remove permissions. - /// - public InputList AccountIds - { - get => _accountIds ?? (_accountIds = new InputList()); - set => _accountIds = value; - } - - /// - /// If true, the resource is public. If false, the resource is private. - /// - [Input("globalPermission")] - public Input? GlobalPermission { get; set; } - - public ImageLaunchPermissionPermissionRemovalsArgs() - { - } - public static new ImageLaunchPermissionPermissionRemovalsArgs Empty => new ImageLaunchPermissionPermissionRemovalsArgs(); - } -} diff --git a/sdk/dotnet/Inputs/ImageLaunchPermissionPermissionRemovalsGetArgs.cs b/sdk/dotnet/Inputs/ImageLaunchPermissionPermissionRemovalsGetArgs.cs deleted file mode 100644 index 1e20c7a..0000000 --- a/sdk/dotnet/Inputs/ImageLaunchPermissionPermissionRemovalsGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class ImageLaunchPermissionPermissionRemovalsGetArgs : global::Pulumi.ResourceArgs - { - [Input("accountIds")] - private InputList? _accountIds; - - /// - /// The account ID of one or more users from whom you want to remove permissions. - /// - public InputList AccountIds - { - get => _accountIds ?? (_accountIds = new InputList()); - set => _accountIds = value; - } - - /// - /// If true, the resource is public. If false, the resource is private. - /// - [Input("globalPermission")] - public Input? GlobalPermission { get; set; } - - public ImageLaunchPermissionPermissionRemovalsGetArgs() - { - } - public static new ImageLaunchPermissionPermissionRemovalsGetArgs Empty => new ImageLaunchPermissionPermissionRemovalsGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/ImageLaunchPermissionPermissionsToLaunchArgs.cs b/sdk/dotnet/Inputs/ImageLaunchPermissionPermissionsToLaunchArgs.cs deleted file mode 100644 index a01d6ed..0000000 --- a/sdk/dotnet/Inputs/ImageLaunchPermissionPermissionsToLaunchArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class ImageLaunchPermissionPermissionsToLaunchArgs : global::Pulumi.ResourceArgs - { - [Input("accountIds")] - private InputList? _accountIds; - - /// - /// The account ID of one or more users from whom you want to remove permissions. - /// - public InputList AccountIds - { - get => _accountIds ?? (_accountIds = new InputList()); - set => _accountIds = value; - } - - /// - /// If true, the resource is public. If false, the resource is private. - /// - [Input("globalPermission")] - public Input? GlobalPermission { get; set; } - - public ImageLaunchPermissionPermissionsToLaunchArgs() - { - } - public static new ImageLaunchPermissionPermissionsToLaunchArgs Empty => new ImageLaunchPermissionPermissionsToLaunchArgs(); - } -} diff --git a/sdk/dotnet/Inputs/ImageLaunchPermissionPermissionsToLaunchGetArgs.cs b/sdk/dotnet/Inputs/ImageLaunchPermissionPermissionsToLaunchGetArgs.cs deleted file mode 100644 index 1daa847..0000000 --- a/sdk/dotnet/Inputs/ImageLaunchPermissionPermissionsToLaunchGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class ImageLaunchPermissionPermissionsToLaunchGetArgs : global::Pulumi.ResourceArgs - { - [Input("accountIds")] - private InputList? _accountIds; - - /// - /// The account ID of one or more users from whom you want to remove permissions. - /// - public InputList AccountIds - { - get => _accountIds ?? (_accountIds = new InputList()); - set => _accountIds = value; - } - - /// - /// If true, the resource is public. If false, the resource is private. - /// - [Input("globalPermission")] - public Input? GlobalPermission { get; set; } - - public ImageLaunchPermissionPermissionsToLaunchGetArgs() - { - } - public static new ImageLaunchPermissionPermissionsToLaunchGetArgs Empty => new ImageLaunchPermissionPermissionsToLaunchGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/ImagePermissionsToLaunchArgs.cs b/sdk/dotnet/Inputs/ImagePermissionsToLaunchArgs.cs deleted file mode 100644 index f3d3c2a..0000000 --- a/sdk/dotnet/Inputs/ImagePermissionsToLaunchArgs.cs +++ /dev/null @@ -1,40 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class ImagePermissionsToLaunchArgs : global::Pulumi.ResourceArgs - { - [Input("accountIds")] - private InputList? _accountIds; - - /// - /// One or more account IDs that the permission is associated with. - /// - public InputList AccountIds - { - get => _accountIds ?? (_accountIds = new InputList()); - set => _accountIds = value; - } - - /// - /// A global permission for all accounts.<br /> - /// (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).<br /> - /// (Response) If true, the resource is public. If false, the resource is private. - /// - [Input("globalPermission")] - public Input? GlobalPermission { get; set; } - - public ImagePermissionsToLaunchArgs() - { - } - public static new ImagePermissionsToLaunchArgs Empty => new ImagePermissionsToLaunchArgs(); - } -} diff --git a/sdk/dotnet/Inputs/ImagePermissionsToLaunchGetArgs.cs b/sdk/dotnet/Inputs/ImagePermissionsToLaunchGetArgs.cs deleted file mode 100644 index 895dc9f..0000000 --- a/sdk/dotnet/Inputs/ImagePermissionsToLaunchGetArgs.cs +++ /dev/null @@ -1,40 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class ImagePermissionsToLaunchGetArgs : global::Pulumi.ResourceArgs - { - [Input("accountIds")] - private InputList? _accountIds; - - /// - /// One or more account IDs that the permission is associated with. - /// - public InputList AccountIds - { - get => _accountIds ?? (_accountIds = new InputList()); - set => _accountIds = value; - } - - /// - /// A global permission for all accounts.<br /> - /// (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).<br /> - /// (Response) If true, the resource is public. If false, the resource is private. - /// - [Input("globalPermission")] - public Input? GlobalPermission { get; set; } - - public ImagePermissionsToLaunchGetArgs() - { - } - public static new ImagePermissionsToLaunchGetArgs Empty => new ImagePermissionsToLaunchGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/ImageStateCommentArgs.cs b/sdk/dotnet/Inputs/ImageStateCommentArgs.cs deleted file mode 100644 index 351ecc5..0000000 --- a/sdk/dotnet/Inputs/ImageStateCommentArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class ImageStateCommentArgs : global::Pulumi.ResourceArgs - { - /// - /// The code of the change of state. - /// - [Input("stateCode")] - public Input? StateCode { get; set; } - - /// - /// A message explaining the change of state. - /// - [Input("stateMessage")] - public Input? StateMessage { get; set; } - - public ImageStateCommentArgs() - { - } - public static new ImageStateCommentArgs Empty => new ImageStateCommentArgs(); - } -} diff --git a/sdk/dotnet/Inputs/ImageStateCommentGetArgs.cs b/sdk/dotnet/Inputs/ImageStateCommentGetArgs.cs deleted file mode 100644 index 6bfd30f..0000000 --- a/sdk/dotnet/Inputs/ImageStateCommentGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class ImageStateCommentGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The code of the change of state. - /// - [Input("stateCode")] - public Input? StateCode { get; set; } - - /// - /// A message explaining the change of state. - /// - [Input("stateMessage")] - public Input? StateMessage { get; set; } - - public ImageStateCommentGetArgs() - { - } - public static new ImageStateCommentGetArgs Empty => new ImageStateCommentGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/ImageTagArgs.cs b/sdk/dotnet/Inputs/ImageTagArgs.cs deleted file mode 100644 index 0e3cfa9..0000000 --- a/sdk/dotnet/Inputs/ImageTagArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class ImageTagArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public ImageTagArgs() - { - } - public static new ImageTagArgs Empty => new ImageTagArgs(); - } -} diff --git a/sdk/dotnet/Inputs/ImageTagGetArgs.cs b/sdk/dotnet/Inputs/ImageTagGetArgs.cs deleted file mode 100644 index 96f5a84..0000000 --- a/sdk/dotnet/Inputs/ImageTagGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class ImageTagGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public ImageTagGetArgs() - { - } - public static new ImageTagGetArgs Empty => new ImageTagGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/InternetServiceLinkTagArgs.cs b/sdk/dotnet/Inputs/InternetServiceLinkTagArgs.cs deleted file mode 100644 index ccb4e6e..0000000 --- a/sdk/dotnet/Inputs/InternetServiceLinkTagArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class InternetServiceLinkTagArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public InternetServiceLinkTagArgs() - { - } - public static new InternetServiceLinkTagArgs Empty => new InternetServiceLinkTagArgs(); - } -} diff --git a/sdk/dotnet/Inputs/InternetServiceLinkTagGetArgs.cs b/sdk/dotnet/Inputs/InternetServiceLinkTagGetArgs.cs deleted file mode 100644 index 3a7e1b5..0000000 --- a/sdk/dotnet/Inputs/InternetServiceLinkTagGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class InternetServiceLinkTagGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public InternetServiceLinkTagGetArgs() - { - } - public static new InternetServiceLinkTagGetArgs Empty => new InternetServiceLinkTagGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/InternetServiceTagArgs.cs b/sdk/dotnet/Inputs/InternetServiceTagArgs.cs deleted file mode 100644 index 194deba..0000000 --- a/sdk/dotnet/Inputs/InternetServiceTagArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class InternetServiceTagArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public InternetServiceTagArgs() - { - } - public static new InternetServiceTagArgs Empty => new InternetServiceTagArgs(); - } -} diff --git a/sdk/dotnet/Inputs/InternetServiceTagGetArgs.cs b/sdk/dotnet/Inputs/InternetServiceTagGetArgs.cs deleted file mode 100644 index ef6c0bd..0000000 --- a/sdk/dotnet/Inputs/InternetServiceTagGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class InternetServiceTagGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public InternetServiceTagGetArgs() - { - } - public static new InternetServiceTagGetArgs Empty => new InternetServiceTagGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerAccessLogArgs.cs b/sdk/dotnet/Inputs/LoadBalancerAccessLogArgs.cs deleted file mode 100644 index 9eea268..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerAccessLogArgs.cs +++ /dev/null @@ -1,44 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerAccessLogArgs : global::Pulumi.ResourceArgs - { - /// - /// If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osu_bucket_name` parameter is required. - /// - [Input("isEnabled")] - public Input? IsEnabled { get; set; } - - /// - /// The name of the OOS bucket for the access logs. - /// - [Input("osuBucketName")] - public Input? OsuBucketName { get; set; } - - /// - /// The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - /// - [Input("osuBucketPrefix")] - public Input? OsuBucketPrefix { get; set; } - - /// - /// The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - /// - [Input("publicationInterval")] - public Input? PublicationInterval { get; set; } - - public LoadBalancerAccessLogArgs() - { - } - public static new LoadBalancerAccessLogArgs Empty => new LoadBalancerAccessLogArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerAccessLogGetArgs.cs b/sdk/dotnet/Inputs/LoadBalancerAccessLogGetArgs.cs deleted file mode 100644 index a68f655..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerAccessLogGetArgs.cs +++ /dev/null @@ -1,44 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerAccessLogGetArgs : global::Pulumi.ResourceArgs - { - /// - /// If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osu_bucket_name` parameter is required. - /// - [Input("isEnabled")] - public Input? IsEnabled { get; set; } - - /// - /// The name of the OOS bucket for the access logs. - /// - [Input("osuBucketName")] - public Input? OsuBucketName { get; set; } - - /// - /// The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - /// - [Input("osuBucketPrefix")] - public Input? OsuBucketPrefix { get; set; } - - /// - /// The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - /// - [Input("publicationInterval")] - public Input? PublicationInterval { get; set; } - - public LoadBalancerAccessLogGetArgs() - { - } - public static new LoadBalancerAccessLogGetArgs Empty => new LoadBalancerAccessLogGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerApplicationStickyCookiePolicyArgs.cs b/sdk/dotnet/Inputs/LoadBalancerApplicationStickyCookiePolicyArgs.cs deleted file mode 100644 index 56f668f..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerApplicationStickyCookiePolicyArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerApplicationStickyCookiePolicyArgs : global::Pulumi.ResourceArgs - { - /// - /// The name of the application cookie used for stickiness. - /// - [Input("cookieName")] - public Input? CookieName { get; set; } - - /// - /// The name of the stickiness policy. - /// - [Input("policyName")] - public Input? PolicyName { get; set; } - - public LoadBalancerApplicationStickyCookiePolicyArgs() - { - } - public static new LoadBalancerApplicationStickyCookiePolicyArgs Empty => new LoadBalancerApplicationStickyCookiePolicyArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerApplicationStickyCookiePolicyGetArgs.cs b/sdk/dotnet/Inputs/LoadBalancerApplicationStickyCookiePolicyGetArgs.cs deleted file mode 100644 index dcb34f9..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerApplicationStickyCookiePolicyGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerApplicationStickyCookiePolicyGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The name of the application cookie used for stickiness. - /// - [Input("cookieName")] - public Input? CookieName { get; set; } - - /// - /// The name of the stickiness policy. - /// - [Input("policyName")] - public Input? PolicyName { get; set; } - - public LoadBalancerApplicationStickyCookiePolicyGetArgs() - { - } - public static new LoadBalancerApplicationStickyCookiePolicyGetArgs Empty => new LoadBalancerApplicationStickyCookiePolicyGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerAttributesAccessLogArgs.cs b/sdk/dotnet/Inputs/LoadBalancerAttributesAccessLogArgs.cs deleted file mode 100644 index ae62817..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerAttributesAccessLogArgs.cs +++ /dev/null @@ -1,44 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerAttributesAccessLogArgs : global::Pulumi.ResourceArgs - { - /// - /// If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osu_bucket_name` parameter is required. - /// - [Input("isEnabled")] - public Input? IsEnabled { get; set; } - - /// - /// The name of the OOS bucket for the access logs. - /// - [Input("osuBucketName")] - public Input? OsuBucketName { get; set; } - - /// - /// The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - /// - [Input("osuBucketPrefix")] - public Input? OsuBucketPrefix { get; set; } - - /// - /// The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - /// - [Input("publicationInterval")] - public Input? PublicationInterval { get; set; } - - public LoadBalancerAttributesAccessLogArgs() - { - } - public static new LoadBalancerAttributesAccessLogArgs Empty => new LoadBalancerAttributesAccessLogArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerAttributesAccessLogGetArgs.cs b/sdk/dotnet/Inputs/LoadBalancerAttributesAccessLogGetArgs.cs deleted file mode 100644 index bfe23b4..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerAttributesAccessLogGetArgs.cs +++ /dev/null @@ -1,44 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerAttributesAccessLogGetArgs : global::Pulumi.ResourceArgs - { - /// - /// If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osu_bucket_name` parameter is required. - /// - [Input("isEnabled")] - public Input? IsEnabled { get; set; } - - /// - /// The name of the OOS bucket for the access logs. - /// - [Input("osuBucketName")] - public Input? OsuBucketName { get; set; } - - /// - /// The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - /// - [Input("osuBucketPrefix")] - public Input? OsuBucketPrefix { get; set; } - - /// - /// The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - /// - [Input("publicationInterval")] - public Input? PublicationInterval { get; set; } - - public LoadBalancerAttributesAccessLogGetArgs() - { - } - public static new LoadBalancerAttributesAccessLogGetArgs Empty => new LoadBalancerAttributesAccessLogGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerAttributesApplicationStickyCookiePolicyArgs.cs b/sdk/dotnet/Inputs/LoadBalancerAttributesApplicationStickyCookiePolicyArgs.cs deleted file mode 100644 index 767e6c5..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerAttributesApplicationStickyCookiePolicyArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerAttributesApplicationStickyCookiePolicyArgs : global::Pulumi.ResourceArgs - { - /// - /// The name of the application cookie used for stickiness. - /// - [Input("cookieName")] - public Input? CookieName { get; set; } - - /// - /// The name of the stickiness policy. - /// - [Input("policyName")] - public Input? PolicyName { get; set; } - - public LoadBalancerAttributesApplicationStickyCookiePolicyArgs() - { - } - public static new LoadBalancerAttributesApplicationStickyCookiePolicyArgs Empty => new LoadBalancerAttributesApplicationStickyCookiePolicyArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerAttributesApplicationStickyCookiePolicyGetArgs.cs b/sdk/dotnet/Inputs/LoadBalancerAttributesApplicationStickyCookiePolicyGetArgs.cs deleted file mode 100644 index 85c3b82..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerAttributesApplicationStickyCookiePolicyGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerAttributesApplicationStickyCookiePolicyGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The name of the application cookie used for stickiness. - /// - [Input("cookieName")] - public Input? CookieName { get; set; } - - /// - /// The name of the stickiness policy. - /// - [Input("policyName")] - public Input? PolicyName { get; set; } - - public LoadBalancerAttributesApplicationStickyCookiePolicyGetArgs() - { - } - public static new LoadBalancerAttributesApplicationStickyCookiePolicyGetArgs Empty => new LoadBalancerAttributesApplicationStickyCookiePolicyGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerAttributesHealthCheckArgs.cs b/sdk/dotnet/Inputs/LoadBalancerAttributesHealthCheckArgs.cs deleted file mode 100644 index 9e89860..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerAttributesHealthCheckArgs.cs +++ /dev/null @@ -1,62 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerAttributesHealthCheckArgs : global::Pulumi.ResourceArgs - { - /// - /// The number of seconds between two pings (between `5` and `600` both included). - /// - [Input("checkInterval")] - public Input? CheckInterval { get; set; } - - /// - /// The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - /// - [Input("healthyThreshold")] - public Input? HealthyThreshold { get; set; } - - /// - /// If you use the HTTP or HTTPS protocols, the ping path. - /// - [Input("path")] - public Input? Path { get; set; } - - /// - /// The port number (between `1` and `65535`, both included). - /// - [Input("port", required: true)] - public Input Port { get; set; } = null!; - - /// - /// The protocol for the URL of the VM (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - [Input("protocol", required: true)] - public Input Protocol { get; set; } = null!; - - /// - /// The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - /// - [Input("timeout")] - public Input? Timeout { get; set; } - - /// - /// The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - /// - [Input("unhealthyThreshold")] - public Input? UnhealthyThreshold { get; set; } - - public LoadBalancerAttributesHealthCheckArgs() - { - } - public static new LoadBalancerAttributesHealthCheckArgs Empty => new LoadBalancerAttributesHealthCheckArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerAttributesHealthCheckGetArgs.cs b/sdk/dotnet/Inputs/LoadBalancerAttributesHealthCheckGetArgs.cs deleted file mode 100644 index d547271..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerAttributesHealthCheckGetArgs.cs +++ /dev/null @@ -1,62 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerAttributesHealthCheckGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The number of seconds between two pings (between `5` and `600` both included). - /// - [Input("checkInterval")] - public Input? CheckInterval { get; set; } - - /// - /// The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - /// - [Input("healthyThreshold")] - public Input? HealthyThreshold { get; set; } - - /// - /// If you use the HTTP or HTTPS protocols, the ping path. - /// - [Input("path")] - public Input? Path { get; set; } - - /// - /// The port number (between `1` and `65535`, both included). - /// - [Input("port", required: true)] - public Input Port { get; set; } = null!; - - /// - /// The protocol for the URL of the VM (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - [Input("protocol", required: true)] - public Input Protocol { get; set; } = null!; - - /// - /// The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - /// - [Input("timeout")] - public Input? Timeout { get; set; } - - /// - /// The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - /// - [Input("unhealthyThreshold")] - public Input? UnhealthyThreshold { get; set; } - - public LoadBalancerAttributesHealthCheckGetArgs() - { - } - public static new LoadBalancerAttributesHealthCheckGetArgs Empty => new LoadBalancerAttributesHealthCheckGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerAttributesListenerArgs.cs b/sdk/dotnet/Inputs/LoadBalancerAttributesListenerArgs.cs deleted file mode 100644 index d60592d..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerAttributesListenerArgs.cs +++ /dev/null @@ -1,62 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerAttributesListenerArgs : global::Pulumi.ResourceArgs - { - /// - /// The port on which the back-end VM is listening (between `1` and `65535`, both included). - /// - [Input("backendPort")] - public Input? BackendPort { get; set; } - - /// - /// The protocol for routing traffic to back-end VMs (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - [Input("backendProtocol")] - public Input? BackendProtocol { get; set; } - - /// - /// The port on which the load balancer is listening (between `1` and `65535`, both included). This parameter is required if you want to update the server certificate. - /// - [Input("loadBalancerPort")] - public Input? LoadBalancerPort { get; set; } - - /// - /// The routing protocol (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - [Input("loadBalancerProtocol")] - public Input? LoadBalancerProtocol { get; set; } - - [Input("policyNames")] - private InputList? _policyNames; - - /// - /// The name of the policy you want to enable for the listener. - /// - public InputList PolicyNames - { - get => _policyNames ?? (_policyNames = new InputList()); - set => _policyNames = value; - } - - /// - /// The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). If this parameter is specified, you must also specify the `load_balancer_port` parameter. - /// - [Input("serverCertificateId")] - public Input? ServerCertificateId { get; set; } - - public LoadBalancerAttributesListenerArgs() - { - } - public static new LoadBalancerAttributesListenerArgs Empty => new LoadBalancerAttributesListenerArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerAttributesListenerGetArgs.cs b/sdk/dotnet/Inputs/LoadBalancerAttributesListenerGetArgs.cs deleted file mode 100644 index d364d7e..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerAttributesListenerGetArgs.cs +++ /dev/null @@ -1,62 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerAttributesListenerGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The port on which the back-end VM is listening (between `1` and `65535`, both included). - /// - [Input("backendPort")] - public Input? BackendPort { get; set; } - - /// - /// The protocol for routing traffic to back-end VMs (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - [Input("backendProtocol")] - public Input? BackendProtocol { get; set; } - - /// - /// The port on which the load balancer is listening (between `1` and `65535`, both included). This parameter is required if you want to update the server certificate. - /// - [Input("loadBalancerPort")] - public Input? LoadBalancerPort { get; set; } - - /// - /// The routing protocol (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - [Input("loadBalancerProtocol")] - public Input? LoadBalancerProtocol { get; set; } - - [Input("policyNames")] - private InputList? _policyNames; - - /// - /// The name of the policy you want to enable for the listener. - /// - public InputList PolicyNames - { - get => _policyNames ?? (_policyNames = new InputList()); - set => _policyNames = value; - } - - /// - /// The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). If this parameter is specified, you must also specify the `load_balancer_port` parameter. - /// - [Input("serverCertificateId")] - public Input? ServerCertificateId { get; set; } - - public LoadBalancerAttributesListenerGetArgs() - { - } - public static new LoadBalancerAttributesListenerGetArgs Empty => new LoadBalancerAttributesListenerGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerAttributesLoadBalancerStickyCookiePolicyArgs.cs b/sdk/dotnet/Inputs/LoadBalancerAttributesLoadBalancerStickyCookiePolicyArgs.cs deleted file mode 100644 index 8c82aed..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerAttributesLoadBalancerStickyCookiePolicyArgs.cs +++ /dev/null @@ -1,26 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerAttributesLoadBalancerStickyCookiePolicyArgs : global::Pulumi.ResourceArgs - { - /// - /// The name of the stickiness policy. - /// - [Input("policyName")] - public Input? PolicyName { get; set; } - - public LoadBalancerAttributesLoadBalancerStickyCookiePolicyArgs() - { - } - public static new LoadBalancerAttributesLoadBalancerStickyCookiePolicyArgs Empty => new LoadBalancerAttributesLoadBalancerStickyCookiePolicyArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerAttributesLoadBalancerStickyCookiePolicyGetArgs.cs b/sdk/dotnet/Inputs/LoadBalancerAttributesLoadBalancerStickyCookiePolicyGetArgs.cs deleted file mode 100644 index 0e66902..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerAttributesLoadBalancerStickyCookiePolicyGetArgs.cs +++ /dev/null @@ -1,26 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerAttributesLoadBalancerStickyCookiePolicyGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The name of the stickiness policy. - /// - [Input("policyName")] - public Input? PolicyName { get; set; } - - public LoadBalancerAttributesLoadBalancerStickyCookiePolicyGetArgs() - { - } - public static new LoadBalancerAttributesLoadBalancerStickyCookiePolicyGetArgs Empty => new LoadBalancerAttributesLoadBalancerStickyCookiePolicyGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerAttributesSourceSecurityGroupArgs.cs b/sdk/dotnet/Inputs/LoadBalancerAttributesSourceSecurityGroupArgs.cs deleted file mode 100644 index 2d64fa4..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerAttributesSourceSecurityGroupArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerAttributesSourceSecurityGroupArgs : global::Pulumi.ResourceArgs - { - /// - /// The account ID of the owner of the security group. - /// - [Input("securityGroupAccountId")] - public Input? SecurityGroupAccountId { get; set; } - - /// - /// The name of the security group. - /// - [Input("securityGroupName")] - public Input? SecurityGroupName { get; set; } - - public LoadBalancerAttributesSourceSecurityGroupArgs() - { - } - public static new LoadBalancerAttributesSourceSecurityGroupArgs Empty => new LoadBalancerAttributesSourceSecurityGroupArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerAttributesSourceSecurityGroupGetArgs.cs b/sdk/dotnet/Inputs/LoadBalancerAttributesSourceSecurityGroupGetArgs.cs deleted file mode 100644 index 01cee3e..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerAttributesSourceSecurityGroupGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerAttributesSourceSecurityGroupGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The account ID of the owner of the security group. - /// - [Input("securityGroupAccountId")] - public Input? SecurityGroupAccountId { get; set; } - - /// - /// The name of the security group. - /// - [Input("securityGroupName")] - public Input? SecurityGroupName { get; set; } - - public LoadBalancerAttributesSourceSecurityGroupGetArgs() - { - } - public static new LoadBalancerAttributesSourceSecurityGroupGetArgs Empty => new LoadBalancerAttributesSourceSecurityGroupGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerAttributesTagArgs.cs b/sdk/dotnet/Inputs/LoadBalancerAttributesTagArgs.cs deleted file mode 100644 index 50a148c..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerAttributesTagArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerAttributesTagArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public LoadBalancerAttributesTagArgs() - { - } - public static new LoadBalancerAttributesTagArgs Empty => new LoadBalancerAttributesTagArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerAttributesTagGetArgs.cs b/sdk/dotnet/Inputs/LoadBalancerAttributesTagGetArgs.cs deleted file mode 100644 index 3d74898..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerAttributesTagGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerAttributesTagGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public LoadBalancerAttributesTagGetArgs() - { - } - public static new LoadBalancerAttributesTagGetArgs Empty => new LoadBalancerAttributesTagGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerHealthCheckArgs.cs b/sdk/dotnet/Inputs/LoadBalancerHealthCheckArgs.cs deleted file mode 100644 index eb93d78..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerHealthCheckArgs.cs +++ /dev/null @@ -1,62 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerHealthCheckArgs : global::Pulumi.ResourceArgs - { - /// - /// The number of seconds between two pings (between `5` and `600` both included). - /// - [Input("checkInterval")] - public Input? CheckInterval { get; set; } - - /// - /// The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - /// - [Input("healthyThreshold")] - public Input? HealthyThreshold { get; set; } - - /// - /// If you use the HTTP or HTTPS protocols, the ping path. - /// - [Input("path")] - public Input? Path { get; set; } - - /// - /// The port number (between `1` and `65535`, both included). - /// - [Input("port")] - public Input? Port { get; set; } - - /// - /// The protocol for the URL of the VM (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - [Input("protocol")] - public Input? Protocol { get; set; } - - /// - /// The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - /// - [Input("timeout")] - public Input? Timeout { get; set; } - - /// - /// The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - /// - [Input("unhealthyThreshold")] - public Input? UnhealthyThreshold { get; set; } - - public LoadBalancerHealthCheckArgs() - { - } - public static new LoadBalancerHealthCheckArgs Empty => new LoadBalancerHealthCheckArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerHealthCheckGetArgs.cs b/sdk/dotnet/Inputs/LoadBalancerHealthCheckGetArgs.cs deleted file mode 100644 index f219bac..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerHealthCheckGetArgs.cs +++ /dev/null @@ -1,62 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerHealthCheckGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The number of seconds between two pings (between `5` and `600` both included). - /// - [Input("checkInterval")] - public Input? CheckInterval { get; set; } - - /// - /// The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - /// - [Input("healthyThreshold")] - public Input? HealthyThreshold { get; set; } - - /// - /// If you use the HTTP or HTTPS protocols, the ping path. - /// - [Input("path")] - public Input? Path { get; set; } - - /// - /// The port number (between `1` and `65535`, both included). - /// - [Input("port")] - public Input? Port { get; set; } - - /// - /// The protocol for the URL of the VM (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - [Input("protocol")] - public Input? Protocol { get; set; } - - /// - /// The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - /// - [Input("timeout")] - public Input? Timeout { get; set; } - - /// - /// The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - /// - [Input("unhealthyThreshold")] - public Input? UnhealthyThreshold { get; set; } - - public LoadBalancerHealthCheckGetArgs() - { - } - public static new LoadBalancerHealthCheckGetArgs Empty => new LoadBalancerHealthCheckGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerListenerArgs.cs b/sdk/dotnet/Inputs/LoadBalancerListenerArgs.cs deleted file mode 100644 index c0a9cd0..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerListenerArgs.cs +++ /dev/null @@ -1,62 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerListenerArgs : global::Pulumi.ResourceArgs - { - /// - /// The port on which the back-end VM is listening (between `1` and `65535`, both included). - /// - [Input("backendPort", required: true)] - public Input BackendPort { get; set; } = null!; - - /// - /// The protocol for routing traffic to back-end VMs (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - [Input("backendProtocol", required: true)] - public Input BackendProtocol { get; set; } = null!; - - /// - /// The port on which the load balancer is listening (between `1` and `65535`, both included). - /// - [Input("loadBalancerPort", required: true)] - public Input LoadBalancerPort { get; set; } = null!; - - /// - /// The routing protocol (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - [Input("loadBalancerProtocol", required: true)] - public Input LoadBalancerProtocol { get; set; } = null!; - - [Input("policyNames")] - private InputList? _policyNames; - - /// - /// The names of the policies. If there are no policies enabled, the list is empty. - /// - public InputList PolicyNames - { - get => _policyNames ?? (_policyNames = new InputList()); - set => _policyNames = value; - } - - /// - /// The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > OUTSCALE Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - /// - [Input("serverCertificateId")] - public Input? ServerCertificateId { get; set; } - - public LoadBalancerListenerArgs() - { - } - public static new LoadBalancerListenerArgs Empty => new LoadBalancerListenerArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerListenerGetArgs.cs b/sdk/dotnet/Inputs/LoadBalancerListenerGetArgs.cs deleted file mode 100644 index 577862c..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerListenerGetArgs.cs +++ /dev/null @@ -1,62 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerListenerGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The port on which the back-end VM is listening (between `1` and `65535`, both included). - /// - [Input("backendPort", required: true)] - public Input BackendPort { get; set; } = null!; - - /// - /// The protocol for routing traffic to back-end VMs (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - [Input("backendProtocol", required: true)] - public Input BackendProtocol { get; set; } = null!; - - /// - /// The port on which the load balancer is listening (between `1` and `65535`, both included). - /// - [Input("loadBalancerPort", required: true)] - public Input LoadBalancerPort { get; set; } = null!; - - /// - /// The routing protocol (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - [Input("loadBalancerProtocol", required: true)] - public Input LoadBalancerProtocol { get; set; } = null!; - - [Input("policyNames")] - private InputList? _policyNames; - - /// - /// The names of the policies. If there are no policies enabled, the list is empty. - /// - public InputList PolicyNames - { - get => _policyNames ?? (_policyNames = new InputList()); - set => _policyNames = value; - } - - /// - /// The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > OUTSCALE Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - /// - [Input("serverCertificateId")] - public Input? ServerCertificateId { get; set; } - - public LoadBalancerListenerGetArgs() - { - } - public static new LoadBalancerListenerGetArgs Empty => new LoadBalancerListenerGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerLoadBalancerStickyCookiePolicyArgs.cs b/sdk/dotnet/Inputs/LoadBalancerLoadBalancerStickyCookiePolicyArgs.cs deleted file mode 100644 index abfde44..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerLoadBalancerStickyCookiePolicyArgs.cs +++ /dev/null @@ -1,26 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerLoadBalancerStickyCookiePolicyArgs : global::Pulumi.ResourceArgs - { - /// - /// The name of the stickiness policy. - /// - [Input("policyName")] - public Input? PolicyName { get; set; } - - public LoadBalancerLoadBalancerStickyCookiePolicyArgs() - { - } - public static new LoadBalancerLoadBalancerStickyCookiePolicyArgs Empty => new LoadBalancerLoadBalancerStickyCookiePolicyArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerLoadBalancerStickyCookiePolicyGetArgs.cs b/sdk/dotnet/Inputs/LoadBalancerLoadBalancerStickyCookiePolicyGetArgs.cs deleted file mode 100644 index 9736753..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerLoadBalancerStickyCookiePolicyGetArgs.cs +++ /dev/null @@ -1,26 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerLoadBalancerStickyCookiePolicyGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The name of the stickiness policy. - /// - [Input("policyName")] - public Input? PolicyName { get; set; } - - public LoadBalancerLoadBalancerStickyCookiePolicyGetArgs() - { - } - public static new LoadBalancerLoadBalancerStickyCookiePolicyGetArgs Empty => new LoadBalancerLoadBalancerStickyCookiePolicyGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerPolicyAccessLogArgs.cs b/sdk/dotnet/Inputs/LoadBalancerPolicyAccessLogArgs.cs deleted file mode 100644 index 93a5a9c..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerPolicyAccessLogArgs.cs +++ /dev/null @@ -1,44 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerPolicyAccessLogArgs : global::Pulumi.ResourceArgs - { - /// - /// If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osu_bucket_name` parameter is required. - /// - [Input("isEnabled")] - public Input? IsEnabled { get; set; } - - /// - /// The name of the OOS bucket for the access logs. - /// - [Input("osuBucketName")] - public Input? OsuBucketName { get; set; } - - /// - /// The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - /// - [Input("osuBucketPrefix")] - public Input? OsuBucketPrefix { get; set; } - - /// - /// The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - /// - [Input("publicationInterval")] - public Input? PublicationInterval { get; set; } - - public LoadBalancerPolicyAccessLogArgs() - { - } - public static new LoadBalancerPolicyAccessLogArgs Empty => new LoadBalancerPolicyAccessLogArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerPolicyAccessLogGetArgs.cs b/sdk/dotnet/Inputs/LoadBalancerPolicyAccessLogGetArgs.cs deleted file mode 100644 index c3e5949..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerPolicyAccessLogGetArgs.cs +++ /dev/null @@ -1,44 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerPolicyAccessLogGetArgs : global::Pulumi.ResourceArgs - { - /// - /// If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osu_bucket_name` parameter is required. - /// - [Input("isEnabled")] - public Input? IsEnabled { get; set; } - - /// - /// The name of the OOS bucket for the access logs. - /// - [Input("osuBucketName")] - public Input? OsuBucketName { get; set; } - - /// - /// The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - /// - [Input("osuBucketPrefix")] - public Input? OsuBucketPrefix { get; set; } - - /// - /// The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - /// - [Input("publicationInterval")] - public Input? PublicationInterval { get; set; } - - public LoadBalancerPolicyAccessLogGetArgs() - { - } - public static new LoadBalancerPolicyAccessLogGetArgs Empty => new LoadBalancerPolicyAccessLogGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerPolicyApplicationStickyCookiePolicyArgs.cs b/sdk/dotnet/Inputs/LoadBalancerPolicyApplicationStickyCookiePolicyArgs.cs deleted file mode 100644 index 6ddef86..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerPolicyApplicationStickyCookiePolicyArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerPolicyApplicationStickyCookiePolicyArgs : global::Pulumi.ResourceArgs - { - /// - /// The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie. - /// - [Input("cookieName")] - public Input? CookieName { get; set; } - - /// - /// The name of the policy. This name must be unique and consist of alphanumeric characters and dashes (-). - /// - [Input("policyName")] - public Input? PolicyName { get; set; } - - public LoadBalancerPolicyApplicationStickyCookiePolicyArgs() - { - } - public static new LoadBalancerPolicyApplicationStickyCookiePolicyArgs Empty => new LoadBalancerPolicyApplicationStickyCookiePolicyArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerPolicyApplicationStickyCookiePolicyGetArgs.cs b/sdk/dotnet/Inputs/LoadBalancerPolicyApplicationStickyCookiePolicyGetArgs.cs deleted file mode 100644 index 21a62fa..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerPolicyApplicationStickyCookiePolicyGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerPolicyApplicationStickyCookiePolicyGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie. - /// - [Input("cookieName")] - public Input? CookieName { get; set; } - - /// - /// The name of the policy. This name must be unique and consist of alphanumeric characters and dashes (-). - /// - [Input("policyName")] - public Input? PolicyName { get; set; } - - public LoadBalancerPolicyApplicationStickyCookiePolicyGetArgs() - { - } - public static new LoadBalancerPolicyApplicationStickyCookiePolicyGetArgs Empty => new LoadBalancerPolicyApplicationStickyCookiePolicyGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerPolicyHealthCheckArgs.cs b/sdk/dotnet/Inputs/LoadBalancerPolicyHealthCheckArgs.cs deleted file mode 100644 index 32044ac..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerPolicyHealthCheckArgs.cs +++ /dev/null @@ -1,62 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerPolicyHealthCheckArgs : global::Pulumi.ResourceArgs - { - /// - /// The number of seconds between two pings (between `5` and `600` both included). - /// - [Input("checkInterval")] - public Input? CheckInterval { get; set; } - - /// - /// The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - /// - [Input("healthyThreshold")] - public Input? HealthyThreshold { get; set; } - - /// - /// If you use the HTTP or HTTPS protocols, the ping path. - /// - [Input("path")] - public Input? Path { get; set; } - - /// - /// The port number (between `1` and `65535`, both included). - /// - [Input("port")] - public Input? Port { get; set; } - - /// - /// The protocol for the URL of the VM (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - [Input("protocol")] - public Input? Protocol { get; set; } - - /// - /// The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - /// - [Input("timeout")] - public Input? Timeout { get; set; } - - /// - /// The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - /// - [Input("unhealthyThreshold")] - public Input? UnhealthyThreshold { get; set; } - - public LoadBalancerPolicyHealthCheckArgs() - { - } - public static new LoadBalancerPolicyHealthCheckArgs Empty => new LoadBalancerPolicyHealthCheckArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerPolicyHealthCheckGetArgs.cs b/sdk/dotnet/Inputs/LoadBalancerPolicyHealthCheckGetArgs.cs deleted file mode 100644 index 749fb9d..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerPolicyHealthCheckGetArgs.cs +++ /dev/null @@ -1,62 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerPolicyHealthCheckGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The number of seconds between two pings (between `5` and `600` both included). - /// - [Input("checkInterval")] - public Input? CheckInterval { get; set; } - - /// - /// The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - /// - [Input("healthyThreshold")] - public Input? HealthyThreshold { get; set; } - - /// - /// If you use the HTTP or HTTPS protocols, the ping path. - /// - [Input("path")] - public Input? Path { get; set; } - - /// - /// The port number (between `1` and `65535`, both included). - /// - [Input("port")] - public Input? Port { get; set; } - - /// - /// The protocol for the URL of the VM (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - [Input("protocol")] - public Input? Protocol { get; set; } - - /// - /// The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - /// - [Input("timeout")] - public Input? Timeout { get; set; } - - /// - /// The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - /// - [Input("unhealthyThreshold")] - public Input? UnhealthyThreshold { get; set; } - - public LoadBalancerPolicyHealthCheckGetArgs() - { - } - public static new LoadBalancerPolicyHealthCheckGetArgs Empty => new LoadBalancerPolicyHealthCheckGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerPolicyListenerArgs.cs b/sdk/dotnet/Inputs/LoadBalancerPolicyListenerArgs.cs deleted file mode 100644 index dcadc4f..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerPolicyListenerArgs.cs +++ /dev/null @@ -1,62 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerPolicyListenerArgs : global::Pulumi.ResourceArgs - { - /// - /// The port on which the back-end VM is listening (between `1` and `65535`, both included). - /// - [Input("backendPort")] - public Input? BackendPort { get; set; } - - /// - /// The protocol for routing traffic to back-end VMs (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - [Input("backendProtocol")] - public Input? BackendProtocol { get; set; } - - /// - /// The port on which the load balancer is listening (between `1` and `65535`, both included). - /// - [Input("loadBalancerPort")] - public Input? LoadBalancerPort { get; set; } - - /// - /// The routing protocol (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - [Input("loadBalancerProtocol")] - public Input? LoadBalancerProtocol { get; set; } - - [Input("policyNames")] - private InputList? _policyNames; - - /// - /// The names of the policies. If there are no policies enabled, the list is empty. - /// - public InputList PolicyNames - { - get => _policyNames ?? (_policyNames = new InputList()); - set => _policyNames = value; - } - - /// - /// The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > OUTSCALE Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - /// - [Input("serverCertificateId")] - public Input? ServerCertificateId { get; set; } - - public LoadBalancerPolicyListenerArgs() - { - } - public static new LoadBalancerPolicyListenerArgs Empty => new LoadBalancerPolicyListenerArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerPolicyListenerGetArgs.cs b/sdk/dotnet/Inputs/LoadBalancerPolicyListenerGetArgs.cs deleted file mode 100644 index 5cdc9c2..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerPolicyListenerGetArgs.cs +++ /dev/null @@ -1,62 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerPolicyListenerGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The port on which the back-end VM is listening (between `1` and `65535`, both included). - /// - [Input("backendPort")] - public Input? BackendPort { get; set; } - - /// - /// The protocol for routing traffic to back-end VMs (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - [Input("backendProtocol")] - public Input? BackendProtocol { get; set; } - - /// - /// The port on which the load balancer is listening (between `1` and `65535`, both included). - /// - [Input("loadBalancerPort")] - public Input? LoadBalancerPort { get; set; } - - /// - /// The routing protocol (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - [Input("loadBalancerProtocol")] - public Input? LoadBalancerProtocol { get; set; } - - [Input("policyNames")] - private InputList? _policyNames; - - /// - /// The names of the policies. If there are no policies enabled, the list is empty. - /// - public InputList PolicyNames - { - get => _policyNames ?? (_policyNames = new InputList()); - set => _policyNames = value; - } - - /// - /// The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > OUTSCALE Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - /// - [Input("serverCertificateId")] - public Input? ServerCertificateId { get; set; } - - public LoadBalancerPolicyListenerGetArgs() - { - } - public static new LoadBalancerPolicyListenerGetArgs Empty => new LoadBalancerPolicyListenerGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerPolicyLoadBalancerStickyCookiePolicyArgs.cs b/sdk/dotnet/Inputs/LoadBalancerPolicyLoadBalancerStickyCookiePolicyArgs.cs deleted file mode 100644 index 23aad23..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerPolicyLoadBalancerStickyCookiePolicyArgs.cs +++ /dev/null @@ -1,26 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerPolicyLoadBalancerStickyCookiePolicyArgs : global::Pulumi.ResourceArgs - { - /// - /// The name of the policy. This name must be unique and consist of alphanumeric characters and dashes (-). - /// - [Input("policyName")] - public Input? PolicyName { get; set; } - - public LoadBalancerPolicyLoadBalancerStickyCookiePolicyArgs() - { - } - public static new LoadBalancerPolicyLoadBalancerStickyCookiePolicyArgs Empty => new LoadBalancerPolicyLoadBalancerStickyCookiePolicyArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerPolicyLoadBalancerStickyCookiePolicyGetArgs.cs b/sdk/dotnet/Inputs/LoadBalancerPolicyLoadBalancerStickyCookiePolicyGetArgs.cs deleted file mode 100644 index 5f22cdd..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerPolicyLoadBalancerStickyCookiePolicyGetArgs.cs +++ /dev/null @@ -1,26 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerPolicyLoadBalancerStickyCookiePolicyGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The name of the policy. This name must be unique and consist of alphanumeric characters and dashes (-). - /// - [Input("policyName")] - public Input? PolicyName { get; set; } - - public LoadBalancerPolicyLoadBalancerStickyCookiePolicyGetArgs() - { - } - public static new LoadBalancerPolicyLoadBalancerStickyCookiePolicyGetArgs Empty => new LoadBalancerPolicyLoadBalancerStickyCookiePolicyGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerPolicySourceSecurityGroupArgs.cs b/sdk/dotnet/Inputs/LoadBalancerPolicySourceSecurityGroupArgs.cs deleted file mode 100644 index f533255..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerPolicySourceSecurityGroupArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerPolicySourceSecurityGroupArgs : global::Pulumi.ResourceArgs - { - /// - /// The account ID of the owner of the security group. - /// - [Input("securityGroupAccountId")] - public Input? SecurityGroupAccountId { get; set; } - - /// - /// The name of the security group. - /// - [Input("securityGroupName")] - public Input? SecurityGroupName { get; set; } - - public LoadBalancerPolicySourceSecurityGroupArgs() - { - } - public static new LoadBalancerPolicySourceSecurityGroupArgs Empty => new LoadBalancerPolicySourceSecurityGroupArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerPolicySourceSecurityGroupGetArgs.cs b/sdk/dotnet/Inputs/LoadBalancerPolicySourceSecurityGroupGetArgs.cs deleted file mode 100644 index 9a38cb9..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerPolicySourceSecurityGroupGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerPolicySourceSecurityGroupGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The account ID of the owner of the security group. - /// - [Input("securityGroupAccountId")] - public Input? SecurityGroupAccountId { get; set; } - - /// - /// The name of the security group. - /// - [Input("securityGroupName")] - public Input? SecurityGroupName { get; set; } - - public LoadBalancerPolicySourceSecurityGroupGetArgs() - { - } - public static new LoadBalancerPolicySourceSecurityGroupGetArgs Empty => new LoadBalancerPolicySourceSecurityGroupGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerPolicyTagArgs.cs b/sdk/dotnet/Inputs/LoadBalancerPolicyTagArgs.cs deleted file mode 100644 index 0cb9116..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerPolicyTagArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerPolicyTagArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public LoadBalancerPolicyTagArgs() - { - } - public static new LoadBalancerPolicyTagArgs Empty => new LoadBalancerPolicyTagArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerPolicyTagGetArgs.cs b/sdk/dotnet/Inputs/LoadBalancerPolicyTagGetArgs.cs deleted file mode 100644 index 340266b..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerPolicyTagGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerPolicyTagGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public LoadBalancerPolicyTagGetArgs() - { - } - public static new LoadBalancerPolicyTagGetArgs Empty => new LoadBalancerPolicyTagGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerSourceSecurityGroupArgs.cs b/sdk/dotnet/Inputs/LoadBalancerSourceSecurityGroupArgs.cs deleted file mode 100644 index 6f29c47..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerSourceSecurityGroupArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerSourceSecurityGroupArgs : global::Pulumi.ResourceArgs - { - /// - /// The account ID of the owner of the security group. - /// - [Input("securityGroupAccountId")] - public Input? SecurityGroupAccountId { get; set; } - - /// - /// The name of the security group. - /// - [Input("securityGroupName")] - public Input? SecurityGroupName { get; set; } - - public LoadBalancerSourceSecurityGroupArgs() - { - } - public static new LoadBalancerSourceSecurityGroupArgs Empty => new LoadBalancerSourceSecurityGroupArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerSourceSecurityGroupGetArgs.cs b/sdk/dotnet/Inputs/LoadBalancerSourceSecurityGroupGetArgs.cs deleted file mode 100644 index 1f335e2..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerSourceSecurityGroupGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerSourceSecurityGroupGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The account ID of the owner of the security group. - /// - [Input("securityGroupAccountId")] - public Input? SecurityGroupAccountId { get; set; } - - /// - /// The name of the security group. - /// - [Input("securityGroupName")] - public Input? SecurityGroupName { get; set; } - - public LoadBalancerSourceSecurityGroupGetArgs() - { - } - public static new LoadBalancerSourceSecurityGroupGetArgs Empty => new LoadBalancerSourceSecurityGroupGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerTagArgs.cs b/sdk/dotnet/Inputs/LoadBalancerTagArgs.cs deleted file mode 100644 index 4e6cfc2..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerTagArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerTagArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public LoadBalancerTagArgs() - { - } - public static new LoadBalancerTagArgs Empty => new LoadBalancerTagArgs(); - } -} diff --git a/sdk/dotnet/Inputs/LoadBalancerTagGetArgs.cs b/sdk/dotnet/Inputs/LoadBalancerTagGetArgs.cs deleted file mode 100644 index 359652b..0000000 --- a/sdk/dotnet/Inputs/LoadBalancerTagGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class LoadBalancerTagGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public LoadBalancerTagGetArgs() - { - } - public static new LoadBalancerTagGetArgs Empty => new LoadBalancerTagGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NatServicePublicIpArgs.cs b/sdk/dotnet/Inputs/NatServicePublicIpArgs.cs deleted file mode 100644 index c95f35f..0000000 --- a/sdk/dotnet/Inputs/NatServicePublicIpArgs.cs +++ /dev/null @@ -1,33 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NatServicePublicIpArgs : global::Pulumi.ResourceArgs - { - /// - /// The public IP associated with the NAT service. - /// - [Input("publicIp")] - public Input? PublicIp { get; set; } - - /// - /// The allocation ID of the public IP to associate with the NAT service.<br /> - /// If the public IP is already associated with another resource, you must first disassociate it. - /// - [Input("publicIpId")] - public Input? PublicIpId { get; set; } - - public NatServicePublicIpArgs() - { - } - public static new NatServicePublicIpArgs Empty => new NatServicePublicIpArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NatServicePublicIpGetArgs.cs b/sdk/dotnet/Inputs/NatServicePublicIpGetArgs.cs deleted file mode 100644 index 626180b..0000000 --- a/sdk/dotnet/Inputs/NatServicePublicIpGetArgs.cs +++ /dev/null @@ -1,33 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NatServicePublicIpGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The public IP associated with the NAT service. - /// - [Input("publicIp")] - public Input? PublicIp { get; set; } - - /// - /// The allocation ID of the public IP to associate with the NAT service.<br /> - /// If the public IP is already associated with another resource, you must first disassociate it. - /// - [Input("publicIpId")] - public Input? PublicIpId { get; set; } - - public NatServicePublicIpGetArgs() - { - } - public static new NatServicePublicIpGetArgs Empty => new NatServicePublicIpGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NatServiceTagArgs.cs b/sdk/dotnet/Inputs/NatServiceTagArgs.cs deleted file mode 100644 index ec7fa17..0000000 --- a/sdk/dotnet/Inputs/NatServiceTagArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NatServiceTagArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public NatServiceTagArgs() - { - } - public static new NatServiceTagArgs Empty => new NatServiceTagArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NatServiceTagGetArgs.cs b/sdk/dotnet/Inputs/NatServiceTagGetArgs.cs deleted file mode 100644 index eaa3640..0000000 --- a/sdk/dotnet/Inputs/NatServiceTagGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NatServiceTagGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public NatServiceTagGetArgs() - { - } - public static new NatServiceTagGetArgs Empty => new NatServiceTagGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NetAccessPointTagArgs.cs b/sdk/dotnet/Inputs/NetAccessPointTagArgs.cs deleted file mode 100644 index 97adfb7..0000000 --- a/sdk/dotnet/Inputs/NetAccessPointTagArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NetAccessPointTagArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public NetAccessPointTagArgs() - { - } - public static new NetAccessPointTagArgs Empty => new NetAccessPointTagArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NetAccessPointTagGetArgs.cs b/sdk/dotnet/Inputs/NetAccessPointTagGetArgs.cs deleted file mode 100644 index 25a3ed0..0000000 --- a/sdk/dotnet/Inputs/NetAccessPointTagGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NetAccessPointTagGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public NetAccessPointTagGetArgs() - { - } - public static new NetAccessPointTagGetArgs Empty => new NetAccessPointTagGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NetAttributesTagArgs.cs b/sdk/dotnet/Inputs/NetAttributesTagArgs.cs deleted file mode 100644 index 9721076..0000000 --- a/sdk/dotnet/Inputs/NetAttributesTagArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NetAttributesTagArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public NetAttributesTagArgs() - { - } - public static new NetAttributesTagArgs Empty => new NetAttributesTagArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NetAttributesTagGetArgs.cs b/sdk/dotnet/Inputs/NetAttributesTagGetArgs.cs deleted file mode 100644 index c7f0019..0000000 --- a/sdk/dotnet/Inputs/NetAttributesTagGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NetAttributesTagGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public NetAttributesTagGetArgs() - { - } - public static new NetAttributesTagGetArgs Empty => new NetAttributesTagGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NetPeeringAccepterNetArgs.cs b/sdk/dotnet/Inputs/NetPeeringAccepterNetArgs.cs deleted file mode 100644 index e14e9b5..0000000 --- a/sdk/dotnet/Inputs/NetPeeringAccepterNetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NetPeeringAccepterNetArgs : global::Pulumi.ResourceArgs - { - /// - /// The account ID of the owner of the source Net. - /// - [Input("accountId")] - public Input? AccountId { get; set; } - - /// - /// The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - /// - [Input("ipRange")] - public Input? IpRange { get; set; } - - /// - /// The ID of the source Net. - /// - [Input("netId")] - public Input? NetId { get; set; } - - public NetPeeringAccepterNetArgs() - { - } - public static new NetPeeringAccepterNetArgs Empty => new NetPeeringAccepterNetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NetPeeringAccepterNetGetArgs.cs b/sdk/dotnet/Inputs/NetPeeringAccepterNetGetArgs.cs deleted file mode 100644 index cab77d3..0000000 --- a/sdk/dotnet/Inputs/NetPeeringAccepterNetGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NetPeeringAccepterNetGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The account ID of the owner of the source Net. - /// - [Input("accountId")] - public Input? AccountId { get; set; } - - /// - /// The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - /// - [Input("ipRange")] - public Input? IpRange { get; set; } - - /// - /// The ID of the source Net. - /// - [Input("netId")] - public Input? NetId { get; set; } - - public NetPeeringAccepterNetGetArgs() - { - } - public static new NetPeeringAccepterNetGetArgs Empty => new NetPeeringAccepterNetGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NetPeeringAcceptionAccepterNetArgs.cs b/sdk/dotnet/Inputs/NetPeeringAcceptionAccepterNetArgs.cs deleted file mode 100644 index 044a3be..0000000 --- a/sdk/dotnet/Inputs/NetPeeringAcceptionAccepterNetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NetPeeringAcceptionAccepterNetArgs : global::Pulumi.ResourceArgs - { - /// - /// The account ID of the owner of the source Net. - /// - [Input("accountId")] - public Input? AccountId { get; set; } - - /// - /// The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - /// - [Input("ipRange")] - public Input? IpRange { get; set; } - - /// - /// The ID of the source Net. - /// - [Input("netId")] - public Input? NetId { get; set; } - - public NetPeeringAcceptionAccepterNetArgs() - { - } - public static new NetPeeringAcceptionAccepterNetArgs Empty => new NetPeeringAcceptionAccepterNetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NetPeeringAcceptionAccepterNetGetArgs.cs b/sdk/dotnet/Inputs/NetPeeringAcceptionAccepterNetGetArgs.cs deleted file mode 100644 index f5fe5f1..0000000 --- a/sdk/dotnet/Inputs/NetPeeringAcceptionAccepterNetGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NetPeeringAcceptionAccepterNetGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The account ID of the owner of the source Net. - /// - [Input("accountId")] - public Input? AccountId { get; set; } - - /// - /// The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - /// - [Input("ipRange")] - public Input? IpRange { get; set; } - - /// - /// The ID of the source Net. - /// - [Input("netId")] - public Input? NetId { get; set; } - - public NetPeeringAcceptionAccepterNetGetArgs() - { - } - public static new NetPeeringAcceptionAccepterNetGetArgs Empty => new NetPeeringAcceptionAccepterNetGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NetPeeringAcceptionSourceNetArgs.cs b/sdk/dotnet/Inputs/NetPeeringAcceptionSourceNetArgs.cs deleted file mode 100644 index 43d307a..0000000 --- a/sdk/dotnet/Inputs/NetPeeringAcceptionSourceNetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NetPeeringAcceptionSourceNetArgs : global::Pulumi.ResourceArgs - { - /// - /// The account ID of the owner of the source Net. - /// - [Input("accountId")] - public Input? AccountId { get; set; } - - /// - /// The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - /// - [Input("ipRange")] - public Input? IpRange { get; set; } - - /// - /// The ID of the source Net. - /// - [Input("netId")] - public Input? NetId { get; set; } - - public NetPeeringAcceptionSourceNetArgs() - { - } - public static new NetPeeringAcceptionSourceNetArgs Empty => new NetPeeringAcceptionSourceNetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NetPeeringAcceptionSourceNetGetArgs.cs b/sdk/dotnet/Inputs/NetPeeringAcceptionSourceNetGetArgs.cs deleted file mode 100644 index adb60e9..0000000 --- a/sdk/dotnet/Inputs/NetPeeringAcceptionSourceNetGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NetPeeringAcceptionSourceNetGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The account ID of the owner of the source Net. - /// - [Input("accountId")] - public Input? AccountId { get; set; } - - /// - /// The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - /// - [Input("ipRange")] - public Input? IpRange { get; set; } - - /// - /// The ID of the source Net. - /// - [Input("netId")] - public Input? NetId { get; set; } - - public NetPeeringAcceptionSourceNetGetArgs() - { - } - public static new NetPeeringAcceptionSourceNetGetArgs Empty => new NetPeeringAcceptionSourceNetGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NetPeeringAcceptionStateArgs.cs b/sdk/dotnet/Inputs/NetPeeringAcceptionStateArgs.cs deleted file mode 100644 index 3528e53..0000000 --- a/sdk/dotnet/Inputs/NetPeeringAcceptionStateArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NetPeeringAcceptionStateArgs : global::Pulumi.ResourceArgs - { - /// - /// Additional information about the state of the Net peering. - /// - [Input("message")] - public Input? Message { get; set; } - - /// - /// The state of the Net peering (`pending-acceptance` \| `active` \| `rejected` \| `failed` \| `expired` \| `deleted`). - /// - [Input("name")] - public Input? Name { get; set; } - - public NetPeeringAcceptionStateArgs() - { - } - public static new NetPeeringAcceptionStateArgs Empty => new NetPeeringAcceptionStateArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NetPeeringAcceptionStateGetArgs.cs b/sdk/dotnet/Inputs/NetPeeringAcceptionStateGetArgs.cs deleted file mode 100644 index 98c88d1..0000000 --- a/sdk/dotnet/Inputs/NetPeeringAcceptionStateGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NetPeeringAcceptionStateGetArgs : global::Pulumi.ResourceArgs - { - /// - /// Additional information about the state of the Net peering. - /// - [Input("message")] - public Input? Message { get; set; } - - /// - /// The state of the Net peering (`pending-acceptance` \| `active` \| `rejected` \| `failed` \| `expired` \| `deleted`). - /// - [Input("name")] - public Input? Name { get; set; } - - public NetPeeringAcceptionStateGetArgs() - { - } - public static new NetPeeringAcceptionStateGetArgs Empty => new NetPeeringAcceptionStateGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NetPeeringAcceptionTagArgs.cs b/sdk/dotnet/Inputs/NetPeeringAcceptionTagArgs.cs deleted file mode 100644 index b6e044a..0000000 --- a/sdk/dotnet/Inputs/NetPeeringAcceptionTagArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NetPeeringAcceptionTagArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public NetPeeringAcceptionTagArgs() - { - } - public static new NetPeeringAcceptionTagArgs Empty => new NetPeeringAcceptionTagArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NetPeeringAcceptionTagGetArgs.cs b/sdk/dotnet/Inputs/NetPeeringAcceptionTagGetArgs.cs deleted file mode 100644 index 228b609..0000000 --- a/sdk/dotnet/Inputs/NetPeeringAcceptionTagGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NetPeeringAcceptionTagGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public NetPeeringAcceptionTagGetArgs() - { - } - public static new NetPeeringAcceptionTagGetArgs Empty => new NetPeeringAcceptionTagGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NetPeeringSourceNetArgs.cs b/sdk/dotnet/Inputs/NetPeeringSourceNetArgs.cs deleted file mode 100644 index 6c891dd..0000000 --- a/sdk/dotnet/Inputs/NetPeeringSourceNetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NetPeeringSourceNetArgs : global::Pulumi.ResourceArgs - { - /// - /// The account ID of the owner of the source Net. - /// - [Input("accountId")] - public Input? AccountId { get; set; } - - /// - /// The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - /// - [Input("ipRange")] - public Input? IpRange { get; set; } - - /// - /// The ID of the source Net. - /// - [Input("netId")] - public Input? NetId { get; set; } - - public NetPeeringSourceNetArgs() - { - } - public static new NetPeeringSourceNetArgs Empty => new NetPeeringSourceNetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NetPeeringSourceNetGetArgs.cs b/sdk/dotnet/Inputs/NetPeeringSourceNetGetArgs.cs deleted file mode 100644 index 1360517..0000000 --- a/sdk/dotnet/Inputs/NetPeeringSourceNetGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NetPeeringSourceNetGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The account ID of the owner of the source Net. - /// - [Input("accountId")] - public Input? AccountId { get; set; } - - /// - /// The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - /// - [Input("ipRange")] - public Input? IpRange { get; set; } - - /// - /// The ID of the source Net. - /// - [Input("netId")] - public Input? NetId { get; set; } - - public NetPeeringSourceNetGetArgs() - { - } - public static new NetPeeringSourceNetGetArgs Empty => new NetPeeringSourceNetGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NetPeeringStateArgs.cs b/sdk/dotnet/Inputs/NetPeeringStateArgs.cs deleted file mode 100644 index 877df40..0000000 --- a/sdk/dotnet/Inputs/NetPeeringStateArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NetPeeringStateArgs : global::Pulumi.ResourceArgs - { - /// - /// Additional information about the state of the Net peering. - /// - [Input("message")] - public Input? Message { get; set; } - - /// - /// The state of the Net peering (`pending-acceptance` \| `active` \| `rejected` \| `failed` \| `expired` \| `deleted`). - /// - [Input("name")] - public Input? Name { get; set; } - - public NetPeeringStateArgs() - { - } - public static new NetPeeringStateArgs Empty => new NetPeeringStateArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NetPeeringStateGetArgs.cs b/sdk/dotnet/Inputs/NetPeeringStateGetArgs.cs deleted file mode 100644 index 9ee48f5..0000000 --- a/sdk/dotnet/Inputs/NetPeeringStateGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NetPeeringStateGetArgs : global::Pulumi.ResourceArgs - { - /// - /// Additional information about the state of the Net peering. - /// - [Input("message")] - public Input? Message { get; set; } - - /// - /// The state of the Net peering (`pending-acceptance` \| `active` \| `rejected` \| `failed` \| `expired` \| `deleted`). - /// - [Input("name")] - public Input? Name { get; set; } - - public NetPeeringStateGetArgs() - { - } - public static new NetPeeringStateGetArgs Empty => new NetPeeringStateGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NetPeeringTagArgs.cs b/sdk/dotnet/Inputs/NetPeeringTagArgs.cs deleted file mode 100644 index 1b56bdd..0000000 --- a/sdk/dotnet/Inputs/NetPeeringTagArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NetPeeringTagArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public NetPeeringTagArgs() - { - } - public static new NetPeeringTagArgs Empty => new NetPeeringTagArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NetPeeringTagGetArgs.cs b/sdk/dotnet/Inputs/NetPeeringTagGetArgs.cs deleted file mode 100644 index b8c79bd..0000000 --- a/sdk/dotnet/Inputs/NetPeeringTagGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NetPeeringTagGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public NetPeeringTagGetArgs() - { - } - public static new NetPeeringTagGetArgs Empty => new NetPeeringTagGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NetTagArgs.cs b/sdk/dotnet/Inputs/NetTagArgs.cs deleted file mode 100644 index dac39d4..0000000 --- a/sdk/dotnet/Inputs/NetTagArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NetTagArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public NetTagArgs() - { - } - public static new NetTagArgs Empty => new NetTagArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NetTagGetArgs.cs b/sdk/dotnet/Inputs/NetTagGetArgs.cs deleted file mode 100644 index 6914219..0000000 --- a/sdk/dotnet/Inputs/NetTagGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NetTagGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public NetTagGetArgs() - { - } - public static new NetTagGetArgs Empty => new NetTagGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NicLinkNicArgs.cs b/sdk/dotnet/Inputs/NicLinkNicArgs.cs deleted file mode 100644 index fc66452..0000000 --- a/sdk/dotnet/Inputs/NicLinkNicArgs.cs +++ /dev/null @@ -1,56 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NicLinkNicArgs : global::Pulumi.ResourceArgs - { - /// - /// If true, the NIC is deleted when the VM is terminated. - /// - [Input("deleteOnVmDeletion")] - public Input? DeleteOnVmDeletion { get; set; } - - /// - /// The device index for the NIC attachment (between `1` and `7`, both included). - /// - [Input("deviceNumber")] - public Input? DeviceNumber { get; set; } - - /// - /// The ID of the NIC to attach. - /// - [Input("linkNicId")] - public Input? LinkNicId { get; set; } - - /// - /// The state of the NIC (`available` \| `attaching` \| `in-use` \| `detaching`). - /// - [Input("state")] - public Input? State { get; set; } - - /// - /// The account ID of the owner of the VM. - /// - [Input("vmAccountId")] - public Input? VmAccountId { get; set; } - - /// - /// The ID of the VM. - /// - [Input("vmId")] - public Input? VmId { get; set; } - - public NicLinkNicArgs() - { - } - public static new NicLinkNicArgs Empty => new NicLinkNicArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NicLinkNicGetArgs.cs b/sdk/dotnet/Inputs/NicLinkNicGetArgs.cs deleted file mode 100644 index 498e35c..0000000 --- a/sdk/dotnet/Inputs/NicLinkNicGetArgs.cs +++ /dev/null @@ -1,56 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NicLinkNicGetArgs : global::Pulumi.ResourceArgs - { - /// - /// If true, the NIC is deleted when the VM is terminated. - /// - [Input("deleteOnVmDeletion")] - public Input? DeleteOnVmDeletion { get; set; } - - /// - /// The device index for the NIC attachment (between `1` and `7`, both included). - /// - [Input("deviceNumber")] - public Input? DeviceNumber { get; set; } - - /// - /// The ID of the NIC to attach. - /// - [Input("linkNicId")] - public Input? LinkNicId { get; set; } - - /// - /// The state of the NIC (`available` \| `attaching` \| `in-use` \| `detaching`). - /// - [Input("state")] - public Input? State { get; set; } - - /// - /// The account ID of the owner of the VM. - /// - [Input("vmAccountId")] - public Input? VmAccountId { get; set; } - - /// - /// The ID of the VM. - /// - [Input("vmId")] - public Input? VmId { get; set; } - - public NicLinkNicGetArgs() - { - } - public static new NicLinkNicGetArgs Empty => new NicLinkNicGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NicLinkPublicIpArgs.cs b/sdk/dotnet/Inputs/NicLinkPublicIpArgs.cs deleted file mode 100644 index cd3496d..0000000 --- a/sdk/dotnet/Inputs/NicLinkPublicIpArgs.cs +++ /dev/null @@ -1,50 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NicLinkPublicIpArgs : global::Pulumi.ResourceArgs - { - /// - /// (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - /// - [Input("linkPublicIpId")] - public Input? LinkPublicIpId { get; set; } - - /// - /// The name of the public DNS. - /// - [Input("publicDnsName")] - public Input? PublicDnsName { get; set; } - - /// - /// The public IP associated with the NIC. - /// - [Input("publicIp")] - public Input? PublicIp { get; set; } - - /// - /// The account ID of the owner of the public IP. - /// - [Input("publicIpAccountId")] - public Input? PublicIpAccountId { get; set; } - - /// - /// The allocation ID of the public IP. - /// - [Input("publicIpId")] - public Input? PublicIpId { get; set; } - - public NicLinkPublicIpArgs() - { - } - public static new NicLinkPublicIpArgs Empty => new NicLinkPublicIpArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NicLinkPublicIpGetArgs.cs b/sdk/dotnet/Inputs/NicLinkPublicIpGetArgs.cs deleted file mode 100644 index b2ee22d..0000000 --- a/sdk/dotnet/Inputs/NicLinkPublicIpGetArgs.cs +++ /dev/null @@ -1,50 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NicLinkPublicIpGetArgs : global::Pulumi.ResourceArgs - { - /// - /// (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - /// - [Input("linkPublicIpId")] - public Input? LinkPublicIpId { get; set; } - - /// - /// The name of the public DNS. - /// - [Input("publicDnsName")] - public Input? PublicDnsName { get; set; } - - /// - /// The public IP associated with the NIC. - /// - [Input("publicIp")] - public Input? PublicIp { get; set; } - - /// - /// The account ID of the owner of the public IP. - /// - [Input("publicIpAccountId")] - public Input? PublicIpAccountId { get; set; } - - /// - /// The allocation ID of the public IP. - /// - [Input("publicIpId")] - public Input? PublicIpId { get; set; } - - public NicLinkPublicIpGetArgs() - { - } - public static new NicLinkPublicIpGetArgs Empty => new NicLinkPublicIpGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NicPrivateIpArgs.cs b/sdk/dotnet/Inputs/NicPrivateIpArgs.cs deleted file mode 100644 index 4b49197..0000000 --- a/sdk/dotnet/Inputs/NicPrivateIpArgs.cs +++ /dev/null @@ -1,50 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NicPrivateIpArgs : global::Pulumi.ResourceArgs - { - /// - /// If true, the IP is the primary private IP of the NIC. - /// - [Input("isPrimary")] - public Input? IsPrimary { get; set; } - - [Input("linkPublicIps")] - private InputList? _linkPublicIps; - - /// - /// Information about the public IP association. - /// - public InputList LinkPublicIps - { - get => _linkPublicIps ?? (_linkPublicIps = new InputList()); - set => _linkPublicIps = value; - } - - /// - /// The name of the private DNS. - /// - [Input("privateDnsName")] - public Input? PrivateDnsName { get; set; } - - /// - /// The private IP of the NIC. - /// - [Input("privateIp")] - public Input? PrivateIp { get; set; } - - public NicPrivateIpArgs() - { - } - public static new NicPrivateIpArgs Empty => new NicPrivateIpArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NicPrivateIpGetArgs.cs b/sdk/dotnet/Inputs/NicPrivateIpGetArgs.cs deleted file mode 100644 index 2f5cb98..0000000 --- a/sdk/dotnet/Inputs/NicPrivateIpGetArgs.cs +++ /dev/null @@ -1,50 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NicPrivateIpGetArgs : global::Pulumi.ResourceArgs - { - /// - /// If true, the IP is the primary private IP of the NIC. - /// - [Input("isPrimary")] - public Input? IsPrimary { get; set; } - - [Input("linkPublicIps")] - private InputList? _linkPublicIps; - - /// - /// Information about the public IP association. - /// - public InputList LinkPublicIps - { - get => _linkPublicIps ?? (_linkPublicIps = new InputList()); - set => _linkPublicIps = value; - } - - /// - /// The name of the private DNS. - /// - [Input("privateDnsName")] - public Input? PrivateDnsName { get; set; } - - /// - /// The private IP of the NIC. - /// - [Input("privateIp")] - public Input? PrivateIp { get; set; } - - public NicPrivateIpGetArgs() - { - } - public static new NicPrivateIpGetArgs Empty => new NicPrivateIpGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NicPrivateIpLinkPublicIpArgs.cs b/sdk/dotnet/Inputs/NicPrivateIpLinkPublicIpArgs.cs deleted file mode 100644 index 2a2d034..0000000 --- a/sdk/dotnet/Inputs/NicPrivateIpLinkPublicIpArgs.cs +++ /dev/null @@ -1,50 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NicPrivateIpLinkPublicIpArgs : global::Pulumi.ResourceArgs - { - /// - /// (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - /// - [Input("linkPublicIpId")] - public Input? LinkPublicIpId { get; set; } - - /// - /// The name of the public DNS. - /// - [Input("publicDnsName")] - public Input? PublicDnsName { get; set; } - - /// - /// The public IP associated with the NIC. - /// - [Input("publicIp")] - public Input? PublicIp { get; set; } - - /// - /// The account ID of the owner of the public IP. - /// - [Input("publicIpAccountId")] - public Input? PublicIpAccountId { get; set; } - - /// - /// The allocation ID of the public IP. - /// - [Input("publicIpId")] - public Input? PublicIpId { get; set; } - - public NicPrivateIpLinkPublicIpArgs() - { - } - public static new NicPrivateIpLinkPublicIpArgs Empty => new NicPrivateIpLinkPublicIpArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NicPrivateIpLinkPublicIpGetArgs.cs b/sdk/dotnet/Inputs/NicPrivateIpLinkPublicIpGetArgs.cs deleted file mode 100644 index 849208d..0000000 --- a/sdk/dotnet/Inputs/NicPrivateIpLinkPublicIpGetArgs.cs +++ /dev/null @@ -1,50 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NicPrivateIpLinkPublicIpGetArgs : global::Pulumi.ResourceArgs - { - /// - /// (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - /// - [Input("linkPublicIpId")] - public Input? LinkPublicIpId { get; set; } - - /// - /// The name of the public DNS. - /// - [Input("publicDnsName")] - public Input? PublicDnsName { get; set; } - - /// - /// The public IP associated with the NIC. - /// - [Input("publicIp")] - public Input? PublicIp { get; set; } - - /// - /// The account ID of the owner of the public IP. - /// - [Input("publicIpAccountId")] - public Input? PublicIpAccountId { get; set; } - - /// - /// The allocation ID of the public IP. - /// - [Input("publicIpId")] - public Input? PublicIpId { get; set; } - - public NicPrivateIpLinkPublicIpGetArgs() - { - } - public static new NicPrivateIpLinkPublicIpGetArgs Empty => new NicPrivateIpLinkPublicIpGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NicSecurityGroupArgs.cs b/sdk/dotnet/Inputs/NicSecurityGroupArgs.cs deleted file mode 100644 index cc459ca..0000000 --- a/sdk/dotnet/Inputs/NicSecurityGroupArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NicSecurityGroupArgs : global::Pulumi.ResourceArgs - { - /// - /// The ID of the security group. - /// - [Input("securityGroupId")] - public Input? SecurityGroupId { get; set; } - - /// - /// The name of the security group. - /// - [Input("securityGroupName")] - public Input? SecurityGroupName { get; set; } - - public NicSecurityGroupArgs() - { - } - public static new NicSecurityGroupArgs Empty => new NicSecurityGroupArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NicSecurityGroupGetArgs.cs b/sdk/dotnet/Inputs/NicSecurityGroupGetArgs.cs deleted file mode 100644 index 7e717b8..0000000 --- a/sdk/dotnet/Inputs/NicSecurityGroupGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NicSecurityGroupGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The ID of the security group. - /// - [Input("securityGroupId")] - public Input? SecurityGroupId { get; set; } - - /// - /// The name of the security group. - /// - [Input("securityGroupName")] - public Input? SecurityGroupName { get; set; } - - public NicSecurityGroupGetArgs() - { - } - public static new NicSecurityGroupGetArgs Empty => new NicSecurityGroupGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NicTagArgs.cs b/sdk/dotnet/Inputs/NicTagArgs.cs deleted file mode 100644 index 3d6f07b..0000000 --- a/sdk/dotnet/Inputs/NicTagArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NicTagArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public NicTagArgs() - { - } - public static new NicTagArgs Empty => new NicTagArgs(); - } -} diff --git a/sdk/dotnet/Inputs/NicTagGetArgs.cs b/sdk/dotnet/Inputs/NicTagGetArgs.cs deleted file mode 100644 index ec157c5..0000000 --- a/sdk/dotnet/Inputs/NicTagGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class NicTagGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public NicTagGetArgs() - { - } - public static new NicTagGetArgs Empty => new NicTagGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/OutboundRuleRuleArgs.cs b/sdk/dotnet/Inputs/OutboundRuleRuleArgs.cs deleted file mode 100644 index 067561b..0000000 --- a/sdk/dotnet/Inputs/OutboundRuleRuleArgs.cs +++ /dev/null @@ -1,53 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class OutboundRuleRuleArgs : global::Pulumi.ResourceArgs - { - [Input("fromPortRange")] - public Input? FromPortRange { get; set; } - - [Input("ipProtocol")] - public Input? IpProtocol { get; set; } - - [Input("ipRanges")] - private InputList? _ipRanges; - public InputList IpRanges - { - get => _ipRanges ?? (_ipRanges = new InputList()); - set => _ipRanges = value; - } - - [Input("securityGroupsMembers")] - private InputList? _securityGroupsMembers; - public InputList SecurityGroupsMembers - { - get => _securityGroupsMembers ?? (_securityGroupsMembers = new InputList()); - set => _securityGroupsMembers = value; - } - - [Input("serviceIds")] - private InputList? _serviceIds; - public InputList ServiceIds - { - get => _serviceIds ?? (_serviceIds = new InputList()); - set => _serviceIds = value; - } - - [Input("toPortRange")] - public Input? ToPortRange { get; set; } - - public OutboundRuleRuleArgs() - { - } - public static new OutboundRuleRuleArgs Empty => new OutboundRuleRuleArgs(); - } -} diff --git a/sdk/dotnet/Inputs/OutboundRuleRuleGetArgs.cs b/sdk/dotnet/Inputs/OutboundRuleRuleGetArgs.cs deleted file mode 100644 index 592f573..0000000 --- a/sdk/dotnet/Inputs/OutboundRuleRuleGetArgs.cs +++ /dev/null @@ -1,53 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class OutboundRuleRuleGetArgs : global::Pulumi.ResourceArgs - { - [Input("fromPortRange")] - public Input? FromPortRange { get; set; } - - [Input("ipProtocol")] - public Input? IpProtocol { get; set; } - - [Input("ipRanges")] - private InputList? _ipRanges; - public InputList IpRanges - { - get => _ipRanges ?? (_ipRanges = new InputList()); - set => _ipRanges = value; - } - - [Input("securityGroupsMembers")] - private InputList? _securityGroupsMembers; - public InputList SecurityGroupsMembers - { - get => _securityGroupsMembers ?? (_securityGroupsMembers = new InputList()); - set => _securityGroupsMembers = value; - } - - [Input("serviceIds")] - private InputList? _serviceIds; - public InputList ServiceIds - { - get => _serviceIds ?? (_serviceIds = new InputList()); - set => _serviceIds = value; - } - - [Input("toPortRange")] - public Input? ToPortRange { get; set; } - - public OutboundRuleRuleGetArgs() - { - } - public static new OutboundRuleRuleGetArgs Empty => new OutboundRuleRuleGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/OutboundRuleRuleSecurityGroupsMemberArgs.cs b/sdk/dotnet/Inputs/OutboundRuleRuleSecurityGroupsMemberArgs.cs deleted file mode 100644 index 3a15cbd..0000000 --- a/sdk/dotnet/Inputs/OutboundRuleRuleSecurityGroupsMemberArgs.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class OutboundRuleRuleSecurityGroupsMemberArgs : global::Pulumi.ResourceArgs - { - [Input("accountId")] - public Input? AccountId { get; set; } - - [Input("securityGroupId")] - public Input? SecurityGroupId { get; set; } - - [Input("securityGroupName")] - public Input? SecurityGroupName { get; set; } - - public OutboundRuleRuleSecurityGroupsMemberArgs() - { - } - public static new OutboundRuleRuleSecurityGroupsMemberArgs Empty => new OutboundRuleRuleSecurityGroupsMemberArgs(); - } -} diff --git a/sdk/dotnet/Inputs/OutboundRuleRuleSecurityGroupsMemberGetArgs.cs b/sdk/dotnet/Inputs/OutboundRuleRuleSecurityGroupsMemberGetArgs.cs deleted file mode 100644 index 5ad6cfd..0000000 --- a/sdk/dotnet/Inputs/OutboundRuleRuleSecurityGroupsMemberGetArgs.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class OutboundRuleRuleSecurityGroupsMemberGetArgs : global::Pulumi.ResourceArgs - { - [Input("accountId")] - public Input? AccountId { get; set; } - - [Input("securityGroupId")] - public Input? SecurityGroupId { get; set; } - - [Input("securityGroupName")] - public Input? SecurityGroupName { get; set; } - - public OutboundRuleRuleSecurityGroupsMemberGetArgs() - { - } - public static new OutboundRuleRuleSecurityGroupsMemberGetArgs Empty => new OutboundRuleRuleSecurityGroupsMemberGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/ProviderEndpointArgs.cs b/sdk/dotnet/Inputs/ProviderEndpointArgs.cs deleted file mode 100644 index a9a2175..0000000 --- a/sdk/dotnet/Inputs/ProviderEndpointArgs.cs +++ /dev/null @@ -1,23 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class ProviderEndpointArgs : global::Pulumi.ResourceArgs - { - [Input("api")] - public Input? Api { get; set; } - - public ProviderEndpointArgs() - { - } - public static new ProviderEndpointArgs Empty => new ProviderEndpointArgs(); - } -} diff --git a/sdk/dotnet/Inputs/PublicIpLinkTagArgs.cs b/sdk/dotnet/Inputs/PublicIpLinkTagArgs.cs deleted file mode 100644 index 4fffcdd..0000000 --- a/sdk/dotnet/Inputs/PublicIpLinkTagArgs.cs +++ /dev/null @@ -1,26 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class PublicIpLinkTagArgs : global::Pulumi.ResourceArgs - { - [Input("key")] - public Input? Key { get; set; } - - [Input("value")] - public Input? Value { get; set; } - - public PublicIpLinkTagArgs() - { - } - public static new PublicIpLinkTagArgs Empty => new PublicIpLinkTagArgs(); - } -} diff --git a/sdk/dotnet/Inputs/PublicIpLinkTagGetArgs.cs b/sdk/dotnet/Inputs/PublicIpLinkTagGetArgs.cs deleted file mode 100644 index b0d4fa1..0000000 --- a/sdk/dotnet/Inputs/PublicIpLinkTagGetArgs.cs +++ /dev/null @@ -1,26 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class PublicIpLinkTagGetArgs : global::Pulumi.ResourceArgs - { - [Input("key")] - public Input? Key { get; set; } - - [Input("value")] - public Input? Value { get; set; } - - public PublicIpLinkTagGetArgs() - { - } - public static new PublicIpLinkTagGetArgs Empty => new PublicIpLinkTagGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/PublicIpTagArgs.cs b/sdk/dotnet/Inputs/PublicIpTagArgs.cs deleted file mode 100644 index 3e48258..0000000 --- a/sdk/dotnet/Inputs/PublicIpTagArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class PublicIpTagArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public PublicIpTagArgs() - { - } - public static new PublicIpTagArgs Empty => new PublicIpTagArgs(); - } -} diff --git a/sdk/dotnet/Inputs/PublicIpTagGetArgs.cs b/sdk/dotnet/Inputs/PublicIpTagGetArgs.cs deleted file mode 100644 index 2b5993c..0000000 --- a/sdk/dotnet/Inputs/PublicIpTagGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class PublicIpTagGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public PublicIpTagGetArgs() - { - } - public static new PublicIpTagGetArgs Empty => new PublicIpTagGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/RouteTableLinkRouteTableArgs.cs b/sdk/dotnet/Inputs/RouteTableLinkRouteTableArgs.cs deleted file mode 100644 index 29239c3..0000000 --- a/sdk/dotnet/Inputs/RouteTableLinkRouteTableArgs.cs +++ /dev/null @@ -1,47 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class RouteTableLinkRouteTableArgs : global::Pulumi.ResourceArgs - { - /// - /// The ID of the association between the route table and the Subnet. - /// - [Input("linkRouteTableId")] - public Input? LinkRouteTableId { get; set; } - - /// - /// If true, the route table is the main one. - /// - [Input("main")] - public Input? Main { get; set; } - - /// - /// The ID of the route table. - /// - [Input("routeTableId")] - public Input? RouteTableId { get; set; } - - [Input("routeTableToSubnetLinkId")] - public Input? RouteTableToSubnetLinkId { get; set; } - - /// - /// The ID of the Subnet. - /// - [Input("subnetId")] - public Input? SubnetId { get; set; } - - public RouteTableLinkRouteTableArgs() - { - } - public static new RouteTableLinkRouteTableArgs Empty => new RouteTableLinkRouteTableArgs(); - } -} diff --git a/sdk/dotnet/Inputs/RouteTableLinkRouteTableGetArgs.cs b/sdk/dotnet/Inputs/RouteTableLinkRouteTableGetArgs.cs deleted file mode 100644 index 2c4596e..0000000 --- a/sdk/dotnet/Inputs/RouteTableLinkRouteTableGetArgs.cs +++ /dev/null @@ -1,47 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class RouteTableLinkRouteTableGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The ID of the association between the route table and the Subnet. - /// - [Input("linkRouteTableId")] - public Input? LinkRouteTableId { get; set; } - - /// - /// If true, the route table is the main one. - /// - [Input("main")] - public Input? Main { get; set; } - - /// - /// The ID of the route table. - /// - [Input("routeTableId")] - public Input? RouteTableId { get; set; } - - [Input("routeTableToSubnetLinkId")] - public Input? RouteTableToSubnetLinkId { get; set; } - - /// - /// The ID of the Subnet. - /// - [Input("subnetId")] - public Input? SubnetId { get; set; } - - public RouteTableLinkRouteTableGetArgs() - { - } - public static new RouteTableLinkRouteTableGetArgs Empty => new RouteTableLinkRouteTableGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/RouteTableRouteArgs.cs b/sdk/dotnet/Inputs/RouteTableRouteArgs.cs deleted file mode 100644 index 82a3c15..0000000 --- a/sdk/dotnet/Inputs/RouteTableRouteArgs.cs +++ /dev/null @@ -1,86 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class RouteTableRouteArgs : global::Pulumi.ResourceArgs - { - /// - /// The method used to create the route. - /// - [Input("creationMethod")] - public Input? CreationMethod { get; set; } - - /// - /// The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - /// - [Input("destinationIpRange")] - public Input? DestinationIpRange { get; set; } - - /// - /// The ID of the OUTSCALE service. - /// - [Input("destinationServiceId")] - public Input? DestinationServiceId { get; set; } - - /// - /// The ID of the Internet service or virtual gateway attached to the Net. - /// - [Input("gatewayId")] - public Input? GatewayId { get; set; } - - /// - /// The ID of a NAT service attached to the Net. - /// - [Input("natServiceId")] - public Input? NatServiceId { get; set; } - - /// - /// The ID of the Net access point. - /// - [Input("netAccessPointId")] - public Input? NetAccessPointId { get; set; } - - /// - /// The ID of the Net peering. - /// - [Input("netPeeringId")] - public Input? NetPeeringId { get; set; } - - /// - /// The ID of the NIC. - /// - [Input("nicId")] - public Input? NicId { get; set; } - - /// - /// The state of a route in the route table (always `active`). - /// - [Input("state")] - public Input? State { get; set; } - - /// - /// The account ID of the owner of the VM. - /// - [Input("vmAccountId")] - public Input? VmAccountId { get; set; } - - /// - /// The ID of a VM specified in a route in the table. - /// - [Input("vmId")] - public Input? VmId { get; set; } - - public RouteTableRouteArgs() - { - } - public static new RouteTableRouteArgs Empty => new RouteTableRouteArgs(); - } -} diff --git a/sdk/dotnet/Inputs/RouteTableRouteGetArgs.cs b/sdk/dotnet/Inputs/RouteTableRouteGetArgs.cs deleted file mode 100644 index 02d3806..0000000 --- a/sdk/dotnet/Inputs/RouteTableRouteGetArgs.cs +++ /dev/null @@ -1,86 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class RouteTableRouteGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The method used to create the route. - /// - [Input("creationMethod")] - public Input? CreationMethod { get; set; } - - /// - /// The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - /// - [Input("destinationIpRange")] - public Input? DestinationIpRange { get; set; } - - /// - /// The ID of the OUTSCALE service. - /// - [Input("destinationServiceId")] - public Input? DestinationServiceId { get; set; } - - /// - /// The ID of the Internet service or virtual gateway attached to the Net. - /// - [Input("gatewayId")] - public Input? GatewayId { get; set; } - - /// - /// The ID of a NAT service attached to the Net. - /// - [Input("natServiceId")] - public Input? NatServiceId { get; set; } - - /// - /// The ID of the Net access point. - /// - [Input("netAccessPointId")] - public Input? NetAccessPointId { get; set; } - - /// - /// The ID of the Net peering. - /// - [Input("netPeeringId")] - public Input? NetPeeringId { get; set; } - - /// - /// The ID of the NIC. - /// - [Input("nicId")] - public Input? NicId { get; set; } - - /// - /// The state of a route in the route table (always `active`). - /// - [Input("state")] - public Input? State { get; set; } - - /// - /// The account ID of the owner of the VM. - /// - [Input("vmAccountId")] - public Input? VmAccountId { get; set; } - - /// - /// The ID of a VM specified in a route in the table. - /// - [Input("vmId")] - public Input? VmId { get; set; } - - public RouteTableRouteGetArgs() - { - } - public static new RouteTableRouteGetArgs Empty => new RouteTableRouteGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/RouteTableRoutePropagatingVirtualGatewayArgs.cs b/sdk/dotnet/Inputs/RouteTableRoutePropagatingVirtualGatewayArgs.cs deleted file mode 100644 index 976b490..0000000 --- a/sdk/dotnet/Inputs/RouteTableRoutePropagatingVirtualGatewayArgs.cs +++ /dev/null @@ -1,26 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class RouteTableRoutePropagatingVirtualGatewayArgs : global::Pulumi.ResourceArgs - { - /// - /// The ID of the virtual gateway. - /// - [Input("virtualGatewayId")] - public Input? VirtualGatewayId { get; set; } - - public RouteTableRoutePropagatingVirtualGatewayArgs() - { - } - public static new RouteTableRoutePropagatingVirtualGatewayArgs Empty => new RouteTableRoutePropagatingVirtualGatewayArgs(); - } -} diff --git a/sdk/dotnet/Inputs/RouteTableRoutePropagatingVirtualGatewayGetArgs.cs b/sdk/dotnet/Inputs/RouteTableRoutePropagatingVirtualGatewayGetArgs.cs deleted file mode 100644 index ae7d216..0000000 --- a/sdk/dotnet/Inputs/RouteTableRoutePropagatingVirtualGatewayGetArgs.cs +++ /dev/null @@ -1,26 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class RouteTableRoutePropagatingVirtualGatewayGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The ID of the virtual gateway. - /// - [Input("virtualGatewayId")] - public Input? VirtualGatewayId { get; set; } - - public RouteTableRoutePropagatingVirtualGatewayGetArgs() - { - } - public static new RouteTableRoutePropagatingVirtualGatewayGetArgs Empty => new RouteTableRoutePropagatingVirtualGatewayGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/RouteTableTagArgs.cs b/sdk/dotnet/Inputs/RouteTableTagArgs.cs deleted file mode 100644 index 8970773..0000000 --- a/sdk/dotnet/Inputs/RouteTableTagArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class RouteTableTagArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public RouteTableTagArgs() - { - } - public static new RouteTableTagArgs Empty => new RouteTableTagArgs(); - } -} diff --git a/sdk/dotnet/Inputs/RouteTableTagGetArgs.cs b/sdk/dotnet/Inputs/RouteTableTagGetArgs.cs deleted file mode 100644 index eaf891b..0000000 --- a/sdk/dotnet/Inputs/RouteTableTagGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class RouteTableTagGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public RouteTableTagGetArgs() - { - } - public static new RouteTableTagGetArgs Empty => new RouteTableTagGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/SecurityGroupInboundRuleArgs.cs b/sdk/dotnet/Inputs/SecurityGroupInboundRuleArgs.cs deleted file mode 100644 index 8deb77b..0000000 --- a/sdk/dotnet/Inputs/SecurityGroupInboundRuleArgs.cs +++ /dev/null @@ -1,62 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class SecurityGroupInboundRuleArgs : global::Pulumi.ResourceArgs - { - /// - /// The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - /// - [Input("fromPortRange")] - public Input? FromPortRange { get; set; } - - /// - /// The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - /// - [Input("ipProtocol")] - public Input? IpProtocol { get; set; } - - [Input("ipRanges")] - private InputList? _ipRanges; - - /// - /// One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - /// - public InputList IpRanges - { - get => _ipRanges ?? (_ipRanges = new InputList()); - set => _ipRanges = value; - } - - [Input("securityGroupsMembers")] - private InputList>? _securityGroupsMembers; - - /// - /// Information about one or more source or destination security groups. - /// - public InputList> SecurityGroupsMembers - { - get => _securityGroupsMembers ?? (_securityGroupsMembers = new InputList>()); - set => _securityGroupsMembers = value; - } - - /// - /// The end of the port range for the TCP and UDP protocols, or an ICMP code number. - /// - [Input("toPortRange")] - public Input? ToPortRange { get; set; } - - public SecurityGroupInboundRuleArgs() - { - } - public static new SecurityGroupInboundRuleArgs Empty => new SecurityGroupInboundRuleArgs(); - } -} diff --git a/sdk/dotnet/Inputs/SecurityGroupInboundRuleGetArgs.cs b/sdk/dotnet/Inputs/SecurityGroupInboundRuleGetArgs.cs deleted file mode 100644 index cc4af1b..0000000 --- a/sdk/dotnet/Inputs/SecurityGroupInboundRuleGetArgs.cs +++ /dev/null @@ -1,62 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class SecurityGroupInboundRuleGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - /// - [Input("fromPortRange")] - public Input? FromPortRange { get; set; } - - /// - /// The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - /// - [Input("ipProtocol")] - public Input? IpProtocol { get; set; } - - [Input("ipRanges")] - private InputList? _ipRanges; - - /// - /// One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - /// - public InputList IpRanges - { - get => _ipRanges ?? (_ipRanges = new InputList()); - set => _ipRanges = value; - } - - [Input("securityGroupsMembers")] - private InputList>? _securityGroupsMembers; - - /// - /// Information about one or more source or destination security groups. - /// - public InputList> SecurityGroupsMembers - { - get => _securityGroupsMembers ?? (_securityGroupsMembers = new InputList>()); - set => _securityGroupsMembers = value; - } - - /// - /// The end of the port range for the TCP and UDP protocols, or an ICMP code number. - /// - [Input("toPortRange")] - public Input? ToPortRange { get; set; } - - public SecurityGroupInboundRuleGetArgs() - { - } - public static new SecurityGroupInboundRuleGetArgs Empty => new SecurityGroupInboundRuleGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/SecurityGroupOutboundRuleArgs.cs b/sdk/dotnet/Inputs/SecurityGroupOutboundRuleArgs.cs deleted file mode 100644 index 87b1991..0000000 --- a/sdk/dotnet/Inputs/SecurityGroupOutboundRuleArgs.cs +++ /dev/null @@ -1,62 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class SecurityGroupOutboundRuleArgs : global::Pulumi.ResourceArgs - { - /// - /// The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - /// - [Input("fromPortRange")] - public Input? FromPortRange { get; set; } - - /// - /// The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - /// - [Input("ipProtocol")] - public Input? IpProtocol { get; set; } - - [Input("ipRanges")] - private InputList? _ipRanges; - - /// - /// One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - /// - public InputList IpRanges - { - get => _ipRanges ?? (_ipRanges = new InputList()); - set => _ipRanges = value; - } - - [Input("securityGroupsMembers")] - private InputList>? _securityGroupsMembers; - - /// - /// Information about one or more source or destination security groups. - /// - public InputList> SecurityGroupsMembers - { - get => _securityGroupsMembers ?? (_securityGroupsMembers = new InputList>()); - set => _securityGroupsMembers = value; - } - - /// - /// The end of the port range for the TCP and UDP protocols, or an ICMP code number. - /// - [Input("toPortRange")] - public Input? ToPortRange { get; set; } - - public SecurityGroupOutboundRuleArgs() - { - } - public static new SecurityGroupOutboundRuleArgs Empty => new SecurityGroupOutboundRuleArgs(); - } -} diff --git a/sdk/dotnet/Inputs/SecurityGroupOutboundRuleGetArgs.cs b/sdk/dotnet/Inputs/SecurityGroupOutboundRuleGetArgs.cs deleted file mode 100644 index 2bca2b0..0000000 --- a/sdk/dotnet/Inputs/SecurityGroupOutboundRuleGetArgs.cs +++ /dev/null @@ -1,62 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class SecurityGroupOutboundRuleGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - /// - [Input("fromPortRange")] - public Input? FromPortRange { get; set; } - - /// - /// The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - /// - [Input("ipProtocol")] - public Input? IpProtocol { get; set; } - - [Input("ipRanges")] - private InputList? _ipRanges; - - /// - /// One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - /// - public InputList IpRanges - { - get => _ipRanges ?? (_ipRanges = new InputList()); - set => _ipRanges = value; - } - - [Input("securityGroupsMembers")] - private InputList>? _securityGroupsMembers; - - /// - /// Information about one or more source or destination security groups. - /// - public InputList> SecurityGroupsMembers - { - get => _securityGroupsMembers ?? (_securityGroupsMembers = new InputList>()); - set => _securityGroupsMembers = value; - } - - /// - /// The end of the port range for the TCP and UDP protocols, or an ICMP code number. - /// - [Input("toPortRange")] - public Input? ToPortRange { get; set; } - - public SecurityGroupOutboundRuleGetArgs() - { - } - public static new SecurityGroupOutboundRuleGetArgs Empty => new SecurityGroupOutboundRuleGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/SecurityGroupRuleRuleArgs.cs b/sdk/dotnet/Inputs/SecurityGroupRuleRuleArgs.cs deleted file mode 100644 index 0e76d8f..0000000 --- a/sdk/dotnet/Inputs/SecurityGroupRuleRuleArgs.cs +++ /dev/null @@ -1,74 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class SecurityGroupRuleRuleArgs : global::Pulumi.ResourceArgs - { - /// - /// The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - /// - [Input("fromPortRange")] - public Input? FromPortRange { get; set; } - - /// - /// The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - /// - [Input("ipProtocol")] - public Input? IpProtocol { get; set; } - - [Input("ipRanges")] - private InputList? _ipRanges; - - /// - /// One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - /// - public InputList IpRanges - { - get => _ipRanges ?? (_ipRanges = new InputList()); - set => _ipRanges = value; - } - - [Input("securityGroupsMembers")] - private InputList? _securityGroupsMembers; - - /// - /// Information about one or more source or destination security groups. - /// - public InputList SecurityGroupsMembers - { - get => _securityGroupsMembers ?? (_securityGroupsMembers = new InputList()); - set => _securityGroupsMembers = value; - } - - [Input("serviceIds")] - private InputList? _serviceIds; - - /// - /// One or more service IDs to allow traffic from a Net to access the corresponding OUTSCALE services. For more information, see [ReadNetAccessPointServices](https://docs.outscale.com/api#readnetaccesspointservices). - /// - public InputList ServiceIds - { - get => _serviceIds ?? (_serviceIds = new InputList()); - set => _serviceIds = value; - } - - /// - /// The end of the port range for the TCP and UDP protocols, or an ICMP code number. If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - /// - [Input("toPortRange")] - public Input? ToPortRange { get; set; } - - public SecurityGroupRuleRuleArgs() - { - } - public static new SecurityGroupRuleRuleArgs Empty => new SecurityGroupRuleRuleArgs(); - } -} diff --git a/sdk/dotnet/Inputs/SecurityGroupRuleRuleGetArgs.cs b/sdk/dotnet/Inputs/SecurityGroupRuleRuleGetArgs.cs deleted file mode 100644 index 87b318e..0000000 --- a/sdk/dotnet/Inputs/SecurityGroupRuleRuleGetArgs.cs +++ /dev/null @@ -1,74 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class SecurityGroupRuleRuleGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - /// - [Input("fromPortRange")] - public Input? FromPortRange { get; set; } - - /// - /// The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - /// - [Input("ipProtocol")] - public Input? IpProtocol { get; set; } - - [Input("ipRanges")] - private InputList? _ipRanges; - - /// - /// One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - /// - public InputList IpRanges - { - get => _ipRanges ?? (_ipRanges = new InputList()); - set => _ipRanges = value; - } - - [Input("securityGroupsMembers")] - private InputList? _securityGroupsMembers; - - /// - /// Information about one or more source or destination security groups. - /// - public InputList SecurityGroupsMembers - { - get => _securityGroupsMembers ?? (_securityGroupsMembers = new InputList()); - set => _securityGroupsMembers = value; - } - - [Input("serviceIds")] - private InputList? _serviceIds; - - /// - /// One or more service IDs to allow traffic from a Net to access the corresponding OUTSCALE services. For more information, see [ReadNetAccessPointServices](https://docs.outscale.com/api#readnetaccesspointservices). - /// - public InputList ServiceIds - { - get => _serviceIds ?? (_serviceIds = new InputList()); - set => _serviceIds = value; - } - - /// - /// The end of the port range for the TCP and UDP protocols, or an ICMP code number. If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - /// - [Input("toPortRange")] - public Input? ToPortRange { get; set; } - - public SecurityGroupRuleRuleGetArgs() - { - } - public static new SecurityGroupRuleRuleGetArgs Empty => new SecurityGroupRuleRuleGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/SecurityGroupRuleRuleSecurityGroupsMemberArgs.cs b/sdk/dotnet/Inputs/SecurityGroupRuleRuleSecurityGroupsMemberArgs.cs deleted file mode 100644 index 00cb481..0000000 --- a/sdk/dotnet/Inputs/SecurityGroupRuleRuleSecurityGroupsMemberArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class SecurityGroupRuleRuleSecurityGroupsMemberArgs : global::Pulumi.ResourceArgs - { - /// - /// The account ID that owns the source or destination security group. - /// - [Input("accountId")] - public Input? AccountId { get; set; } - - /// - /// The ID of the security group for which you want to create a rule. - /// - [Input("securityGroupId")] - public Input? SecurityGroupId { get; set; } - - /// - /// (Public Cloud only) The name of a source or destination security group that you want to link to the security group of the rule. - /// - [Input("securityGroupName")] - public Input? SecurityGroupName { get; set; } - - public SecurityGroupRuleRuleSecurityGroupsMemberArgs() - { - } - public static new SecurityGroupRuleRuleSecurityGroupsMemberArgs Empty => new SecurityGroupRuleRuleSecurityGroupsMemberArgs(); - } -} diff --git a/sdk/dotnet/Inputs/SecurityGroupRuleRuleSecurityGroupsMemberGetArgs.cs b/sdk/dotnet/Inputs/SecurityGroupRuleRuleSecurityGroupsMemberGetArgs.cs deleted file mode 100644 index 1cd77dc..0000000 --- a/sdk/dotnet/Inputs/SecurityGroupRuleRuleSecurityGroupsMemberGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class SecurityGroupRuleRuleSecurityGroupsMemberGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The account ID that owns the source or destination security group. - /// - [Input("accountId")] - public Input? AccountId { get; set; } - - /// - /// The ID of the security group for which you want to create a rule. - /// - [Input("securityGroupId")] - public Input? SecurityGroupId { get; set; } - - /// - /// (Public Cloud only) The name of a source or destination security group that you want to link to the security group of the rule. - /// - [Input("securityGroupName")] - public Input? SecurityGroupName { get; set; } - - public SecurityGroupRuleRuleSecurityGroupsMemberGetArgs() - { - } - public static new SecurityGroupRuleRuleSecurityGroupsMemberGetArgs Empty => new SecurityGroupRuleRuleSecurityGroupsMemberGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/SecurityGroupTagArgs.cs b/sdk/dotnet/Inputs/SecurityGroupTagArgs.cs deleted file mode 100644 index 242a20f..0000000 --- a/sdk/dotnet/Inputs/SecurityGroupTagArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class SecurityGroupTagArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public SecurityGroupTagArgs() - { - } - public static new SecurityGroupTagArgs Empty => new SecurityGroupTagArgs(); - } -} diff --git a/sdk/dotnet/Inputs/SecurityGroupTagGetArgs.cs b/sdk/dotnet/Inputs/SecurityGroupTagGetArgs.cs deleted file mode 100644 index f91b025..0000000 --- a/sdk/dotnet/Inputs/SecurityGroupTagGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class SecurityGroupTagGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public SecurityGroupTagGetArgs() - { - } - public static new SecurityGroupTagGetArgs Empty => new SecurityGroupTagGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs.cs b/sdk/dotnet/Inputs/SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs.cs deleted file mode 100644 index 34f3e12..0000000 --- a/sdk/dotnet/Inputs/SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs : global::Pulumi.ResourceArgs - { - [Input("accountIds")] - private InputList? _accountIds; - - /// - /// The account ID of one or more users from whom you want to remove permissions. - /// - public InputList AccountIds - { - get => _accountIds ?? (_accountIds = new InputList()); - set => _accountIds = value; - } - - /// - /// If true, the resource is public. If false, the resource is private. - /// - [Input("globalPermission")] - public Input? GlobalPermission { get; set; } - - public SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs() - { - } - public static new SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs Empty => new SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs(); - } -} diff --git a/sdk/dotnet/Inputs/SnapshotAttributesPermissionsToCreateVolumeAdditionsGetArgs.cs b/sdk/dotnet/Inputs/SnapshotAttributesPermissionsToCreateVolumeAdditionsGetArgs.cs deleted file mode 100644 index f688382..0000000 --- a/sdk/dotnet/Inputs/SnapshotAttributesPermissionsToCreateVolumeAdditionsGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class SnapshotAttributesPermissionsToCreateVolumeAdditionsGetArgs : global::Pulumi.ResourceArgs - { - [Input("accountIds")] - private InputList? _accountIds; - - /// - /// The account ID of one or more users from whom you want to remove permissions. - /// - public InputList AccountIds - { - get => _accountIds ?? (_accountIds = new InputList()); - set => _accountIds = value; - } - - /// - /// If true, the resource is public. If false, the resource is private. - /// - [Input("globalPermission")] - public Input? GlobalPermission { get; set; } - - public SnapshotAttributesPermissionsToCreateVolumeAdditionsGetArgs() - { - } - public static new SnapshotAttributesPermissionsToCreateVolumeAdditionsGetArgs Empty => new SnapshotAttributesPermissionsToCreateVolumeAdditionsGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/SnapshotAttributesPermissionsToCreateVolumeRemovalArgs.cs b/sdk/dotnet/Inputs/SnapshotAttributesPermissionsToCreateVolumeRemovalArgs.cs deleted file mode 100644 index 079650c..0000000 --- a/sdk/dotnet/Inputs/SnapshotAttributesPermissionsToCreateVolumeRemovalArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class SnapshotAttributesPermissionsToCreateVolumeRemovalArgs : global::Pulumi.ResourceArgs - { - [Input("accountIds")] - private InputList? _accountIds; - - /// - /// The account ID of one or more users from whom you want to remove permissions. - /// - public InputList AccountIds - { - get => _accountIds ?? (_accountIds = new InputList()); - set => _accountIds = value; - } - - /// - /// If true, the resource is public. If false, the resource is private. - /// - [Input("globalPermission")] - public Input? GlobalPermission { get; set; } - - public SnapshotAttributesPermissionsToCreateVolumeRemovalArgs() - { - } - public static new SnapshotAttributesPermissionsToCreateVolumeRemovalArgs Empty => new SnapshotAttributesPermissionsToCreateVolumeRemovalArgs(); - } -} diff --git a/sdk/dotnet/Inputs/SnapshotAttributesPermissionsToCreateVolumeRemovalGetArgs.cs b/sdk/dotnet/Inputs/SnapshotAttributesPermissionsToCreateVolumeRemovalGetArgs.cs deleted file mode 100644 index 710fa34..0000000 --- a/sdk/dotnet/Inputs/SnapshotAttributesPermissionsToCreateVolumeRemovalGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class SnapshotAttributesPermissionsToCreateVolumeRemovalGetArgs : global::Pulumi.ResourceArgs - { - [Input("accountIds")] - private InputList? _accountIds; - - /// - /// The account ID of one or more users from whom you want to remove permissions. - /// - public InputList AccountIds - { - get => _accountIds ?? (_accountIds = new InputList()); - set => _accountIds = value; - } - - /// - /// If true, the resource is public. If false, the resource is private. - /// - [Input("globalPermission")] - public Input? GlobalPermission { get; set; } - - public SnapshotAttributesPermissionsToCreateVolumeRemovalGetArgs() - { - } - public static new SnapshotAttributesPermissionsToCreateVolumeRemovalGetArgs Empty => new SnapshotAttributesPermissionsToCreateVolumeRemovalGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/SnapshotExportTaskOsuExportArgs.cs b/sdk/dotnet/Inputs/SnapshotExportTaskOsuExportArgs.cs deleted file mode 100644 index adc4168..0000000 --- a/sdk/dotnet/Inputs/SnapshotExportTaskOsuExportArgs.cs +++ /dev/null @@ -1,50 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class SnapshotExportTaskOsuExportArgs : global::Pulumi.ResourceArgs - { - /// - /// The format of the export disk (`qcow2` \| `raw`). - /// - [Input("diskImageFormat", required: true)] - public Input DiskImageFormat { get; set; } = null!; - - [Input("osuApiKeys")] - private InputList? _osuApiKeys; - - /// - /// Information about the OOS API key. - /// - public InputList OsuApiKeys - { - get => _osuApiKeys ?? (_osuApiKeys = new InputList()); - set => _osuApiKeys = value; - } - - /// - /// The name of the OOS bucket where you want to export the object. - /// - [Input("osuBucket", required: true)] - public Input OsuBucket { get; set; } = null!; - - /// - /// The prefix for the key of the OOS object. - /// - [Input("osuPrefix")] - public Input? OsuPrefix { get; set; } - - public SnapshotExportTaskOsuExportArgs() - { - } - public static new SnapshotExportTaskOsuExportArgs Empty => new SnapshotExportTaskOsuExportArgs(); - } -} diff --git a/sdk/dotnet/Inputs/SnapshotExportTaskOsuExportGetArgs.cs b/sdk/dotnet/Inputs/SnapshotExportTaskOsuExportGetArgs.cs deleted file mode 100644 index 666136d..0000000 --- a/sdk/dotnet/Inputs/SnapshotExportTaskOsuExportGetArgs.cs +++ /dev/null @@ -1,50 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class SnapshotExportTaskOsuExportGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The format of the export disk (`qcow2` \| `raw`). - /// - [Input("diskImageFormat", required: true)] - public Input DiskImageFormat { get; set; } = null!; - - [Input("osuApiKeys")] - private InputList? _osuApiKeys; - - /// - /// Information about the OOS API key. - /// - public InputList OsuApiKeys - { - get => _osuApiKeys ?? (_osuApiKeys = new InputList()); - set => _osuApiKeys = value; - } - - /// - /// The name of the OOS bucket where you want to export the object. - /// - [Input("osuBucket", required: true)] - public Input OsuBucket { get; set; } = null!; - - /// - /// The prefix for the key of the OOS object. - /// - [Input("osuPrefix")] - public Input? OsuPrefix { get; set; } - - public SnapshotExportTaskOsuExportGetArgs() - { - } - public static new SnapshotExportTaskOsuExportGetArgs Empty => new SnapshotExportTaskOsuExportGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/SnapshotExportTaskOsuExportOsuApiKeyArgs.cs b/sdk/dotnet/Inputs/SnapshotExportTaskOsuExportOsuApiKeyArgs.cs deleted file mode 100644 index 5ed9aab..0000000 --- a/sdk/dotnet/Inputs/SnapshotExportTaskOsuExportOsuApiKeyArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class SnapshotExportTaskOsuExportOsuApiKeyArgs : global::Pulumi.ResourceArgs - { - /// - /// The API key of the OOS account that enables you to access the bucket. - /// - [Input("apiKeyId", required: true)] - public Input ApiKeyId { get; set; } = null!; - - /// - /// The secret key of the OOS account that enables you to access the bucket. - /// - [Input("secretKey", required: true)] - public Input SecretKey { get; set; } = null!; - - public SnapshotExportTaskOsuExportOsuApiKeyArgs() - { - } - public static new SnapshotExportTaskOsuExportOsuApiKeyArgs Empty => new SnapshotExportTaskOsuExportOsuApiKeyArgs(); - } -} diff --git a/sdk/dotnet/Inputs/SnapshotExportTaskOsuExportOsuApiKeyGetArgs.cs b/sdk/dotnet/Inputs/SnapshotExportTaskOsuExportOsuApiKeyGetArgs.cs deleted file mode 100644 index 233942d..0000000 --- a/sdk/dotnet/Inputs/SnapshotExportTaskOsuExportOsuApiKeyGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class SnapshotExportTaskOsuExportOsuApiKeyGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The API key of the OOS account that enables you to access the bucket. - /// - [Input("apiKeyId", required: true)] - public Input ApiKeyId { get; set; } = null!; - - /// - /// The secret key of the OOS account that enables you to access the bucket. - /// - [Input("secretKey", required: true)] - public Input SecretKey { get; set; } = null!; - - public SnapshotExportTaskOsuExportOsuApiKeyGetArgs() - { - } - public static new SnapshotExportTaskOsuExportOsuApiKeyGetArgs Empty => new SnapshotExportTaskOsuExportOsuApiKeyGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/SnapshotExportTaskTagArgs.cs b/sdk/dotnet/Inputs/SnapshotExportTaskTagArgs.cs deleted file mode 100644 index 7fe1a86..0000000 --- a/sdk/dotnet/Inputs/SnapshotExportTaskTagArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class SnapshotExportTaskTagArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public SnapshotExportTaskTagArgs() - { - } - public static new SnapshotExportTaskTagArgs Empty => new SnapshotExportTaskTagArgs(); - } -} diff --git a/sdk/dotnet/Inputs/SnapshotExportTaskTagGetArgs.cs b/sdk/dotnet/Inputs/SnapshotExportTaskTagGetArgs.cs deleted file mode 100644 index 27f9395..0000000 --- a/sdk/dotnet/Inputs/SnapshotExportTaskTagGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class SnapshotExportTaskTagGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public SnapshotExportTaskTagGetArgs() - { - } - public static new SnapshotExportTaskTagGetArgs Empty => new SnapshotExportTaskTagGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/SnapshotPermissionsToCreateVolumeArgs.cs b/sdk/dotnet/Inputs/SnapshotPermissionsToCreateVolumeArgs.cs deleted file mode 100644 index 5023b09..0000000 --- a/sdk/dotnet/Inputs/SnapshotPermissionsToCreateVolumeArgs.cs +++ /dev/null @@ -1,34 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class SnapshotPermissionsToCreateVolumeArgs : global::Pulumi.ResourceArgs - { - /// - /// The account ID of the owner of the snapshot. - /// - [Input("accountId")] - public Input? AccountId { get; set; } - - /// - /// A global permission for all accounts.<br /> - /// (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).<br /> - /// (Response) If true, the resource is public. If false, the resource is private. - /// - [Input("globalPermission")] - public Input? GlobalPermission { get; set; } - - public SnapshotPermissionsToCreateVolumeArgs() - { - } - public static new SnapshotPermissionsToCreateVolumeArgs Empty => new SnapshotPermissionsToCreateVolumeArgs(); - } -} diff --git a/sdk/dotnet/Inputs/SnapshotPermissionsToCreateVolumeGetArgs.cs b/sdk/dotnet/Inputs/SnapshotPermissionsToCreateVolumeGetArgs.cs deleted file mode 100644 index 488e908..0000000 --- a/sdk/dotnet/Inputs/SnapshotPermissionsToCreateVolumeGetArgs.cs +++ /dev/null @@ -1,34 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class SnapshotPermissionsToCreateVolumeGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The account ID of the owner of the snapshot. - /// - [Input("accountId")] - public Input? AccountId { get; set; } - - /// - /// A global permission for all accounts.<br /> - /// (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).<br /> - /// (Response) If true, the resource is public. If false, the resource is private. - /// - [Input("globalPermission")] - public Input? GlobalPermission { get; set; } - - public SnapshotPermissionsToCreateVolumeGetArgs() - { - } - public static new SnapshotPermissionsToCreateVolumeGetArgs Empty => new SnapshotPermissionsToCreateVolumeGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/SnapshotTagArgs.cs b/sdk/dotnet/Inputs/SnapshotTagArgs.cs deleted file mode 100644 index 4a2f70e..0000000 --- a/sdk/dotnet/Inputs/SnapshotTagArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class SnapshotTagArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public SnapshotTagArgs() - { - } - public static new SnapshotTagArgs Empty => new SnapshotTagArgs(); - } -} diff --git a/sdk/dotnet/Inputs/SnapshotTagGetArgs.cs b/sdk/dotnet/Inputs/SnapshotTagGetArgs.cs deleted file mode 100644 index 493f41e..0000000 --- a/sdk/dotnet/Inputs/SnapshotTagGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class SnapshotTagGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public SnapshotTagGetArgs() - { - } - public static new SnapshotTagGetArgs Empty => new SnapshotTagGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/SubnetTagArgs.cs b/sdk/dotnet/Inputs/SubnetTagArgs.cs deleted file mode 100644 index 6352dcb..0000000 --- a/sdk/dotnet/Inputs/SubnetTagArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class SubnetTagArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public SubnetTagArgs() - { - } - public static new SubnetTagArgs Empty => new SubnetTagArgs(); - } -} diff --git a/sdk/dotnet/Inputs/SubnetTagGetArgs.cs b/sdk/dotnet/Inputs/SubnetTagGetArgs.cs deleted file mode 100644 index efe6039..0000000 --- a/sdk/dotnet/Inputs/SubnetTagGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class SubnetTagGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public SubnetTagGetArgs() - { - } - public static new SubnetTagGetArgs Empty => new SubnetTagGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/TagTagArgs.cs b/sdk/dotnet/Inputs/TagTagArgs.cs deleted file mode 100644 index 31faa60..0000000 --- a/sdk/dotnet/Inputs/TagTagArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class TagTagArgs : global::Pulumi.ResourceArgs - { - [Input("key")] - public Input? Key { get; set; } - - [Input("resourceId")] - public Input? ResourceId { get; set; } - - [Input("resourceType")] - public Input? ResourceType { get; set; } - - [Input("value")] - public Input? Value { get; set; } - - public TagTagArgs() - { - } - public static new TagTagArgs Empty => new TagTagArgs(); - } -} diff --git a/sdk/dotnet/Inputs/TagTagGetArgs.cs b/sdk/dotnet/Inputs/TagTagGetArgs.cs deleted file mode 100644 index 063bc0e..0000000 --- a/sdk/dotnet/Inputs/TagTagGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class TagTagGetArgs : global::Pulumi.ResourceArgs - { - [Input("key")] - public Input? Key { get; set; } - - [Input("resourceId")] - public Input? ResourceId { get; set; } - - [Input("resourceType")] - public Input? ResourceType { get; set; } - - [Input("value")] - public Input? Value { get; set; } - - public TagTagGetArgs() - { - } - public static new TagTagGetArgs Empty => new TagTagGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VirtualGatewayLinkNetToVirtualGatewayLinkArgs.cs b/sdk/dotnet/Inputs/VirtualGatewayLinkNetToVirtualGatewayLinkArgs.cs deleted file mode 100644 index 372be8f..0000000 --- a/sdk/dotnet/Inputs/VirtualGatewayLinkNetToVirtualGatewayLinkArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VirtualGatewayLinkNetToVirtualGatewayLinkArgs : global::Pulumi.ResourceArgs - { - /// - /// The ID of the Net to which you want to attach the virtual gateway. - /// - [Input("netId")] - public Input? NetId { get; set; } - - /// - /// The state of the attachment (`attaching` \| `attached` \| `detaching` \| `detached`). - /// - [Input("state")] - public Input? State { get; set; } - - public VirtualGatewayLinkNetToVirtualGatewayLinkArgs() - { - } - public static new VirtualGatewayLinkNetToVirtualGatewayLinkArgs Empty => new VirtualGatewayLinkNetToVirtualGatewayLinkArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VirtualGatewayLinkNetToVirtualGatewayLinkGetArgs.cs b/sdk/dotnet/Inputs/VirtualGatewayLinkNetToVirtualGatewayLinkGetArgs.cs deleted file mode 100644 index d8ef868..0000000 --- a/sdk/dotnet/Inputs/VirtualGatewayLinkNetToVirtualGatewayLinkGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VirtualGatewayLinkNetToVirtualGatewayLinkGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The ID of the Net to which you want to attach the virtual gateway. - /// - [Input("netId")] - public Input? NetId { get; set; } - - /// - /// The state of the attachment (`attaching` \| `attached` \| `detaching` \| `detached`). - /// - [Input("state")] - public Input? State { get; set; } - - public VirtualGatewayLinkNetToVirtualGatewayLinkGetArgs() - { - } - public static new VirtualGatewayLinkNetToVirtualGatewayLinkGetArgs Empty => new VirtualGatewayLinkNetToVirtualGatewayLinkGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VirtualGatewayNetToVirtualGatewayLinkArgs.cs b/sdk/dotnet/Inputs/VirtualGatewayNetToVirtualGatewayLinkArgs.cs deleted file mode 100644 index 4ac1756..0000000 --- a/sdk/dotnet/Inputs/VirtualGatewayNetToVirtualGatewayLinkArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VirtualGatewayNetToVirtualGatewayLinkArgs : global::Pulumi.ResourceArgs - { - /// - /// The ID of the Net to which the virtual gateway is attached. - /// - [Input("netId")] - public Input? NetId { get; set; } - - /// - /// The state of the virtual gateway (`pending` \| `available` \| `deleting` \| `deleted`). - /// - [Input("state")] - public Input? State { get; set; } - - public VirtualGatewayNetToVirtualGatewayLinkArgs() - { - } - public static new VirtualGatewayNetToVirtualGatewayLinkArgs Empty => new VirtualGatewayNetToVirtualGatewayLinkArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VirtualGatewayNetToVirtualGatewayLinkGetArgs.cs b/sdk/dotnet/Inputs/VirtualGatewayNetToVirtualGatewayLinkGetArgs.cs deleted file mode 100644 index 9f3d5c6..0000000 --- a/sdk/dotnet/Inputs/VirtualGatewayNetToVirtualGatewayLinkGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VirtualGatewayNetToVirtualGatewayLinkGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The ID of the Net to which the virtual gateway is attached. - /// - [Input("netId")] - public Input? NetId { get; set; } - - /// - /// The state of the virtual gateway (`pending` \| `available` \| `deleting` \| `deleted`). - /// - [Input("state")] - public Input? State { get; set; } - - public VirtualGatewayNetToVirtualGatewayLinkGetArgs() - { - } - public static new VirtualGatewayNetToVirtualGatewayLinkGetArgs Empty => new VirtualGatewayNetToVirtualGatewayLinkGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VirtualGatewayTagArgs.cs b/sdk/dotnet/Inputs/VirtualGatewayTagArgs.cs deleted file mode 100644 index f5d9467..0000000 --- a/sdk/dotnet/Inputs/VirtualGatewayTagArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VirtualGatewayTagArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public VirtualGatewayTagArgs() - { - } - public static new VirtualGatewayTagArgs Empty => new VirtualGatewayTagArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VirtualGatewayTagGetArgs.cs b/sdk/dotnet/Inputs/VirtualGatewayTagGetArgs.cs deleted file mode 100644 index 299f181..0000000 --- a/sdk/dotnet/Inputs/VirtualGatewayTagGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VirtualGatewayTagGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public VirtualGatewayTagGetArgs() - { - } - public static new VirtualGatewayTagGetArgs Empty => new VirtualGatewayTagGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmBlockDeviceMappingArgs.cs b/sdk/dotnet/Inputs/VmBlockDeviceMappingArgs.cs deleted file mode 100644 index 89a8610..0000000 --- a/sdk/dotnet/Inputs/VmBlockDeviceMappingArgs.cs +++ /dev/null @@ -1,44 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmBlockDeviceMappingArgs : global::Pulumi.ResourceArgs - { - /// - /// Information about the BSU volume to create. - /// - [Input("bsu")] - public Input? Bsu { get; set; } - - /// - /// The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - /// - [Input("deviceName")] - public Input? DeviceName { get; set; } - - /// - /// Removes the device which is included in the block device mapping of the OMI. - /// - [Input("noDevice")] - public Input? NoDevice { get; set; } - - /// - /// The name of the virtual device (`ephemeralN`). - /// - [Input("virtualDeviceName")] - public Input? VirtualDeviceName { get; set; } - - public VmBlockDeviceMappingArgs() - { - } - public static new VmBlockDeviceMappingArgs Empty => new VmBlockDeviceMappingArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmBlockDeviceMappingBsuArgs.cs b/sdk/dotnet/Inputs/VmBlockDeviceMappingBsuArgs.cs deleted file mode 100644 index 540f368..0000000 --- a/sdk/dotnet/Inputs/VmBlockDeviceMappingBsuArgs.cs +++ /dev/null @@ -1,65 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmBlockDeviceMappingBsuArgs : global::Pulumi.ResourceArgs - { - /// - /// If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - /// - [Input("deleteOnVmDeletion")] - public Input? DeleteOnVmDeletion { get; set; } - - /// - /// The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - /// - [Input("iops")] - public Input? Iops { get; set; } - - /// - /// The ID of the snapshot used to create the volume. - /// - [Input("snapshotId")] - public Input? SnapshotId { get; set; } - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - /// - /// The size of the volume, in gibibytes (GiB).<br /> - /// If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.<br /> - /// If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. - /// - [Input("volumeSize")] - public Input? VolumeSize { get; set; } - - /// - /// The type of the volume (`standard` \| `io1` \| `gp2`). If not specified in the request, a `standard` volume is created.<br /> - /// For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - /// - [Input("volumeType")] - public Input? VolumeType { get; set; } - - public VmBlockDeviceMappingBsuArgs() - { - } - public static new VmBlockDeviceMappingBsuArgs Empty => new VmBlockDeviceMappingBsuArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmBlockDeviceMappingBsuGetArgs.cs b/sdk/dotnet/Inputs/VmBlockDeviceMappingBsuGetArgs.cs deleted file mode 100644 index 2de4030..0000000 --- a/sdk/dotnet/Inputs/VmBlockDeviceMappingBsuGetArgs.cs +++ /dev/null @@ -1,65 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmBlockDeviceMappingBsuGetArgs : global::Pulumi.ResourceArgs - { - /// - /// If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - /// - [Input("deleteOnVmDeletion")] - public Input? DeleteOnVmDeletion { get; set; } - - /// - /// The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - /// - [Input("iops")] - public Input? Iops { get; set; } - - /// - /// The ID of the snapshot used to create the volume. - /// - [Input("snapshotId")] - public Input? SnapshotId { get; set; } - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - /// - /// The size of the volume, in gibibytes (GiB).<br /> - /// If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.<br /> - /// If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. - /// - [Input("volumeSize")] - public Input? VolumeSize { get; set; } - - /// - /// The type of the volume (`standard` \| `io1` \| `gp2`). If not specified in the request, a `standard` volume is created.<br /> - /// For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - /// - [Input("volumeType")] - public Input? VolumeType { get; set; } - - public VmBlockDeviceMappingBsuGetArgs() - { - } - public static new VmBlockDeviceMappingBsuGetArgs Empty => new VmBlockDeviceMappingBsuGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmBlockDeviceMappingBsuTagArgs.cs b/sdk/dotnet/Inputs/VmBlockDeviceMappingBsuTagArgs.cs deleted file mode 100644 index b99d098..0000000 --- a/sdk/dotnet/Inputs/VmBlockDeviceMappingBsuTagArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmBlockDeviceMappingBsuTagArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public VmBlockDeviceMappingBsuTagArgs() - { - } - public static new VmBlockDeviceMappingBsuTagArgs Empty => new VmBlockDeviceMappingBsuTagArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmBlockDeviceMappingBsuTagGetArgs.cs b/sdk/dotnet/Inputs/VmBlockDeviceMappingBsuTagGetArgs.cs deleted file mode 100644 index f32e046..0000000 --- a/sdk/dotnet/Inputs/VmBlockDeviceMappingBsuTagGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmBlockDeviceMappingBsuTagGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public VmBlockDeviceMappingBsuTagGetArgs() - { - } - public static new VmBlockDeviceMappingBsuTagGetArgs Empty => new VmBlockDeviceMappingBsuTagGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmBlockDeviceMappingGetArgs.cs b/sdk/dotnet/Inputs/VmBlockDeviceMappingGetArgs.cs deleted file mode 100644 index 94156fa..0000000 --- a/sdk/dotnet/Inputs/VmBlockDeviceMappingGetArgs.cs +++ /dev/null @@ -1,44 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmBlockDeviceMappingGetArgs : global::Pulumi.ResourceArgs - { - /// - /// Information about the BSU volume to create. - /// - [Input("bsu")] - public Input? Bsu { get; set; } - - /// - /// The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - /// - [Input("deviceName")] - public Input? DeviceName { get; set; } - - /// - /// Removes the device which is included in the block device mapping of the OMI. - /// - [Input("noDevice")] - public Input? NoDevice { get; set; } - - /// - /// The name of the virtual device (`ephemeralN`). - /// - [Input("virtualDeviceName")] - public Input? VirtualDeviceName { get; set; } - - public VmBlockDeviceMappingGetArgs() - { - } - public static new VmBlockDeviceMappingGetArgs Empty => new VmBlockDeviceMappingGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmBlockDeviceMappingsCreatedArgs.cs b/sdk/dotnet/Inputs/VmBlockDeviceMappingsCreatedArgs.cs deleted file mode 100644 index e298dc5..0000000 --- a/sdk/dotnet/Inputs/VmBlockDeviceMappingsCreatedArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmBlockDeviceMappingsCreatedArgs : global::Pulumi.ResourceArgs - { - [Input("bsus")] - private InputList? _bsus; - - /// - /// Information about the BSU volume to create. - /// - public InputList Bsus - { - get => _bsus ?? (_bsus = new InputList()); - set => _bsus = value; - } - - /// - /// The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - /// - [Input("deviceName")] - public Input? DeviceName { get; set; } - - public VmBlockDeviceMappingsCreatedArgs() - { - } - public static new VmBlockDeviceMappingsCreatedArgs Empty => new VmBlockDeviceMappingsCreatedArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmBlockDeviceMappingsCreatedBsusArgs.cs b/sdk/dotnet/Inputs/VmBlockDeviceMappingsCreatedBsusArgs.cs deleted file mode 100644 index ba4a39b..0000000 --- a/sdk/dotnet/Inputs/VmBlockDeviceMappingsCreatedBsusArgs.cs +++ /dev/null @@ -1,56 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmBlockDeviceMappingsCreatedBsusArgs : global::Pulumi.ResourceArgs - { - /// - /// If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - /// - [Input("deleteOnVmDeletion")] - public Input? DeleteOnVmDeletion { get; set; } - - /// - /// The date and time of attachment of the volume to the VM, in ISO 8601 date-time format. - /// - [Input("linkDate")] - public Input? LinkDate { get; set; } - - /// - /// The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - /// - [Input("state")] - public Input? State { get; set; } - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - /// - /// The ID of the volume. - /// - [Input("volumeId")] - public Input? VolumeId { get; set; } - - public VmBlockDeviceMappingsCreatedBsusArgs() - { - } - public static new VmBlockDeviceMappingsCreatedBsusArgs Empty => new VmBlockDeviceMappingsCreatedBsusArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmBlockDeviceMappingsCreatedBsusGetArgs.cs b/sdk/dotnet/Inputs/VmBlockDeviceMappingsCreatedBsusGetArgs.cs deleted file mode 100644 index 5337d8f..0000000 --- a/sdk/dotnet/Inputs/VmBlockDeviceMappingsCreatedBsusGetArgs.cs +++ /dev/null @@ -1,56 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmBlockDeviceMappingsCreatedBsusGetArgs : global::Pulumi.ResourceArgs - { - /// - /// If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - /// - [Input("deleteOnVmDeletion")] - public Input? DeleteOnVmDeletion { get; set; } - - /// - /// The date and time of attachment of the volume to the VM, in ISO 8601 date-time format. - /// - [Input("linkDate")] - public Input? LinkDate { get; set; } - - /// - /// The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - /// - [Input("state")] - public Input? State { get; set; } - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - /// - /// The ID of the volume. - /// - [Input("volumeId")] - public Input? VolumeId { get; set; } - - public VmBlockDeviceMappingsCreatedBsusGetArgs() - { - } - public static new VmBlockDeviceMappingsCreatedBsusGetArgs Empty => new VmBlockDeviceMappingsCreatedBsusGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmBlockDeviceMappingsCreatedBsusTagArgs.cs b/sdk/dotnet/Inputs/VmBlockDeviceMappingsCreatedBsusTagArgs.cs deleted file mode 100644 index fccd45f..0000000 --- a/sdk/dotnet/Inputs/VmBlockDeviceMappingsCreatedBsusTagArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmBlockDeviceMappingsCreatedBsusTagArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public VmBlockDeviceMappingsCreatedBsusTagArgs() - { - } - public static new VmBlockDeviceMappingsCreatedBsusTagArgs Empty => new VmBlockDeviceMappingsCreatedBsusTagArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmBlockDeviceMappingsCreatedBsusTagGetArgs.cs b/sdk/dotnet/Inputs/VmBlockDeviceMappingsCreatedBsusTagGetArgs.cs deleted file mode 100644 index 58b0cf8..0000000 --- a/sdk/dotnet/Inputs/VmBlockDeviceMappingsCreatedBsusTagGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmBlockDeviceMappingsCreatedBsusTagGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public VmBlockDeviceMappingsCreatedBsusTagGetArgs() - { - } - public static new VmBlockDeviceMappingsCreatedBsusTagGetArgs Empty => new VmBlockDeviceMappingsCreatedBsusTagGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmBlockDeviceMappingsCreatedGetArgs.cs b/sdk/dotnet/Inputs/VmBlockDeviceMappingsCreatedGetArgs.cs deleted file mode 100644 index da58b4d..0000000 --- a/sdk/dotnet/Inputs/VmBlockDeviceMappingsCreatedGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmBlockDeviceMappingsCreatedGetArgs : global::Pulumi.ResourceArgs - { - [Input("bsus")] - private InputList? _bsus; - - /// - /// Information about the BSU volume to create. - /// - public InputList Bsus - { - get => _bsus ?? (_bsus = new InputList()); - set => _bsus = value; - } - - /// - /// The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - /// - [Input("deviceName")] - public Input? DeviceName { get; set; } - - public VmBlockDeviceMappingsCreatedGetArgs() - { - } - public static new VmBlockDeviceMappingsCreatedGetArgs Empty => new VmBlockDeviceMappingsCreatedGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmNicArgs.cs b/sdk/dotnet/Inputs/VmNicArgs.cs deleted file mode 100644 index 940568d..0000000 --- a/sdk/dotnet/Inputs/VmNicArgs.cs +++ /dev/null @@ -1,152 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmNicArgs : global::Pulumi.ResourceArgs - { - /// - /// The account ID of the owner of the NIC. - /// - [Input("accountId")] - public Input? AccountId { get; set; } - - /// - /// If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - /// - [Input("deleteOnVmDeletion")] - public Input? DeleteOnVmDeletion { get; set; } - - /// - /// The description of the NIC, if you are creating a NIC when creating the VM. - /// - [Input("description")] - public Input? Description { get; set; } - - /// - /// The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. - /// - [Input("deviceNumber", required: true)] - public Input DeviceNumber { get; set; } = null!; - - /// - /// (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - /// - [Input("isSourceDestChecked")] - public Input? IsSourceDestChecked { get; set; } - - [Input("linkNics")] - private InputList? _linkNics; - - /// - /// Information about the network interface card (NIC). - /// - public InputList LinkNics - { - get => _linkNics ?? (_linkNics = new InputList()); - set => _linkNics = value; - } - - [Input("linkPublicIps")] - private InputList? _linkPublicIps; - - /// - /// Information about the public IP associated with the NIC. - /// - public InputList LinkPublicIps - { - get => _linkPublicIps ?? (_linkPublicIps = new InputList()); - set => _linkPublicIps = value; - } - - /// - /// The Media Access Control (MAC) address of the NIC. - /// - [Input("macAddress")] - public Input? MacAddress { get; set; } - - /// - /// The ID of the Net for the NIC. - /// - [Input("netId")] - public Input? NetId { get; set; } - - /// - /// The ID of the NIC, if you are attaching an existing NIC when creating a VM. - /// - [Input("nicId")] - public Input? NicId { get; set; } - - /// - /// The name of the private DNS. - /// - [Input("privateDnsName")] - public Input? PrivateDnsName { get; set; } - - [Input("privateIps")] - private InputList? _privateIps; - - /// - /// One or more private IPs of the VM. - /// - public InputList PrivateIps - { - get => _privateIps ?? (_privateIps = new InputList()); - set => _privateIps = value; - } - - /// - /// The number of secondary private IPs, if you create a NIC when creating a VM. This parameter cannot be specified if you specified more than one private IP in the `private_ips` parameter. - /// - [Input("secondaryPrivateIpCount")] - public Input? SecondaryPrivateIpCount { get; set; } - - [Input("securityGroupIds")] - private InputList? _securityGroupIds; - - /// - /// One or more IDs of security group for the VMs. - /// - public InputList SecurityGroupIds - { - get => _securityGroupIds ?? (_securityGroupIds = new InputList()); - set => _securityGroupIds = value; - } - - [Input("securityGroups")] - private InputList? _securityGroups; - - /// - /// One or more security groups associated with the VM. - /// - public InputList SecurityGroups - { - get => _securityGroups ?? (_securityGroups = new InputList()); - set => _securityGroups = value; - } - - /// - /// The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - /// - [Input("state")] - public Input? State { get; set; } - - /// - /// The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `nics` parameter. - /// - [Input("subnetId")] - public Input? SubnetId { get; set; } - - public VmNicArgs() - { - } - public static new VmNicArgs Empty => new VmNicArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmNicGetArgs.cs b/sdk/dotnet/Inputs/VmNicGetArgs.cs deleted file mode 100644 index a0f2381..0000000 --- a/sdk/dotnet/Inputs/VmNicGetArgs.cs +++ /dev/null @@ -1,152 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmNicGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The account ID of the owner of the NIC. - /// - [Input("accountId")] - public Input? AccountId { get; set; } - - /// - /// If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - /// - [Input("deleteOnVmDeletion")] - public Input? DeleteOnVmDeletion { get; set; } - - /// - /// The description of the NIC, if you are creating a NIC when creating the VM. - /// - [Input("description")] - public Input? Description { get; set; } - - /// - /// The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. - /// - [Input("deviceNumber", required: true)] - public Input DeviceNumber { get; set; } = null!; - - /// - /// (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - /// - [Input("isSourceDestChecked")] - public Input? IsSourceDestChecked { get; set; } - - [Input("linkNics")] - private InputList? _linkNics; - - /// - /// Information about the network interface card (NIC). - /// - public InputList LinkNics - { - get => _linkNics ?? (_linkNics = new InputList()); - set => _linkNics = value; - } - - [Input("linkPublicIps")] - private InputList? _linkPublicIps; - - /// - /// Information about the public IP associated with the NIC. - /// - public InputList LinkPublicIps - { - get => _linkPublicIps ?? (_linkPublicIps = new InputList()); - set => _linkPublicIps = value; - } - - /// - /// The Media Access Control (MAC) address of the NIC. - /// - [Input("macAddress")] - public Input? MacAddress { get; set; } - - /// - /// The ID of the Net for the NIC. - /// - [Input("netId")] - public Input? NetId { get; set; } - - /// - /// The ID of the NIC, if you are attaching an existing NIC when creating a VM. - /// - [Input("nicId")] - public Input? NicId { get; set; } - - /// - /// The name of the private DNS. - /// - [Input("privateDnsName")] - public Input? PrivateDnsName { get; set; } - - [Input("privateIps")] - private InputList? _privateIps; - - /// - /// One or more private IPs of the VM. - /// - public InputList PrivateIps - { - get => _privateIps ?? (_privateIps = new InputList()); - set => _privateIps = value; - } - - /// - /// The number of secondary private IPs, if you create a NIC when creating a VM. This parameter cannot be specified if you specified more than one private IP in the `private_ips` parameter. - /// - [Input("secondaryPrivateIpCount")] - public Input? SecondaryPrivateIpCount { get; set; } - - [Input("securityGroupIds")] - private InputList? _securityGroupIds; - - /// - /// One or more IDs of security group for the VMs. - /// - public InputList SecurityGroupIds - { - get => _securityGroupIds ?? (_securityGroupIds = new InputList()); - set => _securityGroupIds = value; - } - - [Input("securityGroups")] - private InputList? _securityGroups; - - /// - /// One or more security groups associated with the VM. - /// - public InputList SecurityGroups - { - get => _securityGroups ?? (_securityGroups = new InputList()); - set => _securityGroups = value; - } - - /// - /// The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - /// - [Input("state")] - public Input? State { get; set; } - - /// - /// The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `nics` parameter. - /// - [Input("subnetId")] - public Input? SubnetId { get; set; } - - public VmNicGetArgs() - { - } - public static new VmNicGetArgs Empty => new VmNicGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmNicLinkNicArgs.cs b/sdk/dotnet/Inputs/VmNicLinkNicArgs.cs deleted file mode 100644 index ca2f9cb..0000000 --- a/sdk/dotnet/Inputs/VmNicLinkNicArgs.cs +++ /dev/null @@ -1,44 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmNicLinkNicArgs : global::Pulumi.ResourceArgs - { - /// - /// If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - /// - [Input("deleteOnVmDeletion")] - public Input? DeleteOnVmDeletion { get; set; } - - /// - /// The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. - /// - [Input("deviceNumber")] - public Input? DeviceNumber { get; set; } - - /// - /// The ID of the NIC to attach. - /// - [Input("linkNicId")] - public Input? LinkNicId { get; set; } - - /// - /// The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - /// - [Input("state")] - public Input? State { get; set; } - - public VmNicLinkNicArgs() - { - } - public static new VmNicLinkNicArgs Empty => new VmNicLinkNicArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmNicLinkNicGetArgs.cs b/sdk/dotnet/Inputs/VmNicLinkNicGetArgs.cs deleted file mode 100644 index 4d23a5d..0000000 --- a/sdk/dotnet/Inputs/VmNicLinkNicGetArgs.cs +++ /dev/null @@ -1,44 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmNicLinkNicGetArgs : global::Pulumi.ResourceArgs - { - /// - /// If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - /// - [Input("deleteOnVmDeletion")] - public Input? DeleteOnVmDeletion { get; set; } - - /// - /// The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. - /// - [Input("deviceNumber")] - public Input? DeviceNumber { get; set; } - - /// - /// The ID of the NIC to attach. - /// - [Input("linkNicId")] - public Input? LinkNicId { get; set; } - - /// - /// The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - /// - [Input("state")] - public Input? State { get; set; } - - public VmNicLinkNicGetArgs() - { - } - public static new VmNicLinkNicGetArgs Empty => new VmNicLinkNicGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmNicLinkPublicIpArgs.cs b/sdk/dotnet/Inputs/VmNicLinkPublicIpArgs.cs deleted file mode 100644 index 4ce870a..0000000 --- a/sdk/dotnet/Inputs/VmNicLinkPublicIpArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmNicLinkPublicIpArgs : global::Pulumi.ResourceArgs - { - /// - /// The name of the public DNS. - /// - [Input("publicDnsName")] - public Input? PublicDnsName { get; set; } - - /// - /// The public IP of the VM. - /// - [Input("publicIp")] - public Input? PublicIp { get; set; } - - /// - /// The account ID of the owner of the public IP. - /// - [Input("publicIpAccountId")] - public Input? PublicIpAccountId { get; set; } - - public VmNicLinkPublicIpArgs() - { - } - public static new VmNicLinkPublicIpArgs Empty => new VmNicLinkPublicIpArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmNicLinkPublicIpGetArgs.cs b/sdk/dotnet/Inputs/VmNicLinkPublicIpGetArgs.cs deleted file mode 100644 index a2ded56..0000000 --- a/sdk/dotnet/Inputs/VmNicLinkPublicIpGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmNicLinkPublicIpGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The name of the public DNS. - /// - [Input("publicDnsName")] - public Input? PublicDnsName { get; set; } - - /// - /// The public IP of the VM. - /// - [Input("publicIp")] - public Input? PublicIp { get; set; } - - /// - /// The account ID of the owner of the public IP. - /// - [Input("publicIpAccountId")] - public Input? PublicIpAccountId { get; set; } - - public VmNicLinkPublicIpGetArgs() - { - } - public static new VmNicLinkPublicIpGetArgs Empty => new VmNicLinkPublicIpGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmNicPrivateIpArgs.cs b/sdk/dotnet/Inputs/VmNicPrivateIpArgs.cs deleted file mode 100644 index 81f4727..0000000 --- a/sdk/dotnet/Inputs/VmNicPrivateIpArgs.cs +++ /dev/null @@ -1,50 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmNicPrivateIpArgs : global::Pulumi.ResourceArgs - { - /// - /// If true, the IP is the primary private IP of the NIC. - /// - [Input("isPrimary")] - public Input? IsPrimary { get; set; } - - [Input("linkPublicIps")] - private InputList? _linkPublicIps; - - /// - /// Information about the public IP associated with the NIC. - /// - public InputList LinkPublicIps - { - get => _linkPublicIps ?? (_linkPublicIps = new InputList()); - set => _linkPublicIps = value; - } - - /// - /// The name of the private DNS. - /// - [Input("privateDnsName")] - public Input? PrivateDnsName { get; set; } - - /// - /// The private IP of the NIC. - /// - [Input("privateIp")] - public Input? PrivateIp { get; set; } - - public VmNicPrivateIpArgs() - { - } - public static new VmNicPrivateIpArgs Empty => new VmNicPrivateIpArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmNicPrivateIpGetArgs.cs b/sdk/dotnet/Inputs/VmNicPrivateIpGetArgs.cs deleted file mode 100644 index 3ab2034..0000000 --- a/sdk/dotnet/Inputs/VmNicPrivateIpGetArgs.cs +++ /dev/null @@ -1,50 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmNicPrivateIpGetArgs : global::Pulumi.ResourceArgs - { - /// - /// If true, the IP is the primary private IP of the NIC. - /// - [Input("isPrimary")] - public Input? IsPrimary { get; set; } - - [Input("linkPublicIps")] - private InputList? _linkPublicIps; - - /// - /// Information about the public IP associated with the NIC. - /// - public InputList LinkPublicIps - { - get => _linkPublicIps ?? (_linkPublicIps = new InputList()); - set => _linkPublicIps = value; - } - - /// - /// The name of the private DNS. - /// - [Input("privateDnsName")] - public Input? PrivateDnsName { get; set; } - - /// - /// The private IP of the NIC. - /// - [Input("privateIp")] - public Input? PrivateIp { get; set; } - - public VmNicPrivateIpGetArgs() - { - } - public static new VmNicPrivateIpGetArgs Empty => new VmNicPrivateIpGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmNicPrivateIpLinkPublicIpArgs.cs b/sdk/dotnet/Inputs/VmNicPrivateIpLinkPublicIpArgs.cs deleted file mode 100644 index c211618..0000000 --- a/sdk/dotnet/Inputs/VmNicPrivateIpLinkPublicIpArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmNicPrivateIpLinkPublicIpArgs : global::Pulumi.ResourceArgs - { - /// - /// The name of the public DNS. - /// - [Input("publicDnsName")] - public Input? PublicDnsName { get; set; } - - /// - /// The public IP of the VM. - /// - [Input("publicIp")] - public Input? PublicIp { get; set; } - - /// - /// The account ID of the owner of the public IP. - /// - [Input("publicIpAccountId")] - public Input? PublicIpAccountId { get; set; } - - public VmNicPrivateIpLinkPublicIpArgs() - { - } - public static new VmNicPrivateIpLinkPublicIpArgs Empty => new VmNicPrivateIpLinkPublicIpArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmNicPrivateIpLinkPublicIpGetArgs.cs b/sdk/dotnet/Inputs/VmNicPrivateIpLinkPublicIpGetArgs.cs deleted file mode 100644 index 6f11d69..0000000 --- a/sdk/dotnet/Inputs/VmNicPrivateIpLinkPublicIpGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmNicPrivateIpLinkPublicIpGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The name of the public DNS. - /// - [Input("publicDnsName")] - public Input? PublicDnsName { get; set; } - - /// - /// The public IP of the VM. - /// - [Input("publicIp")] - public Input? PublicIp { get; set; } - - /// - /// The account ID of the owner of the public IP. - /// - [Input("publicIpAccountId")] - public Input? PublicIpAccountId { get; set; } - - public VmNicPrivateIpLinkPublicIpGetArgs() - { - } - public static new VmNicPrivateIpLinkPublicIpGetArgs Empty => new VmNicPrivateIpLinkPublicIpGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmNicSecurityGroupArgs.cs b/sdk/dotnet/Inputs/VmNicSecurityGroupArgs.cs deleted file mode 100644 index 69ff193..0000000 --- a/sdk/dotnet/Inputs/VmNicSecurityGroupArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmNicSecurityGroupArgs : global::Pulumi.ResourceArgs - { - /// - /// The ID of the security group. - /// - [Input("securityGroupId")] - public Input? SecurityGroupId { get; set; } - - /// - /// The name of the security group. - /// - [Input("securityGroupName")] - public Input? SecurityGroupName { get; set; } - - public VmNicSecurityGroupArgs() - { - } - public static new VmNicSecurityGroupArgs Empty => new VmNicSecurityGroupArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmNicSecurityGroupGetArgs.cs b/sdk/dotnet/Inputs/VmNicSecurityGroupGetArgs.cs deleted file mode 100644 index bb52d60..0000000 --- a/sdk/dotnet/Inputs/VmNicSecurityGroupGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmNicSecurityGroupGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The ID of the security group. - /// - [Input("securityGroupId")] - public Input? SecurityGroupId { get; set; } - - /// - /// The name of the security group. - /// - [Input("securityGroupName")] - public Input? SecurityGroupName { get; set; } - - public VmNicSecurityGroupGetArgs() - { - } - public static new VmNicSecurityGroupGetArgs Empty => new VmNicSecurityGroupGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmPrimaryNicArgs.cs b/sdk/dotnet/Inputs/VmPrimaryNicArgs.cs deleted file mode 100644 index 102111c..0000000 --- a/sdk/dotnet/Inputs/VmPrimaryNicArgs.cs +++ /dev/null @@ -1,152 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmPrimaryNicArgs : global::Pulumi.ResourceArgs - { - /// - /// The account ID of the owner of the NIC. - /// - [Input("accountId")] - public Input? AccountId { get; set; } - - /// - /// If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - /// - [Input("deleteOnVmDeletion")] - public Input? DeleteOnVmDeletion { get; set; } - - /// - /// The description of the NIC, if you are creating a NIC when creating the VM. - /// - [Input("description")] - public Input? Description { get; set; } - - /// - /// The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. - /// - [Input("deviceNumber", required: true)] - public Input DeviceNumber { get; set; } = null!; - - /// - /// (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - /// - [Input("isSourceDestChecked")] - public Input? IsSourceDestChecked { get; set; } - - [Input("linkNics")] - private InputList? _linkNics; - - /// - /// Information about the network interface card (NIC). - /// - public InputList LinkNics - { - get => _linkNics ?? (_linkNics = new InputList()); - set => _linkNics = value; - } - - [Input("linkPublicIps")] - private InputList? _linkPublicIps; - - /// - /// Information about the public IP associated with the NIC. - /// - public InputList LinkPublicIps - { - get => _linkPublicIps ?? (_linkPublicIps = new InputList()); - set => _linkPublicIps = value; - } - - /// - /// The Media Access Control (MAC) address of the NIC. - /// - [Input("macAddress")] - public Input? MacAddress { get; set; } - - /// - /// The ID of the Net for the NIC. - /// - [Input("netId")] - public Input? NetId { get; set; } - - /// - /// The ID of the NIC, if you are attaching an existing NIC when creating a VM. - /// - [Input("nicId")] - public Input? NicId { get; set; } - - /// - /// The name of the private DNS. - /// - [Input("privateDnsName")] - public Input? PrivateDnsName { get; set; } - - [Input("privateIps")] - private InputList? _privateIps; - - /// - /// One or more private IPs of the VM. - /// - public InputList PrivateIps - { - get => _privateIps ?? (_privateIps = new InputList()); - set => _privateIps = value; - } - - /// - /// The number of secondary private IPs, if you create a NIC when creating a VM. This parameter cannot be specified if you specified more than one private IP in the `private_ips` parameter. - /// - [Input("secondaryPrivateIpCount")] - public Input? SecondaryPrivateIpCount { get; set; } - - [Input("securityGroupIds")] - private InputList? _securityGroupIds; - - /// - /// One or more IDs of security group for the VMs. - /// - public InputList SecurityGroupIds - { - get => _securityGroupIds ?? (_securityGroupIds = new InputList()); - set => _securityGroupIds = value; - } - - [Input("securityGroups")] - private InputList? _securityGroups; - - /// - /// One or more security groups associated with the VM. - /// - public InputList SecurityGroups - { - get => _securityGroups ?? (_securityGroups = new InputList()); - set => _securityGroups = value; - } - - /// - /// The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - /// - [Input("state")] - public Input? State { get; set; } - - /// - /// The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `nics` parameter. - /// - [Input("subnetId")] - public Input? SubnetId { get; set; } - - public VmPrimaryNicArgs() - { - } - public static new VmPrimaryNicArgs Empty => new VmPrimaryNicArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmPrimaryNicGetArgs.cs b/sdk/dotnet/Inputs/VmPrimaryNicGetArgs.cs deleted file mode 100644 index 3b201e8..0000000 --- a/sdk/dotnet/Inputs/VmPrimaryNicGetArgs.cs +++ /dev/null @@ -1,152 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmPrimaryNicGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The account ID of the owner of the NIC. - /// - [Input("accountId")] - public Input? AccountId { get; set; } - - /// - /// If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - /// - [Input("deleteOnVmDeletion")] - public Input? DeleteOnVmDeletion { get; set; } - - /// - /// The description of the NIC, if you are creating a NIC when creating the VM. - /// - [Input("description")] - public Input? Description { get; set; } - - /// - /// The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. - /// - [Input("deviceNumber", required: true)] - public Input DeviceNumber { get; set; } = null!; - - /// - /// (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - /// - [Input("isSourceDestChecked")] - public Input? IsSourceDestChecked { get; set; } - - [Input("linkNics")] - private InputList? _linkNics; - - /// - /// Information about the network interface card (NIC). - /// - public InputList LinkNics - { - get => _linkNics ?? (_linkNics = new InputList()); - set => _linkNics = value; - } - - [Input("linkPublicIps")] - private InputList? _linkPublicIps; - - /// - /// Information about the public IP associated with the NIC. - /// - public InputList LinkPublicIps - { - get => _linkPublicIps ?? (_linkPublicIps = new InputList()); - set => _linkPublicIps = value; - } - - /// - /// The Media Access Control (MAC) address of the NIC. - /// - [Input("macAddress")] - public Input? MacAddress { get; set; } - - /// - /// The ID of the Net for the NIC. - /// - [Input("netId")] - public Input? NetId { get; set; } - - /// - /// The ID of the NIC, if you are attaching an existing NIC when creating a VM. - /// - [Input("nicId")] - public Input? NicId { get; set; } - - /// - /// The name of the private DNS. - /// - [Input("privateDnsName")] - public Input? PrivateDnsName { get; set; } - - [Input("privateIps")] - private InputList? _privateIps; - - /// - /// One or more private IPs of the VM. - /// - public InputList PrivateIps - { - get => _privateIps ?? (_privateIps = new InputList()); - set => _privateIps = value; - } - - /// - /// The number of secondary private IPs, if you create a NIC when creating a VM. This parameter cannot be specified if you specified more than one private IP in the `private_ips` parameter. - /// - [Input("secondaryPrivateIpCount")] - public Input? SecondaryPrivateIpCount { get; set; } - - [Input("securityGroupIds")] - private InputList? _securityGroupIds; - - /// - /// One or more IDs of security group for the VMs. - /// - public InputList SecurityGroupIds - { - get => _securityGroupIds ?? (_securityGroupIds = new InputList()); - set => _securityGroupIds = value; - } - - [Input("securityGroups")] - private InputList? _securityGroups; - - /// - /// One or more security groups associated with the VM. - /// - public InputList SecurityGroups - { - get => _securityGroups ?? (_securityGroups = new InputList()); - set => _securityGroups = value; - } - - /// - /// The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - /// - [Input("state")] - public Input? State { get; set; } - - /// - /// The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `nics` parameter. - /// - [Input("subnetId")] - public Input? SubnetId { get; set; } - - public VmPrimaryNicGetArgs() - { - } - public static new VmPrimaryNicGetArgs Empty => new VmPrimaryNicGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmPrimaryNicLinkNicArgs.cs b/sdk/dotnet/Inputs/VmPrimaryNicLinkNicArgs.cs deleted file mode 100644 index 36f1f2b..0000000 --- a/sdk/dotnet/Inputs/VmPrimaryNicLinkNicArgs.cs +++ /dev/null @@ -1,44 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmPrimaryNicLinkNicArgs : global::Pulumi.ResourceArgs - { - /// - /// If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - /// - [Input("deleteOnVmDeletion")] - public Input? DeleteOnVmDeletion { get; set; } - - /// - /// The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. - /// - [Input("deviceNumber")] - public Input? DeviceNumber { get; set; } - - /// - /// The ID of the NIC to attach. - /// - [Input("linkNicId")] - public Input? LinkNicId { get; set; } - - /// - /// The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - /// - [Input("state")] - public Input? State { get; set; } - - public VmPrimaryNicLinkNicArgs() - { - } - public static new VmPrimaryNicLinkNicArgs Empty => new VmPrimaryNicLinkNicArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmPrimaryNicLinkNicGetArgs.cs b/sdk/dotnet/Inputs/VmPrimaryNicLinkNicGetArgs.cs deleted file mode 100644 index 9ae77a6..0000000 --- a/sdk/dotnet/Inputs/VmPrimaryNicLinkNicGetArgs.cs +++ /dev/null @@ -1,44 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmPrimaryNicLinkNicGetArgs : global::Pulumi.ResourceArgs - { - /// - /// If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - /// - [Input("deleteOnVmDeletion")] - public Input? DeleteOnVmDeletion { get; set; } - - /// - /// The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. - /// - [Input("deviceNumber")] - public Input? DeviceNumber { get; set; } - - /// - /// The ID of the NIC to attach. - /// - [Input("linkNicId")] - public Input? LinkNicId { get; set; } - - /// - /// The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - /// - [Input("state")] - public Input? State { get; set; } - - public VmPrimaryNicLinkNicGetArgs() - { - } - public static new VmPrimaryNicLinkNicGetArgs Empty => new VmPrimaryNicLinkNicGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmPrimaryNicLinkPublicIpArgs.cs b/sdk/dotnet/Inputs/VmPrimaryNicLinkPublicIpArgs.cs deleted file mode 100644 index 123b27b..0000000 --- a/sdk/dotnet/Inputs/VmPrimaryNicLinkPublicIpArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmPrimaryNicLinkPublicIpArgs : global::Pulumi.ResourceArgs - { - /// - /// The name of the public DNS. - /// - [Input("publicDnsName")] - public Input? PublicDnsName { get; set; } - - /// - /// The public IP of the VM. - /// - [Input("publicIp")] - public Input? PublicIp { get; set; } - - /// - /// The account ID of the owner of the public IP. - /// - [Input("publicIpAccountId")] - public Input? PublicIpAccountId { get; set; } - - public VmPrimaryNicLinkPublicIpArgs() - { - } - public static new VmPrimaryNicLinkPublicIpArgs Empty => new VmPrimaryNicLinkPublicIpArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmPrimaryNicLinkPublicIpGetArgs.cs b/sdk/dotnet/Inputs/VmPrimaryNicLinkPublicIpGetArgs.cs deleted file mode 100644 index 62f99fe..0000000 --- a/sdk/dotnet/Inputs/VmPrimaryNicLinkPublicIpGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmPrimaryNicLinkPublicIpGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The name of the public DNS. - /// - [Input("publicDnsName")] - public Input? PublicDnsName { get; set; } - - /// - /// The public IP of the VM. - /// - [Input("publicIp")] - public Input? PublicIp { get; set; } - - /// - /// The account ID of the owner of the public IP. - /// - [Input("publicIpAccountId")] - public Input? PublicIpAccountId { get; set; } - - public VmPrimaryNicLinkPublicIpGetArgs() - { - } - public static new VmPrimaryNicLinkPublicIpGetArgs Empty => new VmPrimaryNicLinkPublicIpGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmPrimaryNicPrivateIpArgs.cs b/sdk/dotnet/Inputs/VmPrimaryNicPrivateIpArgs.cs deleted file mode 100644 index cd3e1af..0000000 --- a/sdk/dotnet/Inputs/VmPrimaryNicPrivateIpArgs.cs +++ /dev/null @@ -1,50 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmPrimaryNicPrivateIpArgs : global::Pulumi.ResourceArgs - { - /// - /// If true, the IP is the primary private IP of the NIC. - /// - [Input("isPrimary")] - public Input? IsPrimary { get; set; } - - [Input("linkPublicIps")] - private InputList? _linkPublicIps; - - /// - /// Information about the public IP associated with the NIC. - /// - public InputList LinkPublicIps - { - get => _linkPublicIps ?? (_linkPublicIps = new InputList()); - set => _linkPublicIps = value; - } - - /// - /// The name of the private DNS. - /// - [Input("privateDnsName")] - public Input? PrivateDnsName { get; set; } - - /// - /// The private IP of the NIC. - /// - [Input("privateIp")] - public Input? PrivateIp { get; set; } - - public VmPrimaryNicPrivateIpArgs() - { - } - public static new VmPrimaryNicPrivateIpArgs Empty => new VmPrimaryNicPrivateIpArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmPrimaryNicPrivateIpGetArgs.cs b/sdk/dotnet/Inputs/VmPrimaryNicPrivateIpGetArgs.cs deleted file mode 100644 index 9f44090..0000000 --- a/sdk/dotnet/Inputs/VmPrimaryNicPrivateIpGetArgs.cs +++ /dev/null @@ -1,50 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmPrimaryNicPrivateIpGetArgs : global::Pulumi.ResourceArgs - { - /// - /// If true, the IP is the primary private IP of the NIC. - /// - [Input("isPrimary")] - public Input? IsPrimary { get; set; } - - [Input("linkPublicIps")] - private InputList? _linkPublicIps; - - /// - /// Information about the public IP associated with the NIC. - /// - public InputList LinkPublicIps - { - get => _linkPublicIps ?? (_linkPublicIps = new InputList()); - set => _linkPublicIps = value; - } - - /// - /// The name of the private DNS. - /// - [Input("privateDnsName")] - public Input? PrivateDnsName { get; set; } - - /// - /// The private IP of the NIC. - /// - [Input("privateIp")] - public Input? PrivateIp { get; set; } - - public VmPrimaryNicPrivateIpGetArgs() - { - } - public static new VmPrimaryNicPrivateIpGetArgs Empty => new VmPrimaryNicPrivateIpGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmPrimaryNicPrivateIpLinkPublicIpArgs.cs b/sdk/dotnet/Inputs/VmPrimaryNicPrivateIpLinkPublicIpArgs.cs deleted file mode 100644 index a657fb6..0000000 --- a/sdk/dotnet/Inputs/VmPrimaryNicPrivateIpLinkPublicIpArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmPrimaryNicPrivateIpLinkPublicIpArgs : global::Pulumi.ResourceArgs - { - /// - /// The name of the public DNS. - /// - [Input("publicDnsName")] - public Input? PublicDnsName { get; set; } - - /// - /// The public IP of the VM. - /// - [Input("publicIp")] - public Input? PublicIp { get; set; } - - /// - /// The account ID of the owner of the public IP. - /// - [Input("publicIpAccountId")] - public Input? PublicIpAccountId { get; set; } - - public VmPrimaryNicPrivateIpLinkPublicIpArgs() - { - } - public static new VmPrimaryNicPrivateIpLinkPublicIpArgs Empty => new VmPrimaryNicPrivateIpLinkPublicIpArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmPrimaryNicPrivateIpLinkPublicIpGetArgs.cs b/sdk/dotnet/Inputs/VmPrimaryNicPrivateIpLinkPublicIpGetArgs.cs deleted file mode 100644 index eb6557b..0000000 --- a/sdk/dotnet/Inputs/VmPrimaryNicPrivateIpLinkPublicIpGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmPrimaryNicPrivateIpLinkPublicIpGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The name of the public DNS. - /// - [Input("publicDnsName")] - public Input? PublicDnsName { get; set; } - - /// - /// The public IP of the VM. - /// - [Input("publicIp")] - public Input? PublicIp { get; set; } - - /// - /// The account ID of the owner of the public IP. - /// - [Input("publicIpAccountId")] - public Input? PublicIpAccountId { get; set; } - - public VmPrimaryNicPrivateIpLinkPublicIpGetArgs() - { - } - public static new VmPrimaryNicPrivateIpLinkPublicIpGetArgs Empty => new VmPrimaryNicPrivateIpLinkPublicIpGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmPrimaryNicSecurityGroupArgs.cs b/sdk/dotnet/Inputs/VmPrimaryNicSecurityGroupArgs.cs deleted file mode 100644 index 4ef6f2d..0000000 --- a/sdk/dotnet/Inputs/VmPrimaryNicSecurityGroupArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmPrimaryNicSecurityGroupArgs : global::Pulumi.ResourceArgs - { - /// - /// The ID of the security group. - /// - [Input("securityGroupId")] - public Input? SecurityGroupId { get; set; } - - /// - /// The name of the security group. - /// - [Input("securityGroupName")] - public Input? SecurityGroupName { get; set; } - - public VmPrimaryNicSecurityGroupArgs() - { - } - public static new VmPrimaryNicSecurityGroupArgs Empty => new VmPrimaryNicSecurityGroupArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmPrimaryNicSecurityGroupGetArgs.cs b/sdk/dotnet/Inputs/VmPrimaryNicSecurityGroupGetArgs.cs deleted file mode 100644 index ce17491..0000000 --- a/sdk/dotnet/Inputs/VmPrimaryNicSecurityGroupGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmPrimaryNicSecurityGroupGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The ID of the security group. - /// - [Input("securityGroupId")] - public Input? SecurityGroupId { get; set; } - - /// - /// The name of the security group. - /// - [Input("securityGroupName")] - public Input? SecurityGroupName { get; set; } - - public VmPrimaryNicSecurityGroupGetArgs() - { - } - public static new VmPrimaryNicSecurityGroupGetArgs Empty => new VmPrimaryNicSecurityGroupGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmSecurityGroupArgs.cs b/sdk/dotnet/Inputs/VmSecurityGroupArgs.cs deleted file mode 100644 index 6258795..0000000 --- a/sdk/dotnet/Inputs/VmSecurityGroupArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmSecurityGroupArgs : global::Pulumi.ResourceArgs - { - /// - /// The ID of the security group. - /// - [Input("securityGroupId")] - public Input? SecurityGroupId { get; set; } - - /// - /// The name of the security group. - /// - [Input("securityGroupName")] - public Input? SecurityGroupName { get; set; } - - public VmSecurityGroupArgs() - { - } - public static new VmSecurityGroupArgs Empty => new VmSecurityGroupArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmSecurityGroupGetArgs.cs b/sdk/dotnet/Inputs/VmSecurityGroupGetArgs.cs deleted file mode 100644 index 69ced11..0000000 --- a/sdk/dotnet/Inputs/VmSecurityGroupGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmSecurityGroupGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The ID of the security group. - /// - [Input("securityGroupId")] - public Input? SecurityGroupId { get; set; } - - /// - /// The name of the security group. - /// - [Input("securityGroupName")] - public Input? SecurityGroupName { get; set; } - - public VmSecurityGroupGetArgs() - { - } - public static new VmSecurityGroupGetArgs Empty => new VmSecurityGroupGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmTagArgs.cs b/sdk/dotnet/Inputs/VmTagArgs.cs deleted file mode 100644 index b644359..0000000 --- a/sdk/dotnet/Inputs/VmTagArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmTagArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public VmTagArgs() - { - } - public static new VmTagArgs Empty => new VmTagArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VmTagGetArgs.cs b/sdk/dotnet/Inputs/VmTagGetArgs.cs deleted file mode 100644 index a6c3a81..0000000 --- a/sdk/dotnet/Inputs/VmTagGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VmTagGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public VmTagGetArgs() - { - } - public static new VmTagGetArgs Empty => new VmTagGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VolumeLinkedVolumeArgs.cs b/sdk/dotnet/Inputs/VolumeLinkedVolumeArgs.cs deleted file mode 100644 index b0d8757..0000000 --- a/sdk/dotnet/Inputs/VolumeLinkedVolumeArgs.cs +++ /dev/null @@ -1,50 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VolumeLinkedVolumeArgs : global::Pulumi.ResourceArgs - { - /// - /// If true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - /// - [Input("deleteOnVmDeletion")] - public Input? DeleteOnVmDeletion { get; set; } - - /// - /// The name of the device. - /// - [Input("deviceName")] - public Input? DeviceName { get; set; } - - /// - /// The state of the volume (`creating` \| `available` \| `in-use` \| `updating` \| `deleting` \| `error`). - /// - [Input("state")] - public Input? State { get; set; } - - /// - /// The ID of the VM. - /// - [Input("vmId")] - public Input? VmId { get; set; } - - /// - /// The ID of the volume. - /// - [Input("volumeId")] - public Input? VolumeId { get; set; } - - public VolumeLinkedVolumeArgs() - { - } - public static new VolumeLinkedVolumeArgs Empty => new VolumeLinkedVolumeArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VolumeLinkedVolumeGetArgs.cs b/sdk/dotnet/Inputs/VolumeLinkedVolumeGetArgs.cs deleted file mode 100644 index 1e8dd10..0000000 --- a/sdk/dotnet/Inputs/VolumeLinkedVolumeGetArgs.cs +++ /dev/null @@ -1,50 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VolumeLinkedVolumeGetArgs : global::Pulumi.ResourceArgs - { - /// - /// If true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - /// - [Input("deleteOnVmDeletion")] - public Input? DeleteOnVmDeletion { get; set; } - - /// - /// The name of the device. - /// - [Input("deviceName")] - public Input? DeviceName { get; set; } - - /// - /// The state of the volume (`creating` \| `available` \| `in-use` \| `updating` \| `deleting` \| `error`). - /// - [Input("state")] - public Input? State { get; set; } - - /// - /// The ID of the VM. - /// - [Input("vmId")] - public Input? VmId { get; set; } - - /// - /// The ID of the volume. - /// - [Input("volumeId")] - public Input? VolumeId { get; set; } - - public VolumeLinkedVolumeGetArgs() - { - } - public static new VolumeLinkedVolumeGetArgs Empty => new VolumeLinkedVolumeGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VolumeTagArgs.cs b/sdk/dotnet/Inputs/VolumeTagArgs.cs deleted file mode 100644 index 63652e2..0000000 --- a/sdk/dotnet/Inputs/VolumeTagArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VolumeTagArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public VolumeTagArgs() - { - } - public static new VolumeTagArgs Empty => new VolumeTagArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VolumeTagGetArgs.cs b/sdk/dotnet/Inputs/VolumeTagGetArgs.cs deleted file mode 100644 index dba678c..0000000 --- a/sdk/dotnet/Inputs/VolumeTagGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VolumeTagGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public VolumeTagGetArgs() - { - } - public static new VolumeTagGetArgs Empty => new VolumeTagGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VpnConnectionRouteArgs.cs b/sdk/dotnet/Inputs/VpnConnectionRouteArgs.cs deleted file mode 100644 index 75b1079..0000000 --- a/sdk/dotnet/Inputs/VpnConnectionRouteArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VpnConnectionRouteArgs : global::Pulumi.ResourceArgs - { - /// - /// The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - /// - [Input("destinationIpRange")] - public Input? DestinationIpRange { get; set; } - - /// - /// The type of route (always `static`). - /// - [Input("routeType")] - public Input? RouteType { get; set; } - - /// - /// The state of the IPSEC tunnel (`UP` \| `DOWN`). - /// - [Input("state")] - public Input? State { get; set; } - - public VpnConnectionRouteArgs() - { - } - public static new VpnConnectionRouteArgs Empty => new VpnConnectionRouteArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VpnConnectionRouteGetArgs.cs b/sdk/dotnet/Inputs/VpnConnectionRouteGetArgs.cs deleted file mode 100644 index 4cc004a..0000000 --- a/sdk/dotnet/Inputs/VpnConnectionRouteGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VpnConnectionRouteGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - /// - [Input("destinationIpRange")] - public Input? DestinationIpRange { get; set; } - - /// - /// The type of route (always `static`). - /// - [Input("routeType")] - public Input? RouteType { get; set; } - - /// - /// The state of the IPSEC tunnel (`UP` \| `DOWN`). - /// - [Input("state")] - public Input? State { get; set; } - - public VpnConnectionRouteGetArgs() - { - } - public static new VpnConnectionRouteGetArgs Empty => new VpnConnectionRouteGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VpnConnectionTagArgs.cs b/sdk/dotnet/Inputs/VpnConnectionTagArgs.cs deleted file mode 100644 index 147df6c..0000000 --- a/sdk/dotnet/Inputs/VpnConnectionTagArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VpnConnectionTagArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public VpnConnectionTagArgs() - { - } - public static new VpnConnectionTagArgs Empty => new VpnConnectionTagArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VpnConnectionTagGetArgs.cs b/sdk/dotnet/Inputs/VpnConnectionTagGetArgs.cs deleted file mode 100644 index 71ccd10..0000000 --- a/sdk/dotnet/Inputs/VpnConnectionTagGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VpnConnectionTagGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - [Input("key")] - public Input? Key { get; set; } - - /// - /// The value of the tag, between 0 and 255 characters. - /// - [Input("value")] - public Input? Value { get; set; } - - public VpnConnectionTagGetArgs() - { - } - public static new VpnConnectionTagGetArgs Empty => new VpnConnectionTagGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VpnConnectionVgwTelemetryArgs.cs b/sdk/dotnet/Inputs/VpnConnectionVgwTelemetryArgs.cs deleted file mode 100644 index a63e39b..0000000 --- a/sdk/dotnet/Inputs/VpnConnectionVgwTelemetryArgs.cs +++ /dev/null @@ -1,50 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VpnConnectionVgwTelemetryArgs : global::Pulumi.ResourceArgs - { - /// - /// The number of routes accepted through BGP (Border Gateway Protocol) route exchanges. - /// - [Input("acceptedRouteCount")] - public Input? AcceptedRouteCount { get; set; } - - /// - /// The date and time (UTC) of the latest state update. - /// - [Input("lastStateChangeDate")] - public Input? LastStateChangeDate { get; set; } - - /// - /// The IP on the OUTSCALE side of the tunnel. - /// - [Input("outsideIpAddress")] - public Input? OutsideIpAddress { get; set; } - - /// - /// The state of the IPSEC tunnel (`UP` \| `DOWN`). - /// - [Input("state")] - public Input? State { get; set; } - - /// - /// A description of the current state of the tunnel. - /// - [Input("stateDescription")] - public Input? StateDescription { get; set; } - - public VpnConnectionVgwTelemetryArgs() - { - } - public static new VpnConnectionVgwTelemetryArgs Empty => new VpnConnectionVgwTelemetryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/VpnConnectionVgwTelemetryGetArgs.cs b/sdk/dotnet/Inputs/VpnConnectionVgwTelemetryGetArgs.cs deleted file mode 100644 index 9b5e3aa..0000000 --- a/sdk/dotnet/Inputs/VpnConnectionVgwTelemetryGetArgs.cs +++ /dev/null @@ -1,50 +0,0 @@ -// *** 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.Outscale.Inputs -{ - - public sealed class VpnConnectionVgwTelemetryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The number of routes accepted through BGP (Border Gateway Protocol) route exchanges. - /// - [Input("acceptedRouteCount")] - public Input? AcceptedRouteCount { get; set; } - - /// - /// The date and time (UTC) of the latest state update. - /// - [Input("lastStateChangeDate")] - public Input? LastStateChangeDate { get; set; } - - /// - /// The IP on the OUTSCALE side of the tunnel. - /// - [Input("outsideIpAddress")] - public Input? OutsideIpAddress { get; set; } - - /// - /// The state of the IPSEC tunnel (`UP` \| `DOWN`). - /// - [Input("state")] - public Input? State { get; set; } - - /// - /// A description of the current state of the tunnel. - /// - [Input("stateDescription")] - public Input? StateDescription { get; set; } - - public VpnConnectionVgwTelemetryGetArgs() - { - } - public static new VpnConnectionVgwTelemetryGetArgs Empty => new VpnConnectionVgwTelemetryGetArgs(); - } -} diff --git a/sdk/dotnet/InternetService.cs b/sdk/dotnet/InternetService.cs deleted file mode 100644 index 1942f01..0000000 --- a/sdk/dotnet/InternetService.cs +++ /dev/null @@ -1,175 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages an Internet service. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Internet-Gateways.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-internetservice). - /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var internetService01 = new Outscale.InternetService("internetService01"); - /// - /// }); - /// ``` - /// - /// ## Import - /// - /// An internet service can be imported using its ID. For exampleconsole - /// - /// ```sh - /// $ pulumi import outscale:index/internetService:InternetService ImportedInternetService igw-12345678 - /// ``` - /// - [OutscaleResourceType("outscale:index/internetService:InternetService")] - public partial class InternetService : global::Pulumi.CustomResource - { - /// - /// The ID of the Internet service. - /// - [Output("internetServiceId")] - public Output InternetServiceId { get; private set; } = null!; - - /// - /// The ID of the Net attached to the Internet service. - /// - [Output("netId")] - public Output NetId { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - /// - /// The state of the attachment of the Internet service to the Net (always `available`). - /// - [Output("state")] - public Output State { get; private set; } = null!; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - [Output("tags")] - public Output> Tags { get; private set; } = null!; - - - /// - /// Create a InternetService resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public InternetService(string name, InternetServiceArgs? args = null, CustomResourceOptions? options = null) - : base("outscale:index/internetService:InternetService", name, args ?? new InternetServiceArgs(), MakeResourceOptions(options, "")) - { - } - - private InternetService(string name, Input id, InternetServiceState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/internetService:InternetService", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing InternetService resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static InternetService Get(string name, Input id, InternetServiceState? state = null, CustomResourceOptions? options = null) - { - return new InternetService(name, id, state, options); - } - } - - public sealed class InternetServiceArgs : global::Pulumi.ResourceArgs - { - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - public InternetServiceArgs() - { - } - public static new InternetServiceArgs Empty => new InternetServiceArgs(); - } - - public sealed class InternetServiceState : global::Pulumi.ResourceArgs - { - /// - /// The ID of the Internet service. - /// - [Input("internetServiceId")] - public Input? InternetServiceId { get; set; } - - /// - /// The ID of the Net attached to the Internet service. - /// - [Input("netId")] - public Input? NetId { get; set; } - - [Input("requestId")] - public Input? RequestId { get; set; } - - /// - /// The state of the attachment of the Internet service to the Net (always `available`). - /// - [Input("state")] - public Input? State { get; set; } - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - public InternetServiceState() - { - } - public static new InternetServiceState Empty => new InternetServiceState(); - } -} diff --git a/sdk/dotnet/InternetServiceLink.cs b/sdk/dotnet/InternetServiceLink.cs deleted file mode 100644 index b73624f..0000000 --- a/sdk/dotnet/InternetServiceLink.cs +++ /dev/null @@ -1,199 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages an Internet service link. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Internet-Gateways.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-internetservice). - /// - /// ## Example Usage - /// ### Required resources - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var net01 = new Outscale.Net("net01", new() - /// { - /// IpRange = "10.0.0.0/18", - /// }); - /// - /// var internetService01 = new Outscale.InternetService("internetService01"); - /// - /// }); - /// ``` - /// ### Link an Internet service to a Net - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var internetServiceLink01 = new Outscale.InternetServiceLink("internetServiceLink01", new() - /// { - /// InternetServiceId = outscale_internet_service.Internet_service01.Internet_service_id, - /// NetId = outscale_net.Net01.Net_id, - /// }); - /// - /// }); - /// ``` - /// - /// ## Import - /// - /// An internet service link can be imported using the internet service ID. For exampleconsole - /// - /// ```sh - /// $ pulumi import outscale:index/internetServiceLink:InternetServiceLink ImportedInternetServiceLink igw-87654321 - /// ``` - /// - [OutscaleResourceType("outscale:index/internetServiceLink:InternetServiceLink")] - public partial class InternetServiceLink : global::Pulumi.CustomResource - { - /// - /// The ID of the Internet service you want to attach. - /// - [Output("internetServiceId")] - public Output InternetServiceId { get; private set; } = null!; - - /// - /// The ID of the Net to which you want to attach the Internet service. - /// - [Output("netId")] - public Output NetId { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - /// - /// The state of the attachment of the Internet service to the Net (always `available`). - /// - [Output("state")] - public Output State { get; private set; } = null!; - - /// - /// One or more tags associated with the Internet service. - /// - [Output("tags")] - public Output> Tags { get; private set; } = null!; - - - /// - /// Create a InternetServiceLink resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public InternetServiceLink(string name, InternetServiceLinkArgs args, CustomResourceOptions? options = null) - : base("outscale:index/internetServiceLink:InternetServiceLink", name, args ?? new InternetServiceLinkArgs(), MakeResourceOptions(options, "")) - { - } - - private InternetServiceLink(string name, Input id, InternetServiceLinkState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/internetServiceLink:InternetServiceLink", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing InternetServiceLink resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static InternetServiceLink Get(string name, Input id, InternetServiceLinkState? state = null, CustomResourceOptions? options = null) - { - return new InternetServiceLink(name, id, state, options); - } - } - - public sealed class InternetServiceLinkArgs : global::Pulumi.ResourceArgs - { - /// - /// The ID of the Internet service you want to attach. - /// - [Input("internetServiceId", required: true)] - public Input InternetServiceId { get; set; } = null!; - - /// - /// The ID of the Net to which you want to attach the Internet service. - /// - [Input("netId", required: true)] - public Input NetId { get; set; } = null!; - - public InternetServiceLinkArgs() - { - } - public static new InternetServiceLinkArgs Empty => new InternetServiceLinkArgs(); - } - - public sealed class InternetServiceLinkState : global::Pulumi.ResourceArgs - { - /// - /// The ID of the Internet service you want to attach. - /// - [Input("internetServiceId")] - public Input? InternetServiceId { get; set; } - - /// - /// The ID of the Net to which you want to attach the Internet service. - /// - [Input("netId")] - public Input? NetId { get; set; } - - [Input("requestId")] - public Input? RequestId { get; set; } - - /// - /// The state of the attachment of the Internet service to the Net (always `available`). - /// - [Input("state")] - public Input? State { get; set; } - - [Input("tags")] - private InputList? _tags; - - /// - /// One or more tags associated with the Internet service. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - public InternetServiceLinkState() - { - } - public static new InternetServiceLinkState Empty => new InternetServiceLinkState(); - } -} diff --git a/sdk/dotnet/Keypair.cs b/sdk/dotnet/Keypair.cs deleted file mode 100644 index c800b9e..0000000 --- a/sdk/dotnet/Keypair.cs +++ /dev/null @@ -1,198 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages a keypair. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Keypairs.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-keypair). - /// - /// ## Example Usage - /// ### Create a keypair - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var keypair01 = new Outscale.Keypair("keypair01", new() - /// { - /// KeypairName = "terraform-keypair-create", - /// }); - /// - /// }); - /// ``` - /// ### Import keypairs - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.IO; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var keypair02 = new Outscale.Keypair("keypair02", new() - /// { - /// KeypairName = "terraform-keypair-import-file", - /// PublicKey = File.ReadAllText("<PATH>"), - /// }); - /// - /// var keypair03 = new Outscale.Keypair("keypair03", new() - /// { - /// KeypairName = "terraform-keypair-import-text", - /// PublicKey = "UFVCTElDIEtFWQ==", - /// }); - /// - /// }); - /// ``` - /// - /// ## Import - /// - /// A keypair can be imported using its name. For exampleconsole - /// - /// ```sh - /// $ pulumi import outscale:index/keypair:Keypair ImportedKeypair Name-of-the-Keypair - /// ``` - /// - [OutscaleResourceType("outscale:index/keypair:Keypair")] - public partial class Keypair : global::Pulumi.CustomResource - { - /// - /// The MD5 public key fingerprint as specified in section 4 of RFC 4716. - /// - [Output("keypairFingerprint")] - public Output KeypairFingerprint { get; private set; } = null!; - - /// - /// A unique name for the keypair, with a maximum length of 255 [ASCII printable characters](https://en.wikipedia.org/wiki/ASCII#Printable_characters). - /// - [Output("keypairName")] - public Output KeypairName { get; private set; } = null!; - - /// - /// The private key. When saving the private key in a .rsa file, replace the `\n` escape sequences with line breaks. - /// - [Output("privateKey")] - public Output PrivateKey { get; private set; } = null!; - - /// - /// The public key. It must be Base64-encoded. - /// - [Output("publicKey")] - public Output PublicKey { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - - /// - /// Create a Keypair resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public Keypair(string name, KeypairArgs? args = null, CustomResourceOptions? options = null) - : base("outscale:index/keypair:Keypair", name, args ?? new KeypairArgs(), MakeResourceOptions(options, "")) - { - } - - private Keypair(string name, Input id, KeypairState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/keypair:Keypair", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing Keypair resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static Keypair Get(string name, Input id, KeypairState? state = null, CustomResourceOptions? options = null) - { - return new Keypair(name, id, state, options); - } - } - - public sealed class KeypairArgs : global::Pulumi.ResourceArgs - { - /// - /// A unique name for the keypair, with a maximum length of 255 [ASCII printable characters](https://en.wikipedia.org/wiki/ASCII#Printable_characters). - /// - [Input("keypairName")] - public Input? KeypairName { get; set; } - - /// - /// The public key. It must be Base64-encoded. - /// - [Input("publicKey")] - public Input? PublicKey { get; set; } - - public KeypairArgs() - { - } - public static new KeypairArgs Empty => new KeypairArgs(); - } - - public sealed class KeypairState : global::Pulumi.ResourceArgs - { - /// - /// The MD5 public key fingerprint as specified in section 4 of RFC 4716. - /// - [Input("keypairFingerprint")] - public Input? KeypairFingerprint { get; set; } - - /// - /// A unique name for the keypair, with a maximum length of 255 [ASCII printable characters](https://en.wikipedia.org/wiki/ASCII#Printable_characters). - /// - [Input("keypairName")] - public Input? KeypairName { get; set; } - - /// - /// The private key. When saving the private key in a .rsa file, replace the `\n` escape sequences with line breaks. - /// - [Input("privateKey")] - public Input? PrivateKey { get; set; } - - /// - /// The public key. It must be Base64-encoded. - /// - [Input("publicKey")] - public Input? PublicKey { get; set; } - - [Input("requestId")] - public Input? RequestId { get; set; } - - public KeypairState() - { - } - public static new KeypairState Empty => new KeypairState(); - } -} diff --git a/sdk/dotnet/LoadBalancer.cs b/sdk/dotnet/LoadBalancer.cs deleted file mode 100644 index 0e2792a..0000000 --- a/sdk/dotnet/LoadBalancer.cs +++ /dev/null @@ -1,709 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages a load balancer. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Load-Balancers.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-loadbalancer). - /// - /// ## Example Usage - /// ### Create a load balancer in the public Cloud - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var loadBalancer01 = new Outscale.LoadBalancer("loadBalancer01", new() - /// { - /// Listeners = new[] - /// { - /// new Outscale.Inputs.LoadBalancerListenerArgs - /// { - /// BackendPort = 8080, - /// BackendProtocol = "HTTP", - /// LoadBalancerPort = 8080, - /// LoadBalancerProtocol = "HTTP", - /// }, - /// }, - /// LoadBalancerName = "terraform-public-load-balancer", - /// SubregionNames = new[] - /// { - /// $"{@var.Region}a", - /// }, - /// Tags = new[] - /// { - /// new Outscale.Inputs.LoadBalancerTagArgs - /// { - /// Key = "name", - /// Value = "terraform-public-load-balancer", - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// ### Create a load balancer in a Net - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var net01 = new Outscale.Net("net01", new() - /// { - /// IpRange = "10.0.0.0/16", - /// }); - /// - /// var subnet01 = new Outscale.Subnet("subnet01", new() - /// { - /// NetId = net01.NetId, - /// IpRange = "10.0.0.0/24", - /// Tags = new[] - /// { - /// new Outscale.Inputs.SubnetTagArgs - /// { - /// Key = "Name", - /// Value = "terraform-subnet-for-internal-load-balancer", - /// }, - /// }, - /// }); - /// - /// var securityGroup01 = new Outscale.SecurityGroup("securityGroup01", new() - /// { - /// Description = "Terraform security group for internal load balancer", - /// SecurityGroupName = "terraform-security-group-for-internal-load-balancer", - /// NetId = net01.NetId, - /// Tags = new[] - /// { - /// new Outscale.Inputs.SecurityGroupTagArgs - /// { - /// Key = "Name", - /// Value = "terraform-security-group-for-internal-load-balancer", - /// }, - /// }, - /// }); - /// - /// var loadBalancer02 = new Outscale.LoadBalancer("loadBalancer02", new() - /// { - /// LoadBalancerName = "terraform-private-load-balancer", - /// Listeners = new[] - /// { - /// new Outscale.Inputs.LoadBalancerListenerArgs - /// { - /// BackendPort = 80, - /// BackendProtocol = "TCP", - /// LoadBalancerProtocol = "TCP", - /// LoadBalancerPort = 80, - /// }, - /// }, - /// Subnets = new[] - /// { - /// subnet01.SubnetId, - /// }, - /// SecurityGroups = new[] - /// { - /// securityGroup01.SecurityGroupId, - /// }, - /// LoadBalancerType = "internal", - /// Tags = new[] - /// { - /// new Outscale.Inputs.LoadBalancerTagArgs - /// { - /// Key = "name", - /// Value = "terraform-private-load-balancer", - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// ### Create an internet-facing load balancer in a Net - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var net02 = new Outscale.Net("net02", new() - /// { - /// IpRange = "10.0.0.0/16", - /// }); - /// - /// var subnet02 = new Outscale.Subnet("subnet02", new() - /// { - /// NetId = net02.NetId, - /// IpRange = "10.0.0.0/24", - /// Tags = new[] - /// { - /// new Outscale.Inputs.SubnetTagArgs - /// { - /// Key = "Name", - /// Value = "terraform-security-group-for-load-balancer", - /// }, - /// }, - /// }); - /// - /// var internetService01 = new Outscale.InternetService("internetService01", new() - /// { - /// }, new CustomResourceOptions - /// { - /// DependsOn = new[] - /// { - /// net02, - /// }, - /// }); - /// - /// var internetServiceLink01 = new Outscale.InternetServiceLink("internetServiceLink01", new() - /// { - /// InternetServiceId = internetService01.InternetServiceId, - /// NetId = net02.NetId, - /// }); - /// - /// var routeTable01 = new Outscale.RouteTable("routeTable01", new() - /// { - /// NetId = net02.NetId, - /// Tags = new[] - /// { - /// new Outscale.Inputs.RouteTableTagArgs - /// { - /// Key = "name", - /// Value = "terraform-route-table-for-load-balancer", - /// }, - /// }, - /// }); - /// - /// var route01 = new Outscale.Route("route01", new() - /// { - /// GatewayId = internetService01.Id, - /// DestinationIpRange = "10.0.0.0/0", - /// RouteTableId = routeTable01.RouteTableId, - /// }); - /// - /// var routeTableLink01 = new Outscale.RouteTableLink("routeTableLink01", new() - /// { - /// RouteTableId = routeTable01.RouteTableId, - /// SubnetId = subnet02.SubnetId, - /// }); - /// - /// var loadBalancer03 = new Outscale.LoadBalancer("loadBalancer03", new() - /// { - /// LoadBalancerName = "terraform-internet-private-lb", - /// Listeners = new[] - /// { - /// new Outscale.Inputs.LoadBalancerListenerArgs - /// { - /// BackendPort = 80, - /// BackendProtocol = "TCP", - /// LoadBalancerProtocol = "TCP", - /// LoadBalancerPort = 80, - /// }, - /// new Outscale.Inputs.LoadBalancerListenerArgs - /// { - /// BackendPort = 8080, - /// BackendProtocol = "HTTP", - /// LoadBalancerProtocol = "HTTP", - /// LoadBalancerPort = 8080, - /// }, - /// }, - /// Subnets = new[] - /// { - /// subnet02.SubnetId, - /// }, - /// LoadBalancerType = "internet-facing", - /// PublicIp = "192.0.2.0", - /// Tags = new[] - /// { - /// new Outscale.Inputs.LoadBalancerTagArgs - /// { - /// Key = "name", - /// Value = "terraform-internet-private-lb", - /// }, - /// }, - /// }, new CustomResourceOptions - /// { - /// DependsOn = new[] - /// { - /// route01, - /// routeTableLink01, - /// }, - /// }); - /// - /// }); - /// ``` - /// - /// ## Import - /// - /// A load balancer can be imported using its name. For exampleconsole - /// - /// ```sh - /// $ pulumi import outscale:index/loadBalancer:LoadBalancer ImportedLbu Name-of-the-Lbu - /// ``` - /// - [OutscaleResourceType("outscale:index/loadBalancer:LoadBalancer")] - public partial class LoadBalancer : global::Pulumi.CustomResource - { - /// - /// Information about access logs. - /// - [Output("accessLogs")] - public Output> AccessLogs { get; private set; } = null!; - - /// - /// The stickiness policies defined for the load balancer. - /// - [Output("applicationStickyCookiePolicies")] - public Output> ApplicationStickyCookiePolicies { get; private set; } = null!; - - /// - /// One or more IDs of back-end VMs for the load balancer. - /// - [Output("backendVmIds")] - public Output> BackendVmIds { get; private set; } = null!; - - /// - /// The DNS name of the load balancer. - /// - [Output("dnsName")] - public Output DnsName { get; private set; } = null!; - - /// - /// Information about the health check configuration. - /// - [Output("healthChecks")] - public Output> HealthChecks { get; private set; } = null!; - - /// - /// One or more listeners to create. - /// - [Output("listeners")] - public Output> Listeners { get; private set; } = null!; - - /// - /// The unique name of the load balancer (32 alphanumeric or hyphen characters maximum, but cannot start or end with a hyphen). - /// - [Output("loadBalancerName")] - public Output LoadBalancerName { get; private set; } = null!; - - /// - /// The policies defined for the load balancer. - /// - [Output("loadBalancerStickyCookiePolicies")] - public Output> LoadBalancerStickyCookiePolicies { get; private set; } = null!; - - /// - /// The type of load balancer: `internet-facing` or `internal`. Use this parameter only for load balancers in a Net. - /// - [Output("loadBalancerType")] - public Output LoadBalancerType { get; private set; } = null!; - - /// - /// The ID of the Net for the load balancer. - /// - [Output("netId")] - public Output NetId { get; private set; } = null!; - - /// - /// (internet-facing only) The public IP you want to associate with the load balancer. If not specified, a public IP owned by 3DS OUTSCALE is associated. - /// - [Output("publicIp")] - public Output PublicIp { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - /// - /// Whether secure cookies are enabled for the load balancer. - /// - [Output("securedCookies")] - public Output SecuredCookies { get; private set; } = null!; - - /// - /// (Net only) One or more IDs of security groups you want to assign to the load balancer. If not specified, the default security group of the Net is assigned to the load balancer. - /// - [Output("securityGroups")] - public Output> SecurityGroups { get; private set; } = null!; - - /// - /// Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.<br /> - /// To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. - /// - [Output("sourceSecurityGroups")] - public Output> SourceSecurityGroups { get; private set; } = null!; - - /// - /// (Net only) The ID of the Subnet in which you want to create the load balancer. Regardless of this Subnet, the load balancer can distribute traffic to all Subnets. This parameter is required in a Net. - /// - [Output("subnets")] - public Output> Subnets { get; private set; } = null!; - - /// - /// (public Cloud only) The Subregion in which you want to create the load balancer. Regardless of this Subregion, the load balancer can distribute traffic to all Subregions. This parameter is required in the public Cloud. - /// - [Output("subregionNames")] - public Output> SubregionNames { get; private set; } = null!; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - [Output("tags")] - public Output> Tags { get; private set; } = null!; - - - /// - /// Create a LoadBalancer resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public LoadBalancer(string name, LoadBalancerArgs args, CustomResourceOptions? options = null) - : base("outscale:index/loadBalancer:LoadBalancer", name, args ?? new LoadBalancerArgs(), MakeResourceOptions(options, "")) - { - } - - private LoadBalancer(string name, Input id, LoadBalancerState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/loadBalancer:LoadBalancer", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing LoadBalancer resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static LoadBalancer Get(string name, Input id, LoadBalancerState? state = null, CustomResourceOptions? options = null) - { - return new LoadBalancer(name, id, state, options); - } - } - - public sealed class LoadBalancerArgs : global::Pulumi.ResourceArgs - { - [Input("accessLogs")] - private InputList? _accessLogs; - - /// - /// Information about access logs. - /// - public InputList AccessLogs - { - get => _accessLogs ?? (_accessLogs = new InputList()); - set => _accessLogs = value; - } - - [Input("backendVmIds")] - private InputList? _backendVmIds; - - /// - /// One or more IDs of back-end VMs for the load balancer. - /// - public InputList BackendVmIds - { - get => _backendVmIds ?? (_backendVmIds = new InputList()); - set => _backendVmIds = value; - } - - [Input("listeners", required: true)] - private InputList? _listeners; - - /// - /// One or more listeners to create. - /// - public InputList Listeners - { - get => _listeners ?? (_listeners = new InputList()); - set => _listeners = value; - } - - /// - /// The unique name of the load balancer (32 alphanumeric or hyphen characters maximum, but cannot start or end with a hyphen). - /// - [Input("loadBalancerName", required: true)] - public Input LoadBalancerName { get; set; } = null!; - - /// - /// The type of load balancer: `internet-facing` or `internal`. Use this parameter only for load balancers in a Net. - /// - [Input("loadBalancerType")] - public Input? LoadBalancerType { get; set; } - - /// - /// (internet-facing only) The public IP you want to associate with the load balancer. If not specified, a public IP owned by 3DS OUTSCALE is associated. - /// - [Input("publicIp")] - public Input? PublicIp { get; set; } - - /// - /// Whether secure cookies are enabled for the load balancer. - /// - [Input("securedCookies")] - public Input? SecuredCookies { get; set; } - - [Input("securityGroups")] - private InputList? _securityGroups; - - /// - /// (Net only) One or more IDs of security groups you want to assign to the load balancer. If not specified, the default security group of the Net is assigned to the load balancer. - /// - public InputList SecurityGroups - { - get => _securityGroups ?? (_securityGroups = new InputList()); - set => _securityGroups = value; - } - - [Input("subnets")] - private InputList? _subnets; - - /// - /// (Net only) The ID of the Subnet in which you want to create the load balancer. Regardless of this Subnet, the load balancer can distribute traffic to all Subnets. This parameter is required in a Net. - /// - public InputList Subnets - { - get => _subnets ?? (_subnets = new InputList()); - set => _subnets = value; - } - - [Input("subregionNames")] - private InputList? _subregionNames; - - /// - /// (public Cloud only) The Subregion in which you want to create the load balancer. Regardless of this Subregion, the load balancer can distribute traffic to all Subregions. This parameter is required in the public Cloud. - /// - public InputList SubregionNames - { - get => _subregionNames ?? (_subregionNames = new InputList()); - set => _subregionNames = value; - } - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - public LoadBalancerArgs() - { - } - public static new LoadBalancerArgs Empty => new LoadBalancerArgs(); - } - - public sealed class LoadBalancerState : global::Pulumi.ResourceArgs - { - [Input("accessLogs")] - private InputList? _accessLogs; - - /// - /// Information about access logs. - /// - public InputList AccessLogs - { - get => _accessLogs ?? (_accessLogs = new InputList()); - set => _accessLogs = value; - } - - [Input("applicationStickyCookiePolicies")] - private InputList? _applicationStickyCookiePolicies; - - /// - /// The stickiness policies defined for the load balancer. - /// - public InputList ApplicationStickyCookiePolicies - { - get => _applicationStickyCookiePolicies ?? (_applicationStickyCookiePolicies = new InputList()); - set => _applicationStickyCookiePolicies = value; - } - - [Input("backendVmIds")] - private InputList? _backendVmIds; - - /// - /// One or more IDs of back-end VMs for the load balancer. - /// - public InputList BackendVmIds - { - get => _backendVmIds ?? (_backendVmIds = new InputList()); - set => _backendVmIds = value; - } - - /// - /// The DNS name of the load balancer. - /// - [Input("dnsName")] - public Input? DnsName { get; set; } - - [Input("healthChecks")] - private InputList? _healthChecks; - - /// - /// Information about the health check configuration. - /// - public InputList HealthChecks - { - get => _healthChecks ?? (_healthChecks = new InputList()); - set => _healthChecks = value; - } - - [Input("listeners")] - private InputList? _listeners; - - /// - /// One or more listeners to create. - /// - public InputList Listeners - { - get => _listeners ?? (_listeners = new InputList()); - set => _listeners = value; - } - - /// - /// The unique name of the load balancer (32 alphanumeric or hyphen characters maximum, but cannot start or end with a hyphen). - /// - [Input("loadBalancerName")] - public Input? LoadBalancerName { get; set; } - - [Input("loadBalancerStickyCookiePolicies")] - private InputList? _loadBalancerStickyCookiePolicies; - - /// - /// The policies defined for the load balancer. - /// - public InputList LoadBalancerStickyCookiePolicies - { - get => _loadBalancerStickyCookiePolicies ?? (_loadBalancerStickyCookiePolicies = new InputList()); - set => _loadBalancerStickyCookiePolicies = value; - } - - /// - /// The type of load balancer: `internet-facing` or `internal`. Use this parameter only for load balancers in a Net. - /// - [Input("loadBalancerType")] - public Input? LoadBalancerType { get; set; } - - /// - /// The ID of the Net for the load balancer. - /// - [Input("netId")] - public Input? NetId { get; set; } - - /// - /// (internet-facing only) The public IP you want to associate with the load balancer. If not specified, a public IP owned by 3DS OUTSCALE is associated. - /// - [Input("publicIp")] - public Input? PublicIp { get; set; } - - [Input("requestId")] - public Input? RequestId { get; set; } - - /// - /// Whether secure cookies are enabled for the load balancer. - /// - [Input("securedCookies")] - public Input? SecuredCookies { get; set; } - - [Input("securityGroups")] - private InputList? _securityGroups; - - /// - /// (Net only) One or more IDs of security groups you want to assign to the load balancer. If not specified, the default security group of the Net is assigned to the load balancer. - /// - public InputList SecurityGroups - { - get => _securityGroups ?? (_securityGroups = new InputList()); - set => _securityGroups = value; - } - - [Input("sourceSecurityGroups")] - private InputList? _sourceSecurityGroups; - - /// - /// Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.<br /> - /// To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. - /// - public InputList SourceSecurityGroups - { - get => _sourceSecurityGroups ?? (_sourceSecurityGroups = new InputList()); - set => _sourceSecurityGroups = value; - } - - [Input("subnets")] - private InputList? _subnets; - - /// - /// (Net only) The ID of the Subnet in which you want to create the load balancer. Regardless of this Subnet, the load balancer can distribute traffic to all Subnets. This parameter is required in a Net. - /// - public InputList Subnets - { - get => _subnets ?? (_subnets = new InputList()); - set => _subnets = value; - } - - [Input("subregionNames")] - private InputList? _subregionNames; - - /// - /// (public Cloud only) The Subregion in which you want to create the load balancer. Regardless of this Subregion, the load balancer can distribute traffic to all Subregions. This parameter is required in the public Cloud. - /// - public InputList SubregionNames - { - get => _subregionNames ?? (_subregionNames = new InputList()); - set => _subregionNames = value; - } - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - public LoadBalancerState() - { - } - public static new LoadBalancerState Empty => new LoadBalancerState(); - } -} diff --git a/sdk/dotnet/LoadBalancerAttributes.cs b/sdk/dotnet/LoadBalancerAttributes.cs deleted file mode 100644 index 73f22d0..0000000 --- a/sdk/dotnet/LoadBalancerAttributes.cs +++ /dev/null @@ -1,563 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages load balancer attributes. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Load-Balancers.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#updateloadbalancer). - /// - /// ## Example Usage - /// ### Required resource - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var loadBalancer01 = new Outscale.LoadBalancer("loadBalancer01", new() - /// { - /// Listeners = new[] - /// { - /// new Outscale.Inputs.LoadBalancerListenerArgs - /// { - /// BackendPort = 80, - /// BackendProtocol = "HTTP", - /// LoadBalancerPort = 80, - /// LoadBalancerProtocol = "HTTP", - /// }, - /// new Outscale.Inputs.LoadBalancerListenerArgs - /// { - /// BackendPort = 8080, - /// BackendProtocol = "HTTPS", - /// LoadBalancerPort = 8080, - /// LoadBalancerProtocol = "HTTPS", - /// ServerCertificateId = "arn:aws:iam::012345678910:server-certificate/MyCertificates/Certificate", - /// }, - /// new Outscale.Inputs.LoadBalancerListenerArgs - /// { - /// BackendPort = 1024, - /// BackendProtocol = "TCP", - /// LoadBalancerPort = 1024, - /// LoadBalancerProtocol = "TCP", - /// }, - /// }, - /// LoadBalancerName = "terraform-load-balancer", - /// SubregionNames = new[] - /// { - /// "eu-west-2a", - /// }, - /// Tags = new[] - /// { - /// new Outscale.Inputs.LoadBalancerTagArgs - /// { - /// Key = "name", - /// Value = "terraform-load-balancer", - /// }, - /// new Outscale.Inputs.LoadBalancerTagArgs - /// { - /// Key = "platform", - /// Value = "eu-west-2", - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// ### Update health check - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var attributes01 = new Outscale.LoadBalancerAttributes("attributes01", new() - /// { - /// LoadBalancerName = outscale_load_balancer.Load_balancer01.Id, - /// HealthCheck = new Outscale.Inputs.LoadBalancerAttributesHealthCheckArgs - /// { - /// HealthyThreshold = 10, - /// CheckInterval = 30, - /// Path = "/index.html", - /// Port = 8080, - /// Protocol = "HTTPS", - /// Timeout = 5, - /// UnhealthyThreshold = 5, - /// }, - /// }); - /// - /// }); - /// ``` - /// ### Update access log - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var attributes02 = new Outscale.LoadBalancerAttributes("attributes02", new() - /// { - /// LoadBalancerName = outscale_load_balancer.Load_balancer01.Id, - /// AccessLog = new Outscale.Inputs.LoadBalancerAttributesAccessLogArgs - /// { - /// PublicationInterval = 5, - /// IsEnabled = true, - /// OsuBucketName = "terraform-access-logs", - /// OsuBucketPrefix = "access-logs-01234", - /// }, - /// }); - /// - /// }); - /// ``` - /// ### Update policies - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var attributes03 = new Outscale.LoadBalancerAttributes("attributes03", new() - /// { - /// LoadBalancerName = outscale_load_balancer.Load_balancer01.Id, - /// LoadBalancerPort = 80, - /// PolicyNames = new[] - /// { - /// "policy-name-01", - /// }, - /// }); - /// - /// }); - /// ``` - /// ### Update SSL certificate - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var attributes04 = new Outscale.LoadBalancerAttributes("attributes04", new() - /// { - /// LoadBalancerName = outscale_load_balancer.Load_balancer01.Id, - /// LoadBalancerPort = 8080, - /// ServerCertificateId = "arn:aws:iam::012345678910:server-certificate/MyCertificates/Certificate", - /// }); - /// - /// }); - /// ``` - /// - [OutscaleResourceType("outscale:index/loadBalancerAttributes:LoadBalancerAttributes")] - public partial class LoadBalancerAttributes : global::Pulumi.CustomResource - { - /// - /// Information about access logs. - /// - [Output("accessLog")] - public Output AccessLog { get; private set; } = null!; - - /// - /// The stickiness policies defined for the load balancer. - /// - [Output("applicationStickyCookiePolicies")] - public Output> ApplicationStickyCookiePolicies { get; private set; } = null!; - - /// - /// One or more IDs of back-end VMs for the load balancer. - /// - [Output("backendVmIds")] - public Output> BackendVmIds { get; private set; } = null!; - - /// - /// The DNS name of the load balancer. - /// - [Output("dnsName")] - public Output DnsName { get; private set; } = null!; - - /// - /// Information about the health check configuration. - /// - [Output("healthCheck")] - public Output HealthCheck { get; private set; } = null!; - - /// - /// The listeners for the load balancer. - /// - [Output("listeners")] - public Output> Listeners { get; private set; } = null!; - - /// - /// The name of the load balancer. - /// - [Output("loadBalancerName")] - public Output LoadBalancerName { get; private set; } = null!; - - /// - /// The port on which the load balancer is listening (between `1` and `65535`, both included). This parameter is required if you want to update the server certificate. - /// - [Output("loadBalancerPort")] - public Output LoadBalancerPort { get; private set; } = null!; - - /// - /// The policies defined for the load balancer. - /// - [Output("loadBalancerStickyCookiePolicies")] - public Output> LoadBalancerStickyCookiePolicies { get; private set; } = null!; - - /// - /// The type of load balancer. Valid only for load balancers in a Net.<br /> - /// If `load_balancer_type` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.<br /> - /// If `load_balancer_type` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - /// - [Output("loadBalancerType")] - public Output LoadBalancerType { get; private set; } = null!; - - /// - /// The name of the policy you want to enable for the listener. - /// - [Output("policyNames")] - public Output> PolicyNames { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - /// - /// One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - /// - [Output("securityGroups")] - public Output> SecurityGroups { get; private set; } = null!; - - /// - /// The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). If this parameter is specified, you must also specify the `load_balancer_port` parameter. - /// - [Output("serverCertificateId")] - public Output ServerCertificateId { get; private set; } = null!; - - /// - /// Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.<br /> - /// To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. - /// - [Output("sourceSecurityGroups")] - public Output> SourceSecurityGroups { get; private set; } = null!; - - /// - /// The ID of the Subnet in which the load balancer was created. - /// - [Output("subnets")] - public Output> Subnets { get; private set; } = null!; - - /// - /// The ID of the Subregion in which the load balancer was created. - /// - [Output("subregionNames")] - public Output> SubregionNames { get; private set; } = null!; - - /// - /// One or more tags associated with the load balancer. - /// - [Output("tags")] - public Output> Tags { get; private set; } = null!; - - - /// - /// Create a LoadBalancerAttributes resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public LoadBalancerAttributes(string name, LoadBalancerAttributesArgs args, CustomResourceOptions? options = null) - : base("outscale:index/loadBalancerAttributes:LoadBalancerAttributes", name, args ?? new LoadBalancerAttributesArgs(), MakeResourceOptions(options, "")) - { - } - - private LoadBalancerAttributes(string name, Input id, LoadBalancerAttributesState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/loadBalancerAttributes:LoadBalancerAttributes", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing LoadBalancerAttributes resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static LoadBalancerAttributes Get(string name, Input id, LoadBalancerAttributesState? state = null, CustomResourceOptions? options = null) - { - return new LoadBalancerAttributes(name, id, state, options); - } - } - - public sealed class LoadBalancerAttributesArgs : global::Pulumi.ResourceArgs - { - /// - /// Information about access logs. - /// - [Input("accessLog")] - public Input? AccessLog { get; set; } - - /// - /// Information about the health check configuration. - /// - [Input("healthCheck")] - public Input? HealthCheck { get; set; } - - /// - /// The name of the load balancer. - /// - [Input("loadBalancerName", required: true)] - public Input LoadBalancerName { get; set; } = null!; - - /// - /// The port on which the load balancer is listening (between `1` and `65535`, both included). This parameter is required if you want to update the server certificate. - /// - [Input("loadBalancerPort")] - public Input? LoadBalancerPort { get; set; } - - [Input("policyNames")] - private InputList? _policyNames; - - /// - /// The name of the policy you want to enable for the listener. - /// - public InputList PolicyNames - { - get => _policyNames ?? (_policyNames = new InputList()); - set => _policyNames = value; - } - - /// - /// The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). If this parameter is specified, you must also specify the `load_balancer_port` parameter. - /// - [Input("serverCertificateId")] - public Input? ServerCertificateId { get; set; } - - [Input("tags")] - private InputList? _tags; - - /// - /// One or more tags associated with the load balancer. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - public LoadBalancerAttributesArgs() - { - } - public static new LoadBalancerAttributesArgs Empty => new LoadBalancerAttributesArgs(); - } - - public sealed class LoadBalancerAttributesState : global::Pulumi.ResourceArgs - { - /// - /// Information about access logs. - /// - [Input("accessLog")] - public Input? AccessLog { get; set; } - - [Input("applicationStickyCookiePolicies")] - private InputList? _applicationStickyCookiePolicies; - - /// - /// The stickiness policies defined for the load balancer. - /// - public InputList ApplicationStickyCookiePolicies - { - get => _applicationStickyCookiePolicies ?? (_applicationStickyCookiePolicies = new InputList()); - set => _applicationStickyCookiePolicies = value; - } - - [Input("backendVmIds")] - private InputList? _backendVmIds; - - /// - /// One or more IDs of back-end VMs for the load balancer. - /// - public InputList BackendVmIds - { - get => _backendVmIds ?? (_backendVmIds = new InputList()); - set => _backendVmIds = value; - } - - /// - /// The DNS name of the load balancer. - /// - [Input("dnsName")] - public Input? DnsName { get; set; } - - /// - /// Information about the health check configuration. - /// - [Input("healthCheck")] - public Input? HealthCheck { get; set; } - - [Input("listeners")] - private InputList? _listeners; - - /// - /// The listeners for the load balancer. - /// - public InputList Listeners - { - get => _listeners ?? (_listeners = new InputList()); - set => _listeners = value; - } - - /// - /// The name of the load balancer. - /// - [Input("loadBalancerName")] - public Input? LoadBalancerName { get; set; } - - /// - /// The port on which the load balancer is listening (between `1` and `65535`, both included). This parameter is required if you want to update the server certificate. - /// - [Input("loadBalancerPort")] - public Input? LoadBalancerPort { get; set; } - - [Input("loadBalancerStickyCookiePolicies")] - private InputList? _loadBalancerStickyCookiePolicies; - - /// - /// The policies defined for the load balancer. - /// - public InputList LoadBalancerStickyCookiePolicies - { - get => _loadBalancerStickyCookiePolicies ?? (_loadBalancerStickyCookiePolicies = new InputList()); - set => _loadBalancerStickyCookiePolicies = value; - } - - /// - /// The type of load balancer. Valid only for load balancers in a Net.<br /> - /// If `load_balancer_type` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.<br /> - /// If `load_balancer_type` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - /// - [Input("loadBalancerType")] - public Input? LoadBalancerType { get; set; } - - [Input("policyNames")] - private InputList? _policyNames; - - /// - /// The name of the policy you want to enable for the listener. - /// - public InputList PolicyNames - { - get => _policyNames ?? (_policyNames = new InputList()); - set => _policyNames = value; - } - - [Input("requestId")] - public Input? RequestId { get; set; } - - [Input("securityGroups")] - private InputList? _securityGroups; - - /// - /// One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - /// - public InputList SecurityGroups - { - get => _securityGroups ?? (_securityGroups = new InputList()); - set => _securityGroups = value; - } - - /// - /// The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). If this parameter is specified, you must also specify the `load_balancer_port` parameter. - /// - [Input("serverCertificateId")] - public Input? ServerCertificateId { get; set; } - - [Input("sourceSecurityGroups")] - private InputList? _sourceSecurityGroups; - - /// - /// Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.<br /> - /// To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. - /// - public InputList SourceSecurityGroups - { - get => _sourceSecurityGroups ?? (_sourceSecurityGroups = new InputList()); - set => _sourceSecurityGroups = value; - } - - [Input("subnets")] - private InputList? _subnets; - - /// - /// The ID of the Subnet in which the load balancer was created. - /// - public InputList Subnets - { - get => _subnets ?? (_subnets = new InputList()); - set => _subnets = value; - } - - [Input("subregionNames")] - private InputList? _subregionNames; - - /// - /// The ID of the Subregion in which the load balancer was created. - /// - public InputList SubregionNames - { - get => _subregionNames ?? (_subregionNames = new InputList()); - set => _subregionNames = value; - } - - [Input("tags")] - private InputList? _tags; - - /// - /// One or more tags associated with the load balancer. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - public LoadBalancerAttributesState() - { - } - public static new LoadBalancerAttributesState Empty => new LoadBalancerAttributesState(); - } -} diff --git a/sdk/dotnet/LoadBalancerPolicy.cs b/sdk/dotnet/LoadBalancerPolicy.cs deleted file mode 100644 index 409933f..0000000 --- a/sdk/dotnet/LoadBalancerPolicy.cs +++ /dev/null @@ -1,584 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages a load balancer policy. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Load-Balancers.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-loadbalancerpolicy). - /// - /// ## Example Usage - /// ### Create a load balancer policy based on browser - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var loadBalancer01 = new Outscale.LoadBalancer("loadBalancer01", new() - /// { - /// Listeners = new[] - /// { - /// new Outscale.Inputs.LoadBalancerListenerArgs - /// { - /// BackendPort = 8080, - /// BackendProtocol = "HTTP", - /// LoadBalancerPort = 8080, - /// LoadBalancerProtocol = "HTTP", - /// }, - /// }, - /// LoadBalancerName = "terraform-lb-for-browser-policy", - /// SubregionNames = new[] - /// { - /// "eu-west-2a", - /// }, - /// }); - /// - /// var loadBalancerPolicy01 = new Outscale.LoadBalancerPolicy("loadBalancerPolicy01", new() - /// { - /// LoadBalancerName = "terraform-lb-for-browser-policy", - /// PolicyName = "terraform-lb-browser-policy", - /// PolicyType = "load_balancer", - /// }); - /// - /// }); - /// ``` - /// ### Create a load balancer policy based on application cookie - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var loadBalancer02 = new Outscale.LoadBalancer("loadBalancer02", new() - /// { - /// LoadBalancerName = "terraform-lb-for-app-policy", - /// SubregionNames = new[] - /// { - /// $"{@var.Region}b", - /// }, - /// Listeners = new[] - /// { - /// new Outscale.Inputs.LoadBalancerListenerArgs - /// { - /// LoadBalancerPort = 80, - /// LoadBalancerProtocol = "TCP", - /// BackendPort = 80, - /// BackendProtocol = "TCP", - /// }, - /// }, - /// }); - /// - /// var loadBalancerPolicy02 = new Outscale.LoadBalancerPolicy("loadBalancerPolicy02", new() - /// { - /// LoadBalancerName = loadBalancer02.LoadBalancerName, - /// PolicyName = "terraform-lb-app-policy", - /// PolicyType = "app", - /// CookieName = "cookie01", - /// }, new CustomResourceOptions - /// { - /// DependsOn = new[] - /// { - /// loadBalancer02, - /// }, - /// }); - /// - /// }); - /// ``` - /// - [OutscaleResourceType("outscale:index/loadBalancerPolicy:LoadBalancerPolicy")] - public partial class LoadBalancerPolicy : global::Pulumi.CustomResource - { - /// - /// Information about access logs. - /// - [Output("accessLogs")] - public Output> AccessLogs { get; private set; } = null!; - - /// - /// The stickiness policies defined for the load balancer. - /// - [Output("applicationStickyCookiePolicies")] - public Output> ApplicationStickyCookiePolicies { get; private set; } = null!; - - /// - /// One or more IDs of back-end VMs for the load balancer. - /// - [Output("backendVmIds")] - public Output> BackendVmIds { get; private set; } = null!; - - [Output("cookieExpirationPeriod")] - public Output CookieExpirationPeriod { get; private set; } = null!; - - /// - /// The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie. - /// - [Output("cookieName")] - public Output CookieName { get; private set; } = null!; - - /// - /// The DNS name of the load balancer. - /// - [Output("dnsName")] - public Output DnsName { get; private set; } = null!; - - /// - /// Information about the health check configuration. - /// - [Output("healthChecks")] - public Output> HealthChecks { get; private set; } = null!; - - /// - /// The listeners for the load balancer. - /// - [Output("listeners")] - public Output> Listeners { get; private set; } = null!; - - /// - /// The name of the load balancer for which you want to create a policy. - /// - [Output("loadBalancerName")] - public Output LoadBalancerName { get; private set; } = null!; - - /// - /// The policies defined for the load balancer. - /// - [Output("loadBalancerStickyCookiePolicies")] - public Output> LoadBalancerStickyCookiePolicies { get; private set; } = null!; - - /// - /// The type of load balancer. Valid only for load balancers in a Net.<br /> - /// If `load_balancer_type` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.<br /> - /// If `load_balancer_type` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - /// - [Output("loadBalancerType")] - public Output LoadBalancerType { get; private set; } = null!; - - /// - /// The ID of the Net for the load balancer. - /// - [Output("netId")] - public Output NetId { get; private set; } = null!; - - /// - /// The name of the policy. This name must be unique and consist of alphanumeric characters and dashes (-). - /// - [Output("policyName")] - public Output PolicyName { get; private set; } = null!; - - /// - /// The type of stickiness policy you want to create: `app` or `load_balancer`. - /// - [Output("policyType")] - public Output PolicyType { get; private set; } = null!; - - [Output("publicIp")] - public Output PublicIp { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - [Output("securedCookies")] - public Output SecuredCookies { get; private set; } = null!; - - /// - /// One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - /// - [Output("securityGroups")] - public Output> SecurityGroups { get; private set; } = null!; - - /// - /// Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.<br /> - /// To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. - /// - [Output("sourceSecurityGroups")] - public Output> SourceSecurityGroups { get; private set; } = null!; - - /// - /// The ID of the Subnet in which the load balancer was created. - /// - [Output("subnets")] - public Output> Subnets { get; private set; } = null!; - - /// - /// The ID of the Subregion in which the load balancer was created. - /// - [Output("subregionNames")] - public Output> SubregionNames { get; private set; } = null!; - - /// - /// One or more tags associated with the load balancer. - /// - [Output("tags")] - public Output> Tags { get; private set; } = null!; - - - /// - /// Create a LoadBalancerPolicy resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public LoadBalancerPolicy(string name, LoadBalancerPolicyArgs args, CustomResourceOptions? options = null) - : base("outscale:index/loadBalancerPolicy:LoadBalancerPolicy", name, args ?? new LoadBalancerPolicyArgs(), MakeResourceOptions(options, "")) - { - } - - private LoadBalancerPolicy(string name, Input id, LoadBalancerPolicyState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/loadBalancerPolicy:LoadBalancerPolicy", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing LoadBalancerPolicy resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static LoadBalancerPolicy Get(string name, Input id, LoadBalancerPolicyState? state = null, CustomResourceOptions? options = null) - { - return new LoadBalancerPolicy(name, id, state, options); - } - } - - public sealed class LoadBalancerPolicyArgs : global::Pulumi.ResourceArgs - { - [Input("accessLogs")] - private InputList? _accessLogs; - - /// - /// Information about access logs. - /// - public InputList AccessLogs - { - get => _accessLogs ?? (_accessLogs = new InputList()); - set => _accessLogs = value; - } - - [Input("backendVmIds")] - private InputList? _backendVmIds; - - /// - /// One or more IDs of back-end VMs for the load balancer. - /// - public InputList BackendVmIds - { - get => _backendVmIds ?? (_backendVmIds = new InputList()); - set => _backendVmIds = value; - } - - [Input("cookieExpirationPeriod")] - public Input? CookieExpirationPeriod { get; set; } - - /// - /// The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie. - /// - [Input("cookieName")] - public Input? CookieName { get; set; } - - /// - /// The name of the load balancer for which you want to create a policy. - /// - [Input("loadBalancerName", required: true)] - public Input LoadBalancerName { get; set; } = null!; - - /// - /// The type of load balancer. Valid only for load balancers in a Net.<br /> - /// If `load_balancer_type` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.<br /> - /// If `load_balancer_type` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - /// - [Input("loadBalancerType")] - public Input? LoadBalancerType { get; set; } - - /// - /// The name of the policy. This name must be unique and consist of alphanumeric characters and dashes (-). - /// - [Input("policyName", required: true)] - public Input PolicyName { get; set; } = null!; - - /// - /// The type of stickiness policy you want to create: `app` or `load_balancer`. - /// - [Input("policyType", required: true)] - public Input PolicyType { get; set; } = null!; - - [Input("securityGroups")] - private InputList? _securityGroups; - - /// - /// One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - /// - public InputList SecurityGroups - { - get => _securityGroups ?? (_securityGroups = new InputList()); - set => _securityGroups = value; - } - - [Input("subnets")] - private InputList? _subnets; - - /// - /// The ID of the Subnet in which the load balancer was created. - /// - public InputList Subnets - { - get => _subnets ?? (_subnets = new InputList()); - set => _subnets = value; - } - - [Input("subregionNames")] - private InputList? _subregionNames; - - /// - /// The ID of the Subregion in which the load balancer was created. - /// - public InputList SubregionNames - { - get => _subregionNames ?? (_subregionNames = new InputList()); - set => _subregionNames = value; - } - - [Input("tags")] - private InputList? _tags; - - /// - /// One or more tags associated with the load balancer. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - public LoadBalancerPolicyArgs() - { - } - public static new LoadBalancerPolicyArgs Empty => new LoadBalancerPolicyArgs(); - } - - public sealed class LoadBalancerPolicyState : global::Pulumi.ResourceArgs - { - [Input("accessLogs")] - private InputList? _accessLogs; - - /// - /// Information about access logs. - /// - public InputList AccessLogs - { - get => _accessLogs ?? (_accessLogs = new InputList()); - set => _accessLogs = value; - } - - [Input("applicationStickyCookiePolicies")] - private InputList? _applicationStickyCookiePolicies; - - /// - /// The stickiness policies defined for the load balancer. - /// - public InputList ApplicationStickyCookiePolicies - { - get => _applicationStickyCookiePolicies ?? (_applicationStickyCookiePolicies = new InputList()); - set => _applicationStickyCookiePolicies = value; - } - - [Input("backendVmIds")] - private InputList? _backendVmIds; - - /// - /// One or more IDs of back-end VMs for the load balancer. - /// - public InputList BackendVmIds - { - get => _backendVmIds ?? (_backendVmIds = new InputList()); - set => _backendVmIds = value; - } - - [Input("cookieExpirationPeriod")] - public Input? CookieExpirationPeriod { get; set; } - - /// - /// The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie. - /// - [Input("cookieName")] - public Input? CookieName { get; set; } - - /// - /// The DNS name of the load balancer. - /// - [Input("dnsName")] - public Input? DnsName { get; set; } - - [Input("healthChecks")] - private InputList? _healthChecks; - - /// - /// Information about the health check configuration. - /// - public InputList HealthChecks - { - get => _healthChecks ?? (_healthChecks = new InputList()); - set => _healthChecks = value; - } - - [Input("listeners")] - private InputList? _listeners; - - /// - /// The listeners for the load balancer. - /// - public InputList Listeners - { - get => _listeners ?? (_listeners = new InputList()); - set => _listeners = value; - } - - /// - /// The name of the load balancer for which you want to create a policy. - /// - [Input("loadBalancerName")] - public Input? LoadBalancerName { get; set; } - - [Input("loadBalancerStickyCookiePolicies")] - private InputList? _loadBalancerStickyCookiePolicies; - - /// - /// The policies defined for the load balancer. - /// - public InputList LoadBalancerStickyCookiePolicies - { - get => _loadBalancerStickyCookiePolicies ?? (_loadBalancerStickyCookiePolicies = new InputList()); - set => _loadBalancerStickyCookiePolicies = value; - } - - /// - /// The type of load balancer. Valid only for load balancers in a Net.<br /> - /// If `load_balancer_type` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.<br /> - /// If `load_balancer_type` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - /// - [Input("loadBalancerType")] - public Input? LoadBalancerType { get; set; } - - /// - /// The ID of the Net for the load balancer. - /// - [Input("netId")] - public Input? NetId { get; set; } - - /// - /// The name of the policy. This name must be unique and consist of alphanumeric characters and dashes (-). - /// - [Input("policyName")] - public Input? PolicyName { get; set; } - - /// - /// The type of stickiness policy you want to create: `app` or `load_balancer`. - /// - [Input("policyType")] - public Input? PolicyType { get; set; } - - [Input("publicIp")] - public Input? PublicIp { get; set; } - - [Input("requestId")] - public Input? RequestId { get; set; } - - [Input("securedCookies")] - public Input? SecuredCookies { get; set; } - - [Input("securityGroups")] - private InputList? _securityGroups; - - /// - /// One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - /// - public InputList SecurityGroups - { - get => _securityGroups ?? (_securityGroups = new InputList()); - set => _securityGroups = value; - } - - [Input("sourceSecurityGroups")] - private InputList? _sourceSecurityGroups; - - /// - /// Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.<br /> - /// To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. - /// - public InputList SourceSecurityGroups - { - get => _sourceSecurityGroups ?? (_sourceSecurityGroups = new InputList()); - set => _sourceSecurityGroups = value; - } - - [Input("subnets")] - private InputList? _subnets; - - /// - /// The ID of the Subnet in which the load balancer was created. - /// - public InputList Subnets - { - get => _subnets ?? (_subnets = new InputList()); - set => _subnets = value; - } - - [Input("subregionNames")] - private InputList? _subregionNames; - - /// - /// The ID of the Subregion in which the load balancer was created. - /// - public InputList SubregionNames - { - get => _subregionNames ?? (_subregionNames = new InputList()); - set => _subregionNames = value; - } - - [Input("tags")] - private InputList? _tags; - - /// - /// One or more tags associated with the load balancer. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - public LoadBalancerPolicyState() - { - } - public static new LoadBalancerPolicyState Empty => new LoadBalancerPolicyState(); - } -} diff --git a/sdk/dotnet/LoadBalancerVms.cs b/sdk/dotnet/LoadBalancerVms.cs deleted file mode 100644 index 1e52908..0000000 --- a/sdk/dotnet/LoadBalancerVms.cs +++ /dev/null @@ -1,214 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages load balancer VMs. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Load-Balancers.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-loadbalancer). - /// - /// ## Example Usage - /// ### Required resources - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var outscaleVm01 = new Outscale.Vm("outscaleVm01", new() - /// { - /// ImageId = "ami-12345678", - /// VmType = "t2.small", - /// KeypairName = @var.Keypair_name, - /// }); - /// - /// var outscaleVm02 = new Outscale.Vm("outscaleVm02", new() - /// { - /// ImageId = @var.Image_id, - /// VmType = @var.Vm_type, - /// KeypairName = @var.Keypair_name, - /// }); - /// - /// var loadBalancer01 = new Outscale.LoadBalancer("loadBalancer01", new() - /// { - /// LoadBalancerName = "load-balancer-for-backend-vms", - /// SubregionNames = new[] - /// { - /// $"{@var.Region}a", - /// }, - /// Listeners = new[] - /// { - /// new Outscale.Inputs.LoadBalancerListenerArgs - /// { - /// BackendPort = 80, - /// BackendProtocol = "TCP", - /// LoadBalancerProtocol = "TCP", - /// LoadBalancerPort = 80, - /// }, - /// }, - /// Tags = new[] - /// { - /// new Outscale.Inputs.LoadBalancerTagArgs - /// { - /// Key = "name", - /// Value = "outscale_load_balancer01", - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// ### Register VMs with a load balancer - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var outscaleLoadBalancerVms01 = new Outscale.LoadBalancerVms("outscaleLoadBalancerVms01", new() - /// { - /// LoadBalancerName = "load-balancer-for-backend-vms", - /// BackendVmIds = new[] - /// { - /// outscale_vm.Outscale_vm01.Vm_id, - /// outscale_vm.Outscale_vm_02.Vm_id, - /// }, - /// }); - /// - /// }); - /// ``` - /// - [OutscaleResourceType("outscale:index/loadBalancerVms:LoadBalancerVms")] - public partial class LoadBalancerVms : global::Pulumi.CustomResource - { - /// - /// One or more IDs of back-end VMs.<br /> - /// Specifying the same ID several times has no effect as each back-end VM has equal weight. - /// - [Output("backendVmIds")] - public Output> BackendVmIds { get; private set; } = null!; - - /// - /// The name of the load balancer. - /// - [Output("loadBalancerName")] - public Output LoadBalancerName { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - - /// - /// Create a LoadBalancerVms resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public LoadBalancerVms(string name, LoadBalancerVmsArgs args, CustomResourceOptions? options = null) - : base("outscale:index/loadBalancerVms:LoadBalancerVms", name, args ?? new LoadBalancerVmsArgs(), MakeResourceOptions(options, "")) - { - } - - private LoadBalancerVms(string name, Input id, LoadBalancerVmsState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/loadBalancerVms:LoadBalancerVms", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing LoadBalancerVms resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static LoadBalancerVms Get(string name, Input id, LoadBalancerVmsState? state = null, CustomResourceOptions? options = null) - { - return new LoadBalancerVms(name, id, state, options); - } - } - - public sealed class LoadBalancerVmsArgs : global::Pulumi.ResourceArgs - { - [Input("backendVmIds", required: true)] - private InputList? _backendVmIds; - - /// - /// One or more IDs of back-end VMs.<br /> - /// Specifying the same ID several times has no effect as each back-end VM has equal weight. - /// - public InputList BackendVmIds - { - get => _backendVmIds ?? (_backendVmIds = new InputList()); - set => _backendVmIds = value; - } - - /// - /// The name of the load balancer. - /// - [Input("loadBalancerName", required: true)] - public Input LoadBalancerName { get; set; } = null!; - - public LoadBalancerVmsArgs() - { - } - public static new LoadBalancerVmsArgs Empty => new LoadBalancerVmsArgs(); - } - - public sealed class LoadBalancerVmsState : global::Pulumi.ResourceArgs - { - [Input("backendVmIds")] - private InputList? _backendVmIds; - - /// - /// One or more IDs of back-end VMs.<br /> - /// Specifying the same ID several times has no effect as each back-end VM has equal weight. - /// - public InputList BackendVmIds - { - get => _backendVmIds ?? (_backendVmIds = new InputList()); - set => _backendVmIds = value; - } - - /// - /// The name of the load balancer. - /// - [Input("loadBalancerName")] - public Input? LoadBalancerName { get; set; } - - [Input("requestId")] - public Input? RequestId { get; set; } - - public LoadBalancerVmsState() - { - } - public static new LoadBalancerVmsState Empty => new LoadBalancerVmsState(); - } -} diff --git a/sdk/dotnet/NatService.cs b/sdk/dotnet/NatService.cs deleted file mode 100644 index 7185dfb..0000000 --- a/sdk/dotnet/NatService.cs +++ /dev/null @@ -1,300 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages a NAT service. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-NAT-Gateways.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-natservice). - /// - /// ## Example Usage - /// ### Required resources - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var net01 = new Outscale.Net("net01", new() - /// { - /// IpRange = "10.0.0.0/16", - /// }); - /// - /// var subnet01 = new Outscale.Subnet("subnet01", new() - /// { - /// NetId = net01.NetId, - /// IpRange = "10.0.0.0/18", - /// }); - /// - /// var routeTable01 = new Outscale.RouteTable("routeTable01", new() - /// { - /// NetId = net01.NetId, - /// }); - /// - /// var outscaleRouteTableLink01 = new Outscale.RouteTableLink("outscaleRouteTableLink01", new() - /// { - /// SubnetId = subnet01.SubnetId, - /// RouteTableId = routeTable01.RouteTableId, - /// }); - /// - /// var internetService01 = new Outscale.InternetService("internetService01"); - /// - /// var internetServiceLink01 = new Outscale.InternetServiceLink("internetServiceLink01", new() - /// { - /// NetId = net01.NetId, - /// InternetServiceId = internetService01.InternetServiceId, - /// }); - /// - /// var route01 = new Outscale.Route("route01", new() - /// { - /// DestinationIpRange = "0.0.0.0/0", - /// GatewayId = internetService01.InternetServiceId, - /// RouteTableId = routeTable01.RouteTableId, - /// }, new CustomResourceOptions - /// { - /// DependsOn = new[] - /// { - /// internetServiceLink01, - /// }, - /// }); - /// - /// var publicIp01 = new Outscale.PublicIp("publicIp01"); - /// - /// }); - /// ``` - /// ### Create a NAT service - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var natService01 = new Outscale.NatService("natService01", new() - /// { - /// SubnetId = outscale_subnet.Subnet01.Subnet_id, - /// PublicIpId = outscale_public_ip.Public_ip01.Public_ip_id, - /// }, new CustomResourceOptions - /// { - /// DependsOn = new[] - /// { - /// outscale_route.Route01, - /// }, - /// }); - /// - /// }); - /// ``` - /// - /// ## Import - /// - /// A NAT service can be imported using its ID. For exampleconsole - /// - /// ```sh - /// $ pulumi import outscale:index/natService:NatService ImportedNatService nat-87654321 - /// ``` - /// - [OutscaleResourceType("outscale:index/natService:NatService")] - public partial class NatService : global::Pulumi.CustomResource - { - /// - /// The ID of the NAT service. - /// - [Output("natServiceId")] - public Output NatServiceId { get; private set; } = null!; - - /// - /// The ID of the Net in which the NAT service is. - /// - [Output("netId")] - public Output NetId { get; private set; } = null!; - - /// - /// The allocation ID of the public IP to associate with the NAT service.<br /> - /// If the public IP is already associated with another resource, you must first disassociate it. - /// - [Output("publicIpId")] - public Output PublicIpId { get; private set; } = null!; - - /// - /// Information about the public IP or IPs associated with the NAT service. - /// - [Output("publicIps")] - public Output> PublicIps { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - /// - /// The state of the NAT service (`pending` \| `available` \| `deleting` \| `deleted`). - /// - [Output("state")] - public Output State { get; private set; } = null!; - - /// - /// The ID of the Subnet in which you want to create the NAT service. - /// - [Output("subnetId")] - public Output SubnetId { get; private set; } = null!; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - [Output("tags")] - public Output> Tags { get; private set; } = null!; - - - /// - /// Create a NatService resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public NatService(string name, NatServiceArgs args, CustomResourceOptions? options = null) - : base("outscale:index/natService:NatService", name, args ?? new NatServiceArgs(), MakeResourceOptions(options, "")) - { - } - - private NatService(string name, Input id, NatServiceState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/natService:NatService", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing NatService resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static NatService Get(string name, Input id, NatServiceState? state = null, CustomResourceOptions? options = null) - { - return new NatService(name, id, state, options); - } - } - - public sealed class NatServiceArgs : global::Pulumi.ResourceArgs - { - /// - /// The allocation ID of the public IP to associate with the NAT service.<br /> - /// If the public IP is already associated with another resource, you must first disassociate it. - /// - [Input("publicIpId", required: true)] - public Input PublicIpId { get; set; } = null!; - - /// - /// The ID of the Subnet in which you want to create the NAT service. - /// - [Input("subnetId", required: true)] - public Input SubnetId { get; set; } = null!; - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - public NatServiceArgs() - { - } - public static new NatServiceArgs Empty => new NatServiceArgs(); - } - - public sealed class NatServiceState : global::Pulumi.ResourceArgs - { - /// - /// The ID of the NAT service. - /// - [Input("natServiceId")] - public Input? NatServiceId { get; set; } - - /// - /// The ID of the Net in which the NAT service is. - /// - [Input("netId")] - public Input? NetId { get; set; } - - /// - /// The allocation ID of the public IP to associate with the NAT service.<br /> - /// If the public IP is already associated with another resource, you must first disassociate it. - /// - [Input("publicIpId")] - public Input? PublicIpId { get; set; } - - [Input("publicIps")] - private InputList? _publicIps; - - /// - /// Information about the public IP or IPs associated with the NAT service. - /// - public InputList PublicIps - { - get => _publicIps ?? (_publicIps = new InputList()); - set => _publicIps = value; - } - - [Input("requestId")] - public Input? RequestId { get; set; } - - /// - /// The state of the NAT service (`pending` \| `available` \| `deleting` \| `deleted`). - /// - [Input("state")] - public Input? State { get; set; } - - /// - /// The ID of the Subnet in which you want to create the NAT service. - /// - [Input("subnetId")] - public Input? SubnetId { get; set; } - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - public NatServiceState() - { - } - public static new NatServiceState Empty => new NatServiceState(); - } -} diff --git a/sdk/dotnet/Net.cs b/sdk/dotnet/Net.cs deleted file mode 100644 index 3c38901..0000000 --- a/sdk/dotnet/Net.cs +++ /dev/null @@ -1,273 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages a Net. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPCs.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-net). - /// - /// ## Example Usage - /// ### Create a Net - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var net01 = new Outscale.Net("net01", new() - /// { - /// IpRange = "10.10.0.0/16", - /// Tenancy = "default", - /// }); - /// - /// }); - /// ``` - /// ### Create a Net with a network - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var net02 = new Outscale.Net("net02", new() - /// { - /// IpRange = "10.0.0.0/16", - /// }); - /// - /// var subnet01 = new Outscale.Subnet("subnet01", new() - /// { - /// NetId = net02.NetId, - /// IpRange = "10.0.0.0/18", - /// }); - /// - /// var publicIp01 = new Outscale.PublicIp("publicIp01"); - /// - /// var natService01 = new Outscale.NatService("natService01", new() - /// { - /// SubnetId = subnet01.SubnetId, - /// PublicIpId = publicIp01.PublicIpId, - /// }); - /// - /// var routeTable01 = new Outscale.RouteTable("routeTable01", new() - /// { - /// NetId = net02.NetId, - /// }); - /// - /// var internetService01 = new Outscale.InternetService("internetService01"); - /// - /// var route01 = new Outscale.Route("route01", new() - /// { - /// DestinationIpRange = "0.0.0.0/0", - /// GatewayId = internetService01.InternetServiceId, - /// RouteTableId = routeTable01.RouteTableId, - /// }); - /// - /// var routeTableLink01 = new Outscale.RouteTableLink("routeTableLink01", new() - /// { - /// SubnetId = subnet01.SubnetId, - /// RouteTableId = routeTable01.Id, - /// }); - /// - /// var internetServiceLink01 = new Outscale.InternetServiceLink("internetServiceLink01", new() - /// { - /// NetId = net02.NetId, - /// InternetServiceId = internetService01.Id, - /// }); - /// - /// }); - /// ``` - /// - /// ## Import - /// - /// A Net can be imported using its ID. For exampleconsole - /// - /// ```sh - /// $ pulumi import outscale:index/net:Net ImportedNet vpc-87654321 - /// ``` - /// - [OutscaleResourceType("outscale:index/net:Net")] - public partial class Net : global::Pulumi.CustomResource - { - /// - /// The ID of the DHCP options set (or `default` if you want to associate the default one). - /// - [Output("dhcpOptionsSetId")] - public Output DhcpOptionsSetId { get; private set; } = null!; - - /// - /// The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). - /// - [Output("ipRange")] - public Output IpRange { get; private set; } = null!; - - /// - /// The ID of the Net. - /// - [Output("netId")] - public Output NetId { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - /// - /// The state of the Net (`pending` \| `available` \| `deleted`). - /// - [Output("state")] - public Output State { get; private set; } = null!; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - [Output("tags")] - public Output> Tags { get; private set; } = null!; - - /// - /// The tenancy options for the VMs (`default` if a VM created in a Net can be launched with any tenancy, `dedicated` if it can be launched with dedicated tenancy VMs running on single-tenant hardware). - /// - [Output("tenancy")] - public Output Tenancy { get; private set; } = null!; - - - /// - /// Create a Net resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public Net(string name, NetArgs args, CustomResourceOptions? options = null) - : base("outscale:index/net:Net", name, args ?? new NetArgs(), MakeResourceOptions(options, "")) - { - } - - private Net(string name, Input id, NetState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/net:Net", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing Net resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static Net Get(string name, Input id, NetState? state = null, CustomResourceOptions? options = null) - { - return new Net(name, id, state, options); - } - } - - public sealed class NetArgs : global::Pulumi.ResourceArgs - { - /// - /// The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). - /// - [Input("ipRange", required: true)] - public Input IpRange { get; set; } = null!; - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - /// - /// The tenancy options for the VMs (`default` if a VM created in a Net can be launched with any tenancy, `dedicated` if it can be launched with dedicated tenancy VMs running on single-tenant hardware). - /// - [Input("tenancy")] - public Input? Tenancy { get; set; } - - public NetArgs() - { - } - public static new NetArgs Empty => new NetArgs(); - } - - public sealed class NetState : global::Pulumi.ResourceArgs - { - /// - /// The ID of the DHCP options set (or `default` if you want to associate the default one). - /// - [Input("dhcpOptionsSetId")] - public Input? DhcpOptionsSetId { get; set; } - - /// - /// The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). - /// - [Input("ipRange")] - public Input? IpRange { get; set; } - - /// - /// The ID of the Net. - /// - [Input("netId")] - public Input? NetId { get; set; } - - [Input("requestId")] - public Input? RequestId { get; set; } - - /// - /// The state of the Net (`pending` \| `available` \| `deleted`). - /// - [Input("state")] - public Input? State { get; set; } - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - /// - /// The tenancy options for the VMs (`default` if a VM created in a Net can be launched with any tenancy, `dedicated` if it can be launched with dedicated tenancy VMs running on single-tenant hardware). - /// - [Input("tenancy")] - public Input? Tenancy { get; set; } - - public NetState() - { - } - public static new NetState Empty => new NetState(); - } -} diff --git a/sdk/dotnet/NetAccessPoint.cs b/sdk/dotnet/NetAccessPoint.cs deleted file mode 100644 index c070e43..0000000 --- a/sdk/dotnet/NetAccessPoint.cs +++ /dev/null @@ -1,268 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages a Net access point. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Endpoints.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netaccesspoint). - /// - /// ## Example Usage - /// ### Required resources - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var net01 = new Outscale.Net("net01", new() - /// { - /// IpRange = "10.0.0.0/16", - /// }); - /// - /// var routeTable01 = new Outscale.RouteTable("routeTable01", new() - /// { - /// NetId = net01.NetId, - /// }); - /// - /// }); - /// ``` - /// ### Create a Net access point - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var netAccessPoint01 = new Outscale.NetAccessPoint("netAccessPoint01", new() - /// { - /// NetId = outscale_net.Net01.Net_id, - /// RouteTableIds = new[] - /// { - /// outscale_route_table.Route_table01.Route_table_id, - /// }, - /// ServiceName = "com.outscale.eu-west-2.api", - /// Tags = new[] - /// { - /// new Outscale.Inputs.NetAccessPointTagArgs - /// { - /// Key = "name", - /// Value = "terraform-net-access-point", - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// - /// ## Import - /// - /// A Net access point can be imported using its ID. For exampleconsole - /// - /// ```sh - /// $ pulumi import outscale:index/netAccessPoint:NetAccessPoint ImportedNetAccessPoint vpce-87654321 - /// ``` - /// - [OutscaleResourceType("outscale:index/netAccessPoint:NetAccessPoint")] - public partial class NetAccessPoint : global::Pulumi.CustomResource - { - /// - /// The ID of the Net access point. - /// - [Output("netAccessPointId")] - public Output NetAccessPointId { get; private set; } = null!; - - /// - /// The ID of the Net. - /// - [Output("netId")] - public Output NetId { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - /// - /// One or more IDs of route tables to use for the connection. - /// - [Output("routeTableIds")] - public Output> RouteTableIds { get; private set; } = null!; - - /// - /// The name of the service (in the format `com.outscale.region.service`). - /// - [Output("serviceName")] - public Output ServiceName { get; private set; } = null!; - - /// - /// The state of the Net access point (`pending` \| `available` \| `deleting` \| `deleted`). - /// - [Output("state")] - public Output State { get; private set; } = null!; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - [Output("tags")] - public Output> Tags { get; private set; } = null!; - - - /// - /// Create a NetAccessPoint resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public NetAccessPoint(string name, NetAccessPointArgs args, CustomResourceOptions? options = null) - : base("outscale:index/netAccessPoint:NetAccessPoint", name, args ?? new NetAccessPointArgs(), MakeResourceOptions(options, "")) - { - } - - private NetAccessPoint(string name, Input id, NetAccessPointState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/netAccessPoint:NetAccessPoint", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing NetAccessPoint resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static NetAccessPoint Get(string name, Input id, NetAccessPointState? state = null, CustomResourceOptions? options = null) - { - return new NetAccessPoint(name, id, state, options); - } - } - - public sealed class NetAccessPointArgs : global::Pulumi.ResourceArgs - { - /// - /// The ID of the Net. - /// - [Input("netId", required: true)] - public Input NetId { get; set; } = null!; - - [Input("routeTableIds")] - private InputList? _routeTableIds; - - /// - /// One or more IDs of route tables to use for the connection. - /// - public InputList RouteTableIds - { - get => _routeTableIds ?? (_routeTableIds = new InputList()); - set => _routeTableIds = value; - } - - /// - /// The name of the service (in the format `com.outscale.region.service`). - /// - [Input("serviceName", required: true)] - public Input ServiceName { get; set; } = null!; - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - public NetAccessPointArgs() - { - } - public static new NetAccessPointArgs Empty => new NetAccessPointArgs(); - } - - public sealed class NetAccessPointState : global::Pulumi.ResourceArgs - { - /// - /// The ID of the Net access point. - /// - [Input("netAccessPointId")] - public Input? NetAccessPointId { get; set; } - - /// - /// The ID of the Net. - /// - [Input("netId")] - public Input? NetId { get; set; } - - [Input("requestId")] - public Input? RequestId { get; set; } - - [Input("routeTableIds")] - private InputList? _routeTableIds; - - /// - /// One or more IDs of route tables to use for the connection. - /// - public InputList RouteTableIds - { - get => _routeTableIds ?? (_routeTableIds = new InputList()); - set => _routeTableIds = value; - } - - /// - /// The name of the service (in the format `com.outscale.region.service`). - /// - [Input("serviceName")] - public Input? ServiceName { get; set; } - - /// - /// The state of the Net access point (`pending` \| `available` \| `deleting` \| `deleted`). - /// - [Input("state")] - public Input? State { get; set; } - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - public NetAccessPointState() - { - } - public static new NetAccessPointState Empty => new NetAccessPointState(); - } -} diff --git a/sdk/dotnet/NetAttributes.cs b/sdk/dotnet/NetAttributes.cs deleted file mode 100644 index 115e26c..0000000 --- a/sdk/dotnet/NetAttributes.cs +++ /dev/null @@ -1,221 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages the attributes of a Net. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-DHCP-Options.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#updatenet). - /// - /// ## Example Usage - /// ### Required resource - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var net01 = new Outscale.Net("net01", new() - /// { - /// IpRange = "10.0.0.0/16", - /// }); - /// - /// }); - /// ``` - /// ### Associate a DHCP option set to a Net - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var netAttributes01 = new Outscale.NetAttributes("netAttributes01", new() - /// { - /// NetId = outscale_net.Net01.Net_id, - /// DhcpOptionsSetId = @var.Dhcp_options_set_id, - /// }); - /// - /// }); - /// ``` - /// - /// ## Import - /// - /// A Net attribute can be imported using the Net ID. For exampleconsole - /// - /// ```sh - /// $ pulumi import outscale:index/netAttributes:NetAttributes ImportedNet vpc-12345678 - /// ``` - /// - [OutscaleResourceType("outscale:index/netAttributes:NetAttributes")] - public partial class NetAttributes : global::Pulumi.CustomResource - { - /// - /// The ID of the DHCP options set (or `default` if you want to associate the default one). - /// - [Output("dhcpOptionsSetId")] - public Output DhcpOptionsSetId { get; private set; } = null!; - - /// - /// The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). - /// - [Output("ipRange")] - public Output IpRange { get; private set; } = null!; - - /// - /// The ID of the Net. - /// - [Output("netId")] - public Output NetId { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - /// - /// The state of the Net (`pending` \| `available` \| `deleted`). - /// - [Output("state")] - public Output State { get; private set; } = null!; - - /// - /// One or more tags associated with the Net. - /// - [Output("tags")] - public Output> Tags { get; private set; } = null!; - - /// - /// The VM tenancy in a Net. - /// - [Output("tenancy")] - public Output Tenancy { get; private set; } = null!; - - - /// - /// Create a NetAttributes resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public NetAttributes(string name, NetAttributesArgs args, CustomResourceOptions? options = null) - : base("outscale:index/netAttributes:NetAttributes", name, args ?? new NetAttributesArgs(), MakeResourceOptions(options, "")) - { - } - - private NetAttributes(string name, Input id, NetAttributesState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/netAttributes:NetAttributes", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing NetAttributes resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static NetAttributes Get(string name, Input id, NetAttributesState? state = null, CustomResourceOptions? options = null) - { - return new NetAttributes(name, id, state, options); - } - } - - public sealed class NetAttributesArgs : global::Pulumi.ResourceArgs - { - /// - /// The ID of the DHCP options set (or `default` if you want to associate the default one). - /// - [Input("dhcpOptionsSetId")] - public Input? DhcpOptionsSetId { get; set; } - - /// - /// The ID of the Net. - /// - [Input("netId", required: true)] - public Input NetId { get; set; } = null!; - - public NetAttributesArgs() - { - } - public static new NetAttributesArgs Empty => new NetAttributesArgs(); - } - - public sealed class NetAttributesState : global::Pulumi.ResourceArgs - { - /// - /// The ID of the DHCP options set (or `default` if you want to associate the default one). - /// - [Input("dhcpOptionsSetId")] - public Input? DhcpOptionsSetId { get; set; } - - /// - /// The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). - /// - [Input("ipRange")] - public Input? IpRange { get; set; } - - /// - /// The ID of the Net. - /// - [Input("netId")] - public Input? NetId { get; set; } - - [Input("requestId")] - public Input? RequestId { get; set; } - - /// - /// The state of the Net (`pending` \| `available` \| `deleted`). - /// - [Input("state")] - public Input? State { get; set; } - - [Input("tags")] - private InputList? _tags; - - /// - /// One or more tags associated with the Net. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - /// - /// The VM tenancy in a Net. - /// - [Input("tenancy")] - public Input? Tenancy { get; set; } - - public NetAttributesState() - { - } - public static new NetAttributesState Empty => new NetAttributesState(); - } -} diff --git a/sdk/dotnet/NetPeering.cs b/sdk/dotnet/NetPeering.cs deleted file mode 100644 index 5aacec3..0000000 --- a/sdk/dotnet/NetPeering.cs +++ /dev/null @@ -1,277 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages a Net peering. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Peering-Connections.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netpeering). - /// - /// ## Example Usage - /// ### Required resources - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var net01 = new Outscale.Net("net01", new() - /// { - /// IpRange = "10.10.0.0/24", - /// }); - /// - /// var net02 = new Outscale.Net("net02", new() - /// { - /// IpRange = "10.31.0.0/16", - /// }); - /// - /// }); - /// ``` - /// ### Peer Nets - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var netPeering01 = new Outscale.NetPeering("netPeering01", new() - /// { - /// AccepterNetId = outscale_net.Net01.Net_id, - /// SourceNetId = outscale_net.Net02.Net_id, - /// }); - /// - /// }); - /// ``` - /// - /// ## Import - /// - /// A Net peering can be imported using its ID. For exampleconsole - /// - /// ```sh - /// $ pulumi import outscale:index/netPeering:NetPeering ImportedNetPeering pcx-12345678 - /// ``` - /// - [OutscaleResourceType("outscale:index/netPeering:NetPeering")] - public partial class NetPeering : global::Pulumi.CustomResource - { - /// - /// The ID of the Net you want to connect with. - /// - [Output("accepterNetId")] - public Output AccepterNetId { get; private set; } = null!; - - /// - /// Information about the accepter Net. - /// - [Output("accepterNets")] - public Output> AccepterNets { get; private set; } = null!; - - /// - /// The ID of the Net peering. - /// - [Output("netPeeringId")] - public Output NetPeeringId { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - [Output("sourceNetAccountId")] - public Output SourceNetAccountId { get; private set; } = null!; - - /// - /// The ID of the Net you send the peering request from. - /// - [Output("sourceNetId")] - public Output SourceNetId { get; private set; } = null!; - - /// - /// Information about the source Net. - /// - [Output("sourceNets")] - public Output> SourceNets { get; private set; } = null!; - - /// - /// Information about the state of the Net peering. - /// - [Output("states")] - public Output> States { get; private set; } = null!; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - [Output("tags")] - public Output> Tags { get; private set; } = null!; - - - /// - /// Create a NetPeering resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public NetPeering(string name, NetPeeringArgs args, CustomResourceOptions? options = null) - : base("outscale:index/netPeering:NetPeering", name, args ?? new NetPeeringArgs(), MakeResourceOptions(options, "")) - { - } - - private NetPeering(string name, Input id, NetPeeringState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/netPeering:NetPeering", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing NetPeering resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static NetPeering Get(string name, Input id, NetPeeringState? state = null, CustomResourceOptions? options = null) - { - return new NetPeering(name, id, state, options); - } - } - - public sealed class NetPeeringArgs : global::Pulumi.ResourceArgs - { - /// - /// The ID of the Net you want to connect with. - /// - [Input("accepterNetId", required: true)] - public Input AccepterNetId { get; set; } = null!; - - [Input("sourceNetAccountId")] - public Input? SourceNetAccountId { get; set; } - - /// - /// The ID of the Net you send the peering request from. - /// - [Input("sourceNetId", required: true)] - public Input SourceNetId { get; set; } = null!; - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - public NetPeeringArgs() - { - } - public static new NetPeeringArgs Empty => new NetPeeringArgs(); - } - - public sealed class NetPeeringState : global::Pulumi.ResourceArgs - { - /// - /// The ID of the Net you want to connect with. - /// - [Input("accepterNetId")] - public Input? AccepterNetId { get; set; } - - [Input("accepterNets")] - private InputList? _accepterNets; - - /// - /// Information about the accepter Net. - /// - public InputList AccepterNets - { - get => _accepterNets ?? (_accepterNets = new InputList()); - set => _accepterNets = value; - } - - /// - /// The ID of the Net peering. - /// - [Input("netPeeringId")] - public Input? NetPeeringId { get; set; } - - [Input("requestId")] - public Input? RequestId { get; set; } - - [Input("sourceNetAccountId")] - public Input? SourceNetAccountId { get; set; } - - /// - /// The ID of the Net you send the peering request from. - /// - [Input("sourceNetId")] - public Input? SourceNetId { get; set; } - - [Input("sourceNets")] - private InputList? _sourceNets; - - /// - /// Information about the source Net. - /// - public InputList SourceNets - { - get => _sourceNets ?? (_sourceNets = new InputList()); - set => _sourceNets = value; - } - - [Input("states")] - private InputList? _states; - - /// - /// Information about the state of the Net peering. - /// - public InputList States - { - get => _states ?? (_states = new InputList()); - set => _states = value; - } - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - public NetPeeringState() - { - } - public static new NetPeeringState Empty => new NetPeeringState(); - } -} diff --git a/sdk/dotnet/NetPeeringAcception.cs b/sdk/dotnet/NetPeeringAcception.cs deleted file mode 100644 index e8ac9ed..0000000 --- a/sdk/dotnet/NetPeeringAcception.cs +++ /dev/null @@ -1,206 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages a Net peering acceptation. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Peering-Connections.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netpeering). - /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var netPeeringAcceptation01 = new Outscale.NetPeeringAcception("netPeeringAcceptation01", new() - /// { - /// NetPeeringId = outscale_net_peering.Net_peering01.Net_peering_id, - /// }); - /// - /// }); - /// ``` - /// - [OutscaleResourceType("outscale:index/netPeeringAcception:NetPeeringAcception")] - public partial class NetPeeringAcception : global::Pulumi.CustomResource - { - [Output("accepterNetId")] - public Output AccepterNetId { get; private set; } = null!; - - /// - /// Information about the accepter Net. - /// - [Output("accepterNets")] - public Output> AccepterNets { get; private set; } = null!; - - /// - /// The ID of the Net peering you want to accept. - /// - [Output("netPeeringId")] - public Output NetPeeringId { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - [Output("sourceNetId")] - public Output SourceNetId { get; private set; } = null!; - - /// - /// Information about the source Net. - /// - [Output("sourceNets")] - public Output> SourceNets { get; private set; } = null!; - - /// - /// Information about the state of the Net peering. - /// - [Output("states")] - public Output> States { get; private set; } = null!; - - /// - /// One or more tags associated with the Net peering. - /// - [Output("tags")] - public Output> Tags { get; private set; } = null!; - - - /// - /// Create a NetPeeringAcception resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public NetPeeringAcception(string name, NetPeeringAcceptionArgs args, CustomResourceOptions? options = null) - : base("outscale:index/netPeeringAcception:NetPeeringAcception", name, args ?? new NetPeeringAcceptionArgs(), MakeResourceOptions(options, "")) - { - } - - private NetPeeringAcception(string name, Input id, NetPeeringAcceptionState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/netPeeringAcception:NetPeeringAcception", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing NetPeeringAcception resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static NetPeeringAcception Get(string name, Input id, NetPeeringAcceptionState? state = null, CustomResourceOptions? options = null) - { - return new NetPeeringAcception(name, id, state, options); - } - } - - public sealed class NetPeeringAcceptionArgs : global::Pulumi.ResourceArgs - { - /// - /// The ID of the Net peering you want to accept. - /// - [Input("netPeeringId", required: true)] - public Input NetPeeringId { get; set; } = null!; - - public NetPeeringAcceptionArgs() - { - } - public static new NetPeeringAcceptionArgs Empty => new NetPeeringAcceptionArgs(); - } - - public sealed class NetPeeringAcceptionState : global::Pulumi.ResourceArgs - { - [Input("accepterNetId")] - public Input? AccepterNetId { get; set; } - - [Input("accepterNets")] - private InputList? _accepterNets; - - /// - /// Information about the accepter Net. - /// - public InputList AccepterNets - { - get => _accepterNets ?? (_accepterNets = new InputList()); - set => _accepterNets = value; - } - - /// - /// The ID of the Net peering you want to accept. - /// - [Input("netPeeringId")] - public Input? NetPeeringId { get; set; } - - [Input("requestId")] - public Input? RequestId { get; set; } - - [Input("sourceNetId")] - public Input? SourceNetId { get; set; } - - [Input("sourceNets")] - private InputList? _sourceNets; - - /// - /// Information about the source Net. - /// - public InputList SourceNets - { - get => _sourceNets ?? (_sourceNets = new InputList()); - set => _sourceNets = value; - } - - [Input("states")] - private InputList? _states; - - /// - /// Information about the state of the Net peering. - /// - public InputList States - { - get => _states ?? (_states = new InputList()); - set => _states = value; - } - - [Input("tags")] - private InputList? _tags; - - /// - /// One or more tags associated with the Net peering. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - public NetPeeringAcceptionState() - { - } - public static new NetPeeringAcceptionState Empty => new NetPeeringAcceptionState(); - } -} diff --git a/sdk/dotnet/Nic.cs b/sdk/dotnet/Nic.cs deleted file mode 100644 index c62fba1..0000000 --- a/sdk/dotnet/Nic.cs +++ /dev/null @@ -1,485 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages a network interface card (NIC). - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-FNIs.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-nic). - /// - /// ## Example Usage - /// ### Required resources - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var net01 = new Outscale.Net("net01", new() - /// { - /// IpRange = "10.0.0.0/16", - /// }); - /// - /// var subnet01 = new Outscale.Subnet("subnet01", new() - /// { - /// SubregionName = "eu-west-2a", - /// IpRange = "10.0.0.0/18", - /// NetId = net01.NetId, - /// }); - /// - /// var securityGroup01 = new Outscale.SecurityGroup("securityGroup01", new() - /// { - /// Description = "Terraform security group for nic with private IPs", - /// SecurityGroupName = "terraform-security-group-nic-ips", - /// NetId = net01.NetId, - /// }); - /// - /// }); - /// ``` - /// ### Create a NIC - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var nic01 = new Outscale.Nic("nic01", new() - /// { - /// SubnetId = outscale_subnet.Subnet01.Subnet_id, - /// }); - /// - /// }); - /// ``` - /// ### Create a NIC with private IP addresses - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var nic02 = new Outscale.Nic("nic02", new() - /// { - /// Description = "Terraform nic with private IPs", - /// SubnetId = outscale_subnet.Subnet01.Subnet_id, - /// SecurityGroupIds = new[] - /// { - /// outscale_security_group.Security_group01.Security_group_id, - /// }, - /// PrivateIps = new[] - /// { - /// new Outscale.Inputs.NicPrivateIpArgs - /// { - /// IsPrimary = true, - /// PrivateIp = "10.0.0.1", - /// }, - /// new Outscale.Inputs.NicPrivateIpArgs - /// { - /// IsPrimary = false, - /// PrivateIp = "10.0.0.2", - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// - /// ## Import - /// - /// A NIC can be imported using its ID. For exampleconsole - /// - /// ```sh - /// $ pulumi import outscale:index/nic:Nic ImportedNic eni-12345678 - /// ``` - /// - [OutscaleResourceType("outscale:index/nic:Nic")] - public partial class Nic : global::Pulumi.CustomResource - { - /// - /// The account ID of the owner of the NIC. - /// - [Output("accountId")] - public Output AccountId { get; private set; } = null!; - - /// - /// A description for the NIC. - /// - [Output("description")] - public Output Description { get; private set; } = null!; - - /// - /// (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - /// - [Output("isSourceDestChecked")] - public Output IsSourceDestChecked { get; private set; } = null!; - - /// - /// Information about the NIC attachment. - /// - [Output("linkNics")] - public Output> LinkNics { get; private set; } = null!; - - /// - /// Information about the public IP association. - /// - [Output("linkPublicIps")] - public Output> LinkPublicIps { get; private set; } = null!; - - /// - /// The Media Access Control (MAC) address of the NIC. - /// - [Output("macAddress")] - public Output MacAddress { get; private set; } = null!; - - /// - /// The ID of the Net for the NIC. - /// - [Output("netId")] - public Output NetId { get; private set; } = null!; - - /// - /// The ID of the NIC. - /// - [Output("nicId")] - public Output NicId { get; private set; } = null!; - - /// - /// The name of the private DNS. - /// - [Output("privateDnsName")] - public Output PrivateDnsName { get; private set; } = null!; - - /// - /// The private IP of the NIC. - /// - [Output("privateIp")] - public Output PrivateIp { get; private set; } = null!; - - /// - /// The primary private IP for the NIC.<br /> - /// This IP must be within the IP range of the Subnet that you specify with the `subnet_id` attribute.<br /> - /// If you do not specify this attribute, a random private IP is selected within the IP range of the Subnet. - /// - [Output("privateIps")] - public Output> PrivateIps { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - [Output("requesterManaged")] - public Output RequesterManaged { get; private set; } = null!; - - /// - /// One or more IDs of security groups for the NIC. - /// - [Output("securityGroupIds")] - public Output> SecurityGroupIds { get; private set; } = null!; - - /// - /// One or more IDs of security groups for the NIC. - /// - [Output("securityGroups")] - public Output> SecurityGroups { get; private set; } = null!; - - /// - /// The state of the NIC (`available` \| `attaching` \| `in-use` \| `detaching`). - /// - [Output("state")] - public Output State { get; private set; } = null!; - - /// - /// The ID of the Subnet in which you want to create the NIC. - /// - [Output("subnetId")] - public Output SubnetId { get; private set; } = null!; - - /// - /// The Subregion in which the NIC is located. - /// - [Output("subregionName")] - public Output SubregionName { get; private set; } = null!; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - [Output("tags")] - public Output> Tags { get; private set; } = null!; - - - /// - /// Create a Nic resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public Nic(string name, NicArgs args, CustomResourceOptions? options = null) - : base("outscale:index/nic:Nic", name, args ?? new NicArgs(), MakeResourceOptions(options, "")) - { - } - - private Nic(string name, Input id, NicState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/nic:Nic", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing Nic resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static Nic Get(string name, Input id, NicState? state = null, CustomResourceOptions? options = null) - { - return new Nic(name, id, state, options); - } - } - - public sealed class NicArgs : global::Pulumi.ResourceArgs - { - /// - /// A description for the NIC. - /// - [Input("description")] - public Input? Description { get; set; } - - /// - /// The private IP of the NIC. - /// - [Input("privateIp")] - public Input? PrivateIp { get; set; } - - [Input("privateIps")] - private InputList? _privateIps; - - /// - /// The primary private IP for the NIC.<br /> - /// This IP must be within the IP range of the Subnet that you specify with the `subnet_id` attribute.<br /> - /// If you do not specify this attribute, a random private IP is selected within the IP range of the Subnet. - /// - public InputList PrivateIps - { - get => _privateIps ?? (_privateIps = new InputList()); - set => _privateIps = value; - } - - [Input("securityGroupIds")] - private InputList? _securityGroupIds; - - /// - /// One or more IDs of security groups for the NIC. - /// - public InputList SecurityGroupIds - { - get => _securityGroupIds ?? (_securityGroupIds = new InputList()); - set => _securityGroupIds = value; - } - - /// - /// The ID of the Subnet in which you want to create the NIC. - /// - [Input("subnetId", required: true)] - public Input SubnetId { get; set; } = null!; - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - public NicArgs() - { - } - public static new NicArgs Empty => new NicArgs(); - } - - public sealed class NicState : global::Pulumi.ResourceArgs - { - /// - /// The account ID of the owner of the NIC. - /// - [Input("accountId")] - public Input? AccountId { get; set; } - - /// - /// A description for the NIC. - /// - [Input("description")] - public Input? Description { get; set; } - - /// - /// (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - /// - [Input("isSourceDestChecked")] - public Input? IsSourceDestChecked { get; set; } - - [Input("linkNics")] - private InputList? _linkNics; - - /// - /// Information about the NIC attachment. - /// - public InputList LinkNics - { - get => _linkNics ?? (_linkNics = new InputList()); - set => _linkNics = value; - } - - [Input("linkPublicIps")] - private InputList? _linkPublicIps; - - /// - /// Information about the public IP association. - /// - public InputList LinkPublicIps - { - get => _linkPublicIps ?? (_linkPublicIps = new InputList()); - set => _linkPublicIps = value; - } - - /// - /// The Media Access Control (MAC) address of the NIC. - /// - [Input("macAddress")] - public Input? MacAddress { get; set; } - - /// - /// The ID of the Net for the NIC. - /// - [Input("netId")] - public Input? NetId { get; set; } - - /// - /// The ID of the NIC. - /// - [Input("nicId")] - public Input? NicId { get; set; } - - /// - /// The name of the private DNS. - /// - [Input("privateDnsName")] - public Input? PrivateDnsName { get; set; } - - /// - /// The private IP of the NIC. - /// - [Input("privateIp")] - public Input? PrivateIp { get; set; } - - [Input("privateIps")] - private InputList? _privateIps; - - /// - /// The primary private IP for the NIC.<br /> - /// This IP must be within the IP range of the Subnet that you specify with the `subnet_id` attribute.<br /> - /// If you do not specify this attribute, a random private IP is selected within the IP range of the Subnet. - /// - public InputList PrivateIps - { - get => _privateIps ?? (_privateIps = new InputList()); - set => _privateIps = value; - } - - [Input("requestId")] - public Input? RequestId { get; set; } - - [Input("requesterManaged")] - public Input? RequesterManaged { get; set; } - - [Input("securityGroupIds")] - private InputList? _securityGroupIds; - - /// - /// One or more IDs of security groups for the NIC. - /// - public InputList SecurityGroupIds - { - get => _securityGroupIds ?? (_securityGroupIds = new InputList()); - set => _securityGroupIds = value; - } - - [Input("securityGroups")] - private InputList? _securityGroups; - - /// - /// One or more IDs of security groups for the NIC. - /// - public InputList SecurityGroups - { - get => _securityGroups ?? (_securityGroups = new InputList()); - set => _securityGroups = value; - } - - /// - /// The state of the NIC (`available` \| `attaching` \| `in-use` \| `detaching`). - /// - [Input("state")] - public Input? State { get; set; } - - /// - /// The ID of the Subnet in which you want to create the NIC. - /// - [Input("subnetId")] - public Input? SubnetId { get; set; } - - /// - /// The Subregion in which the NIC is located. - /// - [Input("subregionName")] - public Input? SubregionName { get; set; } - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - public NicState() - { - } - public static new NicState Empty => new NicState(); - } -} diff --git a/sdk/dotnet/NicLink.cs b/sdk/dotnet/NicLink.cs deleted file mode 100644 index 633f408..0000000 --- a/sdk/dotnet/NicLink.cs +++ /dev/null @@ -1,236 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages a NIC link. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-FNIs.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-nic). - /// - /// ## Example Usage - /// ### Required resources - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var net01 = new Outscale.Net("net01", new() - /// { - /// IpRange = "10.0.0.0/16", - /// }); - /// - /// var subnet01 = new Outscale.Subnet("subnet01", new() - /// { - /// SubregionName = $"{@var.Region}a", - /// IpRange = "10.0.0.0/16", - /// NetId = net01.NetId, - /// }); - /// - /// var vm01 = new Outscale.Vm("vm01", new() - /// { - /// ImageId = @var.Image_id, - /// VmType = @var.Vm_type, - /// KeypairName = @var.Keypair_name, - /// SubnetId = subnet01.SubnetId, - /// }); - /// - /// var nic01 = new Outscale.Nic("nic01", new() - /// { - /// SubnetId = subnet01.SubnetId, - /// }); - /// - /// }); - /// ``` - /// ### Link a NIC to a VM - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var nicLink01 = new Outscale.NicLink("nicLink01", new() - /// { - /// DeviceNumber = 1, - /// VmId = outscale_vm.Vm01.Vm_id, - /// NicId = outscale_nic.Nic01.Nic_id, - /// }); - /// - /// }); - /// ``` - /// - /// ## Import - /// - /// A NIC link can be imported using the NIC ID. For exampleconsole - /// - /// ```sh - /// $ pulumi import outscale:index/nicLink:NicLink ImportedNicLink eni-12345678 - /// ``` - /// - [OutscaleResourceType("outscale:index/nicLink:NicLink")] - public partial class NicLink : global::Pulumi.CustomResource - { - [Output("deleteOnVmDeletion")] - public Output DeleteOnVmDeletion { get; private set; } = null!; - - /// - /// The index of the VM device for the NIC attachment (between `1` and `7`, both included). - /// - [Output("deviceNumber")] - public Output DeviceNumber { get; private set; } = null!; - - /// - /// The ID of the NIC attachment. - /// - [Output("linkNicId")] - public Output LinkNicId { get; private set; } = null!; - - /// - /// The ID of the NIC you want to attach. - /// - [Output("nicId")] - public Output NicId { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - [Output("state")] - public Output State { get; private set; } = null!; - - [Output("vmAccountId")] - public Output VmAccountId { get; private set; } = null!; - - /// - /// The ID of the VM to which you want to attach the NIC. - /// - [Output("vmId")] - public Output VmId { get; private set; } = null!; - - - /// - /// Create a NicLink resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public NicLink(string name, NicLinkArgs args, CustomResourceOptions? options = null) - : base("outscale:index/nicLink:NicLink", name, args ?? new NicLinkArgs(), MakeResourceOptions(options, "")) - { - } - - private NicLink(string name, Input id, NicLinkState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/nicLink:NicLink", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing NicLink resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static NicLink Get(string name, Input id, NicLinkState? state = null, CustomResourceOptions? options = null) - { - return new NicLink(name, id, state, options); - } - } - - public sealed class NicLinkArgs : global::Pulumi.ResourceArgs - { - /// - /// The index of the VM device for the NIC attachment (between `1` and `7`, both included). - /// - [Input("deviceNumber", required: true)] - public Input DeviceNumber { get; set; } = null!; - - /// - /// The ID of the NIC you want to attach. - /// - [Input("nicId", required: true)] - public Input NicId { get; set; } = null!; - - /// - /// The ID of the VM to which you want to attach the NIC. - /// - [Input("vmId", required: true)] - public Input VmId { get; set; } = null!; - - public NicLinkArgs() - { - } - public static new NicLinkArgs Empty => new NicLinkArgs(); - } - - public sealed class NicLinkState : global::Pulumi.ResourceArgs - { - [Input("deleteOnVmDeletion")] - public Input? DeleteOnVmDeletion { get; set; } - - /// - /// The index of the VM device for the NIC attachment (between `1` and `7`, both included). - /// - [Input("deviceNumber")] - public Input? DeviceNumber { get; set; } - - /// - /// The ID of the NIC attachment. - /// - [Input("linkNicId")] - public Input? LinkNicId { get; set; } - - /// - /// The ID of the NIC you want to attach. - /// - [Input("nicId")] - public Input? NicId { get; set; } - - [Input("requestId")] - public Input? RequestId { get; set; } - - [Input("state")] - public Input? State { get; set; } - - [Input("vmAccountId")] - public Input? VmAccountId { get; set; } - - /// - /// The ID of the VM to which you want to attach the NIC. - /// - [Input("vmId")] - public Input? VmId { get; set; } - - public NicLinkState() - { - } - public static new NicLinkState Empty => new NicLinkState(); - } -} diff --git a/sdk/dotnet/NicPrivateIp.cs b/sdk/dotnet/NicPrivateIp.cs deleted file mode 100644 index 263b507..0000000 --- a/sdk/dotnet/NicPrivateIp.cs +++ /dev/null @@ -1,247 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages a NIC's private IPs. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-FNIs.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-nic). - /// - /// ## Example Usage - /// ### Required resources - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var net01 = new Outscale.Net("net01", new() - /// { - /// IpRange = "10.0.0.0/16", - /// }); - /// - /// var subnet01 = new Outscale.Subnet("subnet01", new() - /// { - /// SubregionName = $"{@var.Region}a", - /// IpRange = "10.0.0.0/16", - /// NetId = net01.NetId, - /// }); - /// - /// var nic01 = new Outscale.Nic("nic01", new() - /// { - /// SubnetId = subnet01.SubnetId, - /// }); - /// - /// }); - /// ``` - /// ### Link a specific secondary private IP address to a NIC - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var nicPrivateIp01 = new Outscale.NicPrivateIp("nicPrivateIp01", new() - /// { - /// NicId = outscale_nic.Nic01.Nic_id, - /// PrivateIps = new[] - /// { - /// "10.0.12.34", - /// "10.0.12.35", - /// }, - /// }); - /// - /// }); - /// ``` - /// ### Link several automatic secondary private IP addresses to a NIC - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var nicPrivateIp02 = new Outscale.NicPrivateIp("nicPrivateIp02", new() - /// { - /// NicId = outscale_nic.Nic01.Nic_id, - /// SecondaryPrivateIpCount = 2, - /// }); - /// - /// }); - /// ``` - /// - [OutscaleResourceType("outscale:index/nicPrivateIp:NicPrivateIp")] - public partial class NicPrivateIp : global::Pulumi.CustomResource - { - /// - /// If true, allows an IP that is already assigned to another NIC in the same Subnet to be assigned to the NIC you specified. - /// - [Output("allowRelink")] - public Output AllowRelink { get; private set; } = null!; - - /// - /// The ID of the NIC. - /// - [Output("nicId")] - public Output NicId { get; private set; } = null!; - - [Output("primaryPrivateIp")] - public Output PrimaryPrivateIp { get; private set; } = null!; - - /// - /// The secondary private IP or IPs you want to assign to the NIC within the IP range of the Subnet. - /// - [Output("privateIps")] - public Output> PrivateIps { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - /// - /// The number of secondary private IPs to assign to the NIC. - /// - [Output("secondaryPrivateIpCount")] - public Output SecondaryPrivateIpCount { get; private set; } = null!; - - - /// - /// Create a NicPrivateIp resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public NicPrivateIp(string name, NicPrivateIpArgs args, CustomResourceOptions? options = null) - : base("outscale:index/nicPrivateIp:NicPrivateIp", name, args ?? new NicPrivateIpArgs(), MakeResourceOptions(options, "")) - { - } - - private NicPrivateIp(string name, Input id, NicPrivateIpState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/nicPrivateIp:NicPrivateIp", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing NicPrivateIp resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static NicPrivateIp Get(string name, Input id, NicPrivateIpState? state = null, CustomResourceOptions? options = null) - { - return new NicPrivateIp(name, id, state, options); - } - } - - public sealed class NicPrivateIpArgs : global::Pulumi.ResourceArgs - { - /// - /// If true, allows an IP that is already assigned to another NIC in the same Subnet to be assigned to the NIC you specified. - /// - [Input("allowRelink")] - public Input? AllowRelink { get; set; } - - /// - /// The ID of the NIC. - /// - [Input("nicId", required: true)] - public Input NicId { get; set; } = null!; - - [Input("privateIps")] - private InputList? _privateIps; - - /// - /// The secondary private IP or IPs you want to assign to the NIC within the IP range of the Subnet. - /// - public InputList PrivateIps - { - get => _privateIps ?? (_privateIps = new InputList()); - set => _privateIps = value; - } - - /// - /// The number of secondary private IPs to assign to the NIC. - /// - [Input("secondaryPrivateIpCount")] - public Input? SecondaryPrivateIpCount { get; set; } - - public NicPrivateIpArgs() - { - } - public static new NicPrivateIpArgs Empty => new NicPrivateIpArgs(); - } - - public sealed class NicPrivateIpState : global::Pulumi.ResourceArgs - { - /// - /// If true, allows an IP that is already assigned to another NIC in the same Subnet to be assigned to the NIC you specified. - /// - [Input("allowRelink")] - public Input? AllowRelink { get; set; } - - /// - /// The ID of the NIC. - /// - [Input("nicId")] - public Input? NicId { get; set; } - - [Input("primaryPrivateIp")] - public Input? PrimaryPrivateIp { get; set; } - - [Input("privateIps")] - private InputList? _privateIps; - - /// - /// The secondary private IP or IPs you want to assign to the NIC within the IP range of the Subnet. - /// - public InputList PrivateIps - { - get => _privateIps ?? (_privateIps = new InputList()); - set => _privateIps = value; - } - - [Input("requestId")] - public Input? RequestId { get; set; } - - /// - /// The number of secondary private IPs to assign to the NIC. - /// - [Input("secondaryPrivateIpCount")] - public Input? SecondaryPrivateIpCount { get; set; } - - public NicPrivateIpState() - { - } - public static new NicPrivateIpState Empty => new NicPrivateIpState(); - } -} diff --git a/sdk/dotnet/OutboundRule.cs b/sdk/dotnet/OutboundRule.cs deleted file mode 100644 index f79eb7d..0000000 --- a/sdk/dotnet/OutboundRule.cs +++ /dev/null @@ -1,183 +0,0 @@ -// *** 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.Outscale -{ - [OutscaleResourceType("outscale:index/outboundRule:OutboundRule")] - public partial class OutboundRule : global::Pulumi.CustomResource - { - [Output("flow")] - public Output Flow { get; private set; } = null!; - - [Output("fromPortRange")] - public Output FromPortRange { get; private set; } = null!; - - [Output("ipProtocol")] - public Output IpProtocol { get; private set; } = null!; - - [Output("ipRange")] - public Output IpRange { get; private set; } = null!; - - [Output("netId")] - public Output NetId { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - [Output("rules")] - public Output> Rules { get; private set; } = null!; - - [Output("securityGroupAccountIdToLink")] - public Output SecurityGroupAccountIdToLink { get; private set; } = null!; - - [Output("securityGroupId")] - public Output SecurityGroupId { get; private set; } = null!; - - [Output("securityGroupName")] - public Output SecurityGroupName { get; private set; } = null!; - - [Output("securityGroupNameToLink")] - public Output SecurityGroupNameToLink { get; private set; } = null!; - - [Output("toPortRange")] - public Output ToPortRange { get; private set; } = null!; - - - /// - /// Create a OutboundRule resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public OutboundRule(string name, OutboundRuleArgs args, CustomResourceOptions? options = null) - : base("outscale:index/outboundRule:OutboundRule", name, args ?? new OutboundRuleArgs(), MakeResourceOptions(options, "")) - { - } - - private OutboundRule(string name, Input id, OutboundRuleState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/outboundRule:OutboundRule", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing OutboundRule resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static OutboundRule Get(string name, Input id, OutboundRuleState? state = null, CustomResourceOptions? options = null) - { - return new OutboundRule(name, id, state, options); - } - } - - public sealed class OutboundRuleArgs : global::Pulumi.ResourceArgs - { - [Input("flow", required: true)] - public Input Flow { get; set; } = null!; - - [Input("fromPortRange")] - public Input? FromPortRange { get; set; } - - [Input("ipProtocol")] - public Input? IpProtocol { get; set; } - - [Input("ipRange")] - public Input? IpRange { get; set; } - - [Input("rules")] - private InputList? _rules; - public InputList Rules - { - get => _rules ?? (_rules = new InputList()); - set => _rules = value; - } - - [Input("securityGroupAccountIdToLink")] - public Input? SecurityGroupAccountIdToLink { get; set; } - - [Input("securityGroupId", required: true)] - public Input SecurityGroupId { get; set; } = null!; - - [Input("securityGroupNameToLink")] - public Input? SecurityGroupNameToLink { get; set; } - - [Input("toPortRange")] - public Input? ToPortRange { get; set; } - - public OutboundRuleArgs() - { - } - public static new OutboundRuleArgs Empty => new OutboundRuleArgs(); - } - - public sealed class OutboundRuleState : global::Pulumi.ResourceArgs - { - [Input("flow")] - public Input? Flow { get; set; } - - [Input("fromPortRange")] - public Input? FromPortRange { get; set; } - - [Input("ipProtocol")] - public Input? IpProtocol { get; set; } - - [Input("ipRange")] - public Input? IpRange { get; set; } - - [Input("netId")] - public Input? NetId { get; set; } - - [Input("requestId")] - public Input? RequestId { get; set; } - - [Input("rules")] - private InputList? _rules; - public InputList Rules - { - get => _rules ?? (_rules = new InputList()); - set => _rules = value; - } - - [Input("securityGroupAccountIdToLink")] - public Input? SecurityGroupAccountIdToLink { get; set; } - - [Input("securityGroupId")] - public Input? SecurityGroupId { get; set; } - - [Input("securityGroupName")] - public Input? SecurityGroupName { get; set; } - - [Input("securityGroupNameToLink")] - public Input? SecurityGroupNameToLink { get; set; } - - [Input("toPortRange")] - public Input? ToPortRange { get; set; } - - public OutboundRuleState() - { - } - public static new OutboundRuleState Empty => new OutboundRuleState(); - } -} diff --git a/sdk/dotnet/Outputs/ClientGatewayTag.cs b/sdk/dotnet/Outputs/ClientGatewayTag.cs deleted file mode 100644 index 37f2c68..0000000 --- a/sdk/dotnet/Outputs/ClientGatewayTag.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class ClientGatewayTag - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string? Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string? Value; - - [OutputConstructor] - private ClientGatewayTag( - string? key, - - string? value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/DhcpOptionTag.cs b/sdk/dotnet/Outputs/DhcpOptionTag.cs deleted file mode 100644 index f949069..0000000 --- a/sdk/dotnet/Outputs/DhcpOptionTag.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class DhcpOptionTag - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string? Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string? Value; - - [OutputConstructor] - private DhcpOptionTag( - string? key, - - string? value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetAccessKeyFilterResult.cs b/sdk/dotnet/Outputs/GetAccessKeyFilterResult.cs deleted file mode 100644 index 9ff87e1..0000000 --- a/sdk/dotnet/Outputs/GetAccessKeyFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetAccessKeyFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetAccessKeyFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetAccessKeysAccessKeyResult.cs b/sdk/dotnet/Outputs/GetAccessKeysAccessKeyResult.cs deleted file mode 100644 index 3173e26..0000000 --- a/sdk/dotnet/Outputs/GetAccessKeysAccessKeyResult.cs +++ /dev/null @@ -1,56 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetAccessKeysAccessKeyResult - { - /// - /// The ID of the access key. - /// - public readonly string AccessKeyId; - /// - /// The date and time (UTC) of creation of the access key. - /// - public readonly string CreationDate; - /// - /// The date (UTC) at which the access key expires. - /// - public readonly string ExpirationDate; - /// - /// The date and time (UTC) of the last modification of the access key. - /// - public readonly string LastModificationDate; - /// - /// The state of the access key (`ACTIVE` if the key is valid for API calls, or `INACTIVE` if not). - /// - public readonly string State; - - [OutputConstructor] - private GetAccessKeysAccessKeyResult( - string accessKeyId, - - string creationDate, - - string expirationDate, - - string lastModificationDate, - - string state) - { - AccessKeyId = accessKeyId; - CreationDate = creationDate; - ExpirationDate = expirationDate; - LastModificationDate = lastModificationDate; - State = state; - } - } -} diff --git a/sdk/dotnet/Outputs/GetAccessKeysFilterResult.cs b/sdk/dotnet/Outputs/GetAccessKeysFilterResult.cs deleted file mode 100644 index 74858d1..0000000 --- a/sdk/dotnet/Outputs/GetAccessKeysFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetAccessKeysFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetAccessKeysFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetAccountsAccountResult.cs b/sdk/dotnet/Outputs/GetAccountsAccountResult.cs deleted file mode 100644 index 3673373..0000000 --- a/sdk/dotnet/Outputs/GetAccountsAccountResult.cs +++ /dev/null @@ -1,126 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetAccountsAccountResult - { - /// - /// The ID of the account. - /// - public readonly string AccountId; - /// - /// One or more additional email addresses for the account. These addresses are used for notifications only. - /// - public readonly ImmutableArray AdditionalEmails; - /// - /// The city of the account owner. - /// - public readonly string City; - /// - /// The name of the company for the account. - /// - public readonly string CompanyName; - /// - /// The country of the account owner. - /// - public readonly string Country; - /// - /// The ID of the customer. - /// - public readonly string CustomerId; - /// - /// The main email address for the account. This address is used for your credentials and for notifications. - /// - public readonly string Email; - /// - /// The first name of the account owner. - /// - public readonly string FirstName; - /// - /// The job title of the account owner. - /// - public readonly string JobTitle; - /// - /// The last name of the account owner. - /// - public readonly string LastName; - /// - /// The mobile phone number of the account owner. - /// - public readonly string MobileNumber; - /// - /// The landline phone number of the account owner. - /// - public readonly string PhoneNumber; - /// - /// The state/province of the account. - /// - public readonly string StateProvince; - /// - /// The value added tax (VAT) number for the account. - /// - public readonly string VatNumber; - /// - /// The ZIP code of the city. - /// - public readonly string ZipCode; - - [OutputConstructor] - private GetAccountsAccountResult( - string accountId, - - ImmutableArray additionalEmails, - - string city, - - string companyName, - - string country, - - string customerId, - - string email, - - string firstName, - - string jobTitle, - - string lastName, - - string mobileNumber, - - string phoneNumber, - - string stateProvince, - - string vatNumber, - - string zipCode) - { - AccountId = accountId; - AdditionalEmails = additionalEmails; - City = city; - CompanyName = companyName; - Country = country; - CustomerId = customerId; - Email = email; - FirstName = firstName; - JobTitle = jobTitle; - LastName = lastName; - MobileNumber = mobileNumber; - PhoneNumber = phoneNumber; - StateProvince = stateProvince; - VatNumber = vatNumber; - ZipCode = zipCode; - } - } -} diff --git a/sdk/dotnet/Outputs/GetApiAccessRuleFilterResult.cs b/sdk/dotnet/Outputs/GetApiAccessRuleFilterResult.cs deleted file mode 100644 index e707173..0000000 --- a/sdk/dotnet/Outputs/GetApiAccessRuleFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetApiAccessRuleFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetApiAccessRuleFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetApiAccessRulesApiAccessRuleResult.cs b/sdk/dotnet/Outputs/GetApiAccessRulesApiAccessRuleResult.cs deleted file mode 100644 index 4f5159a..0000000 --- a/sdk/dotnet/Outputs/GetApiAccessRulesApiAccessRuleResult.cs +++ /dev/null @@ -1,56 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetApiAccessRulesApiAccessRuleResult - { - /// - /// The ID of the API access rule. - /// - public readonly string ApiAccessRuleId; - /// - /// One or more IDs of Client Certificate Authorities (CAs). - /// - public readonly ImmutableArray CaIds; - /// - /// One or more Client Certificate Common Names (CNs). - /// - public readonly ImmutableArray Cns; - /// - /// The description of the API access rule. - /// - public readonly string Description; - /// - /// One or more IP addresses or CIDR blocks (for example, `192.0.2.0/16`). - /// - public readonly ImmutableArray IpRanges; - - [OutputConstructor] - private GetApiAccessRulesApiAccessRuleResult( - string apiAccessRuleId, - - ImmutableArray caIds, - - ImmutableArray cns, - - string description, - - ImmutableArray ipRanges) - { - ApiAccessRuleId = apiAccessRuleId; - CaIds = caIds; - Cns = cns; - Description = description; - IpRanges = ipRanges; - } - } -} diff --git a/sdk/dotnet/Outputs/GetApiAccessRulesFilterResult.cs b/sdk/dotnet/Outputs/GetApiAccessRulesFilterResult.cs deleted file mode 100644 index ae5b57a..0000000 --- a/sdk/dotnet/Outputs/GetApiAccessRulesFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetApiAccessRulesFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetApiAccessRulesFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetCaFilterResult.cs b/sdk/dotnet/Outputs/GetCaFilterResult.cs deleted file mode 100644 index 9bdb75b..0000000 --- a/sdk/dotnet/Outputs/GetCaFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetCaFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetCaFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetCasCaResult.cs b/sdk/dotnet/Outputs/GetCasCaResult.cs deleted file mode 100644 index 907aac3..0000000 --- a/sdk/dotnet/Outputs/GetCasCaResult.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetCasCaResult - { - /// - /// The fingerprint of the CA. - /// - public readonly string CaFingerprint; - /// - /// The ID of the CA. - /// - public readonly string CaId; - /// - /// The description of the CA. - /// - public readonly string Description; - - [OutputConstructor] - private GetCasCaResult( - string caFingerprint, - - string caId, - - string description) - { - CaFingerprint = caFingerprint; - CaId = caId; - Description = description; - } - } -} diff --git a/sdk/dotnet/Outputs/GetCasFilterResult.cs b/sdk/dotnet/Outputs/GetCasFilterResult.cs deleted file mode 100644 index 81af4ac..0000000 --- a/sdk/dotnet/Outputs/GetCasFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetCasFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetCasFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetClientGatewayFilterResult.cs b/sdk/dotnet/Outputs/GetClientGatewayFilterResult.cs deleted file mode 100644 index 92df8df..0000000 --- a/sdk/dotnet/Outputs/GetClientGatewayFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetClientGatewayFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetClientGatewayFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetClientGatewayTagResult.cs b/sdk/dotnet/Outputs/GetClientGatewayTagResult.cs deleted file mode 100644 index 6b2a17d..0000000 --- a/sdk/dotnet/Outputs/GetClientGatewayTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetClientGatewayTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetClientGatewayTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetClientGatewaysClientGatewayResult.cs b/sdk/dotnet/Outputs/GetClientGatewaysClientGatewayResult.cs deleted file mode 100644 index 6bbb543..0000000 --- a/sdk/dotnet/Outputs/GetClientGatewaysClientGatewayResult.cs +++ /dev/null @@ -1,63 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetClientGatewaysClientGatewayResult - { - /// - /// The Autonomous System Number (ASN) used by the Border Gateway Protocol (BGP) to find the path to your client gateway through the Internet. - /// - public readonly int BgpAsn; - /// - /// The ID of the client gateway. - /// - public readonly string? ClientGatewayId; - /// - /// The type of communication tunnel used by the client gateway (only `ipsec.1` is supported). - /// - public readonly string ConnectionType; - /// - /// The public IPv4 address of the client gateway (must be a fixed address into a NATed network). - /// - public readonly string PublicIp; - /// - /// The state of the client gateway (`pending` \| `available` \| `deleting` \| `deleted`). - /// - public readonly string State; - /// - /// The key/value combinations of the tags associated with the client gateways, in the following format: `TAGKEY=TAGVALUE`. - /// - public readonly ImmutableArray Tags; - - [OutputConstructor] - private GetClientGatewaysClientGatewayResult( - int bgpAsn, - - string? clientGatewayId, - - string connectionType, - - string publicIp, - - string state, - - ImmutableArray tags) - { - BgpAsn = bgpAsn; - ClientGatewayId = clientGatewayId; - ConnectionType = connectionType; - PublicIp = publicIp; - State = state; - Tags = tags; - } - } -} diff --git a/sdk/dotnet/Outputs/GetClientGatewaysClientGatewayTagResult.cs b/sdk/dotnet/Outputs/GetClientGatewaysClientGatewayTagResult.cs deleted file mode 100644 index 7f7613a..0000000 --- a/sdk/dotnet/Outputs/GetClientGatewaysClientGatewayTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetClientGatewaysClientGatewayTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetClientGatewaysClientGatewayTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetClientGatewaysFilterResult.cs b/sdk/dotnet/Outputs/GetClientGatewaysFilterResult.cs deleted file mode 100644 index 8f171c4..0000000 --- a/sdk/dotnet/Outputs/GetClientGatewaysFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetClientGatewaysFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetClientGatewaysFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetDhcpOptionFilterResult.cs b/sdk/dotnet/Outputs/GetDhcpOptionFilterResult.cs deleted file mode 100644 index f39ed7a..0000000 --- a/sdk/dotnet/Outputs/GetDhcpOptionFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetDhcpOptionFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetDhcpOptionFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetDhcpOptionTagResult.cs b/sdk/dotnet/Outputs/GetDhcpOptionTagResult.cs deleted file mode 100644 index b40dd23..0000000 --- a/sdk/dotnet/Outputs/GetDhcpOptionTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetDhcpOptionTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetDhcpOptionTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetDhcpOptionsDhcpOptionResult.cs b/sdk/dotnet/Outputs/GetDhcpOptionsDhcpOptionResult.cs deleted file mode 100644 index b2bf6d7..0000000 --- a/sdk/dotnet/Outputs/GetDhcpOptionsDhcpOptionResult.cs +++ /dev/null @@ -1,70 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetDhcpOptionsDhcpOptionResult - { - /// - /// If true, lists all default DHCP options set. If false, lists all non-default DHCP options set. - /// - public readonly bool Default; - /// - /// The ID of the DHCP options set. - /// - public readonly string DhcpOptionsSetId; - /// - /// The domain name. - /// - public readonly string DomainName; - /// - /// The IPs of the domain name servers used for the DHCP options sets. - /// - public readonly ImmutableArray DomainNameServers; - /// - /// The IPs of the log servers used for the DHCP options sets. - /// - public readonly ImmutableArray LogServers; - /// - /// The IPs of the Network Time Protocol (NTP) servers used for the DHCP options sets. - /// - public readonly ImmutableArray NtpServers; - /// - /// The key/value combinations of the tags associated with the DHCP options sets, in the following format: `TAGKEY=TAGVALUE`. - /// - public readonly ImmutableArray Tags; - - [OutputConstructor] - private GetDhcpOptionsDhcpOptionResult( - bool @default, - - string dhcpOptionsSetId, - - string domainName, - - ImmutableArray domainNameServers, - - ImmutableArray logServers, - - ImmutableArray ntpServers, - - ImmutableArray tags) - { - Default = @default; - DhcpOptionsSetId = dhcpOptionsSetId; - DomainName = domainName; - DomainNameServers = domainNameServers; - LogServers = logServers; - NtpServers = ntpServers; - Tags = tags; - } - } -} diff --git a/sdk/dotnet/Outputs/GetDhcpOptionsDhcpOptionTagResult.cs b/sdk/dotnet/Outputs/GetDhcpOptionsDhcpOptionTagResult.cs deleted file mode 100644 index 51ffd87..0000000 --- a/sdk/dotnet/Outputs/GetDhcpOptionsDhcpOptionTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetDhcpOptionsDhcpOptionTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetDhcpOptionsDhcpOptionTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetDhcpOptionsFilterResult.cs b/sdk/dotnet/Outputs/GetDhcpOptionsFilterResult.cs deleted file mode 100644 index 9eded7a..0000000 --- a/sdk/dotnet/Outputs/GetDhcpOptionsFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetDhcpOptionsFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetDhcpOptionsFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetFlexibleGpuCatalogFilterResult.cs b/sdk/dotnet/Outputs/GetFlexibleGpuCatalogFilterResult.cs deleted file mode 100644 index 8cd743f..0000000 --- a/sdk/dotnet/Outputs/GetFlexibleGpuCatalogFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetFlexibleGpuCatalogFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetFlexibleGpuCatalogFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetFlexibleGpuCatalogFlexibleGpuCatalogResult.cs b/sdk/dotnet/Outputs/GetFlexibleGpuCatalogFlexibleGpuCatalogResult.cs deleted file mode 100644 index 0b001da..0000000 --- a/sdk/dotnet/Outputs/GetFlexibleGpuCatalogFlexibleGpuCatalogResult.cs +++ /dev/null @@ -1,56 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetFlexibleGpuCatalogFlexibleGpuCatalogResult - { - /// - /// The generations of VMs that the fGPU is compatible with. - /// - public readonly ImmutableArray Generations; - /// - /// The maximum number of VM vCores that the fGPU is compatible with. - /// - public readonly int MaxCpu; - /// - /// The maximum amount of VM memory that the fGPU is compatible with. - /// - public readonly int MaxRam; - /// - /// The model of fGPU. - /// - public readonly string ModelName; - /// - /// The amount of video RAM (VRAM) of the fGPU. - /// - public readonly int VRam; - - [OutputConstructor] - private GetFlexibleGpuCatalogFlexibleGpuCatalogResult( - ImmutableArray generations, - - int maxCpu, - - int maxRam, - - string modelName, - - int vRam) - { - Generations = generations; - MaxCpu = maxCpu; - MaxRam = maxRam; - ModelName = modelName; - VRam = vRam; - } - } -} diff --git a/sdk/dotnet/Outputs/GetFlexibleGpuFilterResult.cs b/sdk/dotnet/Outputs/GetFlexibleGpuFilterResult.cs deleted file mode 100644 index 1c1fa77..0000000 --- a/sdk/dotnet/Outputs/GetFlexibleGpuFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetFlexibleGpuFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetFlexibleGpuFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetFlexibleGpusFilterResult.cs b/sdk/dotnet/Outputs/GetFlexibleGpusFilterResult.cs deleted file mode 100644 index 658ea4c..0000000 --- a/sdk/dotnet/Outputs/GetFlexibleGpusFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetFlexibleGpusFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetFlexibleGpusFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetFlexibleGpusFlexibleGpusResult.cs b/sdk/dotnet/Outputs/GetFlexibleGpusFlexibleGpusResult.cs deleted file mode 100644 index 35da809..0000000 --- a/sdk/dotnet/Outputs/GetFlexibleGpusFlexibleGpusResult.cs +++ /dev/null @@ -1,70 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetFlexibleGpusFlexibleGpusResult - { - /// - /// Indicates whether the fGPU is deleted when terminating the VM. - /// - public readonly bool DeleteOnVmDeletion; - /// - /// The ID of the fGPU. - /// - public readonly string FlexibleGpuId; - /// - /// The compatible processor generation. - /// - public readonly string Generation; - /// - /// The model of fGPU. For more information, see [About Flexible GPUs](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html). - /// - public readonly string ModelName; - /// - /// The state of the fGPU (`allocated` \| `attaching` \| `attached` \| `detaching`). - /// - public readonly string State; - /// - /// The Subregion where the fGPU is located. - /// - public readonly string SubregionName; - /// - /// The ID of the VM the fGPU is attached to, if any. - /// - public readonly string VmId; - - [OutputConstructor] - private GetFlexibleGpusFlexibleGpusResult( - bool deleteOnVmDeletion, - - string flexibleGpuId, - - string generation, - - string modelName, - - string state, - - string subregionName, - - string vmId) - { - DeleteOnVmDeletion = deleteOnVmDeletion; - FlexibleGpuId = flexibleGpuId; - Generation = generation; - ModelName = modelName; - State = state; - SubregionName = subregionName; - VmId = vmId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetImageBlockDeviceMappingBsusResult.cs b/sdk/dotnet/Outputs/GetImageBlockDeviceMappingBsusResult.cs deleted file mode 100644 index bb47a9b..0000000 --- a/sdk/dotnet/Outputs/GetImageBlockDeviceMappingBsusResult.cs +++ /dev/null @@ -1,59 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetImageBlockDeviceMappingBsusResult - { - /// - /// By default or if set to true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - /// - public readonly bool DeleteOnVmDeletion; - /// - /// The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - /// - public readonly int Iops; - /// - /// The ID of the snapshot used to create the volume. - /// - public readonly string SnapshotId; - /// - /// The size of the volume, in gibibytes (GiB).<br /> - /// If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.<br /> - /// If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. - /// - public readonly int VolumeSize; - /// - /// The type of the volume (`standard` \| `io1` \| `gp2`). If not specified in the request, a `standard` volume is created.<br /> - /// For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - /// - public readonly string VolumeType; - - [OutputConstructor] - private GetImageBlockDeviceMappingBsusResult( - bool deleteOnVmDeletion, - - int iops, - - string snapshotId, - - int volumeSize, - - string volumeType) - { - DeleteOnVmDeletion = deleteOnVmDeletion; - Iops = iops; - SnapshotId = snapshotId; - VolumeSize = volumeSize; - VolumeType = volumeType; - } - } -} diff --git a/sdk/dotnet/Outputs/GetImageBlockDeviceMappingResult.cs b/sdk/dotnet/Outputs/GetImageBlockDeviceMappingResult.cs deleted file mode 100644 index 0c11678..0000000 --- a/sdk/dotnet/Outputs/GetImageBlockDeviceMappingResult.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetImageBlockDeviceMappingResult - { - /// - /// Information about the BSU volume to create. - /// - public readonly ImmutableArray Bsus; - /// - /// The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - /// - public readonly string DeviceName; - /// - /// The name of the virtual device (`ephemeralN`). - /// - public readonly string VirtualDeviceName; - - [OutputConstructor] - private GetImageBlockDeviceMappingResult( - ImmutableArray bsus, - - string deviceName, - - string virtualDeviceName) - { - Bsus = bsus; - DeviceName = deviceName; - VirtualDeviceName = virtualDeviceName; - } - } -} diff --git a/sdk/dotnet/Outputs/GetImageExportTaskFilterResult.cs b/sdk/dotnet/Outputs/GetImageExportTaskFilterResult.cs deleted file mode 100644 index eca6476..0000000 --- a/sdk/dotnet/Outputs/GetImageExportTaskFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetImageExportTaskFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetImageExportTaskFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetImageExportTaskOsuExportResult.cs b/sdk/dotnet/Outputs/GetImageExportTaskOsuExportResult.cs deleted file mode 100644 index f966ad3..0000000 --- a/sdk/dotnet/Outputs/GetImageExportTaskOsuExportResult.cs +++ /dev/null @@ -1,49 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetImageExportTaskOsuExportResult - { - /// - /// The format of the export disk (`qcow2` \| `raw`). - /// - public readonly string DiskImageFormat; - /// - /// The name of the OOS bucket the OMI is exported to. - /// - public readonly string OsuBucket; - /// - /// The URL of the manifest file. - /// - public readonly string OsuManifestUrl; - /// - /// The prefix for the key of the OOS object corresponding to the image. - /// - public readonly string OsuPrefix; - - [OutputConstructor] - private GetImageExportTaskOsuExportResult( - string diskImageFormat, - - string osuBucket, - - string osuManifestUrl, - - string osuPrefix) - { - DiskImageFormat = diskImageFormat; - OsuBucket = osuBucket; - OsuManifestUrl = osuManifestUrl; - OsuPrefix = osuPrefix; - } - } -} diff --git a/sdk/dotnet/Outputs/GetImageExportTaskTagResult.cs b/sdk/dotnet/Outputs/GetImageExportTaskTagResult.cs deleted file mode 100644 index b2a045e..0000000 --- a/sdk/dotnet/Outputs/GetImageExportTaskTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetImageExportTaskTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetImageExportTaskTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetImageExportTasksFilterResult.cs b/sdk/dotnet/Outputs/GetImageExportTasksFilterResult.cs deleted file mode 100644 index 3146903..0000000 --- a/sdk/dotnet/Outputs/GetImageExportTasksFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetImageExportTasksFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetImageExportTasksFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetImageExportTasksImageExportTaskOsuExportResult.cs b/sdk/dotnet/Outputs/GetImageExportTasksImageExportTaskOsuExportResult.cs deleted file mode 100644 index 1b7e4da..0000000 --- a/sdk/dotnet/Outputs/GetImageExportTasksImageExportTaskOsuExportResult.cs +++ /dev/null @@ -1,49 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetImageExportTasksImageExportTaskOsuExportResult - { - /// - /// The format of the export disk (`qcow2` \| `raw`). - /// - public readonly string DiskImageFormat; - /// - /// The name of the OOS bucket the OMI is exported to. - /// - public readonly string OsuBucket; - /// - /// The URL of the manifest file. - /// - public readonly string OsuManifestUrl; - /// - /// The prefix for the key of the OOS object corresponding to the image. - /// - public readonly string OsuPrefix; - - [OutputConstructor] - private GetImageExportTasksImageExportTaskOsuExportResult( - string diskImageFormat, - - string osuBucket, - - string osuManifestUrl, - - string osuPrefix) - { - DiskImageFormat = diskImageFormat; - OsuBucket = osuBucket; - OsuManifestUrl = osuManifestUrl; - OsuPrefix = osuPrefix; - } - } -} diff --git a/sdk/dotnet/Outputs/GetImageExportTasksImageExportTaskResult.cs b/sdk/dotnet/Outputs/GetImageExportTasksImageExportTaskResult.cs deleted file mode 100644 index ccf2b38..0000000 --- a/sdk/dotnet/Outputs/GetImageExportTasksImageExportTaskResult.cs +++ /dev/null @@ -1,70 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetImageExportTasksImageExportTaskResult - { - /// - /// If the OMI export task fails, an error message appears. - /// - public readonly string Comment; - /// - /// The ID of the OMI to be exported. - /// - public readonly string ImageId; - /// - /// Information about the OMI export task. - /// - public readonly ImmutableArray OsuExports; - /// - /// The progress of the OMI export task, as a percentage. - /// - public readonly int Progress; - /// - /// The state of the OMI export task (`pending/queued` \| `pending` \| `completed` \| `failed` \| `cancelled`). - /// - public readonly string State; - /// - /// One or more tags associated with the image export task. - /// - public readonly ImmutableArray Tags; - /// - /// The ID of the OMI export task. - /// - public readonly string TaskId; - - [OutputConstructor] - private GetImageExportTasksImageExportTaskResult( - string comment, - - string imageId, - - ImmutableArray osuExports, - - int progress, - - string state, - - ImmutableArray tags, - - string taskId) - { - Comment = comment; - ImageId = imageId; - OsuExports = osuExports; - Progress = progress; - State = state; - Tags = tags; - TaskId = taskId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetImageExportTasksImageExportTaskTagResult.cs b/sdk/dotnet/Outputs/GetImageExportTasksImageExportTaskTagResult.cs deleted file mode 100644 index c4e7a7d..0000000 --- a/sdk/dotnet/Outputs/GetImageExportTasksImageExportTaskTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetImageExportTasksImageExportTaskTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetImageExportTasksImageExportTaskTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetImageFilterResult.cs b/sdk/dotnet/Outputs/GetImageFilterResult.cs deleted file mode 100644 index 9a6254c..0000000 --- a/sdk/dotnet/Outputs/GetImageFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetImageFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetImageFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetImagePermissionsToLaunchResult.cs b/sdk/dotnet/Outputs/GetImagePermissionsToLaunchResult.cs deleted file mode 100644 index 5dda6ce..0000000 --- a/sdk/dotnet/Outputs/GetImagePermissionsToLaunchResult.cs +++ /dev/null @@ -1,37 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetImagePermissionsToLaunchResult - { - /// - /// The account ID of the owner of the OMI. - /// - public readonly string AccountId; - /// - /// A global permission for all accounts.<br /> - /// (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).<br /> - /// (Response) If true, the resource is public. If false, the resource is private. - /// - public readonly bool GlobalPermission; - - [OutputConstructor] - private GetImagePermissionsToLaunchResult( - string accountId, - - bool globalPermission) - { - AccountId = accountId; - GlobalPermission = globalPermission; - } - } -} diff --git a/sdk/dotnet/Outputs/GetImageStateCommentResult.cs b/sdk/dotnet/Outputs/GetImageStateCommentResult.cs deleted file mode 100644 index 325002e..0000000 --- a/sdk/dotnet/Outputs/GetImageStateCommentResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetImageStateCommentResult - { - /// - /// The code of the change of state. - /// - public readonly string StateCode; - /// - /// A message explaining the change of state. - /// - public readonly string StateMessage; - - [OutputConstructor] - private GetImageStateCommentResult( - string stateCode, - - string stateMessage) - { - StateCode = stateCode; - StateMessage = stateMessage; - } - } -} diff --git a/sdk/dotnet/Outputs/GetImageTagResult.cs b/sdk/dotnet/Outputs/GetImageTagResult.cs deleted file mode 100644 index 6fbd63a..0000000 --- a/sdk/dotnet/Outputs/GetImageTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetImageTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetImageTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetImagesFilterResult.cs b/sdk/dotnet/Outputs/GetImagesFilterResult.cs deleted file mode 100644 index 3fd0258..0000000 --- a/sdk/dotnet/Outputs/GetImagesFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetImagesFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetImagesFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetImagesImageBlockDeviceMappingBsusResult.cs b/sdk/dotnet/Outputs/GetImagesImageBlockDeviceMappingBsusResult.cs deleted file mode 100644 index 04571fd..0000000 --- a/sdk/dotnet/Outputs/GetImagesImageBlockDeviceMappingBsusResult.cs +++ /dev/null @@ -1,59 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetImagesImageBlockDeviceMappingBsusResult - { - /// - /// By default or if set to true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - /// - public readonly bool DeleteOnVmDeletion; - /// - /// The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - /// - public readonly int Iops; - /// - /// The ID of the snapshot used to create the volume. - /// - public readonly string SnapshotId; - /// - /// The size of the volume, in gibibytes (GiB).<br /> - /// If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.<br /> - /// If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. - /// - public readonly int VolumeSize; - /// - /// The type of the volume (`standard` \| `io1` \| `gp2`). If not specified in the request, a `standard` volume is created.<br /> - /// For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - /// - public readonly string VolumeType; - - [OutputConstructor] - private GetImagesImageBlockDeviceMappingBsusResult( - bool deleteOnVmDeletion, - - int iops, - - string snapshotId, - - int volumeSize, - - string volumeType) - { - DeleteOnVmDeletion = deleteOnVmDeletion; - Iops = iops; - SnapshotId = snapshotId; - VolumeSize = volumeSize; - VolumeType = volumeType; - } - } -} diff --git a/sdk/dotnet/Outputs/GetImagesImageBlockDeviceMappingResult.cs b/sdk/dotnet/Outputs/GetImagesImageBlockDeviceMappingResult.cs deleted file mode 100644 index c294cec..0000000 --- a/sdk/dotnet/Outputs/GetImagesImageBlockDeviceMappingResult.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetImagesImageBlockDeviceMappingResult - { - /// - /// Information about the BSU volume to create. - /// - public readonly ImmutableArray Bsus; - /// - /// The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - /// - public readonly string DeviceName; - /// - /// The name of the virtual device (`ephemeralN`). - /// - public readonly string VirtualDeviceName; - - [OutputConstructor] - private GetImagesImageBlockDeviceMappingResult( - ImmutableArray bsus, - - string deviceName, - - string virtualDeviceName) - { - Bsus = bsus; - DeviceName = deviceName; - VirtualDeviceName = virtualDeviceName; - } - } -} diff --git a/sdk/dotnet/Outputs/GetImagesImagePermissionsToLaunchResult.cs b/sdk/dotnet/Outputs/GetImagesImagePermissionsToLaunchResult.cs deleted file mode 100644 index 0ebc876..0000000 --- a/sdk/dotnet/Outputs/GetImagesImagePermissionsToLaunchResult.cs +++ /dev/null @@ -1,37 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetImagesImagePermissionsToLaunchResult - { - /// - /// The account ID of the owner of the OMI. - /// - public readonly string AccountId; - /// - /// A global permission for all accounts.<br /> - /// (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).<br /> - /// (Response) If true, the resource is public. If false, the resource is private. - /// - public readonly bool GlobalPermission; - - [OutputConstructor] - private GetImagesImagePermissionsToLaunchResult( - string accountId, - - bool globalPermission) - { - AccountId = accountId; - GlobalPermission = globalPermission; - } - } -} diff --git a/sdk/dotnet/Outputs/GetImagesImageResult.cs b/sdk/dotnet/Outputs/GetImagesImageResult.cs deleted file mode 100644 index 78e6b3b..0000000 --- a/sdk/dotnet/Outputs/GetImagesImageResult.cs +++ /dev/null @@ -1,140 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetImagesImageResult - { - /// - /// The account alias of the owner of the OMI. - /// - public readonly string AccountAlias; - /// - /// The account ID of the owner of the OMI. - /// - public readonly string AccountId; - /// - /// The architecture of the OMI (by default, `i386`). - /// - public readonly string Architecture; - /// - /// One or more block device mappings. - /// - public readonly ImmutableArray BlockDeviceMappings; - /// - /// The date and time of creation of the OMI, in ISO 8601 date-time format. - /// - public readonly string CreationDate; - /// - /// The description of the OMI. - /// - public readonly string Description; - /// - /// The location of the bucket where the OMI files are stored. - /// - public readonly string FileLocation; - /// - /// The ID of the OMI. - /// - public readonly string ImageId; - /// - /// The name of the OMI. - /// - public readonly string ImageName; - /// - /// The type of the OMI. - /// - public readonly string ImageType; - /// - /// Permissions for the resource. - /// - public readonly ImmutableArray PermissionsToLaunches; - /// - /// The product codes associated with the OMI. - /// - public readonly ImmutableArray ProductCodes; - /// - /// The name of the root device. - /// - public readonly string RootDeviceName; - /// - /// The type of root device used by the OMI (always `bsu`). - /// - public readonly string RootDeviceType; - /// - /// The state of the OMI (`pending` \| `available` \| `failed`). - /// - public readonly string State; - /// - /// Information about the change of state. - /// - public readonly ImmutableArray StateComments; - /// - /// The key/value combinations of the tags associated with the OMIs, in the following format: `TAGKEY=TAGVALUE`. - /// - public readonly ImmutableArray Tags; - - [OutputConstructor] - private GetImagesImageResult( - string accountAlias, - - string accountId, - - string architecture, - - ImmutableArray blockDeviceMappings, - - string creationDate, - - string description, - - string fileLocation, - - string imageId, - - string imageName, - - string imageType, - - ImmutableArray permissionsToLaunches, - - ImmutableArray productCodes, - - string rootDeviceName, - - string rootDeviceType, - - string state, - - ImmutableArray stateComments, - - ImmutableArray tags) - { - AccountAlias = accountAlias; - AccountId = accountId; - Architecture = architecture; - BlockDeviceMappings = blockDeviceMappings; - CreationDate = creationDate; - Description = description; - FileLocation = fileLocation; - ImageId = imageId; - ImageName = imageName; - ImageType = imageType; - PermissionsToLaunches = permissionsToLaunches; - ProductCodes = productCodes; - RootDeviceName = rootDeviceName; - RootDeviceType = rootDeviceType; - State = state; - StateComments = stateComments; - Tags = tags; - } - } -} diff --git a/sdk/dotnet/Outputs/GetImagesImageStateCommentResult.cs b/sdk/dotnet/Outputs/GetImagesImageStateCommentResult.cs deleted file mode 100644 index a402b87..0000000 --- a/sdk/dotnet/Outputs/GetImagesImageStateCommentResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetImagesImageStateCommentResult - { - /// - /// The code of the change of state. - /// - public readonly string StateCode; - /// - /// A message explaining the change of state. - /// - public readonly string StateMessage; - - [OutputConstructor] - private GetImagesImageStateCommentResult( - string stateCode, - - string stateMessage) - { - StateCode = stateCode; - StateMessage = stateMessage; - } - } -} diff --git a/sdk/dotnet/Outputs/GetImagesImageTagResult.cs b/sdk/dotnet/Outputs/GetImagesImageTagResult.cs deleted file mode 100644 index d6108ff..0000000 --- a/sdk/dotnet/Outputs/GetImagesImageTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetImagesImageTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetImagesImageTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetInternetServiceFilterResult.cs b/sdk/dotnet/Outputs/GetInternetServiceFilterResult.cs deleted file mode 100644 index 7e13212..0000000 --- a/sdk/dotnet/Outputs/GetInternetServiceFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetInternetServiceFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetInternetServiceFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetInternetServiceTagResult.cs b/sdk/dotnet/Outputs/GetInternetServiceTagResult.cs deleted file mode 100644 index 6a6fd9b..0000000 --- a/sdk/dotnet/Outputs/GetInternetServiceTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetInternetServiceTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetInternetServiceTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetInternetServicesFilterResult.cs b/sdk/dotnet/Outputs/GetInternetServicesFilterResult.cs deleted file mode 100644 index 1b5352e..0000000 --- a/sdk/dotnet/Outputs/GetInternetServicesFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetInternetServicesFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetInternetServicesFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetInternetServicesInternetServiceResult.cs b/sdk/dotnet/Outputs/GetInternetServicesInternetServiceResult.cs deleted file mode 100644 index 16c3ef7..0000000 --- a/sdk/dotnet/Outputs/GetInternetServicesInternetServiceResult.cs +++ /dev/null @@ -1,49 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetInternetServicesInternetServiceResult - { - /// - /// The ID of the Internet service. - /// - public readonly string InternetServiceId; - /// - /// The ID of the Net attached to the Internet service. - /// - public readonly string NetId; - /// - /// The state of the attachment of the Internet service to the Net (always `available`). - /// - public readonly string State; - /// - /// The key/value combinations of the tags associated with the Internet services, in the following format: `TAGKEY=TAGVALUE`. - /// - public readonly ImmutableArray Tags; - - [OutputConstructor] - private GetInternetServicesInternetServiceResult( - string internetServiceId, - - string netId, - - string state, - - ImmutableArray tags) - { - InternetServiceId = internetServiceId; - NetId = netId; - State = state; - Tags = tags; - } - } -} diff --git a/sdk/dotnet/Outputs/GetInternetServicesInternetServiceTagResult.cs b/sdk/dotnet/Outputs/GetInternetServicesInternetServiceTagResult.cs deleted file mode 100644 index 3afea52..0000000 --- a/sdk/dotnet/Outputs/GetInternetServicesInternetServiceTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetInternetServicesInternetServiceTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetInternetServicesInternetServiceTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetKeypairFilterResult.cs b/sdk/dotnet/Outputs/GetKeypairFilterResult.cs deleted file mode 100644 index 0991cd2..0000000 --- a/sdk/dotnet/Outputs/GetKeypairFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetKeypairFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetKeypairFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetKeypairsFilterResult.cs b/sdk/dotnet/Outputs/GetKeypairsFilterResult.cs deleted file mode 100644 index be300d6..0000000 --- a/sdk/dotnet/Outputs/GetKeypairsFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetKeypairsFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetKeypairsFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetKeypairsKeypairResult.cs b/sdk/dotnet/Outputs/GetKeypairsKeypairResult.cs deleted file mode 100644 index b7d69af..0000000 --- a/sdk/dotnet/Outputs/GetKeypairsKeypairResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetKeypairsKeypairResult - { - /// - /// The MD5 public key fingerprint as specified in section 4 of RFC 4716. - /// - public readonly string KeypairFingerprint; - /// - /// The name of the keypair. - /// - public readonly string KeypairName; - - [OutputConstructor] - private GetKeypairsKeypairResult( - string keypairFingerprint, - - string keypairName) - { - KeypairFingerprint = keypairFingerprint; - KeypairName = keypairName; - } - } -} diff --git a/sdk/dotnet/Outputs/GetLoadBalancerAccessLogResult.cs b/sdk/dotnet/Outputs/GetLoadBalancerAccessLogResult.cs deleted file mode 100644 index 56107be..0000000 --- a/sdk/dotnet/Outputs/GetLoadBalancerAccessLogResult.cs +++ /dev/null @@ -1,49 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetLoadBalancerAccessLogResult - { - /// - /// If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osu_bucket_name` parameter is required. - /// - public readonly bool IsEnabled; - /// - /// The name of the OOS bucket for the access logs. - /// - public readonly string OsuBucketName; - /// - /// The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - /// - public readonly string OsuBucketPrefix; - /// - /// The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - /// - public readonly int PublicationInterval; - - [OutputConstructor] - private GetLoadBalancerAccessLogResult( - bool isEnabled, - - string osuBucketName, - - string osuBucketPrefix, - - int publicationInterval) - { - IsEnabled = isEnabled; - OsuBucketName = osuBucketName; - OsuBucketPrefix = osuBucketPrefix; - PublicationInterval = publicationInterval; - } - } -} diff --git a/sdk/dotnet/Outputs/GetLoadBalancerApplicationStickyCookiePolicyResult.cs b/sdk/dotnet/Outputs/GetLoadBalancerApplicationStickyCookiePolicyResult.cs deleted file mode 100644 index f558664..0000000 --- a/sdk/dotnet/Outputs/GetLoadBalancerApplicationStickyCookiePolicyResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetLoadBalancerApplicationStickyCookiePolicyResult - { - /// - /// The name of the application cookie used for stickiness. - /// - public readonly string CookieName; - /// - /// The name of the stickiness policy. - /// - public readonly string PolicyName; - - [OutputConstructor] - private GetLoadBalancerApplicationStickyCookiePolicyResult( - string cookieName, - - string policyName) - { - CookieName = cookieName; - PolicyName = policyName; - } - } -} diff --git a/sdk/dotnet/Outputs/GetLoadBalancerFilterResult.cs b/sdk/dotnet/Outputs/GetLoadBalancerFilterResult.cs deleted file mode 100644 index a69b5fd..0000000 --- a/sdk/dotnet/Outputs/GetLoadBalancerFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetLoadBalancerFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetLoadBalancerFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetLoadBalancerHealthCheckResult.cs b/sdk/dotnet/Outputs/GetLoadBalancerHealthCheckResult.cs deleted file mode 100644 index e6533ba..0000000 --- a/sdk/dotnet/Outputs/GetLoadBalancerHealthCheckResult.cs +++ /dev/null @@ -1,70 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetLoadBalancerHealthCheckResult - { - /// - /// The number of seconds between two pings (between `5` and `600` both included). - /// - public readonly int CheckInterval; - /// - /// The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - /// - public readonly int HealthyThreshold; - /// - /// If you use the HTTP or HTTPS protocols, the ping path. - /// - public readonly string Path; - /// - /// The port number (between `1` and `65535`, both included). - /// - public readonly int Port; - /// - /// The protocol for the URL of the VM (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - public readonly string Protocol; - /// - /// The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - /// - public readonly int Timeout; - /// - /// The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - /// - public readonly int UnhealthyThreshold; - - [OutputConstructor] - private GetLoadBalancerHealthCheckResult( - int checkInterval, - - int healthyThreshold, - - string path, - - int port, - - string protocol, - - int timeout, - - int unhealthyThreshold) - { - CheckInterval = checkInterval; - HealthyThreshold = healthyThreshold; - Path = path; - Port = port; - Protocol = protocol; - Timeout = timeout; - UnhealthyThreshold = unhealthyThreshold; - } - } -} diff --git a/sdk/dotnet/Outputs/GetLoadBalancerListenerResult.cs b/sdk/dotnet/Outputs/GetLoadBalancerListenerResult.cs deleted file mode 100644 index c86ecc4..0000000 --- a/sdk/dotnet/Outputs/GetLoadBalancerListenerResult.cs +++ /dev/null @@ -1,63 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetLoadBalancerListenerResult - { - /// - /// The port on which the back-end VM is listening (between `1` and `65535`, both included). - /// - public readonly int BackendPort; - /// - /// The protocol for routing traffic to back-end VMs (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - public readonly string BackendProtocol; - /// - /// The port on which the load balancer is listening (between `1` and `65535`, both included). - /// - public readonly int LoadBalancerPort; - /// - /// The routing protocol (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - public readonly string LoadBalancerProtocol; - /// - /// The names of the policies. If there are no policies enabled, the list is empty. - /// - public readonly ImmutableArray PolicyNames; - /// - /// The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > OUTSCALE Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - /// - public readonly string ServerCertificateId; - - [OutputConstructor] - private GetLoadBalancerListenerResult( - int backendPort, - - string backendProtocol, - - int loadBalancerPort, - - string loadBalancerProtocol, - - ImmutableArray policyNames, - - string serverCertificateId) - { - BackendPort = backendPort; - BackendProtocol = backendProtocol; - LoadBalancerPort = loadBalancerPort; - LoadBalancerProtocol = loadBalancerProtocol; - PolicyNames = policyNames; - ServerCertificateId = serverCertificateId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetLoadBalancerLoadBalancerStickyCookiePolicyResult.cs b/sdk/dotnet/Outputs/GetLoadBalancerLoadBalancerStickyCookiePolicyResult.cs deleted file mode 100644 index 497ef1f..0000000 --- a/sdk/dotnet/Outputs/GetLoadBalancerLoadBalancerStickyCookiePolicyResult.cs +++ /dev/null @@ -1,27 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetLoadBalancerLoadBalancerStickyCookiePolicyResult - { - /// - /// The name of the stickiness policy. - /// - public readonly string PolicyName; - - [OutputConstructor] - private GetLoadBalancerLoadBalancerStickyCookiePolicyResult(string policyName) - { - PolicyName = policyName; - } - } -} diff --git a/sdk/dotnet/Outputs/GetLoadBalancerSourceSecurityGroupResult.cs b/sdk/dotnet/Outputs/GetLoadBalancerSourceSecurityGroupResult.cs deleted file mode 100644 index 631171b..0000000 --- a/sdk/dotnet/Outputs/GetLoadBalancerSourceSecurityGroupResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetLoadBalancerSourceSecurityGroupResult - { - /// - /// The account ID of the owner of the security group. - /// - public readonly string SecurityGroupAccountId; - /// - /// The name of the security group. - /// - public readonly string SecurityGroupName; - - [OutputConstructor] - private GetLoadBalancerSourceSecurityGroupResult( - string securityGroupAccountId, - - string securityGroupName) - { - SecurityGroupAccountId = securityGroupAccountId; - SecurityGroupName = securityGroupName; - } - } -} diff --git a/sdk/dotnet/Outputs/GetLoadBalancerTagResult.cs b/sdk/dotnet/Outputs/GetLoadBalancerTagResult.cs deleted file mode 100644 index 8332bc7..0000000 --- a/sdk/dotnet/Outputs/GetLoadBalancerTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetLoadBalancerTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetLoadBalancerTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetLoadBalancerTagsFilterResult.cs b/sdk/dotnet/Outputs/GetLoadBalancerTagsFilterResult.cs deleted file mode 100644 index aea9a22..0000000 --- a/sdk/dotnet/Outputs/GetLoadBalancerTagsFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetLoadBalancerTagsFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetLoadBalancerTagsFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetLoadBalancerTagsTagResult.cs b/sdk/dotnet/Outputs/GetLoadBalancerTagsTagResult.cs deleted file mode 100644 index 67c9e94..0000000 --- a/sdk/dotnet/Outputs/GetLoadBalancerTagsTagResult.cs +++ /dev/null @@ -1,33 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetLoadBalancerTagsTagResult - { - public readonly string Key; - public readonly string LoadBalancerName; - public readonly string Value; - - [OutputConstructor] - private GetLoadBalancerTagsTagResult( - string key, - - string loadBalancerName, - - string value) - { - Key = key; - LoadBalancerName = loadBalancerName; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetLoadBalancerVmHealthBackendVmHealthResult.cs b/sdk/dotnet/Outputs/GetLoadBalancerVmHealthBackendVmHealthResult.cs deleted file mode 100644 index f10140b..0000000 --- a/sdk/dotnet/Outputs/GetLoadBalancerVmHealthBackendVmHealthResult.cs +++ /dev/null @@ -1,50 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetLoadBalancerVmHealthBackendVmHealthResult - { - /// - /// The description of the state of the back-end VM. - /// - public readonly string Description; - /// - /// The state of the back-end VM (`InService` \| `OutOfService` \| `Unknown`). - /// - public readonly string State; - /// - /// Information about the cause of `OutOfService` VMs.<br /> - /// Specifically, whether the cause is Elastic Load Balancing or the VM (`ELB` \| `Instance` \| `N/A`). - /// - public readonly string StateReason; - /// - /// The ID of the back-end VM. - /// - public readonly string VmId; - - [OutputConstructor] - private GetLoadBalancerVmHealthBackendVmHealthResult( - string description, - - string state, - - string stateReason, - - string vmId) - { - Description = description; - State = state; - StateReason = stateReason; - VmId = vmId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetLoadBalancerVmHealthFilterResult.cs b/sdk/dotnet/Outputs/GetLoadBalancerVmHealthFilterResult.cs deleted file mode 100644 index 3219d80..0000000 --- a/sdk/dotnet/Outputs/GetLoadBalancerVmHealthFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetLoadBalancerVmHealthFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetLoadBalancerVmHealthFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetLoadBalancersFilterResult.cs b/sdk/dotnet/Outputs/GetLoadBalancersFilterResult.cs deleted file mode 100644 index 131ab8b..0000000 --- a/sdk/dotnet/Outputs/GetLoadBalancersFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetLoadBalancersFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetLoadBalancersFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetLoadBalancersLoadBalancerAccessLogResult.cs b/sdk/dotnet/Outputs/GetLoadBalancersLoadBalancerAccessLogResult.cs deleted file mode 100644 index fefcaed..0000000 --- a/sdk/dotnet/Outputs/GetLoadBalancersLoadBalancerAccessLogResult.cs +++ /dev/null @@ -1,49 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetLoadBalancersLoadBalancerAccessLogResult - { - /// - /// If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osu_bucket_name` parameter is required. - /// - public readonly bool IsEnabled; - /// - /// The name of the OOS bucket for the access logs. - /// - public readonly string OsuBucketName; - /// - /// The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - /// - public readonly string OsuBucketPrefix; - /// - /// The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - /// - public readonly int PublicationInterval; - - [OutputConstructor] - private GetLoadBalancersLoadBalancerAccessLogResult( - bool isEnabled, - - string osuBucketName, - - string osuBucketPrefix, - - int publicationInterval) - { - IsEnabled = isEnabled; - OsuBucketName = osuBucketName; - OsuBucketPrefix = osuBucketPrefix; - PublicationInterval = publicationInterval; - } - } -} diff --git a/sdk/dotnet/Outputs/GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyResult.cs b/sdk/dotnet/Outputs/GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyResult.cs deleted file mode 100644 index 6744c25..0000000 --- a/sdk/dotnet/Outputs/GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyResult - { - /// - /// The name of the application cookie used for stickiness. - /// - public readonly string CookieName; - /// - /// The name of the stickiness policy. - /// - public readonly string PolicyName; - - [OutputConstructor] - private GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyResult( - string cookieName, - - string policyName) - { - CookieName = cookieName; - PolicyName = policyName; - } - } -} diff --git a/sdk/dotnet/Outputs/GetLoadBalancersLoadBalancerBackendVmIdResult.cs b/sdk/dotnet/Outputs/GetLoadBalancersLoadBalancerBackendVmIdResult.cs deleted file mode 100644 index a64598a..0000000 --- a/sdk/dotnet/Outputs/GetLoadBalancersLoadBalancerBackendVmIdResult.cs +++ /dev/null @@ -1,24 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetLoadBalancersLoadBalancerBackendVmIdResult - { - public readonly string VmId; - - [OutputConstructor] - private GetLoadBalancersLoadBalancerBackendVmIdResult(string vmId) - { - VmId = vmId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetLoadBalancersLoadBalancerHealthCheckResult.cs b/sdk/dotnet/Outputs/GetLoadBalancersLoadBalancerHealthCheckResult.cs deleted file mode 100644 index 49f481e..0000000 --- a/sdk/dotnet/Outputs/GetLoadBalancersLoadBalancerHealthCheckResult.cs +++ /dev/null @@ -1,70 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetLoadBalancersLoadBalancerHealthCheckResult - { - /// - /// The number of seconds between two pings (between `5` and `600` both included). - /// - public readonly int CheckInterval; - /// - /// The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - /// - public readonly int HealthyThreshold; - /// - /// If you use the HTTP or HTTPS protocols, the ping path. - /// - public readonly string Path; - /// - /// The port number (between `1` and `65535`, both included). - /// - public readonly int Port; - /// - /// The protocol for the URL of the VM (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - public readonly string Protocol; - /// - /// The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - /// - public readonly int Timeout; - /// - /// The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - /// - public readonly int UnhealthyThreshold; - - [OutputConstructor] - private GetLoadBalancersLoadBalancerHealthCheckResult( - int checkInterval, - - int healthyThreshold, - - string path, - - int port, - - string protocol, - - int timeout, - - int unhealthyThreshold) - { - CheckInterval = checkInterval; - HealthyThreshold = healthyThreshold; - Path = path; - Port = port; - Protocol = protocol; - Timeout = timeout; - UnhealthyThreshold = unhealthyThreshold; - } - } -} diff --git a/sdk/dotnet/Outputs/GetLoadBalancersLoadBalancerListenerResult.cs b/sdk/dotnet/Outputs/GetLoadBalancersLoadBalancerListenerResult.cs deleted file mode 100644 index 9cbb421..0000000 --- a/sdk/dotnet/Outputs/GetLoadBalancersLoadBalancerListenerResult.cs +++ /dev/null @@ -1,63 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetLoadBalancersLoadBalancerListenerResult - { - /// - /// The port on which the back-end VM is listening (between `1` and `65535`, both included). - /// - public readonly int BackendPort; - /// - /// The protocol for routing traffic to back-end VMs (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - public readonly string BackendProtocol; - /// - /// The port on which the load balancer is listening (between `1` and `65535`, both included). - /// - public readonly int LoadBalancerPort; - /// - /// The routing protocol (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - public readonly string LoadBalancerProtocol; - /// - /// The names of the policies. If there are no policies enabled, the list is empty. - /// - public readonly ImmutableArray PolicyNames; - /// - /// The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > OUTSCALE Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - /// - public readonly string ServerCertificateId; - - [OutputConstructor] - private GetLoadBalancersLoadBalancerListenerResult( - int backendPort, - - string backendProtocol, - - int loadBalancerPort, - - string loadBalancerProtocol, - - ImmutableArray policyNames, - - string serverCertificateId) - { - BackendPort = backendPort; - BackendProtocol = backendProtocol; - LoadBalancerPort = loadBalancerPort; - LoadBalancerProtocol = loadBalancerProtocol; - PolicyNames = policyNames; - ServerCertificateId = serverCertificateId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyResult.cs b/sdk/dotnet/Outputs/GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyResult.cs deleted file mode 100644 index 2daefdd..0000000 --- a/sdk/dotnet/Outputs/GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyResult.cs +++ /dev/null @@ -1,27 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyResult - { - /// - /// The name of the stickiness policy. - /// - public readonly string PolicyName; - - [OutputConstructor] - private GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyResult(string policyName) - { - PolicyName = policyName; - } - } -} diff --git a/sdk/dotnet/Outputs/GetLoadBalancersLoadBalancerResult.cs b/sdk/dotnet/Outputs/GetLoadBalancersLoadBalancerResult.cs deleted file mode 100644 index 91b7349..0000000 --- a/sdk/dotnet/Outputs/GetLoadBalancersLoadBalancerResult.cs +++ /dev/null @@ -1,140 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetLoadBalancersLoadBalancerResult - { - /// - /// Information about access logs. - /// - public readonly ImmutableArray AccessLogs; - /// - /// The stickiness policies defined for the load balancer. - /// - public readonly ImmutableArray ApplicationStickyCookiePolicies; - /// - /// One or more IDs of back-end VMs for the load balancer. - /// - public readonly ImmutableArray BackendVmIds; - /// - /// The DNS name of the load balancer. - /// - public readonly string DnsName; - /// - /// Information about the health check configuration. - /// - public readonly ImmutableArray HealthChecks; - /// - /// The listeners for the load balancer. - /// - public readonly ImmutableArray Listeners; - /// - /// The name of the load balancer. - /// - public readonly string LoadBalancerName; - /// - /// The policies defined for the load balancer. - /// - public readonly ImmutableArray LoadBalancerStickyCookiePolicies; - /// - /// The type of load balancer. Valid only for load balancers in a Net.<br /> - /// If `load_balancer_type` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.<br /> - /// If `load_balancer_type` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - /// - public readonly string LoadBalancerType; - /// - /// The ID of the Net for the load balancer. - /// - public readonly string NetId; - /// - /// (internet-facing only) The public IP associated with the load balancer. - /// - public readonly string PublicIp; - /// - /// Whether secure cookies are enabled for the load balancer. - /// - public readonly bool SecuredCookies; - /// - /// One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - /// - public readonly ImmutableArray SecurityGroups; - /// - /// Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.<br /> - /// To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. - /// - public readonly ImmutableArray SourceSecurityGroups; - public readonly ImmutableArray SubnetIds; - /// - /// The ID of the Subregion in which the load balancer was created. - /// - public readonly ImmutableArray SubregionNames; - /// - /// One or more tags associated with the load balancer. - /// - public readonly ImmutableArray Tags; - - [OutputConstructor] - private GetLoadBalancersLoadBalancerResult( - ImmutableArray accessLogs, - - ImmutableArray applicationStickyCookiePolicies, - - ImmutableArray backendVmIds, - - string dnsName, - - ImmutableArray healthChecks, - - ImmutableArray listeners, - - string loadBalancerName, - - ImmutableArray loadBalancerStickyCookiePolicies, - - string loadBalancerType, - - string netId, - - string publicIp, - - bool securedCookies, - - ImmutableArray securityGroups, - - ImmutableArray sourceSecurityGroups, - - ImmutableArray subnetIds, - - ImmutableArray subregionNames, - - ImmutableArray tags) - { - AccessLogs = accessLogs; - ApplicationStickyCookiePolicies = applicationStickyCookiePolicies; - BackendVmIds = backendVmIds; - DnsName = dnsName; - HealthChecks = healthChecks; - Listeners = listeners; - LoadBalancerName = loadBalancerName; - LoadBalancerStickyCookiePolicies = loadBalancerStickyCookiePolicies; - LoadBalancerType = loadBalancerType; - NetId = netId; - PublicIp = publicIp; - SecuredCookies = securedCookies; - SecurityGroups = securityGroups; - SourceSecurityGroups = sourceSecurityGroups; - SubnetIds = subnetIds; - SubregionNames = subregionNames; - Tags = tags; - } - } -} diff --git a/sdk/dotnet/Outputs/GetLoadBalancersLoadBalancerSourceSecurityGroupResult.cs b/sdk/dotnet/Outputs/GetLoadBalancersLoadBalancerSourceSecurityGroupResult.cs deleted file mode 100644 index 7e8c440..0000000 --- a/sdk/dotnet/Outputs/GetLoadBalancersLoadBalancerSourceSecurityGroupResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetLoadBalancersLoadBalancerSourceSecurityGroupResult - { - /// - /// The account ID of the owner of the security group. - /// - public readonly string SecurityGroupAccountId; - /// - /// The name of the security group. - /// - public readonly string SecurityGroupName; - - [OutputConstructor] - private GetLoadBalancersLoadBalancerSourceSecurityGroupResult( - string securityGroupAccountId, - - string securityGroupName) - { - SecurityGroupAccountId = securityGroupAccountId; - SecurityGroupName = securityGroupName; - } - } -} diff --git a/sdk/dotnet/Outputs/GetLoadBalancersLoadBalancerTagResult.cs b/sdk/dotnet/Outputs/GetLoadBalancersLoadBalancerTagResult.cs deleted file mode 100644 index d1854d6..0000000 --- a/sdk/dotnet/Outputs/GetLoadBalancersLoadBalancerTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetLoadBalancersLoadBalancerTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetLoadBalancersLoadBalancerTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNatServiceFilterResult.cs b/sdk/dotnet/Outputs/GetNatServiceFilterResult.cs deleted file mode 100644 index b6c61e4..0000000 --- a/sdk/dotnet/Outputs/GetNatServiceFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNatServiceFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetNatServiceFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNatServicePublicIpResult.cs b/sdk/dotnet/Outputs/GetNatServicePublicIpResult.cs deleted file mode 100644 index 5382c64..0000000 --- a/sdk/dotnet/Outputs/GetNatServicePublicIpResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNatServicePublicIpResult - { - /// - /// The public IP associated with the NAT service. - /// - public readonly string PublicIp; - /// - /// The allocation ID of the public IP associated with the NAT service. - /// - public readonly string PublicIpId; - - [OutputConstructor] - private GetNatServicePublicIpResult( - string publicIp, - - string publicIpId) - { - PublicIp = publicIp; - PublicIpId = publicIpId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNatServiceTagResult.cs b/sdk/dotnet/Outputs/GetNatServiceTagResult.cs deleted file mode 100644 index b90c6f5..0000000 --- a/sdk/dotnet/Outputs/GetNatServiceTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNatServiceTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetNatServiceTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNatServicesFilterResult.cs b/sdk/dotnet/Outputs/GetNatServicesFilterResult.cs deleted file mode 100644 index 91a8c46..0000000 --- a/sdk/dotnet/Outputs/GetNatServicesFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNatServicesFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetNatServicesFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNatServicesNatServicePublicIpResult.cs b/sdk/dotnet/Outputs/GetNatServicesNatServicePublicIpResult.cs deleted file mode 100644 index 60b2c1f..0000000 --- a/sdk/dotnet/Outputs/GetNatServicesNatServicePublicIpResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNatServicesNatServicePublicIpResult - { - /// - /// The public IP associated with the NAT service. - /// - public readonly string PublicIp; - /// - /// The allocation ID of the public IP associated with the NAT service. - /// - public readonly string PublicIpId; - - [OutputConstructor] - private GetNatServicesNatServicePublicIpResult( - string publicIp, - - string publicIpId) - { - PublicIp = publicIp; - PublicIpId = publicIpId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNatServicesNatServiceResult.cs b/sdk/dotnet/Outputs/GetNatServicesNatServiceResult.cs deleted file mode 100644 index b1331e9..0000000 --- a/sdk/dotnet/Outputs/GetNatServicesNatServiceResult.cs +++ /dev/null @@ -1,63 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNatServicesNatServiceResult - { - /// - /// The ID of the NAT service. - /// - public readonly string NatServiceId; - /// - /// The ID of the Net in which the NAT service is. - /// - public readonly string NetId; - /// - /// Information about the public IP or IPs associated with the NAT service. - /// - public readonly ImmutableArray PublicIps; - /// - /// The state of the NAT service (`pending` \| `available` \| `deleting` \| `deleted`). - /// - public readonly string State; - /// - /// The ID of the Subnet in which the NAT service is. - /// - public readonly string SubnetId; - /// - /// The key/value combinations of the tags associated with the NAT services, in the following format: `TAGKEY=TAGVALUE`. - /// - public readonly ImmutableArray Tags; - - [OutputConstructor] - private GetNatServicesNatServiceResult( - string natServiceId, - - string netId, - - ImmutableArray publicIps, - - string state, - - string subnetId, - - ImmutableArray tags) - { - NatServiceId = natServiceId; - NetId = netId; - PublicIps = publicIps; - State = state; - SubnetId = subnetId; - Tags = tags; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNatServicesNatServiceTagResult.cs b/sdk/dotnet/Outputs/GetNatServicesNatServiceTagResult.cs deleted file mode 100644 index 26184e5..0000000 --- a/sdk/dotnet/Outputs/GetNatServicesNatServiceTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNatServicesNatServiceTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetNatServicesNatServiceTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNetAccessPointFilterResult.cs b/sdk/dotnet/Outputs/GetNetAccessPointFilterResult.cs deleted file mode 100644 index 672c302..0000000 --- a/sdk/dotnet/Outputs/GetNetAccessPointFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNetAccessPointFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetNetAccessPointFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNetAccessPointServicesFilterResult.cs b/sdk/dotnet/Outputs/GetNetAccessPointServicesFilterResult.cs deleted file mode 100644 index 0fac099..0000000 --- a/sdk/dotnet/Outputs/GetNetAccessPointServicesFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNetAccessPointServicesFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetNetAccessPointServicesFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNetAccessPointServicesServiceResult.cs b/sdk/dotnet/Outputs/GetNetAccessPointServicesServiceResult.cs deleted file mode 100644 index 9a1c44e..0000000 --- a/sdk/dotnet/Outputs/GetNetAccessPointServicesServiceResult.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNetAccessPointServicesServiceResult - { - /// - /// The list of network prefixes used by the service, in CIDR notation. - /// - public readonly ImmutableArray IpRanges; - /// - /// The ID of the service. - /// - public readonly string ServiceId; - /// - /// The name of the service. - /// - public readonly string ServiceName; - - [OutputConstructor] - private GetNetAccessPointServicesServiceResult( - ImmutableArray ipRanges, - - string serviceId, - - string serviceName) - { - IpRanges = ipRanges; - ServiceId = serviceId; - ServiceName = serviceName; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNetAccessPointTagResult.cs b/sdk/dotnet/Outputs/GetNetAccessPointTagResult.cs deleted file mode 100644 index b7fb5fd..0000000 --- a/sdk/dotnet/Outputs/GetNetAccessPointTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNetAccessPointTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetNetAccessPointTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNetAccessPointsFilterResult.cs b/sdk/dotnet/Outputs/GetNetAccessPointsFilterResult.cs deleted file mode 100644 index caed193..0000000 --- a/sdk/dotnet/Outputs/GetNetAccessPointsFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNetAccessPointsFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetNetAccessPointsFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNetAccessPointsNetAccessPointResult.cs b/sdk/dotnet/Outputs/GetNetAccessPointsNetAccessPointResult.cs deleted file mode 100644 index 64469a8..0000000 --- a/sdk/dotnet/Outputs/GetNetAccessPointsNetAccessPointResult.cs +++ /dev/null @@ -1,63 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNetAccessPointsNetAccessPointResult - { - /// - /// The ID of the Net access point. - /// - public readonly string NetAccessPointId; - /// - /// The ID of the Net with which the Net access point is associated. - /// - public readonly string NetId; - /// - /// The ID of the route tables associated with the Net access point. - /// - public readonly ImmutableArray RouteTableIds; - /// - /// The name of the service with which the Net access point is associated. - /// - public readonly string ServiceName; - /// - /// The state of the Net access point (`pending` \| `available` \| `deleting` \| `deleted`). - /// - public readonly string State; - /// - /// The key/value combinations of the tags associated with the Net access points, in the following format: `TAGKEY=TAGVALUE`. - /// - public readonly ImmutableArray Tags; - - [OutputConstructor] - private GetNetAccessPointsNetAccessPointResult( - string netAccessPointId, - - string netId, - - ImmutableArray routeTableIds, - - string serviceName, - - string state, - - ImmutableArray tags) - { - NetAccessPointId = netAccessPointId; - NetId = netId; - RouteTableIds = routeTableIds; - ServiceName = serviceName; - State = state; - Tags = tags; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNetAccessPointsNetAccessPointTagResult.cs b/sdk/dotnet/Outputs/GetNetAccessPointsNetAccessPointTagResult.cs deleted file mode 100644 index 005ce7c..0000000 --- a/sdk/dotnet/Outputs/GetNetAccessPointsNetAccessPointTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNetAccessPointsNetAccessPointTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetNetAccessPointsNetAccessPointTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNetAttributesTagResult.cs b/sdk/dotnet/Outputs/GetNetAttributesTagResult.cs deleted file mode 100644 index 65bc410..0000000 --- a/sdk/dotnet/Outputs/GetNetAttributesTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNetAttributesTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetNetAttributesTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNetFilterResult.cs b/sdk/dotnet/Outputs/GetNetFilterResult.cs deleted file mode 100644 index 19b0d2b..0000000 --- a/sdk/dotnet/Outputs/GetNetFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNetFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetNetFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNetPeeringAccepterNetResult.cs b/sdk/dotnet/Outputs/GetNetPeeringAccepterNetResult.cs deleted file mode 100644 index 075299c..0000000 --- a/sdk/dotnet/Outputs/GetNetPeeringAccepterNetResult.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNetPeeringAccepterNetResult - { - /// - /// The account ID of the owner of the source Net. - /// - public readonly string AccountId; - /// - /// The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - /// - public readonly string IpRange; - /// - /// The ID of the source Net. - /// - public readonly string NetId; - - [OutputConstructor] - private GetNetPeeringAccepterNetResult( - string accountId, - - string ipRange, - - string netId) - { - AccountId = accountId; - IpRange = ipRange; - NetId = netId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNetPeeringFilterResult.cs b/sdk/dotnet/Outputs/GetNetPeeringFilterResult.cs deleted file mode 100644 index 8a9c6b7..0000000 --- a/sdk/dotnet/Outputs/GetNetPeeringFilterResult.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNetPeeringFilterResult - { - /// - /// The state of the Net peering (`pending-acceptance` \| `active` \| `rejected` \| `failed` \| `expired` \| `deleted`). - /// - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetNetPeeringFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNetPeeringSourceNetResult.cs b/sdk/dotnet/Outputs/GetNetPeeringSourceNetResult.cs deleted file mode 100644 index 1b891b1..0000000 --- a/sdk/dotnet/Outputs/GetNetPeeringSourceNetResult.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNetPeeringSourceNetResult - { - /// - /// The account ID of the owner of the source Net. - /// - public readonly string AccountId; - /// - /// The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - /// - public readonly string IpRange; - /// - /// The ID of the source Net. - /// - public readonly string NetId; - - [OutputConstructor] - private GetNetPeeringSourceNetResult( - string accountId, - - string ipRange, - - string netId) - { - AccountId = accountId; - IpRange = ipRange; - NetId = netId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNetPeeringStateResult.cs b/sdk/dotnet/Outputs/GetNetPeeringStateResult.cs deleted file mode 100644 index 0cb77c5..0000000 --- a/sdk/dotnet/Outputs/GetNetPeeringStateResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNetPeeringStateResult - { - /// - /// Additional information about the state of the Net peering. - /// - public readonly string Message; - /// - /// The state of the Net peering (`pending-acceptance` \| `active` \| `rejected` \| `failed` \| `expired` \| `deleted`). - /// - public readonly string Name; - - [OutputConstructor] - private GetNetPeeringStateResult( - string message, - - string name) - { - Message = message; - Name = name; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNetPeeringTagResult.cs b/sdk/dotnet/Outputs/GetNetPeeringTagResult.cs deleted file mode 100644 index fc54e19..0000000 --- a/sdk/dotnet/Outputs/GetNetPeeringTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNetPeeringTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetNetPeeringTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNetPeeringsFilterResult.cs b/sdk/dotnet/Outputs/GetNetPeeringsFilterResult.cs deleted file mode 100644 index 8ebc44d..0000000 --- a/sdk/dotnet/Outputs/GetNetPeeringsFilterResult.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNetPeeringsFilterResult - { - /// - /// The state of the Net peering (`pending-acceptance` \| `active` \| `rejected` \| `failed` \| `expired` \| `deleted`). - /// - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetNetPeeringsFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNetPeeringsNetPeeringAccepterNetResult.cs b/sdk/dotnet/Outputs/GetNetPeeringsNetPeeringAccepterNetResult.cs deleted file mode 100644 index 0b8496e..0000000 --- a/sdk/dotnet/Outputs/GetNetPeeringsNetPeeringAccepterNetResult.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNetPeeringsNetPeeringAccepterNetResult - { - /// - /// The account ID of the owner of the source Net. - /// - public readonly string AccountId; - /// - /// The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - /// - public readonly string IpRange; - /// - /// The ID of the source Net. - /// - public readonly string NetId; - - [OutputConstructor] - private GetNetPeeringsNetPeeringAccepterNetResult( - string accountId, - - string ipRange, - - string netId) - { - AccountId = accountId; - IpRange = ipRange; - NetId = netId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNetPeeringsNetPeeringResult.cs b/sdk/dotnet/Outputs/GetNetPeeringsNetPeeringResult.cs deleted file mode 100644 index 2d6f6c3..0000000 --- a/sdk/dotnet/Outputs/GetNetPeeringsNetPeeringResult.cs +++ /dev/null @@ -1,56 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNetPeeringsNetPeeringResult - { - /// - /// Information about the accepter Net. - /// - public readonly ImmutableArray AccepterNets; - /// - /// The ID of the Net peering. - /// - public readonly string NetPeeringId; - /// - /// Information about the source Net. - /// - public readonly ImmutableArray SourceNets; - /// - /// Information about the state of the Net peering. - /// - public readonly ImmutableArray States; - /// - /// The key/value combinations of the tags associated with the Net peerings, in the following format: `TAGKEY=TAGVALUE`. - /// - public readonly ImmutableArray Tags; - - [OutputConstructor] - private GetNetPeeringsNetPeeringResult( - ImmutableArray accepterNets, - - string netPeeringId, - - ImmutableArray sourceNets, - - ImmutableArray states, - - ImmutableArray tags) - { - AccepterNets = accepterNets; - NetPeeringId = netPeeringId; - SourceNets = sourceNets; - States = states; - Tags = tags; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNetPeeringsNetPeeringSourceNetResult.cs b/sdk/dotnet/Outputs/GetNetPeeringsNetPeeringSourceNetResult.cs deleted file mode 100644 index 6b8b3bb..0000000 --- a/sdk/dotnet/Outputs/GetNetPeeringsNetPeeringSourceNetResult.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNetPeeringsNetPeeringSourceNetResult - { - /// - /// The account ID of the owner of the source Net. - /// - public readonly string AccountId; - /// - /// The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - /// - public readonly string IpRange; - /// - /// The ID of the source Net. - /// - public readonly string NetId; - - [OutputConstructor] - private GetNetPeeringsNetPeeringSourceNetResult( - string accountId, - - string ipRange, - - string netId) - { - AccountId = accountId; - IpRange = ipRange; - NetId = netId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNetPeeringsNetPeeringStateResult.cs b/sdk/dotnet/Outputs/GetNetPeeringsNetPeeringStateResult.cs deleted file mode 100644 index 80c900e..0000000 --- a/sdk/dotnet/Outputs/GetNetPeeringsNetPeeringStateResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNetPeeringsNetPeeringStateResult - { - /// - /// Additional information about the state of the Net peering. - /// - public readonly string Message; - /// - /// The state of the Net peering (`pending-acceptance` \| `active` \| `rejected` \| `failed` \| `expired` \| `deleted`). - /// - public readonly string Name; - - [OutputConstructor] - private GetNetPeeringsNetPeeringStateResult( - string message, - - string name) - { - Message = message; - Name = name; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNetPeeringsNetPeeringTagResult.cs b/sdk/dotnet/Outputs/GetNetPeeringsNetPeeringTagResult.cs deleted file mode 100644 index 1eea2ea..0000000 --- a/sdk/dotnet/Outputs/GetNetPeeringsNetPeeringTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNetPeeringsNetPeeringTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetNetPeeringsNetPeeringTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNetTagResult.cs b/sdk/dotnet/Outputs/GetNetTagResult.cs deleted file mode 100644 index ed1ee3e..0000000 --- a/sdk/dotnet/Outputs/GetNetTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNetTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetNetTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNetsFilterResult.cs b/sdk/dotnet/Outputs/GetNetsFilterResult.cs deleted file mode 100644 index a220d9d..0000000 --- a/sdk/dotnet/Outputs/GetNetsFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNetsFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetNetsFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNetsNetResult.cs b/sdk/dotnet/Outputs/GetNetsNetResult.cs deleted file mode 100644 index 9c8afe5..0000000 --- a/sdk/dotnet/Outputs/GetNetsNetResult.cs +++ /dev/null @@ -1,63 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNetsNetResult - { - /// - /// The ID of the DHCP options set (or `default` if you want to associate the default one). - /// - public readonly string DhcpOptionsSetId; - /// - /// The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). - /// - public readonly string IpRange; - /// - /// The ID of the Net. - /// - public readonly string NetId; - /// - /// The state of the Net (`pending` \| `available` \| `deleted`). - /// - public readonly string State; - /// - /// The key/value combinations of the tags associated with the Nets, in the following format: `TAGKEY=TAGVALUE`. - /// - public readonly ImmutableArray Tags; - /// - /// The VM tenancy in a Net. - /// - public readonly string Tenancy; - - [OutputConstructor] - private GetNetsNetResult( - string dhcpOptionsSetId, - - string ipRange, - - string netId, - - string state, - - ImmutableArray tags, - - string tenancy) - { - DhcpOptionsSetId = dhcpOptionsSetId; - IpRange = ipRange; - NetId = netId; - State = state; - Tags = tags; - Tenancy = tenancy; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNetsNetTagResult.cs b/sdk/dotnet/Outputs/GetNetsNetTagResult.cs deleted file mode 100644 index 8a79545..0000000 --- a/sdk/dotnet/Outputs/GetNetsNetTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNetsNetTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetNetsNetTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNicFilterResult.cs b/sdk/dotnet/Outputs/GetNicFilterResult.cs deleted file mode 100644 index df697e8..0000000 --- a/sdk/dotnet/Outputs/GetNicFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNicFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetNicFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNicLinkNicResult.cs b/sdk/dotnet/Outputs/GetNicLinkNicResult.cs deleted file mode 100644 index 3a381c0..0000000 --- a/sdk/dotnet/Outputs/GetNicLinkNicResult.cs +++ /dev/null @@ -1,63 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNicLinkNicResult - { - /// - /// If true, the NIC is deleted when the VM is terminated. - /// - public readonly string DeleteOnVmDeletion; - /// - /// The device index for the NIC attachment (between `1` and `7`, both included). - /// - public readonly int DeviceNumber; - /// - /// The ID of the NIC to attach. - /// - public readonly string LinkNicId; - /// - /// The state of the NIC (`available` \| `attaching` \| `in-use` \| `detaching`). - /// - public readonly string State; - /// - /// The account ID of the owner of the VM. - /// - public readonly string VmAccountId; - /// - /// The ID of the VM. - /// - public readonly string VmId; - - [OutputConstructor] - private GetNicLinkNicResult( - string deleteOnVmDeletion, - - int deviceNumber, - - string linkNicId, - - string state, - - string vmAccountId, - - string vmId) - { - DeleteOnVmDeletion = deleteOnVmDeletion; - DeviceNumber = deviceNumber; - LinkNicId = linkNicId; - State = state; - VmAccountId = vmAccountId; - VmId = vmId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNicLinkPublicIpResult.cs b/sdk/dotnet/Outputs/GetNicLinkPublicIpResult.cs deleted file mode 100644 index 0ba48b7..0000000 --- a/sdk/dotnet/Outputs/GetNicLinkPublicIpResult.cs +++ /dev/null @@ -1,49 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNicLinkPublicIpResult - { - /// - /// (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - /// - public readonly string LinkPublicIpId; - /// - /// The name of the public DNS. - /// - public readonly string PublicDnsName; - /// - /// The account ID of the owner of the public IP. - /// - public readonly string PublicIpAccountId; - /// - /// The allocation ID of the public IP. - /// - public readonly string PublicIpId; - - [OutputConstructor] - private GetNicLinkPublicIpResult( - string linkPublicIpId, - - string publicDnsName, - - string publicIpAccountId, - - string publicIpId) - { - LinkPublicIpId = linkPublicIpId; - PublicDnsName = publicDnsName; - PublicIpAccountId = publicIpAccountId; - PublicIpId = publicIpId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNicPrivateIpLinkPublicIpResult.cs b/sdk/dotnet/Outputs/GetNicPrivateIpLinkPublicIpResult.cs deleted file mode 100644 index 6c1e56b..0000000 --- a/sdk/dotnet/Outputs/GetNicPrivateIpLinkPublicIpResult.cs +++ /dev/null @@ -1,56 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNicPrivateIpLinkPublicIpResult - { - /// - /// (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - /// - public readonly string LinkPublicIpId; - /// - /// The name of the public DNS. - /// - public readonly string PublicDnsName; - /// - /// The public IP associated with the NIC. - /// - public readonly string PublicIp; - /// - /// The account ID of the owner of the public IP. - /// - public readonly string PublicIpAccountId; - /// - /// The allocation ID of the public IP. - /// - public readonly string PublicIpId; - - [OutputConstructor] - private GetNicPrivateIpLinkPublicIpResult( - string linkPublicIpId, - - string publicDnsName, - - string publicIp, - - string publicIpAccountId, - - string publicIpId) - { - LinkPublicIpId = linkPublicIpId; - PublicDnsName = publicDnsName; - PublicIp = publicIp; - PublicIpAccountId = publicIpAccountId; - PublicIpId = publicIpId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNicPrivateIpResult.cs b/sdk/dotnet/Outputs/GetNicPrivateIpResult.cs deleted file mode 100644 index 9aba9c3..0000000 --- a/sdk/dotnet/Outputs/GetNicPrivateIpResult.cs +++ /dev/null @@ -1,49 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNicPrivateIpResult - { - /// - /// If true, the IP is the primary private IP of the NIC. - /// - public readonly bool IsPrimary; - /// - /// Information about the public IP association. - /// - public readonly ImmutableArray LinkPublicIps; - /// - /// The name of the private DNS. - /// - public readonly string PrivateDnsName; - /// - /// The private IP of the NIC. - /// - public readonly string PrivateIp; - - [OutputConstructor] - private GetNicPrivateIpResult( - bool isPrimary, - - ImmutableArray linkPublicIps, - - string privateDnsName, - - string privateIp) - { - IsPrimary = isPrimary; - LinkPublicIps = linkPublicIps; - PrivateDnsName = privateDnsName; - PrivateIp = privateIp; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNicSecurityGroupResult.cs b/sdk/dotnet/Outputs/GetNicSecurityGroupResult.cs deleted file mode 100644 index c098d15..0000000 --- a/sdk/dotnet/Outputs/GetNicSecurityGroupResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNicSecurityGroupResult - { - /// - /// The ID of the security group. - /// - public readonly string SecurityGroupId; - /// - /// The name of the security group. - /// - public readonly string SecurityGroupName; - - [OutputConstructor] - private GetNicSecurityGroupResult( - string securityGroupId, - - string securityGroupName) - { - SecurityGroupId = securityGroupId; - SecurityGroupName = securityGroupName; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNicTagResult.cs b/sdk/dotnet/Outputs/GetNicTagResult.cs deleted file mode 100644 index 8cc1405..0000000 --- a/sdk/dotnet/Outputs/GetNicTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNicTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetNicTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNicsFilterResult.cs b/sdk/dotnet/Outputs/GetNicsFilterResult.cs deleted file mode 100644 index 6d4eb41..0000000 --- a/sdk/dotnet/Outputs/GetNicsFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNicsFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetNicsFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNicsNicLinkNicResult.cs b/sdk/dotnet/Outputs/GetNicsNicLinkNicResult.cs deleted file mode 100644 index e6d8bf8..0000000 --- a/sdk/dotnet/Outputs/GetNicsNicLinkNicResult.cs +++ /dev/null @@ -1,63 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNicsNicLinkNicResult - { - /// - /// If true, the NIC is deleted when the VM is terminated. - /// - public readonly bool DeleteOnVmDeletion; - /// - /// The device index for the NIC attachment (between `1` and `7`, both included). - /// - public readonly int DeviceNumber; - /// - /// The ID of the NIC to attach. - /// - public readonly string LinkNicId; - /// - /// The state of the NIC (`available` \| `attaching` \| `in-use` \| `detaching`). - /// - public readonly string State; - /// - /// The account ID of the owner of the VM. - /// - public readonly string VmAccountId; - /// - /// The ID of the VM. - /// - public readonly string VmId; - - [OutputConstructor] - private GetNicsNicLinkNicResult( - bool deleteOnVmDeletion, - - int deviceNumber, - - string linkNicId, - - string state, - - string vmAccountId, - - string vmId) - { - DeleteOnVmDeletion = deleteOnVmDeletion; - DeviceNumber = deviceNumber; - LinkNicId = linkNicId; - State = state; - VmAccountId = vmAccountId; - VmId = vmId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNicsNicLinkPublicIpResult.cs b/sdk/dotnet/Outputs/GetNicsNicLinkPublicIpResult.cs deleted file mode 100644 index ed90c3a..0000000 --- a/sdk/dotnet/Outputs/GetNicsNicLinkPublicIpResult.cs +++ /dev/null @@ -1,56 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNicsNicLinkPublicIpResult - { - /// - /// (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - /// - public readonly string LinkPublicIpId; - /// - /// The name of the public DNS. - /// - public readonly string PublicDnsName; - /// - /// The public IP associated with the NIC. - /// - public readonly string PublicIp; - /// - /// The account ID of the owner of the public IP. - /// - public readonly string PublicIpAccountId; - /// - /// The allocation ID of the public IP. - /// - public readonly string PublicIpId; - - [OutputConstructor] - private GetNicsNicLinkPublicIpResult( - string linkPublicIpId, - - string publicDnsName, - - string publicIp, - - string publicIpAccountId, - - string publicIpId) - { - LinkPublicIpId = linkPublicIpId; - PublicDnsName = publicDnsName; - PublicIp = publicIp; - PublicIpAccountId = publicIpAccountId; - PublicIpId = publicIpId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNicsNicPrivateIpLinkPublicIpResult.cs b/sdk/dotnet/Outputs/GetNicsNicPrivateIpLinkPublicIpResult.cs deleted file mode 100644 index ea85029..0000000 --- a/sdk/dotnet/Outputs/GetNicsNicPrivateIpLinkPublicIpResult.cs +++ /dev/null @@ -1,56 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNicsNicPrivateIpLinkPublicIpResult - { - /// - /// (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - /// - public readonly string LinkPublicIpId; - /// - /// The name of the public DNS. - /// - public readonly string PublicDnsName; - /// - /// The public IP associated with the NIC. - /// - public readonly string PublicIp; - /// - /// The account ID of the owner of the public IP. - /// - public readonly string PublicIpAccountId; - /// - /// The allocation ID of the public IP. - /// - public readonly string PublicIpId; - - [OutputConstructor] - private GetNicsNicPrivateIpLinkPublicIpResult( - string linkPublicIpId, - - string publicDnsName, - - string publicIp, - - string publicIpAccountId, - - string publicIpId) - { - LinkPublicIpId = linkPublicIpId; - PublicDnsName = publicDnsName; - PublicIp = publicIp; - PublicIpAccountId = publicIpAccountId; - PublicIpId = publicIpId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNicsNicPrivateIpResult.cs b/sdk/dotnet/Outputs/GetNicsNicPrivateIpResult.cs deleted file mode 100644 index d7d684b..0000000 --- a/sdk/dotnet/Outputs/GetNicsNicPrivateIpResult.cs +++ /dev/null @@ -1,49 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNicsNicPrivateIpResult - { - /// - /// If true, the IP is the primary private IP of the NIC. - /// - public readonly bool IsPrimary; - /// - /// Information about the public IP association. - /// - public readonly ImmutableArray LinkPublicIps; - /// - /// The name of the private DNS. - /// - public readonly string PrivateDnsName; - /// - /// The private IP of the NIC. - /// - public readonly string PrivateIp; - - [OutputConstructor] - private GetNicsNicPrivateIpResult( - bool isPrimary, - - ImmutableArray linkPublicIps, - - string privateDnsName, - - string privateIp) - { - IsPrimary = isPrimary; - LinkPublicIps = linkPublicIps; - PrivateDnsName = privateDnsName; - PrivateIp = privateIp; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNicsNicResult.cs b/sdk/dotnet/Outputs/GetNicsNicResult.cs deleted file mode 100644 index 8b16612..0000000 --- a/sdk/dotnet/Outputs/GetNicsNicResult.cs +++ /dev/null @@ -1,126 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNicsNicResult - { - /// - /// The account ID of the owner of the NIC. - /// - public readonly string AccountId; - /// - /// The description of the NIC. - /// - public readonly string Description; - /// - /// (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - /// - public readonly bool IsSourceDestChecked; - /// - /// Information about the NIC attachment. - /// - public readonly ImmutableArray LinkNics; - /// - /// Information about the public IP association. - /// - public readonly ImmutableArray LinkPublicIps; - /// - /// The Media Access Control (MAC) address of the NIC. - /// - public readonly string MacAddress; - /// - /// The ID of the Net for the NIC. - /// - public readonly string NetId; - /// - /// The ID of the NIC. - /// - public readonly string NicId; - /// - /// The name of the private DNS. - /// - public readonly string PrivateDnsName; - /// - /// The private IPs of the NIC. - /// - public readonly ImmutableArray PrivateIps; - /// - /// One or more IDs of security groups for the NIC. - /// - public readonly ImmutableArray SecurityGroups; - /// - /// The state of the NIC (`available` \| `attaching` \| `in-use` \| `detaching`). - /// - public readonly string State; - /// - /// The ID of the Subnet. - /// - public readonly string SubnetId; - /// - /// The Subregion in which the NIC is located. - /// - public readonly string SubregionName; - /// - /// The key/value combinations of the tags associated with the NICs, in the following format: `TAGKEY=TAGVALUE`. - /// - public readonly ImmutableArray Tags; - - [OutputConstructor] - private GetNicsNicResult( - string accountId, - - string description, - - bool isSourceDestChecked, - - ImmutableArray linkNics, - - ImmutableArray linkPublicIps, - - string macAddress, - - string netId, - - string nicId, - - string privateDnsName, - - ImmutableArray privateIps, - - ImmutableArray securityGroups, - - string state, - - string subnetId, - - string subregionName, - - ImmutableArray tags) - { - AccountId = accountId; - Description = description; - IsSourceDestChecked = isSourceDestChecked; - LinkNics = linkNics; - LinkPublicIps = linkPublicIps; - MacAddress = macAddress; - NetId = netId; - NicId = nicId; - PrivateDnsName = privateDnsName; - PrivateIps = privateIps; - SecurityGroups = securityGroups; - State = state; - SubnetId = subnetId; - SubregionName = subregionName; - Tags = tags; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNicsNicSecurityGroupResult.cs b/sdk/dotnet/Outputs/GetNicsNicSecurityGroupResult.cs deleted file mode 100644 index 74ba431..0000000 --- a/sdk/dotnet/Outputs/GetNicsNicSecurityGroupResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNicsNicSecurityGroupResult - { - /// - /// The ID of the security group. - /// - public readonly string SecurityGroupId; - /// - /// The name of the security group. - /// - public readonly string SecurityGroupName; - - [OutputConstructor] - private GetNicsNicSecurityGroupResult( - string securityGroupId, - - string securityGroupName) - { - SecurityGroupId = securityGroupId; - SecurityGroupName = securityGroupName; - } - } -} diff --git a/sdk/dotnet/Outputs/GetNicsNicTagResult.cs b/sdk/dotnet/Outputs/GetNicsNicTagResult.cs deleted file mode 100644 index df8daa0..0000000 --- a/sdk/dotnet/Outputs/GetNicsNicTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetNicsNicTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetNicsNicTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetProductTypeFilterResult.cs b/sdk/dotnet/Outputs/GetProductTypeFilterResult.cs deleted file mode 100644 index 23c1b98..0000000 --- a/sdk/dotnet/Outputs/GetProductTypeFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetProductTypeFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetProductTypeFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetProductTypesFilterResult.cs b/sdk/dotnet/Outputs/GetProductTypesFilterResult.cs deleted file mode 100644 index b6d68b4..0000000 --- a/sdk/dotnet/Outputs/GetProductTypesFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetProductTypesFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetProductTypesFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetProductTypesProductTypeResult.cs b/sdk/dotnet/Outputs/GetProductTypesProductTypeResult.cs deleted file mode 100644 index 0d36bb5..0000000 --- a/sdk/dotnet/Outputs/GetProductTypesProductTypeResult.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetProductTypesProductTypeResult - { - /// - /// The description of the product type. - /// - public readonly string Description; - /// - /// The ID of the product type. - /// - public readonly string ProductTypeId; - /// - /// The vendor of the product type. - /// - public readonly string Vendor; - - [OutputConstructor] - private GetProductTypesProductTypeResult( - string description, - - string productTypeId, - - string vendor) - { - Description = description; - ProductTypeId = productTypeId; - Vendor = vendor; - } - } -} diff --git a/sdk/dotnet/Outputs/GetPublicIpFilterResult.cs b/sdk/dotnet/Outputs/GetPublicIpFilterResult.cs deleted file mode 100644 index b429e61..0000000 --- a/sdk/dotnet/Outputs/GetPublicIpFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetPublicIpFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetPublicIpFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetPublicIpTagResult.cs b/sdk/dotnet/Outputs/GetPublicIpTagResult.cs deleted file mode 100644 index 71bff84..0000000 --- a/sdk/dotnet/Outputs/GetPublicIpTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetPublicIpTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetPublicIpTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetPublicIpsFilterResult.cs b/sdk/dotnet/Outputs/GetPublicIpsFilterResult.cs deleted file mode 100644 index 265c07e..0000000 --- a/sdk/dotnet/Outputs/GetPublicIpsFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetPublicIpsFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetPublicIpsFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetPublicIpsPublicIpResult.cs b/sdk/dotnet/Outputs/GetPublicIpsPublicIpResult.cs deleted file mode 100644 index 02a953d..0000000 --- a/sdk/dotnet/Outputs/GetPublicIpsPublicIpResult.cs +++ /dev/null @@ -1,77 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetPublicIpsPublicIpResult - { - /// - /// (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - /// - public readonly string LinkPublicIpId; - /// - /// The account ID of the owner of the NIC. - /// - public readonly string NicAccountId; - /// - /// The ID of the NIC the public IP is associated with (if any). - /// - public readonly string NicId; - /// - /// The private IP associated with the public IP. - /// - public readonly string PrivateIp; - /// - /// The public IP. - /// - public readonly string PublicIp; - /// - /// The allocation ID of the public IP. - /// - public readonly string PublicIpId; - /// - /// The key/value combinations of the tags associated with the public IPs, in the following format: `TAGKEY=TAGVALUE`. - /// - public readonly ImmutableArray Tags; - /// - /// The ID of the VM the public IP is associated with (if any). - /// - public readonly string VmId; - - [OutputConstructor] - private GetPublicIpsPublicIpResult( - string linkPublicIpId, - - string nicAccountId, - - string nicId, - - string privateIp, - - string publicIp, - - string publicIpId, - - ImmutableArray tags, - - string vmId) - { - LinkPublicIpId = linkPublicIpId; - NicAccountId = nicAccountId; - NicId = nicId; - PrivateIp = privateIp; - PublicIp = publicIp; - PublicIpId = publicIpId; - Tags = tags; - VmId = vmId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetPublicIpsPublicIpTagResult.cs b/sdk/dotnet/Outputs/GetPublicIpsPublicIpTagResult.cs deleted file mode 100644 index c1918a6..0000000 --- a/sdk/dotnet/Outputs/GetPublicIpsPublicIpTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetPublicIpsPublicIpTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetPublicIpsPublicIpTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetPulicCatalogCatalogEntryResult.cs b/sdk/dotnet/Outputs/GetPulicCatalogCatalogEntryResult.cs deleted file mode 100644 index c61bca8..0000000 --- a/sdk/dotnet/Outputs/GetPulicCatalogCatalogEntryResult.cs +++ /dev/null @@ -1,53 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetPulicCatalogCatalogEntryResult - { - public readonly string Category; - public readonly string Flags; - public readonly string Operation; - public readonly string Service; - public readonly string SubregionName; - public readonly string Title; - public readonly string Type; - public readonly double UnitPrice; - - [OutputConstructor] - private GetPulicCatalogCatalogEntryResult( - string category, - - string flags, - - string operation, - - string service, - - string subregionName, - - string title, - - string type, - - double unitPrice) - { - Category = category; - Flags = flags; - Operation = operation; - Service = service; - SubregionName = subregionName; - Title = title; - Type = type; - UnitPrice = unitPrice; - } - } -} diff --git a/sdk/dotnet/Outputs/GetPulicCatalogCatalogResult.cs b/sdk/dotnet/Outputs/GetPulicCatalogCatalogResult.cs deleted file mode 100644 index 1362ed4..0000000 --- a/sdk/dotnet/Outputs/GetPulicCatalogCatalogResult.cs +++ /dev/null @@ -1,24 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetPulicCatalogCatalogResult - { - public readonly ImmutableArray Entries; - - [OutputConstructor] - private GetPulicCatalogCatalogResult(ImmutableArray entries) - { - Entries = entries; - } - } -} diff --git a/sdk/dotnet/Outputs/GetQuotaFilterResult.cs b/sdk/dotnet/Outputs/GetQuotaFilterResult.cs deleted file mode 100644 index 8c8fc84..0000000 --- a/sdk/dotnet/Outputs/GetQuotaFilterResult.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetQuotaFilterResult - { - /// - /// The unique name of the quota. - /// - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetQuotaFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetQuotasFilterResult.cs b/sdk/dotnet/Outputs/GetQuotasFilterResult.cs deleted file mode 100644 index 1c7a98e..0000000 --- a/sdk/dotnet/Outputs/GetQuotasFilterResult.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetQuotasFilterResult - { - /// - /// The unique name of the quota. - /// - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetQuotasFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetQuotasQuotaResult.cs b/sdk/dotnet/Outputs/GetQuotasQuotaResult.cs deleted file mode 100644 index 9178b73..0000000 --- a/sdk/dotnet/Outputs/GetQuotasQuotaResult.cs +++ /dev/null @@ -1,77 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetQuotasQuotaResult - { - /// - /// The account ID of the owner of the quotas. - /// - public readonly string AccountId; - /// - /// The description of the quota. - /// - public readonly string Description; - /// - /// The maximum value of the quota for the OUTSCALE user account (if there is no limit, `0`). - /// - public readonly int MaxValue; - /// - /// The unique name of the quota. - /// - public readonly string Name; - /// - /// The group name of the quota. - /// - public readonly string QuotaCollection; - /// - /// The ressource ID if it is a resource-specific quota, `global` if it is not. - /// - public readonly string QuotaType; - /// - /// The description of the quota. - /// - public readonly string ShortDescription; - /// - /// The limit value currently used by the OUTSCALE user account. - /// - public readonly int UsedValue; - - [OutputConstructor] - private GetQuotasQuotaResult( - string accountId, - - string description, - - int maxValue, - - string name, - - string quotaCollection, - - string quotaType, - - string shortDescription, - - int usedValue) - { - AccountId = accountId; - Description = description; - MaxValue = maxValue; - Name = name; - QuotaCollection = quotaCollection; - QuotaType = quotaType; - ShortDescription = shortDescription; - UsedValue = usedValue; - } - } -} diff --git a/sdk/dotnet/Outputs/GetRegionsRegionResult.cs b/sdk/dotnet/Outputs/GetRegionsRegionResult.cs deleted file mode 100644 index 3dc6055..0000000 --- a/sdk/dotnet/Outputs/GetRegionsRegionResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetRegionsRegionResult - { - /// - /// The hostname of the gateway to access the Region. - /// - public readonly string Endpoint; - /// - /// The administrative name of the Region. - /// - public readonly string RegionName; - - [OutputConstructor] - private GetRegionsRegionResult( - string endpoint, - - string regionName) - { - Endpoint = endpoint; - RegionName = regionName; - } - } -} diff --git a/sdk/dotnet/Outputs/GetRouteTableFilterResult.cs b/sdk/dotnet/Outputs/GetRouteTableFilterResult.cs deleted file mode 100644 index 6d66e8e..0000000 --- a/sdk/dotnet/Outputs/GetRouteTableFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetRouteTableFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetRouteTableFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetRouteTableLinkRouteTableResult.cs b/sdk/dotnet/Outputs/GetRouteTableLinkRouteTableResult.cs deleted file mode 100644 index 4543c70..0000000 --- a/sdk/dotnet/Outputs/GetRouteTableLinkRouteTableResult.cs +++ /dev/null @@ -1,53 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetRouteTableLinkRouteTableResult - { - /// - /// The ID of the association between the route table and the Subnet. - /// - public readonly string LinkRouteTableId; - /// - /// If true, the route table is the main one. - /// - public readonly bool Main; - /// - /// The ID of the route table. - /// - public readonly string RouteTableId; - public readonly string RouteTableToSubnetLinkId; - /// - /// The ID of the Subnet. - /// - public readonly string SubnetId; - - [OutputConstructor] - private GetRouteTableLinkRouteTableResult( - string linkRouteTableId, - - bool main, - - string routeTableId, - - string routeTableToSubnetLinkId, - - string subnetId) - { - LinkRouteTableId = linkRouteTableId; - Main = main; - RouteTableId = routeTableId; - RouteTableToSubnetLinkId = routeTableToSubnetLinkId; - SubnetId = subnetId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetRouteTableRoutePropagatingVirtualGatewayResult.cs b/sdk/dotnet/Outputs/GetRouteTableRoutePropagatingVirtualGatewayResult.cs deleted file mode 100644 index 6f7b7a3..0000000 --- a/sdk/dotnet/Outputs/GetRouteTableRoutePropagatingVirtualGatewayResult.cs +++ /dev/null @@ -1,27 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetRouteTableRoutePropagatingVirtualGatewayResult - { - /// - /// The ID of the virtual gateway. - /// - public readonly string VirtualGatewayId; - - [OutputConstructor] - private GetRouteTableRoutePropagatingVirtualGatewayResult(string virtualGatewayId) - { - VirtualGatewayId = virtualGatewayId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetRouteTableRouteResult.cs b/sdk/dotnet/Outputs/GetRouteTableRouteResult.cs deleted file mode 100644 index b1a8e09..0000000 --- a/sdk/dotnet/Outputs/GetRouteTableRouteResult.cs +++ /dev/null @@ -1,98 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetRouteTableRouteResult - { - /// - /// The method used to create the route. - /// - public readonly string CreationMethod; - /// - /// The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - /// - public readonly string DestinationIpRange; - /// - /// The ID of the OUTSCALE service. - /// - public readonly string DestinationServiceId; - /// - /// The ID of the Internet service or virtual gateway attached to the Net. - /// - public readonly string GatewayId; - /// - /// The ID of a NAT service attached to the Net. - /// - public readonly string NatServiceId; - /// - /// The ID of the Net access point. - /// - public readonly string NetAccessPointId; - /// - /// The ID of the Net peering. - /// - public readonly string NetPeeringId; - /// - /// The ID of the NIC. - /// - public readonly string NicId; - /// - /// The state of a route in the route table (always `active`). - /// - public readonly string State; - /// - /// The account ID of the owner of the VM. - /// - public readonly string VmAccountId; - /// - /// The ID of a VM specified in a route in the table. - /// - public readonly string VmId; - - [OutputConstructor] - private GetRouteTableRouteResult( - string creationMethod, - - string destinationIpRange, - - string destinationServiceId, - - string gatewayId, - - string natServiceId, - - string netAccessPointId, - - string netPeeringId, - - string nicId, - - string state, - - string vmAccountId, - - string vmId) - { - CreationMethod = creationMethod; - DestinationIpRange = destinationIpRange; - DestinationServiceId = destinationServiceId; - GatewayId = gatewayId; - NatServiceId = natServiceId; - NetAccessPointId = netAccessPointId; - NetPeeringId = netPeeringId; - NicId = nicId; - State = state; - VmAccountId = vmAccountId; - VmId = vmId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetRouteTableTagResult.cs b/sdk/dotnet/Outputs/GetRouteTableTagResult.cs deleted file mode 100644 index d817499..0000000 --- a/sdk/dotnet/Outputs/GetRouteTableTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetRouteTableTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetRouteTableTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetRouteTablesFilterResult.cs b/sdk/dotnet/Outputs/GetRouteTablesFilterResult.cs deleted file mode 100644 index 37e611b..0000000 --- a/sdk/dotnet/Outputs/GetRouteTablesFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetRouteTablesFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetRouteTablesFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetRouteTablesRouteTableLinkRouteTableResult.cs b/sdk/dotnet/Outputs/GetRouteTablesRouteTableLinkRouteTableResult.cs deleted file mode 100644 index 2742134..0000000 --- a/sdk/dotnet/Outputs/GetRouteTablesRouteTableLinkRouteTableResult.cs +++ /dev/null @@ -1,53 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetRouteTablesRouteTableLinkRouteTableResult - { - /// - /// The ID of the association between the route table and the Subnet. - /// - public readonly string LinkRouteTableId; - /// - /// If true, the route table is the main one. - /// - public readonly bool Main; - /// - /// The ID of the route table. - /// - public readonly string RouteTableId; - public readonly string RouteTableToSubnetLinkId; - /// - /// The ID of the Subnet. - /// - public readonly string SubnetId; - - [OutputConstructor] - private GetRouteTablesRouteTableLinkRouteTableResult( - string linkRouteTableId, - - bool main, - - string routeTableId, - - string routeTableToSubnetLinkId, - - string subnetId) - { - LinkRouteTableId = linkRouteTableId; - Main = main; - RouteTableId = routeTableId; - RouteTableToSubnetLinkId = routeTableToSubnetLinkId; - SubnetId = subnetId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetRouteTablesRouteTableResult.cs b/sdk/dotnet/Outputs/GetRouteTablesRouteTableResult.cs deleted file mode 100644 index bf5f14c..0000000 --- a/sdk/dotnet/Outputs/GetRouteTablesRouteTableResult.cs +++ /dev/null @@ -1,63 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetRouteTablesRouteTableResult - { - /// - /// One or more associations between the route table and Subnets. - /// - public readonly ImmutableArray LinkRouteTables; - /// - /// The ID of the Net for the route table. - /// - public readonly string NetId; - /// - /// Information about virtual gateways propagating routes. - /// - public readonly ImmutableArray RoutePropagatingVirtualGateways; - /// - /// The ID of the route table. - /// - public readonly string RouteTableId; - /// - /// One or more routes in the route table. - /// - public readonly ImmutableArray Routes; - /// - /// The key/value combinations of the tags associated with the route tables, in the following format: `TAGKEY=TAGVALUE`. - /// - public readonly ImmutableArray Tags; - - [OutputConstructor] - private GetRouteTablesRouteTableResult( - ImmutableArray linkRouteTables, - - string netId, - - ImmutableArray routePropagatingVirtualGateways, - - string routeTableId, - - ImmutableArray routes, - - ImmutableArray tags) - { - LinkRouteTables = linkRouteTables; - NetId = netId; - RoutePropagatingVirtualGateways = routePropagatingVirtualGateways; - RouteTableId = routeTableId; - Routes = routes; - Tags = tags; - } - } -} diff --git a/sdk/dotnet/Outputs/GetRouteTablesRouteTableRoutePropagatingVirtualGatewayResult.cs b/sdk/dotnet/Outputs/GetRouteTablesRouteTableRoutePropagatingVirtualGatewayResult.cs deleted file mode 100644 index 1f9c28f..0000000 --- a/sdk/dotnet/Outputs/GetRouteTablesRouteTableRoutePropagatingVirtualGatewayResult.cs +++ /dev/null @@ -1,27 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetRouteTablesRouteTableRoutePropagatingVirtualGatewayResult - { - /// - /// The ID of the virtual gateway. - /// - public readonly string VirtualGatewayId; - - [OutputConstructor] - private GetRouteTablesRouteTableRoutePropagatingVirtualGatewayResult(string virtualGatewayId) - { - VirtualGatewayId = virtualGatewayId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetRouteTablesRouteTableRouteResult.cs b/sdk/dotnet/Outputs/GetRouteTablesRouteTableRouteResult.cs deleted file mode 100644 index 7c21048..0000000 --- a/sdk/dotnet/Outputs/GetRouteTablesRouteTableRouteResult.cs +++ /dev/null @@ -1,98 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetRouteTablesRouteTableRouteResult - { - /// - /// The method used to create the route. - /// - public readonly string CreationMethod; - /// - /// The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - /// - public readonly string DestinationIpRange; - /// - /// The ID of the OUTSCALE service. - /// - public readonly string DestinationServiceId; - /// - /// The ID of the Internet service or virtual gateway attached to the Net. - /// - public readonly string GatewayId; - /// - /// The ID of a NAT service attached to the Net. - /// - public readonly string NatServiceId; - /// - /// The ID of the Net access point. - /// - public readonly string NetAccessPointId; - /// - /// The ID of the Net peering. - /// - public readonly string NetPeeringId; - /// - /// The ID of the NIC. - /// - public readonly string NicId; - /// - /// The state of a route in the route table (always `active`). - /// - public readonly string State; - /// - /// The account ID of the owner of the VM. - /// - public readonly string VmAccountId; - /// - /// The ID of a VM specified in a route in the table. - /// - public readonly string VmId; - - [OutputConstructor] - private GetRouteTablesRouteTableRouteResult( - string creationMethod, - - string destinationIpRange, - - string destinationServiceId, - - string gatewayId, - - string natServiceId, - - string netAccessPointId, - - string netPeeringId, - - string nicId, - - string state, - - string vmAccountId, - - string vmId) - { - CreationMethod = creationMethod; - DestinationIpRange = destinationIpRange; - DestinationServiceId = destinationServiceId; - GatewayId = gatewayId; - NatServiceId = natServiceId; - NetAccessPointId = netAccessPointId; - NetPeeringId = netPeeringId; - NicId = nicId; - State = state; - VmAccountId = vmAccountId; - VmId = vmId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetRouteTablesRouteTableTagResult.cs b/sdk/dotnet/Outputs/GetRouteTablesRouteTableTagResult.cs deleted file mode 100644 index 0d75214..0000000 --- a/sdk/dotnet/Outputs/GetRouteTablesRouteTableTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetRouteTablesRouteTableTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetRouteTablesRouteTableTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetSecurityGroupFilterResult.cs b/sdk/dotnet/Outputs/GetSecurityGroupFilterResult.cs deleted file mode 100644 index 108c247..0000000 --- a/sdk/dotnet/Outputs/GetSecurityGroupFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetSecurityGroupFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetSecurityGroupFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetSecurityGroupInboundRuleResult.cs b/sdk/dotnet/Outputs/GetSecurityGroupInboundRuleResult.cs deleted file mode 100644 index 4aabdf0..0000000 --- a/sdk/dotnet/Outputs/GetSecurityGroupInboundRuleResult.cs +++ /dev/null @@ -1,60 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetSecurityGroupInboundRuleResult - { - /// - /// The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - /// - public readonly int FromPortRange; - /// - /// The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - /// - public readonly string IpProtocol; - /// - /// One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - /// - public readonly ImmutableArray IpRanges; - public readonly ImmutableArray PrefixListIds; - /// - /// Information about one or more source or destination security groups. - /// - public readonly ImmutableArray SecurityGroupsMembers; - /// - /// The end of the port range for the TCP and UDP protocols, or an ICMP code number. - /// - public readonly int ToPortRange; - - [OutputConstructor] - private GetSecurityGroupInboundRuleResult( - int fromPortRange, - - string ipProtocol, - - ImmutableArray ipRanges, - - ImmutableArray prefixListIds, - - ImmutableArray securityGroupsMembers, - - int toPortRange) - { - FromPortRange = fromPortRange; - IpProtocol = ipProtocol; - IpRanges = ipRanges; - PrefixListIds = prefixListIds; - SecurityGroupsMembers = securityGroupsMembers; - ToPortRange = toPortRange; - } - } -} diff --git a/sdk/dotnet/Outputs/GetSecurityGroupInboundRuleSecurityGroupsMemberResult.cs b/sdk/dotnet/Outputs/GetSecurityGroupInboundRuleSecurityGroupsMemberResult.cs deleted file mode 100644 index e2dffa2..0000000 --- a/sdk/dotnet/Outputs/GetSecurityGroupInboundRuleSecurityGroupsMemberResult.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetSecurityGroupInboundRuleSecurityGroupsMemberResult - { - /// - /// The account ID that owns the source or destination security group. - /// - public readonly string AccountId; - /// - /// The ID of the security group. - /// - public readonly string SecurityGroupId; - /// - /// The name of the security group. - /// - public readonly string SecurityGroupName; - - [OutputConstructor] - private GetSecurityGroupInboundRuleSecurityGroupsMemberResult( - string accountId, - - string securityGroupId, - - string securityGroupName) - { - AccountId = accountId; - SecurityGroupId = securityGroupId; - SecurityGroupName = securityGroupName; - } - } -} diff --git a/sdk/dotnet/Outputs/GetSecurityGroupOutboundRuleResult.cs b/sdk/dotnet/Outputs/GetSecurityGroupOutboundRuleResult.cs deleted file mode 100644 index 0afd9df..0000000 --- a/sdk/dotnet/Outputs/GetSecurityGroupOutboundRuleResult.cs +++ /dev/null @@ -1,60 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetSecurityGroupOutboundRuleResult - { - /// - /// The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - /// - public readonly int FromPortRange; - /// - /// The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - /// - public readonly string IpProtocol; - /// - /// One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - /// - public readonly ImmutableArray IpRanges; - public readonly ImmutableArray PrefixListIds; - /// - /// Information about one or more source or destination security groups. - /// - public readonly ImmutableArray SecurityGroupsMembers; - /// - /// The end of the port range for the TCP and UDP protocols, or an ICMP code number. - /// - public readonly int ToPortRange; - - [OutputConstructor] - private GetSecurityGroupOutboundRuleResult( - int fromPortRange, - - string ipProtocol, - - ImmutableArray ipRanges, - - ImmutableArray prefixListIds, - - ImmutableArray securityGroupsMembers, - - int toPortRange) - { - FromPortRange = fromPortRange; - IpProtocol = ipProtocol; - IpRanges = ipRanges; - PrefixListIds = prefixListIds; - SecurityGroupsMembers = securityGroupsMembers; - ToPortRange = toPortRange; - } - } -} diff --git a/sdk/dotnet/Outputs/GetSecurityGroupOutboundRuleSecurityGroupsMemberResult.cs b/sdk/dotnet/Outputs/GetSecurityGroupOutboundRuleSecurityGroupsMemberResult.cs deleted file mode 100644 index 77f8c33..0000000 --- a/sdk/dotnet/Outputs/GetSecurityGroupOutboundRuleSecurityGroupsMemberResult.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetSecurityGroupOutboundRuleSecurityGroupsMemberResult - { - /// - /// The account ID that owns the source or destination security group. - /// - public readonly string AccountId; - /// - /// The ID of the security group. - /// - public readonly string SecurityGroupId; - /// - /// The name of the security group. - /// - public readonly string SecurityGroupName; - - [OutputConstructor] - private GetSecurityGroupOutboundRuleSecurityGroupsMemberResult( - string accountId, - - string securityGroupId, - - string securityGroupName) - { - AccountId = accountId; - SecurityGroupId = securityGroupId; - SecurityGroupName = securityGroupName; - } - } -} diff --git a/sdk/dotnet/Outputs/GetSecurityGroupTagResult.cs b/sdk/dotnet/Outputs/GetSecurityGroupTagResult.cs deleted file mode 100644 index a3d96c8..0000000 --- a/sdk/dotnet/Outputs/GetSecurityGroupTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetSecurityGroupTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetSecurityGroupTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetSecurityGroupsFilterResult.cs b/sdk/dotnet/Outputs/GetSecurityGroupsFilterResult.cs deleted file mode 100644 index 94edd87..0000000 --- a/sdk/dotnet/Outputs/GetSecurityGroupsFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetSecurityGroupsFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetSecurityGroupsFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetSecurityGroupsSecurityGroupInboundRuleResult.cs b/sdk/dotnet/Outputs/GetSecurityGroupsSecurityGroupInboundRuleResult.cs deleted file mode 100644 index 4439801..0000000 --- a/sdk/dotnet/Outputs/GetSecurityGroupsSecurityGroupInboundRuleResult.cs +++ /dev/null @@ -1,60 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetSecurityGroupsSecurityGroupInboundRuleResult - { - /// - /// The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - /// - public readonly int FromPortRange; - /// - /// The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - /// - public readonly string IpProtocol; - /// - /// One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - /// - public readonly ImmutableArray IpRanges; - public readonly ImmutableArray PrefixListIds; - /// - /// Information about one or more source or destination security groups. - /// - public readonly ImmutableArray SecurityGroupsMembers; - /// - /// The end of the port range for the TCP and UDP protocols, or an ICMP code number. - /// - public readonly int ToPortRange; - - [OutputConstructor] - private GetSecurityGroupsSecurityGroupInboundRuleResult( - int fromPortRange, - - string ipProtocol, - - ImmutableArray ipRanges, - - ImmutableArray prefixListIds, - - ImmutableArray securityGroupsMembers, - - int toPortRange) - { - FromPortRange = fromPortRange; - IpProtocol = ipProtocol; - IpRanges = ipRanges; - PrefixListIds = prefixListIds; - SecurityGroupsMembers = securityGroupsMembers; - ToPortRange = toPortRange; - } - } -} diff --git a/sdk/dotnet/Outputs/GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberResult.cs b/sdk/dotnet/Outputs/GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberResult.cs deleted file mode 100644 index a42f668..0000000 --- a/sdk/dotnet/Outputs/GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberResult.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberResult - { - /// - /// The account ID that owns the source or destination security group. - /// - public readonly string AccountId; - /// - /// The ID of the security group. - /// - public readonly string SecurityGroupId; - /// - /// The name of the security group. - /// - public readonly string SecurityGroupName; - - [OutputConstructor] - private GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberResult( - string accountId, - - string securityGroupId, - - string securityGroupName) - { - AccountId = accountId; - SecurityGroupId = securityGroupId; - SecurityGroupName = securityGroupName; - } - } -} diff --git a/sdk/dotnet/Outputs/GetSecurityGroupsSecurityGroupOutboundRuleResult.cs b/sdk/dotnet/Outputs/GetSecurityGroupsSecurityGroupOutboundRuleResult.cs deleted file mode 100644 index 2a91347..0000000 --- a/sdk/dotnet/Outputs/GetSecurityGroupsSecurityGroupOutboundRuleResult.cs +++ /dev/null @@ -1,60 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetSecurityGroupsSecurityGroupOutboundRuleResult - { - /// - /// The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - /// - public readonly int FromPortRange; - /// - /// The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - /// - public readonly string IpProtocol; - /// - /// One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - /// - public readonly ImmutableArray IpRanges; - public readonly ImmutableArray PrefixListIds; - /// - /// Information about one or more source or destination security groups. - /// - public readonly ImmutableArray SecurityGroupsMembers; - /// - /// The end of the port range for the TCP and UDP protocols, or an ICMP code number. - /// - public readonly int ToPortRange; - - [OutputConstructor] - private GetSecurityGroupsSecurityGroupOutboundRuleResult( - int fromPortRange, - - string ipProtocol, - - ImmutableArray ipRanges, - - ImmutableArray prefixListIds, - - ImmutableArray securityGroupsMembers, - - int toPortRange) - { - FromPortRange = fromPortRange; - IpProtocol = ipProtocol; - IpRanges = ipRanges; - PrefixListIds = prefixListIds; - SecurityGroupsMembers = securityGroupsMembers; - ToPortRange = toPortRange; - } - } -} diff --git a/sdk/dotnet/Outputs/GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberResult.cs b/sdk/dotnet/Outputs/GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberResult.cs deleted file mode 100644 index 9cb04ab..0000000 --- a/sdk/dotnet/Outputs/GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberResult.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberResult - { - /// - /// The account ID that owns the source or destination security group. - /// - public readonly string AccountId; - /// - /// The ID of the security group. - /// - public readonly string SecurityGroupId; - /// - /// The name of the security group. - /// - public readonly string SecurityGroupName; - - [OutputConstructor] - private GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberResult( - string accountId, - - string securityGroupId, - - string securityGroupName) - { - AccountId = accountId; - SecurityGroupId = securityGroupId; - SecurityGroupName = securityGroupName; - } - } -} diff --git a/sdk/dotnet/Outputs/GetSecurityGroupsSecurityGroupResult.cs b/sdk/dotnet/Outputs/GetSecurityGroupsSecurityGroupResult.cs deleted file mode 100644 index ae36d98..0000000 --- a/sdk/dotnet/Outputs/GetSecurityGroupsSecurityGroupResult.cs +++ /dev/null @@ -1,77 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetSecurityGroupsSecurityGroupResult - { - /// - /// The account ID that owns the source or destination security group. - /// - public readonly string AccountId; - /// - /// The description of the security group. - /// - public readonly string Description; - /// - /// The inbound rules associated with the security group. - /// - public readonly ImmutableArray InboundRules; - /// - /// The ID of the Net for the security group. - /// - public readonly string NetId; - /// - /// The outbound rules associated with the security group. - /// - public readonly ImmutableArray OutboundRules; - /// - /// The ID of the security group. - /// - public readonly string SecurityGroupId; - /// - /// The name of the security group. - /// - public readonly string SecurityGroupName; - /// - /// The key/value combinations of the tags associated with the security groups, in the following format: `TAGKEY=TAGVALUE`. - /// - public readonly ImmutableArray Tags; - - [OutputConstructor] - private GetSecurityGroupsSecurityGroupResult( - string accountId, - - string description, - - ImmutableArray inboundRules, - - string netId, - - ImmutableArray outboundRules, - - string securityGroupId, - - string securityGroupName, - - ImmutableArray tags) - { - AccountId = accountId; - Description = description; - InboundRules = inboundRules; - NetId = netId; - OutboundRules = outboundRules; - SecurityGroupId = securityGroupId; - SecurityGroupName = securityGroupName; - Tags = tags; - } - } -} diff --git a/sdk/dotnet/Outputs/GetSecurityGroupsSecurityGroupTagResult.cs b/sdk/dotnet/Outputs/GetSecurityGroupsSecurityGroupTagResult.cs deleted file mode 100644 index 94821de..0000000 --- a/sdk/dotnet/Outputs/GetSecurityGroupsSecurityGroupTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetSecurityGroupsSecurityGroupTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetSecurityGroupsSecurityGroupTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetServerCertificateFilterResult.cs b/sdk/dotnet/Outputs/GetServerCertificateFilterResult.cs deleted file mode 100644 index a32546b..0000000 --- a/sdk/dotnet/Outputs/GetServerCertificateFilterResult.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetServerCertificateFilterResult - { - /// - /// The name of the server certificate. - /// - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetServerCertificateFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetServerCertificatesFilterResult.cs b/sdk/dotnet/Outputs/GetServerCertificatesFilterResult.cs deleted file mode 100644 index 8c1a2a5..0000000 --- a/sdk/dotnet/Outputs/GetServerCertificatesFilterResult.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetServerCertificatesFilterResult - { - /// - /// The name of the server certificate. - /// - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetServerCertificatesFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetServerCertificatesServerCertificateResult.cs b/sdk/dotnet/Outputs/GetServerCertificatesServerCertificateResult.cs deleted file mode 100644 index c8f8ffe..0000000 --- a/sdk/dotnet/Outputs/GetServerCertificatesServerCertificateResult.cs +++ /dev/null @@ -1,63 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetServerCertificatesServerCertificateResult - { - /// - /// The date at which the server certificate expires. - /// - public readonly string ExpirationDate; - /// - /// The ID of the server certificate. - /// - public readonly string Id; - /// - /// The name of the server certificate. - /// - public readonly string Name; - /// - /// The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - /// - public readonly string Orn; - /// - /// The path to the server certificate. - /// - public readonly string Path; - /// - /// The date at which the server certificate has been uploaded. - /// - public readonly string UploadDate; - - [OutputConstructor] - private GetServerCertificatesServerCertificateResult( - string expirationDate, - - string id, - - string name, - - string orn, - - string path, - - string uploadDate) - { - ExpirationDate = expirationDate; - Id = id; - Name = name; - Orn = orn; - Path = path; - UploadDate = uploadDate; - } - } -} diff --git a/sdk/dotnet/Outputs/GetSnapshotExportTaskFilterResult.cs b/sdk/dotnet/Outputs/GetSnapshotExportTaskFilterResult.cs deleted file mode 100644 index 5b38d95..0000000 --- a/sdk/dotnet/Outputs/GetSnapshotExportTaskFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetSnapshotExportTaskFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetSnapshotExportTaskFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetSnapshotExportTaskOsuExportResult.cs b/sdk/dotnet/Outputs/GetSnapshotExportTaskOsuExportResult.cs deleted file mode 100644 index 5383de5..0000000 --- a/sdk/dotnet/Outputs/GetSnapshotExportTaskOsuExportResult.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetSnapshotExportTaskOsuExportResult - { - /// - /// The format of the export disk (`qcow2` \| `raw`). - /// - public readonly string DiskImageFormat; - /// - /// The name of the OOS bucket the snapshot is exported to. - /// - public readonly string OsuBucket; - /// - /// The prefix for the key of the OOS object corresponding to the snapshot. - /// - public readonly string OsuPrefix; - - [OutputConstructor] - private GetSnapshotExportTaskOsuExportResult( - string diskImageFormat, - - string osuBucket, - - string osuPrefix) - { - DiskImageFormat = diskImageFormat; - OsuBucket = osuBucket; - OsuPrefix = osuPrefix; - } - } -} diff --git a/sdk/dotnet/Outputs/GetSnapshotExportTaskTagResult.cs b/sdk/dotnet/Outputs/GetSnapshotExportTaskTagResult.cs deleted file mode 100644 index c39abe9..0000000 --- a/sdk/dotnet/Outputs/GetSnapshotExportTaskTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetSnapshotExportTaskTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetSnapshotExportTaskTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetSnapshotExportTasksFilterResult.cs b/sdk/dotnet/Outputs/GetSnapshotExportTasksFilterResult.cs deleted file mode 100644 index 226232d..0000000 --- a/sdk/dotnet/Outputs/GetSnapshotExportTasksFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetSnapshotExportTasksFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetSnapshotExportTasksFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetSnapshotExportTasksSnapshotExportTaskOsuExportResult.cs b/sdk/dotnet/Outputs/GetSnapshotExportTasksSnapshotExportTaskOsuExportResult.cs deleted file mode 100644 index 55af58f..0000000 --- a/sdk/dotnet/Outputs/GetSnapshotExportTasksSnapshotExportTaskOsuExportResult.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetSnapshotExportTasksSnapshotExportTaskOsuExportResult - { - /// - /// The format of the export disk (`qcow2` \| `raw`). - /// - public readonly string DiskImageFormat; - /// - /// The name of the OOS bucket the snapshot is exported to. - /// - public readonly string OsuBucket; - /// - /// The prefix for the key of the OOS object corresponding to the snapshot. - /// - public readonly string OsuPrefix; - - [OutputConstructor] - private GetSnapshotExportTasksSnapshotExportTaskOsuExportResult( - string diskImageFormat, - - string osuBucket, - - string osuPrefix) - { - DiskImageFormat = diskImageFormat; - OsuBucket = osuBucket; - OsuPrefix = osuPrefix; - } - } -} diff --git a/sdk/dotnet/Outputs/GetSnapshotExportTasksSnapshotExportTaskResult.cs b/sdk/dotnet/Outputs/GetSnapshotExportTasksSnapshotExportTaskResult.cs deleted file mode 100644 index 88c32e9..0000000 --- a/sdk/dotnet/Outputs/GetSnapshotExportTasksSnapshotExportTaskResult.cs +++ /dev/null @@ -1,70 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetSnapshotExportTasksSnapshotExportTaskResult - { - /// - /// If the snapshot export task fails, an error message appears. - /// - public readonly string Comment; - /// - /// Information about the snapshot export task. - /// - public readonly ImmutableArray OsuExports; - /// - /// The progress of the snapshot export task, as a percentage. - /// - public readonly int Progress; - /// - /// The ID of the snapshot to be exported. - /// - public readonly string SnapshotId; - /// - /// The state of the snapshot export task (`pending` \| `active` \| `completed` \| `failed`). - /// - public readonly string State; - /// - /// One or more tags associated with the snapshot export task. - /// - public readonly ImmutableArray Tags; - /// - /// The ID of the snapshot export task. - /// - public readonly string TaskId; - - [OutputConstructor] - private GetSnapshotExportTasksSnapshotExportTaskResult( - string comment, - - ImmutableArray osuExports, - - int progress, - - string snapshotId, - - string state, - - ImmutableArray tags, - - string taskId) - { - Comment = comment; - OsuExports = osuExports; - Progress = progress; - SnapshotId = snapshotId; - State = state; - Tags = tags; - TaskId = taskId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetSnapshotExportTasksSnapshotExportTaskTagResult.cs b/sdk/dotnet/Outputs/GetSnapshotExportTasksSnapshotExportTaskTagResult.cs deleted file mode 100644 index bdedf71..0000000 --- a/sdk/dotnet/Outputs/GetSnapshotExportTasksSnapshotExportTaskTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetSnapshotExportTasksSnapshotExportTaskTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetSnapshotExportTasksSnapshotExportTaskTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetSnapshotFilterResult.cs b/sdk/dotnet/Outputs/GetSnapshotFilterResult.cs deleted file mode 100644 index 271ae64..0000000 --- a/sdk/dotnet/Outputs/GetSnapshotFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetSnapshotFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetSnapshotFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetSnapshotPermissionsToCreateVolumeResult.cs b/sdk/dotnet/Outputs/GetSnapshotPermissionsToCreateVolumeResult.cs deleted file mode 100644 index 191d9be..0000000 --- a/sdk/dotnet/Outputs/GetSnapshotPermissionsToCreateVolumeResult.cs +++ /dev/null @@ -1,37 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetSnapshotPermissionsToCreateVolumeResult - { - /// - /// The account IDs of the owners of the snapshots. - /// - public readonly ImmutableArray AccountIds; - /// - /// A global permission for all accounts.<br /> - /// (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).<br /> - /// (Response) If true, the resource is public. If false, the resource is private. - /// - public readonly bool GlobalPermission; - - [OutputConstructor] - private GetSnapshotPermissionsToCreateVolumeResult( - ImmutableArray accountIds, - - bool globalPermission) - { - AccountIds = accountIds; - GlobalPermission = globalPermission; - } - } -} diff --git a/sdk/dotnet/Outputs/GetSnapshotTagResult.cs b/sdk/dotnet/Outputs/GetSnapshotTagResult.cs deleted file mode 100644 index 0b38ddd..0000000 --- a/sdk/dotnet/Outputs/GetSnapshotTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetSnapshotTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetSnapshotTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetSnapshotsFilterResult.cs b/sdk/dotnet/Outputs/GetSnapshotsFilterResult.cs deleted file mode 100644 index 9a7fb91..0000000 --- a/sdk/dotnet/Outputs/GetSnapshotsFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetSnapshotsFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetSnapshotsFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetSnapshotsSnapshotPermissionsToCreateVolumeResult.cs b/sdk/dotnet/Outputs/GetSnapshotsSnapshotPermissionsToCreateVolumeResult.cs deleted file mode 100644 index d87d61a..0000000 --- a/sdk/dotnet/Outputs/GetSnapshotsSnapshotPermissionsToCreateVolumeResult.cs +++ /dev/null @@ -1,37 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetSnapshotsSnapshotPermissionsToCreateVolumeResult - { - /// - /// The account IDs of the owners of the snapshots. - /// - public readonly ImmutableArray AccountIds; - /// - /// A global permission for all accounts.<br /> - /// (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).<br /> - /// (Response) If true, the resource is public. If false, the resource is private. - /// - public readonly bool GlobalPermission; - - [OutputConstructor] - private GetSnapshotsSnapshotPermissionsToCreateVolumeResult( - ImmutableArray accountIds, - - bool globalPermission) - { - AccountIds = accountIds; - GlobalPermission = globalPermission; - } - } -} diff --git a/sdk/dotnet/Outputs/GetSnapshotsSnapshotResult.cs b/sdk/dotnet/Outputs/GetSnapshotsSnapshotResult.cs deleted file mode 100644 index d1a3a6d..0000000 --- a/sdk/dotnet/Outputs/GetSnapshotsSnapshotResult.cs +++ /dev/null @@ -1,98 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetSnapshotsSnapshotResult - { - /// - /// The account alias of the owner of the snapshot. - /// - public readonly string AccountAlias; - /// - /// The account ID of the owner of the snapshot. - /// - public readonly string AccountId; - /// - /// The date and time of creation of the snapshot. - /// - public readonly string CreationDate; - /// - /// The description of the snapshot. - /// - public readonly string Description; - /// - /// Permissions for the resource. - /// - public readonly ImmutableArray PermissionsToCreateVolumes; - /// - /// The progress of the snapshot, as a percentage. - /// - public readonly int Progress; - /// - /// The ID of the snapshot. - /// - public readonly string SnapshotId; - /// - /// The state of the snapshot (`in-queue` \| `completed` \| `error`). - /// - public readonly string State; - /// - /// The key/value combinations of the tags associated with the snapshots, in the following format: `TAGKEY=TAGVALUE`. - /// - public readonly ImmutableArray Tags; - /// - /// The ID of the volume used to create the snapshot. - /// - public readonly string VolumeId; - /// - /// The size of the volume used to create the snapshot, in gibibytes (GiB). - /// - public readonly int VolumeSize; - - [OutputConstructor] - private GetSnapshotsSnapshotResult( - string accountAlias, - - string accountId, - - string creationDate, - - string description, - - ImmutableArray permissionsToCreateVolumes, - - int progress, - - string snapshotId, - - string state, - - ImmutableArray tags, - - string volumeId, - - int volumeSize) - { - AccountAlias = accountAlias; - AccountId = accountId; - CreationDate = creationDate; - Description = description; - PermissionsToCreateVolumes = permissionsToCreateVolumes; - Progress = progress; - SnapshotId = snapshotId; - State = state; - Tags = tags; - VolumeId = volumeId; - VolumeSize = volumeSize; - } - } -} diff --git a/sdk/dotnet/Outputs/GetSnapshotsSnapshotTagResult.cs b/sdk/dotnet/Outputs/GetSnapshotsSnapshotTagResult.cs deleted file mode 100644 index 6284799..0000000 --- a/sdk/dotnet/Outputs/GetSnapshotsSnapshotTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetSnapshotsSnapshotTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetSnapshotsSnapshotTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetSubnetFilterResult.cs b/sdk/dotnet/Outputs/GetSubnetFilterResult.cs deleted file mode 100644 index 4c1f975..0000000 --- a/sdk/dotnet/Outputs/GetSubnetFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetSubnetFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetSubnetFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetSubnetTagResult.cs b/sdk/dotnet/Outputs/GetSubnetTagResult.cs deleted file mode 100644 index 05ea2de..0000000 --- a/sdk/dotnet/Outputs/GetSubnetTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetSubnetTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetSubnetTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetSubnetsFilterResult.cs b/sdk/dotnet/Outputs/GetSubnetsFilterResult.cs deleted file mode 100644 index a98f490..0000000 --- a/sdk/dotnet/Outputs/GetSubnetsFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetSubnetsFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetSubnetsFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetSubnetsSubnetResult.cs b/sdk/dotnet/Outputs/GetSubnetsSubnetResult.cs deleted file mode 100644 index 189a56b..0000000 --- a/sdk/dotnet/Outputs/GetSubnetsSubnetResult.cs +++ /dev/null @@ -1,77 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetSubnetsSubnetResult - { - /// - /// The number of available IPs in the Subnets. - /// - public readonly int AvailableIpsCount; - /// - /// The IP range in the Subnet, in CIDR notation (for example, `10.0.0.0/16`). - /// - public readonly string IpRange; - /// - /// If true, a public IP is assigned to the network interface cards (NICs) created in the specified Subnet. - /// - public readonly bool MapPublicIpOnLaunch; - /// - /// The ID of the Net in which the Subnet is. - /// - public readonly string NetId; - /// - /// The state of the Subnet (`pending` \| `available` \| `deleted`). - /// - public readonly string State; - /// - /// The ID of the Subnet. - /// - public readonly string SubnetId; - /// - /// The name of the Subregion in which the Subnet is located. - /// - public readonly string SubregionName; - /// - /// The key/value combinations of the tags associated with the Subnets, in the following format: `TAGKEY=TAGVALUE`. - /// - public readonly ImmutableArray Tags; - - [OutputConstructor] - private GetSubnetsSubnetResult( - int availableIpsCount, - - string ipRange, - - bool mapPublicIpOnLaunch, - - string netId, - - string state, - - string subnetId, - - string subregionName, - - ImmutableArray tags) - { - AvailableIpsCount = availableIpsCount; - IpRange = ipRange; - MapPublicIpOnLaunch = mapPublicIpOnLaunch; - NetId = netId; - State = state; - SubnetId = subnetId; - SubregionName = subregionName; - Tags = tags; - } - } -} diff --git a/sdk/dotnet/Outputs/GetSubnetsSubnetTagResult.cs b/sdk/dotnet/Outputs/GetSubnetsSubnetTagResult.cs deleted file mode 100644 index 30b59a8..0000000 --- a/sdk/dotnet/Outputs/GetSubnetsSubnetTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetSubnetsSubnetTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetSubnetsSubnetTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetSubregionsFilterResult.cs b/sdk/dotnet/Outputs/GetSubregionsFilterResult.cs deleted file mode 100644 index 89b9400..0000000 --- a/sdk/dotnet/Outputs/GetSubregionsFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetSubregionsFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetSubregionsFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetSubregionsSubregionResult.cs b/sdk/dotnet/Outputs/GetSubregionsSubregionResult.cs deleted file mode 100644 index cf260fc..0000000 --- a/sdk/dotnet/Outputs/GetSubregionsSubregionResult.cs +++ /dev/null @@ -1,49 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetSubregionsSubregionResult - { - /// - /// The location code of the Subregion. - /// - public readonly string LocationCode; - /// - /// The name of the Region containing the Subregion. - /// - public readonly string RegionName; - /// - /// The state of the Subregion (`available` \| `information` \| `impaired` \| `unavailable`). - /// - public readonly string State; - /// - /// The name of the Subregion. - /// - public readonly string SubregionName; - - [OutputConstructor] - private GetSubregionsSubregionResult( - string locationCode, - - string regionName, - - string state, - - string subregionName) - { - LocationCode = locationCode; - RegionName = regionName; - State = state; - SubregionName = subregionName; - } - } -} diff --git a/sdk/dotnet/Outputs/GetTagFilterResult.cs b/sdk/dotnet/Outputs/GetTagFilterResult.cs deleted file mode 100644 index 1984639..0000000 --- a/sdk/dotnet/Outputs/GetTagFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetTagFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetTagFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVirtualGatewayFilterResult.cs b/sdk/dotnet/Outputs/GetVirtualGatewayFilterResult.cs deleted file mode 100644 index b787ab3..0000000 --- a/sdk/dotnet/Outputs/GetVirtualGatewayFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVirtualGatewayFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetVirtualGatewayFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVirtualGatewayNetToVirtualGatewayLinkResult.cs b/sdk/dotnet/Outputs/GetVirtualGatewayNetToVirtualGatewayLinkResult.cs deleted file mode 100644 index d89b056..0000000 --- a/sdk/dotnet/Outputs/GetVirtualGatewayNetToVirtualGatewayLinkResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVirtualGatewayNetToVirtualGatewayLinkResult - { - /// - /// The ID of the Net to which the virtual gateway is attached. - /// - public readonly string NetId; - /// - /// The state of the virtual gateway (`pending` \| `available` \| `deleting` \| `deleted`). - /// - public readonly string State; - - [OutputConstructor] - private GetVirtualGatewayNetToVirtualGatewayLinkResult( - string netId, - - string state) - { - NetId = netId; - State = state; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVirtualGatewayTagResult.cs b/sdk/dotnet/Outputs/GetVirtualGatewayTagResult.cs deleted file mode 100644 index 875fde4..0000000 --- a/sdk/dotnet/Outputs/GetVirtualGatewayTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVirtualGatewayTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetVirtualGatewayTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVirtualGatewaysFilterResult.cs b/sdk/dotnet/Outputs/GetVirtualGatewaysFilterResult.cs deleted file mode 100644 index 41adbcc..0000000 --- a/sdk/dotnet/Outputs/GetVirtualGatewaysFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVirtualGatewaysFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetVirtualGatewaysFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkResult.cs b/sdk/dotnet/Outputs/GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkResult.cs deleted file mode 100644 index 121eea1..0000000 --- a/sdk/dotnet/Outputs/GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkResult - { - /// - /// The ID of the Net to which the virtual gateway is attached. - /// - public readonly string NetId; - /// - /// The state of the virtual gateway (`pending` \| `available` \| `deleting` \| `deleted`). - /// - public readonly string State; - - [OutputConstructor] - private GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkResult( - string netId, - - string state) - { - NetId = netId; - State = state; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVirtualGatewaysVirtualGatewayResult.cs b/sdk/dotnet/Outputs/GetVirtualGatewaysVirtualGatewayResult.cs deleted file mode 100644 index cee772f..0000000 --- a/sdk/dotnet/Outputs/GetVirtualGatewaysVirtualGatewayResult.cs +++ /dev/null @@ -1,56 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVirtualGatewaysVirtualGatewayResult - { - /// - /// The type of VPN connection supported by the virtual gateway (only `ipsec.1` is supported). - /// - public readonly string ConnectionType; - /// - /// The Net to which the virtual gateway is attached. - /// - public readonly ImmutableArray NetToVirtualGatewayLinks; - /// - /// The state of the virtual gateway (`pending` \| `available` \| `deleting` \| `deleted`). - /// - public readonly string State; - /// - /// The key/value combinations of the tags associated with the virtual gateways, in the following format: `TAGKEY=TAGVALUE`. - /// - public readonly ImmutableArray Tags; - /// - /// The ID of the virtual gateway. - /// - public readonly string VirtualGatewayId; - - [OutputConstructor] - private GetVirtualGatewaysVirtualGatewayResult( - string connectionType, - - ImmutableArray netToVirtualGatewayLinks, - - string state, - - ImmutableArray tags, - - string virtualGatewayId) - { - ConnectionType = connectionType; - NetToVirtualGatewayLinks = netToVirtualGatewayLinks; - State = state; - Tags = tags; - VirtualGatewayId = virtualGatewayId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVirtualGatewaysVirtualGatewayTagResult.cs b/sdk/dotnet/Outputs/GetVirtualGatewaysVirtualGatewayTagResult.cs deleted file mode 100644 index da468bb..0000000 --- a/sdk/dotnet/Outputs/GetVirtualGatewaysVirtualGatewayTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVirtualGatewaysVirtualGatewayTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetVirtualGatewaysVirtualGatewayTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmBlockDeviceMappingsCreatedBsusResult.cs b/sdk/dotnet/Outputs/GetVmBlockDeviceMappingsCreatedBsusResult.cs deleted file mode 100644 index 0be7884..0000000 --- a/sdk/dotnet/Outputs/GetVmBlockDeviceMappingsCreatedBsusResult.cs +++ /dev/null @@ -1,56 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmBlockDeviceMappingsCreatedBsusResult - { - /// - /// If true, the NIC is deleted when the VM is terminated. - /// - public readonly bool DeleteOnVmDeletion; - /// - /// The date and time of attachment of the volume to the VM, in ISO 8601 date-time format. - /// - public readonly string LinkDate; - /// - /// The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - /// - public readonly string State; - /// - /// The key/value combinations of the tags associated with the VMs, in the following format: `TAGKEY=TAGVALUE`. - /// - public readonly ImmutableArray Tags; - /// - /// The ID of the volume. - /// - public readonly string VolumeId; - - [OutputConstructor] - private GetVmBlockDeviceMappingsCreatedBsusResult( - bool deleteOnVmDeletion, - - string linkDate, - - string state, - - ImmutableArray tags, - - string volumeId) - { - DeleteOnVmDeletion = deleteOnVmDeletion; - LinkDate = linkDate; - State = state; - Tags = tags; - VolumeId = volumeId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmBlockDeviceMappingsCreatedBsusTagResult.cs b/sdk/dotnet/Outputs/GetVmBlockDeviceMappingsCreatedBsusTagResult.cs deleted file mode 100644 index d2b78c8..0000000 --- a/sdk/dotnet/Outputs/GetVmBlockDeviceMappingsCreatedBsusTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmBlockDeviceMappingsCreatedBsusTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetVmBlockDeviceMappingsCreatedBsusTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmBlockDeviceMappingsCreatedResult.cs b/sdk/dotnet/Outputs/GetVmBlockDeviceMappingsCreatedResult.cs deleted file mode 100644 index e285c54..0000000 --- a/sdk/dotnet/Outputs/GetVmBlockDeviceMappingsCreatedResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmBlockDeviceMappingsCreatedResult - { - /// - /// Information about the created BSU volume. - /// - public readonly ImmutableArray Bsus; - /// - /// The name of the device. - /// - public readonly string DeviceName; - - [OutputConstructor] - private GetVmBlockDeviceMappingsCreatedResult( - ImmutableArray bsus, - - string deviceName) - { - Bsus = bsus; - DeviceName = deviceName; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmFilterResult.cs b/sdk/dotnet/Outputs/GetVmFilterResult.cs deleted file mode 100644 index faa424b..0000000 --- a/sdk/dotnet/Outputs/GetVmFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetVmFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmNicLinkNicResult.cs b/sdk/dotnet/Outputs/GetVmNicLinkNicResult.cs deleted file mode 100644 index 8b8ea91..0000000 --- a/sdk/dotnet/Outputs/GetVmNicLinkNicResult.cs +++ /dev/null @@ -1,49 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmNicLinkNicResult - { - /// - /// If true, the NIC is deleted when the VM is terminated. - /// - public readonly bool DeleteOnVmDeletion; - /// - /// The device index for the NIC attachment (between `1` and `7`, both included). - /// - public readonly string DeviceNumber; - /// - /// The ID of the NIC to attach. - /// - public readonly string LinkNicId; - /// - /// The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - /// - public readonly string State; - - [OutputConstructor] - private GetVmNicLinkNicResult( - bool deleteOnVmDeletion, - - string deviceNumber, - - string linkNicId, - - string state) - { - DeleteOnVmDeletion = deleteOnVmDeletion; - DeviceNumber = deviceNumber; - LinkNicId = linkNicId; - State = state; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmNicLinkPublicIpResult.cs b/sdk/dotnet/Outputs/GetVmNicLinkPublicIpResult.cs deleted file mode 100644 index 24cdb06..0000000 --- a/sdk/dotnet/Outputs/GetVmNicLinkPublicIpResult.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmNicLinkPublicIpResult - { - /// - /// The name of the public DNS. - /// - public readonly string PublicDnsName; - /// - /// The public IP of the VM. - /// - public readonly string PublicIp; - /// - /// The account ID of the owner of the public IP. - /// - public readonly string PublicIpAccountId; - - [OutputConstructor] - private GetVmNicLinkPublicIpResult( - string publicDnsName, - - string publicIp, - - string publicIpAccountId) - { - PublicDnsName = publicDnsName; - PublicIp = publicIp; - PublicIpAccountId = publicIpAccountId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmNicPrivateIpLinkPublicIpResult.cs b/sdk/dotnet/Outputs/GetVmNicPrivateIpLinkPublicIpResult.cs deleted file mode 100644 index e1d0960..0000000 --- a/sdk/dotnet/Outputs/GetVmNicPrivateIpLinkPublicIpResult.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmNicPrivateIpLinkPublicIpResult - { - /// - /// The name of the public DNS. - /// - public readonly string PublicDnsName; - /// - /// The public IP of the VM. - /// - public readonly string PublicIp; - /// - /// The account ID of the owner of the public IP. - /// - public readonly string PublicIpAccountId; - - [OutputConstructor] - private GetVmNicPrivateIpLinkPublicIpResult( - string publicDnsName, - - string publicIp, - - string publicIpAccountId) - { - PublicDnsName = publicDnsName; - PublicIp = publicIp; - PublicIpAccountId = publicIpAccountId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmNicPrivateIpResult.cs b/sdk/dotnet/Outputs/GetVmNicPrivateIpResult.cs deleted file mode 100644 index a516f3c..0000000 --- a/sdk/dotnet/Outputs/GetVmNicPrivateIpResult.cs +++ /dev/null @@ -1,49 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmNicPrivateIpResult - { - /// - /// If true, the IP is the primary private IP of the NIC. - /// - public readonly bool IsPrimary; - /// - /// Information about the public IP associated with the NIC. - /// - public readonly ImmutableArray LinkPublicIps; - /// - /// The name of the private DNS. - /// - public readonly string PrivateDnsName; - /// - /// The primary private IP of the VM. - /// - public readonly string PrivateIp; - - [OutputConstructor] - private GetVmNicPrivateIpResult( - bool isPrimary, - - ImmutableArray linkPublicIps, - - string privateDnsName, - - string privateIp) - { - IsPrimary = isPrimary; - LinkPublicIps = linkPublicIps; - PrivateDnsName = privateDnsName; - PrivateIp = privateIp; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmNicResult.cs b/sdk/dotnet/Outputs/GetVmNicResult.cs deleted file mode 100644 index 332bd77..0000000 --- a/sdk/dotnet/Outputs/GetVmNicResult.cs +++ /dev/null @@ -1,138 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmNicResult - { - /// - /// The account ID of the owner of the NIC. - /// - public readonly string AccountId; - /// - /// If true, the NIC is deleted when the VM is terminated. - /// - public readonly bool DeleteOnVmDeletion; - /// - /// The description of the NIC. - /// - public readonly string Description; - /// - /// The device index for the NIC attachment (between `1` and `7`, both included). - /// - public readonly int DeviceNumber; - /// - /// (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - /// - public readonly bool IsSourceDestChecked; - /// - /// Information about the network interface card (NIC). - /// - public readonly ImmutableArray LinkNics; - /// - /// Information about the public IP associated with the NIC. - /// - public readonly ImmutableArray LinkPublicIps; - /// - /// The Media Access Control (MAC) address of the NIC. - /// - public readonly string MacAddress; - /// - /// The ID of the Net for the NIC. - /// - public readonly string NetId; - /// - /// The ID of the NIC. - /// - public readonly string NicId; - /// - /// The name of the private DNS. - /// - public readonly string PrivateDnsName; - /// - /// The private IP or IPs of the NIC. - /// - public readonly ImmutableArray PrivateIps; - public readonly int SecondaryPrivateIpCount; - public readonly ImmutableArray SecurityGroupIds; - /// - /// One or more security groups associated with the VM. - /// - public readonly ImmutableArray SecurityGroups; - public readonly ImmutableArray SecurityGroupsNames; - /// - /// The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - /// - public readonly string State; - /// - /// The ID of the Subnet for the VM. - /// - public readonly string SubnetId; - - [OutputConstructor] - private GetVmNicResult( - string accountId, - - bool deleteOnVmDeletion, - - string description, - - int deviceNumber, - - bool isSourceDestChecked, - - ImmutableArray linkNics, - - ImmutableArray linkPublicIps, - - string macAddress, - - string netId, - - string nicId, - - string privateDnsName, - - ImmutableArray privateIps, - - int secondaryPrivateIpCount, - - ImmutableArray securityGroupIds, - - ImmutableArray securityGroups, - - ImmutableArray securityGroupsNames, - - string state, - - string subnetId) - { - AccountId = accountId; - DeleteOnVmDeletion = deleteOnVmDeletion; - Description = description; - DeviceNumber = deviceNumber; - IsSourceDestChecked = isSourceDestChecked; - LinkNics = linkNics; - LinkPublicIps = linkPublicIps; - MacAddress = macAddress; - NetId = netId; - NicId = nicId; - PrivateDnsName = privateDnsName; - PrivateIps = privateIps; - SecondaryPrivateIpCount = secondaryPrivateIpCount; - SecurityGroupIds = securityGroupIds; - SecurityGroups = securityGroups; - SecurityGroupsNames = securityGroupsNames; - State = state; - SubnetId = subnetId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmNicSecurityGroupResult.cs b/sdk/dotnet/Outputs/GetVmNicSecurityGroupResult.cs deleted file mode 100644 index 14fbfff..0000000 --- a/sdk/dotnet/Outputs/GetVmNicSecurityGroupResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmNicSecurityGroupResult - { - /// - /// The ID of the security group. - /// - public readonly string SecurityGroupId; - /// - /// The name of the security group. - /// - public readonly string SecurityGroupName; - - [OutputConstructor] - private GetVmNicSecurityGroupResult( - string securityGroupId, - - string securityGroupName) - { - SecurityGroupId = securityGroupId; - SecurityGroupName = securityGroupName; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmPrimaryNicLinkNicResult.cs b/sdk/dotnet/Outputs/GetVmPrimaryNicLinkNicResult.cs deleted file mode 100644 index f3570cc..0000000 --- a/sdk/dotnet/Outputs/GetVmPrimaryNicLinkNicResult.cs +++ /dev/null @@ -1,49 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmPrimaryNicLinkNicResult - { - /// - /// If true, the NIC is deleted when the VM is terminated. - /// - public readonly bool DeleteOnVmDeletion; - /// - /// The device index for the NIC attachment (between `1` and `7`, both included). - /// - public readonly string DeviceNumber; - /// - /// The ID of the NIC to attach. - /// - public readonly string LinkNicId; - /// - /// The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - /// - public readonly string State; - - [OutputConstructor] - private GetVmPrimaryNicLinkNicResult( - bool deleteOnVmDeletion, - - string deviceNumber, - - string linkNicId, - - string state) - { - DeleteOnVmDeletion = deleteOnVmDeletion; - DeviceNumber = deviceNumber; - LinkNicId = linkNicId; - State = state; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmPrimaryNicLinkPublicIpResult.cs b/sdk/dotnet/Outputs/GetVmPrimaryNicLinkPublicIpResult.cs deleted file mode 100644 index 1eae881..0000000 --- a/sdk/dotnet/Outputs/GetVmPrimaryNicLinkPublicIpResult.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmPrimaryNicLinkPublicIpResult - { - /// - /// The name of the public DNS. - /// - public readonly string PublicDnsName; - /// - /// The public IP of the VM. - /// - public readonly string PublicIp; - /// - /// The account ID of the owner of the public IP. - /// - public readonly string PublicIpAccountId; - - [OutputConstructor] - private GetVmPrimaryNicLinkPublicIpResult( - string publicDnsName, - - string publicIp, - - string publicIpAccountId) - { - PublicDnsName = publicDnsName; - PublicIp = publicIp; - PublicIpAccountId = publicIpAccountId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmPrimaryNicPrivateIpLinkPublicIpResult.cs b/sdk/dotnet/Outputs/GetVmPrimaryNicPrivateIpLinkPublicIpResult.cs deleted file mode 100644 index c5c1871..0000000 --- a/sdk/dotnet/Outputs/GetVmPrimaryNicPrivateIpLinkPublicIpResult.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmPrimaryNicPrivateIpLinkPublicIpResult - { - /// - /// The name of the public DNS. - /// - public readonly string PublicDnsName; - /// - /// The public IP of the VM. - /// - public readonly string PublicIp; - /// - /// The account ID of the owner of the public IP. - /// - public readonly string PublicIpAccountId; - - [OutputConstructor] - private GetVmPrimaryNicPrivateIpLinkPublicIpResult( - string publicDnsName, - - string publicIp, - - string publicIpAccountId) - { - PublicDnsName = publicDnsName; - PublicIp = publicIp; - PublicIpAccountId = publicIpAccountId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmPrimaryNicPrivateIpResult.cs b/sdk/dotnet/Outputs/GetVmPrimaryNicPrivateIpResult.cs deleted file mode 100644 index b5e22d3..0000000 --- a/sdk/dotnet/Outputs/GetVmPrimaryNicPrivateIpResult.cs +++ /dev/null @@ -1,49 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmPrimaryNicPrivateIpResult - { - /// - /// If true, the IP is the primary private IP of the NIC. - /// - public readonly bool IsPrimary; - /// - /// Information about the public IP associated with the NIC. - /// - public readonly ImmutableArray LinkPublicIps; - /// - /// The name of the private DNS. - /// - public readonly string PrivateDnsName; - /// - /// The primary private IP of the VM. - /// - public readonly string PrivateIp; - - [OutputConstructor] - private GetVmPrimaryNicPrivateIpResult( - bool isPrimary, - - ImmutableArray linkPublicIps, - - string privateDnsName, - - string privateIp) - { - IsPrimary = isPrimary; - LinkPublicIps = linkPublicIps; - PrivateDnsName = privateDnsName; - PrivateIp = privateIp; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmPrimaryNicResult.cs b/sdk/dotnet/Outputs/GetVmPrimaryNicResult.cs deleted file mode 100644 index a94d101..0000000 --- a/sdk/dotnet/Outputs/GetVmPrimaryNicResult.cs +++ /dev/null @@ -1,134 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmPrimaryNicResult - { - /// - /// The account ID of the owner of the NIC. - /// - public readonly string AccountId; - /// - /// If true, the NIC is deleted when the VM is terminated. - /// - public readonly bool DeleteOnVmDeletion; - /// - /// The description of the NIC. - /// - public readonly string Description; - /// - /// The device index for the NIC attachment (between `1` and `7`, both included). - /// - public readonly int DeviceNumber; - /// - /// (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - /// - public readonly bool IsSourceDestChecked; - /// - /// Information about the network interface card (NIC). - /// - public readonly ImmutableArray LinkNics; - /// - /// Information about the public IP associated with the NIC. - /// - public readonly ImmutableArray LinkPublicIps; - /// - /// The Media Access Control (MAC) address of the NIC. - /// - public readonly string MacAddress; - /// - /// The ID of the Net for the NIC. - /// - public readonly string NetId; - /// - /// The ID of the NIC. - /// - public readonly string NicId; - /// - /// The name of the private DNS. - /// - public readonly string PrivateDnsName; - /// - /// The private IP or IPs of the NIC. - /// - public readonly ImmutableArray PrivateIps; - public readonly int SecondaryPrivateIpCount; - public readonly ImmutableArray SecurityGroupIds; - /// - /// One or more security groups associated with the VM. - /// - public readonly ImmutableArray SecurityGroups; - /// - /// The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - /// - public readonly string State; - /// - /// The ID of the Subnet for the VM. - /// - public readonly string SubnetId; - - [OutputConstructor] - private GetVmPrimaryNicResult( - string accountId, - - bool deleteOnVmDeletion, - - string description, - - int deviceNumber, - - bool isSourceDestChecked, - - ImmutableArray linkNics, - - ImmutableArray linkPublicIps, - - string macAddress, - - string netId, - - string nicId, - - string privateDnsName, - - ImmutableArray privateIps, - - int secondaryPrivateIpCount, - - ImmutableArray securityGroupIds, - - ImmutableArray securityGroups, - - string state, - - string subnetId) - { - AccountId = accountId; - DeleteOnVmDeletion = deleteOnVmDeletion; - Description = description; - DeviceNumber = deviceNumber; - IsSourceDestChecked = isSourceDestChecked; - LinkNics = linkNics; - LinkPublicIps = linkPublicIps; - MacAddress = macAddress; - NetId = netId; - NicId = nicId; - PrivateDnsName = privateDnsName; - PrivateIps = privateIps; - SecondaryPrivateIpCount = secondaryPrivateIpCount; - SecurityGroupIds = securityGroupIds; - SecurityGroups = securityGroups; - State = state; - SubnetId = subnetId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmPrimaryNicSecurityGroupResult.cs b/sdk/dotnet/Outputs/GetVmPrimaryNicSecurityGroupResult.cs deleted file mode 100644 index 6fae540..0000000 --- a/sdk/dotnet/Outputs/GetVmPrimaryNicSecurityGroupResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmPrimaryNicSecurityGroupResult - { - /// - /// The ID of the security group. - /// - public readonly string SecurityGroupId; - /// - /// The name of the security group. - /// - public readonly string SecurityGroupName; - - [OutputConstructor] - private GetVmPrimaryNicSecurityGroupResult( - string securityGroupId, - - string securityGroupName) - { - SecurityGroupId = securityGroupId; - SecurityGroupName = securityGroupName; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmSecurityGroupResult.cs b/sdk/dotnet/Outputs/GetVmSecurityGroupResult.cs deleted file mode 100644 index c724669..0000000 --- a/sdk/dotnet/Outputs/GetVmSecurityGroupResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmSecurityGroupResult - { - /// - /// The ID of the security group. - /// - public readonly string SecurityGroupId; - /// - /// The name of the security group. - /// - public readonly string SecurityGroupName; - - [OutputConstructor] - private GetVmSecurityGroupResult( - string securityGroupId, - - string securityGroupName) - { - SecurityGroupId = securityGroupId; - SecurityGroupName = securityGroupName; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmStateFilterResult.cs b/sdk/dotnet/Outputs/GetVmStateFilterResult.cs deleted file mode 100644 index 38c6923..0000000 --- a/sdk/dotnet/Outputs/GetVmStateFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmStateFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetVmStateFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmStateMaintenanceEventResult.cs b/sdk/dotnet/Outputs/GetVmStateMaintenanceEventResult.cs deleted file mode 100644 index 17b16a9..0000000 --- a/sdk/dotnet/Outputs/GetVmStateMaintenanceEventResult.cs +++ /dev/null @@ -1,49 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmStateMaintenanceEventResult - { - /// - /// The code of the event (`system-reboot` \| `system-maintenance`). - /// - public readonly string Code; - /// - /// The description of the event. - /// - public readonly string Description; - /// - /// The latest scheduled end time for the event. - /// - public readonly string NotAfter; - /// - /// The earliest scheduled start time for the event. - /// - public readonly string NotBefore; - - [OutputConstructor] - private GetVmStateMaintenanceEventResult( - string code, - - string description, - - string notAfter, - - string notBefore) - { - Code = code; - Description = description; - NotAfter = notAfter; - NotBefore = notBefore; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmStatesFilterResult.cs b/sdk/dotnet/Outputs/GetVmStatesFilterResult.cs deleted file mode 100644 index c851e29..0000000 --- a/sdk/dotnet/Outputs/GetVmStatesFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmStatesFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetVmStatesFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmStatesVmStateMaintenanceEventResult.cs b/sdk/dotnet/Outputs/GetVmStatesVmStateMaintenanceEventResult.cs deleted file mode 100644 index 0617066..0000000 --- a/sdk/dotnet/Outputs/GetVmStatesVmStateMaintenanceEventResult.cs +++ /dev/null @@ -1,49 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmStatesVmStateMaintenanceEventResult - { - /// - /// The code of the event (`system-reboot` \| `system-maintenance`). - /// - public readonly string Code; - /// - /// The description of the event. - /// - public readonly string Description; - /// - /// The latest scheduled end time for the event. - /// - public readonly string NotAfter; - /// - /// The earliest scheduled start time for the event. - /// - public readonly string NotBefore; - - [OutputConstructor] - private GetVmStatesVmStateMaintenanceEventResult( - string code, - - string description, - - string notAfter, - - string notBefore) - { - Code = code; - Description = description; - NotAfter = notAfter; - NotBefore = notBefore; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmStatesVmStateResult.cs b/sdk/dotnet/Outputs/GetVmStatesVmStateResult.cs deleted file mode 100644 index 9c8a8e4..0000000 --- a/sdk/dotnet/Outputs/GetVmStatesVmStateResult.cs +++ /dev/null @@ -1,56 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmStatesVmStateResult - { - /// - /// If true, includes the status of all VMs. By default or if set to false, only includes the status of running VMs. - /// - public readonly bool? AllVms; - /// - /// One or more scheduled events associated with the VM. - /// - public readonly ImmutableArray MaintenanceEvents; - /// - /// The name of the Subregion of the VM. - /// - public readonly string SubregionName; - /// - /// The ID of the VM. - /// - public readonly string? VmId; - /// - /// The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - /// - public readonly string VmState; - - [OutputConstructor] - private GetVmStatesVmStateResult( - bool? allVms, - - ImmutableArray maintenanceEvents, - - string subregionName, - - string? vmId, - - string vmState) - { - AllVms = allVms; - MaintenanceEvents = maintenanceEvents; - SubregionName = subregionName; - VmId = vmId; - VmState = vmState; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmTagResult.cs b/sdk/dotnet/Outputs/GetVmTagResult.cs deleted file mode 100644 index d37c43a..0000000 --- a/sdk/dotnet/Outputs/GetVmTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetVmTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmTypesFilterResult.cs b/sdk/dotnet/Outputs/GetVmTypesFilterResult.cs deleted file mode 100644 index 2331947..0000000 --- a/sdk/dotnet/Outputs/GetVmTypesFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmTypesFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetVmTypesFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmTypesVmTypeResult.cs b/sdk/dotnet/Outputs/GetVmTypesVmTypeResult.cs deleted file mode 100644 index 15eba5c..0000000 --- a/sdk/dotnet/Outputs/GetVmTypesVmTypeResult.cs +++ /dev/null @@ -1,70 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmTypesVmTypeResult - { - /// - /// This parameter is not available. It is present in our API for the sake of historical compatibility with AWS. - /// - public readonly bool BsuOptimized; - /// - /// The maximum number of private IPs per network interface card (NIC). - /// - public readonly int MaxPrivateIps; - /// - /// The amount of memory, in gibibytes. - /// - public readonly int MemorySize; - /// - /// The number of vCores. - /// - public readonly int VcoreCount; - /// - /// The name of the VM type. - /// - public readonly string VmTypeName; - /// - /// The maximum number of ephemeral storage disks. - /// - public readonly int VolumeCount; - /// - /// The size of one ephemeral storage disk, in gibibytes (GiB). - /// - public readonly int VolumeSize; - - [OutputConstructor] - private GetVmTypesVmTypeResult( - bool bsuOptimized, - - int maxPrivateIps, - - int memorySize, - - int vcoreCount, - - string vmTypeName, - - int volumeCount, - - int volumeSize) - { - BsuOptimized = bsuOptimized; - MaxPrivateIps = maxPrivateIps; - MemorySize = memorySize; - VcoreCount = vcoreCount; - VmTypeName = vmTypeName; - VolumeCount = volumeCount; - VolumeSize = volumeSize; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmsFilterResult.cs b/sdk/dotnet/Outputs/GetVmsFilterResult.cs deleted file mode 100644 index 6bb9a54..0000000 --- a/sdk/dotnet/Outputs/GetVmsFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmsFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetVmsFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmsVmBlockDeviceMappingsCreatedBsusResult.cs b/sdk/dotnet/Outputs/GetVmsVmBlockDeviceMappingsCreatedBsusResult.cs deleted file mode 100644 index c750709..0000000 --- a/sdk/dotnet/Outputs/GetVmsVmBlockDeviceMappingsCreatedBsusResult.cs +++ /dev/null @@ -1,56 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmsVmBlockDeviceMappingsCreatedBsusResult - { - /// - /// If true, the NIC is deleted when the VM is terminated. - /// - public readonly bool DeleteOnVmDeletion; - /// - /// The date and time of attachment of the volume to the VM, in ISO 8601 date-time format. - /// - public readonly string LinkDate; - /// - /// The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - /// - public readonly string State; - /// - /// The key/value combinations of the tags associated with the VMs, in the following format: `TAGKEY=TAGVALUE`. - /// - public readonly ImmutableArray Tags; - /// - /// The ID of the volume. - /// - public readonly string VolumeId; - - [OutputConstructor] - private GetVmsVmBlockDeviceMappingsCreatedBsusResult( - bool deleteOnVmDeletion, - - string linkDate, - - string state, - - ImmutableArray tags, - - string volumeId) - { - DeleteOnVmDeletion = deleteOnVmDeletion; - LinkDate = linkDate; - State = state; - Tags = tags; - VolumeId = volumeId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmsVmBlockDeviceMappingsCreatedBsusTagResult.cs b/sdk/dotnet/Outputs/GetVmsVmBlockDeviceMappingsCreatedBsusTagResult.cs deleted file mode 100644 index e8c6d5f..0000000 --- a/sdk/dotnet/Outputs/GetVmsVmBlockDeviceMappingsCreatedBsusTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmsVmBlockDeviceMappingsCreatedBsusTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetVmsVmBlockDeviceMappingsCreatedBsusTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmsVmBlockDeviceMappingsCreatedResult.cs b/sdk/dotnet/Outputs/GetVmsVmBlockDeviceMappingsCreatedResult.cs deleted file mode 100644 index ca20089..0000000 --- a/sdk/dotnet/Outputs/GetVmsVmBlockDeviceMappingsCreatedResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmsVmBlockDeviceMappingsCreatedResult - { - /// - /// Information about the created BSU volume. - /// - public readonly ImmutableArray Bsus; - /// - /// The name of the device. - /// - public readonly string DeviceName; - - [OutputConstructor] - private GetVmsVmBlockDeviceMappingsCreatedResult( - ImmutableArray bsus, - - string deviceName) - { - Bsus = bsus; - DeviceName = deviceName; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmsVmNicLinkNicResult.cs b/sdk/dotnet/Outputs/GetVmsVmNicLinkNicResult.cs deleted file mode 100644 index c470bd3..0000000 --- a/sdk/dotnet/Outputs/GetVmsVmNicLinkNicResult.cs +++ /dev/null @@ -1,49 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmsVmNicLinkNicResult - { - /// - /// If true, the NIC is deleted when the VM is terminated. - /// - public readonly bool DeleteOnVmDeletion; - /// - /// The device index for the NIC attachment (between `1` and `7`, both included). - /// - public readonly string DeviceNumber; - /// - /// The ID of the NIC to attach. - /// - public readonly string LinkNicId; - /// - /// The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - /// - public readonly string State; - - [OutputConstructor] - private GetVmsVmNicLinkNicResult( - bool deleteOnVmDeletion, - - string deviceNumber, - - string linkNicId, - - string state) - { - DeleteOnVmDeletion = deleteOnVmDeletion; - DeviceNumber = deviceNumber; - LinkNicId = linkNicId; - State = state; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmsVmNicLinkPublicIpResult.cs b/sdk/dotnet/Outputs/GetVmsVmNicLinkPublicIpResult.cs deleted file mode 100644 index 9595838..0000000 --- a/sdk/dotnet/Outputs/GetVmsVmNicLinkPublicIpResult.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmsVmNicLinkPublicIpResult - { - /// - /// The name of the public DNS. - /// - public readonly string PublicDnsName; - /// - /// The public IP of the VM. - /// - public readonly string PublicIp; - /// - /// The account ID of the owner of the public IP. - /// - public readonly string PublicIpAccountId; - - [OutputConstructor] - private GetVmsVmNicLinkPublicIpResult( - string publicDnsName, - - string publicIp, - - string publicIpAccountId) - { - PublicDnsName = publicDnsName; - PublicIp = publicIp; - PublicIpAccountId = publicIpAccountId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmsVmNicPrivateIpLinkPublicIpResult.cs b/sdk/dotnet/Outputs/GetVmsVmNicPrivateIpLinkPublicIpResult.cs deleted file mode 100644 index daa89d3..0000000 --- a/sdk/dotnet/Outputs/GetVmsVmNicPrivateIpLinkPublicIpResult.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmsVmNicPrivateIpLinkPublicIpResult - { - /// - /// The name of the public DNS. - /// - public readonly string PublicDnsName; - /// - /// The public IP of the VM. - /// - public readonly string PublicIp; - /// - /// The account ID of the owner of the public IP. - /// - public readonly string PublicIpAccountId; - - [OutputConstructor] - private GetVmsVmNicPrivateIpLinkPublicIpResult( - string publicDnsName, - - string publicIp, - - string publicIpAccountId) - { - PublicDnsName = publicDnsName; - PublicIp = publicIp; - PublicIpAccountId = publicIpAccountId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmsVmNicPrivateIpResult.cs b/sdk/dotnet/Outputs/GetVmsVmNicPrivateIpResult.cs deleted file mode 100644 index bf06414..0000000 --- a/sdk/dotnet/Outputs/GetVmsVmNicPrivateIpResult.cs +++ /dev/null @@ -1,49 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmsVmNicPrivateIpResult - { - /// - /// If true, the IP is the primary private IP of the NIC. - /// - public readonly bool IsPrimary; - /// - /// Information about the public IP associated with the NIC. - /// - public readonly ImmutableArray LinkPublicIps; - /// - /// The name of the private DNS. - /// - public readonly string PrivateDnsName; - /// - /// The primary private IP of the VM. - /// - public readonly string PrivateIp; - - [OutputConstructor] - private GetVmsVmNicPrivateIpResult( - bool isPrimary, - - ImmutableArray linkPublicIps, - - string privateDnsName, - - string privateIp) - { - IsPrimary = isPrimary; - LinkPublicIps = linkPublicIps; - PrivateDnsName = privateDnsName; - PrivateIp = privateIp; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmsVmNicResult.cs b/sdk/dotnet/Outputs/GetVmsVmNicResult.cs deleted file mode 100644 index 811c9f7..0000000 --- a/sdk/dotnet/Outputs/GetVmsVmNicResult.cs +++ /dev/null @@ -1,138 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmsVmNicResult - { - /// - /// The account ID of the owner of the NIC. - /// - public readonly string AccountId; - /// - /// If true, the NIC is deleted when the VM is terminated. - /// - public readonly bool DeleteOnVmDeletion; - /// - /// The description of the NIC. - /// - public readonly string Description; - /// - /// The device index for the NIC attachment (between `1` and `7`, both included). - /// - public readonly int DeviceNumber; - /// - /// (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - /// - public readonly bool IsSourceDestChecked; - /// - /// Information about the network interface card (NIC). - /// - public readonly ImmutableArray LinkNics; - /// - /// Information about the public IP associated with the NIC. - /// - public readonly ImmutableArray LinkPublicIps; - /// - /// The Media Access Control (MAC) address of the NIC. - /// - public readonly string MacAddress; - /// - /// The ID of the Net for the NIC. - /// - public readonly string NetId; - /// - /// The ID of the NIC. - /// - public readonly string NicId; - /// - /// The name of the private DNS. - /// - public readonly string PrivateDnsName; - /// - /// The private IP or IPs of the NIC. - /// - public readonly ImmutableArray PrivateIps; - public readonly int SecondaryPrivateIpCount; - public readonly ImmutableArray SecurityGroupIds; - /// - /// One or more security groups associated with the VM. - /// - public readonly ImmutableArray SecurityGroups; - public readonly ImmutableArray SecurityGroupsNames; - /// - /// The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - /// - public readonly string State; - /// - /// The ID of the Subnet for the VM. - /// - public readonly string SubnetId; - - [OutputConstructor] - private GetVmsVmNicResult( - string accountId, - - bool deleteOnVmDeletion, - - string description, - - int deviceNumber, - - bool isSourceDestChecked, - - ImmutableArray linkNics, - - ImmutableArray linkPublicIps, - - string macAddress, - - string netId, - - string nicId, - - string privateDnsName, - - ImmutableArray privateIps, - - int secondaryPrivateIpCount, - - ImmutableArray securityGroupIds, - - ImmutableArray securityGroups, - - ImmutableArray securityGroupsNames, - - string state, - - string subnetId) - { - AccountId = accountId; - DeleteOnVmDeletion = deleteOnVmDeletion; - Description = description; - DeviceNumber = deviceNumber; - IsSourceDestChecked = isSourceDestChecked; - LinkNics = linkNics; - LinkPublicIps = linkPublicIps; - MacAddress = macAddress; - NetId = netId; - NicId = nicId; - PrivateDnsName = privateDnsName; - PrivateIps = privateIps; - SecondaryPrivateIpCount = secondaryPrivateIpCount; - SecurityGroupIds = securityGroupIds; - SecurityGroups = securityGroups; - SecurityGroupsNames = securityGroupsNames; - State = state; - SubnetId = subnetId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmsVmNicSecurityGroupResult.cs b/sdk/dotnet/Outputs/GetVmsVmNicSecurityGroupResult.cs deleted file mode 100644 index 2475530..0000000 --- a/sdk/dotnet/Outputs/GetVmsVmNicSecurityGroupResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmsVmNicSecurityGroupResult - { - /// - /// The ID of the security group. - /// - public readonly string SecurityGroupId; - /// - /// The name of the security group. - /// - public readonly string SecurityGroupName; - - [OutputConstructor] - private GetVmsVmNicSecurityGroupResult( - string securityGroupId, - - string securityGroupName) - { - SecurityGroupId = securityGroupId; - SecurityGroupName = securityGroupName; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmsVmPrimaryNicLinkNicResult.cs b/sdk/dotnet/Outputs/GetVmsVmPrimaryNicLinkNicResult.cs deleted file mode 100644 index a0ac30b..0000000 --- a/sdk/dotnet/Outputs/GetVmsVmPrimaryNicLinkNicResult.cs +++ /dev/null @@ -1,49 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmsVmPrimaryNicLinkNicResult - { - /// - /// If true, the NIC is deleted when the VM is terminated. - /// - public readonly bool DeleteOnVmDeletion; - /// - /// The device index for the NIC attachment (between `1` and `7`, both included). - /// - public readonly string DeviceNumber; - /// - /// The ID of the NIC to attach. - /// - public readonly string LinkNicId; - /// - /// The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - /// - public readonly string State; - - [OutputConstructor] - private GetVmsVmPrimaryNicLinkNicResult( - bool deleteOnVmDeletion, - - string deviceNumber, - - string linkNicId, - - string state) - { - DeleteOnVmDeletion = deleteOnVmDeletion; - DeviceNumber = deviceNumber; - LinkNicId = linkNicId; - State = state; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmsVmPrimaryNicLinkPublicIpResult.cs b/sdk/dotnet/Outputs/GetVmsVmPrimaryNicLinkPublicIpResult.cs deleted file mode 100644 index ba6a9a7..0000000 --- a/sdk/dotnet/Outputs/GetVmsVmPrimaryNicLinkPublicIpResult.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmsVmPrimaryNicLinkPublicIpResult - { - /// - /// The name of the public DNS. - /// - public readonly string PublicDnsName; - /// - /// The public IP of the VM. - /// - public readonly string PublicIp; - /// - /// The account ID of the owner of the public IP. - /// - public readonly string PublicIpAccountId; - - [OutputConstructor] - private GetVmsVmPrimaryNicLinkPublicIpResult( - string publicDnsName, - - string publicIp, - - string publicIpAccountId) - { - PublicDnsName = publicDnsName; - PublicIp = publicIp; - PublicIpAccountId = publicIpAccountId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmsVmPrimaryNicPrivateIpLinkPublicIpResult.cs b/sdk/dotnet/Outputs/GetVmsVmPrimaryNicPrivateIpLinkPublicIpResult.cs deleted file mode 100644 index 60d858a..0000000 --- a/sdk/dotnet/Outputs/GetVmsVmPrimaryNicPrivateIpLinkPublicIpResult.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmsVmPrimaryNicPrivateIpLinkPublicIpResult - { - /// - /// The name of the public DNS. - /// - public readonly string PublicDnsName; - /// - /// The public IP of the VM. - /// - public readonly string PublicIp; - /// - /// The account ID of the owner of the public IP. - /// - public readonly string PublicIpAccountId; - - [OutputConstructor] - private GetVmsVmPrimaryNicPrivateIpLinkPublicIpResult( - string publicDnsName, - - string publicIp, - - string publicIpAccountId) - { - PublicDnsName = publicDnsName; - PublicIp = publicIp; - PublicIpAccountId = publicIpAccountId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmsVmPrimaryNicPrivateIpResult.cs b/sdk/dotnet/Outputs/GetVmsVmPrimaryNicPrivateIpResult.cs deleted file mode 100644 index 1bf8edc..0000000 --- a/sdk/dotnet/Outputs/GetVmsVmPrimaryNicPrivateIpResult.cs +++ /dev/null @@ -1,49 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmsVmPrimaryNicPrivateIpResult - { - /// - /// If true, the IP is the primary private IP of the NIC. - /// - public readonly bool IsPrimary; - /// - /// Information about the public IP associated with the NIC. - /// - public readonly ImmutableArray LinkPublicIps; - /// - /// The name of the private DNS. - /// - public readonly string PrivateDnsName; - /// - /// The primary private IP of the VM. - /// - public readonly string PrivateIp; - - [OutputConstructor] - private GetVmsVmPrimaryNicPrivateIpResult( - bool isPrimary, - - ImmutableArray linkPublicIps, - - string privateDnsName, - - string privateIp) - { - IsPrimary = isPrimary; - LinkPublicIps = linkPublicIps; - PrivateDnsName = privateDnsName; - PrivateIp = privateIp; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmsVmPrimaryNicResult.cs b/sdk/dotnet/Outputs/GetVmsVmPrimaryNicResult.cs deleted file mode 100644 index 93757c6..0000000 --- a/sdk/dotnet/Outputs/GetVmsVmPrimaryNicResult.cs +++ /dev/null @@ -1,134 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmsVmPrimaryNicResult - { - /// - /// The account ID of the owner of the NIC. - /// - public readonly string AccountId; - /// - /// If true, the NIC is deleted when the VM is terminated. - /// - public readonly bool DeleteOnVmDeletion; - /// - /// The description of the NIC. - /// - public readonly string Description; - /// - /// The device index for the NIC attachment (between `1` and `7`, both included). - /// - public readonly int DeviceNumber; - /// - /// (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - /// - public readonly bool IsSourceDestChecked; - /// - /// Information about the network interface card (NIC). - /// - public readonly ImmutableArray LinkNics; - /// - /// Information about the public IP associated with the NIC. - /// - public readonly ImmutableArray LinkPublicIps; - /// - /// The Media Access Control (MAC) address of the NIC. - /// - public readonly string MacAddress; - /// - /// The ID of the Net for the NIC. - /// - public readonly string NetId; - /// - /// The ID of the NIC. - /// - public readonly string NicId; - /// - /// The name of the private DNS. - /// - public readonly string PrivateDnsName; - /// - /// The private IP or IPs of the NIC. - /// - public readonly ImmutableArray PrivateIps; - public readonly int SecondaryPrivateIpCount; - public readonly ImmutableArray SecurityGroupIds; - /// - /// One or more security groups associated with the VM. - /// - public readonly ImmutableArray SecurityGroups; - /// - /// The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - /// - public readonly string State; - /// - /// The ID of the Subnet for the VM. - /// - public readonly string SubnetId; - - [OutputConstructor] - private GetVmsVmPrimaryNicResult( - string accountId, - - bool deleteOnVmDeletion, - - string description, - - int deviceNumber, - - bool isSourceDestChecked, - - ImmutableArray linkNics, - - ImmutableArray linkPublicIps, - - string macAddress, - - string netId, - - string nicId, - - string privateDnsName, - - ImmutableArray privateIps, - - int secondaryPrivateIpCount, - - ImmutableArray securityGroupIds, - - ImmutableArray securityGroups, - - string state, - - string subnetId) - { - AccountId = accountId; - DeleteOnVmDeletion = deleteOnVmDeletion; - Description = description; - DeviceNumber = deviceNumber; - IsSourceDestChecked = isSourceDestChecked; - LinkNics = linkNics; - LinkPublicIps = linkPublicIps; - MacAddress = macAddress; - NetId = netId; - NicId = nicId; - PrivateDnsName = privateDnsName; - PrivateIps = privateIps; - SecondaryPrivateIpCount = secondaryPrivateIpCount; - SecurityGroupIds = securityGroupIds; - SecurityGroups = securityGroups; - State = state; - SubnetId = subnetId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmsVmPrimaryNicSecurityGroupResult.cs b/sdk/dotnet/Outputs/GetVmsVmPrimaryNicSecurityGroupResult.cs deleted file mode 100644 index 941b5b7..0000000 --- a/sdk/dotnet/Outputs/GetVmsVmPrimaryNicSecurityGroupResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmsVmPrimaryNicSecurityGroupResult - { - /// - /// The ID of the security group. - /// - public readonly string SecurityGroupId; - /// - /// The name of the security group. - /// - public readonly string SecurityGroupName; - - [OutputConstructor] - private GetVmsVmPrimaryNicSecurityGroupResult( - string securityGroupId, - - string securityGroupName) - { - SecurityGroupId = securityGroupId; - SecurityGroupName = securityGroupName; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmsVmResult.cs b/sdk/dotnet/Outputs/GetVmsVmResult.cs deleted file mode 100644 index 1bc58dd..0000000 --- a/sdk/dotnet/Outputs/GetVmsVmResult.cs +++ /dev/null @@ -1,280 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmsVmResult - { - /// - /// The architecture of the VM (`i386` \| `x86_64`). - /// - public readonly string Architecture; - /// - /// The block device mapping of the VM. - /// - public readonly ImmutableArray BlockDeviceMappingsCreateds; - public readonly bool BsuOptimized; - /// - /// The idempotency token provided when launching the VM. - /// - public readonly string ClientToken; - /// - /// The date and time of creation of the VM. - /// - public readonly string CreationDate; - /// - /// If true, you cannot delete the VM unless you change this parameter back to false. - /// - public readonly bool DeletionProtection; - /// - /// The hypervisor type of the VMs (`ovm` \| `xen`). - /// - public readonly string Hypervisor; - /// - /// The ID of the OMI used to create the VM. - /// - public readonly string ImageId; - /// - /// (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - /// - public readonly bool IsSourceDestChecked; - /// - /// The name of the keypair used when launching the VM. - /// - public readonly string KeypairName; - /// - /// The number for the VM when launching a group of several VMs (for example, `0`, `1`, `2`, and so on). - /// - public readonly int LaunchNumber; - /// - /// If true, nested virtualization is enabled. If false, it is disabled. - /// - public readonly bool NestedVirtualization; - /// - /// The ID of the Net for the NIC. - /// - public readonly string NetId; - /// - /// (Net only) The network interface cards (NICs) the VMs are attached to. - /// - public readonly ImmutableArray Nics; - /// - /// Indicates the operating system (OS) of the VM. - /// - public readonly string OsFamily; - /// - /// The performance of the VM (`medium` \| `high` \| `highest`). - /// - public readonly string Performance; - public readonly string PlacementSubregionName; - public readonly string PlacementTenancy; - public readonly ImmutableArray PrimaryNics; - /// - /// The name of the private DNS. - /// - public readonly string PrivateDnsName; - /// - /// The primary private IP of the VM. - /// - public readonly string PrivateIp; - /// - /// The private IP or IPs of the NIC. - /// - public readonly ImmutableArray PrivateIps; - /// - /// The product codes associated with the OMI used to create the VM. - /// - public readonly ImmutableArray ProductCodes; - /// - /// The name of the public DNS. - /// - public readonly string PublicDnsName; - /// - /// The public IP of the VM. - /// - public readonly string PublicIp; - public readonly string RequestId; - /// - /// The reservation ID of the VM. - /// - public readonly string ReservationId; - /// - /// The name of the root device for the VM (for example, `/dev/vda1`). - /// - public readonly string RootDeviceName; - /// - /// The type of root device used by the VM (always `bsu`). - /// - public readonly string RootDeviceType; - public readonly ImmutableArray SecurityGroupIds; - public readonly ImmutableArray SecurityGroupNames; - /// - /// One or more security groups associated with the VM. - /// - public readonly ImmutableArray SecurityGroups; - /// - /// The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - /// - public readonly string State; - /// - /// The reason explaining the current state of the VM. - /// - public readonly string StateReason; - /// - /// The ID of the Subnet for the VM. - /// - public readonly string SubnetId; - /// - /// The key/value combinations of the tags associated with the VMs, in the following format: `TAGKEY=TAGVALUE`. - /// - public readonly ImmutableArray Tags; - /// - /// The Base64-encoded MIME user data. - /// - public readonly string UserData; - /// - /// The ID of the VM. - /// - public readonly string VmId; - /// - /// The VM behavior when you stop it. If set to `stop`, the VM stops. If set to `restart`, the VM stops then automatically restarts. If set to `terminate`, the VM stops and is deleted. - /// - public readonly string VmInitiatedShutdownBehavior; - /// - /// The type of VM. For more information, see [Instance Types](https://docs.outscale.com/en/userguide/Instance-Types.html). - /// - public readonly string VmType; - - [OutputConstructor] - private GetVmsVmResult( - string architecture, - - ImmutableArray blockDeviceMappingsCreateds, - - bool bsuOptimized, - - string clientToken, - - string creationDate, - - bool deletionProtection, - - string hypervisor, - - string imageId, - - bool isSourceDestChecked, - - string keypairName, - - int launchNumber, - - bool nestedVirtualization, - - string netId, - - ImmutableArray nics, - - string osFamily, - - string performance, - - string placementSubregionName, - - string placementTenancy, - - ImmutableArray primaryNics, - - string privateDnsName, - - string privateIp, - - ImmutableArray privateIps, - - ImmutableArray productCodes, - - string publicDnsName, - - string publicIp, - - string requestId, - - string reservationId, - - string rootDeviceName, - - string rootDeviceType, - - ImmutableArray securityGroupIds, - - ImmutableArray securityGroupNames, - - ImmutableArray securityGroups, - - string state, - - string stateReason, - - string subnetId, - - ImmutableArray tags, - - string userData, - - string vmId, - - string vmInitiatedShutdownBehavior, - - string vmType) - { - Architecture = architecture; - BlockDeviceMappingsCreateds = blockDeviceMappingsCreateds; - BsuOptimized = bsuOptimized; - ClientToken = clientToken; - CreationDate = creationDate; - DeletionProtection = deletionProtection; - Hypervisor = hypervisor; - ImageId = imageId; - IsSourceDestChecked = isSourceDestChecked; - KeypairName = keypairName; - LaunchNumber = launchNumber; - NestedVirtualization = nestedVirtualization; - NetId = netId; - Nics = nics; - OsFamily = osFamily; - Performance = performance; - PlacementSubregionName = placementSubregionName; - PlacementTenancy = placementTenancy; - PrimaryNics = primaryNics; - PrivateDnsName = privateDnsName; - PrivateIp = privateIp; - PrivateIps = privateIps; - ProductCodes = productCodes; - PublicDnsName = publicDnsName; - PublicIp = publicIp; - RequestId = requestId; - ReservationId = reservationId; - RootDeviceName = rootDeviceName; - RootDeviceType = rootDeviceType; - SecurityGroupIds = securityGroupIds; - SecurityGroupNames = securityGroupNames; - SecurityGroups = securityGroups; - State = state; - StateReason = stateReason; - SubnetId = subnetId; - Tags = tags; - UserData = userData; - VmId = vmId; - VmInitiatedShutdownBehavior = vmInitiatedShutdownBehavior; - VmType = vmType; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmsVmSecurityGroupResult.cs b/sdk/dotnet/Outputs/GetVmsVmSecurityGroupResult.cs deleted file mode 100644 index f541c67..0000000 --- a/sdk/dotnet/Outputs/GetVmsVmSecurityGroupResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmsVmSecurityGroupResult - { - /// - /// The ID of the security group. - /// - public readonly string SecurityGroupId; - /// - /// The name of the security group. - /// - public readonly string SecurityGroupName; - - [OutputConstructor] - private GetVmsVmSecurityGroupResult( - string securityGroupId, - - string securityGroupName) - { - SecurityGroupId = securityGroupId; - SecurityGroupName = securityGroupName; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVmsVmTagResult.cs b/sdk/dotnet/Outputs/GetVmsVmTagResult.cs deleted file mode 100644 index e3ac8ac..0000000 --- a/sdk/dotnet/Outputs/GetVmsVmTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVmsVmTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetVmsVmTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVolumeFilterResult.cs b/sdk/dotnet/Outputs/GetVolumeFilterResult.cs deleted file mode 100644 index b80b977..0000000 --- a/sdk/dotnet/Outputs/GetVolumeFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVolumeFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetVolumeFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVolumeLinkedVolumeResult.cs b/sdk/dotnet/Outputs/GetVolumeLinkedVolumeResult.cs deleted file mode 100644 index 4d54fdb..0000000 --- a/sdk/dotnet/Outputs/GetVolumeLinkedVolumeResult.cs +++ /dev/null @@ -1,56 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVolumeLinkedVolumeResult - { - /// - /// If true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - /// - public readonly bool DeleteOnVmDeletion; - /// - /// The name of the device. - /// - public readonly string DeviceName; - /// - /// The state of the volume (`creating` \| `available` \| `in-use` \| `updating` \| `deleting` \| `error`). - /// - public readonly string State; - /// - /// The ID of the VM. - /// - public readonly string VmId; - /// - /// The ID of the volume. - /// - public readonly string VolumeId; - - [OutputConstructor] - private GetVolumeLinkedVolumeResult( - bool deleteOnVmDeletion, - - string deviceName, - - string state, - - string vmId, - - string volumeId) - { - DeleteOnVmDeletion = deleteOnVmDeletion; - DeviceName = deviceName; - State = state; - VmId = vmId; - VolumeId = volumeId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVolumeTagResult.cs b/sdk/dotnet/Outputs/GetVolumeTagResult.cs deleted file mode 100644 index a57d0a7..0000000 --- a/sdk/dotnet/Outputs/GetVolumeTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVolumeTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetVolumeTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVolumesFilterResult.cs b/sdk/dotnet/Outputs/GetVolumesFilterResult.cs deleted file mode 100644 index a691fc0..0000000 --- a/sdk/dotnet/Outputs/GetVolumesFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVolumesFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetVolumesFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVolumesVolumeLinkedVolumeResult.cs b/sdk/dotnet/Outputs/GetVolumesVolumeLinkedVolumeResult.cs deleted file mode 100644 index fdb521b..0000000 --- a/sdk/dotnet/Outputs/GetVolumesVolumeLinkedVolumeResult.cs +++ /dev/null @@ -1,56 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVolumesVolumeLinkedVolumeResult - { - /// - /// If true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - /// - public readonly bool DeleteOnVmDeletion; - /// - /// The name of the device. - /// - public readonly string DeviceName; - /// - /// The state of the volume (`creating` \| `available` \| `in-use` \| `updating` \| `deleting` \| `error`). - /// - public readonly string State; - /// - /// The ID of the VM. - /// - public readonly string VmId; - /// - /// The ID of the volume. - /// - public readonly string VolumeId; - - [OutputConstructor] - private GetVolumesVolumeLinkedVolumeResult( - bool deleteOnVmDeletion, - - string deviceName, - - string state, - - string vmId, - - string volumeId) - { - DeleteOnVmDeletion = deleteOnVmDeletion; - DeviceName = deviceName; - State = state; - VmId = vmId; - VolumeId = volumeId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVolumesVolumeResult.cs b/sdk/dotnet/Outputs/GetVolumesVolumeResult.cs deleted file mode 100644 index 0e9ca50..0000000 --- a/sdk/dotnet/Outputs/GetVolumesVolumeResult.cs +++ /dev/null @@ -1,91 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVolumesVolumeResult - { - /// - /// The date and time of creation of the volume. - /// - public readonly string CreationDate; - /// - /// The number of I/O operations per second (IOPS):<br />- For `io1` volumes, the number of provisioned IOPS.<br />- For `gp2` volumes, the baseline performance of the volume. - /// - public readonly int Iops; - /// - /// Information about your volume attachment. - /// - public readonly ImmutableArray LinkedVolumes; - /// - /// The size of the volume, in gibibytes (GiB). - /// - public readonly int Size; - /// - /// The snapshot from which the volume was created. - /// - public readonly string SnapshotId; - /// - /// The state of the volume (`creating` \| `available` \| `in-use` \| `updating` \| `deleting` \| `error`). - /// - public readonly string State; - /// - /// The Subregion in which the volume was created. - /// - public readonly string SubregionName; - /// - /// The key/value combinations of the tags associated with the volumes, in the following format: `TAGKEY=TAGVALUE`. - /// - public readonly ImmutableArray Tags; - /// - /// The ID of the volume. - /// - public readonly string VolumeId; - /// - /// The type of the volume (`standard` \| `gp2` \| `io1`). - /// - public readonly string VolumeType; - - [OutputConstructor] - private GetVolumesVolumeResult( - string creationDate, - - int iops, - - ImmutableArray linkedVolumes, - - int size, - - string snapshotId, - - string state, - - string subregionName, - - ImmutableArray tags, - - string volumeId, - - string volumeType) - { - CreationDate = creationDate; - Iops = iops; - LinkedVolumes = linkedVolumes; - Size = size; - SnapshotId = snapshotId; - State = state; - SubregionName = subregionName; - Tags = tags; - VolumeId = volumeId; - VolumeType = volumeType; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVolumesVolumeTagResult.cs b/sdk/dotnet/Outputs/GetVolumesVolumeTagResult.cs deleted file mode 100644 index ed79cc0..0000000 --- a/sdk/dotnet/Outputs/GetVolumesVolumeTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVolumesVolumeTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetVolumesVolumeTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVpnConnectionFilterResult.cs b/sdk/dotnet/Outputs/GetVpnConnectionFilterResult.cs deleted file mode 100644 index 13b51bb..0000000 --- a/sdk/dotnet/Outputs/GetVpnConnectionFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVpnConnectionFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetVpnConnectionFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVpnConnectionRouteResult.cs b/sdk/dotnet/Outputs/GetVpnConnectionRouteResult.cs deleted file mode 100644 index 18a8fc5..0000000 --- a/sdk/dotnet/Outputs/GetVpnConnectionRouteResult.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVpnConnectionRouteResult - { - /// - /// The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - /// - public readonly string DestinationIpRange; - /// - /// The type of route (always `static`). - /// - public readonly string RouteType; - /// - /// The state of the IPSEC tunnel (`UP` \| `DOWN`). - /// - public readonly string State; - - [OutputConstructor] - private GetVpnConnectionRouteResult( - string destinationIpRange, - - string routeType, - - string state) - { - DestinationIpRange = destinationIpRange; - RouteType = routeType; - State = state; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVpnConnectionTagResult.cs b/sdk/dotnet/Outputs/GetVpnConnectionTagResult.cs deleted file mode 100644 index 14454d3..0000000 --- a/sdk/dotnet/Outputs/GetVpnConnectionTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVpnConnectionTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetVpnConnectionTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVpnConnectionVgwTelemetryResult.cs b/sdk/dotnet/Outputs/GetVpnConnectionVgwTelemetryResult.cs deleted file mode 100644 index bcb3e41..0000000 --- a/sdk/dotnet/Outputs/GetVpnConnectionVgwTelemetryResult.cs +++ /dev/null @@ -1,56 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVpnConnectionVgwTelemetryResult - { - /// - /// The number of routes accepted through BGP (Border Gateway Protocol) route exchanges. - /// - public readonly int AcceptedRouteCount; - /// - /// The date and time (UTC) of the latest state update. - /// - public readonly string LastStateChangeDate; - /// - /// The IP on the OUTSCALE side of the tunnel. - /// - public readonly string OutsideIpAddress; - /// - /// The state of the IPSEC tunnel (`UP` \| `DOWN`). - /// - public readonly string State; - /// - /// A description of the current state of the tunnel. - /// - public readonly string StateDescription; - - [OutputConstructor] - private GetVpnConnectionVgwTelemetryResult( - int acceptedRouteCount, - - string lastStateChangeDate, - - string outsideIpAddress, - - string state, - - string stateDescription) - { - AcceptedRouteCount = acceptedRouteCount; - LastStateChangeDate = lastStateChangeDate; - OutsideIpAddress = outsideIpAddress; - State = state; - StateDescription = stateDescription; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVpnConnectionsFilterResult.cs b/sdk/dotnet/Outputs/GetVpnConnectionsFilterResult.cs deleted file mode 100644 index 39ca9aa..0000000 --- a/sdk/dotnet/Outputs/GetVpnConnectionsFilterResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVpnConnectionsFilterResult - { - public readonly string Name; - public readonly ImmutableArray Values; - - [OutputConstructor] - private GetVpnConnectionsFilterResult( - string name, - - ImmutableArray values) - { - Name = name; - Values = values; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVpnConnectionsVpnConnectionResult.cs b/sdk/dotnet/Outputs/GetVpnConnectionsVpnConnectionResult.cs deleted file mode 100644 index aeafbeb..0000000 --- a/sdk/dotnet/Outputs/GetVpnConnectionsVpnConnectionResult.cs +++ /dev/null @@ -1,91 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVpnConnectionsVpnConnectionResult - { - /// - /// Example configuration for the client gateway. - /// - public readonly string ClientGatewayConfiguration; - /// - /// The ID of the client gateway used on the client end of the connection. - /// - public readonly string ClientGatewayId; - /// - /// The type of VPN connection (always `ipsec.1`). - /// - public readonly string ConnectionType; - /// - /// Information about one or more static routes associated with the VPN connection, if any. - /// - public readonly ImmutableArray Routes; - /// - /// The state of the IPSEC tunnel (`UP` \| `DOWN`). - /// - public readonly string State; - /// - /// If false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see [CreateVpnConnectionRoute](https://docs.outscale.com/api#createvpnconnectionroute) and [DeleteVpnConnectionRoute](https://docs.outscale.com/api#deletevpnconnectionroute). - /// - public readonly bool? StaticRoutesOnly; - /// - /// The key/value combinations of the tags associated with the VPN connections, in the following format: `TAGKEY=TAGVALUE`. - /// - public readonly ImmutableArray Tags; - /// - /// Information about the current state of one or more of the VPN tunnels. - /// - public readonly ImmutableArray VgwTelemetries; - /// - /// The ID of the virtual gateway used on the OUTSCALE end of the connection. - /// - public readonly string VirtualGatewayId; - /// - /// The ID of the VPN connection. - /// - public readonly string VpnConnectionId; - - [OutputConstructor] - private GetVpnConnectionsVpnConnectionResult( - string clientGatewayConfiguration, - - string clientGatewayId, - - string connectionType, - - ImmutableArray routes, - - string state, - - bool? staticRoutesOnly, - - ImmutableArray tags, - - ImmutableArray vgwTelemetries, - - string virtualGatewayId, - - string vpnConnectionId) - { - ClientGatewayConfiguration = clientGatewayConfiguration; - ClientGatewayId = clientGatewayId; - ConnectionType = connectionType; - Routes = routes; - State = state; - StaticRoutesOnly = staticRoutesOnly; - Tags = tags; - VgwTelemetries = vgwTelemetries; - VirtualGatewayId = virtualGatewayId; - VpnConnectionId = vpnConnectionId; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVpnConnectionsVpnConnectionRouteResult.cs b/sdk/dotnet/Outputs/GetVpnConnectionsVpnConnectionRouteResult.cs deleted file mode 100644 index 17274a6..0000000 --- a/sdk/dotnet/Outputs/GetVpnConnectionsVpnConnectionRouteResult.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVpnConnectionsVpnConnectionRouteResult - { - /// - /// The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - /// - public readonly string DestinationIpRange; - /// - /// The type of route (always `static`). - /// - public readonly string RouteType; - /// - /// The state of the IPSEC tunnel (`UP` \| `DOWN`). - /// - public readonly string State; - - [OutputConstructor] - private GetVpnConnectionsVpnConnectionRouteResult( - string destinationIpRange, - - string routeType, - - string state) - { - DestinationIpRange = destinationIpRange; - RouteType = routeType; - State = state; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVpnConnectionsVpnConnectionTagResult.cs b/sdk/dotnet/Outputs/GetVpnConnectionsVpnConnectionTagResult.cs deleted file mode 100644 index fde8e33..0000000 --- a/sdk/dotnet/Outputs/GetVpnConnectionsVpnConnectionTagResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVpnConnectionsVpnConnectionTagResult - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string Value; - - [OutputConstructor] - private GetVpnConnectionsVpnConnectionTagResult( - string key, - - string value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/GetVpnConnectionsVpnConnectionVgwTelemetryResult.cs b/sdk/dotnet/Outputs/GetVpnConnectionsVpnConnectionVgwTelemetryResult.cs deleted file mode 100644 index 93f9907..0000000 --- a/sdk/dotnet/Outputs/GetVpnConnectionsVpnConnectionVgwTelemetryResult.cs +++ /dev/null @@ -1,56 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class GetVpnConnectionsVpnConnectionVgwTelemetryResult - { - /// - /// The number of routes accepted through BGP (Border Gateway Protocol) route exchanges. - /// - public readonly int AcceptedRouteCount; - /// - /// The date and time (UTC) of the latest state update. - /// - public readonly string LastStateChangeDate; - /// - /// The IP on the OUTSCALE side of the tunnel. - /// - public readonly string OutsideIpAddress; - /// - /// The state of the IPSEC tunnel (`UP` \| `DOWN`). - /// - public readonly string State; - /// - /// A description of the current state of the tunnel. - /// - public readonly string StateDescription; - - [OutputConstructor] - private GetVpnConnectionsVpnConnectionVgwTelemetryResult( - int acceptedRouteCount, - - string lastStateChangeDate, - - string outsideIpAddress, - - string state, - - string stateDescription) - { - AcceptedRouteCount = acceptedRouteCount; - LastStateChangeDate = lastStateChangeDate; - OutsideIpAddress = outsideIpAddress; - State = state; - StateDescription = stateDescription; - } - } -} diff --git a/sdk/dotnet/Outputs/ImageBlockDeviceMapping.cs b/sdk/dotnet/Outputs/ImageBlockDeviceMapping.cs deleted file mode 100644 index 3c3b8ac..0000000 --- a/sdk/dotnet/Outputs/ImageBlockDeviceMapping.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class ImageBlockDeviceMapping - { - /// - /// Information about the BSU volume to create. - /// - public readonly ImmutableArray Bsus; - /// - /// The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - /// - public readonly string? DeviceName; - /// - /// The name of the virtual device (`ephemeralN`). - /// - public readonly string? VirtualDeviceName; - - [OutputConstructor] - private ImageBlockDeviceMapping( - ImmutableArray bsus, - - string? deviceName, - - string? virtualDeviceName) - { - Bsus = bsus; - DeviceName = deviceName; - VirtualDeviceName = virtualDeviceName; - } - } -} diff --git a/sdk/dotnet/Outputs/ImageBlockDeviceMappingBsus.cs b/sdk/dotnet/Outputs/ImageBlockDeviceMappingBsus.cs deleted file mode 100644 index 6bc0801..0000000 --- a/sdk/dotnet/Outputs/ImageBlockDeviceMappingBsus.cs +++ /dev/null @@ -1,59 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class ImageBlockDeviceMappingBsus - { - /// - /// By default or if set to true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - /// - public readonly bool? DeleteOnVmDeletion; - /// - /// The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - /// - public readonly int? Iops; - /// - /// The ID of the snapshot used to create the volume. - /// - public readonly string? SnapshotId; - /// - /// The size of the volume, in gibibytes (GiB).<br /> - /// If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.<br /> - /// If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. - /// - public readonly int? VolumeSize; - /// - /// The type of the volume (`standard` \| `io1` \| `gp2`). If not specified in the request, a `standard` volume is created.<br /> - /// For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - /// - public readonly string? VolumeType; - - [OutputConstructor] - private ImageBlockDeviceMappingBsus( - bool? deleteOnVmDeletion, - - int? iops, - - string? snapshotId, - - int? volumeSize, - - string? volumeType) - { - DeleteOnVmDeletion = deleteOnVmDeletion; - Iops = iops; - SnapshotId = snapshotId; - VolumeSize = volumeSize; - VolumeType = volumeType; - } - } -} diff --git a/sdk/dotnet/Outputs/ImageExportTaskOsuExport.cs b/sdk/dotnet/Outputs/ImageExportTaskOsuExport.cs deleted file mode 100644 index ca0f868..0000000 --- a/sdk/dotnet/Outputs/ImageExportTaskOsuExport.cs +++ /dev/null @@ -1,56 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class ImageExportTaskOsuExport - { - /// - /// The format of the export disk (`qcow2` \| `raw`). - /// - public readonly string DiskImageFormat; - /// - /// Information about the OOS API key. - /// - public readonly ImmutableArray OsuApiKeys; - /// - /// The name of the OOS bucket where you want to export the object. - /// - public readonly string OsuBucket; - /// - /// The URL of the manifest file. - /// - public readonly string? OsuManifestUrl; - /// - /// The prefix for the key of the OOS object. - /// - public readonly string? OsuPrefix; - - [OutputConstructor] - private ImageExportTaskOsuExport( - string diskImageFormat, - - ImmutableArray osuApiKeys, - - string osuBucket, - - string? osuManifestUrl, - - string? osuPrefix) - { - DiskImageFormat = diskImageFormat; - OsuApiKeys = osuApiKeys; - OsuBucket = osuBucket; - OsuManifestUrl = osuManifestUrl; - OsuPrefix = osuPrefix; - } - } -} diff --git a/sdk/dotnet/Outputs/ImageExportTaskOsuExportOsuApiKey.cs b/sdk/dotnet/Outputs/ImageExportTaskOsuExportOsuApiKey.cs deleted file mode 100644 index f344c60..0000000 --- a/sdk/dotnet/Outputs/ImageExportTaskOsuExportOsuApiKey.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class ImageExportTaskOsuExportOsuApiKey - { - /// - /// The API key of the OOS account that enables you to access the bucket. - /// - public readonly string ApiKeyId; - /// - /// The secret key of the OOS account that enables you to access the bucket. - /// - public readonly string SecretKey; - - [OutputConstructor] - private ImageExportTaskOsuExportOsuApiKey( - string apiKeyId, - - string secretKey) - { - ApiKeyId = apiKeyId; - SecretKey = secretKey; - } - } -} diff --git a/sdk/dotnet/Outputs/ImageExportTaskTag.cs b/sdk/dotnet/Outputs/ImageExportTaskTag.cs deleted file mode 100644 index f134ba5..0000000 --- a/sdk/dotnet/Outputs/ImageExportTaskTag.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class ImageExportTaskTag - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string? Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string? Value; - - [OutputConstructor] - private ImageExportTaskTag( - string? key, - - string? value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/ImageLaunchPermissionPermissionAdditions.cs b/sdk/dotnet/Outputs/ImageLaunchPermissionPermissionAdditions.cs deleted file mode 100644 index 9596939..0000000 --- a/sdk/dotnet/Outputs/ImageLaunchPermissionPermissionAdditions.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class ImageLaunchPermissionPermissionAdditions - { - /// - /// The account ID of one or more users from whom you want to remove permissions. - /// - public readonly ImmutableArray AccountIds; - /// - /// If true, the resource is public. If false, the resource is private. - /// - public readonly string? GlobalPermission; - - [OutputConstructor] - private ImageLaunchPermissionPermissionAdditions( - ImmutableArray accountIds, - - string? globalPermission) - { - AccountIds = accountIds; - GlobalPermission = globalPermission; - } - } -} diff --git a/sdk/dotnet/Outputs/ImageLaunchPermissionPermissionRemovals.cs b/sdk/dotnet/Outputs/ImageLaunchPermissionPermissionRemovals.cs deleted file mode 100644 index c7ae4fc..0000000 --- a/sdk/dotnet/Outputs/ImageLaunchPermissionPermissionRemovals.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class ImageLaunchPermissionPermissionRemovals - { - /// - /// The account ID of one or more users from whom you want to remove permissions. - /// - public readonly ImmutableArray AccountIds; - /// - /// If true, the resource is public. If false, the resource is private. - /// - public readonly string? GlobalPermission; - - [OutputConstructor] - private ImageLaunchPermissionPermissionRemovals( - ImmutableArray accountIds, - - string? globalPermission) - { - AccountIds = accountIds; - GlobalPermission = globalPermission; - } - } -} diff --git a/sdk/dotnet/Outputs/ImageLaunchPermissionPermissionsToLaunch.cs b/sdk/dotnet/Outputs/ImageLaunchPermissionPermissionsToLaunch.cs deleted file mode 100644 index 33b7e79..0000000 --- a/sdk/dotnet/Outputs/ImageLaunchPermissionPermissionsToLaunch.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class ImageLaunchPermissionPermissionsToLaunch - { - /// - /// The account ID of one or more users from whom you want to remove permissions. - /// - public readonly ImmutableArray AccountIds; - /// - /// If true, the resource is public. If false, the resource is private. - /// - public readonly string? GlobalPermission; - - [OutputConstructor] - private ImageLaunchPermissionPermissionsToLaunch( - ImmutableArray accountIds, - - string? globalPermission) - { - AccountIds = accountIds; - GlobalPermission = globalPermission; - } - } -} diff --git a/sdk/dotnet/Outputs/ImagePermissionsToLaunch.cs b/sdk/dotnet/Outputs/ImagePermissionsToLaunch.cs deleted file mode 100644 index cace366..0000000 --- a/sdk/dotnet/Outputs/ImagePermissionsToLaunch.cs +++ /dev/null @@ -1,37 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class ImagePermissionsToLaunch - { - /// - /// One or more account IDs that the permission is associated with. - /// - public readonly ImmutableArray AccountIds; - /// - /// A global permission for all accounts.<br /> - /// (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).<br /> - /// (Response) If true, the resource is public. If false, the resource is private. - /// - public readonly bool? GlobalPermission; - - [OutputConstructor] - private ImagePermissionsToLaunch( - ImmutableArray accountIds, - - bool? globalPermission) - { - AccountIds = accountIds; - GlobalPermission = globalPermission; - } - } -} diff --git a/sdk/dotnet/Outputs/ImageStateComment.cs b/sdk/dotnet/Outputs/ImageStateComment.cs deleted file mode 100644 index 1d6a122..0000000 --- a/sdk/dotnet/Outputs/ImageStateComment.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class ImageStateComment - { - /// - /// The code of the change of state. - /// - public readonly string? StateCode; - /// - /// A message explaining the change of state. - /// - public readonly string? StateMessage; - - [OutputConstructor] - private ImageStateComment( - string? stateCode, - - string? stateMessage) - { - StateCode = stateCode; - StateMessage = stateMessage; - } - } -} diff --git a/sdk/dotnet/Outputs/ImageTag.cs b/sdk/dotnet/Outputs/ImageTag.cs deleted file mode 100644 index 7da0e1b..0000000 --- a/sdk/dotnet/Outputs/ImageTag.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class ImageTag - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string? Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string? Value; - - [OutputConstructor] - private ImageTag( - string? key, - - string? value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/InternetServiceLinkTag.cs b/sdk/dotnet/Outputs/InternetServiceLinkTag.cs deleted file mode 100644 index 7da0859..0000000 --- a/sdk/dotnet/Outputs/InternetServiceLinkTag.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class InternetServiceLinkTag - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string? Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string? Value; - - [OutputConstructor] - private InternetServiceLinkTag( - string? key, - - string? value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/InternetServiceTag.cs b/sdk/dotnet/Outputs/InternetServiceTag.cs deleted file mode 100644 index 012b433..0000000 --- a/sdk/dotnet/Outputs/InternetServiceTag.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class InternetServiceTag - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string? Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string? Value; - - [OutputConstructor] - private InternetServiceTag( - string? key, - - string? value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/LoadBalancerAccessLog.cs b/sdk/dotnet/Outputs/LoadBalancerAccessLog.cs deleted file mode 100644 index 72c8172..0000000 --- a/sdk/dotnet/Outputs/LoadBalancerAccessLog.cs +++ /dev/null @@ -1,49 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class LoadBalancerAccessLog - { - /// - /// If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osu_bucket_name` parameter is required. - /// - public readonly bool? IsEnabled; - /// - /// The name of the OOS bucket for the access logs. - /// - public readonly string? OsuBucketName; - /// - /// The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - /// - public readonly string? OsuBucketPrefix; - /// - /// The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - /// - public readonly int? PublicationInterval; - - [OutputConstructor] - private LoadBalancerAccessLog( - bool? isEnabled, - - string? osuBucketName, - - string? osuBucketPrefix, - - int? publicationInterval) - { - IsEnabled = isEnabled; - OsuBucketName = osuBucketName; - OsuBucketPrefix = osuBucketPrefix; - PublicationInterval = publicationInterval; - } - } -} diff --git a/sdk/dotnet/Outputs/LoadBalancerApplicationStickyCookiePolicy.cs b/sdk/dotnet/Outputs/LoadBalancerApplicationStickyCookiePolicy.cs deleted file mode 100644 index 0f1e6e0..0000000 --- a/sdk/dotnet/Outputs/LoadBalancerApplicationStickyCookiePolicy.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class LoadBalancerApplicationStickyCookiePolicy - { - /// - /// The name of the application cookie used for stickiness. - /// - public readonly string? CookieName; - /// - /// The name of the stickiness policy. - /// - public readonly string? PolicyName; - - [OutputConstructor] - private LoadBalancerApplicationStickyCookiePolicy( - string? cookieName, - - string? policyName) - { - CookieName = cookieName; - PolicyName = policyName; - } - } -} diff --git a/sdk/dotnet/Outputs/LoadBalancerAttributesAccessLog.cs b/sdk/dotnet/Outputs/LoadBalancerAttributesAccessLog.cs deleted file mode 100644 index 6c87516..0000000 --- a/sdk/dotnet/Outputs/LoadBalancerAttributesAccessLog.cs +++ /dev/null @@ -1,49 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class LoadBalancerAttributesAccessLog - { - /// - /// If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osu_bucket_name` parameter is required. - /// - public readonly bool? IsEnabled; - /// - /// The name of the OOS bucket for the access logs. - /// - public readonly string? OsuBucketName; - /// - /// The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - /// - public readonly string? OsuBucketPrefix; - /// - /// The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - /// - public readonly int? PublicationInterval; - - [OutputConstructor] - private LoadBalancerAttributesAccessLog( - bool? isEnabled, - - string? osuBucketName, - - string? osuBucketPrefix, - - int? publicationInterval) - { - IsEnabled = isEnabled; - OsuBucketName = osuBucketName; - OsuBucketPrefix = osuBucketPrefix; - PublicationInterval = publicationInterval; - } - } -} diff --git a/sdk/dotnet/Outputs/LoadBalancerAttributesApplicationStickyCookiePolicy.cs b/sdk/dotnet/Outputs/LoadBalancerAttributesApplicationStickyCookiePolicy.cs deleted file mode 100644 index 7eb6646..0000000 --- a/sdk/dotnet/Outputs/LoadBalancerAttributesApplicationStickyCookiePolicy.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class LoadBalancerAttributesApplicationStickyCookiePolicy - { - /// - /// The name of the application cookie used for stickiness. - /// - public readonly string? CookieName; - /// - /// The name of the stickiness policy. - /// - public readonly string? PolicyName; - - [OutputConstructor] - private LoadBalancerAttributesApplicationStickyCookiePolicy( - string? cookieName, - - string? policyName) - { - CookieName = cookieName; - PolicyName = policyName; - } - } -} diff --git a/sdk/dotnet/Outputs/LoadBalancerAttributesHealthCheck.cs b/sdk/dotnet/Outputs/LoadBalancerAttributesHealthCheck.cs deleted file mode 100644 index 6424d50..0000000 --- a/sdk/dotnet/Outputs/LoadBalancerAttributesHealthCheck.cs +++ /dev/null @@ -1,70 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class LoadBalancerAttributesHealthCheck - { - /// - /// The number of seconds between two pings (between `5` and `600` both included). - /// - public readonly int? CheckInterval; - /// - /// The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - /// - public readonly int? HealthyThreshold; - /// - /// If you use the HTTP or HTTPS protocols, the ping path. - /// - public readonly string? Path; - /// - /// The port number (between `1` and `65535`, both included). - /// - public readonly int Port; - /// - /// The protocol for the URL of the VM (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - public readonly string Protocol; - /// - /// The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - /// - public readonly int? Timeout; - /// - /// The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - /// - public readonly int? UnhealthyThreshold; - - [OutputConstructor] - private LoadBalancerAttributesHealthCheck( - int? checkInterval, - - int? healthyThreshold, - - string? path, - - int port, - - string protocol, - - int? timeout, - - int? unhealthyThreshold) - { - CheckInterval = checkInterval; - HealthyThreshold = healthyThreshold; - Path = path; - Port = port; - Protocol = protocol; - Timeout = timeout; - UnhealthyThreshold = unhealthyThreshold; - } - } -} diff --git a/sdk/dotnet/Outputs/LoadBalancerAttributesListener.cs b/sdk/dotnet/Outputs/LoadBalancerAttributesListener.cs deleted file mode 100644 index f15c6eb..0000000 --- a/sdk/dotnet/Outputs/LoadBalancerAttributesListener.cs +++ /dev/null @@ -1,63 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class LoadBalancerAttributesListener - { - /// - /// The port on which the back-end VM is listening (between `1` and `65535`, both included). - /// - public readonly int? BackendPort; - /// - /// The protocol for routing traffic to back-end VMs (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - public readonly string? BackendProtocol; - /// - /// The port on which the load balancer is listening (between `1` and `65535`, both included). This parameter is required if you want to update the server certificate. - /// - public readonly int? LoadBalancerPort; - /// - /// The routing protocol (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - public readonly string? LoadBalancerProtocol; - /// - /// The name of the policy you want to enable for the listener. - /// - public readonly ImmutableArray PolicyNames; - /// - /// The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). If this parameter is specified, you must also specify the `load_balancer_port` parameter. - /// - public readonly string? ServerCertificateId; - - [OutputConstructor] - private LoadBalancerAttributesListener( - int? backendPort, - - string? backendProtocol, - - int? loadBalancerPort, - - string? loadBalancerProtocol, - - ImmutableArray policyNames, - - string? serverCertificateId) - { - BackendPort = backendPort; - BackendProtocol = backendProtocol; - LoadBalancerPort = loadBalancerPort; - LoadBalancerProtocol = loadBalancerProtocol; - PolicyNames = policyNames; - ServerCertificateId = serverCertificateId; - } - } -} diff --git a/sdk/dotnet/Outputs/LoadBalancerAttributesLoadBalancerStickyCookiePolicy.cs b/sdk/dotnet/Outputs/LoadBalancerAttributesLoadBalancerStickyCookiePolicy.cs deleted file mode 100644 index a112811..0000000 --- a/sdk/dotnet/Outputs/LoadBalancerAttributesLoadBalancerStickyCookiePolicy.cs +++ /dev/null @@ -1,27 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class LoadBalancerAttributesLoadBalancerStickyCookiePolicy - { - /// - /// The name of the stickiness policy. - /// - public readonly string? PolicyName; - - [OutputConstructor] - private LoadBalancerAttributesLoadBalancerStickyCookiePolicy(string? policyName) - { - PolicyName = policyName; - } - } -} diff --git a/sdk/dotnet/Outputs/LoadBalancerAttributesSourceSecurityGroup.cs b/sdk/dotnet/Outputs/LoadBalancerAttributesSourceSecurityGroup.cs deleted file mode 100644 index 5904f4a..0000000 --- a/sdk/dotnet/Outputs/LoadBalancerAttributesSourceSecurityGroup.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class LoadBalancerAttributesSourceSecurityGroup - { - /// - /// The account ID of the owner of the security group. - /// - public readonly string? SecurityGroupAccountId; - /// - /// The name of the security group. - /// - public readonly string? SecurityGroupName; - - [OutputConstructor] - private LoadBalancerAttributesSourceSecurityGroup( - string? securityGroupAccountId, - - string? securityGroupName) - { - SecurityGroupAccountId = securityGroupAccountId; - SecurityGroupName = securityGroupName; - } - } -} diff --git a/sdk/dotnet/Outputs/LoadBalancerAttributesTag.cs b/sdk/dotnet/Outputs/LoadBalancerAttributesTag.cs deleted file mode 100644 index 86129ed..0000000 --- a/sdk/dotnet/Outputs/LoadBalancerAttributesTag.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class LoadBalancerAttributesTag - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string? Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string? Value; - - [OutputConstructor] - private LoadBalancerAttributesTag( - string? key, - - string? value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/LoadBalancerHealthCheck.cs b/sdk/dotnet/Outputs/LoadBalancerHealthCheck.cs deleted file mode 100644 index ed23337..0000000 --- a/sdk/dotnet/Outputs/LoadBalancerHealthCheck.cs +++ /dev/null @@ -1,70 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class LoadBalancerHealthCheck - { - /// - /// The number of seconds between two pings (between `5` and `600` both included). - /// - public readonly int? CheckInterval; - /// - /// The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - /// - public readonly int? HealthyThreshold; - /// - /// If you use the HTTP or HTTPS protocols, the ping path. - /// - public readonly string? Path; - /// - /// The port number (between `1` and `65535`, both included). - /// - public readonly int? Port; - /// - /// The protocol for the URL of the VM (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - public readonly string? Protocol; - /// - /// The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - /// - public readonly int? Timeout; - /// - /// The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - /// - public readonly int? UnhealthyThreshold; - - [OutputConstructor] - private LoadBalancerHealthCheck( - int? checkInterval, - - int? healthyThreshold, - - string? path, - - int? port, - - string? protocol, - - int? timeout, - - int? unhealthyThreshold) - { - CheckInterval = checkInterval; - HealthyThreshold = healthyThreshold; - Path = path; - Port = port; - Protocol = protocol; - Timeout = timeout; - UnhealthyThreshold = unhealthyThreshold; - } - } -} diff --git a/sdk/dotnet/Outputs/LoadBalancerListener.cs b/sdk/dotnet/Outputs/LoadBalancerListener.cs deleted file mode 100644 index 66d8a3c..0000000 --- a/sdk/dotnet/Outputs/LoadBalancerListener.cs +++ /dev/null @@ -1,63 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class LoadBalancerListener - { - /// - /// The port on which the back-end VM is listening (between `1` and `65535`, both included). - /// - public readonly int BackendPort; - /// - /// The protocol for routing traffic to back-end VMs (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - public readonly string BackendProtocol; - /// - /// The port on which the load balancer is listening (between `1` and `65535`, both included). - /// - public readonly int LoadBalancerPort; - /// - /// The routing protocol (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - public readonly string LoadBalancerProtocol; - /// - /// The names of the policies. If there are no policies enabled, the list is empty. - /// - public readonly ImmutableArray PolicyNames; - /// - /// The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > OUTSCALE Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - /// - public readonly string? ServerCertificateId; - - [OutputConstructor] - private LoadBalancerListener( - int backendPort, - - string backendProtocol, - - int loadBalancerPort, - - string loadBalancerProtocol, - - ImmutableArray policyNames, - - string? serverCertificateId) - { - BackendPort = backendPort; - BackendProtocol = backendProtocol; - LoadBalancerPort = loadBalancerPort; - LoadBalancerProtocol = loadBalancerProtocol; - PolicyNames = policyNames; - ServerCertificateId = serverCertificateId; - } - } -} diff --git a/sdk/dotnet/Outputs/LoadBalancerLoadBalancerStickyCookiePolicy.cs b/sdk/dotnet/Outputs/LoadBalancerLoadBalancerStickyCookiePolicy.cs deleted file mode 100644 index 6c4b87d..0000000 --- a/sdk/dotnet/Outputs/LoadBalancerLoadBalancerStickyCookiePolicy.cs +++ /dev/null @@ -1,27 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class LoadBalancerLoadBalancerStickyCookiePolicy - { - /// - /// The name of the stickiness policy. - /// - public readonly string? PolicyName; - - [OutputConstructor] - private LoadBalancerLoadBalancerStickyCookiePolicy(string? policyName) - { - PolicyName = policyName; - } - } -} diff --git a/sdk/dotnet/Outputs/LoadBalancerPolicyAccessLog.cs b/sdk/dotnet/Outputs/LoadBalancerPolicyAccessLog.cs deleted file mode 100644 index 534db08..0000000 --- a/sdk/dotnet/Outputs/LoadBalancerPolicyAccessLog.cs +++ /dev/null @@ -1,49 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class LoadBalancerPolicyAccessLog - { - /// - /// If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osu_bucket_name` parameter is required. - /// - public readonly bool? IsEnabled; - /// - /// The name of the OOS bucket for the access logs. - /// - public readonly string? OsuBucketName; - /// - /// The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - /// - public readonly string? OsuBucketPrefix; - /// - /// The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - /// - public readonly int? PublicationInterval; - - [OutputConstructor] - private LoadBalancerPolicyAccessLog( - bool? isEnabled, - - string? osuBucketName, - - string? osuBucketPrefix, - - int? publicationInterval) - { - IsEnabled = isEnabled; - OsuBucketName = osuBucketName; - OsuBucketPrefix = osuBucketPrefix; - PublicationInterval = publicationInterval; - } - } -} diff --git a/sdk/dotnet/Outputs/LoadBalancerPolicyApplicationStickyCookiePolicy.cs b/sdk/dotnet/Outputs/LoadBalancerPolicyApplicationStickyCookiePolicy.cs deleted file mode 100644 index b95fd76..0000000 --- a/sdk/dotnet/Outputs/LoadBalancerPolicyApplicationStickyCookiePolicy.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class LoadBalancerPolicyApplicationStickyCookiePolicy - { - /// - /// The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie. - /// - public readonly string? CookieName; - /// - /// The name of the policy. This name must be unique and consist of alphanumeric characters and dashes (-). - /// - public readonly string? PolicyName; - - [OutputConstructor] - private LoadBalancerPolicyApplicationStickyCookiePolicy( - string? cookieName, - - string? policyName) - { - CookieName = cookieName; - PolicyName = policyName; - } - } -} diff --git a/sdk/dotnet/Outputs/LoadBalancerPolicyHealthCheck.cs b/sdk/dotnet/Outputs/LoadBalancerPolicyHealthCheck.cs deleted file mode 100644 index 139bac1..0000000 --- a/sdk/dotnet/Outputs/LoadBalancerPolicyHealthCheck.cs +++ /dev/null @@ -1,70 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class LoadBalancerPolicyHealthCheck - { - /// - /// The number of seconds between two pings (between `5` and `600` both included). - /// - public readonly int? CheckInterval; - /// - /// The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - /// - public readonly int? HealthyThreshold; - /// - /// If you use the HTTP or HTTPS protocols, the ping path. - /// - public readonly string? Path; - /// - /// The port number (between `1` and `65535`, both included). - /// - public readonly int? Port; - /// - /// The protocol for the URL of the VM (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - public readonly string? Protocol; - /// - /// The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - /// - public readonly int? Timeout; - /// - /// The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - /// - public readonly int? UnhealthyThreshold; - - [OutputConstructor] - private LoadBalancerPolicyHealthCheck( - int? checkInterval, - - int? healthyThreshold, - - string? path, - - int? port, - - string? protocol, - - int? timeout, - - int? unhealthyThreshold) - { - CheckInterval = checkInterval; - HealthyThreshold = healthyThreshold; - Path = path; - Port = port; - Protocol = protocol; - Timeout = timeout; - UnhealthyThreshold = unhealthyThreshold; - } - } -} diff --git a/sdk/dotnet/Outputs/LoadBalancerPolicyListener.cs b/sdk/dotnet/Outputs/LoadBalancerPolicyListener.cs deleted file mode 100644 index a7e1ed1..0000000 --- a/sdk/dotnet/Outputs/LoadBalancerPolicyListener.cs +++ /dev/null @@ -1,63 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class LoadBalancerPolicyListener - { - /// - /// The port on which the back-end VM is listening (between `1` and `65535`, both included). - /// - public readonly int? BackendPort; - /// - /// The protocol for routing traffic to back-end VMs (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - public readonly string? BackendProtocol; - /// - /// The port on which the load balancer is listening (between `1` and `65535`, both included). - /// - public readonly int? LoadBalancerPort; - /// - /// The routing protocol (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - /// - public readonly string? LoadBalancerProtocol; - /// - /// The names of the policies. If there are no policies enabled, the list is empty. - /// - public readonly ImmutableArray PolicyNames; - /// - /// The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > OUTSCALE Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - /// - public readonly string? ServerCertificateId; - - [OutputConstructor] - private LoadBalancerPolicyListener( - int? backendPort, - - string? backendProtocol, - - int? loadBalancerPort, - - string? loadBalancerProtocol, - - ImmutableArray policyNames, - - string? serverCertificateId) - { - BackendPort = backendPort; - BackendProtocol = backendProtocol; - LoadBalancerPort = loadBalancerPort; - LoadBalancerProtocol = loadBalancerProtocol; - PolicyNames = policyNames; - ServerCertificateId = serverCertificateId; - } - } -} diff --git a/sdk/dotnet/Outputs/LoadBalancerPolicyLoadBalancerStickyCookiePolicy.cs b/sdk/dotnet/Outputs/LoadBalancerPolicyLoadBalancerStickyCookiePolicy.cs deleted file mode 100644 index a4ca131..0000000 --- a/sdk/dotnet/Outputs/LoadBalancerPolicyLoadBalancerStickyCookiePolicy.cs +++ /dev/null @@ -1,27 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class LoadBalancerPolicyLoadBalancerStickyCookiePolicy - { - /// - /// The name of the policy. This name must be unique and consist of alphanumeric characters and dashes (-). - /// - public readonly string? PolicyName; - - [OutputConstructor] - private LoadBalancerPolicyLoadBalancerStickyCookiePolicy(string? policyName) - { - PolicyName = policyName; - } - } -} diff --git a/sdk/dotnet/Outputs/LoadBalancerPolicySourceSecurityGroup.cs b/sdk/dotnet/Outputs/LoadBalancerPolicySourceSecurityGroup.cs deleted file mode 100644 index 5b22296..0000000 --- a/sdk/dotnet/Outputs/LoadBalancerPolicySourceSecurityGroup.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class LoadBalancerPolicySourceSecurityGroup - { - /// - /// The account ID of the owner of the security group. - /// - public readonly string? SecurityGroupAccountId; - /// - /// The name of the security group. - /// - public readonly string? SecurityGroupName; - - [OutputConstructor] - private LoadBalancerPolicySourceSecurityGroup( - string? securityGroupAccountId, - - string? securityGroupName) - { - SecurityGroupAccountId = securityGroupAccountId; - SecurityGroupName = securityGroupName; - } - } -} diff --git a/sdk/dotnet/Outputs/LoadBalancerPolicyTag.cs b/sdk/dotnet/Outputs/LoadBalancerPolicyTag.cs deleted file mode 100644 index beb2ecf..0000000 --- a/sdk/dotnet/Outputs/LoadBalancerPolicyTag.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class LoadBalancerPolicyTag - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string? Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string? Value; - - [OutputConstructor] - private LoadBalancerPolicyTag( - string? key, - - string? value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/LoadBalancerSourceSecurityGroup.cs b/sdk/dotnet/Outputs/LoadBalancerSourceSecurityGroup.cs deleted file mode 100644 index e10bf27..0000000 --- a/sdk/dotnet/Outputs/LoadBalancerSourceSecurityGroup.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class LoadBalancerSourceSecurityGroup - { - /// - /// The account ID of the owner of the security group. - /// - public readonly string? SecurityGroupAccountId; - /// - /// The name of the security group. - /// - public readonly string? SecurityGroupName; - - [OutputConstructor] - private LoadBalancerSourceSecurityGroup( - string? securityGroupAccountId, - - string? securityGroupName) - { - SecurityGroupAccountId = securityGroupAccountId; - SecurityGroupName = securityGroupName; - } - } -} diff --git a/sdk/dotnet/Outputs/LoadBalancerTag.cs b/sdk/dotnet/Outputs/LoadBalancerTag.cs deleted file mode 100644 index a9edd4e..0000000 --- a/sdk/dotnet/Outputs/LoadBalancerTag.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class LoadBalancerTag - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string? Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string? Value; - - [OutputConstructor] - private LoadBalancerTag( - string? key, - - string? value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/NatServicePublicIp.cs b/sdk/dotnet/Outputs/NatServicePublicIp.cs deleted file mode 100644 index ce730a6..0000000 --- a/sdk/dotnet/Outputs/NatServicePublicIp.cs +++ /dev/null @@ -1,36 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class NatServicePublicIp - { - /// - /// The public IP associated with the NAT service. - /// - public readonly string? PublicIp; - /// - /// The allocation ID of the public IP to associate with the NAT service.<br /> - /// If the public IP is already associated with another resource, you must first disassociate it. - /// - public readonly string? PublicIpId; - - [OutputConstructor] - private NatServicePublicIp( - string? publicIp, - - string? publicIpId) - { - PublicIp = publicIp; - PublicIpId = publicIpId; - } - } -} diff --git a/sdk/dotnet/Outputs/NatServiceTag.cs b/sdk/dotnet/Outputs/NatServiceTag.cs deleted file mode 100644 index 8836990..0000000 --- a/sdk/dotnet/Outputs/NatServiceTag.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class NatServiceTag - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string? Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string? Value; - - [OutputConstructor] - private NatServiceTag( - string? key, - - string? value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/NetAccessPointTag.cs b/sdk/dotnet/Outputs/NetAccessPointTag.cs deleted file mode 100644 index b5c0f7e..0000000 --- a/sdk/dotnet/Outputs/NetAccessPointTag.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class NetAccessPointTag - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string? Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string? Value; - - [OutputConstructor] - private NetAccessPointTag( - string? key, - - string? value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/NetAttributesTag.cs b/sdk/dotnet/Outputs/NetAttributesTag.cs deleted file mode 100644 index d62b3a2..0000000 --- a/sdk/dotnet/Outputs/NetAttributesTag.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class NetAttributesTag - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string? Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string? Value; - - [OutputConstructor] - private NetAttributesTag( - string? key, - - string? value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/NetPeeringAccepterNet.cs b/sdk/dotnet/Outputs/NetPeeringAccepterNet.cs deleted file mode 100644 index c0601d9..0000000 --- a/sdk/dotnet/Outputs/NetPeeringAccepterNet.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class NetPeeringAccepterNet - { - /// - /// The account ID of the owner of the source Net. - /// - public readonly string? AccountId; - /// - /// The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - /// - public readonly string? IpRange; - /// - /// The ID of the source Net. - /// - public readonly string? NetId; - - [OutputConstructor] - private NetPeeringAccepterNet( - string? accountId, - - string? ipRange, - - string? netId) - { - AccountId = accountId; - IpRange = ipRange; - NetId = netId; - } - } -} diff --git a/sdk/dotnet/Outputs/NetPeeringAcceptionAccepterNet.cs b/sdk/dotnet/Outputs/NetPeeringAcceptionAccepterNet.cs deleted file mode 100644 index 458e7e8..0000000 --- a/sdk/dotnet/Outputs/NetPeeringAcceptionAccepterNet.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class NetPeeringAcceptionAccepterNet - { - /// - /// The account ID of the owner of the source Net. - /// - public readonly string? AccountId; - /// - /// The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - /// - public readonly string? IpRange; - /// - /// The ID of the source Net. - /// - public readonly string? NetId; - - [OutputConstructor] - private NetPeeringAcceptionAccepterNet( - string? accountId, - - string? ipRange, - - string? netId) - { - AccountId = accountId; - IpRange = ipRange; - NetId = netId; - } - } -} diff --git a/sdk/dotnet/Outputs/NetPeeringAcceptionSourceNet.cs b/sdk/dotnet/Outputs/NetPeeringAcceptionSourceNet.cs deleted file mode 100644 index 4fbd4c5..0000000 --- a/sdk/dotnet/Outputs/NetPeeringAcceptionSourceNet.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class NetPeeringAcceptionSourceNet - { - /// - /// The account ID of the owner of the source Net. - /// - public readonly string? AccountId; - /// - /// The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - /// - public readonly string? IpRange; - /// - /// The ID of the source Net. - /// - public readonly string? NetId; - - [OutputConstructor] - private NetPeeringAcceptionSourceNet( - string? accountId, - - string? ipRange, - - string? netId) - { - AccountId = accountId; - IpRange = ipRange; - NetId = netId; - } - } -} diff --git a/sdk/dotnet/Outputs/NetPeeringAcceptionState.cs b/sdk/dotnet/Outputs/NetPeeringAcceptionState.cs deleted file mode 100644 index 4e97a6b..0000000 --- a/sdk/dotnet/Outputs/NetPeeringAcceptionState.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class NetPeeringAcceptionState - { - /// - /// Additional information about the state of the Net peering. - /// - public readonly string? Message; - /// - /// The state of the Net peering (`pending-acceptance` \| `active` \| `rejected` \| `failed` \| `expired` \| `deleted`). - /// - public readonly string? Name; - - [OutputConstructor] - private NetPeeringAcceptionState( - string? message, - - string? name) - { - Message = message; - Name = name; - } - } -} diff --git a/sdk/dotnet/Outputs/NetPeeringAcceptionTag.cs b/sdk/dotnet/Outputs/NetPeeringAcceptionTag.cs deleted file mode 100644 index fed53d5..0000000 --- a/sdk/dotnet/Outputs/NetPeeringAcceptionTag.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class NetPeeringAcceptionTag - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string? Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string? Value; - - [OutputConstructor] - private NetPeeringAcceptionTag( - string? key, - - string? value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/NetPeeringSourceNet.cs b/sdk/dotnet/Outputs/NetPeeringSourceNet.cs deleted file mode 100644 index c1ad55a..0000000 --- a/sdk/dotnet/Outputs/NetPeeringSourceNet.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class NetPeeringSourceNet - { - /// - /// The account ID of the owner of the source Net. - /// - public readonly string? AccountId; - /// - /// The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - /// - public readonly string? IpRange; - /// - /// The ID of the source Net. - /// - public readonly string? NetId; - - [OutputConstructor] - private NetPeeringSourceNet( - string? accountId, - - string? ipRange, - - string? netId) - { - AccountId = accountId; - IpRange = ipRange; - NetId = netId; - } - } -} diff --git a/sdk/dotnet/Outputs/NetPeeringState.cs b/sdk/dotnet/Outputs/NetPeeringState.cs deleted file mode 100644 index ba7ed44..0000000 --- a/sdk/dotnet/Outputs/NetPeeringState.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class NetPeeringState - { - /// - /// Additional information about the state of the Net peering. - /// - public readonly string? Message; - /// - /// The state of the Net peering (`pending-acceptance` \| `active` \| `rejected` \| `failed` \| `expired` \| `deleted`). - /// - public readonly string? Name; - - [OutputConstructor] - private NetPeeringState( - string? message, - - string? name) - { - Message = message; - Name = name; - } - } -} diff --git a/sdk/dotnet/Outputs/NetPeeringTag.cs b/sdk/dotnet/Outputs/NetPeeringTag.cs deleted file mode 100644 index 939cbc0..0000000 --- a/sdk/dotnet/Outputs/NetPeeringTag.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class NetPeeringTag - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string? Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string? Value; - - [OutputConstructor] - private NetPeeringTag( - string? key, - - string? value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/NetTag.cs b/sdk/dotnet/Outputs/NetTag.cs deleted file mode 100644 index 812db7d..0000000 --- a/sdk/dotnet/Outputs/NetTag.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class NetTag - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string? Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string? Value; - - [OutputConstructor] - private NetTag( - string? key, - - string? value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/NicLinkNic.cs b/sdk/dotnet/Outputs/NicLinkNic.cs deleted file mode 100644 index adf5d0f..0000000 --- a/sdk/dotnet/Outputs/NicLinkNic.cs +++ /dev/null @@ -1,63 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class NicLinkNic - { - /// - /// If true, the NIC is deleted when the VM is terminated. - /// - public readonly string? DeleteOnVmDeletion; - /// - /// The device index for the NIC attachment (between `1` and `7`, both included). - /// - public readonly int? DeviceNumber; - /// - /// The ID of the NIC to attach. - /// - public readonly string? LinkNicId; - /// - /// The state of the NIC (`available` \| `attaching` \| `in-use` \| `detaching`). - /// - public readonly string? State; - /// - /// The account ID of the owner of the VM. - /// - public readonly string? VmAccountId; - /// - /// The ID of the VM. - /// - public readonly string? VmId; - - [OutputConstructor] - private NicLinkNic( - string? deleteOnVmDeletion, - - int? deviceNumber, - - string? linkNicId, - - string? state, - - string? vmAccountId, - - string? vmId) - { - DeleteOnVmDeletion = deleteOnVmDeletion; - DeviceNumber = deviceNumber; - LinkNicId = linkNicId; - State = state; - VmAccountId = vmAccountId; - VmId = vmId; - } - } -} diff --git a/sdk/dotnet/Outputs/NicLinkPublicIp.cs b/sdk/dotnet/Outputs/NicLinkPublicIp.cs deleted file mode 100644 index f2580dc..0000000 --- a/sdk/dotnet/Outputs/NicLinkPublicIp.cs +++ /dev/null @@ -1,56 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class NicLinkPublicIp - { - /// - /// (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - /// - public readonly string? LinkPublicIpId; - /// - /// The name of the public DNS. - /// - public readonly string? PublicDnsName; - /// - /// The public IP associated with the NIC. - /// - public readonly string? PublicIp; - /// - /// The account ID of the owner of the public IP. - /// - public readonly string? PublicIpAccountId; - /// - /// The allocation ID of the public IP. - /// - public readonly string? PublicIpId; - - [OutputConstructor] - private NicLinkPublicIp( - string? linkPublicIpId, - - string? publicDnsName, - - string? publicIp, - - string? publicIpAccountId, - - string? publicIpId) - { - LinkPublicIpId = linkPublicIpId; - PublicDnsName = publicDnsName; - PublicIp = publicIp; - PublicIpAccountId = publicIpAccountId; - PublicIpId = publicIpId; - } - } -} diff --git a/sdk/dotnet/Outputs/NicPrivateIp.cs b/sdk/dotnet/Outputs/NicPrivateIp.cs deleted file mode 100644 index 5caf633..0000000 --- a/sdk/dotnet/Outputs/NicPrivateIp.cs +++ /dev/null @@ -1,49 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class NicPrivateIp - { - /// - /// If true, the IP is the primary private IP of the NIC. - /// - public readonly bool? IsPrimary; - /// - /// Information about the public IP association. - /// - public readonly ImmutableArray LinkPublicIps; - /// - /// The name of the private DNS. - /// - public readonly string? PrivateDnsName; - /// - /// The private IP of the NIC. - /// - public readonly string? PrivateIp; - - [OutputConstructor] - private NicPrivateIp( - bool? isPrimary, - - ImmutableArray linkPublicIps, - - string? privateDnsName, - - string? privateIp) - { - IsPrimary = isPrimary; - LinkPublicIps = linkPublicIps; - PrivateDnsName = privateDnsName; - PrivateIp = privateIp; - } - } -} diff --git a/sdk/dotnet/Outputs/NicPrivateIpLinkPublicIp.cs b/sdk/dotnet/Outputs/NicPrivateIpLinkPublicIp.cs deleted file mode 100644 index e23d629..0000000 --- a/sdk/dotnet/Outputs/NicPrivateIpLinkPublicIp.cs +++ /dev/null @@ -1,56 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class NicPrivateIpLinkPublicIp - { - /// - /// (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - /// - public readonly string? LinkPublicIpId; - /// - /// The name of the public DNS. - /// - public readonly string? PublicDnsName; - /// - /// The public IP associated with the NIC. - /// - public readonly string? PublicIp; - /// - /// The account ID of the owner of the public IP. - /// - public readonly string? PublicIpAccountId; - /// - /// The allocation ID of the public IP. - /// - public readonly string? PublicIpId; - - [OutputConstructor] - private NicPrivateIpLinkPublicIp( - string? linkPublicIpId, - - string? publicDnsName, - - string? publicIp, - - string? publicIpAccountId, - - string? publicIpId) - { - LinkPublicIpId = linkPublicIpId; - PublicDnsName = publicDnsName; - PublicIp = publicIp; - PublicIpAccountId = publicIpAccountId; - PublicIpId = publicIpId; - } - } -} diff --git a/sdk/dotnet/Outputs/NicSecurityGroup.cs b/sdk/dotnet/Outputs/NicSecurityGroup.cs deleted file mode 100644 index bd26a69..0000000 --- a/sdk/dotnet/Outputs/NicSecurityGroup.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class NicSecurityGroup - { - /// - /// The ID of the security group. - /// - public readonly string? SecurityGroupId; - /// - /// The name of the security group. - /// - public readonly string? SecurityGroupName; - - [OutputConstructor] - private NicSecurityGroup( - string? securityGroupId, - - string? securityGroupName) - { - SecurityGroupId = securityGroupId; - SecurityGroupName = securityGroupName; - } - } -} diff --git a/sdk/dotnet/Outputs/NicTag.cs b/sdk/dotnet/Outputs/NicTag.cs deleted file mode 100644 index 6b5492b..0000000 --- a/sdk/dotnet/Outputs/NicTag.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class NicTag - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string? Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string? Value; - - [OutputConstructor] - private NicTag( - string? key, - - string? value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/OutboundRuleRule.cs b/sdk/dotnet/Outputs/OutboundRuleRule.cs deleted file mode 100644 index f71e840..0000000 --- a/sdk/dotnet/Outputs/OutboundRuleRule.cs +++ /dev/null @@ -1,45 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class OutboundRuleRule - { - public readonly int? FromPortRange; - public readonly string? IpProtocol; - public readonly ImmutableArray IpRanges; - public readonly ImmutableArray SecurityGroupsMembers; - public readonly ImmutableArray ServiceIds; - public readonly int? ToPortRange; - - [OutputConstructor] - private OutboundRuleRule( - int? fromPortRange, - - string? ipProtocol, - - ImmutableArray ipRanges, - - ImmutableArray securityGroupsMembers, - - ImmutableArray serviceIds, - - int? toPortRange) - { - FromPortRange = fromPortRange; - IpProtocol = ipProtocol; - IpRanges = ipRanges; - SecurityGroupsMembers = securityGroupsMembers; - ServiceIds = serviceIds; - ToPortRange = toPortRange; - } - } -} diff --git a/sdk/dotnet/Outputs/OutboundRuleRuleSecurityGroupsMember.cs b/sdk/dotnet/Outputs/OutboundRuleRuleSecurityGroupsMember.cs deleted file mode 100644 index 15cc0a3..0000000 --- a/sdk/dotnet/Outputs/OutboundRuleRuleSecurityGroupsMember.cs +++ /dev/null @@ -1,33 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class OutboundRuleRuleSecurityGroupsMember - { - public readonly string? AccountId; - public readonly string? SecurityGroupId; - public readonly string? SecurityGroupName; - - [OutputConstructor] - private OutboundRuleRuleSecurityGroupsMember( - string? accountId, - - string? securityGroupId, - - string? securityGroupName) - { - AccountId = accountId; - SecurityGroupId = securityGroupId; - SecurityGroupName = securityGroupName; - } - } -} diff --git a/sdk/dotnet/Outputs/PublicIpLinkTag.cs b/sdk/dotnet/Outputs/PublicIpLinkTag.cs deleted file mode 100644 index 958d194..0000000 --- a/sdk/dotnet/Outputs/PublicIpLinkTag.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class PublicIpLinkTag - { - public readonly string? Key; - public readonly string? Value; - - [OutputConstructor] - private PublicIpLinkTag( - string? key, - - string? value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/PublicIpTag.cs b/sdk/dotnet/Outputs/PublicIpTag.cs deleted file mode 100644 index 3e4608e..0000000 --- a/sdk/dotnet/Outputs/PublicIpTag.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class PublicIpTag - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string? Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string? Value; - - [OutputConstructor] - private PublicIpTag( - string? key, - - string? value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/RouteTableLinkRouteTable.cs b/sdk/dotnet/Outputs/RouteTableLinkRouteTable.cs deleted file mode 100644 index 3edd2e2..0000000 --- a/sdk/dotnet/Outputs/RouteTableLinkRouteTable.cs +++ /dev/null @@ -1,53 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class RouteTableLinkRouteTable - { - /// - /// The ID of the association between the route table and the Subnet. - /// - public readonly string? LinkRouteTableId; - /// - /// If true, the route table is the main one. - /// - public readonly bool? Main; - /// - /// The ID of the route table. - /// - public readonly string? RouteTableId; - public readonly string? RouteTableToSubnetLinkId; - /// - /// The ID of the Subnet. - /// - public readonly string? SubnetId; - - [OutputConstructor] - private RouteTableLinkRouteTable( - string? linkRouteTableId, - - bool? main, - - string? routeTableId, - - string? routeTableToSubnetLinkId, - - string? subnetId) - { - LinkRouteTableId = linkRouteTableId; - Main = main; - RouteTableId = routeTableId; - RouteTableToSubnetLinkId = routeTableToSubnetLinkId; - SubnetId = subnetId; - } - } -} diff --git a/sdk/dotnet/Outputs/RouteTableRoute.cs b/sdk/dotnet/Outputs/RouteTableRoute.cs deleted file mode 100644 index 24e637e..0000000 --- a/sdk/dotnet/Outputs/RouteTableRoute.cs +++ /dev/null @@ -1,98 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class RouteTableRoute - { - /// - /// The method used to create the route. - /// - public readonly string? CreationMethod; - /// - /// The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - /// - public readonly string? DestinationIpRange; - /// - /// The ID of the OUTSCALE service. - /// - public readonly string? DestinationServiceId; - /// - /// The ID of the Internet service or virtual gateway attached to the Net. - /// - public readonly string? GatewayId; - /// - /// The ID of a NAT service attached to the Net. - /// - public readonly string? NatServiceId; - /// - /// The ID of the Net access point. - /// - public readonly string? NetAccessPointId; - /// - /// The ID of the Net peering. - /// - public readonly string? NetPeeringId; - /// - /// The ID of the NIC. - /// - public readonly string? NicId; - /// - /// The state of a route in the route table (always `active`). - /// - public readonly string? State; - /// - /// The account ID of the owner of the VM. - /// - public readonly string? VmAccountId; - /// - /// The ID of a VM specified in a route in the table. - /// - public readonly string? VmId; - - [OutputConstructor] - private RouteTableRoute( - string? creationMethod, - - string? destinationIpRange, - - string? destinationServiceId, - - string? gatewayId, - - string? natServiceId, - - string? netAccessPointId, - - string? netPeeringId, - - string? nicId, - - string? state, - - string? vmAccountId, - - string? vmId) - { - CreationMethod = creationMethod; - DestinationIpRange = destinationIpRange; - DestinationServiceId = destinationServiceId; - GatewayId = gatewayId; - NatServiceId = natServiceId; - NetAccessPointId = netAccessPointId; - NetPeeringId = netPeeringId; - NicId = nicId; - State = state; - VmAccountId = vmAccountId; - VmId = vmId; - } - } -} diff --git a/sdk/dotnet/Outputs/RouteTableRoutePropagatingVirtualGateway.cs b/sdk/dotnet/Outputs/RouteTableRoutePropagatingVirtualGateway.cs deleted file mode 100644 index 0801227..0000000 --- a/sdk/dotnet/Outputs/RouteTableRoutePropagatingVirtualGateway.cs +++ /dev/null @@ -1,27 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class RouteTableRoutePropagatingVirtualGateway - { - /// - /// The ID of the virtual gateway. - /// - public readonly string? VirtualGatewayId; - - [OutputConstructor] - private RouteTableRoutePropagatingVirtualGateway(string? virtualGatewayId) - { - VirtualGatewayId = virtualGatewayId; - } - } -} diff --git a/sdk/dotnet/Outputs/RouteTableTag.cs b/sdk/dotnet/Outputs/RouteTableTag.cs deleted file mode 100644 index ba29a5a..0000000 --- a/sdk/dotnet/Outputs/RouteTableTag.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class RouteTableTag - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string? Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string? Value; - - [OutputConstructor] - private RouteTableTag( - string? key, - - string? value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/SecurityGroupInboundRule.cs b/sdk/dotnet/Outputs/SecurityGroupInboundRule.cs deleted file mode 100644 index 5f92c89..0000000 --- a/sdk/dotnet/Outputs/SecurityGroupInboundRule.cs +++ /dev/null @@ -1,56 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class SecurityGroupInboundRule - { - /// - /// The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - /// - public readonly int? FromPortRange; - /// - /// The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - /// - public readonly string? IpProtocol; - /// - /// One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - /// - public readonly ImmutableArray IpRanges; - /// - /// Information about one or more source or destination security groups. - /// - public readonly ImmutableArray> SecurityGroupsMembers; - /// - /// The end of the port range for the TCP and UDP protocols, or an ICMP code number. - /// - public readonly int? ToPortRange; - - [OutputConstructor] - private SecurityGroupInboundRule( - int? fromPortRange, - - string? ipProtocol, - - ImmutableArray ipRanges, - - ImmutableArray> securityGroupsMembers, - - int? toPortRange) - { - FromPortRange = fromPortRange; - IpProtocol = ipProtocol; - IpRanges = ipRanges; - SecurityGroupsMembers = securityGroupsMembers; - ToPortRange = toPortRange; - } - } -} diff --git a/sdk/dotnet/Outputs/SecurityGroupOutboundRule.cs b/sdk/dotnet/Outputs/SecurityGroupOutboundRule.cs deleted file mode 100644 index 3f5ea1d..0000000 --- a/sdk/dotnet/Outputs/SecurityGroupOutboundRule.cs +++ /dev/null @@ -1,56 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class SecurityGroupOutboundRule - { - /// - /// The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - /// - public readonly int? FromPortRange; - /// - /// The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - /// - public readonly string? IpProtocol; - /// - /// One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - /// - public readonly ImmutableArray IpRanges; - /// - /// Information about one or more source or destination security groups. - /// - public readonly ImmutableArray> SecurityGroupsMembers; - /// - /// The end of the port range for the TCP and UDP protocols, or an ICMP code number. - /// - public readonly int? ToPortRange; - - [OutputConstructor] - private SecurityGroupOutboundRule( - int? fromPortRange, - - string? ipProtocol, - - ImmutableArray ipRanges, - - ImmutableArray> securityGroupsMembers, - - int? toPortRange) - { - FromPortRange = fromPortRange; - IpProtocol = ipProtocol; - IpRanges = ipRanges; - SecurityGroupsMembers = securityGroupsMembers; - ToPortRange = toPortRange; - } - } -} diff --git a/sdk/dotnet/Outputs/SecurityGroupRuleRule.cs b/sdk/dotnet/Outputs/SecurityGroupRuleRule.cs deleted file mode 100644 index 2dc9a7c..0000000 --- a/sdk/dotnet/Outputs/SecurityGroupRuleRule.cs +++ /dev/null @@ -1,63 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class SecurityGroupRuleRule - { - /// - /// The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - /// - public readonly int? FromPortRange; - /// - /// The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - /// - public readonly string? IpProtocol; - /// - /// One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - /// - public readonly ImmutableArray IpRanges; - /// - /// Information about one or more source or destination security groups. - /// - public readonly ImmutableArray SecurityGroupsMembers; - /// - /// One or more service IDs to allow traffic from a Net to access the corresponding OUTSCALE services. For more information, see [ReadNetAccessPointServices](https://docs.outscale.com/api#readnetaccesspointservices). - /// - public readonly ImmutableArray ServiceIds; - /// - /// The end of the port range for the TCP and UDP protocols, or an ICMP code number. If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - /// - public readonly int? ToPortRange; - - [OutputConstructor] - private SecurityGroupRuleRule( - int? fromPortRange, - - string? ipProtocol, - - ImmutableArray ipRanges, - - ImmutableArray securityGroupsMembers, - - ImmutableArray serviceIds, - - int? toPortRange) - { - FromPortRange = fromPortRange; - IpProtocol = ipProtocol; - IpRanges = ipRanges; - SecurityGroupsMembers = securityGroupsMembers; - ServiceIds = serviceIds; - ToPortRange = toPortRange; - } - } -} diff --git a/sdk/dotnet/Outputs/SecurityGroupRuleRuleSecurityGroupsMember.cs b/sdk/dotnet/Outputs/SecurityGroupRuleRuleSecurityGroupsMember.cs deleted file mode 100644 index f309739..0000000 --- a/sdk/dotnet/Outputs/SecurityGroupRuleRuleSecurityGroupsMember.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class SecurityGroupRuleRuleSecurityGroupsMember - { - /// - /// The account ID that owns the source or destination security group. - /// - public readonly string? AccountId; - /// - /// The ID of the security group for which you want to create a rule. - /// - public readonly string? SecurityGroupId; - /// - /// (Public Cloud only) The name of a source or destination security group that you want to link to the security group of the rule. - /// - public readonly string? SecurityGroupName; - - [OutputConstructor] - private SecurityGroupRuleRuleSecurityGroupsMember( - string? accountId, - - string? securityGroupId, - - string? securityGroupName) - { - AccountId = accountId; - SecurityGroupId = securityGroupId; - SecurityGroupName = securityGroupName; - } - } -} diff --git a/sdk/dotnet/Outputs/SecurityGroupTag.cs b/sdk/dotnet/Outputs/SecurityGroupTag.cs deleted file mode 100644 index ae215b2..0000000 --- a/sdk/dotnet/Outputs/SecurityGroupTag.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class SecurityGroupTag - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string? Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string? Value; - - [OutputConstructor] - private SecurityGroupTag( - string? key, - - string? value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/SnapshotAttributesPermissionsToCreateVolumeAdditions.cs b/sdk/dotnet/Outputs/SnapshotAttributesPermissionsToCreateVolumeAdditions.cs deleted file mode 100644 index c2c7d71..0000000 --- a/sdk/dotnet/Outputs/SnapshotAttributesPermissionsToCreateVolumeAdditions.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class SnapshotAttributesPermissionsToCreateVolumeAdditions - { - /// - /// The account ID of one or more users from whom you want to remove permissions. - /// - public readonly ImmutableArray AccountIds; - /// - /// If true, the resource is public. If false, the resource is private. - /// - public readonly bool? GlobalPermission; - - [OutputConstructor] - private SnapshotAttributesPermissionsToCreateVolumeAdditions( - ImmutableArray accountIds, - - bool? globalPermission) - { - AccountIds = accountIds; - GlobalPermission = globalPermission; - } - } -} diff --git a/sdk/dotnet/Outputs/SnapshotAttributesPermissionsToCreateVolumeRemoval.cs b/sdk/dotnet/Outputs/SnapshotAttributesPermissionsToCreateVolumeRemoval.cs deleted file mode 100644 index bf27066..0000000 --- a/sdk/dotnet/Outputs/SnapshotAttributesPermissionsToCreateVolumeRemoval.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class SnapshotAttributesPermissionsToCreateVolumeRemoval - { - /// - /// The account ID of one or more users from whom you want to remove permissions. - /// - public readonly ImmutableArray AccountIds; - /// - /// If true, the resource is public. If false, the resource is private. - /// - public readonly bool? GlobalPermission; - - [OutputConstructor] - private SnapshotAttributesPermissionsToCreateVolumeRemoval( - ImmutableArray accountIds, - - bool? globalPermission) - { - AccountIds = accountIds; - GlobalPermission = globalPermission; - } - } -} diff --git a/sdk/dotnet/Outputs/SnapshotExportTaskOsuExport.cs b/sdk/dotnet/Outputs/SnapshotExportTaskOsuExport.cs deleted file mode 100644 index e8032f6..0000000 --- a/sdk/dotnet/Outputs/SnapshotExportTaskOsuExport.cs +++ /dev/null @@ -1,49 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class SnapshotExportTaskOsuExport - { - /// - /// The format of the export disk (`qcow2` \| `raw`). - /// - public readonly string DiskImageFormat; - /// - /// Information about the OOS API key. - /// - public readonly ImmutableArray OsuApiKeys; - /// - /// The name of the OOS bucket where you want to export the object. - /// - public readonly string OsuBucket; - /// - /// The prefix for the key of the OOS object. - /// - public readonly string? OsuPrefix; - - [OutputConstructor] - private SnapshotExportTaskOsuExport( - string diskImageFormat, - - ImmutableArray osuApiKeys, - - string osuBucket, - - string? osuPrefix) - { - DiskImageFormat = diskImageFormat; - OsuApiKeys = osuApiKeys; - OsuBucket = osuBucket; - OsuPrefix = osuPrefix; - } - } -} diff --git a/sdk/dotnet/Outputs/SnapshotExportTaskOsuExportOsuApiKey.cs b/sdk/dotnet/Outputs/SnapshotExportTaskOsuExportOsuApiKey.cs deleted file mode 100644 index 753c658..0000000 --- a/sdk/dotnet/Outputs/SnapshotExportTaskOsuExportOsuApiKey.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class SnapshotExportTaskOsuExportOsuApiKey - { - /// - /// The API key of the OOS account that enables you to access the bucket. - /// - public readonly string ApiKeyId; - /// - /// The secret key of the OOS account that enables you to access the bucket. - /// - public readonly string SecretKey; - - [OutputConstructor] - private SnapshotExportTaskOsuExportOsuApiKey( - string apiKeyId, - - string secretKey) - { - ApiKeyId = apiKeyId; - SecretKey = secretKey; - } - } -} diff --git a/sdk/dotnet/Outputs/SnapshotExportTaskTag.cs b/sdk/dotnet/Outputs/SnapshotExportTaskTag.cs deleted file mode 100644 index 8e4e12b..0000000 --- a/sdk/dotnet/Outputs/SnapshotExportTaskTag.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class SnapshotExportTaskTag - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string? Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string? Value; - - [OutputConstructor] - private SnapshotExportTaskTag( - string? key, - - string? value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/SnapshotPermissionsToCreateVolume.cs b/sdk/dotnet/Outputs/SnapshotPermissionsToCreateVolume.cs deleted file mode 100644 index 176b2c3..0000000 --- a/sdk/dotnet/Outputs/SnapshotPermissionsToCreateVolume.cs +++ /dev/null @@ -1,37 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class SnapshotPermissionsToCreateVolume - { - /// - /// The account ID of the owner of the snapshot. - /// - public readonly string? AccountId; - /// - /// A global permission for all accounts.<br /> - /// (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).<br /> - /// (Response) If true, the resource is public. If false, the resource is private. - /// - public readonly bool? GlobalPermission; - - [OutputConstructor] - private SnapshotPermissionsToCreateVolume( - string? accountId, - - bool? globalPermission) - { - AccountId = accountId; - GlobalPermission = globalPermission; - } - } -} diff --git a/sdk/dotnet/Outputs/SnapshotTag.cs b/sdk/dotnet/Outputs/SnapshotTag.cs deleted file mode 100644 index 1d1a0b9..0000000 --- a/sdk/dotnet/Outputs/SnapshotTag.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class SnapshotTag - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string? Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string? Value; - - [OutputConstructor] - private SnapshotTag( - string? key, - - string? value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/SubnetTag.cs b/sdk/dotnet/Outputs/SubnetTag.cs deleted file mode 100644 index 3c6b1fd..0000000 --- a/sdk/dotnet/Outputs/SubnetTag.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class SubnetTag - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string? Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string? Value; - - [OutputConstructor] - private SubnetTag( - string? key, - - string? value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/TagTag.cs b/sdk/dotnet/Outputs/TagTag.cs deleted file mode 100644 index 4528a00..0000000 --- a/sdk/dotnet/Outputs/TagTag.cs +++ /dev/null @@ -1,37 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class TagTag - { - public readonly string? Key; - public readonly string? ResourceId; - public readonly string? ResourceType; - public readonly string? Value; - - [OutputConstructor] - private TagTag( - string? key, - - string? resourceId, - - string? resourceType, - - string? value) - { - Key = key; - ResourceId = resourceId; - ResourceType = resourceType; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/VirtualGatewayLinkNetToVirtualGatewayLink.cs b/sdk/dotnet/Outputs/VirtualGatewayLinkNetToVirtualGatewayLink.cs deleted file mode 100644 index bf1d993..0000000 --- a/sdk/dotnet/Outputs/VirtualGatewayLinkNetToVirtualGatewayLink.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class VirtualGatewayLinkNetToVirtualGatewayLink - { - /// - /// The ID of the Net to which you want to attach the virtual gateway. - /// - public readonly string? NetId; - /// - /// The state of the attachment (`attaching` \| `attached` \| `detaching` \| `detached`). - /// - public readonly string? State; - - [OutputConstructor] - private VirtualGatewayLinkNetToVirtualGatewayLink( - string? netId, - - string? state) - { - NetId = netId; - State = state; - } - } -} diff --git a/sdk/dotnet/Outputs/VirtualGatewayNetToVirtualGatewayLink.cs b/sdk/dotnet/Outputs/VirtualGatewayNetToVirtualGatewayLink.cs deleted file mode 100644 index 5b33d3a..0000000 --- a/sdk/dotnet/Outputs/VirtualGatewayNetToVirtualGatewayLink.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class VirtualGatewayNetToVirtualGatewayLink - { - /// - /// The ID of the Net to which the virtual gateway is attached. - /// - public readonly string? NetId; - /// - /// The state of the virtual gateway (`pending` \| `available` \| `deleting` \| `deleted`). - /// - public readonly string? State; - - [OutputConstructor] - private VirtualGatewayNetToVirtualGatewayLink( - string? netId, - - string? state) - { - NetId = netId; - State = state; - } - } -} diff --git a/sdk/dotnet/Outputs/VirtualGatewayTag.cs b/sdk/dotnet/Outputs/VirtualGatewayTag.cs deleted file mode 100644 index a8cd451..0000000 --- a/sdk/dotnet/Outputs/VirtualGatewayTag.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class VirtualGatewayTag - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string? Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string? Value; - - [OutputConstructor] - private VirtualGatewayTag( - string? key, - - string? value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/VmBlockDeviceMapping.cs b/sdk/dotnet/Outputs/VmBlockDeviceMapping.cs deleted file mode 100644 index a3a27d9..0000000 --- a/sdk/dotnet/Outputs/VmBlockDeviceMapping.cs +++ /dev/null @@ -1,49 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class VmBlockDeviceMapping - { - /// - /// Information about the BSU volume to create. - /// - public readonly Outputs.VmBlockDeviceMappingBsu? Bsu; - /// - /// The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - /// - public readonly string? DeviceName; - /// - /// Removes the device which is included in the block device mapping of the OMI. - /// - public readonly string? NoDevice; - /// - /// The name of the virtual device (`ephemeralN`). - /// - public readonly string? VirtualDeviceName; - - [OutputConstructor] - private VmBlockDeviceMapping( - Outputs.VmBlockDeviceMappingBsu? bsu, - - string? deviceName, - - string? noDevice, - - string? virtualDeviceName) - { - Bsu = bsu; - DeviceName = deviceName; - NoDevice = noDevice; - VirtualDeviceName = virtualDeviceName; - } - } -} diff --git a/sdk/dotnet/Outputs/VmBlockDeviceMappingBsu.cs b/sdk/dotnet/Outputs/VmBlockDeviceMappingBsu.cs deleted file mode 100644 index efd5cae..0000000 --- a/sdk/dotnet/Outputs/VmBlockDeviceMappingBsu.cs +++ /dev/null @@ -1,66 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class VmBlockDeviceMappingBsu - { - /// - /// If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - /// - public readonly bool? DeleteOnVmDeletion; - /// - /// The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - /// - public readonly int? Iops; - /// - /// The ID of the snapshot used to create the volume. - /// - public readonly string? SnapshotId; - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public readonly ImmutableArray Tags; - /// - /// The size of the volume, in gibibytes (GiB).<br /> - /// If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.<br /> - /// If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. - /// - public readonly int? VolumeSize; - /// - /// The type of the volume (`standard` \| `io1` \| `gp2`). If not specified in the request, a `standard` volume is created.<br /> - /// For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - /// - public readonly string? VolumeType; - - [OutputConstructor] - private VmBlockDeviceMappingBsu( - bool? deleteOnVmDeletion, - - int? iops, - - string? snapshotId, - - ImmutableArray tags, - - int? volumeSize, - - string? volumeType) - { - DeleteOnVmDeletion = deleteOnVmDeletion; - Iops = iops; - SnapshotId = snapshotId; - Tags = tags; - VolumeSize = volumeSize; - VolumeType = volumeType; - } - } -} diff --git a/sdk/dotnet/Outputs/VmBlockDeviceMappingBsuTag.cs b/sdk/dotnet/Outputs/VmBlockDeviceMappingBsuTag.cs deleted file mode 100644 index 7d0965a..0000000 --- a/sdk/dotnet/Outputs/VmBlockDeviceMappingBsuTag.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class VmBlockDeviceMappingBsuTag - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string? Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string? Value; - - [OutputConstructor] - private VmBlockDeviceMappingBsuTag( - string? key, - - string? value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/VmBlockDeviceMappingsCreated.cs b/sdk/dotnet/Outputs/VmBlockDeviceMappingsCreated.cs deleted file mode 100644 index d98a5fe..0000000 --- a/sdk/dotnet/Outputs/VmBlockDeviceMappingsCreated.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class VmBlockDeviceMappingsCreated - { - /// - /// Information about the BSU volume to create. - /// - public readonly ImmutableArray Bsus; - /// - /// The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - /// - public readonly string? DeviceName; - - [OutputConstructor] - private VmBlockDeviceMappingsCreated( - ImmutableArray bsus, - - string? deviceName) - { - Bsus = bsus; - DeviceName = deviceName; - } - } -} diff --git a/sdk/dotnet/Outputs/VmBlockDeviceMappingsCreatedBsus.cs b/sdk/dotnet/Outputs/VmBlockDeviceMappingsCreatedBsus.cs deleted file mode 100644 index eadce11..0000000 --- a/sdk/dotnet/Outputs/VmBlockDeviceMappingsCreatedBsus.cs +++ /dev/null @@ -1,56 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class VmBlockDeviceMappingsCreatedBsus - { - /// - /// If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - /// - public readonly bool? DeleteOnVmDeletion; - /// - /// The date and time of attachment of the volume to the VM, in ISO 8601 date-time format. - /// - public readonly string? LinkDate; - /// - /// The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - /// - public readonly string? State; - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public readonly ImmutableArray Tags; - /// - /// The ID of the volume. - /// - public readonly string? VolumeId; - - [OutputConstructor] - private VmBlockDeviceMappingsCreatedBsus( - bool? deleteOnVmDeletion, - - string? linkDate, - - string? state, - - ImmutableArray tags, - - string? volumeId) - { - DeleteOnVmDeletion = deleteOnVmDeletion; - LinkDate = linkDate; - State = state; - Tags = tags; - VolumeId = volumeId; - } - } -} diff --git a/sdk/dotnet/Outputs/VmBlockDeviceMappingsCreatedBsusTag.cs b/sdk/dotnet/Outputs/VmBlockDeviceMappingsCreatedBsusTag.cs deleted file mode 100644 index 7c4adff..0000000 --- a/sdk/dotnet/Outputs/VmBlockDeviceMappingsCreatedBsusTag.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class VmBlockDeviceMappingsCreatedBsusTag - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string? Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string? Value; - - [OutputConstructor] - private VmBlockDeviceMappingsCreatedBsusTag( - string? key, - - string? value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/VmNic.cs b/sdk/dotnet/Outputs/VmNic.cs deleted file mode 100644 index 2089fa9..0000000 --- a/sdk/dotnet/Outputs/VmNic.cs +++ /dev/null @@ -1,140 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class VmNic - { - /// - /// The account ID of the owner of the NIC. - /// - public readonly string? AccountId; - /// - /// If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - /// - public readonly bool? DeleteOnVmDeletion; - /// - /// The description of the NIC, if you are creating a NIC when creating the VM. - /// - public readonly string? Description; - /// - /// The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. - /// - public readonly int DeviceNumber; - /// - /// (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - /// - public readonly bool? IsSourceDestChecked; - /// - /// Information about the network interface card (NIC). - /// - public readonly ImmutableArray LinkNics; - /// - /// Information about the public IP associated with the NIC. - /// - public readonly ImmutableArray LinkPublicIps; - /// - /// The Media Access Control (MAC) address of the NIC. - /// - public readonly string? MacAddress; - /// - /// The ID of the Net for the NIC. - /// - public readonly string? NetId; - /// - /// The ID of the NIC, if you are attaching an existing NIC when creating a VM. - /// - public readonly string? NicId; - /// - /// The name of the private DNS. - /// - public readonly string? PrivateDnsName; - /// - /// One or more private IPs of the VM. - /// - public readonly ImmutableArray PrivateIps; - /// - /// The number of secondary private IPs, if you create a NIC when creating a VM. This parameter cannot be specified if you specified more than one private IP in the `private_ips` parameter. - /// - public readonly int? SecondaryPrivateIpCount; - /// - /// One or more IDs of security group for the VMs. - /// - public readonly ImmutableArray SecurityGroupIds; - /// - /// One or more security groups associated with the VM. - /// - public readonly ImmutableArray SecurityGroups; - /// - /// The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - /// - public readonly string? State; - /// - /// The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `nics` parameter. - /// - public readonly string? SubnetId; - - [OutputConstructor] - private VmNic( - string? accountId, - - bool? deleteOnVmDeletion, - - string? description, - - int deviceNumber, - - bool? isSourceDestChecked, - - ImmutableArray linkNics, - - ImmutableArray linkPublicIps, - - string? macAddress, - - string? netId, - - string? nicId, - - string? privateDnsName, - - ImmutableArray privateIps, - - int? secondaryPrivateIpCount, - - ImmutableArray securityGroupIds, - - ImmutableArray securityGroups, - - string? state, - - string? subnetId) - { - AccountId = accountId; - DeleteOnVmDeletion = deleteOnVmDeletion; - Description = description; - DeviceNumber = deviceNumber; - IsSourceDestChecked = isSourceDestChecked; - LinkNics = linkNics; - LinkPublicIps = linkPublicIps; - MacAddress = macAddress; - NetId = netId; - NicId = nicId; - PrivateDnsName = privateDnsName; - PrivateIps = privateIps; - SecondaryPrivateIpCount = secondaryPrivateIpCount; - SecurityGroupIds = securityGroupIds; - SecurityGroups = securityGroups; - State = state; - SubnetId = subnetId; - } - } -} diff --git a/sdk/dotnet/Outputs/VmNicLinkNic.cs b/sdk/dotnet/Outputs/VmNicLinkNic.cs deleted file mode 100644 index fbb902e..0000000 --- a/sdk/dotnet/Outputs/VmNicLinkNic.cs +++ /dev/null @@ -1,49 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class VmNicLinkNic - { - /// - /// If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - /// - public readonly bool? DeleteOnVmDeletion; - /// - /// The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. - /// - public readonly string? DeviceNumber; - /// - /// The ID of the NIC to attach. - /// - public readonly string? LinkNicId; - /// - /// The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - /// - public readonly string? State; - - [OutputConstructor] - private VmNicLinkNic( - bool? deleteOnVmDeletion, - - string? deviceNumber, - - string? linkNicId, - - string? state) - { - DeleteOnVmDeletion = deleteOnVmDeletion; - DeviceNumber = deviceNumber; - LinkNicId = linkNicId; - State = state; - } - } -} diff --git a/sdk/dotnet/Outputs/VmNicLinkPublicIp.cs b/sdk/dotnet/Outputs/VmNicLinkPublicIp.cs deleted file mode 100644 index c9de88b..0000000 --- a/sdk/dotnet/Outputs/VmNicLinkPublicIp.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class VmNicLinkPublicIp - { - /// - /// The name of the public DNS. - /// - public readonly string? PublicDnsName; - /// - /// The public IP of the VM. - /// - public readonly string? PublicIp; - /// - /// The account ID of the owner of the public IP. - /// - public readonly string? PublicIpAccountId; - - [OutputConstructor] - private VmNicLinkPublicIp( - string? publicDnsName, - - string? publicIp, - - string? publicIpAccountId) - { - PublicDnsName = publicDnsName; - PublicIp = publicIp; - PublicIpAccountId = publicIpAccountId; - } - } -} diff --git a/sdk/dotnet/Outputs/VmNicPrivateIp.cs b/sdk/dotnet/Outputs/VmNicPrivateIp.cs deleted file mode 100644 index b40434e..0000000 --- a/sdk/dotnet/Outputs/VmNicPrivateIp.cs +++ /dev/null @@ -1,49 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class VmNicPrivateIp - { - /// - /// If true, the IP is the primary private IP of the NIC. - /// - public readonly bool? IsPrimary; - /// - /// Information about the public IP associated with the NIC. - /// - public readonly ImmutableArray LinkPublicIps; - /// - /// The name of the private DNS. - /// - public readonly string? PrivateDnsName; - /// - /// The private IP of the NIC. - /// - public readonly string? PrivateIp; - - [OutputConstructor] - private VmNicPrivateIp( - bool? isPrimary, - - ImmutableArray linkPublicIps, - - string? privateDnsName, - - string? privateIp) - { - IsPrimary = isPrimary; - LinkPublicIps = linkPublicIps; - PrivateDnsName = privateDnsName; - PrivateIp = privateIp; - } - } -} diff --git a/sdk/dotnet/Outputs/VmNicPrivateIpLinkPublicIp.cs b/sdk/dotnet/Outputs/VmNicPrivateIpLinkPublicIp.cs deleted file mode 100644 index c571cec..0000000 --- a/sdk/dotnet/Outputs/VmNicPrivateIpLinkPublicIp.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class VmNicPrivateIpLinkPublicIp - { - /// - /// The name of the public DNS. - /// - public readonly string? PublicDnsName; - /// - /// The public IP of the VM. - /// - public readonly string? PublicIp; - /// - /// The account ID of the owner of the public IP. - /// - public readonly string? PublicIpAccountId; - - [OutputConstructor] - private VmNicPrivateIpLinkPublicIp( - string? publicDnsName, - - string? publicIp, - - string? publicIpAccountId) - { - PublicDnsName = publicDnsName; - PublicIp = publicIp; - PublicIpAccountId = publicIpAccountId; - } - } -} diff --git a/sdk/dotnet/Outputs/VmNicSecurityGroup.cs b/sdk/dotnet/Outputs/VmNicSecurityGroup.cs deleted file mode 100644 index a8448dc..0000000 --- a/sdk/dotnet/Outputs/VmNicSecurityGroup.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class VmNicSecurityGroup - { - /// - /// The ID of the security group. - /// - public readonly string? SecurityGroupId; - /// - /// The name of the security group. - /// - public readonly string? SecurityGroupName; - - [OutputConstructor] - private VmNicSecurityGroup( - string? securityGroupId, - - string? securityGroupName) - { - SecurityGroupId = securityGroupId; - SecurityGroupName = securityGroupName; - } - } -} diff --git a/sdk/dotnet/Outputs/VmPrimaryNic.cs b/sdk/dotnet/Outputs/VmPrimaryNic.cs deleted file mode 100644 index 1827c92..0000000 --- a/sdk/dotnet/Outputs/VmPrimaryNic.cs +++ /dev/null @@ -1,140 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class VmPrimaryNic - { - /// - /// The account ID of the owner of the NIC. - /// - public readonly string? AccountId; - /// - /// If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - /// - public readonly bool? DeleteOnVmDeletion; - /// - /// The description of the NIC, if you are creating a NIC when creating the VM. - /// - public readonly string? Description; - /// - /// The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. - /// - public readonly int DeviceNumber; - /// - /// (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - /// - public readonly bool? IsSourceDestChecked; - /// - /// Information about the network interface card (NIC). - /// - public readonly ImmutableArray LinkNics; - /// - /// Information about the public IP associated with the NIC. - /// - public readonly ImmutableArray LinkPublicIps; - /// - /// The Media Access Control (MAC) address of the NIC. - /// - public readonly string? MacAddress; - /// - /// The ID of the Net for the NIC. - /// - public readonly string? NetId; - /// - /// The ID of the NIC, if you are attaching an existing NIC when creating a VM. - /// - public readonly string? NicId; - /// - /// The name of the private DNS. - /// - public readonly string? PrivateDnsName; - /// - /// One or more private IPs of the VM. - /// - public readonly ImmutableArray PrivateIps; - /// - /// The number of secondary private IPs, if you create a NIC when creating a VM. This parameter cannot be specified if you specified more than one private IP in the `private_ips` parameter. - /// - public readonly int? SecondaryPrivateIpCount; - /// - /// One or more IDs of security group for the VMs. - /// - public readonly ImmutableArray SecurityGroupIds; - /// - /// One or more security groups associated with the VM. - /// - public readonly ImmutableArray SecurityGroups; - /// - /// The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - /// - public readonly string? State; - /// - /// The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `nics` parameter. - /// - public readonly string? SubnetId; - - [OutputConstructor] - private VmPrimaryNic( - string? accountId, - - bool? deleteOnVmDeletion, - - string? description, - - int deviceNumber, - - bool? isSourceDestChecked, - - ImmutableArray linkNics, - - ImmutableArray linkPublicIps, - - string? macAddress, - - string? netId, - - string? nicId, - - string? privateDnsName, - - ImmutableArray privateIps, - - int? secondaryPrivateIpCount, - - ImmutableArray securityGroupIds, - - ImmutableArray securityGroups, - - string? state, - - string? subnetId) - { - AccountId = accountId; - DeleteOnVmDeletion = deleteOnVmDeletion; - Description = description; - DeviceNumber = deviceNumber; - IsSourceDestChecked = isSourceDestChecked; - LinkNics = linkNics; - LinkPublicIps = linkPublicIps; - MacAddress = macAddress; - NetId = netId; - NicId = nicId; - PrivateDnsName = privateDnsName; - PrivateIps = privateIps; - SecondaryPrivateIpCount = secondaryPrivateIpCount; - SecurityGroupIds = securityGroupIds; - SecurityGroups = securityGroups; - State = state; - SubnetId = subnetId; - } - } -} diff --git a/sdk/dotnet/Outputs/VmPrimaryNicLinkNic.cs b/sdk/dotnet/Outputs/VmPrimaryNicLinkNic.cs deleted file mode 100644 index fc28c16..0000000 --- a/sdk/dotnet/Outputs/VmPrimaryNicLinkNic.cs +++ /dev/null @@ -1,49 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class VmPrimaryNicLinkNic - { - /// - /// If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - /// - public readonly bool? DeleteOnVmDeletion; - /// - /// The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. - /// - public readonly string? DeviceNumber; - /// - /// The ID of the NIC to attach. - /// - public readonly string? LinkNicId; - /// - /// The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - /// - public readonly string? State; - - [OutputConstructor] - private VmPrimaryNicLinkNic( - bool? deleteOnVmDeletion, - - string? deviceNumber, - - string? linkNicId, - - string? state) - { - DeleteOnVmDeletion = deleteOnVmDeletion; - DeviceNumber = deviceNumber; - LinkNicId = linkNicId; - State = state; - } - } -} diff --git a/sdk/dotnet/Outputs/VmPrimaryNicLinkPublicIp.cs b/sdk/dotnet/Outputs/VmPrimaryNicLinkPublicIp.cs deleted file mode 100644 index 12adf5f..0000000 --- a/sdk/dotnet/Outputs/VmPrimaryNicLinkPublicIp.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class VmPrimaryNicLinkPublicIp - { - /// - /// The name of the public DNS. - /// - public readonly string? PublicDnsName; - /// - /// The public IP of the VM. - /// - public readonly string? PublicIp; - /// - /// The account ID of the owner of the public IP. - /// - public readonly string? PublicIpAccountId; - - [OutputConstructor] - private VmPrimaryNicLinkPublicIp( - string? publicDnsName, - - string? publicIp, - - string? publicIpAccountId) - { - PublicDnsName = publicDnsName; - PublicIp = publicIp; - PublicIpAccountId = publicIpAccountId; - } - } -} diff --git a/sdk/dotnet/Outputs/VmPrimaryNicPrivateIp.cs b/sdk/dotnet/Outputs/VmPrimaryNicPrivateIp.cs deleted file mode 100644 index 1f5b1dd..0000000 --- a/sdk/dotnet/Outputs/VmPrimaryNicPrivateIp.cs +++ /dev/null @@ -1,49 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class VmPrimaryNicPrivateIp - { - /// - /// If true, the IP is the primary private IP of the NIC. - /// - public readonly bool? IsPrimary; - /// - /// Information about the public IP associated with the NIC. - /// - public readonly ImmutableArray LinkPublicIps; - /// - /// The name of the private DNS. - /// - public readonly string? PrivateDnsName; - /// - /// The private IP of the NIC. - /// - public readonly string? PrivateIp; - - [OutputConstructor] - private VmPrimaryNicPrivateIp( - bool? isPrimary, - - ImmutableArray linkPublicIps, - - string? privateDnsName, - - string? privateIp) - { - IsPrimary = isPrimary; - LinkPublicIps = linkPublicIps; - PrivateDnsName = privateDnsName; - PrivateIp = privateIp; - } - } -} diff --git a/sdk/dotnet/Outputs/VmPrimaryNicPrivateIpLinkPublicIp.cs b/sdk/dotnet/Outputs/VmPrimaryNicPrivateIpLinkPublicIp.cs deleted file mode 100644 index 9dac1e1..0000000 --- a/sdk/dotnet/Outputs/VmPrimaryNicPrivateIpLinkPublicIp.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class VmPrimaryNicPrivateIpLinkPublicIp - { - /// - /// The name of the public DNS. - /// - public readonly string? PublicDnsName; - /// - /// The public IP of the VM. - /// - public readonly string? PublicIp; - /// - /// The account ID of the owner of the public IP. - /// - public readonly string? PublicIpAccountId; - - [OutputConstructor] - private VmPrimaryNicPrivateIpLinkPublicIp( - string? publicDnsName, - - string? publicIp, - - string? publicIpAccountId) - { - PublicDnsName = publicDnsName; - PublicIp = publicIp; - PublicIpAccountId = publicIpAccountId; - } - } -} diff --git a/sdk/dotnet/Outputs/VmPrimaryNicSecurityGroup.cs b/sdk/dotnet/Outputs/VmPrimaryNicSecurityGroup.cs deleted file mode 100644 index 90c1ceb..0000000 --- a/sdk/dotnet/Outputs/VmPrimaryNicSecurityGroup.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class VmPrimaryNicSecurityGroup - { - /// - /// The ID of the security group. - /// - public readonly string? SecurityGroupId; - /// - /// The name of the security group. - /// - public readonly string? SecurityGroupName; - - [OutputConstructor] - private VmPrimaryNicSecurityGroup( - string? securityGroupId, - - string? securityGroupName) - { - SecurityGroupId = securityGroupId; - SecurityGroupName = securityGroupName; - } - } -} diff --git a/sdk/dotnet/Outputs/VmSecurityGroup.cs b/sdk/dotnet/Outputs/VmSecurityGroup.cs deleted file mode 100644 index 39f93a8..0000000 --- a/sdk/dotnet/Outputs/VmSecurityGroup.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class VmSecurityGroup - { - /// - /// The ID of the security group. - /// - public readonly string? SecurityGroupId; - /// - /// The name of the security group. - /// - public readonly string? SecurityGroupName; - - [OutputConstructor] - private VmSecurityGroup( - string? securityGroupId, - - string? securityGroupName) - { - SecurityGroupId = securityGroupId; - SecurityGroupName = securityGroupName; - } - } -} diff --git a/sdk/dotnet/Outputs/VmTag.cs b/sdk/dotnet/Outputs/VmTag.cs deleted file mode 100644 index b8936c9..0000000 --- a/sdk/dotnet/Outputs/VmTag.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class VmTag - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string? Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string? Value; - - [OutputConstructor] - private VmTag( - string? key, - - string? value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/VolumeLinkedVolume.cs b/sdk/dotnet/Outputs/VolumeLinkedVolume.cs deleted file mode 100644 index 5041534..0000000 --- a/sdk/dotnet/Outputs/VolumeLinkedVolume.cs +++ /dev/null @@ -1,56 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class VolumeLinkedVolume - { - /// - /// If true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - /// - public readonly bool? DeleteOnVmDeletion; - /// - /// The name of the device. - /// - public readonly string? DeviceName; - /// - /// The state of the volume (`creating` \| `available` \| `in-use` \| `updating` \| `deleting` \| `error`). - /// - public readonly string? State; - /// - /// The ID of the VM. - /// - public readonly string? VmId; - /// - /// The ID of the volume. - /// - public readonly string? VolumeId; - - [OutputConstructor] - private VolumeLinkedVolume( - bool? deleteOnVmDeletion, - - string? deviceName, - - string? state, - - string? vmId, - - string? volumeId) - { - DeleteOnVmDeletion = deleteOnVmDeletion; - DeviceName = deviceName; - State = state; - VmId = vmId; - VolumeId = volumeId; - } - } -} diff --git a/sdk/dotnet/Outputs/VolumeTag.cs b/sdk/dotnet/Outputs/VolumeTag.cs deleted file mode 100644 index 8da9858..0000000 --- a/sdk/dotnet/Outputs/VolumeTag.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class VolumeTag - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string? Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string? Value; - - [OutputConstructor] - private VolumeTag( - string? key, - - string? value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/VpnConnectionRoute.cs b/sdk/dotnet/Outputs/VpnConnectionRoute.cs deleted file mode 100644 index 67fbe60..0000000 --- a/sdk/dotnet/Outputs/VpnConnectionRoute.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class VpnConnectionRoute - { - /// - /// The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - /// - public readonly string? DestinationIpRange; - /// - /// The type of route (always `static`). - /// - public readonly string? RouteType; - /// - /// The state of the IPSEC tunnel (`UP` \| `DOWN`). - /// - public readonly string? State; - - [OutputConstructor] - private VpnConnectionRoute( - string? destinationIpRange, - - string? routeType, - - string? state) - { - DestinationIpRange = destinationIpRange; - RouteType = routeType; - State = state; - } - } -} diff --git a/sdk/dotnet/Outputs/VpnConnectionTag.cs b/sdk/dotnet/Outputs/VpnConnectionTag.cs deleted file mode 100644 index 3448b43..0000000 --- a/sdk/dotnet/Outputs/VpnConnectionTag.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class VpnConnectionTag - { - /// - /// The key of the tag, with a minimum of 1 character. - /// - public readonly string? Key; - /// - /// The value of the tag, between 0 and 255 characters. - /// - public readonly string? Value; - - [OutputConstructor] - private VpnConnectionTag( - string? key, - - string? value) - { - Key = key; - Value = value; - } - } -} diff --git a/sdk/dotnet/Outputs/VpnConnectionVgwTelemetry.cs b/sdk/dotnet/Outputs/VpnConnectionVgwTelemetry.cs deleted file mode 100644 index 91ba248..0000000 --- a/sdk/dotnet/Outputs/VpnConnectionVgwTelemetry.cs +++ /dev/null @@ -1,56 +0,0 @@ -// *** 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.Outscale.Outputs -{ - - [OutputType] - public sealed class VpnConnectionVgwTelemetry - { - /// - /// The number of routes accepted through BGP (Border Gateway Protocol) route exchanges. - /// - public readonly int? AcceptedRouteCount; - /// - /// The date and time (UTC) of the latest state update. - /// - public readonly string? LastStateChangeDate; - /// - /// The IP on the OUTSCALE side of the tunnel. - /// - public readonly string? OutsideIpAddress; - /// - /// The state of the IPSEC tunnel (`UP` \| `DOWN`). - /// - public readonly string? State; - /// - /// A description of the current state of the tunnel. - /// - public readonly string? StateDescription; - - [OutputConstructor] - private VpnConnectionVgwTelemetry( - int? acceptedRouteCount, - - string? lastStateChangeDate, - - string? outsideIpAddress, - - string? state, - - string? stateDescription) - { - AcceptedRouteCount = acceptedRouteCount; - LastStateChangeDate = lastStateChangeDate; - OutsideIpAddress = outsideIpAddress; - State = state; - StateDescription = stateDescription; - } - } -} diff --git a/sdk/dotnet/Provider.cs b/sdk/dotnet/Provider.cs deleted file mode 100644 index a8f6940..0000000 --- a/sdk/dotnet/Provider.cs +++ /dev/null @@ -1,131 +0,0 @@ -// *** 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.Outscale -{ - /// - /// The provider type for the outscale package. By default, resources use package-wide configuration - /// settings, however an explicit `Provider` instance may be created and passed during resource - /// construction to achieve fine-grained programmatic control over provider settings. See the - /// [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information. - /// - [OutscaleResourceType("pulumi:providers:outscale")] - public partial class Provider : global::Pulumi.ProviderResource - { - /// - /// The Access Key ID for API operations - /// - [Output("accessKeyId")] - public Output AccessKeyId { get; private set; } = null!; - - /// - /// The Region for API operations. - /// - [Output("region")] - public Output Region { get; private set; } = null!; - - /// - /// The Secret Key ID for API operations. - /// - [Output("secretKeyId")] - public Output SecretKeyId { get; private set; } = null!; - - /// - /// The path to your x509 cert - /// - [Output("x509CertPath")] - public Output X509CertPath { get; private set; } = null!; - - /// - /// The path to your x509 key - /// - [Output("x509KeyPath")] - public Output X509KeyPath { get; private set; } = null!; - - - /// - /// Create a Provider resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? options = null) - : base("outscale", name, args ?? new ProviderArgs(), MakeResourceOptions(options, "")) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - } - - public sealed class ProviderArgs : global::Pulumi.ResourceArgs - { - /// - /// The Access Key ID for API operations - /// - [Input("accessKeyId")] - public Input? AccessKeyId { get; set; } - - [Input("endpoints", json: true)] - private InputList? _endpoints; - public InputList Endpoints - { - get => _endpoints ?? (_endpoints = new InputList()); - set => _endpoints = value; - } - - /// - /// tls insecure connection - /// - [Input("insecure", json: true)] - public Input? Insecure { get; set; } - - /// - /// The Region for API operations. - /// - [Input("region")] - public Input? Region { get; set; } - - /// - /// The Secret Key ID for API operations. - /// - [Input("secretKeyId")] - public Input? SecretKeyId { get; set; } - - /// - /// The path to your x509 cert - /// - [Input("x509CertPath")] - public Input? X509CertPath { get; set; } - - /// - /// The path to your x509 key - /// - [Input("x509KeyPath")] - public Input? X509KeyPath { get; set; } - - public ProviderArgs() - { - AccessKeyId = Utilities.GetEnv("OUTSCALE_ACCESSKEYID"); - Region = Utilities.GetEnv("OUTSCALE_REGION"); - SecretKeyId = Utilities.GetEnv("OUTSCALE_SECRETKEYID"); - } - public static new ProviderArgs Empty => new ProviderArgs(); - } -} diff --git a/sdk/dotnet/PublicIp.cs b/sdk/dotnet/PublicIp.cs deleted file mode 100644 index e69de29..0000000 diff --git a/sdk/dotnet/PublicIpLink.cs b/sdk/dotnet/PublicIpLink.cs deleted file mode 100644 index 477bfff..0000000 --- a/sdk/dotnet/PublicIpLink.cs +++ /dev/null @@ -1,276 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages a public IP link. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-EIPs.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-publicip). - /// - /// ## Example Usage - /// ### Required resources - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var publicIp01 = new Outscale.PublicIp("publicIp01"); - /// - /// var vm01 = new Outscale.Vm("vm01", new() - /// { - /// ImageId = @var.Image_id, - /// VmType = @var.Vm_type, - /// KeypairName = @var.Keypair_name, - /// SecurityGroupIds = new[] - /// { - /// @var.Security_group_id, - /// }, - /// }); - /// - /// }); - /// ``` - /// ### Link a public IP address to a VM - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var publicIpLink01 = new Outscale.PublicIpLink("publicIpLink01", new() - /// { - /// VmId = outscale_vm.Vm01.Vm_id, - /// PublicIp = outscale_public_ip.Public_ip01.Public_ip, - /// }); - /// - /// }); - /// ``` - /// - /// ## Import - /// - /// A public IP link can be imported using the public IP or the public IP link ID. For exampleconsole - /// - /// ```sh - /// $ pulumi import outscale:index/publicIpLink:PublicIpLink ImportedPublicIpLink eipassoc-12345678 - /// ``` - /// - [OutscaleResourceType("outscale:index/publicIpLink:PublicIpLink")] - public partial class PublicIpLink : global::Pulumi.CustomResource - { - /// - /// If true, allows the public IP to be associated with the VM or NIC that you specify even if it is already associated with another VM or NIC. If false, prevents the EIP from being associated with the VM or NIC that you specify if it is already associated with another VM or NIC. (By default, true in the public Cloud, false in a Net.) - /// - [Output("allowRelink")] - public Output AllowRelink { get; private set; } = null!; - - /// - /// (Net only) The ID representing the association of the public IP with the VM or the NIC. - /// - [Output("linkPublicIpId")] - public Output LinkPublicIpId { get; private set; } = null!; - - [Output("nicAccountId")] - public Output NicAccountId { get; private set; } = null!; - - /// - /// (Net only) The ID of the NIC. This parameter is required if the VM has more than one NIC attached. Otherwise, you need to specify the `vm_id` parameter instead. You cannot specify both parameters at the same time. - /// - [Output("nicId")] - public Output NicId { get; private set; } = null!; - - /// - /// (Net only) The primary or secondary private IP of the specified NIC. By default, the primary private IP. - /// - [Output("privateIp")] - public Output PrivateIp { get; private set; } = null!; - - /// - /// The public IP. This parameter is required unless you use the `public_ip_id` parameter. - /// - [Output("publicIp")] - public Output PublicIp { get; private set; } = null!; - - /// - /// The allocation ID of the public IP. This parameter is required unless you use the `public_ip` parameter. - /// - [Output("publicIpId")] - public Output PublicIpId { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - [Output("tags")] - public Output> Tags { get; private set; } = null!; - - /// - /// The ID of the VM.<br />- In the public Cloud, this parameter is required.<br />- In a Net, this parameter is required if the VM has only one NIC. Otherwise, you need to specify the `nic_id` parameter instead. You cannot specify both parameters at the same time. - /// - [Output("vmId")] - public Output VmId { get; private set; } = null!; - - - /// - /// Create a PublicIpLink resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public PublicIpLink(string name, PublicIpLinkArgs? args = null, CustomResourceOptions? options = null) - : base("outscale:index/publicIpLink:PublicIpLink", name, args ?? new PublicIpLinkArgs(), MakeResourceOptions(options, "")) - { - } - - private PublicIpLink(string name, Input id, PublicIpLinkState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/publicIpLink:PublicIpLink", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing PublicIpLink resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static PublicIpLink Get(string name, Input id, PublicIpLinkState? state = null, CustomResourceOptions? options = null) - { - return new PublicIpLink(name, id, state, options); - } - } - - public sealed class PublicIpLinkArgs : global::Pulumi.ResourceArgs - { - /// - /// If true, allows the public IP to be associated with the VM or NIC that you specify even if it is already associated with another VM or NIC. If false, prevents the EIP from being associated with the VM or NIC that you specify if it is already associated with another VM or NIC. (By default, true in the public Cloud, false in a Net.) - /// - [Input("allowRelink")] - public Input? AllowRelink { get; set; } - - /// - /// (Net only) The ID of the NIC. This parameter is required if the VM has more than one NIC attached. Otherwise, you need to specify the `vm_id` parameter instead. You cannot specify both parameters at the same time. - /// - [Input("nicId")] - public Input? NicId { get; set; } - - /// - /// (Net only) The primary or secondary private IP of the specified NIC. By default, the primary private IP. - /// - [Input("privateIp")] - public Input? PrivateIp { get; set; } - - /// - /// The public IP. This parameter is required unless you use the `public_ip_id` parameter. - /// - [Input("publicIp")] - public Input? PublicIp { get; set; } - - /// - /// The allocation ID of the public IP. This parameter is required unless you use the `public_ip` parameter. - /// - [Input("publicIpId")] - public Input? PublicIpId { get; set; } - - /// - /// The ID of the VM.<br />- In the public Cloud, this parameter is required.<br />- In a Net, this parameter is required if the VM has only one NIC. Otherwise, you need to specify the `nic_id` parameter instead. You cannot specify both parameters at the same time. - /// - [Input("vmId")] - public Input? VmId { get; set; } - - public PublicIpLinkArgs() - { - } - public static new PublicIpLinkArgs Empty => new PublicIpLinkArgs(); - } - - public sealed class PublicIpLinkState : global::Pulumi.ResourceArgs - { - /// - /// If true, allows the public IP to be associated with the VM or NIC that you specify even if it is already associated with another VM or NIC. If false, prevents the EIP from being associated with the VM or NIC that you specify if it is already associated with another VM or NIC. (By default, true in the public Cloud, false in a Net.) - /// - [Input("allowRelink")] - public Input? AllowRelink { get; set; } - - /// - /// (Net only) The ID representing the association of the public IP with the VM or the NIC. - /// - [Input("linkPublicIpId")] - public Input? LinkPublicIpId { get; set; } - - [Input("nicAccountId")] - public Input? NicAccountId { get; set; } - - /// - /// (Net only) The ID of the NIC. This parameter is required if the VM has more than one NIC attached. Otherwise, you need to specify the `vm_id` parameter instead. You cannot specify both parameters at the same time. - /// - [Input("nicId")] - public Input? NicId { get; set; } - - /// - /// (Net only) The primary or secondary private IP of the specified NIC. By default, the primary private IP. - /// - [Input("privateIp")] - public Input? PrivateIp { get; set; } - - /// - /// The public IP. This parameter is required unless you use the `public_ip_id` parameter. - /// - [Input("publicIp")] - public Input? PublicIp { get; set; } - - /// - /// The allocation ID of the public IP. This parameter is required unless you use the `public_ip` parameter. - /// - [Input("publicIpId")] - public Input? PublicIpId { get; set; } - - [Input("requestId")] - public Input? RequestId { get; set; } - - [Input("tags")] - private InputList? _tags; - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - /// - /// The ID of the VM.<br />- In the public Cloud, this parameter is required.<br />- In a Net, this parameter is required if the VM has only one NIC. Otherwise, you need to specify the `nic_id` parameter instead. You cannot specify both parameters at the same time. - /// - [Input("vmId")] - public Input? VmId { get; set; } - - public PublicIpLinkState() - { - } - public static new PublicIpLinkState Empty => new PublicIpLinkState(); - } -} diff --git a/sdk/dotnet/Pulumi.Outscale.csproj b/sdk/dotnet/Pulumi.Outscale.csproj deleted file mode 100644 index 50f5a70..0000000 --- a/sdk/dotnet/Pulumi.Outscale.csproj +++ /dev/null @@ -1,60 +0,0 @@ - - - - true - Pulumi - Pulumi - A Pulumi package for creating and managing outscale cloud resources. - Apache-2.0 - https://www.pulumi.com - https://github.com/outscale/pulumi-outscale - logo.png - - net6.0 - enable - - - - true - 1701;1702;1591 - - - - $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb - true - true - - - - true - - - - - - - - - - - - - - - - - - - - - - - - - - True - - - - - diff --git a/sdk/dotnet/Pulumi.yaml b/sdk/dotnet/Pulumi.yaml deleted file mode 100644 index e69de29..0000000 diff --git a/sdk/dotnet/README.md b/sdk/dotnet/README.md deleted file mode 100644 index c15975e..0000000 --- a/sdk/dotnet/README.md +++ /dev/null @@ -1 +0,0 @@ -A Pulumi package for creating and managing outscale cloud resources. diff --git a/sdk/dotnet/Route.cs b/sdk/dotnet/Route.cs deleted file mode 100644 index 02890e7..0000000 --- a/sdk/dotnet/Route.cs +++ /dev/null @@ -1,343 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages a route. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Route-Tables.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-route). - /// - /// ## Example Usage - /// ### Required resources - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var net01 = new Outscale.Net("net01", new() - /// { - /// IpRange = "10.0.0.0/16", - /// }); - /// - /// var routeTable01 = new Outscale.RouteTable("routeTable01", new() - /// { - /// NetId = net01.NetId, - /// }); - /// - /// var internetService01 = new Outscale.InternetService("internetService01"); - /// - /// var internetServiceLink01 = new Outscale.InternetServiceLink("internetServiceLink01", new() - /// { - /// InternetServiceId = internetService01.InternetServiceId, - /// NetId = net01.NetId, - /// }); - /// - /// }); - /// ``` - /// ### Create a route to an Internet service - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var route01 = new Outscale.Route("route01", new() - /// { - /// GatewayId = outscale_internet_service.Internet_service01.Internet_service_id, - /// DestinationIpRange = "0.0.0.0/0", - /// RouteTableId = outscale_route_table.Route_table01.Route_table_id, - /// }); - /// - /// }); - /// ``` - /// - /// ## Import - /// - /// A route can be imported using the route table ID and the destination IP range. For exampleconsole - /// - /// ```sh - /// $ pulumi import outscale:index/route:Route outscale_routeImportedRoute rtb-12345678_10.0.0.0/0 - /// ``` - /// - [OutscaleResourceType("outscale:index/route:Route")] - public partial class Route : global::Pulumi.CustomResource - { - /// - /// By default or if set to true, waits for the route to be in the `active` state to declare its successful creation.<br />If false, the created route is in the `active` state if available, or the `blackhole` state if not available. - /// - [Output("awaitActiveState")] - public Output AwaitActiveState { get; private set; } = null!; - - /// - /// The method used to create the route. - /// - [Output("creationMethod")] - public Output CreationMethod { get; private set; } = null!; - - /// - /// The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - /// - [Output("destinationIpRange")] - public Output DestinationIpRange { get; private set; } = null!; - - /// - /// The ID of the OUTSCALE service. - /// - [Output("destinationServiceId")] - public Output DestinationServiceId { get; private set; } = null!; - - /// - /// The ID of an Internet service or virtual gateway attached to your Net. - /// - [Output("gatewayId")] - public Output GatewayId { get; private set; } = null!; - - [Output("natAccessPoint")] - public Output NatAccessPoint { get; private set; } = null!; - - /// - /// The ID of a NAT service. - /// - [Output("natServiceId")] - public Output NatServiceId { get; private set; } = null!; - - /// - /// The ID of a Net peering. - /// - [Output("netPeeringId")] - public Output NetPeeringId { get; private set; } = null!; - - /// - /// The ID of a NIC. - /// - [Output("nicId")] - public Output NicId { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - /// - /// The ID of the route table for which you want to create a route. - /// - [Output("routeTableId")] - public Output RouteTableId { get; private set; } = null!; - - /// - /// The state of a route in the route table (always `active`). - /// - [Output("state")] - public Output State { get; private set; } = null!; - - /// - /// The account ID of the owner of the VM. - /// - [Output("vmAccountId")] - public Output VmAccountId { get; private set; } = null!; - - /// - /// The ID of a NAT VM in your Net (attached to exactly one NIC). - /// - [Output("vmId")] - public Output VmId { get; private set; } = null!; - - - /// - /// Create a Route resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public Route(string name, RouteArgs args, CustomResourceOptions? options = null) - : base("outscale:index/route:Route", name, args ?? new RouteArgs(), MakeResourceOptions(options, "")) - { - } - - private Route(string name, Input id, RouteState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/route:Route", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing Route resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static Route Get(string name, Input id, RouteState? state = null, CustomResourceOptions? options = null) - { - return new Route(name, id, state, options); - } - } - - public sealed class RouteArgs : global::Pulumi.ResourceArgs - { - /// - /// By default or if set to true, waits for the route to be in the `active` state to declare its successful creation.<br />If false, the created route is in the `active` state if available, or the `blackhole` state if not available. - /// - [Input("awaitActiveState")] - public Input? AwaitActiveState { get; set; } - - /// - /// The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - /// - [Input("destinationIpRange", required: true)] - public Input DestinationIpRange { get; set; } = null!; - - /// - /// The ID of an Internet service or virtual gateway attached to your Net. - /// - [Input("gatewayId")] - public Input? GatewayId { get; set; } - - /// - /// The ID of a NAT service. - /// - [Input("natServiceId")] - public Input? NatServiceId { get; set; } - - /// - /// The ID of a Net peering. - /// - [Input("netPeeringId")] - public Input? NetPeeringId { get; set; } - - /// - /// The ID of a NIC. - /// - [Input("nicId")] - public Input? NicId { get; set; } - - /// - /// The ID of the route table for which you want to create a route. - /// - [Input("routeTableId", required: true)] - public Input RouteTableId { get; set; } = null!; - - /// - /// The ID of a NAT VM in your Net (attached to exactly one NIC). - /// - [Input("vmId")] - public Input? VmId { get; set; } - - public RouteArgs() - { - } - public static new RouteArgs Empty => new RouteArgs(); - } - - public sealed class RouteState : global::Pulumi.ResourceArgs - { - /// - /// By default or if set to true, waits for the route to be in the `active` state to declare its successful creation.<br />If false, the created route is in the `active` state if available, or the `blackhole` state if not available. - /// - [Input("awaitActiveState")] - public Input? AwaitActiveState { get; set; } - - /// - /// The method used to create the route. - /// - [Input("creationMethod")] - public Input? CreationMethod { get; set; } - - /// - /// The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - /// - [Input("destinationIpRange")] - public Input? DestinationIpRange { get; set; } - - /// - /// The ID of the OUTSCALE service. - /// - [Input("destinationServiceId")] - public Input? DestinationServiceId { get; set; } - - /// - /// The ID of an Internet service or virtual gateway attached to your Net. - /// - [Input("gatewayId")] - public Input? GatewayId { get; set; } - - [Input("natAccessPoint")] - public Input? NatAccessPoint { get; set; } - - /// - /// The ID of a NAT service. - /// - [Input("natServiceId")] - public Input? NatServiceId { get; set; } - - /// - /// The ID of a Net peering. - /// - [Input("netPeeringId")] - public Input? NetPeeringId { get; set; } - - /// - /// The ID of a NIC. - /// - [Input("nicId")] - public Input? NicId { get; set; } - - [Input("requestId")] - public Input? RequestId { get; set; } - - /// - /// The ID of the route table for which you want to create a route. - /// - [Input("routeTableId")] - public Input? RouteTableId { get; set; } - - /// - /// The state of a route in the route table (always `active`). - /// - [Input("state")] - public Input? State { get; set; } - - /// - /// The account ID of the owner of the VM. - /// - [Input("vmAccountId")] - public Input? VmAccountId { get; set; } - - /// - /// The ID of a NAT VM in your Net (attached to exactly one NIC). - /// - [Input("vmId")] - public Input? VmId { get; set; } - - public RouteState() - { - } - public static new RouteState Empty => new RouteState(); - } -} diff --git a/sdk/dotnet/RouteTable.cs b/sdk/dotnet/RouteTable.cs deleted file mode 100644 index 4e38193..0000000 --- a/sdk/dotnet/RouteTable.cs +++ /dev/null @@ -1,244 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages a route table. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Route-Tables.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-routetable). - /// - /// ## Example Usage - /// ### Required resource - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var net01 = new Outscale.Net("net01", new() - /// { - /// IpRange = "10.0.0.0/16", - /// }); - /// - /// }); - /// ``` - /// ### Create a route table - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var routeTable01 = new Outscale.RouteTable("routeTable01", new() - /// { - /// NetId = outscale_net.Net01.Net_id, - /// }); - /// - /// }); - /// ``` - /// - /// ## Import - /// - /// A route table can be imported using its ID. For exampleconsole - /// - /// ```sh - /// $ pulumi import outscale:index/routeTable:RouteTable ImportedRouteTable rtb-12345678 - /// ``` - /// - [OutscaleResourceType("outscale:index/routeTable:RouteTable")] - public partial class RouteTable : global::Pulumi.CustomResource - { - /// - /// One or more associations between the route table and Subnets. - /// - [Output("linkRouteTables")] - public Output> LinkRouteTables { get; private set; } = null!; - - /// - /// The ID of the Net for which you want to create a route table. - /// - [Output("netId")] - public Output NetId { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - /// - /// Information about virtual gateways propagating routes. - /// - [Output("routePropagatingVirtualGateways")] - public Output> RoutePropagatingVirtualGateways { get; private set; } = null!; - - /// - /// The ID of the route table. - /// - [Output("routeTableId")] - public Output RouteTableId { get; private set; } = null!; - - /// - /// One or more routes in the route table. - /// - [Output("routes")] - public Output> Routes { get; private set; } = null!; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - [Output("tags")] - public Output> Tags { get; private set; } = null!; - - - /// - /// Create a RouteTable resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public RouteTable(string name, RouteTableArgs args, CustomResourceOptions? options = null) - : base("outscale:index/routeTable:RouteTable", name, args ?? new RouteTableArgs(), MakeResourceOptions(options, "")) - { - } - - private RouteTable(string name, Input id, RouteTableState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/routeTable:RouteTable", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing RouteTable resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static RouteTable Get(string name, Input id, RouteTableState? state = null, CustomResourceOptions? options = null) - { - return new RouteTable(name, id, state, options); - } - } - - public sealed class RouteTableArgs : global::Pulumi.ResourceArgs - { - /// - /// The ID of the Net for which you want to create a route table. - /// - [Input("netId", required: true)] - public Input NetId { get; set; } = null!; - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - public RouteTableArgs() - { - } - public static new RouteTableArgs Empty => new RouteTableArgs(); - } - - public sealed class RouteTableState : global::Pulumi.ResourceArgs - { - [Input("linkRouteTables")] - private InputList? _linkRouteTables; - - /// - /// One or more associations between the route table and Subnets. - /// - public InputList LinkRouteTables - { - get => _linkRouteTables ?? (_linkRouteTables = new InputList()); - set => _linkRouteTables = value; - } - - /// - /// The ID of the Net for which you want to create a route table. - /// - [Input("netId")] - public Input? NetId { get; set; } - - [Input("requestId")] - public Input? RequestId { get; set; } - - [Input("routePropagatingVirtualGateways")] - private InputList? _routePropagatingVirtualGateways; - - /// - /// Information about virtual gateways propagating routes. - /// - public InputList RoutePropagatingVirtualGateways - { - get => _routePropagatingVirtualGateways ?? (_routePropagatingVirtualGateways = new InputList()); - set => _routePropagatingVirtualGateways = value; - } - - /// - /// The ID of the route table. - /// - [Input("routeTableId")] - public Input? RouteTableId { get; set; } - - [Input("routes")] - private InputList? _routes; - - /// - /// One or more routes in the route table. - /// - public InputList Routes - { - get => _routes ?? (_routes = new InputList()); - set => _routes = value; - } - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - public RouteTableState() - { - } - public static new RouteTableState Empty => new RouteTableState(); - } -} diff --git a/sdk/dotnet/RouteTableLink.cs b/sdk/dotnet/RouteTableLink.cs deleted file mode 100644 index a9f39e6..0000000 --- a/sdk/dotnet/RouteTableLink.cs +++ /dev/null @@ -1,202 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages a route table link. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Route-Tables.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-routetable). - /// - /// ## Example Usage - /// ### Required resources - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var net01 = new Outscale.Net("net01", new() - /// { - /// IpRange = "10.0.0.0/16", - /// }); - /// - /// var subnet01 = new Outscale.Subnet("subnet01", new() - /// { - /// NetId = net01.NetId, - /// IpRange = "10.0.0.0/18", - /// }); - /// - /// var routeTable01 = new Outscale.RouteTable("routeTable01", new() - /// { - /// NetId = net01.NetId, - /// }); - /// - /// }); - /// ``` - /// ### Link a route table to a subnet - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var routeTableLink01 = new Outscale.RouteTableLink("routeTableLink01", new() - /// { - /// SubnetId = outscale_subnet.Subnet01.Subnet_id, - /// RouteTableId = outscale_route_table.Route_table01.Route_table_id, - /// }); - /// - /// }); - /// ``` - /// - /// ## Import - /// - /// A route table link can be imported using the route table ID and the route table link ID. For exampleconsole - /// - /// ```sh - /// $ pulumi import outscale:index/routeTableLink:RouteTableLink ImportedRouteTableLink rtb-12345678_rtbassoc-87654321 - /// ``` - /// - [OutscaleResourceType("outscale:index/routeTableLink:RouteTableLink")] - public partial class RouteTableLink : global::Pulumi.CustomResource - { - /// - /// The ID of the association between the route table and the Subnet. - /// - [Output("linkRouteTableId")] - public Output LinkRouteTableId { get; private set; } = null!; - - /// - /// If true, the route table is the main one. - /// - [Output("main")] - public Output Main { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - /// - /// The ID of the route table. - /// - [Output("routeTableId")] - public Output RouteTableId { get; private set; } = null!; - - /// - /// The ID of the Subnet. - /// - [Output("subnetId")] - public Output SubnetId { get; private set; } = null!; - - - /// - /// Create a RouteTableLink resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public RouteTableLink(string name, RouteTableLinkArgs args, CustomResourceOptions? options = null) - : base("outscale:index/routeTableLink:RouteTableLink", name, args ?? new RouteTableLinkArgs(), MakeResourceOptions(options, "")) - { - } - - private RouteTableLink(string name, Input id, RouteTableLinkState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/routeTableLink:RouteTableLink", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing RouteTableLink resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static RouteTableLink Get(string name, Input id, RouteTableLinkState? state = null, CustomResourceOptions? options = null) - { - return new RouteTableLink(name, id, state, options); - } - } - - public sealed class RouteTableLinkArgs : global::Pulumi.ResourceArgs - { - /// - /// The ID of the route table. - /// - [Input("routeTableId", required: true)] - public Input RouteTableId { get; set; } = null!; - - /// - /// The ID of the Subnet. - /// - [Input("subnetId", required: true)] - public Input SubnetId { get; set; } = null!; - - public RouteTableLinkArgs() - { - } - public static new RouteTableLinkArgs Empty => new RouteTableLinkArgs(); - } - - public sealed class RouteTableLinkState : global::Pulumi.ResourceArgs - { - /// - /// The ID of the association between the route table and the Subnet. - /// - [Input("linkRouteTableId")] - public Input? LinkRouteTableId { get; set; } - - /// - /// If true, the route table is the main one. - /// - [Input("main")] - public Input? Main { get; set; } - - [Input("requestId")] - public Input? RequestId { get; set; } - - /// - /// The ID of the route table. - /// - [Input("routeTableId")] - public Input? RouteTableId { get; set; } - - /// - /// The ID of the Subnet. - /// - [Input("subnetId")] - public Input? SubnetId { get; set; } - - public RouteTableLinkState() - { - } - public static new RouteTableLinkState Empty => new RouteTableLinkState(); - } -} diff --git a/sdk/dotnet/SecurityGroup.cs b/sdk/dotnet/SecurityGroup.cs deleted file mode 100644 index 98ef9c0..0000000 --- a/sdk/dotnet/SecurityGroup.cs +++ /dev/null @@ -1,341 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages a security group. - /// - /// Security groups you create to use in a Net contain a default outbound rule that allows all outbound flows. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Security-Groups.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-securitygroup). - /// - /// ## Example Usage - /// ### Optional resource - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var net01 = new Outscale.Net("net01", new() - /// { - /// IpRange = "10.0.0.0/16", - /// }); - /// - /// }); - /// ``` - /// ### Create a security group for a Net - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var securityGroup01 = new Outscale.SecurityGroup("securityGroup01", new() - /// { - /// Description = "Terraform security group", - /// SecurityGroupName = "terraform-security-group", - /// NetId = outscale_net.Net01.Net_id, - /// }); - /// - /// }); - /// ``` - /// ### Create a security group for a Net without the default outbound rule - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var securityGroup02 = new Outscale.SecurityGroup("securityGroup02", new() - /// { - /// RemoveDefaultOutboundRule = true, - /// Description = "Terraform security group without outbound rule", - /// SecurityGroupName = "terraform-security-group-empty", - /// NetId = outscale_net.Net01.Net_id, - /// }); - /// - /// }); - /// ``` - /// - /// ## Import - /// - /// A security group can be imported using its ID. For exampleconsole - /// - /// ```sh - /// $ pulumi import outscale:index/securityGroup:SecurityGroup ImportedSecurityGroup sg-87654321 - /// ``` - /// - [OutscaleResourceType("outscale:index/securityGroup:SecurityGroup")] - public partial class SecurityGroup : global::Pulumi.CustomResource - { - /// - /// The account ID that owns the source or destination security group. - /// - [Output("accountId")] - public Output AccountId { get; private set; } = null!; - - /// - /// A description for the security group, with a maximum length of 255 [ASCII printable characters](https://en.wikipedia.org/wiki/ASCII#Printable_characters). - /// - [Output("description")] - public Output Description { get; private set; } = null!; - - /// - /// The inbound rules associated with the security group. - /// - [Output("inboundRules")] - public Output> InboundRules { get; private set; } = null!; - - /// - /// The ID of the Net for the security group. - /// - [Output("netId")] - public Output NetId { get; private set; } = null!; - - /// - /// The outbound rules associated with the security group. - /// - [Output("outboundRules")] - public Output> OutboundRules { get; private set; } = null!; - - /// - /// (Net only) By default or if set to false, the security group is created with a default outbound rule allowing all outbound flows. If set to true, the security group is created without a default outbound rule. For an existing security group, setting this parameter to true deletes the security group and creates a new one. - /// - [Output("removeDefaultOutboundRule")] - public Output RemoveDefaultOutboundRule { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - /// - /// The ID of the security group. - /// - [Output("securityGroupId")] - public Output SecurityGroupId { get; private set; } = null!; - - /// - /// The name of the security group.<br /> - /// This name must not start with `sg-`.</br> - /// This name must be unique and contain between 1 and 255 ASCII characters. Accented letters are not allowed. - /// - [Output("securityGroupName")] - public Output SecurityGroupName { get; private set; } = null!; - - [Output("tag")] - public Output?> Tag { get; private set; } = null!; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - [Output("tags")] - public Output> Tags { get; private set; } = null!; - - - /// - /// Create a SecurityGroup resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public SecurityGroup(string name, SecurityGroupArgs? args = null, CustomResourceOptions? options = null) - : base("outscale:index/securityGroup:SecurityGroup", name, args ?? new SecurityGroupArgs(), MakeResourceOptions(options, "")) - { - } - - private SecurityGroup(string name, Input id, SecurityGroupState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/securityGroup:SecurityGroup", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing SecurityGroup resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static SecurityGroup Get(string name, Input id, SecurityGroupState? state = null, CustomResourceOptions? options = null) - { - return new SecurityGroup(name, id, state, options); - } - } - - public sealed class SecurityGroupArgs : global::Pulumi.ResourceArgs - { - /// - /// A description for the security group, with a maximum length of 255 [ASCII printable characters](https://en.wikipedia.org/wiki/ASCII#Printable_characters). - /// - [Input("description")] - public Input? Description { get; set; } - - /// - /// The ID of the Net for the security group. - /// - [Input("netId")] - public Input? NetId { get; set; } - - /// - /// (Net only) By default or if set to false, the security group is created with a default outbound rule allowing all outbound flows. If set to true, the security group is created without a default outbound rule. For an existing security group, setting this parameter to true deletes the security group and creates a new one. - /// - [Input("removeDefaultOutboundRule")] - public Input? RemoveDefaultOutboundRule { get; set; } - - /// - /// The name of the security group.<br /> - /// This name must not start with `sg-`.</br> - /// This name must be unique and contain between 1 and 255 ASCII characters. Accented letters are not allowed. - /// - [Input("securityGroupName")] - public Input? SecurityGroupName { get; set; } - - [Input("tag")] - private InputMap? _tag; - public InputMap Tag - { - get => _tag ?? (_tag = new InputMap()); - set => _tag = value; - } - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - public SecurityGroupArgs() - { - } - public static new SecurityGroupArgs Empty => new SecurityGroupArgs(); - } - - public sealed class SecurityGroupState : global::Pulumi.ResourceArgs - { - /// - /// The account ID that owns the source or destination security group. - /// - [Input("accountId")] - public Input? AccountId { get; set; } - - /// - /// A description for the security group, with a maximum length of 255 [ASCII printable characters](https://en.wikipedia.org/wiki/ASCII#Printable_characters). - /// - [Input("description")] - public Input? Description { get; set; } - - [Input("inboundRules")] - private InputList? _inboundRules; - - /// - /// The inbound rules associated with the security group. - /// - public InputList InboundRules - { - get => _inboundRules ?? (_inboundRules = new InputList()); - set => _inboundRules = value; - } - - /// - /// The ID of the Net for the security group. - /// - [Input("netId")] - public Input? NetId { get; set; } - - [Input("outboundRules")] - private InputList? _outboundRules; - - /// - /// The outbound rules associated with the security group. - /// - public InputList OutboundRules - { - get => _outboundRules ?? (_outboundRules = new InputList()); - set => _outboundRules = value; - } - - /// - /// (Net only) By default or if set to false, the security group is created with a default outbound rule allowing all outbound flows. If set to true, the security group is created without a default outbound rule. For an existing security group, setting this parameter to true deletes the security group and creates a new one. - /// - [Input("removeDefaultOutboundRule")] - public Input? RemoveDefaultOutboundRule { get; set; } - - [Input("requestId")] - public Input? RequestId { get; set; } - - /// - /// The ID of the security group. - /// - [Input("securityGroupId")] - public Input? SecurityGroupId { get; set; } - - /// - /// The name of the security group.<br /> - /// This name must not start with `sg-`.</br> - /// This name must be unique and contain between 1 and 255 ASCII characters. Accented letters are not allowed. - /// - [Input("securityGroupName")] - public Input? SecurityGroupName { get; set; } - - [Input("tag")] - private InputMap? _tag; - public InputMap Tag - { - get => _tag ?? (_tag = new InputMap()); - set => _tag = value; - } - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - public SecurityGroupState() - { - } - public static new SecurityGroupState Empty => new SecurityGroupState(); - } -} diff --git a/sdk/dotnet/SecurityGroupRule.cs b/sdk/dotnet/SecurityGroupRule.cs deleted file mode 100644 index b82a43c..0000000 --- a/sdk/dotnet/SecurityGroupRule.cs +++ /dev/null @@ -1,375 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages a security group rule. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Security-Group-Rules.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-securitygrouprule). - /// - /// ## Example Usage - /// ### Required resources - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var securityGroup01 = new Outscale.SecurityGroup("securityGroup01", new() - /// { - /// Description = "Terraform target security group for SG rule from IP and SG", - /// SecurityGroupName = "terraform-security-group-test-01", - /// }); - /// - /// var securityGroup02 = new Outscale.SecurityGroup("securityGroup02", new() - /// { - /// Description = "Terraform source security group for SG rule from SG", - /// SecurityGroupName = "terraform-security-group-test-02", - /// }); - /// - /// }); - /// ``` - /// ### Set an inbound rule from an IP range - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var securityGroupRule01 = new Outscale.SecurityGroupRule("securityGroupRule01", new() - /// { - /// Flow = "Inbound", - /// SecurityGroupId = outscale_security_group.Security_group01.Security_group_id, - /// FromPortRange = 80, - /// ToPortRange = 80, - /// IpProtocol = "tcp", - /// IpRange = "10.0.0.0/16", - /// }); - /// - /// }); - /// ``` - /// ### Set an inbound rule from another security group - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var securityGroupRule02 = new Outscale.SecurityGroupRule("securityGroupRule02", new() - /// { - /// Flow = "Inbound", - /// SecurityGroupId = outscale_security_group.Security_group01.Security_group_id, - /// Rules = new[] - /// { - /// new Outscale.Inputs.SecurityGroupRuleRuleArgs - /// { - /// FromPortRange = 22, - /// ToPortRange = 22, - /// IpProtocol = "tcp", - /// SecurityGroupsMembers = new[] - /// { - /// new Outscale.Inputs.SecurityGroupRuleRuleSecurityGroupsMemberArgs - /// { - /// AccountId = "012345678910", - /// SecurityGroupName = "terraform-security-group-test-02", - /// }, - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// - /// ## Import - /// - /// A security group rule can be imported using the following format`SecurityGroupId_Flow_IpProtocol_FromPortRange_ToPortRange_IpRange`. For exampleconsole - /// - /// ```sh - /// $ pulumi import outscale:index/securityGroupRule:SecurityGroupRule ImportedRule sg-87654321_outbound_-1_-1_-1_10.0.0.0/16 - /// ``` - /// - [OutscaleResourceType("outscale:index/securityGroupRule:SecurityGroupRule")] - public partial class SecurityGroupRule : global::Pulumi.CustomResource - { - /// - /// The direction of the flow: `Inbound` or `Outbound`. You can specify `Outbound` for Nets only. - /// - [Output("flow")] - public Output Flow { get; private set; } = null!; - - /// - /// The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - /// - [Output("fromPortRange")] - public Output FromPortRange { get; private set; } = null!; - - /// - /// The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - /// - [Output("ipProtocol")] - public Output IpProtocol { get; private set; } = null!; - - /// - /// The IP range for the security group rule, in CIDR notation (for example, 10.0.0.0/16). If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - /// - [Output("ipRange")] - public Output IpRange { get; private set; } = null!; - - /// - /// The ID of the Net for the security group. - /// - [Output("netId")] - public Output NetId { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - /// - /// Information about the security group rule to create. If you specify this parent parameter and its subparameters, you cannot specify the following parent parameters: `from_port_range`, `ip_protocol`, `ip_range`, and `to_port_range`. - /// - [Output("rules")] - public Output> Rules { get; private set; } = null!; - - /// - /// The account ID that owns the source or destination security group specified in the `security_group_name_to_link` parameter. - /// - [Output("securityGroupAccountIdToLink")] - public Output SecurityGroupAccountIdToLink { get; private set; } = null!; - - /// - /// The ID of the security group for which you want to create a rule. - /// - [Output("securityGroupId")] - public Output SecurityGroupId { get; private set; } = null!; - - /// - /// (Public Cloud only) The name of a source or destination security group that you want to link to the security group of the rule. - /// - [Output("securityGroupName")] - public Output SecurityGroupName { get; private set; } = null!; - - /// - /// The ID of a source or destination security group that you want to link to the security group of the rule. - /// - [Output("securityGroupNameToLink")] - public Output SecurityGroupNameToLink { get; private set; } = null!; - - /// - /// The end of the port range for the TCP and UDP protocols, or an ICMP code number. If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - /// - [Output("toPortRange")] - public Output ToPortRange { get; private set; } = null!; - - - /// - /// Create a SecurityGroupRule resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public SecurityGroupRule(string name, SecurityGroupRuleArgs args, CustomResourceOptions? options = null) - : base("outscale:index/securityGroupRule:SecurityGroupRule", name, args ?? new SecurityGroupRuleArgs(), MakeResourceOptions(options, "")) - { - } - - private SecurityGroupRule(string name, Input id, SecurityGroupRuleState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/securityGroupRule:SecurityGroupRule", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing SecurityGroupRule resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static SecurityGroupRule Get(string name, Input id, SecurityGroupRuleState? state = null, CustomResourceOptions? options = null) - { - return new SecurityGroupRule(name, id, state, options); - } - } - - public sealed class SecurityGroupRuleArgs : global::Pulumi.ResourceArgs - { - /// - /// The direction of the flow: `Inbound` or `Outbound`. You can specify `Outbound` for Nets only. - /// - [Input("flow", required: true)] - public Input Flow { get; set; } = null!; - - /// - /// The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - /// - [Input("fromPortRange")] - public Input? FromPortRange { get; set; } - - /// - /// The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - /// - [Input("ipProtocol")] - public Input? IpProtocol { get; set; } - - /// - /// The IP range for the security group rule, in CIDR notation (for example, 10.0.0.0/16). If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - /// - [Input("ipRange")] - public Input? IpRange { get; set; } - - [Input("rules")] - private InputList? _rules; - - /// - /// Information about the security group rule to create. If you specify this parent parameter and its subparameters, you cannot specify the following parent parameters: `from_port_range`, `ip_protocol`, `ip_range`, and `to_port_range`. - /// - public InputList Rules - { - get => _rules ?? (_rules = new InputList()); - set => _rules = value; - } - - /// - /// The account ID that owns the source or destination security group specified in the `security_group_name_to_link` parameter. - /// - [Input("securityGroupAccountIdToLink")] - public Input? SecurityGroupAccountIdToLink { get; set; } - - /// - /// The ID of the security group for which you want to create a rule. - /// - [Input("securityGroupId", required: true)] - public Input SecurityGroupId { get; set; } = null!; - - /// - /// The ID of a source or destination security group that you want to link to the security group of the rule. - /// - [Input("securityGroupNameToLink")] - public Input? SecurityGroupNameToLink { get; set; } - - /// - /// The end of the port range for the TCP and UDP protocols, or an ICMP code number. If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - /// - [Input("toPortRange")] - public Input? ToPortRange { get; set; } - - public SecurityGroupRuleArgs() - { - } - public static new SecurityGroupRuleArgs Empty => new SecurityGroupRuleArgs(); - } - - public sealed class SecurityGroupRuleState : global::Pulumi.ResourceArgs - { - /// - /// The direction of the flow: `Inbound` or `Outbound`. You can specify `Outbound` for Nets only. - /// - [Input("flow")] - public Input? Flow { get; set; } - - /// - /// The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - /// - [Input("fromPortRange")] - public Input? FromPortRange { get; set; } - - /// - /// The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - /// - [Input("ipProtocol")] - public Input? IpProtocol { get; set; } - - /// - /// The IP range for the security group rule, in CIDR notation (for example, 10.0.0.0/16). If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - /// - [Input("ipRange")] - public Input? IpRange { get; set; } - - /// - /// The ID of the Net for the security group. - /// - [Input("netId")] - public Input? NetId { get; set; } - - [Input("requestId")] - public Input? RequestId { get; set; } - - [Input("rules")] - private InputList? _rules; - - /// - /// Information about the security group rule to create. If you specify this parent parameter and its subparameters, you cannot specify the following parent parameters: `from_port_range`, `ip_protocol`, `ip_range`, and `to_port_range`. - /// - public InputList Rules - { - get => _rules ?? (_rules = new InputList()); - set => _rules = value; - } - - /// - /// The account ID that owns the source or destination security group specified in the `security_group_name_to_link` parameter. - /// - [Input("securityGroupAccountIdToLink")] - public Input? SecurityGroupAccountIdToLink { get; set; } - - /// - /// The ID of the security group for which you want to create a rule. - /// - [Input("securityGroupId")] - public Input? SecurityGroupId { get; set; } - - /// - /// (Public Cloud only) The name of a source or destination security group that you want to link to the security group of the rule. - /// - [Input("securityGroupName")] - public Input? SecurityGroupName { get; set; } - - /// - /// The ID of a source or destination security group that you want to link to the security group of the rule. - /// - [Input("securityGroupNameToLink")] - public Input? SecurityGroupNameToLink { get; set; } - - /// - /// The end of the port range for the TCP and UDP protocols, or an ICMP code number. If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - /// - [Input("toPortRange")] - public Input? ToPortRange { get; set; } - - public SecurityGroupRuleState() - { - } - public static new SecurityGroupRuleState Empty => new SecurityGroupRuleState(); - } -} diff --git a/sdk/dotnet/ServerCertificate.cs b/sdk/dotnet/ServerCertificate.cs deleted file mode 100644 index c8ac5e9..0000000 --- a/sdk/dotnet/ServerCertificate.cs +++ /dev/null @@ -1,251 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages a server certificate. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Server-Certificates-in-EIM.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-servercertificate). - /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.IO; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var serverCertificate01 = new Outscale.ServerCertificate("serverCertificate01", new() - /// { - /// Body = File.ReadAllText("<PATH>"), - /// Chain = File.ReadAllText("<PATH>"), - /// PrivateKey = File.ReadAllText("<PATH>"), - /// Path = "<PATH>", - /// }); - /// - /// }); - /// ``` - /// - /// ## Import - /// - /// A server certificate can be imported using its ID. For exampleconsole - /// - /// ```sh - /// $ pulumi import outscale:index/serverCertificate:ServerCertificate ImportedServerCertificate 0123456789 - /// ``` - /// - [OutscaleResourceType("outscale:index/serverCertificate:ServerCertificate")] - public partial class ServerCertificate : global::Pulumi.CustomResource - { - /// - /// The PEM-encoded X509 certificate. - /// - [Output("body")] - public Output Body { get; private set; } = null!; - - /// - /// The PEM-encoded intermediate certification authorities. - /// - [Output("chain")] - public Output Chain { get; private set; } = null!; - - [Output("dryRun")] - public Output DryRun { get; private set; } = null!; - - /// - /// The date at which the server certificate expires. - /// - [Output("expirationDate")] - public Output ExpirationDate { get; private set; } = null!; - - /// - /// A unique name for the certificate. Constraints: 1-128 alphanumeric characters, pluses (+), equals (=), commas (,), periods (.), at signs (@), minuses (-), or underscores (_). - /// - [Output("name")] - public Output Name { get; private set; } = null!; - - /// - /// The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - /// - [Output("orn")] - public Output Orn { get; private set; } = null!; - - /// - /// The path to the server certificate, set to a slash (/) if not specified. - /// - [Output("path")] - public Output Path { get; private set; } = null!; - - /// - /// The PEM-encoded private key matching the certificate. - /// - [Output("privateKey")] - public Output PrivateKey { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - /// - /// The date at which the server certificate has been uploaded. - /// - [Output("uploadDate")] - public Output UploadDate { get; private set; } = null!; - - - /// - /// Create a ServerCertificate resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public ServerCertificate(string name, ServerCertificateArgs? args = null, CustomResourceOptions? options = null) - : base("outscale:index/serverCertificate:ServerCertificate", name, args ?? new ServerCertificateArgs(), MakeResourceOptions(options, "")) - { - } - - private ServerCertificate(string name, Input id, ServerCertificateState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/serverCertificate:ServerCertificate", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing ServerCertificate resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static ServerCertificate Get(string name, Input id, ServerCertificateState? state = null, CustomResourceOptions? options = null) - { - return new ServerCertificate(name, id, state, options); - } - } - - public sealed class ServerCertificateArgs : global::Pulumi.ResourceArgs - { - /// - /// The PEM-encoded X509 certificate. - /// - [Input("body")] - public Input? Body { get; set; } - - /// - /// The PEM-encoded intermediate certification authorities. - /// - [Input("chain")] - public Input? Chain { get; set; } - - [Input("dryRun")] - public Input? DryRun { get; set; } - - /// - /// A unique name for the certificate. Constraints: 1-128 alphanumeric characters, pluses (+), equals (=), commas (,), periods (.), at signs (@), minuses (-), or underscores (_). - /// - [Input("name")] - public Input? Name { get; set; } - - /// - /// The path to the server certificate, set to a slash (/) if not specified. - /// - [Input("path")] - public Input? Path { get; set; } - - /// - /// The PEM-encoded private key matching the certificate. - /// - [Input("privateKey")] - public Input? PrivateKey { get; set; } - - public ServerCertificateArgs() - { - } - public static new ServerCertificateArgs Empty => new ServerCertificateArgs(); - } - - public sealed class ServerCertificateState : global::Pulumi.ResourceArgs - { - /// - /// The PEM-encoded X509 certificate. - /// - [Input("body")] - public Input? Body { get; set; } - - /// - /// The PEM-encoded intermediate certification authorities. - /// - [Input("chain")] - public Input? Chain { get; set; } - - [Input("dryRun")] - public Input? DryRun { get; set; } - - /// - /// The date at which the server certificate expires. - /// - [Input("expirationDate")] - public Input? ExpirationDate { get; set; } - - /// - /// A unique name for the certificate. Constraints: 1-128 alphanumeric characters, pluses (+), equals (=), commas (,), periods (.), at signs (@), minuses (-), or underscores (_). - /// - [Input("name")] - public Input? Name { get; set; } - - /// - /// The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - /// - [Input("orn")] - public Input? Orn { get; set; } - - /// - /// The path to the server certificate, set to a slash (/) if not specified. - /// - [Input("path")] - public Input? Path { get; set; } - - /// - /// The PEM-encoded private key matching the certificate. - /// - [Input("privateKey")] - public Input? PrivateKey { get; set; } - - [Input("requestId")] - public Input? RequestId { get; set; } - - /// - /// The date at which the server certificate has been uploaded. - /// - [Input("uploadDate")] - public Input? UploadDate { get; set; } - - public ServerCertificateState() - { - } - public static new ServerCertificateState Empty => new ServerCertificateState(); - } -} diff --git a/sdk/dotnet/Snapshot.cs b/sdk/dotnet/Snapshot.cs deleted file mode 100644 index a595b18..0000000 --- a/sdk/dotnet/Snapshot.cs +++ /dev/null @@ -1,390 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages a snapshot. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Snapshots.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-snapshot). - /// - /// ## Example Usage - /// ### Required resource - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var volume01 = new Outscale.Volume("volume01", new() - /// { - /// Size = 40, - /// SubregionName = $"{@var.Region}a", - /// }); - /// - /// }); - /// ``` - /// ### Create a snapshot - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var snapshot01 = new Outscale.Snapshot("snapshot01", new() - /// { - /// VolumeId = outscale_volume.Volume01.Volume_id, - /// }); - /// - /// }); - /// ``` - /// ### Copy a snapshot - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var snapshot02 = new Outscale.Snapshot("snapshot02", new() - /// { - /// Description = "Terraform snapshot copy", - /// SourceRegionName = "eu-west-2", - /// SourceSnapshotId = "snap-12345678", - /// }); - /// - /// }); - /// ``` - /// - /// ## Import - /// - /// A snapshot can be imported using its ID. For exampleconsole - /// - /// ```sh - /// $ pulumi import outscale:index/snapshot:Snapshot ImportedSnapshot snap-12345678 - /// ``` - /// - [OutscaleResourceType("outscale:index/snapshot:Snapshot")] - public partial class Snapshot : global::Pulumi.CustomResource - { - /// - /// The account alias of the owner of the snapshot. - /// - [Output("accountAlias")] - public Output AccountAlias { get; private set; } = null!; - - /// - /// The account ID of the owner of the snapshot. - /// - [Output("accountId")] - public Output AccountId { get; private set; } = null!; - - /// - /// The date and time of creation of the snapshot. - /// - [Output("creationDate")] - public Output CreationDate { get; private set; } = null!; - - /// - /// A description for the snapshot. - /// - [Output("description")] - public Output Description { get; private set; } = null!; - - /// - /// (When importing) The pre-signed URL of the snapshot you want to import, or the normal URL of the snapshot if you have permission on the OOS bucket. For more information, see [Configuring a Pre-signed URL](https://docs.outscale.com/en/userguide/Configuring-a-Pre-signed-URL.html) or [Managing Access to Your Buckets and Objects](https://docs.outscale.com/en/userguide/Managing-Access-to-Your-Buckets-and-Objects.html). - /// - [Output("fileLocation")] - public Output FileLocation { get; private set; } = null!; - - /// - /// Permissions for the resource. - /// - [Output("permissionsToCreateVolumes")] - public Output> PermissionsToCreateVolumes { get; private set; } = null!; - - /// - /// The progress of the snapshot, as a percentage. - /// - [Output("progress")] - public Output Progress { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - /// - /// The ID of the snapshot. - /// - [Output("snapshotId")] - public Output SnapshotId { get; private set; } = null!; - - /// - /// (When importing) The size of the snapshot you want to create in your account, in bytes. This size must be greater than or equal to the size of the original, uncompressed snapshot. - /// - [Output("snapshotSize")] - public Output SnapshotSize { get; private set; } = null!; - - /// - /// (When copying) The name of the source Region, which must be the same as the Region of your account. - /// - [Output("sourceRegionName")] - public Output SourceRegionName { get; private set; } = null!; - - /// - /// (When copying) The ID of the snapshot you want to copy. - /// - [Output("sourceSnapshotId")] - public Output SourceSnapshotId { get; private set; } = null!; - - /// - /// The state of the snapshot (`in-queue` \| `completed` \| `error`). - /// - [Output("state")] - public Output State { get; private set; } = null!; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - [Output("tags")] - public Output> Tags { get; private set; } = null!; - - /// - /// (When creating) The ID of the volume you want to create a snapshot of. - /// - [Output("volumeId")] - public Output VolumeId { get; private set; } = null!; - - /// - /// The size of the volume used to create the snapshot, in gibibytes (GiB). - /// - [Output("volumeSize")] - public Output VolumeSize { get; private set; } = null!; - - - /// - /// Create a Snapshot resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public Snapshot(string name, SnapshotArgs? args = null, CustomResourceOptions? options = null) - : base("outscale:index/snapshot:Snapshot", name, args ?? new SnapshotArgs(), MakeResourceOptions(options, "")) - { - } - - private Snapshot(string name, Input id, SnapshotState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/snapshot:Snapshot", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing Snapshot resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static Snapshot Get(string name, Input id, SnapshotState? state = null, CustomResourceOptions? options = null) - { - return new Snapshot(name, id, state, options); - } - } - - public sealed class SnapshotArgs : global::Pulumi.ResourceArgs - { - /// - /// A description for the snapshot. - /// - [Input("description")] - public Input? Description { get; set; } - - /// - /// (When importing) The pre-signed URL of the snapshot you want to import, or the normal URL of the snapshot if you have permission on the OOS bucket. For more information, see [Configuring a Pre-signed URL](https://docs.outscale.com/en/userguide/Configuring-a-Pre-signed-URL.html) or [Managing Access to Your Buckets and Objects](https://docs.outscale.com/en/userguide/Managing-Access-to-Your-Buckets-and-Objects.html). - /// - [Input("fileLocation")] - public Input? FileLocation { get; set; } - - /// - /// (When importing) The size of the snapshot you want to create in your account, in bytes. This size must be greater than or equal to the size of the original, uncompressed snapshot. - /// - [Input("snapshotSize")] - public Input? SnapshotSize { get; set; } - - /// - /// (When copying) The name of the source Region, which must be the same as the Region of your account. - /// - [Input("sourceRegionName")] - public Input? SourceRegionName { get; set; } - - /// - /// (When copying) The ID of the snapshot you want to copy. - /// - [Input("sourceSnapshotId")] - public Input? SourceSnapshotId { get; set; } - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - /// - /// (When creating) The ID of the volume you want to create a snapshot of. - /// - [Input("volumeId")] - public Input? VolumeId { get; set; } - - public SnapshotArgs() - { - } - public static new SnapshotArgs Empty => new SnapshotArgs(); - } - - public sealed class SnapshotState : global::Pulumi.ResourceArgs - { - /// - /// The account alias of the owner of the snapshot. - /// - [Input("accountAlias")] - public Input? AccountAlias { get; set; } - - /// - /// The account ID of the owner of the snapshot. - /// - [Input("accountId")] - public Input? AccountId { get; set; } - - /// - /// The date and time of creation of the snapshot. - /// - [Input("creationDate")] - public Input? CreationDate { get; set; } - - /// - /// A description for the snapshot. - /// - [Input("description")] - public Input? Description { get; set; } - - /// - /// (When importing) The pre-signed URL of the snapshot you want to import, or the normal URL of the snapshot if you have permission on the OOS bucket. For more information, see [Configuring a Pre-signed URL](https://docs.outscale.com/en/userguide/Configuring-a-Pre-signed-URL.html) or [Managing Access to Your Buckets and Objects](https://docs.outscale.com/en/userguide/Managing-Access-to-Your-Buckets-and-Objects.html). - /// - [Input("fileLocation")] - public Input? FileLocation { get; set; } - - [Input("permissionsToCreateVolumes")] - private InputList? _permissionsToCreateVolumes; - - /// - /// Permissions for the resource. - /// - public InputList PermissionsToCreateVolumes - { - get => _permissionsToCreateVolumes ?? (_permissionsToCreateVolumes = new InputList()); - set => _permissionsToCreateVolumes = value; - } - - /// - /// The progress of the snapshot, as a percentage. - /// - [Input("progress")] - public Input? Progress { get; set; } - - [Input("requestId")] - public Input? RequestId { get; set; } - - /// - /// The ID of the snapshot. - /// - [Input("snapshotId")] - public Input? SnapshotId { get; set; } - - /// - /// (When importing) The size of the snapshot you want to create in your account, in bytes. This size must be greater than or equal to the size of the original, uncompressed snapshot. - /// - [Input("snapshotSize")] - public Input? SnapshotSize { get; set; } - - /// - /// (When copying) The name of the source Region, which must be the same as the Region of your account. - /// - [Input("sourceRegionName")] - public Input? SourceRegionName { get; set; } - - /// - /// (When copying) The ID of the snapshot you want to copy. - /// - [Input("sourceSnapshotId")] - public Input? SourceSnapshotId { get; set; } - - /// - /// The state of the snapshot (`in-queue` \| `completed` \| `error`). - /// - [Input("state")] - public Input? State { get; set; } - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - /// - /// (When creating) The ID of the volume you want to create a snapshot of. - /// - [Input("volumeId")] - public Input? VolumeId { get; set; } - - /// - /// The size of the volume used to create the snapshot, in gibibytes (GiB). - /// - [Input("volumeSize")] - public Input? VolumeSize { get; set; } - - public SnapshotState() - { - } - public static new SnapshotState Empty => new SnapshotState(); - } -} diff --git a/sdk/dotnet/SnapshotAttributes.cs b/sdk/dotnet/SnapshotAttributes.cs deleted file mode 100644 index 642df20..0000000 --- a/sdk/dotnet/SnapshotAttributes.cs +++ /dev/null @@ -1,248 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages snapshot attributes. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Snapshots.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#updatesnapshot). - /// - /// ## Example Usage - /// ### Required resources - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var volume01 = new Outscale.Volume("volume01", new() - /// { - /// SubregionName = "eu-west-2a", - /// Size = 40, - /// }); - /// - /// var snapshot01 = new Outscale.Snapshot("snapshot01", new() - /// { - /// VolumeId = volume01.VolumeId, - /// Tags = new[] - /// { - /// new Outscale.Inputs.SnapshotTagArgs - /// { - /// Key = "name", - /// Value = "terraform-snapshot-test", - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// ### Add permissions - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var snapshotAttributes01 = new Outscale.SnapshotAttributes("snapshotAttributes01", new() - /// { - /// SnapshotId = outscale_snapshot.Snapshot01.Snapshot_id, - /// PermissionsToCreateVolumeAdditions = new Outscale.Inputs.SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs - /// { - /// AccountIds = new[] - /// { - /// "012345678910", - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// ### Remove permissions - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var snapshotAttributes02 = new Outscale.SnapshotAttributes("snapshotAttributes02", new() - /// { - /// SnapshotId = outscale_snapshot.Snapshot01.Snapshot_id, - /// PermissionsToCreateVolumeRemovals = new[] - /// { - /// new Outscale.Inputs.SnapshotAttributesPermissionsToCreateVolumeRemovalArgs - /// { - /// AccountIds = new[] - /// { - /// "012345678910", - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// - [OutscaleResourceType("outscale:index/snapshotAttributes:SnapshotAttributes")] - public partial class SnapshotAttributes : global::Pulumi.CustomResource - { - /// - /// The account ID of the owner of the snapshot. - /// - [Output("accountId")] - public Output AccountId { get; private set; } = null!; - - /// - /// Information about the users to whom you want to give permissions for the resource. - /// - [Output("permissionsToCreateVolumeAdditions")] - public Output PermissionsToCreateVolumeAdditions { get; private set; } = null!; - - /// - /// Information about the users from whom you want to remove permissions for the resource. - /// - [Output("permissionsToCreateVolumeRemovals")] - public Output> PermissionsToCreateVolumeRemovals { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - /// - /// The ID of the snapshot. - /// - [Output("snapshotId")] - public Output SnapshotId { get; private set; } = null!; - - - /// - /// Create a SnapshotAttributes resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public SnapshotAttributes(string name, SnapshotAttributesArgs args, CustomResourceOptions? options = null) - : base("outscale:index/snapshotAttributes:SnapshotAttributes", name, args ?? new SnapshotAttributesArgs(), MakeResourceOptions(options, "")) - { - } - - private SnapshotAttributes(string name, Input id, SnapshotAttributesState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/snapshotAttributes:SnapshotAttributes", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing SnapshotAttributes resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static SnapshotAttributes Get(string name, Input id, SnapshotAttributesState? state = null, CustomResourceOptions? options = null) - { - return new SnapshotAttributes(name, id, state, options); - } - } - - public sealed class SnapshotAttributesArgs : global::Pulumi.ResourceArgs - { - /// - /// Information about the users to whom you want to give permissions for the resource. - /// - [Input("permissionsToCreateVolumeAdditions")] - public Input? PermissionsToCreateVolumeAdditions { get; set; } - - [Input("permissionsToCreateVolumeRemovals")] - private InputList? _permissionsToCreateVolumeRemovals; - - /// - /// Information about the users from whom you want to remove permissions for the resource. - /// - public InputList PermissionsToCreateVolumeRemovals - { - get => _permissionsToCreateVolumeRemovals ?? (_permissionsToCreateVolumeRemovals = new InputList()); - set => _permissionsToCreateVolumeRemovals = value; - } - - /// - /// The ID of the snapshot. - /// - [Input("snapshotId", required: true)] - public Input SnapshotId { get; set; } = null!; - - public SnapshotAttributesArgs() - { - } - public static new SnapshotAttributesArgs Empty => new SnapshotAttributesArgs(); - } - - public sealed class SnapshotAttributesState : global::Pulumi.ResourceArgs - { - /// - /// The account ID of the owner of the snapshot. - /// - [Input("accountId")] - public Input? AccountId { get; set; } - - /// - /// Information about the users to whom you want to give permissions for the resource. - /// - [Input("permissionsToCreateVolumeAdditions")] - public Input? PermissionsToCreateVolumeAdditions { get; set; } - - [Input("permissionsToCreateVolumeRemovals")] - private InputList? _permissionsToCreateVolumeRemovals; - - /// - /// Information about the users from whom you want to remove permissions for the resource. - /// - public InputList PermissionsToCreateVolumeRemovals - { - get => _permissionsToCreateVolumeRemovals ?? (_permissionsToCreateVolumeRemovals = new InputList()); - set => _permissionsToCreateVolumeRemovals = value; - } - - [Input("requestId")] - public Input? RequestId { get; set; } - - /// - /// The ID of the snapshot. - /// - [Input("snapshotId")] - public Input? SnapshotId { get; set; } - - public SnapshotAttributesState() - { - } - public static new SnapshotAttributesState Empty => new SnapshotAttributesState(); - } -} diff --git a/sdk/dotnet/SnapshotExportTask.cs b/sdk/dotnet/SnapshotExportTask.cs deleted file mode 100644 index 1df0b42..0000000 --- a/sdk/dotnet/SnapshotExportTask.cs +++ /dev/null @@ -1,279 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages a snapshot export task. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Snapshots.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-snapshot). - /// - /// ## Example Usage - /// ### Required resources - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var volume01 = new Outscale.Volume("volume01", new() - /// { - /// SubregionName = $"{@var.Region}a", - /// Size = 40, - /// }); - /// - /// var snapshot01 = new Outscale.Snapshot("snapshot01", new() - /// { - /// VolumeId = volume01.VolumeId, - /// }); - /// - /// }); - /// ``` - /// ### Create a snapshot export task - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var snapshotExportTask01 = new Outscale.SnapshotExportTask("snapshotExportTask01", new() - /// { - /// SnapshotId = outscale_snapshot.Snapshot01.Snapshot_id, - /// OsuExports = new[] - /// { - /// new Outscale.Inputs.SnapshotExportTaskOsuExportArgs - /// { - /// DiskImageFormat = "qcow2", - /// OsuBucket = "terraform-bucket", - /// OsuPrefix = "new-export", - /// OsuApiKeys = new[] - /// { - /// new Outscale.Inputs.SnapshotExportTaskOsuExportOsuApiKeyArgs - /// { - /// ApiKeyId = @var.Access_key_id, - /// SecretKey = @var.Secret_key_id, - /// }, - /// }, - /// }, - /// }, - /// Tags = new[] - /// { - /// new Outscale.Inputs.SnapshotExportTaskTagArgs - /// { - /// Key = "Name", - /// Value = "terraform-snapshot-export-task", - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// - [OutscaleResourceType("outscale:index/snapshotExportTask:SnapshotExportTask")] - public partial class SnapshotExportTask : global::Pulumi.CustomResource - { - /// - /// If the snapshot export task fails, an error message appears. - /// - [Output("comment")] - public Output Comment { get; private set; } = null!; - - /// - /// Information about the OOS export task to create. - /// - [Output("osuExports")] - public Output> OsuExports { get; private set; } = null!; - - /// - /// The progress of the snapshot export task, as a percentage. - /// - [Output("progress")] - public Output Progress { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - /// - /// The ID of the snapshot to export. - /// - [Output("snapshotId")] - public Output SnapshotId { get; private set; } = null!; - - /// - /// The state of the snapshot export task (`pending` \| `active` \| `completed` \| `failed`). - /// - [Output("state")] - public Output State { get; private set; } = null!; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - [Output("tags")] - public Output> Tags { get; private set; } = null!; - - /// - /// The ID of the snapshot export task. - /// - [Output("taskId")] - public Output TaskId { get; private set; } = null!; - - - /// - /// Create a SnapshotExportTask resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public SnapshotExportTask(string name, SnapshotExportTaskArgs args, CustomResourceOptions? options = null) - : base("outscale:index/snapshotExportTask:SnapshotExportTask", name, args ?? new SnapshotExportTaskArgs(), MakeResourceOptions(options, "")) - { - } - - private SnapshotExportTask(string name, Input id, SnapshotExportTaskState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/snapshotExportTask:SnapshotExportTask", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing SnapshotExportTask resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static SnapshotExportTask Get(string name, Input id, SnapshotExportTaskState? state = null, CustomResourceOptions? options = null) - { - return new SnapshotExportTask(name, id, state, options); - } - } - - public sealed class SnapshotExportTaskArgs : global::Pulumi.ResourceArgs - { - [Input("osuExports", required: true)] - private InputList? _osuExports; - - /// - /// Information about the OOS export task to create. - /// - public InputList OsuExports - { - get => _osuExports ?? (_osuExports = new InputList()); - set => _osuExports = value; - } - - /// - /// The ID of the snapshot to export. - /// - [Input("snapshotId", required: true)] - public Input SnapshotId { get; set; } = null!; - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - public SnapshotExportTaskArgs() - { - } - public static new SnapshotExportTaskArgs Empty => new SnapshotExportTaskArgs(); - } - - public sealed class SnapshotExportTaskState : global::Pulumi.ResourceArgs - { - /// - /// If the snapshot export task fails, an error message appears. - /// - [Input("comment")] - public Input? Comment { get; set; } - - [Input("osuExports")] - private InputList? _osuExports; - - /// - /// Information about the OOS export task to create. - /// - public InputList OsuExports - { - get => _osuExports ?? (_osuExports = new InputList()); - set => _osuExports = value; - } - - /// - /// The progress of the snapshot export task, as a percentage. - /// - [Input("progress")] - public Input? Progress { get; set; } - - [Input("requestId")] - public Input? RequestId { get; set; } - - /// - /// The ID of the snapshot to export. - /// - [Input("snapshotId")] - public Input? SnapshotId { get; set; } - - /// - /// The state of the snapshot export task (`pending` \| `active` \| `completed` \| `failed`). - /// - [Input("state")] - public Input? State { get; set; } - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - /// - /// The ID of the snapshot export task. - /// - [Input("taskId")] - public Input? TaskId { get; set; } - - public SnapshotExportTaskState() - { - } - public static new SnapshotExportTaskState Empty => new SnapshotExportTaskState(); - } -} diff --git a/sdk/dotnet/Subnet.cs b/sdk/dotnet/Subnet.cs deleted file mode 100644 index 92c9485..0000000 --- a/sdk/dotnet/Subnet.cs +++ /dev/null @@ -1,272 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages a Subnet. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPCs.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-subnet). - /// - /// ## Example Usage - /// ### Required resource - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var net01 = new Outscale.Net("net01", new() - /// { - /// IpRange = "10.0.0.0/16", - /// }); - /// - /// }); - /// ``` - /// ### Create a subnet - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var subnet01 = new Outscale.Subnet("subnet01", new() - /// { - /// NetId = outscale_net.Net01.Net_id, - /// IpRange = "10.0.0.0/18", - /// }); - /// - /// }); - /// ``` - /// - /// ## Import - /// - /// A subnet can be imported using its ID. For exampleconsole - /// - /// ```sh - /// $ pulumi import outscale:index/subnet:Subnet ImportedSubnet subnet-12345678 - /// ``` - /// - [OutscaleResourceType("outscale:index/subnet:Subnet")] - public partial class Subnet : global::Pulumi.CustomResource - { - /// - /// The number of available IPs in the Subnets. - /// - [Output("availableIpsCount")] - public Output AvailableIpsCount { get; private set; } = null!; - - /// - /// The IP range in the Subnet, in CIDR notation (for example, `10.0.0.0/16`).<br /> - /// The IP range of the Subnet can be either the same as the Net one if you create only a single Subnet in this Net, or a subset of the Net one. In case of several Subnets in a Net, their IP ranges must not overlap. The smallest Subnet you can create uses a /29 netmask (eight IPs). For more information, see [About VPCs](https://docs.outscale.com/en/userguide/About-VPCs.html). - /// - [Output("ipRange")] - public Output IpRange { get; private set; } = null!; - - /// - /// If true, a public IP is assigned to the network interface cards (NICs) created in the specified Subnet. - /// - [Output("mapPublicIpOnLaunch")] - public Output MapPublicIpOnLaunch { get; private set; } = null!; - - /// - /// The ID of the Net for which you want to create a Subnet. - /// - [Output("netId")] - public Output NetId { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - /// - /// The state of the Subnet (`pending` \| `available` \| `deleted`). - /// - [Output("state")] - public Output State { get; private set; } = null!; - - /// - /// The ID of the Subnet. - /// - [Output("subnetId")] - public Output SubnetId { get; private set; } = null!; - - /// - /// The name of the Subregion in which you want to create the Subnet. - /// - [Output("subregionName")] - public Output SubregionName { get; private set; } = null!; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - [Output("tags")] - public Output> Tags { get; private set; } = null!; - - - /// - /// Create a Subnet resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public Subnet(string name, SubnetArgs args, CustomResourceOptions? options = null) - : base("outscale:index/subnet:Subnet", name, args ?? new SubnetArgs(), MakeResourceOptions(options, "")) - { - } - - private Subnet(string name, Input id, SubnetState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/subnet:Subnet", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing Subnet resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static Subnet Get(string name, Input id, SubnetState? state = null, CustomResourceOptions? options = null) - { - return new Subnet(name, id, state, options); - } - } - - public sealed class SubnetArgs : global::Pulumi.ResourceArgs - { - /// - /// The IP range in the Subnet, in CIDR notation (for example, `10.0.0.0/16`).<br /> - /// The IP range of the Subnet can be either the same as the Net one if you create only a single Subnet in this Net, or a subset of the Net one. In case of several Subnets in a Net, their IP ranges must not overlap. The smallest Subnet you can create uses a /29 netmask (eight IPs). For more information, see [About VPCs](https://docs.outscale.com/en/userguide/About-VPCs.html). - /// - [Input("ipRange", required: true)] - public Input IpRange { get; set; } = null!; - - /// - /// If true, a public IP is assigned to the network interface cards (NICs) created in the specified Subnet. - /// - [Input("mapPublicIpOnLaunch")] - public Input? MapPublicIpOnLaunch { get; set; } - - /// - /// The ID of the Net for which you want to create a Subnet. - /// - [Input("netId", required: true)] - public Input NetId { get; set; } = null!; - - /// - /// The name of the Subregion in which you want to create the Subnet. - /// - [Input("subregionName")] - public Input? SubregionName { get; set; } - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - public SubnetArgs() - { - } - public static new SubnetArgs Empty => new SubnetArgs(); - } - - public sealed class SubnetState : global::Pulumi.ResourceArgs - { - /// - /// The number of available IPs in the Subnets. - /// - [Input("availableIpsCount")] - public Input? AvailableIpsCount { get; set; } - - /// - /// The IP range in the Subnet, in CIDR notation (for example, `10.0.0.0/16`).<br /> - /// The IP range of the Subnet can be either the same as the Net one if you create only a single Subnet in this Net, or a subset of the Net one. In case of several Subnets in a Net, their IP ranges must not overlap. The smallest Subnet you can create uses a /29 netmask (eight IPs). For more information, see [About VPCs](https://docs.outscale.com/en/userguide/About-VPCs.html). - /// - [Input("ipRange")] - public Input? IpRange { get; set; } - - /// - /// If true, a public IP is assigned to the network interface cards (NICs) created in the specified Subnet. - /// - [Input("mapPublicIpOnLaunch")] - public Input? MapPublicIpOnLaunch { get; set; } - - /// - /// The ID of the Net for which you want to create a Subnet. - /// - [Input("netId")] - public Input? NetId { get; set; } - - [Input("requestId")] - public Input? RequestId { get; set; } - - /// - /// The state of the Subnet (`pending` \| `available` \| `deleted`). - /// - [Input("state")] - public Input? State { get; set; } - - /// - /// The ID of the Subnet. - /// - [Input("subnetId")] - public Input? SubnetId { get; set; } - - /// - /// The name of the Subregion in which you want to create the Subnet. - /// - [Input("subregionName")] - public Input? SubregionName { get; set; } - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - public SubnetState() - { - } - public static new SubnetState Empty => new SubnetState(); - } -} diff --git a/sdk/dotnet/Tag.cs b/sdk/dotnet/Tag.cs deleted file mode 100644 index e69de29..0000000 diff --git a/sdk/dotnet/Utilities.cs b/sdk/dotnet/Utilities.cs deleted file mode 100644 index 9a3002d..0000000 --- a/sdk/dotnet/Utilities.cs +++ /dev/null @@ -1,83 +0,0 @@ -// *** 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! *** - -namespace Pulumi.Outscale -{ - static class Utilities - { - public static string? GetEnv(params string[] names) - { - foreach (var n in names) - { - var value = global::System.Environment.GetEnvironmentVariable(n); - if (value != null) - { - return value; - } - } - return null; - } - - static string[] trueValues = { "1", "t", "T", "true", "TRUE", "True" }; - static string[] falseValues = { "0", "f", "F", "false", "FALSE", "False" }; - public static bool? GetEnvBoolean(params string[] names) - { - var s = GetEnv(names); - if (s != null) - { - if (global::System.Array.IndexOf(trueValues, s) != -1) - { - return true; - } - if (global::System.Array.IndexOf(falseValues, s) != -1) - { - return false; - } - } - return null; - } - - public static int? GetEnvInt32(params string[] names) => int.TryParse(GetEnv(names), out int v) ? (int?)v : null; - - public static double? GetEnvDouble(params string[] names) => double.TryParse(GetEnv(names), out double v) ? (double?)v : null; - - [global::System.Obsolete("Please use WithDefaults instead")] - public static global::Pulumi.InvokeOptions WithVersion(this global::Pulumi.InvokeOptions? options) - { - var dst = options ?? new global::Pulumi.InvokeOptions{}; - dst.Version = options?.Version ?? Version; - return dst; - } - - public static global::Pulumi.InvokeOptions WithDefaults(this global::Pulumi.InvokeOptions? src) - { - var dst = src ?? new global::Pulumi.InvokeOptions{}; - dst.Version = src?.Version ?? Version; - return dst; - } - - private readonly static string version; - public static string Version => version; - - static Utilities() - { - var assembly = global::System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(Utilities)).Assembly; - using var stream = assembly.GetManifestResourceStream("Pulumi.Outscale.version.txt"); - using var reader = new global::System.IO.StreamReader(stream ?? throw new global::System.NotSupportedException("Missing embedded version.txt file")); - version = reader.ReadToEnd().Trim(); - var parts = version.Split("\n"); - if (parts.Length == 2) - { - // The first part is the provider name. - version = parts[1].Trim(); - } - } - } - - internal sealed class OutscaleResourceTypeAttribute : global::Pulumi.ResourceTypeAttribute - { - public OutscaleResourceTypeAttribute(string type) : base(type, Utilities.Version) - { - } - } -} diff --git a/sdk/dotnet/VirtualGateway.cs b/sdk/dotnet/VirtualGateway.cs deleted file mode 100644 index 416910d..0000000 --- a/sdk/dotnet/VirtualGateway.cs +++ /dev/null @@ -1,237 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages a virtual gateway. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Virtual-Private-Gateways.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-virtualgateway). - /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var virtualGateway01 = new Outscale.VirtualGateway("virtualGateway01", new() - /// { - /// ConnectionType = "ipsec.1", - /// Tags = new[] - /// { - /// new Outscale.Inputs.VirtualGatewayTagArgs - /// { - /// Key = "name", - /// Value = "terraform-virtual-gateway", - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// - /// ## Import - /// - /// A virtual gateway can be imported using its ID. For exampleconsole - /// - /// ```sh - /// $ pulumi import outscale:index/virtualGateway:VirtualGateway ImportedVirtualGateway vgw-12345678 - /// ``` - /// - [OutscaleResourceType("outscale:index/virtualGateway:VirtualGateway")] - public partial class VirtualGateway : global::Pulumi.CustomResource - { - /// - /// The type of VPN connection supported by the virtual gateway (only `ipsec.1` is supported). - /// - [Output("connectionType")] - public Output ConnectionType { get; private set; } = null!; - - /// - /// The Net to which the virtual gateway is attached. - /// - [Output("netToVirtualGatewayLinks")] - public Output> NetToVirtualGatewayLinks { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - /// - /// The state of the virtual gateway (`pending` \| `available` \| `deleting` \| `deleted`). - /// - [Output("state")] - public Output State { get; private set; } = null!; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - [Output("tags")] - public Output> Tags { get; private set; } = null!; - - /// - /// The ID of the virtual gateway. - /// - [Output("virtualGatewayId")] - public Output VirtualGatewayId { get; private set; } = null!; - - - /// - /// Create a VirtualGateway resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public VirtualGateway(string name, VirtualGatewayArgs args, CustomResourceOptions? options = null) - : base("outscale:index/virtualGateway:VirtualGateway", name, args ?? new VirtualGatewayArgs(), MakeResourceOptions(options, "")) - { - } - - private VirtualGateway(string name, Input id, VirtualGatewayState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/virtualGateway:VirtualGateway", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing VirtualGateway resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static VirtualGateway Get(string name, Input id, VirtualGatewayState? state = null, CustomResourceOptions? options = null) - { - return new VirtualGateway(name, id, state, options); - } - } - - public sealed class VirtualGatewayArgs : global::Pulumi.ResourceArgs - { - /// - /// The type of VPN connection supported by the virtual gateway (only `ipsec.1` is supported). - /// - [Input("connectionType", required: true)] - public Input ConnectionType { get; set; } = null!; - - [Input("netToVirtualGatewayLinks")] - private InputList? _netToVirtualGatewayLinks; - - /// - /// The Net to which the virtual gateway is attached. - /// - public InputList NetToVirtualGatewayLinks - { - get => _netToVirtualGatewayLinks ?? (_netToVirtualGatewayLinks = new InputList()); - set => _netToVirtualGatewayLinks = value; - } - - [Input("requestId")] - public Input? RequestId { get; set; } - - /// - /// The state of the virtual gateway (`pending` \| `available` \| `deleting` \| `deleted`). - /// - [Input("state")] - public Input? State { get; set; } - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - /// - /// The ID of the virtual gateway. - /// - [Input("virtualGatewayId")] - public Input? VirtualGatewayId { get; set; } - - public VirtualGatewayArgs() - { - } - public static new VirtualGatewayArgs Empty => new VirtualGatewayArgs(); - } - - public sealed class VirtualGatewayState : global::Pulumi.ResourceArgs - { - /// - /// The type of VPN connection supported by the virtual gateway (only `ipsec.1` is supported). - /// - [Input("connectionType")] - public Input? ConnectionType { get; set; } - - [Input("netToVirtualGatewayLinks")] - private InputList? _netToVirtualGatewayLinks; - - /// - /// The Net to which the virtual gateway is attached. - /// - public InputList NetToVirtualGatewayLinks - { - get => _netToVirtualGatewayLinks ?? (_netToVirtualGatewayLinks = new InputList()); - set => _netToVirtualGatewayLinks = value; - } - - [Input("requestId")] - public Input? RequestId { get; set; } - - /// - /// The state of the virtual gateway (`pending` \| `available` \| `deleting` \| `deleted`). - /// - [Input("state")] - public Input? State { get; set; } - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - /// - /// The ID of the virtual gateway. - /// - [Input("virtualGatewayId")] - public Input? VirtualGatewayId { get; set; } - - public VirtualGatewayState() - { - } - public static new VirtualGatewayState Empty => new VirtualGatewayState(); - } -} diff --git a/sdk/dotnet/VirtualGatewayLink.cs b/sdk/dotnet/VirtualGatewayLink.cs deleted file mode 100644 index becfe1e..0000000 --- a/sdk/dotnet/VirtualGatewayLink.cs +++ /dev/null @@ -1,192 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages a virtual gateway link. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Virtual-Private-Gateways.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-virtualgateway). - /// - /// ## Example Usage - /// ### Required resources - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var virtualGateway01 = new Outscale.VirtualGateway("virtualGateway01", new() - /// { - /// ConnectionType = "ipsec.1", - /// }); - /// - /// var net01 = new Outscale.Net("net01", new() - /// { - /// IpRange = "10.0.0.0/16", - /// }); - /// - /// }); - /// ``` - /// ### Link a virtual gateway to a Net - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var virtualGatewayLink01 = new Outscale.VirtualGatewayLink("virtualGatewayLink01", new() - /// { - /// VirtualGatewayId = outscale_virtual_gateway.Virtual_gateway01.Virtual_gateway_id, - /// NetId = outscale_net.Net01.Net_id, - /// }); - /// - /// }); - /// ``` - /// - /// ## Import - /// - /// A virtual gateway link can be imported using its virtual gateway ID. For exampleconsole - /// - /// ```sh - /// $ pulumi import outscale:index/virtualGatewayLink:VirtualGatewayLink ImportedVirtualGatewayLink vgw-12345678 - /// ``` - /// - [OutscaleResourceType("outscale:index/virtualGatewayLink:VirtualGatewayLink")] - public partial class VirtualGatewayLink : global::Pulumi.CustomResource - { - [Output("dryRun")] - public Output DryRun { get; private set; } = null!; - - /// - /// The ID of the Net to which you want to attach the virtual gateway. - /// - [Output("netId")] - public Output NetId { get; private set; } = null!; - - [Output("netToVirtualGatewayLinks")] - public Output> NetToVirtualGatewayLinks { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - /// - /// The ID of the virtual gateway. - /// - [Output("virtualGatewayId")] - public Output VirtualGatewayId { get; private set; } = null!; - - - /// - /// Create a VirtualGatewayLink resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public VirtualGatewayLink(string name, VirtualGatewayLinkArgs args, CustomResourceOptions? options = null) - : base("outscale:index/virtualGatewayLink:VirtualGatewayLink", name, args ?? new VirtualGatewayLinkArgs(), MakeResourceOptions(options, "")) - { - } - - private VirtualGatewayLink(string name, Input id, VirtualGatewayLinkState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/virtualGatewayLink:VirtualGatewayLink", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing VirtualGatewayLink resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static VirtualGatewayLink Get(string name, Input id, VirtualGatewayLinkState? state = null, CustomResourceOptions? options = null) - { - return new VirtualGatewayLink(name, id, state, options); - } - } - - public sealed class VirtualGatewayLinkArgs : global::Pulumi.ResourceArgs - { - [Input("dryRun")] - public Input? DryRun { get; set; } - - /// - /// The ID of the Net to which you want to attach the virtual gateway. - /// - [Input("netId", required: true)] - public Input NetId { get; set; } = null!; - - /// - /// The ID of the virtual gateway. - /// - [Input("virtualGatewayId", required: true)] - public Input VirtualGatewayId { get; set; } = null!; - - public VirtualGatewayLinkArgs() - { - } - public static new VirtualGatewayLinkArgs Empty => new VirtualGatewayLinkArgs(); - } - - public sealed class VirtualGatewayLinkState : global::Pulumi.ResourceArgs - { - [Input("dryRun")] - public Input? DryRun { get; set; } - - /// - /// The ID of the Net to which you want to attach the virtual gateway. - /// - [Input("netId")] - public Input? NetId { get; set; } - - [Input("netToVirtualGatewayLinks")] - private InputList? _netToVirtualGatewayLinks; - public InputList NetToVirtualGatewayLinks - { - get => _netToVirtualGatewayLinks ?? (_netToVirtualGatewayLinks = new InputList()); - set => _netToVirtualGatewayLinks = value; - } - - [Input("requestId")] - public Input? RequestId { get; set; } - - /// - /// The ID of the virtual gateway. - /// - [Input("virtualGatewayId")] - public Input? VirtualGatewayId { get; set; } - - public VirtualGatewayLinkState() - { - } - public static new VirtualGatewayLinkState Empty => new VirtualGatewayLinkState(); - } -} diff --git a/sdk/dotnet/VirtualGatewayRoutePropagation.cs b/sdk/dotnet/VirtualGatewayRoutePropagation.cs deleted file mode 100644 index b059227..0000000 --- a/sdk/dotnet/VirtualGatewayRoutePropagation.cs +++ /dev/null @@ -1,200 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages a virtual gateway route propagation. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Routing-Configuration-for-VPN-Connections.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#updateroutepropagation). - /// - /// ## Example Usage - /// ### Required resources - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var virtualGateway01 = new Outscale.VirtualGateway("virtualGateway01", new() - /// { - /// ConnectionType = "ipsec.1", - /// }); - /// - /// var net01 = new Outscale.Net("net01", new() - /// { - /// IpRange = "10.0.0.0/16", - /// }); - /// - /// var routeTable01 = new Outscale.RouteTable("routeTable01", new() - /// { - /// NetId = net01.NetId, - /// }); - /// - /// var virtualGatewayLink01 = new Outscale.VirtualGatewayLink("virtualGatewayLink01", new() - /// { - /// VirtualGatewayId = virtualGateway01.VirtualGatewayId, - /// NetId = net01.NetId, - /// }); - /// - /// }); - /// ``` - /// ### Activate the propagation of routes to a route table of a Net by a virtual gateway - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var virtualGatewayRoutePropagation01 = new Outscale.VirtualGatewayRoutePropagation("virtualGatewayRoutePropagation01", new() - /// { - /// Enable = true, - /// VirtualGatewayId = outscale_virtual_gateway.Virtual_gateway01.Virtual_gateway_id, - /// RouteTableId = outscale_route_table.Route_table01.Route_table_id, - /// }, new CustomResourceOptions - /// { - /// DependsOn = new[] - /// { - /// outscale_virtual_gateway_link.Virtual_gateway_link01, - /// }, - /// }); - /// - /// }); - /// ``` - /// - [OutscaleResourceType("outscale:index/virtualGatewayRoutePropagation:VirtualGatewayRoutePropagation")] - public partial class VirtualGatewayRoutePropagation : global::Pulumi.CustomResource - { - /// - /// If true, a virtual gateway can propagate routes to a specified route table of a Net. If false, the propagation is disabled. - /// - [Output("enable")] - public Output Enable { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - /// - /// The ID of the route table. - /// - [Output("routeTableId")] - public Output RouteTableId { get; private set; } = null!; - - /// - /// The ID of the virtual gateway. - /// - [Output("virtualGatewayId")] - public Output VirtualGatewayId { get; private set; } = null!; - - - /// - /// Create a VirtualGatewayRoutePropagation resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public VirtualGatewayRoutePropagation(string name, VirtualGatewayRoutePropagationArgs args, CustomResourceOptions? options = null) - : base("outscale:index/virtualGatewayRoutePropagation:VirtualGatewayRoutePropagation", name, args ?? new VirtualGatewayRoutePropagationArgs(), MakeResourceOptions(options, "")) - { - } - - private VirtualGatewayRoutePropagation(string name, Input id, VirtualGatewayRoutePropagationState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/virtualGatewayRoutePropagation:VirtualGatewayRoutePropagation", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing VirtualGatewayRoutePropagation resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static VirtualGatewayRoutePropagation Get(string name, Input id, VirtualGatewayRoutePropagationState? state = null, CustomResourceOptions? options = null) - { - return new VirtualGatewayRoutePropagation(name, id, state, options); - } - } - - public sealed class VirtualGatewayRoutePropagationArgs : global::Pulumi.ResourceArgs - { - /// - /// If true, a virtual gateway can propagate routes to a specified route table of a Net. If false, the propagation is disabled. - /// - [Input("enable", required: true)] - public Input Enable { get; set; } = null!; - - /// - /// The ID of the route table. - /// - [Input("routeTableId", required: true)] - public Input RouteTableId { get; set; } = null!; - - /// - /// The ID of the virtual gateway. - /// - [Input("virtualGatewayId", required: true)] - public Input VirtualGatewayId { get; set; } = null!; - - public VirtualGatewayRoutePropagationArgs() - { - } - public static new VirtualGatewayRoutePropagationArgs Empty => new VirtualGatewayRoutePropagationArgs(); - } - - public sealed class VirtualGatewayRoutePropagationState : global::Pulumi.ResourceArgs - { - /// - /// If true, a virtual gateway can propagate routes to a specified route table of a Net. If false, the propagation is disabled. - /// - [Input("enable")] - public Input? Enable { get; set; } - - [Input("requestId")] - public Input? RequestId { get; set; } - - /// - /// The ID of the route table. - /// - [Input("routeTableId")] - public Input? RouteTableId { get; set; } - - /// - /// The ID of the virtual gateway. - /// - [Input("virtualGatewayId")] - public Input? VirtualGatewayId { get; set; } - - public VirtualGatewayRoutePropagationState() - { - } - public static new VirtualGatewayRoutePropagationState Empty => new VirtualGatewayRoutePropagationState(); - } -} diff --git a/sdk/dotnet/Vm.cs b/sdk/dotnet/Vm.cs deleted file mode 100644 index 252dca2..0000000 --- a/sdk/dotnet/Vm.cs +++ /dev/null @@ -1,1038 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages a virtual machine (VM). - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Instances.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-vm). - /// - /// ## Example Usage - /// ### Optional resource - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var keypair01 = new Outscale.Keypair("keypair01", new() - /// { - /// KeypairName = "terraform-keypair-for-vm", - /// }); - /// - /// }); - /// ``` - /// ### Create a VM with block device mappings - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var vm02 = new Outscale.Vm("vm02", new() - /// { - /// ImageId = @var.Image_id, - /// VmType = @var.Vm_type, - /// KeypairName = @var.Keypair_name, - /// BlockDeviceMappings = new[] - /// { - /// new Outscale.Inputs.VmBlockDeviceMappingArgs - /// { - /// DeviceName = "/dev/sda1", - /// Bsu = new Outscale.Inputs.VmBlockDeviceMappingBsuArgs - /// { - /// VolumeSize = 15, - /// VolumeType = "gp2", - /// SnapshotId = @var.Snapshot_id, - /// }, - /// }, - /// new Outscale.Inputs.VmBlockDeviceMappingArgs - /// { - /// DeviceName = "/dev/sdb", - /// Bsu = new Outscale.Inputs.VmBlockDeviceMappingBsuArgs - /// { - /// VolumeSize = 22, - /// VolumeType = "io1", - /// Iops = 150, - /// DeleteOnVmDeletion = true, - /// }, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// ### Create a VM in a Net with a network - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var net01 = new Outscale.Net("net01", new() - /// { - /// IpRange = "10.0.0.0/16", - /// Tags = new[] - /// { - /// new Outscale.Inputs.NetTagArgs - /// { - /// Key = "name", - /// Value = "terraform-net-for-vm", - /// }, - /// }, - /// }); - /// - /// var subnet01 = new Outscale.Subnet("subnet01", new() - /// { - /// NetId = net01.NetId, - /// IpRange = "10.0.0.0/24", - /// SubregionName = "eu-west-2b", - /// Tags = new[] - /// { - /// new Outscale.Inputs.SubnetTagArgs - /// { - /// Key = "name", - /// Value = "terraform-subnet-for-vm", - /// }, - /// }, - /// }); - /// - /// var securityGroup01 = new Outscale.SecurityGroup("securityGroup01", new() - /// { - /// Description = "Terraform security group for VM", - /// SecurityGroupName = "terraform-security-group-for-vm", - /// NetId = net01.NetId, - /// }); - /// - /// var internetService01 = new Outscale.InternetService("internetService01"); - /// - /// var routeTable01 = new Outscale.RouteTable("routeTable01", new() - /// { - /// NetId = net01.NetId, - /// Tags = new[] - /// { - /// new Outscale.Inputs.RouteTableTagArgs - /// { - /// Key = "name", - /// Value = "terraform-route-table-for-vm", - /// }, - /// }, - /// }); - /// - /// var routeTableLink01 = new Outscale.RouteTableLink("routeTableLink01", new() - /// { - /// RouteTableId = routeTable01.RouteTableId, - /// SubnetId = subnet01.SubnetId, - /// }); - /// - /// var internetServiceLink01 = new Outscale.InternetServiceLink("internetServiceLink01", new() - /// { - /// InternetServiceId = internetService01.InternetServiceId, - /// NetId = net01.NetId, - /// }); - /// - /// var route01 = new Outscale.Route("route01", new() - /// { - /// GatewayId = internetService01.InternetServiceId, - /// DestinationIpRange = "0.0.0.0/0", - /// RouteTableId = routeTable01.RouteTableId, - /// }); - /// - /// var vm03 = new Outscale.Vm("vm03", new() - /// { - /// ImageId = @var.Image_id, - /// VmType = @var.Vm_type, - /// KeypairName = @var.Keypair_name, - /// SecurityGroupIds = new[] - /// { - /// securityGroup01.SecurityGroupId, - /// }, - /// SubnetId = subnet01.SubnetId, - /// }); - /// - /// }); - /// ``` - /// ### Create a VM with a NIC - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var net02 = new Outscale.Net("net02", new() - /// { - /// IpRange = "10.0.0.0/16", - /// Tags = new[] - /// { - /// new Outscale.Inputs.NetTagArgs - /// { - /// Key = "name", - /// Value = "terraform-net-for-vm-with-nic", - /// }, - /// }, - /// }); - /// - /// var subnet02 = new Outscale.Subnet("subnet02", new() - /// { - /// NetId = net02.NetId, - /// IpRange = "10.0.0.0/24", - /// SubregionName = "eu-west-2a", - /// Tags = new[] - /// { - /// new Outscale.Inputs.SubnetTagArgs - /// { - /// Key = "name", - /// Value = "terraform-subnet-for-vm-with-nic", - /// }, - /// }, - /// }); - /// - /// var nic01 = new Outscale.Nic("nic01", new() - /// { - /// SubnetId = subnet02.SubnetId, - /// }); - /// - /// var vm04 = new Outscale.Vm("vm04", new() - /// { - /// ImageId = @var.Image_id, - /// VmType = "c4.large", - /// KeypairName = @var.Keypair_name, - /// PrimaryNics = new[] - /// { - /// new Outscale.Inputs.VmPrimaryNicArgs - /// { - /// NicId = nic01.NicId, - /// DeviceNumber = 0, - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// - /// ## Import - /// - /// A VM can be imported using its ID. For exampleconsole - /// - /// ```sh - /// $ pulumi import outscale:index/vm:Vm ImportedVm i-12345678 - /// ``` - /// - [OutscaleResourceType("outscale:index/vm:Vm")] - public partial class Vm : global::Pulumi.CustomResource - { - [Output("adminPassword")] - public Output AdminPassword { get; private set; } = null!; - - /// - /// The architecture of the VM (`i386` \| `x86_64`). - /// - [Output("architecture")] - public Output Architecture { get; private set; } = null!; - - /// - /// One or more block device mappings. - /// - [Output("blockDeviceMappings")] - public Output> BlockDeviceMappings { get; private set; } = null!; - - /// - /// The block device mapping of the VM. - /// - [Output("blockDeviceMappingsCreateds")] - public Output> BlockDeviceMappingsCreateds { get; private set; } = null!; - - [Output("bsuOptimized")] - public Output BsuOptimized { get; private set; } = null!; - - /// - /// A unique identifier which enables you to manage the idempotency. - /// - [Output("clientToken")] - public Output ClientToken { get; private set; } = null!; - - /// - /// The date and time of creation of the VM. - /// - [Output("creationDate")] - public Output CreationDate { get; private set; } = null!; - - /// - /// If true, you cannot delete the VM unless you change this parameter back to false. - /// - [Output("deletionProtection")] - public Output DeletionProtection { get; private set; } = null!; - - /// - /// (Windows VM only) If true, waits for the administrator password of the VM to become available in order to retrieve the VM. The password is exported to the `admin_password` attribute. - /// - [Output("getAdminPassword")] - public Output GetAdminPassword { get; private set; } = null!; - - /// - /// The hypervisor type of the VMs (`ovm` \| `xen`). - /// - [Output("hypervisor")] - public Output Hypervisor { get; private set; } = null!; - - /// - /// The ID of the OMI used to create the VM. You can find the list of OMIs by calling the [ReadImages](https://docs.outscale.com/api#readimages) method. - /// - [Output("imageId")] - public Output ImageId { get; private set; } = null!; - - /// - /// (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - /// - [Output("isSourceDestChecked")] - public Output IsSourceDestChecked { get; private set; } = null!; - - /// - /// The name of the keypair. - /// - [Output("keypairName")] - public Output KeypairName { get; private set; } = null!; - - /// - /// The number for the VM when launching a group of several VMs (for example, `0`, `1`, `2`, and so on). - /// - [Output("launchNumber")] - public Output LaunchNumber { get; private set; } = null!; - - /// - /// (dedicated tenancy only) If true, nested virtualization is enabled. If false, it is disabled. - /// - [Output("nestedVirtualization")] - public Output NestedVirtualization { get; private set; } = null!; - - /// - /// The ID of the Net for the NIC. - /// - [Output("netId")] - public Output NetId { get; private set; } = null!; - - /// - /// One or more NICs. If you specify this parameter, you must not specify the `subnet_id` and `subregion_name` parameters. To define a NIC as the primary network interface of the VM, use the `primary_nic` argument. - /// - [Output("nics")] - public Output> Nics { get; private set; } = null!; - - /// - /// Indicates the operating system (OS) of the VM. - /// - [Output("osFamily")] - public Output OsFamily { get; private set; } = null!; - - /// - /// The performance of the VM (`medium` | `high` | `highest`). Updating this parameter will trigger a stop/start of the VM. - /// - [Output("performance")] - public Output Performance { get; private set; } = null!; - - /// - /// The name of the Subregion where the VM is placed. - /// - [Output("placementSubregionName")] - public Output PlacementSubregionName { get; private set; } = null!; - - /// - /// The tenancy of the VM (`default` | `dedicated`). - /// - [Output("placementTenancy")] - public Output PlacementTenancy { get; private set; } = null!; - - /// - /// The primary network interface of the VM. - /// - [Output("primaryNics")] - public Output> PrimaryNics { get; private set; } = null!; - - /// - /// The name of the private DNS. - /// - [Output("privateDnsName")] - public Output PrivateDnsName { get; private set; } = null!; - - /// - /// The private IP of the NIC. - /// - [Output("privateIp")] - public Output PrivateIp { get; private set; } = null!; - - /// - /// One or more private IPs of the VM. - /// - [Output("privateIps")] - public Output> PrivateIps { get; private set; } = null!; - - /// - /// The product codes associated with the OMI used to create the VM. - /// - [Output("productCodes")] - public Output> ProductCodes { get; private set; } = null!; - - /// - /// The name of the public DNS. - /// - [Output("publicDnsName")] - public Output PublicDnsName { get; private set; } = null!; - - /// - /// The public IP of the VM. - /// - [Output("publicIp")] - public Output PublicIp { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - /// - /// The reservation ID of the VM. - /// - [Output("reservationId")] - public Output ReservationId { get; private set; } = null!; - - /// - /// The name of the root device for the VM (for example, `/dev/vda1`). - /// - [Output("rootDeviceName")] - public Output RootDeviceName { get; private set; } = null!; - - /// - /// The type of root device used by the VM (always `bsu`). - /// - [Output("rootDeviceType")] - public Output RootDeviceType { get; private set; } = null!; - - /// - /// One or more IDs of security group for the VMs. - /// - [Output("securityGroupIds")] - public Output> SecurityGroupIds { get; private set; } = null!; - - /// - /// One or more names of security groups for the VMs. - /// - [Output("securityGroupNames")] - public Output> SecurityGroupNames { get; private set; } = null!; - - /// - /// One or more security groups associated with the VM. - /// - [Output("securityGroups")] - public Output> SecurityGroups { get; private set; } = null!; - - /// - /// The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - /// - [Output("state")] - public Output State { get; private set; } = null!; - - /// - /// The reason explaining the current state of the VM. - /// - [Output("stateReason")] - public Output StateReason { get; private set; } = null!; - - /// - /// The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `nics` parameter. - /// - [Output("subnetId")] - public Output SubnetId { get; private set; } = null!; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - [Output("tags")] - public Output> Tags { get; private set; } = null!; - - /// - /// Data or script used to add a specific configuration to the VM. It must be Base64-encoded, either directly or using the base64encode. Updating this parameter will trigger a stop/start of the VM. - /// - [Output("userData")] - public Output UserData { get; private set; } = null!; - - /// - /// The ID of the VM. - /// - [Output("vmId")] - public Output VmId { get; private set; } = null!; - - /// - /// The VM behavior when you stop it. By default or if set to `stop`, the VM stops. If set to `restart`, the VM stops then automatically restarts. If set to `terminate`, the VM stops and is terminated. - /// - [Output("vmInitiatedShutdownBehavior")] - public Output VmInitiatedShutdownBehavior { get; private set; } = null!; - - /// - /// The type of VM (`t2.small` by default). Updating this parameter will trigger a stop/start of the VM.<br /> For more information, see [Instance Types](https://docs.outscale.com/en/userguide/Instance-Types.html). - /// - [Output("vmType")] - public Output VmType { get; private set; } = null!; - - - /// - /// Create a Vm resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public Vm(string name, VmArgs args, CustomResourceOptions? options = null) - : base("outscale:index/vm:Vm", name, args ?? new VmArgs(), MakeResourceOptions(options, "")) - { - } - - private Vm(string name, Input id, VmState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/vm:Vm", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing Vm resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static Vm Get(string name, Input id, VmState? state = null, CustomResourceOptions? options = null) - { - return new Vm(name, id, state, options); - } - } - - public sealed class VmArgs : global::Pulumi.ResourceArgs - { - [Input("blockDeviceMappings")] - private InputList? _blockDeviceMappings; - - /// - /// One or more block device mappings. - /// - public InputList BlockDeviceMappings - { - get => _blockDeviceMappings ?? (_blockDeviceMappings = new InputList()); - set => _blockDeviceMappings = value; - } - - [Input("bsuOptimized")] - public Input? BsuOptimized { get; set; } - - /// - /// If true, you cannot delete the VM unless you change this parameter back to false. - /// - [Input("deletionProtection")] - public Input? DeletionProtection { get; set; } - - /// - /// (Windows VM only) If true, waits for the administrator password of the VM to become available in order to retrieve the VM. The password is exported to the `admin_password` attribute. - /// - [Input("getAdminPassword")] - public Input? GetAdminPassword { get; set; } - - /// - /// The ID of the OMI used to create the VM. You can find the list of OMIs by calling the [ReadImages](https://docs.outscale.com/api#readimages) method. - /// - [Input("imageId", required: true)] - public Input ImageId { get; set; } = null!; - - /// - /// (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - /// - [Input("isSourceDestChecked")] - public Input? IsSourceDestChecked { get; set; } - - /// - /// The name of the keypair. - /// - [Input("keypairName")] - public Input? KeypairName { get; set; } - - /// - /// (dedicated tenancy only) If true, nested virtualization is enabled. If false, it is disabled. - /// - [Input("nestedVirtualization")] - public Input? NestedVirtualization { get; set; } - - [Input("nics")] - private InputList? _nics; - - /// - /// One or more NICs. If you specify this parameter, you must not specify the `subnet_id` and `subregion_name` parameters. To define a NIC as the primary network interface of the VM, use the `primary_nic` argument. - /// - public InputList Nics - { - get => _nics ?? (_nics = new InputList()); - set => _nics = value; - } - - /// - /// The performance of the VM (`medium` | `high` | `highest`). Updating this parameter will trigger a stop/start of the VM. - /// - [Input("performance")] - public Input? Performance { get; set; } - - /// - /// The name of the Subregion where the VM is placed. - /// - [Input("placementSubregionName")] - public Input? PlacementSubregionName { get; set; } - - /// - /// The tenancy of the VM (`default` | `dedicated`). - /// - [Input("placementTenancy")] - public Input? PlacementTenancy { get; set; } - - [Input("primaryNics")] - private InputList? _primaryNics; - - /// - /// The primary network interface of the VM. - /// - public InputList PrimaryNics - { - get => _primaryNics ?? (_primaryNics = new InputList()); - set => _primaryNics = value; - } - - [Input("privateIps")] - private InputList? _privateIps; - - /// - /// One or more private IPs of the VM. - /// - public InputList PrivateIps - { - get => _privateIps ?? (_privateIps = new InputList()); - set => _privateIps = value; - } - - [Input("securityGroupIds")] - private InputList? _securityGroupIds; - - /// - /// One or more IDs of security group for the VMs. - /// - public InputList SecurityGroupIds - { - get => _securityGroupIds ?? (_securityGroupIds = new InputList()); - set => _securityGroupIds = value; - } - - [Input("securityGroupNames")] - private InputList? _securityGroupNames; - - /// - /// One or more names of security groups for the VMs. - /// - public InputList SecurityGroupNames - { - get => _securityGroupNames ?? (_securityGroupNames = new InputList()); - set => _securityGroupNames = value; - } - - /// - /// The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - /// - [Input("state")] - public Input? State { get; set; } - - /// - /// The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `nics` parameter. - /// - [Input("subnetId")] - public Input? SubnetId { get; set; } - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - /// - /// Data or script used to add a specific configuration to the VM. It must be Base64-encoded, either directly or using the base64encode. Updating this parameter will trigger a stop/start of the VM. - /// - [Input("userData")] - public Input? UserData { get; set; } - - /// - /// The ID of the VM. - /// - [Input("vmId")] - public Input? VmId { get; set; } - - /// - /// The VM behavior when you stop it. By default or if set to `stop`, the VM stops. If set to `restart`, the VM stops then automatically restarts. If set to `terminate`, the VM stops and is terminated. - /// - [Input("vmInitiatedShutdownBehavior")] - public Input? VmInitiatedShutdownBehavior { get; set; } - - /// - /// The type of VM (`t2.small` by default). Updating this parameter will trigger a stop/start of the VM.<br /> For more information, see [Instance Types](https://docs.outscale.com/en/userguide/Instance-Types.html). - /// - [Input("vmType")] - public Input? VmType { get; set; } - - public VmArgs() - { - } - public static new VmArgs Empty => new VmArgs(); - } - - public sealed class VmState : global::Pulumi.ResourceArgs - { - [Input("adminPassword")] - public Input? AdminPassword { get; set; } - - /// - /// The architecture of the VM (`i386` \| `x86_64`). - /// - [Input("architecture")] - public Input? Architecture { get; set; } - - [Input("blockDeviceMappings")] - private InputList? _blockDeviceMappings; - - /// - /// One or more block device mappings. - /// - public InputList BlockDeviceMappings - { - get => _blockDeviceMappings ?? (_blockDeviceMappings = new InputList()); - set => _blockDeviceMappings = value; - } - - [Input("blockDeviceMappingsCreateds")] - private InputList? _blockDeviceMappingsCreateds; - - /// - /// The block device mapping of the VM. - /// - public InputList BlockDeviceMappingsCreateds - { - get => _blockDeviceMappingsCreateds ?? (_blockDeviceMappingsCreateds = new InputList()); - set => _blockDeviceMappingsCreateds = value; - } - - [Input("bsuOptimized")] - public Input? BsuOptimized { get; set; } - - /// - /// A unique identifier which enables you to manage the idempotency. - /// - [Input("clientToken")] - public Input? ClientToken { get; set; } - - /// - /// The date and time of creation of the VM. - /// - [Input("creationDate")] - public Input? CreationDate { get; set; } - - /// - /// If true, you cannot delete the VM unless you change this parameter back to false. - /// - [Input("deletionProtection")] - public Input? DeletionProtection { get; set; } - - /// - /// (Windows VM only) If true, waits for the administrator password of the VM to become available in order to retrieve the VM. The password is exported to the `admin_password` attribute. - /// - [Input("getAdminPassword")] - public Input? GetAdminPassword { get; set; } - - /// - /// The hypervisor type of the VMs (`ovm` \| `xen`). - /// - [Input("hypervisor")] - public Input? Hypervisor { get; set; } - - /// - /// The ID of the OMI used to create the VM. You can find the list of OMIs by calling the [ReadImages](https://docs.outscale.com/api#readimages) method. - /// - [Input("imageId")] - public Input? ImageId { get; set; } - - /// - /// (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - /// - [Input("isSourceDestChecked")] - public Input? IsSourceDestChecked { get; set; } - - /// - /// The name of the keypair. - /// - [Input("keypairName")] - public Input? KeypairName { get; set; } - - /// - /// The number for the VM when launching a group of several VMs (for example, `0`, `1`, `2`, and so on). - /// - [Input("launchNumber")] - public Input? LaunchNumber { get; set; } - - /// - /// (dedicated tenancy only) If true, nested virtualization is enabled. If false, it is disabled. - /// - [Input("nestedVirtualization")] - public Input? NestedVirtualization { get; set; } - - /// - /// The ID of the Net for the NIC. - /// - [Input("netId")] - public Input? NetId { get; set; } - - [Input("nics")] - private InputList? _nics; - - /// - /// One or more NICs. If you specify this parameter, you must not specify the `subnet_id` and `subregion_name` parameters. To define a NIC as the primary network interface of the VM, use the `primary_nic` argument. - /// - public InputList Nics - { - get => _nics ?? (_nics = new InputList()); - set => _nics = value; - } - - /// - /// Indicates the operating system (OS) of the VM. - /// - [Input("osFamily")] - public Input? OsFamily { get; set; } - - /// - /// The performance of the VM (`medium` | `high` | `highest`). Updating this parameter will trigger a stop/start of the VM. - /// - [Input("performance")] - public Input? Performance { get; set; } - - /// - /// The name of the Subregion where the VM is placed. - /// - [Input("placementSubregionName")] - public Input? PlacementSubregionName { get; set; } - - /// - /// The tenancy of the VM (`default` | `dedicated`). - /// - [Input("placementTenancy")] - public Input? PlacementTenancy { get; set; } - - [Input("primaryNics")] - private InputList? _primaryNics; - - /// - /// The primary network interface of the VM. - /// - public InputList PrimaryNics - { - get => _primaryNics ?? (_primaryNics = new InputList()); - set => _primaryNics = value; - } - - /// - /// The name of the private DNS. - /// - [Input("privateDnsName")] - public Input? PrivateDnsName { get; set; } - - /// - /// The private IP of the NIC. - /// - [Input("privateIp")] - public Input? PrivateIp { get; set; } - - [Input("privateIps")] - private InputList? _privateIps; - - /// - /// One or more private IPs of the VM. - /// - public InputList PrivateIps - { - get => _privateIps ?? (_privateIps = new InputList()); - set => _privateIps = value; - } - - [Input("productCodes")] - private InputList? _productCodes; - - /// - /// The product codes associated with the OMI used to create the VM. - /// - public InputList ProductCodes - { - get => _productCodes ?? (_productCodes = new InputList()); - set => _productCodes = value; - } - - /// - /// The name of the public DNS. - /// - [Input("publicDnsName")] - public Input? PublicDnsName { get; set; } - - /// - /// The public IP of the VM. - /// - [Input("publicIp")] - public Input? PublicIp { get; set; } - - [Input("requestId")] - public Input? RequestId { get; set; } - - /// - /// The reservation ID of the VM. - /// - [Input("reservationId")] - public Input? ReservationId { get; set; } - - /// - /// The name of the root device for the VM (for example, `/dev/vda1`). - /// - [Input("rootDeviceName")] - public Input? RootDeviceName { get; set; } - - /// - /// The type of root device used by the VM (always `bsu`). - /// - [Input("rootDeviceType")] - public Input? RootDeviceType { get; set; } - - [Input("securityGroupIds")] - private InputList? _securityGroupIds; - - /// - /// One or more IDs of security group for the VMs. - /// - public InputList SecurityGroupIds - { - get => _securityGroupIds ?? (_securityGroupIds = new InputList()); - set => _securityGroupIds = value; - } - - [Input("securityGroupNames")] - private InputList? _securityGroupNames; - - /// - /// One or more names of security groups for the VMs. - /// - public InputList SecurityGroupNames - { - get => _securityGroupNames ?? (_securityGroupNames = new InputList()); - set => _securityGroupNames = value; - } - - [Input("securityGroups")] - private InputList? _securityGroups; - - /// - /// One or more security groups associated with the VM. - /// - public InputList SecurityGroups - { - get => _securityGroups ?? (_securityGroups = new InputList()); - set => _securityGroups = value; - } - - /// - /// The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - /// - [Input("state")] - public Input? State { get; set; } - - /// - /// The reason explaining the current state of the VM. - /// - [Input("stateReason")] - public Input? StateReason { get; set; } - - /// - /// The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `nics` parameter. - /// - [Input("subnetId")] - public Input? SubnetId { get; set; } - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - /// - /// Data or script used to add a specific configuration to the VM. It must be Base64-encoded, either directly or using the base64encode. Updating this parameter will trigger a stop/start of the VM. - /// - [Input("userData")] - public Input? UserData { get; set; } - - /// - /// The ID of the VM. - /// - [Input("vmId")] - public Input? VmId { get; set; } - - /// - /// The VM behavior when you stop it. By default or if set to `stop`, the VM stops. If set to `restart`, the VM stops then automatically restarts. If set to `terminate`, the VM stops and is terminated. - /// - [Input("vmInitiatedShutdownBehavior")] - public Input? VmInitiatedShutdownBehavior { get; set; } - - /// - /// The type of VM (`t2.small` by default). Updating this parameter will trigger a stop/start of the VM.<br /> For more information, see [Instance Types](https://docs.outscale.com/en/userguide/Instance-Types.html). - /// - [Input("vmType")] - public Input? VmType { get; set; } - - public VmState() - { - } - public static new VmState Empty => new VmState(); - } -} diff --git a/sdk/dotnet/Volume.cs b/sdk/dotnet/Volume.cs deleted file mode 100644 index a4a5abe..0000000 --- a/sdk/dotnet/Volume.cs +++ /dev/null @@ -1,330 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages a volume. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Volumes.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-volume). - /// - /// ## Example Usage - /// ### Creating an io1 volume - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var volume01 = new Outscale.Volume("volume01", new() - /// { - /// Iops = 100, - /// Size = 10, - /// SubregionName = $"{@var.Region}a", - /// VolumeType = "io1", - /// }); - /// - /// }); - /// ``` - /// ### Creating a snapshot before volume deletion - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var volume01 = new Outscale.Volume("volume01", new() - /// { - /// Size = 40, - /// SubregionName = $"{@var.Region}a", - /// TerminationSnapshotName = "deleting_volume_snap", - /// }); - /// - /// }); - /// ``` - /// - /// ## Import - /// - /// A volume can be imported using its ID. For exampleconsole - /// - /// ```sh - /// $ pulumi import outscale:index/volume:Volume ImportedVolume vol-12345678 - /// ``` - /// - [OutscaleResourceType("outscale:index/volume:Volume")] - public partial class Volume : global::Pulumi.CustomResource - { - /// - /// The date and time of creation of the volume. - /// - [Output("creationDate")] - public Output CreationDate { get; private set; } = null!; - - /// - /// The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - /// - [Output("iops")] - public Output Iops { get; private set; } = null!; - - /// - /// Information about your volume attachment. - /// - [Output("linkedVolumes")] - public Output> LinkedVolumes { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - /// - /// The size of the volume, in gibibytes (GiB). The maximum allowed size for a volume is 14901 GiB. This parameter is required if the volume is not created from a snapshot (`snapshot_id` unspecified). - /// - [Output("size")] - public Output Size { get; private set; } = null!; - - /// - /// The ID of the snapshot from which you want to create the volume. - /// - [Output("snapshotId")] - public Output SnapshotId { get; private set; } = null!; - - /// - /// The state of the volume (`creating` \| `available` \| `in-use` \| `updating` \| `deleting` \| `error`). - /// - [Output("state")] - public Output State { get; private set; } = null!; - - /// - /// The Subregion in which you want to create the volume. - /// - [Output("subregionName")] - public Output SubregionName { get; private set; } = null!; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - [Output("tags")] - public Output> Tags { get; private set; } = null!; - - /// - /// Whether you want to create a snapshot before the volume deletion. - /// - [Output("terminationSnapshotName")] - public Output TerminationSnapshotName { get; private set; } = null!; - - /// - /// The ID of the volume. - /// - [Output("volumeId")] - public Output VolumeId { get; private set; } = null!; - - /// - /// The type of volume you want to create (`io1` \| `gp2` \| `standard`). If not specified, a `standard` volume is created.<br /> - /// For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - /// - [Output("volumeType")] - public Output VolumeType { get; private set; } = null!; - - - /// - /// Create a Volume resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public Volume(string name, VolumeArgs args, CustomResourceOptions? options = null) - : base("outscale:index/volume:Volume", name, args ?? new VolumeArgs(), MakeResourceOptions(options, "")) - { - } - - private Volume(string name, Input id, VolumeState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/volume:Volume", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing Volume resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static Volume Get(string name, Input id, VolumeState? state = null, CustomResourceOptions? options = null) - { - return new Volume(name, id, state, options); - } - } - - public sealed class VolumeArgs : global::Pulumi.ResourceArgs - { - /// - /// The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - /// - [Input("iops")] - public Input? Iops { get; set; } - - /// - /// The size of the volume, in gibibytes (GiB). The maximum allowed size for a volume is 14901 GiB. This parameter is required if the volume is not created from a snapshot (`snapshot_id` unspecified). - /// - [Input("size")] - public Input? Size { get; set; } - - /// - /// The ID of the snapshot from which you want to create the volume. - /// - [Input("snapshotId")] - public Input? SnapshotId { get; set; } - - /// - /// The Subregion in which you want to create the volume. - /// - [Input("subregionName", required: true)] - public Input SubregionName { get; set; } = null!; - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - /// - /// Whether you want to create a snapshot before the volume deletion. - /// - [Input("terminationSnapshotName")] - public Input? TerminationSnapshotName { get; set; } - - /// - /// The type of volume you want to create (`io1` \| `gp2` \| `standard`). If not specified, a `standard` volume is created.<br /> - /// For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - /// - [Input("volumeType")] - public Input? VolumeType { get; set; } - - public VolumeArgs() - { - } - public static new VolumeArgs Empty => new VolumeArgs(); - } - - public sealed class VolumeState : global::Pulumi.ResourceArgs - { - /// - /// The date and time of creation of the volume. - /// - [Input("creationDate")] - public Input? CreationDate { get; set; } - - /// - /// The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - /// - [Input("iops")] - public Input? Iops { get; set; } - - [Input("linkedVolumes")] - private InputList? _linkedVolumes; - - /// - /// Information about your volume attachment. - /// - public InputList LinkedVolumes - { - get => _linkedVolumes ?? (_linkedVolumes = new InputList()); - set => _linkedVolumes = value; - } - - [Input("requestId")] - public Input? RequestId { get; set; } - - /// - /// The size of the volume, in gibibytes (GiB). The maximum allowed size for a volume is 14901 GiB. This parameter is required if the volume is not created from a snapshot (`snapshot_id` unspecified). - /// - [Input("size")] - public Input? Size { get; set; } - - /// - /// The ID of the snapshot from which you want to create the volume. - /// - [Input("snapshotId")] - public Input? SnapshotId { get; set; } - - /// - /// The state of the volume (`creating` \| `available` \| `in-use` \| `updating` \| `deleting` \| `error`). - /// - [Input("state")] - public Input? State { get; set; } - - /// - /// The Subregion in which you want to create the volume. - /// - [Input("subregionName")] - public Input? SubregionName { get; set; } - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - /// - /// Whether you want to create a snapshot before the volume deletion. - /// - [Input("terminationSnapshotName")] - public Input? TerminationSnapshotName { get; set; } - - /// - /// The ID of the volume. - /// - [Input("volumeId")] - public Input? VolumeId { get; set; } - - /// - /// The type of volume you want to create (`io1` \| `gp2` \| `standard`). If not specified, a `standard` volume is created.<br /> - /// For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - /// - [Input("volumeType")] - public Input? VolumeType { get; set; } - - public VolumeState() - { - } - public static new VolumeState Empty => new VolumeState(); - } -} diff --git a/sdk/dotnet/VolumesLink.cs b/sdk/dotnet/VolumesLink.cs deleted file mode 100644 index d335538..0000000 --- a/sdk/dotnet/VolumesLink.cs +++ /dev/null @@ -1,228 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages a volume link. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Volumes.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-volume). - /// - /// ## Example Usage - /// ### Required resources - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var volume01 = new Outscale.Volume("volume01", new() - /// { - /// SubregionName = $"{@var.Region}a", - /// Size = 40, - /// }); - /// - /// var vm01 = new Outscale.Vm("vm01", new() - /// { - /// ImageId = @var.Image_id, - /// VmType = @var.Vm_type, - /// KeypairName = @var.Keypair_name, - /// SecurityGroupIds = new[] - /// { - /// @var.Security_group_id, - /// }, - /// }); - /// - /// }); - /// ``` - /// ### Link a volume to a VM - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var volumesLink01 = new Outscale.VolumesLink("volumesLink01", new() - /// { - /// DeviceName = "/dev/xvdc", - /// VolumeId = outscale_volume.Volume01.Id, - /// VmId = outscale_vm.Vm01.Id, - /// }); - /// - /// }); - /// ``` - /// - /// ## Import - /// - /// A volume link can be imported using a volume ID. For exampleconsole - /// - /// ```sh - /// $ pulumi import outscale:index/volumesLink:VolumesLink ImportedVolumeLink vol-12345678 - /// ``` - /// - [OutscaleResourceType("outscale:index/volumesLink:VolumesLink")] - public partial class VolumesLink : global::Pulumi.CustomResource - { - [Output("deleteOnVmTermination")] - public Output DeleteOnVmTermination { get; private set; } = null!; - - /// - /// The name of the device. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - /// - [Output("deviceName")] - public Output DeviceName { get; private set; } = null!; - - [Output("forceUnlink")] - public Output ForceUnlink { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - /// - /// The state of the attachment of the volume (`attaching` | `detaching` | `attached` | `detached`). - /// - [Output("state")] - public Output State { get; private set; } = null!; - - /// - /// The ID of the VM you want to attach the volume to. - /// - [Output("vmId")] - public Output VmId { get; private set; } = null!; - - /// - /// The ID of the volume you want to attach. - /// - [Output("volumeId")] - public Output VolumeId { get; private set; } = null!; - - - /// - /// Create a VolumesLink resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public VolumesLink(string name, VolumesLinkArgs args, CustomResourceOptions? options = null) - : base("outscale:index/volumesLink:VolumesLink", name, args ?? new VolumesLinkArgs(), MakeResourceOptions(options, "")) - { - } - - private VolumesLink(string name, Input id, VolumesLinkState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/volumesLink:VolumesLink", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing VolumesLink resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static VolumesLink Get(string name, Input id, VolumesLinkState? state = null, CustomResourceOptions? options = null) - { - return new VolumesLink(name, id, state, options); - } - } - - public sealed class VolumesLinkArgs : global::Pulumi.ResourceArgs - { - [Input("deleteOnVmTermination")] - public Input? DeleteOnVmTermination { get; set; } - - /// - /// The name of the device. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - /// - [Input("deviceName", required: true)] - public Input DeviceName { get; set; } = null!; - - [Input("forceUnlink")] - public Input? ForceUnlink { get; set; } - - /// - /// The ID of the VM you want to attach the volume to. - /// - [Input("vmId", required: true)] - public Input VmId { get; set; } = null!; - - /// - /// The ID of the volume you want to attach. - /// - [Input("volumeId", required: true)] - public Input VolumeId { get; set; } = null!; - - public VolumesLinkArgs() - { - } - public static new VolumesLinkArgs Empty => new VolumesLinkArgs(); - } - - public sealed class VolumesLinkState : global::Pulumi.ResourceArgs - { - [Input("deleteOnVmTermination")] - public Input? DeleteOnVmTermination { get; set; } - - /// - /// The name of the device. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - /// - [Input("deviceName")] - public Input? DeviceName { get; set; } - - [Input("forceUnlink")] - public Input? ForceUnlink { get; set; } - - [Input("requestId")] - public Input? RequestId { get; set; } - - /// - /// The state of the attachment of the volume (`attaching` | `detaching` | `attached` | `detached`). - /// - [Input("state")] - public Input? State { get; set; } - - /// - /// The ID of the VM you want to attach the volume to. - /// - [Input("vmId")] - public Input? VmId { get; set; } - - /// - /// The ID of the volume you want to attach. - /// - [Input("volumeId")] - public Input? VolumeId { get; set; } - - public VolumesLinkState() - { - } - public static new VolumesLinkState Empty => new VolumesLinkState(); - } -} diff --git a/sdk/dotnet/VpnConnection.cs b/sdk/dotnet/VpnConnection.cs deleted file mode 100644 index e4bf66c..0000000 --- a/sdk/dotnet/VpnConnection.cs +++ /dev/null @@ -1,322 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages a VPN connection. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPN-Connections.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-vpnconnection). - /// - /// ## Example Usage - /// ### Required resources - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var clientGateway01 = new Outscale.ClientGateway("clientGateway01", new() - /// { - /// BgpAsn = 65000, - /// ConnectionType = "ipsec.1", - /// PublicIp = "111.11.11.111", - /// }); - /// - /// var virtualGateway01 = new Outscale.VirtualGateway("virtualGateway01", new() - /// { - /// ConnectionType = "ipsec.1", - /// }); - /// - /// }); - /// ``` - /// ### Create a VPN connection - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var vpnConnection01 = new Outscale.VpnConnection("vpnConnection01", new() - /// { - /// ClientGatewayId = outscale_client_gateway.Client_gateway01.Client_gateway_id, - /// VirtualGatewayId = outscale_virtual_gateway.Virtual_gateway01.Virtual_gateway_id, - /// ConnectionType = "ipsec.1", - /// StaticRoutesOnly = true, - /// Tags = new[] - /// { - /// new Outscale.Inputs.VpnConnectionTagArgs - /// { - /// Key = "Name", - /// Value = "vpn01", - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// - /// ## Import - /// - /// A VPN connection can be imported using its ID. For exampleconsole - /// - /// ```sh - /// $ pulumi import outscale:index/vpnConnection:VpnConnection ImportedVPN vpn-12345678 - /// ``` - /// - [OutscaleResourceType("outscale:index/vpnConnection:VpnConnection")] - public partial class VpnConnection : global::Pulumi.CustomResource - { - /// - /// Example configuration for the client gateway. - /// - [Output("clientGatewayConfiguration")] - public Output ClientGatewayConfiguration { get; private set; } = null!; - - /// - /// The ID of the client gateway. - /// - [Output("clientGatewayId")] - public Output ClientGatewayId { get; private set; } = null!; - - /// - /// The type of VPN connection (only `ipsec.1` is supported). - /// - [Output("connectionType")] - public Output ConnectionType { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - /// - /// Information about one or more static routes associated with the VPN connection, if any. - /// - [Output("routes")] - public Output> Routes { get; private set; } = null!; - - /// - /// The state of the IPSEC tunnel (`UP` \| `DOWN`). - /// - [Output("state")] - public Output State { get; private set; } = null!; - - /// - /// If false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see [CreateVpnConnectionRoute](https://docs.outscale.com/api#createvpnconnectionroute) and [DeleteVpnConnectionRoute](https://docs.outscale.com/api#deletevpnconnectionroute). - /// - [Output("staticRoutesOnly")] - public Output StaticRoutesOnly { get; private set; } = null!; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - [Output("tags")] - public Output> Tags { get; private set; } = null!; - - /// - /// Information about the current state of one or more of the VPN tunnels. - /// - [Output("vgwTelemetries")] - public Output> VgwTelemetries { get; private set; } = null!; - - /// - /// The ID of the virtual gateway. - /// - [Output("virtualGatewayId")] - public Output VirtualGatewayId { get; private set; } = null!; - - /// - /// The ID of the VPN connection. - /// - [Output("vpnConnectionId")] - public Output VpnConnectionId { get; private set; } = null!; - - - /// - /// Create a VpnConnection resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public VpnConnection(string name, VpnConnectionArgs args, CustomResourceOptions? options = null) - : base("outscale:index/vpnConnection:VpnConnection", name, args ?? new VpnConnectionArgs(), MakeResourceOptions(options, "")) - { - } - - private VpnConnection(string name, Input id, VpnConnectionState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/vpnConnection:VpnConnection", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing VpnConnection resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static VpnConnection Get(string name, Input id, VpnConnectionState? state = null, CustomResourceOptions? options = null) - { - return new VpnConnection(name, id, state, options); - } - } - - public sealed class VpnConnectionArgs : global::Pulumi.ResourceArgs - { - /// - /// The ID of the client gateway. - /// - [Input("clientGatewayId", required: true)] - public Input ClientGatewayId { get; set; } = null!; - - /// - /// The type of VPN connection (only `ipsec.1` is supported). - /// - [Input("connectionType", required: true)] - public Input ConnectionType { get; set; } = null!; - - /// - /// If false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see [CreateVpnConnectionRoute](https://docs.outscale.com/api#createvpnconnectionroute) and [DeleteVpnConnectionRoute](https://docs.outscale.com/api#deletevpnconnectionroute). - /// - [Input("staticRoutesOnly")] - public Input? StaticRoutesOnly { get; set; } - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - /// - /// The ID of the virtual gateway. - /// - [Input("virtualGatewayId", required: true)] - public Input VirtualGatewayId { get; set; } = null!; - - public VpnConnectionArgs() - { - } - public static new VpnConnectionArgs Empty => new VpnConnectionArgs(); - } - - public sealed class VpnConnectionState : global::Pulumi.ResourceArgs - { - /// - /// Example configuration for the client gateway. - /// - [Input("clientGatewayConfiguration")] - public Input? ClientGatewayConfiguration { get; set; } - - /// - /// The ID of the client gateway. - /// - [Input("clientGatewayId")] - public Input? ClientGatewayId { get; set; } - - /// - /// The type of VPN connection (only `ipsec.1` is supported). - /// - [Input("connectionType")] - public Input? ConnectionType { get; set; } - - [Input("requestId")] - public Input? RequestId { get; set; } - - [Input("routes")] - private InputList? _routes; - - /// - /// Information about one or more static routes associated with the VPN connection, if any. - /// - public InputList Routes - { - get => _routes ?? (_routes = new InputList()); - set => _routes = value; - } - - /// - /// The state of the IPSEC tunnel (`UP` \| `DOWN`). - /// - [Input("state")] - public Input? State { get; set; } - - /// - /// If false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see [CreateVpnConnectionRoute](https://docs.outscale.com/api#createvpnconnectionroute) and [DeleteVpnConnectionRoute](https://docs.outscale.com/api#deletevpnconnectionroute). - /// - [Input("staticRoutesOnly")] - public Input? StaticRoutesOnly { get; set; } - - [Input("tags")] - private InputList? _tags; - - /// - /// A tag to add to this resource. You can specify this argument several times. - /// - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - [Input("vgwTelemetries")] - private InputList? _vgwTelemetries; - - /// - /// Information about the current state of one or more of the VPN tunnels. - /// - public InputList VgwTelemetries - { - get => _vgwTelemetries ?? (_vgwTelemetries = new InputList()); - set => _vgwTelemetries = value; - } - - /// - /// The ID of the virtual gateway. - /// - [Input("virtualGatewayId")] - public Input? VirtualGatewayId { get; set; } - - /// - /// The ID of the VPN connection. - /// - [Input("vpnConnectionId")] - public Input? VpnConnectionId { get; set; } - - public VpnConnectionState() - { - } - public static new VpnConnectionState Empty => new VpnConnectionState(); - } -} diff --git a/sdk/dotnet/VpnConnectionRoute.cs b/sdk/dotnet/VpnConnectionRoute.cs deleted file mode 100644 index fde7d33..0000000 --- a/sdk/dotnet/VpnConnectionRoute.cs +++ /dev/null @@ -1,182 +0,0 @@ -// *** 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.Outscale -{ - /// - /// Manages a VPN connection route. - /// - /// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Routing-Configuration-for-VPN-Connections.html).\ - /// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-vpnconnection). - /// - /// ## Example Usage - /// ### Required resources - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var clientGateway01 = new Outscale.ClientGateway("clientGateway01", new() - /// { - /// BgpAsn = 65000, - /// PublicIp = "111.11.11.111", - /// ConnectionType = "ipsec.1", - /// }); - /// - /// var virtualGateway01 = new Outscale.VirtualGateway("virtualGateway01", new() - /// { - /// ConnectionType = "ipsec.1", - /// }); - /// - /// var vpnConnection01 = new Outscale.VpnConnection("vpnConnection01", new() - /// { - /// ClientGatewayId = clientGateway01.ClientGatewayId, - /// VirtualGatewayId = virtualGateway01.VirtualGatewayId, - /// ConnectionType = "ipsec.1", - /// StaticRoutesOnly = true, - /// }); - /// - /// }); - /// ``` - /// ### Create a static route to a VPN connection - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Outscale = Pulumi.Outscale; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var vpnConnectionRoute01 = new Outscale.VpnConnectionRoute("vpnConnectionRoute01", new() - /// { - /// VpnConnectionId = outscale_vpn_connection.Vpn_connection01.Vpn_connection_id, - /// DestinationIpRange = "10.0.0.0/16", - /// }); - /// - /// }); - /// ``` - /// - /// ## Import - /// - /// A VPN connection route can be imported using the VPN connection ID and the route destination IP range. For exampleconsole - /// - /// ```sh - /// $ pulumi import outscale:index/vpnConnectionRoute:VpnConnectionRoute ImportedRoute vpn-12345678_10.0.0.0/0 - /// ``` - /// - [OutscaleResourceType("outscale:index/vpnConnectionRoute:VpnConnectionRoute")] - public partial class VpnConnectionRoute : global::Pulumi.CustomResource - { - /// - /// The network prefix of the route, in CIDR notation (for example, `10.12.0.0/16`). - /// - [Output("destinationIpRange")] - public Output DestinationIpRange { get; private set; } = null!; - - [Output("requestId")] - public Output RequestId { get; private set; } = null!; - - /// - /// The ID of the target VPN connection of the static route. - /// - [Output("vpnConnectionId")] - public Output VpnConnectionId { get; private set; } = null!; - - - /// - /// Create a VpnConnectionRoute resource with the given unique name, arguments, and options. - /// - /// - /// The unique name of the resource - /// The arguments used to populate this resource's properties - /// A bag of options that control this resource's behavior - public VpnConnectionRoute(string name, VpnConnectionRouteArgs args, CustomResourceOptions? options = null) - : base("outscale:index/vpnConnectionRoute:VpnConnectionRoute", name, args ?? new VpnConnectionRouteArgs(), MakeResourceOptions(options, "")) - { - } - - private VpnConnectionRoute(string name, Input id, VpnConnectionRouteState? state = null, CustomResourceOptions? options = null) - : base("outscale:index/vpnConnectionRoute:VpnConnectionRoute", name, state, MakeResourceOptions(options, id)) - { - } - - private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? 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; - } - /// - /// Get an existing VpnConnectionRoute resource's state with the given name, ID, and optional extra - /// properties used to qualify the lookup. - /// - /// - /// The unique name of the resulting resource. - /// The unique provider ID of the resource to lookup. - /// Any extra arguments used during the lookup. - /// A bag of options that control this resource's behavior - public static VpnConnectionRoute Get(string name, Input id, VpnConnectionRouteState? state = null, CustomResourceOptions? options = null) - { - return new VpnConnectionRoute(name, id, state, options); - } - } - - public sealed class VpnConnectionRouteArgs : global::Pulumi.ResourceArgs - { - /// - /// The network prefix of the route, in CIDR notation (for example, `10.12.0.0/16`). - /// - [Input("destinationIpRange", required: true)] - public Input DestinationIpRange { get; set; } = null!; - - /// - /// The ID of the target VPN connection of the static route. - /// - [Input("vpnConnectionId", required: true)] - public Input VpnConnectionId { get; set; } = null!; - - public VpnConnectionRouteArgs() - { - } - public static new VpnConnectionRouteArgs Empty => new VpnConnectionRouteArgs(); - } - - public sealed class VpnConnectionRouteState : global::Pulumi.ResourceArgs - { - /// - /// The network prefix of the route, in CIDR notation (for example, `10.12.0.0/16`). - /// - [Input("destinationIpRange")] - public Input? DestinationIpRange { get; set; } - - [Input("requestId")] - public Input? RequestId { get; set; } - - /// - /// The ID of the target VPN connection of the static route. - /// - [Input("vpnConnectionId")] - public Input? VpnConnectionId { get; set; } - - public VpnConnectionRouteState() - { - } - public static new VpnConnectionRouteState Empty => new VpnConnectionRouteState(); - } -} diff --git a/sdk/dotnet/logo.png b/sdk/dotnet/logo.png deleted file mode 100644 index 181f421..0000000 Binary files a/sdk/dotnet/logo.png and /dev/null differ diff --git a/sdk/dotnet/pulumi-plugin.json b/sdk/dotnet/pulumi-plugin.json deleted file mode 100644 index 9ba7c52..0000000 --- a/sdk/dotnet/pulumi-plugin.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "resource": true, - "name": "outscale" -} diff --git a/sdk/go/Pulumi.yaml b/sdk/go/Pulumi.yaml deleted file mode 100644 index e69de29..0000000 diff --git a/sdk/go/outscale/accessKey.go b/sdk/go/outscale/accessKey.go deleted file mode 100644 index f458d5f..0000000 --- a/sdk/go/outscale/accessKey.go +++ /dev/null @@ -1,316 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewAccessKey(ctx, "accessKey01", &outscale.AccessKeyArgs{ -// ExpirationDate: pulumi.String("2023-01-01"), -// State: pulumi.String("ACTIVE"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// An access key can be imported using its ID. For exampleconsole -// -// ```sh -// -// $ pulumi import outscale:index/accessKey:AccessKey ImportedAccessKey ABCDEFGHIJ0123456789 -// -// ``` -type AccessKey struct { - pulumi.CustomResourceState - - // The ID of the access key. - AccessKeyId pulumi.StringOutput `pulumi:"accessKeyId"` - // The date and time (UTC) of creation of the access key. - CreationDate pulumi.StringOutput `pulumi:"creationDate"` - // The date and time, or the date, at which you want the access key to expire, in ISO 8601 format (for example, `2020-06-14T00:00:00.000Z`, or `2020-06-14`). To remove an existing expiration date, use the method without specifying this parameter. - ExpirationDate pulumi.StringPtrOutput `pulumi:"expirationDate"` - // The date and time (UTC) of the last modification of the access key. - LastModificationDate pulumi.StringOutput `pulumi:"lastModificationDate"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - // The access key that enables you to send requests. - SecretKey pulumi.StringOutput `pulumi:"secretKey"` - // The state for the access key (`ACTIVE` | `INACTIVE`). - State pulumi.StringPtrOutput `pulumi:"state"` -} - -// NewAccessKey registers a new resource with the given unique name, arguments, and options. -func NewAccessKey(ctx *pulumi.Context, - name string, args *AccessKeyArgs, opts ...pulumi.ResourceOption) (*AccessKey, error) { - if args == nil { - args = &AccessKeyArgs{} - } - - opts = internal.PkgResourceDefaultOpts(opts) - var resource AccessKey - err := ctx.RegisterResource("outscale:index/accessKey:AccessKey", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetAccessKey gets an existing AccessKey resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetAccessKey(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *AccessKeyState, opts ...pulumi.ResourceOption) (*AccessKey, error) { - var resource AccessKey - err := ctx.ReadResource("outscale:index/accessKey:AccessKey", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering AccessKey resources. -type accessKeyState struct { - // The ID of the access key. - AccessKeyId *string `pulumi:"accessKeyId"` - // The date and time (UTC) of creation of the access key. - CreationDate *string `pulumi:"creationDate"` - // The date and time, or the date, at which you want the access key to expire, in ISO 8601 format (for example, `2020-06-14T00:00:00.000Z`, or `2020-06-14`). To remove an existing expiration date, use the method without specifying this parameter. - ExpirationDate *string `pulumi:"expirationDate"` - // The date and time (UTC) of the last modification of the access key. - LastModificationDate *string `pulumi:"lastModificationDate"` - RequestId *string `pulumi:"requestId"` - // The access key that enables you to send requests. - SecretKey *string `pulumi:"secretKey"` - // The state for the access key (`ACTIVE` | `INACTIVE`). - State *string `pulumi:"state"` -} - -type AccessKeyState struct { - // The ID of the access key. - AccessKeyId pulumi.StringPtrInput - // The date and time (UTC) of creation of the access key. - CreationDate pulumi.StringPtrInput - // The date and time, or the date, at which you want the access key to expire, in ISO 8601 format (for example, `2020-06-14T00:00:00.000Z`, or `2020-06-14`). To remove an existing expiration date, use the method without specifying this parameter. - ExpirationDate pulumi.StringPtrInput - // The date and time (UTC) of the last modification of the access key. - LastModificationDate pulumi.StringPtrInput - RequestId pulumi.StringPtrInput - // The access key that enables you to send requests. - SecretKey pulumi.StringPtrInput - // The state for the access key (`ACTIVE` | `INACTIVE`). - State pulumi.StringPtrInput -} - -func (AccessKeyState) ElementType() reflect.Type { - return reflect.TypeOf((*accessKeyState)(nil)).Elem() -} - -type accessKeyArgs struct { - // The date and time, or the date, at which you want the access key to expire, in ISO 8601 format (for example, `2020-06-14T00:00:00.000Z`, or `2020-06-14`). To remove an existing expiration date, use the method without specifying this parameter. - ExpirationDate *string `pulumi:"expirationDate"` - // The state for the access key (`ACTIVE` | `INACTIVE`). - State *string `pulumi:"state"` -} - -// The set of arguments for constructing a AccessKey resource. -type AccessKeyArgs struct { - // The date and time, or the date, at which you want the access key to expire, in ISO 8601 format (for example, `2020-06-14T00:00:00.000Z`, or `2020-06-14`). To remove an existing expiration date, use the method without specifying this parameter. - ExpirationDate pulumi.StringPtrInput - // The state for the access key (`ACTIVE` | `INACTIVE`). - State pulumi.StringPtrInput -} - -func (AccessKeyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*accessKeyArgs)(nil)).Elem() -} - -type AccessKeyInput interface { - pulumi.Input - - ToAccessKeyOutput() AccessKeyOutput - ToAccessKeyOutputWithContext(ctx context.Context) AccessKeyOutput -} - -func (*AccessKey) ElementType() reflect.Type { - return reflect.TypeOf((**AccessKey)(nil)).Elem() -} - -func (i *AccessKey) ToAccessKeyOutput() AccessKeyOutput { - return i.ToAccessKeyOutputWithContext(context.Background()) -} - -func (i *AccessKey) ToAccessKeyOutputWithContext(ctx context.Context) AccessKeyOutput { - return pulumi.ToOutputWithContext(ctx, i).(AccessKeyOutput) -} - -// AccessKeyArrayInput is an input type that accepts AccessKeyArray and AccessKeyArrayOutput values. -// You can construct a concrete instance of `AccessKeyArrayInput` via: -// -// AccessKeyArray{ AccessKeyArgs{...} } -type AccessKeyArrayInput interface { - pulumi.Input - - ToAccessKeyArrayOutput() AccessKeyArrayOutput - ToAccessKeyArrayOutputWithContext(context.Context) AccessKeyArrayOutput -} - -type AccessKeyArray []AccessKeyInput - -func (AccessKeyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*AccessKey)(nil)).Elem() -} - -func (i AccessKeyArray) ToAccessKeyArrayOutput() AccessKeyArrayOutput { - return i.ToAccessKeyArrayOutputWithContext(context.Background()) -} - -func (i AccessKeyArray) ToAccessKeyArrayOutputWithContext(ctx context.Context) AccessKeyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(AccessKeyArrayOutput) -} - -// AccessKeyMapInput is an input type that accepts AccessKeyMap and AccessKeyMapOutput values. -// You can construct a concrete instance of `AccessKeyMapInput` via: -// -// AccessKeyMap{ "key": AccessKeyArgs{...} } -type AccessKeyMapInput interface { - pulumi.Input - - ToAccessKeyMapOutput() AccessKeyMapOutput - ToAccessKeyMapOutputWithContext(context.Context) AccessKeyMapOutput -} - -type AccessKeyMap map[string]AccessKeyInput - -func (AccessKeyMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*AccessKey)(nil)).Elem() -} - -func (i AccessKeyMap) ToAccessKeyMapOutput() AccessKeyMapOutput { - return i.ToAccessKeyMapOutputWithContext(context.Background()) -} - -func (i AccessKeyMap) ToAccessKeyMapOutputWithContext(ctx context.Context) AccessKeyMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(AccessKeyMapOutput) -} - -type AccessKeyOutput struct{ *pulumi.OutputState } - -func (AccessKeyOutput) ElementType() reflect.Type { - return reflect.TypeOf((**AccessKey)(nil)).Elem() -} - -func (o AccessKeyOutput) ToAccessKeyOutput() AccessKeyOutput { - return o -} - -func (o AccessKeyOutput) ToAccessKeyOutputWithContext(ctx context.Context) AccessKeyOutput { - return o -} - -// The ID of the access key. -func (o AccessKeyOutput) AccessKeyId() pulumi.StringOutput { - return o.ApplyT(func(v *AccessKey) pulumi.StringOutput { return v.AccessKeyId }).(pulumi.StringOutput) -} - -// The date and time (UTC) of creation of the access key. -func (o AccessKeyOutput) CreationDate() pulumi.StringOutput { - return o.ApplyT(func(v *AccessKey) pulumi.StringOutput { return v.CreationDate }).(pulumi.StringOutput) -} - -// The date and time, or the date, at which you want the access key to expire, in ISO 8601 format (for example, `2020-06-14T00:00:00.000Z`, or `2020-06-14`). To remove an existing expiration date, use the method without specifying this parameter. -func (o AccessKeyOutput) ExpirationDate() pulumi.StringPtrOutput { - return o.ApplyT(func(v *AccessKey) pulumi.StringPtrOutput { return v.ExpirationDate }).(pulumi.StringPtrOutput) -} - -// The date and time (UTC) of the last modification of the access key. -func (o AccessKeyOutput) LastModificationDate() pulumi.StringOutput { - return o.ApplyT(func(v *AccessKey) pulumi.StringOutput { return v.LastModificationDate }).(pulumi.StringOutput) -} - -func (o AccessKeyOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *AccessKey) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -// The access key that enables you to send requests. -func (o AccessKeyOutput) SecretKey() pulumi.StringOutput { - return o.ApplyT(func(v *AccessKey) pulumi.StringOutput { return v.SecretKey }).(pulumi.StringOutput) -} - -// The state for the access key (`ACTIVE` | `INACTIVE`). -func (o AccessKeyOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v *AccessKey) pulumi.StringPtrOutput { return v.State }).(pulumi.StringPtrOutput) -} - -type AccessKeyArrayOutput struct{ *pulumi.OutputState } - -func (AccessKeyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*AccessKey)(nil)).Elem() -} - -func (o AccessKeyArrayOutput) ToAccessKeyArrayOutput() AccessKeyArrayOutput { - return o -} - -func (o AccessKeyArrayOutput) ToAccessKeyArrayOutputWithContext(ctx context.Context) AccessKeyArrayOutput { - return o -} - -func (o AccessKeyArrayOutput) Index(i pulumi.IntInput) AccessKeyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AccessKey { - return vs[0].([]*AccessKey)[vs[1].(int)] - }).(AccessKeyOutput) -} - -type AccessKeyMapOutput struct{ *pulumi.OutputState } - -func (AccessKeyMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*AccessKey)(nil)).Elem() -} - -func (o AccessKeyMapOutput) ToAccessKeyMapOutput() AccessKeyMapOutput { - return o -} - -func (o AccessKeyMapOutput) ToAccessKeyMapOutputWithContext(ctx context.Context) AccessKeyMapOutput { - return o -} - -func (o AccessKeyMapOutput) MapIndex(k pulumi.StringInput) AccessKeyOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AccessKey { - return vs[0].(map[string]*AccessKey)[vs[1].(string)] - }).(AccessKeyOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*AccessKeyInput)(nil)).Elem(), &AccessKey{}) - pulumi.RegisterInputType(reflect.TypeOf((*AccessKeyArrayInput)(nil)).Elem(), AccessKeyArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*AccessKeyMapInput)(nil)).Elem(), AccessKeyMap{}) - pulumi.RegisterOutputType(AccessKeyOutput{}) - pulumi.RegisterOutputType(AccessKeyArrayOutput{}) - pulumi.RegisterOutputType(AccessKeyMapOutput{}) -} diff --git a/sdk/go/outscale/apiAccessPolicy.go b/sdk/go/outscale/apiAccessPolicy.go deleted file mode 100644 index af88ca5..0000000 --- a/sdk/go/outscale/apiAccessPolicy.go +++ /dev/null @@ -1,331 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "errors" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages the API access policy. -// -// To activate a trusted session, first you must: -// * Set expiration dates to all your access keys. -// * Specify a Certificate Authority (CA) in all your API access rules. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Your-API-Access-Policy.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-apiaccesspolicy). -// -// ## Example Usage -// ### Require expiration dates for your access keys -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewApiAccessPolicy(ctx, "unique", &outscale.ApiAccessPolicyArgs{ -// MaxAccessKeyExpirationSeconds: pulumi.Int(31536000), -// RequireTrustedEnv: pulumi.Bool(false), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Activate a trusted session -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewApiAccessPolicy(ctx, "unique", &outscale.ApiAccessPolicyArgs{ -// MaxAccessKeyExpirationSeconds: pulumi.Int(3153600000), -// RequireTrustedEnv: pulumi.Bool(true), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Deactivate a trusted session -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewApiAccessPolicy(ctx, "unique", &outscale.ApiAccessPolicyArgs{ -// MaxAccessKeyExpirationSeconds: pulumi.Int(0), -// RequireTrustedEnv: pulumi.Bool(false), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -type ApiAccessPolicy struct { - pulumi.CustomResourceState - - // The maximum possible lifetime for your access keys, in seconds (between `0` and `3153600000`, both included). If set to `O`, your access keys can have unlimited lifetimes, but a trusted session cannot be activated. Otherwise, all your access keys must have an expiration date. This value must be greater than the remaining lifetime of each access key of your account. - MaxAccessKeyExpirationSeconds pulumi.IntOutput `pulumi:"maxAccessKeyExpirationSeconds"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - // If true, a trusted session is activated, provided that you specify the `maxAccessKeyExpirationSeconds` parameter with a value greater than `0`. - RequireTrustedEnv pulumi.BoolOutput `pulumi:"requireTrustedEnv"` -} - -// NewApiAccessPolicy registers a new resource with the given unique name, arguments, and options. -func NewApiAccessPolicy(ctx *pulumi.Context, - name string, args *ApiAccessPolicyArgs, opts ...pulumi.ResourceOption) (*ApiAccessPolicy, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.MaxAccessKeyExpirationSeconds == nil { - return nil, errors.New("invalid value for required argument 'MaxAccessKeyExpirationSeconds'") - } - if args.RequireTrustedEnv == nil { - return nil, errors.New("invalid value for required argument 'RequireTrustedEnv'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource ApiAccessPolicy - err := ctx.RegisterResource("outscale:index/apiAccessPolicy:ApiAccessPolicy", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetApiAccessPolicy gets an existing ApiAccessPolicy resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetApiAccessPolicy(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *ApiAccessPolicyState, opts ...pulumi.ResourceOption) (*ApiAccessPolicy, error) { - var resource ApiAccessPolicy - err := ctx.ReadResource("outscale:index/apiAccessPolicy:ApiAccessPolicy", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering ApiAccessPolicy resources. -type apiAccessPolicyState struct { - // The maximum possible lifetime for your access keys, in seconds (between `0` and `3153600000`, both included). If set to `O`, your access keys can have unlimited lifetimes, but a trusted session cannot be activated. Otherwise, all your access keys must have an expiration date. This value must be greater than the remaining lifetime of each access key of your account. - MaxAccessKeyExpirationSeconds *int `pulumi:"maxAccessKeyExpirationSeconds"` - RequestId *string `pulumi:"requestId"` - // If true, a trusted session is activated, provided that you specify the `maxAccessKeyExpirationSeconds` parameter with a value greater than `0`. - RequireTrustedEnv *bool `pulumi:"requireTrustedEnv"` -} - -type ApiAccessPolicyState struct { - // The maximum possible lifetime for your access keys, in seconds (between `0` and `3153600000`, both included). If set to `O`, your access keys can have unlimited lifetimes, but a trusted session cannot be activated. Otherwise, all your access keys must have an expiration date. This value must be greater than the remaining lifetime of each access key of your account. - MaxAccessKeyExpirationSeconds pulumi.IntPtrInput - RequestId pulumi.StringPtrInput - // If true, a trusted session is activated, provided that you specify the `maxAccessKeyExpirationSeconds` parameter with a value greater than `0`. - RequireTrustedEnv pulumi.BoolPtrInput -} - -func (ApiAccessPolicyState) ElementType() reflect.Type { - return reflect.TypeOf((*apiAccessPolicyState)(nil)).Elem() -} - -type apiAccessPolicyArgs struct { - // The maximum possible lifetime for your access keys, in seconds (between `0` and `3153600000`, both included). If set to `O`, your access keys can have unlimited lifetimes, but a trusted session cannot be activated. Otherwise, all your access keys must have an expiration date. This value must be greater than the remaining lifetime of each access key of your account. - MaxAccessKeyExpirationSeconds int `pulumi:"maxAccessKeyExpirationSeconds"` - // If true, a trusted session is activated, provided that you specify the `maxAccessKeyExpirationSeconds` parameter with a value greater than `0`. - RequireTrustedEnv bool `pulumi:"requireTrustedEnv"` -} - -// The set of arguments for constructing a ApiAccessPolicy resource. -type ApiAccessPolicyArgs struct { - // The maximum possible lifetime for your access keys, in seconds (between `0` and `3153600000`, both included). If set to `O`, your access keys can have unlimited lifetimes, but a trusted session cannot be activated. Otherwise, all your access keys must have an expiration date. This value must be greater than the remaining lifetime of each access key of your account. - MaxAccessKeyExpirationSeconds pulumi.IntInput - // If true, a trusted session is activated, provided that you specify the `maxAccessKeyExpirationSeconds` parameter with a value greater than `0`. - RequireTrustedEnv pulumi.BoolInput -} - -func (ApiAccessPolicyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*apiAccessPolicyArgs)(nil)).Elem() -} - -type ApiAccessPolicyInput interface { - pulumi.Input - - ToApiAccessPolicyOutput() ApiAccessPolicyOutput - ToApiAccessPolicyOutputWithContext(ctx context.Context) ApiAccessPolicyOutput -} - -func (*ApiAccessPolicy) ElementType() reflect.Type { - return reflect.TypeOf((**ApiAccessPolicy)(nil)).Elem() -} - -func (i *ApiAccessPolicy) ToApiAccessPolicyOutput() ApiAccessPolicyOutput { - return i.ToApiAccessPolicyOutputWithContext(context.Background()) -} - -func (i *ApiAccessPolicy) ToApiAccessPolicyOutputWithContext(ctx context.Context) ApiAccessPolicyOutput { - return pulumi.ToOutputWithContext(ctx, i).(ApiAccessPolicyOutput) -} - -// ApiAccessPolicyArrayInput is an input type that accepts ApiAccessPolicyArray and ApiAccessPolicyArrayOutput values. -// You can construct a concrete instance of `ApiAccessPolicyArrayInput` via: -// -// ApiAccessPolicyArray{ ApiAccessPolicyArgs{...} } -type ApiAccessPolicyArrayInput interface { - pulumi.Input - - ToApiAccessPolicyArrayOutput() ApiAccessPolicyArrayOutput - ToApiAccessPolicyArrayOutputWithContext(context.Context) ApiAccessPolicyArrayOutput -} - -type ApiAccessPolicyArray []ApiAccessPolicyInput - -func (ApiAccessPolicyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*ApiAccessPolicy)(nil)).Elem() -} - -func (i ApiAccessPolicyArray) ToApiAccessPolicyArrayOutput() ApiAccessPolicyArrayOutput { - return i.ToApiAccessPolicyArrayOutputWithContext(context.Background()) -} - -func (i ApiAccessPolicyArray) ToApiAccessPolicyArrayOutputWithContext(ctx context.Context) ApiAccessPolicyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ApiAccessPolicyArrayOutput) -} - -// ApiAccessPolicyMapInput is an input type that accepts ApiAccessPolicyMap and ApiAccessPolicyMapOutput values. -// You can construct a concrete instance of `ApiAccessPolicyMapInput` via: -// -// ApiAccessPolicyMap{ "key": ApiAccessPolicyArgs{...} } -type ApiAccessPolicyMapInput interface { - pulumi.Input - - ToApiAccessPolicyMapOutput() ApiAccessPolicyMapOutput - ToApiAccessPolicyMapOutputWithContext(context.Context) ApiAccessPolicyMapOutput -} - -type ApiAccessPolicyMap map[string]ApiAccessPolicyInput - -func (ApiAccessPolicyMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*ApiAccessPolicy)(nil)).Elem() -} - -func (i ApiAccessPolicyMap) ToApiAccessPolicyMapOutput() ApiAccessPolicyMapOutput { - return i.ToApiAccessPolicyMapOutputWithContext(context.Background()) -} - -func (i ApiAccessPolicyMap) ToApiAccessPolicyMapOutputWithContext(ctx context.Context) ApiAccessPolicyMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(ApiAccessPolicyMapOutput) -} - -type ApiAccessPolicyOutput struct{ *pulumi.OutputState } - -func (ApiAccessPolicyOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ApiAccessPolicy)(nil)).Elem() -} - -func (o ApiAccessPolicyOutput) ToApiAccessPolicyOutput() ApiAccessPolicyOutput { - return o -} - -func (o ApiAccessPolicyOutput) ToApiAccessPolicyOutputWithContext(ctx context.Context) ApiAccessPolicyOutput { - return o -} - -// The maximum possible lifetime for your access keys, in seconds (between `0` and `3153600000`, both included). If set to `O`, your access keys can have unlimited lifetimes, but a trusted session cannot be activated. Otherwise, all your access keys must have an expiration date. This value must be greater than the remaining lifetime of each access key of your account. -func (o ApiAccessPolicyOutput) MaxAccessKeyExpirationSeconds() pulumi.IntOutput { - return o.ApplyT(func(v *ApiAccessPolicy) pulumi.IntOutput { return v.MaxAccessKeyExpirationSeconds }).(pulumi.IntOutput) -} - -func (o ApiAccessPolicyOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *ApiAccessPolicy) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -// If true, a trusted session is activated, provided that you specify the `maxAccessKeyExpirationSeconds` parameter with a value greater than `0`. -func (o ApiAccessPolicyOutput) RequireTrustedEnv() pulumi.BoolOutput { - return o.ApplyT(func(v *ApiAccessPolicy) pulumi.BoolOutput { return v.RequireTrustedEnv }).(pulumi.BoolOutput) -} - -type ApiAccessPolicyArrayOutput struct{ *pulumi.OutputState } - -func (ApiAccessPolicyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*ApiAccessPolicy)(nil)).Elem() -} - -func (o ApiAccessPolicyArrayOutput) ToApiAccessPolicyArrayOutput() ApiAccessPolicyArrayOutput { - return o -} - -func (o ApiAccessPolicyArrayOutput) ToApiAccessPolicyArrayOutputWithContext(ctx context.Context) ApiAccessPolicyArrayOutput { - return o -} - -func (o ApiAccessPolicyArrayOutput) Index(i pulumi.IntInput) ApiAccessPolicyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ApiAccessPolicy { - return vs[0].([]*ApiAccessPolicy)[vs[1].(int)] - }).(ApiAccessPolicyOutput) -} - -type ApiAccessPolicyMapOutput struct{ *pulumi.OutputState } - -func (ApiAccessPolicyMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*ApiAccessPolicy)(nil)).Elem() -} - -func (o ApiAccessPolicyMapOutput) ToApiAccessPolicyMapOutput() ApiAccessPolicyMapOutput { - return o -} - -func (o ApiAccessPolicyMapOutput) ToApiAccessPolicyMapOutputWithContext(ctx context.Context) ApiAccessPolicyMapOutput { - return o -} - -func (o ApiAccessPolicyMapOutput) MapIndex(k pulumi.StringInput) ApiAccessPolicyOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ApiAccessPolicy { - return vs[0].(map[string]*ApiAccessPolicy)[vs[1].(string)] - }).(ApiAccessPolicyOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*ApiAccessPolicyInput)(nil)).Elem(), &ApiAccessPolicy{}) - pulumi.RegisterInputType(reflect.TypeOf((*ApiAccessPolicyArrayInput)(nil)).Elem(), ApiAccessPolicyArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*ApiAccessPolicyMapInput)(nil)).Elem(), ApiAccessPolicyMap{}) - pulumi.RegisterOutputType(ApiAccessPolicyOutput{}) - pulumi.RegisterOutputType(ApiAccessPolicyArrayOutput{}) - pulumi.RegisterOutputType(ApiAccessPolicyMapOutput{}) -} diff --git a/sdk/go/outscale/apiAccessRule.go b/sdk/go/outscale/apiAccessRule.go deleted file mode 100644 index d6ec30a..0000000 --- a/sdk/go/outscale/apiAccessRule.go +++ /dev/null @@ -1,371 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages an API access rule. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-API-Access-Rules.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-apiaccessrule). -// -// ## Example Usage -// ### Create an API access rule based on IPs -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewApiAccessRule(ctx, "apiAccessRule01", &outscale.ApiAccessRuleArgs{ -// Description: pulumi.String("Basic API Access Rule from Terraform"), -// IpRanges: pulumi.StringArray{ -// pulumi.String("192.0.2.0"), -// pulumi.String("192.0.2.0/16"), -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Create an API access rule based on IPs and Certificate Authority (CA) -// -// ```go -// package main -// -// import ( -// -// "os" -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func readFileOrPanic(path string) pulumi.StringPtrInput { -// data, err := os.ReadFile(path) -// if err != nil { -// panic(err.Error()) -// } -// return pulumi.String(string(data)) -// } -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// ca01, err := outscale.NewCa(ctx, "ca01", &outscale.CaArgs{ -// CaPem: readFileOrPanic(""), -// Description: pulumi.String("Terraform CA"), -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewApiAccessRule(ctx, "apiAccessRule02", &outscale.ApiAccessRuleArgs{ -// IpRanges: pulumi.StringArray{ -// pulumi.String("192.0.2.0"), -// pulumi.String("192.0.2.0/16"), -// }, -// CaIds: pulumi.StringArray{ -// ca01.CaId, -// }, -// Description: pulumi.String("API Access Rule with CA from Terraform"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// An API access rule can be imported using its ID. For exampleconsole -// -// ```sh -// -// $ pulumi import outscale:index/apiAccessRule:ApiAccessRule ImportedAPIAccessRule "aar-12345678" -// -// ``` -type ApiAccessRule struct { - pulumi.CustomResourceState - - // The ID of the API access rule. - ApiAccessRuleId pulumi.StringOutput `pulumi:"apiAccessRuleId"` - // One or more IDs of Client Certificate Authorities (CAs). - CaIds pulumi.StringArrayOutput `pulumi:"caIds"` - // One or more Client Certificate Common Names (CNs). If this parameter is specified, you must also specify the `caIds` parameter. - Cns pulumi.StringArrayOutput `pulumi:"cns"` - // A description for the API access rule. - Description pulumi.StringPtrOutput `pulumi:"description"` - // One or more IP addresses or CIDR blocks (for example, `192.0.2.0/16`). - IpRanges pulumi.StringArrayOutput `pulumi:"ipRanges"` - RequestId pulumi.StringOutput `pulumi:"requestId"` -} - -// NewApiAccessRule registers a new resource with the given unique name, arguments, and options. -func NewApiAccessRule(ctx *pulumi.Context, - name string, args *ApiAccessRuleArgs, opts ...pulumi.ResourceOption) (*ApiAccessRule, error) { - if args == nil { - args = &ApiAccessRuleArgs{} - } - - opts = internal.PkgResourceDefaultOpts(opts) - var resource ApiAccessRule - err := ctx.RegisterResource("outscale:index/apiAccessRule:ApiAccessRule", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetApiAccessRule gets an existing ApiAccessRule resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetApiAccessRule(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *ApiAccessRuleState, opts ...pulumi.ResourceOption) (*ApiAccessRule, error) { - var resource ApiAccessRule - err := ctx.ReadResource("outscale:index/apiAccessRule:ApiAccessRule", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering ApiAccessRule resources. -type apiAccessRuleState struct { - // The ID of the API access rule. - ApiAccessRuleId *string `pulumi:"apiAccessRuleId"` - // One or more IDs of Client Certificate Authorities (CAs). - CaIds []string `pulumi:"caIds"` - // One or more Client Certificate Common Names (CNs). If this parameter is specified, you must also specify the `caIds` parameter. - Cns []string `pulumi:"cns"` - // A description for the API access rule. - Description *string `pulumi:"description"` - // One or more IP addresses or CIDR blocks (for example, `192.0.2.0/16`). - IpRanges []string `pulumi:"ipRanges"` - RequestId *string `pulumi:"requestId"` -} - -type ApiAccessRuleState struct { - // The ID of the API access rule. - ApiAccessRuleId pulumi.StringPtrInput - // One or more IDs of Client Certificate Authorities (CAs). - CaIds pulumi.StringArrayInput - // One or more Client Certificate Common Names (CNs). If this parameter is specified, you must also specify the `caIds` parameter. - Cns pulumi.StringArrayInput - // A description for the API access rule. - Description pulumi.StringPtrInput - // One or more IP addresses or CIDR blocks (for example, `192.0.2.0/16`). - IpRanges pulumi.StringArrayInput - RequestId pulumi.StringPtrInput -} - -func (ApiAccessRuleState) ElementType() reflect.Type { - return reflect.TypeOf((*apiAccessRuleState)(nil)).Elem() -} - -type apiAccessRuleArgs struct { - // One or more IDs of Client Certificate Authorities (CAs). - CaIds []string `pulumi:"caIds"` - // One or more Client Certificate Common Names (CNs). If this parameter is specified, you must also specify the `caIds` parameter. - Cns []string `pulumi:"cns"` - // A description for the API access rule. - Description *string `pulumi:"description"` - // One or more IP addresses or CIDR blocks (for example, `192.0.2.0/16`). - IpRanges []string `pulumi:"ipRanges"` -} - -// The set of arguments for constructing a ApiAccessRule resource. -type ApiAccessRuleArgs struct { - // One or more IDs of Client Certificate Authorities (CAs). - CaIds pulumi.StringArrayInput - // One or more Client Certificate Common Names (CNs). If this parameter is specified, you must also specify the `caIds` parameter. - Cns pulumi.StringArrayInput - // A description for the API access rule. - Description pulumi.StringPtrInput - // One or more IP addresses or CIDR blocks (for example, `192.0.2.0/16`). - IpRanges pulumi.StringArrayInput -} - -func (ApiAccessRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*apiAccessRuleArgs)(nil)).Elem() -} - -type ApiAccessRuleInput interface { - pulumi.Input - - ToApiAccessRuleOutput() ApiAccessRuleOutput - ToApiAccessRuleOutputWithContext(ctx context.Context) ApiAccessRuleOutput -} - -func (*ApiAccessRule) ElementType() reflect.Type { - return reflect.TypeOf((**ApiAccessRule)(nil)).Elem() -} - -func (i *ApiAccessRule) ToApiAccessRuleOutput() ApiAccessRuleOutput { - return i.ToApiAccessRuleOutputWithContext(context.Background()) -} - -func (i *ApiAccessRule) ToApiAccessRuleOutputWithContext(ctx context.Context) ApiAccessRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(ApiAccessRuleOutput) -} - -// ApiAccessRuleArrayInput is an input type that accepts ApiAccessRuleArray and ApiAccessRuleArrayOutput values. -// You can construct a concrete instance of `ApiAccessRuleArrayInput` via: -// -// ApiAccessRuleArray{ ApiAccessRuleArgs{...} } -type ApiAccessRuleArrayInput interface { - pulumi.Input - - ToApiAccessRuleArrayOutput() ApiAccessRuleArrayOutput - ToApiAccessRuleArrayOutputWithContext(context.Context) ApiAccessRuleArrayOutput -} - -type ApiAccessRuleArray []ApiAccessRuleInput - -func (ApiAccessRuleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*ApiAccessRule)(nil)).Elem() -} - -func (i ApiAccessRuleArray) ToApiAccessRuleArrayOutput() ApiAccessRuleArrayOutput { - return i.ToApiAccessRuleArrayOutputWithContext(context.Background()) -} - -func (i ApiAccessRuleArray) ToApiAccessRuleArrayOutputWithContext(ctx context.Context) ApiAccessRuleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ApiAccessRuleArrayOutput) -} - -// ApiAccessRuleMapInput is an input type that accepts ApiAccessRuleMap and ApiAccessRuleMapOutput values. -// You can construct a concrete instance of `ApiAccessRuleMapInput` via: -// -// ApiAccessRuleMap{ "key": ApiAccessRuleArgs{...} } -type ApiAccessRuleMapInput interface { - pulumi.Input - - ToApiAccessRuleMapOutput() ApiAccessRuleMapOutput - ToApiAccessRuleMapOutputWithContext(context.Context) ApiAccessRuleMapOutput -} - -type ApiAccessRuleMap map[string]ApiAccessRuleInput - -func (ApiAccessRuleMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*ApiAccessRule)(nil)).Elem() -} - -func (i ApiAccessRuleMap) ToApiAccessRuleMapOutput() ApiAccessRuleMapOutput { - return i.ToApiAccessRuleMapOutputWithContext(context.Background()) -} - -func (i ApiAccessRuleMap) ToApiAccessRuleMapOutputWithContext(ctx context.Context) ApiAccessRuleMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(ApiAccessRuleMapOutput) -} - -type ApiAccessRuleOutput struct{ *pulumi.OutputState } - -func (ApiAccessRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ApiAccessRule)(nil)).Elem() -} - -func (o ApiAccessRuleOutput) ToApiAccessRuleOutput() ApiAccessRuleOutput { - return o -} - -func (o ApiAccessRuleOutput) ToApiAccessRuleOutputWithContext(ctx context.Context) ApiAccessRuleOutput { - return o -} - -// The ID of the API access rule. -func (o ApiAccessRuleOutput) ApiAccessRuleId() pulumi.StringOutput { - return o.ApplyT(func(v *ApiAccessRule) pulumi.StringOutput { return v.ApiAccessRuleId }).(pulumi.StringOutput) -} - -// One or more IDs of Client Certificate Authorities (CAs). -func (o ApiAccessRuleOutput) CaIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ApiAccessRule) pulumi.StringArrayOutput { return v.CaIds }).(pulumi.StringArrayOutput) -} - -// One or more Client Certificate Common Names (CNs). If this parameter is specified, you must also specify the `caIds` parameter. -func (o ApiAccessRuleOutput) Cns() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ApiAccessRule) pulumi.StringArrayOutput { return v.Cns }).(pulumi.StringArrayOutput) -} - -// A description for the API access rule. -func (o ApiAccessRuleOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ApiAccessRule) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) -} - -// One or more IP addresses or CIDR blocks (for example, `192.0.2.0/16`). -func (o ApiAccessRuleOutput) IpRanges() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ApiAccessRule) pulumi.StringArrayOutput { return v.IpRanges }).(pulumi.StringArrayOutput) -} - -func (o ApiAccessRuleOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *ApiAccessRule) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -type ApiAccessRuleArrayOutput struct{ *pulumi.OutputState } - -func (ApiAccessRuleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*ApiAccessRule)(nil)).Elem() -} - -func (o ApiAccessRuleArrayOutput) ToApiAccessRuleArrayOutput() ApiAccessRuleArrayOutput { - return o -} - -func (o ApiAccessRuleArrayOutput) ToApiAccessRuleArrayOutputWithContext(ctx context.Context) ApiAccessRuleArrayOutput { - return o -} - -func (o ApiAccessRuleArrayOutput) Index(i pulumi.IntInput) ApiAccessRuleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ApiAccessRule { - return vs[0].([]*ApiAccessRule)[vs[1].(int)] - }).(ApiAccessRuleOutput) -} - -type ApiAccessRuleMapOutput struct{ *pulumi.OutputState } - -func (ApiAccessRuleMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*ApiAccessRule)(nil)).Elem() -} - -func (o ApiAccessRuleMapOutput) ToApiAccessRuleMapOutput() ApiAccessRuleMapOutput { - return o -} - -func (o ApiAccessRuleMapOutput) ToApiAccessRuleMapOutputWithContext(ctx context.Context) ApiAccessRuleMapOutput { - return o -} - -func (o ApiAccessRuleMapOutput) MapIndex(k pulumi.StringInput) ApiAccessRuleOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ApiAccessRule { - return vs[0].(map[string]*ApiAccessRule)[vs[1].(string)] - }).(ApiAccessRuleOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*ApiAccessRuleInput)(nil)).Elem(), &ApiAccessRule{}) - pulumi.RegisterInputType(reflect.TypeOf((*ApiAccessRuleArrayInput)(nil)).Elem(), ApiAccessRuleArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*ApiAccessRuleMapInput)(nil)).Elem(), ApiAccessRuleMap{}) - pulumi.RegisterOutputType(ApiAccessRuleOutput{}) - pulumi.RegisterOutputType(ApiAccessRuleArrayOutput{}) - pulumi.RegisterOutputType(ApiAccessRuleMapOutput{}) -} diff --git a/sdk/go/outscale/ca.go b/sdk/go/outscale/ca.go deleted file mode 100644 index df90461..0000000 --- a/sdk/go/outscale/ca.go +++ /dev/null @@ -1,309 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages a Certificate Authority (CA). -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-API-Access-Rules.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-ca). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "os" -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func readFileOrPanic(path string) pulumi.StringPtrInput { -// data, err := os.ReadFile(path) -// if err != nil { -// panic(err.Error()) -// } -// return pulumi.String(string(data)) -// } -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewCa(ctx, "ca01", &outscale.CaArgs{ -// CaPem: readFileOrPanic(""), -// Description: pulumi.String("Terraform certificate authority"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// A CA can be imported using its ID. For exampleconsole -// -// ```sh -// -// $ pulumi import outscale:index/ca:Ca ImportedCa ca-12345678 -// -// ``` -type Ca struct { - pulumi.CustomResourceState - - // The fingerprint of the CA. - CaFingerprint pulumi.StringOutput `pulumi:"caFingerprint"` - // The ID of the CA. - CaId pulumi.StringOutput `pulumi:"caId"` - // The CA in PEM format. - CaPem pulumi.StringPtrOutput `pulumi:"caPem"` - // The description of the CA. - Description pulumi.StringPtrOutput `pulumi:"description"` - RequestId pulumi.StringOutput `pulumi:"requestId"` -} - -// NewCa registers a new resource with the given unique name, arguments, and options. -func NewCa(ctx *pulumi.Context, - name string, args *CaArgs, opts ...pulumi.ResourceOption) (*Ca, error) { - if args == nil { - args = &CaArgs{} - } - - opts = internal.PkgResourceDefaultOpts(opts) - var resource Ca - err := ctx.RegisterResource("outscale:index/ca:Ca", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetCa gets an existing Ca resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetCa(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *CaState, opts ...pulumi.ResourceOption) (*Ca, error) { - var resource Ca - err := ctx.ReadResource("outscale:index/ca:Ca", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering Ca resources. -type caState struct { - // The fingerprint of the CA. - CaFingerprint *string `pulumi:"caFingerprint"` - // The ID of the CA. - CaId *string `pulumi:"caId"` - // The CA in PEM format. - CaPem *string `pulumi:"caPem"` - // The description of the CA. - Description *string `pulumi:"description"` - RequestId *string `pulumi:"requestId"` -} - -type CaState struct { - // The fingerprint of the CA. - CaFingerprint pulumi.StringPtrInput - // The ID of the CA. - CaId pulumi.StringPtrInput - // The CA in PEM format. - CaPem pulumi.StringPtrInput - // The description of the CA. - Description pulumi.StringPtrInput - RequestId pulumi.StringPtrInput -} - -func (CaState) ElementType() reflect.Type { - return reflect.TypeOf((*caState)(nil)).Elem() -} - -type caArgs struct { - // The CA in PEM format. - CaPem *string `pulumi:"caPem"` - // The description of the CA. - Description *string `pulumi:"description"` -} - -// The set of arguments for constructing a Ca resource. -type CaArgs struct { - // The CA in PEM format. - CaPem pulumi.StringPtrInput - // The description of the CA. - Description pulumi.StringPtrInput -} - -func (CaArgs) ElementType() reflect.Type { - return reflect.TypeOf((*caArgs)(nil)).Elem() -} - -type CaInput interface { - pulumi.Input - - ToCaOutput() CaOutput - ToCaOutputWithContext(ctx context.Context) CaOutput -} - -func (*Ca) ElementType() reflect.Type { - return reflect.TypeOf((**Ca)(nil)).Elem() -} - -func (i *Ca) ToCaOutput() CaOutput { - return i.ToCaOutputWithContext(context.Background()) -} - -func (i *Ca) ToCaOutputWithContext(ctx context.Context) CaOutput { - return pulumi.ToOutputWithContext(ctx, i).(CaOutput) -} - -// CaArrayInput is an input type that accepts CaArray and CaArrayOutput values. -// You can construct a concrete instance of `CaArrayInput` via: -// -// CaArray{ CaArgs{...} } -type CaArrayInput interface { - pulumi.Input - - ToCaArrayOutput() CaArrayOutput - ToCaArrayOutputWithContext(context.Context) CaArrayOutput -} - -type CaArray []CaInput - -func (CaArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*Ca)(nil)).Elem() -} - -func (i CaArray) ToCaArrayOutput() CaArrayOutput { - return i.ToCaArrayOutputWithContext(context.Background()) -} - -func (i CaArray) ToCaArrayOutputWithContext(ctx context.Context) CaArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(CaArrayOutput) -} - -// CaMapInput is an input type that accepts CaMap and CaMapOutput values. -// You can construct a concrete instance of `CaMapInput` via: -// -// CaMap{ "key": CaArgs{...} } -type CaMapInput interface { - pulumi.Input - - ToCaMapOutput() CaMapOutput - ToCaMapOutputWithContext(context.Context) CaMapOutput -} - -type CaMap map[string]CaInput - -func (CaMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*Ca)(nil)).Elem() -} - -func (i CaMap) ToCaMapOutput() CaMapOutput { - return i.ToCaMapOutputWithContext(context.Background()) -} - -func (i CaMap) ToCaMapOutputWithContext(ctx context.Context) CaMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(CaMapOutput) -} - -type CaOutput struct{ *pulumi.OutputState } - -func (CaOutput) ElementType() reflect.Type { - return reflect.TypeOf((**Ca)(nil)).Elem() -} - -func (o CaOutput) ToCaOutput() CaOutput { - return o -} - -func (o CaOutput) ToCaOutputWithContext(ctx context.Context) CaOutput { - return o -} - -// The fingerprint of the CA. -func (o CaOutput) CaFingerprint() pulumi.StringOutput { - return o.ApplyT(func(v *Ca) pulumi.StringOutput { return v.CaFingerprint }).(pulumi.StringOutput) -} - -// The ID of the CA. -func (o CaOutput) CaId() pulumi.StringOutput { - return o.ApplyT(func(v *Ca) pulumi.StringOutput { return v.CaId }).(pulumi.StringOutput) -} - -// The CA in PEM format. -func (o CaOutput) CaPem() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Ca) pulumi.StringPtrOutput { return v.CaPem }).(pulumi.StringPtrOutput) -} - -// The description of the CA. -func (o CaOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Ca) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) -} - -func (o CaOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *Ca) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -type CaArrayOutput struct{ *pulumi.OutputState } - -func (CaArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*Ca)(nil)).Elem() -} - -func (o CaArrayOutput) ToCaArrayOutput() CaArrayOutput { - return o -} - -func (o CaArrayOutput) ToCaArrayOutputWithContext(ctx context.Context) CaArrayOutput { - return o -} - -func (o CaArrayOutput) Index(i pulumi.IntInput) CaOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Ca { - return vs[0].([]*Ca)[vs[1].(int)] - }).(CaOutput) -} - -type CaMapOutput struct{ *pulumi.OutputState } - -func (CaMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*Ca)(nil)).Elem() -} - -func (o CaMapOutput) ToCaMapOutput() CaMapOutput { - return o -} - -func (o CaMapOutput) ToCaMapOutputWithContext(ctx context.Context) CaMapOutput { - return o -} - -func (o CaMapOutput) MapIndex(k pulumi.StringInput) CaOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Ca { - return vs[0].(map[string]*Ca)[vs[1].(string)] - }).(CaOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*CaInput)(nil)).Elem(), &Ca{}) - pulumi.RegisterInputType(reflect.TypeOf((*CaArrayInput)(nil)).Elem(), CaArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*CaMapInput)(nil)).Elem(), CaMap{}) - pulumi.RegisterOutputType(CaOutput{}) - pulumi.RegisterOutputType(CaArrayOutput{}) - pulumi.RegisterOutputType(CaMapOutput{}) -} diff --git a/sdk/go/outscale/clientGateway.go b/sdk/go/outscale/clientGateway.go deleted file mode 100644 index 74e228a..0000000 --- a/sdk/go/outscale/clientGateway.go +++ /dev/null @@ -1,346 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "errors" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages a client gateway. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Customer-Gateways.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-clientgateway). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewClientGateway(ctx, "clientGateway01", &outscale.ClientGatewayArgs{ -// BgpAsn: pulumi.Int(65000), -// ConnectionType: pulumi.String("ipsec.1"), -// PublicIp: pulumi.String("111.11.11.111"), -// Tags: outscale.ClientGatewayTagArray{ -// &outscale.ClientGatewayTagArgs{ -// Key: pulumi.String("Name"), -// Value: pulumi.String("client_gateway_01"), -// }, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// A client gateway can be imported using its ID. For exampleconsole -// -// ```sh -// -// $ pulumi import outscale:index/clientGateway:ClientGateway ImportedClientGateway cgw-12345678 -// -// ``` -type ClientGateway struct { - pulumi.CustomResourceState - - // The Autonomous System Number (ASN) used by the Border Gateway Protocol (BGP) to find the path to your client gateway through the Internet. This number must be between `1` and `4294967295`. - BgpAsn pulumi.IntOutput `pulumi:"bgpAsn"` - // The ID of the client gateway. - ClientGatewayId pulumi.StringOutput `pulumi:"clientGatewayId"` - // The communication protocol used to establish tunnel with your client gateway (only `ipsec.1` is supported). - ConnectionType pulumi.StringOutput `pulumi:"connectionType"` - // The public fixed IPv4 address of your client gateway. - PublicIp pulumi.StringOutput `pulumi:"publicIp"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - // The state of the client gateway (`pending` \| `available` \| `deleting` \| `deleted`). - State pulumi.StringOutput `pulumi:"state"` - // A tag to add to this resource. You can specify this argument several times. - Tags ClientGatewayTagArrayOutput `pulumi:"tags"` -} - -// NewClientGateway registers a new resource with the given unique name, arguments, and options. -func NewClientGateway(ctx *pulumi.Context, - name string, args *ClientGatewayArgs, opts ...pulumi.ResourceOption) (*ClientGateway, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.BgpAsn == nil { - return nil, errors.New("invalid value for required argument 'BgpAsn'") - } - if args.ConnectionType == nil { - return nil, errors.New("invalid value for required argument 'ConnectionType'") - } - if args.PublicIp == nil { - return nil, errors.New("invalid value for required argument 'PublicIp'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource ClientGateway - err := ctx.RegisterResource("outscale:index/clientGateway:ClientGateway", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetClientGateway gets an existing ClientGateway resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetClientGateway(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *ClientGatewayState, opts ...pulumi.ResourceOption) (*ClientGateway, error) { - var resource ClientGateway - err := ctx.ReadResource("outscale:index/clientGateway:ClientGateway", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering ClientGateway resources. -type clientGatewayState struct { - // The Autonomous System Number (ASN) used by the Border Gateway Protocol (BGP) to find the path to your client gateway through the Internet. This number must be between `1` and `4294967295`. - BgpAsn *int `pulumi:"bgpAsn"` - // The ID of the client gateway. - ClientGatewayId *string `pulumi:"clientGatewayId"` - // The communication protocol used to establish tunnel with your client gateway (only `ipsec.1` is supported). - ConnectionType *string `pulumi:"connectionType"` - // The public fixed IPv4 address of your client gateway. - PublicIp *string `pulumi:"publicIp"` - RequestId *string `pulumi:"requestId"` - // The state of the client gateway (`pending` \| `available` \| `deleting` \| `deleted`). - State *string `pulumi:"state"` - // A tag to add to this resource. You can specify this argument several times. - Tags []ClientGatewayTag `pulumi:"tags"` -} - -type ClientGatewayState struct { - // The Autonomous System Number (ASN) used by the Border Gateway Protocol (BGP) to find the path to your client gateway through the Internet. This number must be between `1` and `4294967295`. - BgpAsn pulumi.IntPtrInput - // The ID of the client gateway. - ClientGatewayId pulumi.StringPtrInput - // The communication protocol used to establish tunnel with your client gateway (only `ipsec.1` is supported). - ConnectionType pulumi.StringPtrInput - // The public fixed IPv4 address of your client gateway. - PublicIp pulumi.StringPtrInput - RequestId pulumi.StringPtrInput - // The state of the client gateway (`pending` \| `available` \| `deleting` \| `deleted`). - State pulumi.StringPtrInput - // A tag to add to this resource. You can specify this argument several times. - Tags ClientGatewayTagArrayInput -} - -func (ClientGatewayState) ElementType() reflect.Type { - return reflect.TypeOf((*clientGatewayState)(nil)).Elem() -} - -type clientGatewayArgs struct { - // The Autonomous System Number (ASN) used by the Border Gateway Protocol (BGP) to find the path to your client gateway through the Internet. This number must be between `1` and `4294967295`. - BgpAsn int `pulumi:"bgpAsn"` - // The communication protocol used to establish tunnel with your client gateway (only `ipsec.1` is supported). - ConnectionType string `pulumi:"connectionType"` - // The public fixed IPv4 address of your client gateway. - PublicIp string `pulumi:"publicIp"` - // A tag to add to this resource. You can specify this argument several times. - Tags []ClientGatewayTag `pulumi:"tags"` -} - -// The set of arguments for constructing a ClientGateway resource. -type ClientGatewayArgs struct { - // The Autonomous System Number (ASN) used by the Border Gateway Protocol (BGP) to find the path to your client gateway through the Internet. This number must be between `1` and `4294967295`. - BgpAsn pulumi.IntInput - // The communication protocol used to establish tunnel with your client gateway (only `ipsec.1` is supported). - ConnectionType pulumi.StringInput - // The public fixed IPv4 address of your client gateway. - PublicIp pulumi.StringInput - // A tag to add to this resource. You can specify this argument several times. - Tags ClientGatewayTagArrayInput -} - -func (ClientGatewayArgs) ElementType() reflect.Type { - return reflect.TypeOf((*clientGatewayArgs)(nil)).Elem() -} - -type ClientGatewayInput interface { - pulumi.Input - - ToClientGatewayOutput() ClientGatewayOutput - ToClientGatewayOutputWithContext(ctx context.Context) ClientGatewayOutput -} - -func (*ClientGateway) ElementType() reflect.Type { - return reflect.TypeOf((**ClientGateway)(nil)).Elem() -} - -func (i *ClientGateway) ToClientGatewayOutput() ClientGatewayOutput { - return i.ToClientGatewayOutputWithContext(context.Background()) -} - -func (i *ClientGateway) ToClientGatewayOutputWithContext(ctx context.Context) ClientGatewayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClientGatewayOutput) -} - -// ClientGatewayArrayInput is an input type that accepts ClientGatewayArray and ClientGatewayArrayOutput values. -// You can construct a concrete instance of `ClientGatewayArrayInput` via: -// -// ClientGatewayArray{ ClientGatewayArgs{...} } -type ClientGatewayArrayInput interface { - pulumi.Input - - ToClientGatewayArrayOutput() ClientGatewayArrayOutput - ToClientGatewayArrayOutputWithContext(context.Context) ClientGatewayArrayOutput -} - -type ClientGatewayArray []ClientGatewayInput - -func (ClientGatewayArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*ClientGateway)(nil)).Elem() -} - -func (i ClientGatewayArray) ToClientGatewayArrayOutput() ClientGatewayArrayOutput { - return i.ToClientGatewayArrayOutputWithContext(context.Background()) -} - -func (i ClientGatewayArray) ToClientGatewayArrayOutputWithContext(ctx context.Context) ClientGatewayArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClientGatewayArrayOutput) -} - -// ClientGatewayMapInput is an input type that accepts ClientGatewayMap and ClientGatewayMapOutput values. -// You can construct a concrete instance of `ClientGatewayMapInput` via: -// -// ClientGatewayMap{ "key": ClientGatewayArgs{...} } -type ClientGatewayMapInput interface { - pulumi.Input - - ToClientGatewayMapOutput() ClientGatewayMapOutput - ToClientGatewayMapOutputWithContext(context.Context) ClientGatewayMapOutput -} - -type ClientGatewayMap map[string]ClientGatewayInput - -func (ClientGatewayMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*ClientGateway)(nil)).Elem() -} - -func (i ClientGatewayMap) ToClientGatewayMapOutput() ClientGatewayMapOutput { - return i.ToClientGatewayMapOutputWithContext(context.Background()) -} - -func (i ClientGatewayMap) ToClientGatewayMapOutputWithContext(ctx context.Context) ClientGatewayMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClientGatewayMapOutput) -} - -type ClientGatewayOutput struct{ *pulumi.OutputState } - -func (ClientGatewayOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClientGateway)(nil)).Elem() -} - -func (o ClientGatewayOutput) ToClientGatewayOutput() ClientGatewayOutput { - return o -} - -func (o ClientGatewayOutput) ToClientGatewayOutputWithContext(ctx context.Context) ClientGatewayOutput { - return o -} - -// The Autonomous System Number (ASN) used by the Border Gateway Protocol (BGP) to find the path to your client gateway through the Internet. This number must be between `1` and `4294967295`. -func (o ClientGatewayOutput) BgpAsn() pulumi.IntOutput { - return o.ApplyT(func(v *ClientGateway) pulumi.IntOutput { return v.BgpAsn }).(pulumi.IntOutput) -} - -// The ID of the client gateway. -func (o ClientGatewayOutput) ClientGatewayId() pulumi.StringOutput { - return o.ApplyT(func(v *ClientGateway) pulumi.StringOutput { return v.ClientGatewayId }).(pulumi.StringOutput) -} - -// The communication protocol used to establish tunnel with your client gateway (only `ipsec.1` is supported). -func (o ClientGatewayOutput) ConnectionType() pulumi.StringOutput { - return o.ApplyT(func(v *ClientGateway) pulumi.StringOutput { return v.ConnectionType }).(pulumi.StringOutput) -} - -// The public fixed IPv4 address of your client gateway. -func (o ClientGatewayOutput) PublicIp() pulumi.StringOutput { - return o.ApplyT(func(v *ClientGateway) pulumi.StringOutput { return v.PublicIp }).(pulumi.StringOutput) -} - -func (o ClientGatewayOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *ClientGateway) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -// The state of the client gateway (`pending` \| `available` \| `deleting` \| `deleted`). -func (o ClientGatewayOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v *ClientGateway) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) -} - -// A tag to add to this resource. You can specify this argument several times. -func (o ClientGatewayOutput) Tags() ClientGatewayTagArrayOutput { - return o.ApplyT(func(v *ClientGateway) ClientGatewayTagArrayOutput { return v.Tags }).(ClientGatewayTagArrayOutput) -} - -type ClientGatewayArrayOutput struct{ *pulumi.OutputState } - -func (ClientGatewayArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*ClientGateway)(nil)).Elem() -} - -func (o ClientGatewayArrayOutput) ToClientGatewayArrayOutput() ClientGatewayArrayOutput { - return o -} - -func (o ClientGatewayArrayOutput) ToClientGatewayArrayOutputWithContext(ctx context.Context) ClientGatewayArrayOutput { - return o -} - -func (o ClientGatewayArrayOutput) Index(i pulumi.IntInput) ClientGatewayOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ClientGateway { - return vs[0].([]*ClientGateway)[vs[1].(int)] - }).(ClientGatewayOutput) -} - -type ClientGatewayMapOutput struct{ *pulumi.OutputState } - -func (ClientGatewayMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*ClientGateway)(nil)).Elem() -} - -func (o ClientGatewayMapOutput) ToClientGatewayMapOutput() ClientGatewayMapOutput { - return o -} - -func (o ClientGatewayMapOutput) ToClientGatewayMapOutputWithContext(ctx context.Context) ClientGatewayMapOutput { - return o -} - -func (o ClientGatewayMapOutput) MapIndex(k pulumi.StringInput) ClientGatewayOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ClientGateway { - return vs[0].(map[string]*ClientGateway)[vs[1].(string)] - }).(ClientGatewayOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*ClientGatewayInput)(nil)).Elem(), &ClientGateway{}) - pulumi.RegisterInputType(reflect.TypeOf((*ClientGatewayArrayInput)(nil)).Elem(), ClientGatewayArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*ClientGatewayMapInput)(nil)).Elem(), ClientGatewayMap{}) - pulumi.RegisterOutputType(ClientGatewayOutput{}) - pulumi.RegisterOutputType(ClientGatewayArrayOutput{}) - pulumi.RegisterOutputType(ClientGatewayMapOutput{}) -} diff --git a/sdk/go/outscale/config/config.go b/sdk/go/outscale/config/config.go deleted file mode 100644 index 2414890..0000000 --- a/sdk/go/outscale/config/config.go +++ /dev/null @@ -1,69 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package config - -import ( - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" -) - -var _ = internal.GetEnvOrDefault - -// The Access Key ID for API operations -func GetAccessKeyId(ctx *pulumi.Context) string { - v, err := config.Try(ctx, "outscale:accessKeyId") - if err == nil { - return v - } - var value string - if d := internal.GetEnvOrDefault(nil, nil, "OUTSCALE_ACCESSKEYID"); d != nil { - value = d.(string) - } - return value -} -func GetEndpoints(ctx *pulumi.Context) string { - return config.Get(ctx, "outscale:endpoints") -} - -// tls insecure connection -func GetInsecure(ctx *pulumi.Context) bool { - return config.GetBool(ctx, "outscale:insecure") -} - -// The Region for API operations. -func GetRegion(ctx *pulumi.Context) string { - v, err := config.Try(ctx, "outscale:region") - if err == nil { - return v - } - var value string - if d := internal.GetEnvOrDefault(nil, nil, "OUTSCALE_REGION"); d != nil { - value = d.(string) - } - return value -} - -// The Secret Key ID for API operations. -func GetSecretKeyId(ctx *pulumi.Context) string { - v, err := config.Try(ctx, "outscale:secretKeyId") - if err == nil { - return v - } - var value string - if d := internal.GetEnvOrDefault(nil, nil, "OUTSCALE_SECRETKEYID"); d != nil { - value = d.(string) - } - return value -} - -// The path to your x509 cert -func GetX509CertPath(ctx *pulumi.Context) string { - return config.Get(ctx, "outscale:x509CertPath") -} - -// The path to your x509 key -func GetX509KeyPath(ctx *pulumi.Context) string { - return config.Get(ctx, "outscale:x509KeyPath") -} diff --git a/sdk/go/outscale/config/pulumiTypes.go b/sdk/go/outscale/config/pulumiTypes.go deleted file mode 100644 index 84b0906..0000000 --- a/sdk/go/outscale/config/pulumiTypes.go +++ /dev/null @@ -1,115 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package config - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -var _ = internal.GetEnvOrDefault - -type Endpoints struct { - Api *string `pulumi:"api"` -} - -// EndpointsInput is an input type that accepts EndpointsArgs and EndpointsOutput values. -// You can construct a concrete instance of `EndpointsInput` via: -// -// EndpointsArgs{...} -type EndpointsInput interface { - pulumi.Input - - ToEndpointsOutput() EndpointsOutput - ToEndpointsOutputWithContext(context.Context) EndpointsOutput -} - -type EndpointsArgs struct { - Api pulumi.StringPtrInput `pulumi:"api"` -} - -func (EndpointsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*Endpoints)(nil)).Elem() -} - -func (i EndpointsArgs) ToEndpointsOutput() EndpointsOutput { - return i.ToEndpointsOutputWithContext(context.Background()) -} - -func (i EndpointsArgs) ToEndpointsOutputWithContext(ctx context.Context) EndpointsOutput { - return pulumi.ToOutputWithContext(ctx, i).(EndpointsOutput) -} - -// EndpointsArrayInput is an input type that accepts EndpointsArray and EndpointsArrayOutput values. -// You can construct a concrete instance of `EndpointsArrayInput` via: -// -// EndpointsArray{ EndpointsArgs{...} } -type EndpointsArrayInput interface { - pulumi.Input - - ToEndpointsArrayOutput() EndpointsArrayOutput - ToEndpointsArrayOutputWithContext(context.Context) EndpointsArrayOutput -} - -type EndpointsArray []EndpointsInput - -func (EndpointsArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]Endpoints)(nil)).Elem() -} - -func (i EndpointsArray) ToEndpointsArrayOutput() EndpointsArrayOutput { - return i.ToEndpointsArrayOutputWithContext(context.Background()) -} - -func (i EndpointsArray) ToEndpointsArrayOutputWithContext(ctx context.Context) EndpointsArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(EndpointsArrayOutput) -} - -type EndpointsOutput struct{ *pulumi.OutputState } - -func (EndpointsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*Endpoints)(nil)).Elem() -} - -func (o EndpointsOutput) ToEndpointsOutput() EndpointsOutput { - return o -} - -func (o EndpointsOutput) ToEndpointsOutputWithContext(ctx context.Context) EndpointsOutput { - return o -} - -func (o EndpointsOutput) Api() pulumi.StringPtrOutput { - return o.ApplyT(func(v Endpoints) *string { return v.Api }).(pulumi.StringPtrOutput) -} - -type EndpointsArrayOutput struct{ *pulumi.OutputState } - -func (EndpointsArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]Endpoints)(nil)).Elem() -} - -func (o EndpointsArrayOutput) ToEndpointsArrayOutput() EndpointsArrayOutput { - return o -} - -func (o EndpointsArrayOutput) ToEndpointsArrayOutputWithContext(ctx context.Context) EndpointsArrayOutput { - return o -} - -func (o EndpointsArrayOutput) Index(i pulumi.IntInput) EndpointsOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) Endpoints { - return vs[0].([]Endpoints)[vs[1].(int)] - }).(EndpointsOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*EndpointsInput)(nil)).Elem(), EndpointsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*EndpointsArrayInput)(nil)).Elem(), EndpointsArray{}) - pulumi.RegisterOutputType(EndpointsOutput{}) - pulumi.RegisterOutputType(EndpointsArrayOutput{}) -} diff --git a/sdk/go/outscale/dhcpOption.go b/sdk/go/outscale/dhcpOption.go deleted file mode 100644 index 1487c97..0000000 --- a/sdk/go/outscale/dhcpOption.go +++ /dev/null @@ -1,383 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages a DHCP option. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-DHCP-Options.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-dhcpoption). -// -// ## Example Usage -// ### Create a basic DHCP options set -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewDhcpOption(ctx, "dhcpOption01", &outscale.DhcpOptionArgs{ -// DomainName: pulumi.String("MyCompany.com"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Create a complete DHCP options set -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewDhcpOption(ctx, "dhcpOption02", &outscale.DhcpOptionArgs{ -// DomainName: pulumi.String("MyCompany.com"), -// DomainNameServers: pulumi.StringArray{ -// pulumi.String("111.111.11.111"), -// pulumi.String("222.222.22.222"), -// }, -// NtpServers: pulumi.StringArray{ -// pulumi.String("111.1.1.1"), -// pulumi.String("222.2.2.2"), -// }, -// Tags: outscale.DhcpOptionTagArray{ -// &outscale.DhcpOptionTagArgs{ -// Key: pulumi.String("Name"), -// Value: pulumi.String("DHCP01"), -// }, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// DHCP options can be imported using the DHCP option ID. For exampleconsole -// -// ```sh -// -// $ pulumi import outscale:index/dhcpOption:DhcpOption ImportedDhcpSet dopt-87654321 -// -// ``` -type DhcpOption struct { - pulumi.CustomResourceState - - // If true, the DHCP options set is a default one. If false, it is not. - Default pulumi.BoolOutput `pulumi:"default"` - // The ID of the DHCP options set. - DhcpOptionsSetId pulumi.StringOutput `pulumi:"dhcpOptionsSetId"` - // Specify a domain name (for example, MyCompany.com). You can specify only one domain name. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - DomainName pulumi.StringOutput `pulumi:"domainName"` - // The IPs of domain name servers. If no IPs are specified, the `OutscaleProvidedDNS` value is set by default. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - DomainNameServers pulumi.StringArrayOutput `pulumi:"domainNameServers"` - // The IPs of the log servers. You must specify at least one of the following parameters: `domainName`, `domainNameServers`, `logServers`, or `ntpServers`. - LogServers pulumi.StringArrayOutput `pulumi:"logServers"` - // The IPs of the Network Time Protocol (NTP) servers. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - NtpServers pulumi.StringArrayOutput `pulumi:"ntpServers"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - // A tag to add to this resource. You can specify this argument several times. - Tags DhcpOptionTagArrayOutput `pulumi:"tags"` -} - -// NewDhcpOption registers a new resource with the given unique name, arguments, and options. -func NewDhcpOption(ctx *pulumi.Context, - name string, args *DhcpOptionArgs, opts ...pulumi.ResourceOption) (*DhcpOption, error) { - if args == nil { - args = &DhcpOptionArgs{} - } - - opts = internal.PkgResourceDefaultOpts(opts) - var resource DhcpOption - err := ctx.RegisterResource("outscale:index/dhcpOption:DhcpOption", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetDhcpOption gets an existing DhcpOption resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetDhcpOption(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *DhcpOptionState, opts ...pulumi.ResourceOption) (*DhcpOption, error) { - var resource DhcpOption - err := ctx.ReadResource("outscale:index/dhcpOption:DhcpOption", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering DhcpOption resources. -type dhcpOptionState struct { - // If true, the DHCP options set is a default one. If false, it is not. - Default *bool `pulumi:"default"` - // The ID of the DHCP options set. - DhcpOptionsSetId *string `pulumi:"dhcpOptionsSetId"` - // Specify a domain name (for example, MyCompany.com). You can specify only one domain name. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - DomainName *string `pulumi:"domainName"` - // The IPs of domain name servers. If no IPs are specified, the `OutscaleProvidedDNS` value is set by default. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - DomainNameServers []string `pulumi:"domainNameServers"` - // The IPs of the log servers. You must specify at least one of the following parameters: `domainName`, `domainNameServers`, `logServers`, or `ntpServers`. - LogServers []string `pulumi:"logServers"` - // The IPs of the Network Time Protocol (NTP) servers. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - NtpServers []string `pulumi:"ntpServers"` - RequestId *string `pulumi:"requestId"` - // A tag to add to this resource. You can specify this argument several times. - Tags []DhcpOptionTag `pulumi:"tags"` -} - -type DhcpOptionState struct { - // If true, the DHCP options set is a default one. If false, it is not. - Default pulumi.BoolPtrInput - // The ID of the DHCP options set. - DhcpOptionsSetId pulumi.StringPtrInput - // Specify a domain name (for example, MyCompany.com). You can specify only one domain name. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - DomainName pulumi.StringPtrInput - // The IPs of domain name servers. If no IPs are specified, the `OutscaleProvidedDNS` value is set by default. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - DomainNameServers pulumi.StringArrayInput - // The IPs of the log servers. You must specify at least one of the following parameters: `domainName`, `domainNameServers`, `logServers`, or `ntpServers`. - LogServers pulumi.StringArrayInput - // The IPs of the Network Time Protocol (NTP) servers. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - NtpServers pulumi.StringArrayInput - RequestId pulumi.StringPtrInput - // A tag to add to this resource. You can specify this argument several times. - Tags DhcpOptionTagArrayInput -} - -func (DhcpOptionState) ElementType() reflect.Type { - return reflect.TypeOf((*dhcpOptionState)(nil)).Elem() -} - -type dhcpOptionArgs struct { - // Specify a domain name (for example, MyCompany.com). You can specify only one domain name. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - DomainName *string `pulumi:"domainName"` - // The IPs of domain name servers. If no IPs are specified, the `OutscaleProvidedDNS` value is set by default. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - DomainNameServers []string `pulumi:"domainNameServers"` - // The IPs of the log servers. You must specify at least one of the following parameters: `domainName`, `domainNameServers`, `logServers`, or `ntpServers`. - LogServers []string `pulumi:"logServers"` - // The IPs of the Network Time Protocol (NTP) servers. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - NtpServers []string `pulumi:"ntpServers"` - // A tag to add to this resource. You can specify this argument several times. - Tags []DhcpOptionTag `pulumi:"tags"` -} - -// The set of arguments for constructing a DhcpOption resource. -type DhcpOptionArgs struct { - // Specify a domain name (for example, MyCompany.com). You can specify only one domain name. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - DomainName pulumi.StringPtrInput - // The IPs of domain name servers. If no IPs are specified, the `OutscaleProvidedDNS` value is set by default. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - DomainNameServers pulumi.StringArrayInput - // The IPs of the log servers. You must specify at least one of the following parameters: `domainName`, `domainNameServers`, `logServers`, or `ntpServers`. - LogServers pulumi.StringArrayInput - // The IPs of the Network Time Protocol (NTP) servers. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - NtpServers pulumi.StringArrayInput - // A tag to add to this resource. You can specify this argument several times. - Tags DhcpOptionTagArrayInput -} - -func (DhcpOptionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*dhcpOptionArgs)(nil)).Elem() -} - -type DhcpOptionInput interface { - pulumi.Input - - ToDhcpOptionOutput() DhcpOptionOutput - ToDhcpOptionOutputWithContext(ctx context.Context) DhcpOptionOutput -} - -func (*DhcpOption) ElementType() reflect.Type { - return reflect.TypeOf((**DhcpOption)(nil)).Elem() -} - -func (i *DhcpOption) ToDhcpOptionOutput() DhcpOptionOutput { - return i.ToDhcpOptionOutputWithContext(context.Background()) -} - -func (i *DhcpOption) ToDhcpOptionOutputWithContext(ctx context.Context) DhcpOptionOutput { - return pulumi.ToOutputWithContext(ctx, i).(DhcpOptionOutput) -} - -// DhcpOptionArrayInput is an input type that accepts DhcpOptionArray and DhcpOptionArrayOutput values. -// You can construct a concrete instance of `DhcpOptionArrayInput` via: -// -// DhcpOptionArray{ DhcpOptionArgs{...} } -type DhcpOptionArrayInput interface { - pulumi.Input - - ToDhcpOptionArrayOutput() DhcpOptionArrayOutput - ToDhcpOptionArrayOutputWithContext(context.Context) DhcpOptionArrayOutput -} - -type DhcpOptionArray []DhcpOptionInput - -func (DhcpOptionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*DhcpOption)(nil)).Elem() -} - -func (i DhcpOptionArray) ToDhcpOptionArrayOutput() DhcpOptionArrayOutput { - return i.ToDhcpOptionArrayOutputWithContext(context.Background()) -} - -func (i DhcpOptionArray) ToDhcpOptionArrayOutputWithContext(ctx context.Context) DhcpOptionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DhcpOptionArrayOutput) -} - -// DhcpOptionMapInput is an input type that accepts DhcpOptionMap and DhcpOptionMapOutput values. -// You can construct a concrete instance of `DhcpOptionMapInput` via: -// -// DhcpOptionMap{ "key": DhcpOptionArgs{...} } -type DhcpOptionMapInput interface { - pulumi.Input - - ToDhcpOptionMapOutput() DhcpOptionMapOutput - ToDhcpOptionMapOutputWithContext(context.Context) DhcpOptionMapOutput -} - -type DhcpOptionMap map[string]DhcpOptionInput - -func (DhcpOptionMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*DhcpOption)(nil)).Elem() -} - -func (i DhcpOptionMap) ToDhcpOptionMapOutput() DhcpOptionMapOutput { - return i.ToDhcpOptionMapOutputWithContext(context.Background()) -} - -func (i DhcpOptionMap) ToDhcpOptionMapOutputWithContext(ctx context.Context) DhcpOptionMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(DhcpOptionMapOutput) -} - -type DhcpOptionOutput struct{ *pulumi.OutputState } - -func (DhcpOptionOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DhcpOption)(nil)).Elem() -} - -func (o DhcpOptionOutput) ToDhcpOptionOutput() DhcpOptionOutput { - return o -} - -func (o DhcpOptionOutput) ToDhcpOptionOutputWithContext(ctx context.Context) DhcpOptionOutput { - return o -} - -// If true, the DHCP options set is a default one. If false, it is not. -func (o DhcpOptionOutput) Default() pulumi.BoolOutput { - return o.ApplyT(func(v *DhcpOption) pulumi.BoolOutput { return v.Default }).(pulumi.BoolOutput) -} - -// The ID of the DHCP options set. -func (o DhcpOptionOutput) DhcpOptionsSetId() pulumi.StringOutput { - return o.ApplyT(func(v *DhcpOption) pulumi.StringOutput { return v.DhcpOptionsSetId }).(pulumi.StringOutput) -} - -// Specify a domain name (for example, MyCompany.com). You can specify only one domain name. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. -func (o DhcpOptionOutput) DomainName() pulumi.StringOutput { - return o.ApplyT(func(v *DhcpOption) pulumi.StringOutput { return v.DomainName }).(pulumi.StringOutput) -} - -// The IPs of domain name servers. If no IPs are specified, the `OutscaleProvidedDNS` value is set by default. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. -func (o DhcpOptionOutput) DomainNameServers() pulumi.StringArrayOutput { - return o.ApplyT(func(v *DhcpOption) pulumi.StringArrayOutput { return v.DomainNameServers }).(pulumi.StringArrayOutput) -} - -// The IPs of the log servers. You must specify at least one of the following parameters: `domainName`, `domainNameServers`, `logServers`, or `ntpServers`. -func (o DhcpOptionOutput) LogServers() pulumi.StringArrayOutput { - return o.ApplyT(func(v *DhcpOption) pulumi.StringArrayOutput { return v.LogServers }).(pulumi.StringArrayOutput) -} - -// The IPs of the Network Time Protocol (NTP) servers. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. -func (o DhcpOptionOutput) NtpServers() pulumi.StringArrayOutput { - return o.ApplyT(func(v *DhcpOption) pulumi.StringArrayOutput { return v.NtpServers }).(pulumi.StringArrayOutput) -} - -func (o DhcpOptionOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *DhcpOption) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -// A tag to add to this resource. You can specify this argument several times. -func (o DhcpOptionOutput) Tags() DhcpOptionTagArrayOutput { - return o.ApplyT(func(v *DhcpOption) DhcpOptionTagArrayOutput { return v.Tags }).(DhcpOptionTagArrayOutput) -} - -type DhcpOptionArrayOutput struct{ *pulumi.OutputState } - -func (DhcpOptionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*DhcpOption)(nil)).Elem() -} - -func (o DhcpOptionArrayOutput) ToDhcpOptionArrayOutput() DhcpOptionArrayOutput { - return o -} - -func (o DhcpOptionArrayOutput) ToDhcpOptionArrayOutputWithContext(ctx context.Context) DhcpOptionArrayOutput { - return o -} - -func (o DhcpOptionArrayOutput) Index(i pulumi.IntInput) DhcpOptionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *DhcpOption { - return vs[0].([]*DhcpOption)[vs[1].(int)] - }).(DhcpOptionOutput) -} - -type DhcpOptionMapOutput struct{ *pulumi.OutputState } - -func (DhcpOptionMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*DhcpOption)(nil)).Elem() -} - -func (o DhcpOptionMapOutput) ToDhcpOptionMapOutput() DhcpOptionMapOutput { - return o -} - -func (o DhcpOptionMapOutput) ToDhcpOptionMapOutputWithContext(ctx context.Context) DhcpOptionMapOutput { - return o -} - -func (o DhcpOptionMapOutput) MapIndex(k pulumi.StringInput) DhcpOptionOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *DhcpOption { - return vs[0].(map[string]*DhcpOption)[vs[1].(string)] - }).(DhcpOptionOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*DhcpOptionInput)(nil)).Elem(), &DhcpOption{}) - pulumi.RegisterInputType(reflect.TypeOf((*DhcpOptionArrayInput)(nil)).Elem(), DhcpOptionArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DhcpOptionMapInput)(nil)).Elem(), DhcpOptionMap{}) - pulumi.RegisterOutputType(DhcpOptionOutput{}) - pulumi.RegisterOutputType(DhcpOptionArrayOutput{}) - pulumi.RegisterOutputType(DhcpOptionMapOutput{}) -} diff --git a/sdk/go/outscale/doc.go b/sdk/go/outscale/doc.go deleted file mode 100644 index 1b834e4..0000000 --- a/sdk/go/outscale/doc.go +++ /dev/null @@ -1,2 +0,0 @@ -// A Pulumi package for creating and managing outscale cloud resources. -package outscale diff --git a/sdk/go/outscale/flexibleGpu.go b/sdk/go/outscale/flexibleGpu.go deleted file mode 100644 index 0592970..0000000 --- a/sdk/go/outscale/flexibleGpu.go +++ /dev/null @@ -1,352 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "errors" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages a flexible GPU. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-flexiblegpu). -// -// ## Example Usage -// ### Create a flexible GPU -// -// ```go -// package main -// -// import ( -// -// "fmt" -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewFlexibleGpu(ctx, "flexibleGpu01", &outscale.FlexibleGpuArgs{ -// ModelName: pulumi.Any(_var.Model_name), -// Generation: pulumi.String("v4"), -// SubregionName: pulumi.String(fmt.Sprintf("%va", _var.Region)), -// DeleteOnVmDeletion: pulumi.Bool(true), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// A flexible GPU can be imported using its ID. For exampleconsole -// -// ```sh -// -// $ pulumi import outscale:index/flexibleGpu:FlexibleGpu imported_fgpu fgpu-12345678 -// -// ``` -type FlexibleGpu struct { - pulumi.CustomResourceState - - // If true, the fGPU is deleted when the VM is terminated. - DeleteOnVmDeletion pulumi.BoolOutput `pulumi:"deleteOnVmDeletion"` - // The ID of the fGPU. - FlexibleGpuId pulumi.StringOutput `pulumi:"flexibleGpuId"` - // The processor generation that the fGPU must be compatible with. If not specified, the oldest possible processor generation is selected (as provided by [ReadFlexibleGpuCatalog](https://docs.outscale.com/api#readflexiblegpucatalog) for the specified model of fGPU). - Generation pulumi.StringOutput `pulumi:"generation"` - // The model of fGPU you want to allocate. For more information, see [About Flexible GPUs](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html). - ModelName pulumi.StringOutput `pulumi:"modelName"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - // The state of the fGPU (`allocated` \| `attaching` \| `attached` \| `detaching`). - State pulumi.StringOutput `pulumi:"state"` - // The Subregion in which you want to create the fGPU. - SubregionName pulumi.StringOutput `pulumi:"subregionName"` - // The ID of the VM the fGPU is attached to, if any. - VmId pulumi.StringOutput `pulumi:"vmId"` -} - -// NewFlexibleGpu registers a new resource with the given unique name, arguments, and options. -func NewFlexibleGpu(ctx *pulumi.Context, - name string, args *FlexibleGpuArgs, opts ...pulumi.ResourceOption) (*FlexibleGpu, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.ModelName == nil { - return nil, errors.New("invalid value for required argument 'ModelName'") - } - if args.SubregionName == nil { - return nil, errors.New("invalid value for required argument 'SubregionName'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource FlexibleGpu - err := ctx.RegisterResource("outscale:index/flexibleGpu:FlexibleGpu", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetFlexibleGpu gets an existing FlexibleGpu resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetFlexibleGpu(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *FlexibleGpuState, opts ...pulumi.ResourceOption) (*FlexibleGpu, error) { - var resource FlexibleGpu - err := ctx.ReadResource("outscale:index/flexibleGpu:FlexibleGpu", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering FlexibleGpu resources. -type flexibleGpuState struct { - // If true, the fGPU is deleted when the VM is terminated. - DeleteOnVmDeletion *bool `pulumi:"deleteOnVmDeletion"` - // The ID of the fGPU. - FlexibleGpuId *string `pulumi:"flexibleGpuId"` - // The processor generation that the fGPU must be compatible with. If not specified, the oldest possible processor generation is selected (as provided by [ReadFlexibleGpuCatalog](https://docs.outscale.com/api#readflexiblegpucatalog) for the specified model of fGPU). - Generation *string `pulumi:"generation"` - // The model of fGPU you want to allocate. For more information, see [About Flexible GPUs](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html). - ModelName *string `pulumi:"modelName"` - RequestId *string `pulumi:"requestId"` - // The state of the fGPU (`allocated` \| `attaching` \| `attached` \| `detaching`). - State *string `pulumi:"state"` - // The Subregion in which you want to create the fGPU. - SubregionName *string `pulumi:"subregionName"` - // The ID of the VM the fGPU is attached to, if any. - VmId *string `pulumi:"vmId"` -} - -type FlexibleGpuState struct { - // If true, the fGPU is deleted when the VM is terminated. - DeleteOnVmDeletion pulumi.BoolPtrInput - // The ID of the fGPU. - FlexibleGpuId pulumi.StringPtrInput - // The processor generation that the fGPU must be compatible with. If not specified, the oldest possible processor generation is selected (as provided by [ReadFlexibleGpuCatalog](https://docs.outscale.com/api#readflexiblegpucatalog) for the specified model of fGPU). - Generation pulumi.StringPtrInput - // The model of fGPU you want to allocate. For more information, see [About Flexible GPUs](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html). - ModelName pulumi.StringPtrInput - RequestId pulumi.StringPtrInput - // The state of the fGPU (`allocated` \| `attaching` \| `attached` \| `detaching`). - State pulumi.StringPtrInput - // The Subregion in which you want to create the fGPU. - SubregionName pulumi.StringPtrInput - // The ID of the VM the fGPU is attached to, if any. - VmId pulumi.StringPtrInput -} - -func (FlexibleGpuState) ElementType() reflect.Type { - return reflect.TypeOf((*flexibleGpuState)(nil)).Elem() -} - -type flexibleGpuArgs struct { - // If true, the fGPU is deleted when the VM is terminated. - DeleteOnVmDeletion *bool `pulumi:"deleteOnVmDeletion"` - // The processor generation that the fGPU must be compatible with. If not specified, the oldest possible processor generation is selected (as provided by [ReadFlexibleGpuCatalog](https://docs.outscale.com/api#readflexiblegpucatalog) for the specified model of fGPU). - Generation *string `pulumi:"generation"` - // The model of fGPU you want to allocate. For more information, see [About Flexible GPUs](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html). - ModelName string `pulumi:"modelName"` - // The Subregion in which you want to create the fGPU. - SubregionName string `pulumi:"subregionName"` -} - -// The set of arguments for constructing a FlexibleGpu resource. -type FlexibleGpuArgs struct { - // If true, the fGPU is deleted when the VM is terminated. - DeleteOnVmDeletion pulumi.BoolPtrInput - // The processor generation that the fGPU must be compatible with. If not specified, the oldest possible processor generation is selected (as provided by [ReadFlexibleGpuCatalog](https://docs.outscale.com/api#readflexiblegpucatalog) for the specified model of fGPU). - Generation pulumi.StringPtrInput - // The model of fGPU you want to allocate. For more information, see [About Flexible GPUs](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html). - ModelName pulumi.StringInput - // The Subregion in which you want to create the fGPU. - SubregionName pulumi.StringInput -} - -func (FlexibleGpuArgs) ElementType() reflect.Type { - return reflect.TypeOf((*flexibleGpuArgs)(nil)).Elem() -} - -type FlexibleGpuInput interface { - pulumi.Input - - ToFlexibleGpuOutput() FlexibleGpuOutput - ToFlexibleGpuOutputWithContext(ctx context.Context) FlexibleGpuOutput -} - -func (*FlexibleGpu) ElementType() reflect.Type { - return reflect.TypeOf((**FlexibleGpu)(nil)).Elem() -} - -func (i *FlexibleGpu) ToFlexibleGpuOutput() FlexibleGpuOutput { - return i.ToFlexibleGpuOutputWithContext(context.Background()) -} - -func (i *FlexibleGpu) ToFlexibleGpuOutputWithContext(ctx context.Context) FlexibleGpuOutput { - return pulumi.ToOutputWithContext(ctx, i).(FlexibleGpuOutput) -} - -// FlexibleGpuArrayInput is an input type that accepts FlexibleGpuArray and FlexibleGpuArrayOutput values. -// You can construct a concrete instance of `FlexibleGpuArrayInput` via: -// -// FlexibleGpuArray{ FlexibleGpuArgs{...} } -type FlexibleGpuArrayInput interface { - pulumi.Input - - ToFlexibleGpuArrayOutput() FlexibleGpuArrayOutput - ToFlexibleGpuArrayOutputWithContext(context.Context) FlexibleGpuArrayOutput -} - -type FlexibleGpuArray []FlexibleGpuInput - -func (FlexibleGpuArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*FlexibleGpu)(nil)).Elem() -} - -func (i FlexibleGpuArray) ToFlexibleGpuArrayOutput() FlexibleGpuArrayOutput { - return i.ToFlexibleGpuArrayOutputWithContext(context.Background()) -} - -func (i FlexibleGpuArray) ToFlexibleGpuArrayOutputWithContext(ctx context.Context) FlexibleGpuArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(FlexibleGpuArrayOutput) -} - -// FlexibleGpuMapInput is an input type that accepts FlexibleGpuMap and FlexibleGpuMapOutput values. -// You can construct a concrete instance of `FlexibleGpuMapInput` via: -// -// FlexibleGpuMap{ "key": FlexibleGpuArgs{...} } -type FlexibleGpuMapInput interface { - pulumi.Input - - ToFlexibleGpuMapOutput() FlexibleGpuMapOutput - ToFlexibleGpuMapOutputWithContext(context.Context) FlexibleGpuMapOutput -} - -type FlexibleGpuMap map[string]FlexibleGpuInput - -func (FlexibleGpuMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*FlexibleGpu)(nil)).Elem() -} - -func (i FlexibleGpuMap) ToFlexibleGpuMapOutput() FlexibleGpuMapOutput { - return i.ToFlexibleGpuMapOutputWithContext(context.Background()) -} - -func (i FlexibleGpuMap) ToFlexibleGpuMapOutputWithContext(ctx context.Context) FlexibleGpuMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(FlexibleGpuMapOutput) -} - -type FlexibleGpuOutput struct{ *pulumi.OutputState } - -func (FlexibleGpuOutput) ElementType() reflect.Type { - return reflect.TypeOf((**FlexibleGpu)(nil)).Elem() -} - -func (o FlexibleGpuOutput) ToFlexibleGpuOutput() FlexibleGpuOutput { - return o -} - -func (o FlexibleGpuOutput) ToFlexibleGpuOutputWithContext(ctx context.Context) FlexibleGpuOutput { - return o -} - -// If true, the fGPU is deleted when the VM is terminated. -func (o FlexibleGpuOutput) DeleteOnVmDeletion() pulumi.BoolOutput { - return o.ApplyT(func(v *FlexibleGpu) pulumi.BoolOutput { return v.DeleteOnVmDeletion }).(pulumi.BoolOutput) -} - -// The ID of the fGPU. -func (o FlexibleGpuOutput) FlexibleGpuId() pulumi.StringOutput { - return o.ApplyT(func(v *FlexibleGpu) pulumi.StringOutput { return v.FlexibleGpuId }).(pulumi.StringOutput) -} - -// The processor generation that the fGPU must be compatible with. If not specified, the oldest possible processor generation is selected (as provided by [ReadFlexibleGpuCatalog](https://docs.outscale.com/api#readflexiblegpucatalog) for the specified model of fGPU). -func (o FlexibleGpuOutput) Generation() pulumi.StringOutput { - return o.ApplyT(func(v *FlexibleGpu) pulumi.StringOutput { return v.Generation }).(pulumi.StringOutput) -} - -// The model of fGPU you want to allocate. For more information, see [About Flexible GPUs](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html). -func (o FlexibleGpuOutput) ModelName() pulumi.StringOutput { - return o.ApplyT(func(v *FlexibleGpu) pulumi.StringOutput { return v.ModelName }).(pulumi.StringOutput) -} - -func (o FlexibleGpuOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *FlexibleGpu) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -// The state of the fGPU (`allocated` \| `attaching` \| `attached` \| `detaching`). -func (o FlexibleGpuOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v *FlexibleGpu) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) -} - -// The Subregion in which you want to create the fGPU. -func (o FlexibleGpuOutput) SubregionName() pulumi.StringOutput { - return o.ApplyT(func(v *FlexibleGpu) pulumi.StringOutput { return v.SubregionName }).(pulumi.StringOutput) -} - -// The ID of the VM the fGPU is attached to, if any. -func (o FlexibleGpuOutput) VmId() pulumi.StringOutput { - return o.ApplyT(func(v *FlexibleGpu) pulumi.StringOutput { return v.VmId }).(pulumi.StringOutput) -} - -type FlexibleGpuArrayOutput struct{ *pulumi.OutputState } - -func (FlexibleGpuArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*FlexibleGpu)(nil)).Elem() -} - -func (o FlexibleGpuArrayOutput) ToFlexibleGpuArrayOutput() FlexibleGpuArrayOutput { - return o -} - -func (o FlexibleGpuArrayOutput) ToFlexibleGpuArrayOutputWithContext(ctx context.Context) FlexibleGpuArrayOutput { - return o -} - -func (o FlexibleGpuArrayOutput) Index(i pulumi.IntInput) FlexibleGpuOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *FlexibleGpu { - return vs[0].([]*FlexibleGpu)[vs[1].(int)] - }).(FlexibleGpuOutput) -} - -type FlexibleGpuMapOutput struct{ *pulumi.OutputState } - -func (FlexibleGpuMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*FlexibleGpu)(nil)).Elem() -} - -func (o FlexibleGpuMapOutput) ToFlexibleGpuMapOutput() FlexibleGpuMapOutput { - return o -} - -func (o FlexibleGpuMapOutput) ToFlexibleGpuMapOutputWithContext(ctx context.Context) FlexibleGpuMapOutput { - return o -} - -func (o FlexibleGpuMapOutput) MapIndex(k pulumi.StringInput) FlexibleGpuOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *FlexibleGpu { - return vs[0].(map[string]*FlexibleGpu)[vs[1].(string)] - }).(FlexibleGpuOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*FlexibleGpuInput)(nil)).Elem(), &FlexibleGpu{}) - pulumi.RegisterInputType(reflect.TypeOf((*FlexibleGpuArrayInput)(nil)).Elem(), FlexibleGpuArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*FlexibleGpuMapInput)(nil)).Elem(), FlexibleGpuMap{}) - pulumi.RegisterOutputType(FlexibleGpuOutput{}) - pulumi.RegisterOutputType(FlexibleGpuArrayOutput{}) - pulumi.RegisterOutputType(FlexibleGpuMapOutput{}) -} diff --git a/sdk/go/outscale/flexibleGpuLink.go b/sdk/go/outscale/flexibleGpuLink.go deleted file mode 100644 index 543519a..0000000 --- a/sdk/go/outscale/flexibleGpuLink.go +++ /dev/null @@ -1,292 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "errors" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages a flexible GPU link. -// -// When linking a flexible GPU to a VM, the VM will automatically be stopped and started again. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-flexiblegpu). -// -// ## Example Usage -// ### Required resources -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewVm(ctx, "vm01", &outscale.VmArgs{ -// ImageId: pulumi.Any(ami_12345678), -// VmType: pulumi.Any(t2.Small), -// KeypairName: pulumi.Any(_var.Keypair_name), -// PlacementSubregionName: pulumi.String("eu-west-2a"), -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewFlexibleGpu(ctx, "flexibleGpu01", &outscale.FlexibleGpuArgs{ -// ModelName: pulumi.Any(_var.Model_name), -// Generation: pulumi.String("v4"), -// SubregionName: pulumi.String("eu-west-2a"), -// DeleteOnVmDeletion: pulumi.Bool(true), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// A flexible GPU link can be imported using the flexible GPU ID. For exampleconsole -// -// ```sh -// -// $ pulumi import outscale:index/flexibleGpuLink:FlexibleGpuLink imported_link_fgpu fgpu-12345678 -// -// ``` -type FlexibleGpuLink struct { - pulumi.CustomResourceState - - FlexibleGpuIds pulumi.StringArrayOutput `pulumi:"flexibleGpuIds"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - // The ID of the VM you want to attach the fGPU to. - VmId pulumi.StringOutput `pulumi:"vmId"` -} - -// NewFlexibleGpuLink registers a new resource with the given unique name, arguments, and options. -func NewFlexibleGpuLink(ctx *pulumi.Context, - name string, args *FlexibleGpuLinkArgs, opts ...pulumi.ResourceOption) (*FlexibleGpuLink, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.FlexibleGpuIds == nil { - return nil, errors.New("invalid value for required argument 'FlexibleGpuIds'") - } - if args.VmId == nil { - return nil, errors.New("invalid value for required argument 'VmId'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource FlexibleGpuLink - err := ctx.RegisterResource("outscale:index/flexibleGpuLink:FlexibleGpuLink", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetFlexibleGpuLink gets an existing FlexibleGpuLink resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetFlexibleGpuLink(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *FlexibleGpuLinkState, opts ...pulumi.ResourceOption) (*FlexibleGpuLink, error) { - var resource FlexibleGpuLink - err := ctx.ReadResource("outscale:index/flexibleGpuLink:FlexibleGpuLink", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering FlexibleGpuLink resources. -type flexibleGpuLinkState struct { - FlexibleGpuIds []string `pulumi:"flexibleGpuIds"` - RequestId *string `pulumi:"requestId"` - // The ID of the VM you want to attach the fGPU to. - VmId *string `pulumi:"vmId"` -} - -type FlexibleGpuLinkState struct { - FlexibleGpuIds pulumi.StringArrayInput - RequestId pulumi.StringPtrInput - // The ID of the VM you want to attach the fGPU to. - VmId pulumi.StringPtrInput -} - -func (FlexibleGpuLinkState) ElementType() reflect.Type { - return reflect.TypeOf((*flexibleGpuLinkState)(nil)).Elem() -} - -type flexibleGpuLinkArgs struct { - FlexibleGpuIds []string `pulumi:"flexibleGpuIds"` - // The ID of the VM you want to attach the fGPU to. - VmId string `pulumi:"vmId"` -} - -// The set of arguments for constructing a FlexibleGpuLink resource. -type FlexibleGpuLinkArgs struct { - FlexibleGpuIds pulumi.StringArrayInput - // The ID of the VM you want to attach the fGPU to. - VmId pulumi.StringInput -} - -func (FlexibleGpuLinkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*flexibleGpuLinkArgs)(nil)).Elem() -} - -type FlexibleGpuLinkInput interface { - pulumi.Input - - ToFlexibleGpuLinkOutput() FlexibleGpuLinkOutput - ToFlexibleGpuLinkOutputWithContext(ctx context.Context) FlexibleGpuLinkOutput -} - -func (*FlexibleGpuLink) ElementType() reflect.Type { - return reflect.TypeOf((**FlexibleGpuLink)(nil)).Elem() -} - -func (i *FlexibleGpuLink) ToFlexibleGpuLinkOutput() FlexibleGpuLinkOutput { - return i.ToFlexibleGpuLinkOutputWithContext(context.Background()) -} - -func (i *FlexibleGpuLink) ToFlexibleGpuLinkOutputWithContext(ctx context.Context) FlexibleGpuLinkOutput { - return pulumi.ToOutputWithContext(ctx, i).(FlexibleGpuLinkOutput) -} - -// FlexibleGpuLinkArrayInput is an input type that accepts FlexibleGpuLinkArray and FlexibleGpuLinkArrayOutput values. -// You can construct a concrete instance of `FlexibleGpuLinkArrayInput` via: -// -// FlexibleGpuLinkArray{ FlexibleGpuLinkArgs{...} } -type FlexibleGpuLinkArrayInput interface { - pulumi.Input - - ToFlexibleGpuLinkArrayOutput() FlexibleGpuLinkArrayOutput - ToFlexibleGpuLinkArrayOutputWithContext(context.Context) FlexibleGpuLinkArrayOutput -} - -type FlexibleGpuLinkArray []FlexibleGpuLinkInput - -func (FlexibleGpuLinkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*FlexibleGpuLink)(nil)).Elem() -} - -func (i FlexibleGpuLinkArray) ToFlexibleGpuLinkArrayOutput() FlexibleGpuLinkArrayOutput { - return i.ToFlexibleGpuLinkArrayOutputWithContext(context.Background()) -} - -func (i FlexibleGpuLinkArray) ToFlexibleGpuLinkArrayOutputWithContext(ctx context.Context) FlexibleGpuLinkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(FlexibleGpuLinkArrayOutput) -} - -// FlexibleGpuLinkMapInput is an input type that accepts FlexibleGpuLinkMap and FlexibleGpuLinkMapOutput values. -// You can construct a concrete instance of `FlexibleGpuLinkMapInput` via: -// -// FlexibleGpuLinkMap{ "key": FlexibleGpuLinkArgs{...} } -type FlexibleGpuLinkMapInput interface { - pulumi.Input - - ToFlexibleGpuLinkMapOutput() FlexibleGpuLinkMapOutput - ToFlexibleGpuLinkMapOutputWithContext(context.Context) FlexibleGpuLinkMapOutput -} - -type FlexibleGpuLinkMap map[string]FlexibleGpuLinkInput - -func (FlexibleGpuLinkMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*FlexibleGpuLink)(nil)).Elem() -} - -func (i FlexibleGpuLinkMap) ToFlexibleGpuLinkMapOutput() FlexibleGpuLinkMapOutput { - return i.ToFlexibleGpuLinkMapOutputWithContext(context.Background()) -} - -func (i FlexibleGpuLinkMap) ToFlexibleGpuLinkMapOutputWithContext(ctx context.Context) FlexibleGpuLinkMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(FlexibleGpuLinkMapOutput) -} - -type FlexibleGpuLinkOutput struct{ *pulumi.OutputState } - -func (FlexibleGpuLinkOutput) ElementType() reflect.Type { - return reflect.TypeOf((**FlexibleGpuLink)(nil)).Elem() -} - -func (o FlexibleGpuLinkOutput) ToFlexibleGpuLinkOutput() FlexibleGpuLinkOutput { - return o -} - -func (o FlexibleGpuLinkOutput) ToFlexibleGpuLinkOutputWithContext(ctx context.Context) FlexibleGpuLinkOutput { - return o -} - -func (o FlexibleGpuLinkOutput) FlexibleGpuIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v *FlexibleGpuLink) pulumi.StringArrayOutput { return v.FlexibleGpuIds }).(pulumi.StringArrayOutput) -} - -func (o FlexibleGpuLinkOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *FlexibleGpuLink) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -// The ID of the VM you want to attach the fGPU to. -func (o FlexibleGpuLinkOutput) VmId() pulumi.StringOutput { - return o.ApplyT(func(v *FlexibleGpuLink) pulumi.StringOutput { return v.VmId }).(pulumi.StringOutput) -} - -type FlexibleGpuLinkArrayOutput struct{ *pulumi.OutputState } - -func (FlexibleGpuLinkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*FlexibleGpuLink)(nil)).Elem() -} - -func (o FlexibleGpuLinkArrayOutput) ToFlexibleGpuLinkArrayOutput() FlexibleGpuLinkArrayOutput { - return o -} - -func (o FlexibleGpuLinkArrayOutput) ToFlexibleGpuLinkArrayOutputWithContext(ctx context.Context) FlexibleGpuLinkArrayOutput { - return o -} - -func (o FlexibleGpuLinkArrayOutput) Index(i pulumi.IntInput) FlexibleGpuLinkOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *FlexibleGpuLink { - return vs[0].([]*FlexibleGpuLink)[vs[1].(int)] - }).(FlexibleGpuLinkOutput) -} - -type FlexibleGpuLinkMapOutput struct{ *pulumi.OutputState } - -func (FlexibleGpuLinkMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*FlexibleGpuLink)(nil)).Elem() -} - -func (o FlexibleGpuLinkMapOutput) ToFlexibleGpuLinkMapOutput() FlexibleGpuLinkMapOutput { - return o -} - -func (o FlexibleGpuLinkMapOutput) ToFlexibleGpuLinkMapOutputWithContext(ctx context.Context) FlexibleGpuLinkMapOutput { - return o -} - -func (o FlexibleGpuLinkMapOutput) MapIndex(k pulumi.StringInput) FlexibleGpuLinkOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *FlexibleGpuLink { - return vs[0].(map[string]*FlexibleGpuLink)[vs[1].(string)] - }).(FlexibleGpuLinkOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*FlexibleGpuLinkInput)(nil)).Elem(), &FlexibleGpuLink{}) - pulumi.RegisterInputType(reflect.TypeOf((*FlexibleGpuLinkArrayInput)(nil)).Elem(), FlexibleGpuLinkArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*FlexibleGpuLinkMapInput)(nil)).Elem(), FlexibleGpuLinkMap{}) - pulumi.RegisterOutputType(FlexibleGpuLinkOutput{}) - pulumi.RegisterOutputType(FlexibleGpuLinkArrayOutput{}) - pulumi.RegisterOutputType(FlexibleGpuLinkMapOutput{}) -} diff --git a/sdk/go/outscale/getAccessKey.go b/sdk/go/outscale/getAccessKey.go deleted file mode 100644 index a608f59..0000000 --- a/sdk/go/outscale/getAccessKey.go +++ /dev/null @@ -1,171 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about an access key. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Access-Keys.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-accesskey). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.LookupAccessKey(ctx, &outscale.LookupAccessKeyArgs{ -// Filters: []outscale.GetAccessKeyFilter{ -// { -// Name: "access_key_ids", -// Values: []string{ -// "ABCDEFGHIJ0123456789", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func LookupAccessKey(ctx *pulumi.Context, args *LookupAccessKeyArgs, opts ...pulumi.InvokeOption) (*LookupAccessKeyResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupAccessKeyResult - err := ctx.Invoke("outscale:index/getAccessKey:getAccessKey", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getAccessKey. -type LookupAccessKeyArgs struct { - // The ID of the access key. - AccessKeyId *string `pulumi:"accessKeyId"` - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetAccessKeyFilter `pulumi:"filters"` - // The state of the access key (`ACTIVE` if the key is valid for API calls, or `INACTIVE` if not). - State *string `pulumi:"state"` -} - -// A collection of values returned by getAccessKey. -type LookupAccessKeyResult struct { - // The ID of the access key. - AccessKeyId *string `pulumi:"accessKeyId"` - // The date and time (UTC) of creation of the access key. - CreationDate string `pulumi:"creationDate"` - // The date (UTC) at which the access key expires. - ExpirationDate string `pulumi:"expirationDate"` - Filters []GetAccessKeyFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // The date and time (UTC) of the last modification of the access key. - LastModificationDate string `pulumi:"lastModificationDate"` - RequestId string `pulumi:"requestId"` - // The state of the access key (`ACTIVE` if the key is valid for API calls, or `INACTIVE` if not). - State *string `pulumi:"state"` -} - -func LookupAccessKeyOutput(ctx *pulumi.Context, args LookupAccessKeyOutputArgs, opts ...pulumi.InvokeOption) LookupAccessKeyResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAccessKeyResult, error) { - args := v.(LookupAccessKeyArgs) - r, err := LookupAccessKey(ctx, &args, opts...) - var s LookupAccessKeyResult - if r != nil { - s = *r - } - return s, err - }).(LookupAccessKeyResultOutput) -} - -// A collection of arguments for invoking getAccessKey. -type LookupAccessKeyOutputArgs struct { - // The ID of the access key. - AccessKeyId pulumi.StringPtrInput `pulumi:"accessKeyId"` - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetAccessKeyFilterArrayInput `pulumi:"filters"` - // The state of the access key (`ACTIVE` if the key is valid for API calls, or `INACTIVE` if not). - State pulumi.StringPtrInput `pulumi:"state"` -} - -func (LookupAccessKeyOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupAccessKeyArgs)(nil)).Elem() -} - -// A collection of values returned by getAccessKey. -type LookupAccessKeyResultOutput struct{ *pulumi.OutputState } - -func (LookupAccessKeyResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupAccessKeyResult)(nil)).Elem() -} - -func (o LookupAccessKeyResultOutput) ToLookupAccessKeyResultOutput() LookupAccessKeyResultOutput { - return o -} - -func (o LookupAccessKeyResultOutput) ToLookupAccessKeyResultOutputWithContext(ctx context.Context) LookupAccessKeyResultOutput { - return o -} - -// The ID of the access key. -func (o LookupAccessKeyResultOutput) AccessKeyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v LookupAccessKeyResult) *string { return v.AccessKeyId }).(pulumi.StringPtrOutput) -} - -// The date and time (UTC) of creation of the access key. -func (o LookupAccessKeyResultOutput) CreationDate() pulumi.StringOutput { - return o.ApplyT(func(v LookupAccessKeyResult) string { return v.CreationDate }).(pulumi.StringOutput) -} - -// The date (UTC) at which the access key expires. -func (o LookupAccessKeyResultOutput) ExpirationDate() pulumi.StringOutput { - return o.ApplyT(func(v LookupAccessKeyResult) string { return v.ExpirationDate }).(pulumi.StringOutput) -} - -func (o LookupAccessKeyResultOutput) Filters() GetAccessKeyFilterArrayOutput { - return o.ApplyT(func(v LookupAccessKeyResult) []GetAccessKeyFilter { return v.Filters }).(GetAccessKeyFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o LookupAccessKeyResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupAccessKeyResult) string { return v.Id }).(pulumi.StringOutput) -} - -// The date and time (UTC) of the last modification of the access key. -func (o LookupAccessKeyResultOutput) LastModificationDate() pulumi.StringOutput { - return o.ApplyT(func(v LookupAccessKeyResult) string { return v.LastModificationDate }).(pulumi.StringOutput) -} - -func (o LookupAccessKeyResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v LookupAccessKeyResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// The state of the access key (`ACTIVE` if the key is valid for API calls, or `INACTIVE` if not). -func (o LookupAccessKeyResultOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v LookupAccessKeyResult) *string { return v.State }).(pulumi.StringPtrOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupAccessKeyResultOutput{}) -} diff --git a/sdk/go/outscale/getAccessKeys.go b/sdk/go/outscale/getAccessKeys.go deleted file mode 100644 index b7727e2..0000000 --- a/sdk/go/outscale/getAccessKeys.go +++ /dev/null @@ -1,154 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about access keys. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Access-Keys.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-accesskey). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetAccessKeys(ctx, &outscale.GetAccessKeysArgs{ -// Filters: []outscale.GetAccessKeysFilter{ -// { -// Name: "access_key_ids", -// Values: []string{ -// "ABCDEFGHIJ0123456789", -// "0123456789ABCDEFGHIJ", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetAccessKeys(ctx *pulumi.Context, args *GetAccessKeysArgs, opts ...pulumi.InvokeOption) (*GetAccessKeysResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetAccessKeysResult - err := ctx.Invoke("outscale:index/getAccessKeys:getAccessKeys", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getAccessKeys. -type GetAccessKeysArgs struct { - // The IDs of the access keys. - AccessKeyIds []string `pulumi:"accessKeyIds"` - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetAccessKeysFilter `pulumi:"filters"` - // The states of the access keys (`ACTIVE` \| `INACTIVE`). - States []string `pulumi:"states"` -} - -// A collection of values returned by getAccessKeys. -type GetAccessKeysResult struct { - AccessKeyIds []string `pulumi:"accessKeyIds"` - // A list of access keys. - AccessKeys []GetAccessKeysAccessKey `pulumi:"accessKeys"` - Filters []GetAccessKeysFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - RequestId string `pulumi:"requestId"` - States []string `pulumi:"states"` -} - -func GetAccessKeysOutput(ctx *pulumi.Context, args GetAccessKeysOutputArgs, opts ...pulumi.InvokeOption) GetAccessKeysResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetAccessKeysResult, error) { - args := v.(GetAccessKeysArgs) - r, err := GetAccessKeys(ctx, &args, opts...) - var s GetAccessKeysResult - if r != nil { - s = *r - } - return s, err - }).(GetAccessKeysResultOutput) -} - -// A collection of arguments for invoking getAccessKeys. -type GetAccessKeysOutputArgs struct { - // The IDs of the access keys. - AccessKeyIds pulumi.StringArrayInput `pulumi:"accessKeyIds"` - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetAccessKeysFilterArrayInput `pulumi:"filters"` - // The states of the access keys (`ACTIVE` \| `INACTIVE`). - States pulumi.StringArrayInput `pulumi:"states"` -} - -func (GetAccessKeysOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetAccessKeysArgs)(nil)).Elem() -} - -// A collection of values returned by getAccessKeys. -type GetAccessKeysResultOutput struct{ *pulumi.OutputState } - -func (GetAccessKeysResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetAccessKeysResult)(nil)).Elem() -} - -func (o GetAccessKeysResultOutput) ToGetAccessKeysResultOutput() GetAccessKeysResultOutput { - return o -} - -func (o GetAccessKeysResultOutput) ToGetAccessKeysResultOutputWithContext(ctx context.Context) GetAccessKeysResultOutput { - return o -} - -func (o GetAccessKeysResultOutput) AccessKeyIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetAccessKeysResult) []string { return v.AccessKeyIds }).(pulumi.StringArrayOutput) -} - -// A list of access keys. -func (o GetAccessKeysResultOutput) AccessKeys() GetAccessKeysAccessKeyArrayOutput { - return o.ApplyT(func(v GetAccessKeysResult) []GetAccessKeysAccessKey { return v.AccessKeys }).(GetAccessKeysAccessKeyArrayOutput) -} - -func (o GetAccessKeysResultOutput) Filters() GetAccessKeysFilterArrayOutput { - return o.ApplyT(func(v GetAccessKeysResult) []GetAccessKeysFilter { return v.Filters }).(GetAccessKeysFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetAccessKeysResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetAccessKeysResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o GetAccessKeysResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetAccessKeysResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -func (o GetAccessKeysResultOutput) States() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetAccessKeysResult) []string { return v.States }).(pulumi.StringArrayOutput) -} - -func init() { - pulumi.RegisterOutputType(GetAccessKeysResultOutput{}) -} diff --git a/sdk/go/outscale/getAccount.go b/sdk/go/outscale/getAccount.go deleted file mode 100644 index 87a2158..0000000 --- a/sdk/go/outscale/getAccount.go +++ /dev/null @@ -1,201 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about an account. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Your-Account.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-account). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetAccount(ctx, nil, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetAccount(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetAccountResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetAccountResult - err := ctx.Invoke("outscale:index/getAccount:getAccount", nil, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of values returned by getAccount. -type GetAccountResult struct { - // The ID of the account. - AccountId string `pulumi:"accountId"` - // One or more additional email addresses for the account. These addresses are used for notifications only. - AdditionalEmails []string `pulumi:"additionalEmails"` - // The city of the account owner. - City string `pulumi:"city"` - // The name of the company for the account. - CompanyName string `pulumi:"companyName"` - // The country of the account owner. - Country string `pulumi:"country"` - // The ID of the customer. - CustomerId string `pulumi:"customerId"` - // The main email address for the account. This address is used for your credentials and for notifications. - Email string `pulumi:"email"` - // The first name of the account owner. - FirstName string `pulumi:"firstName"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // The job title of the account owner. - JobTitle string `pulumi:"jobTitle"` - // The last name of the account owner. - LastName string `pulumi:"lastName"` - // The mobile phone number of the account owner. - MobileNumber string `pulumi:"mobileNumber"` - // The landline phone number of the account owner. - PhoneNumber string `pulumi:"phoneNumber"` - RequestId string `pulumi:"requestId"` - // The state/province of the account. - StateProvince string `pulumi:"stateProvince"` - // The value added tax (VAT) number for the account. - VatNumber string `pulumi:"vatNumber"` - // The ZIP code of the city. - ZipCode string `pulumi:"zipCode"` -} - -func GetAccountOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetAccountResultOutput { - return pulumi.ToOutput(0).ApplyT(func(int) (GetAccountResult, error) { - r, err := GetAccount(ctx, opts...) - var s GetAccountResult - if r != nil { - s = *r - } - return s, err - }).(GetAccountResultOutput) -} - -// A collection of values returned by getAccount. -type GetAccountResultOutput struct{ *pulumi.OutputState } - -func (GetAccountResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetAccountResult)(nil)).Elem() -} - -func (o GetAccountResultOutput) ToGetAccountResultOutput() GetAccountResultOutput { - return o -} - -func (o GetAccountResultOutput) ToGetAccountResultOutputWithContext(ctx context.Context) GetAccountResultOutput { - return o -} - -// The ID of the account. -func (o GetAccountResultOutput) AccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetAccountResult) string { return v.AccountId }).(pulumi.StringOutput) -} - -// One or more additional email addresses for the account. These addresses are used for notifications only. -func (o GetAccountResultOutput) AdditionalEmails() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetAccountResult) []string { return v.AdditionalEmails }).(pulumi.StringArrayOutput) -} - -// The city of the account owner. -func (o GetAccountResultOutput) City() pulumi.StringOutput { - return o.ApplyT(func(v GetAccountResult) string { return v.City }).(pulumi.StringOutput) -} - -// The name of the company for the account. -func (o GetAccountResultOutput) CompanyName() pulumi.StringOutput { - return o.ApplyT(func(v GetAccountResult) string { return v.CompanyName }).(pulumi.StringOutput) -} - -// The country of the account owner. -func (o GetAccountResultOutput) Country() pulumi.StringOutput { - return o.ApplyT(func(v GetAccountResult) string { return v.Country }).(pulumi.StringOutput) -} - -// The ID of the customer. -func (o GetAccountResultOutput) CustomerId() pulumi.StringOutput { - return o.ApplyT(func(v GetAccountResult) string { return v.CustomerId }).(pulumi.StringOutput) -} - -// The main email address for the account. This address is used for your credentials and for notifications. -func (o GetAccountResultOutput) Email() pulumi.StringOutput { - return o.ApplyT(func(v GetAccountResult) string { return v.Email }).(pulumi.StringOutput) -} - -// The first name of the account owner. -func (o GetAccountResultOutput) FirstName() pulumi.StringOutput { - return o.ApplyT(func(v GetAccountResult) string { return v.FirstName }).(pulumi.StringOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetAccountResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetAccountResult) string { return v.Id }).(pulumi.StringOutput) -} - -// The job title of the account owner. -func (o GetAccountResultOutput) JobTitle() pulumi.StringOutput { - return o.ApplyT(func(v GetAccountResult) string { return v.JobTitle }).(pulumi.StringOutput) -} - -// The last name of the account owner. -func (o GetAccountResultOutput) LastName() pulumi.StringOutput { - return o.ApplyT(func(v GetAccountResult) string { return v.LastName }).(pulumi.StringOutput) -} - -// The mobile phone number of the account owner. -func (o GetAccountResultOutput) MobileNumber() pulumi.StringOutput { - return o.ApplyT(func(v GetAccountResult) string { return v.MobileNumber }).(pulumi.StringOutput) -} - -// The landline phone number of the account owner. -func (o GetAccountResultOutput) PhoneNumber() pulumi.StringOutput { - return o.ApplyT(func(v GetAccountResult) string { return v.PhoneNumber }).(pulumi.StringOutput) -} - -func (o GetAccountResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetAccountResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// The state/province of the account. -func (o GetAccountResultOutput) StateProvince() pulumi.StringOutput { - return o.ApplyT(func(v GetAccountResult) string { return v.StateProvince }).(pulumi.StringOutput) -} - -// The value added tax (VAT) number for the account. -func (o GetAccountResultOutput) VatNumber() pulumi.StringOutput { - return o.ApplyT(func(v GetAccountResult) string { return v.VatNumber }).(pulumi.StringOutput) -} - -// The ZIP code of the city. -func (o GetAccountResultOutput) ZipCode() pulumi.StringOutput { - return o.ApplyT(func(v GetAccountResult) string { return v.ZipCode }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(GetAccountResultOutput{}) -} diff --git a/sdk/go/outscale/getAccounts.go b/sdk/go/outscale/getAccounts.go deleted file mode 100644 index 462db62..0000000 --- a/sdk/go/outscale/getAccounts.go +++ /dev/null @@ -1,103 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about accounts. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Your-Account.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-account). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetAccounts(ctx, nil, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetAccounts(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetAccountsResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetAccountsResult - err := ctx.Invoke("outscale:index/getAccounts:getAccounts", nil, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of values returned by getAccounts. -type GetAccountsResult struct { - // The list of the accounts. - Accounts []GetAccountsAccount `pulumi:"accounts"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - RequestId string `pulumi:"requestId"` -} - -func GetAccountsOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetAccountsResultOutput { - return pulumi.ToOutput(0).ApplyT(func(int) (GetAccountsResult, error) { - r, err := GetAccounts(ctx, opts...) - var s GetAccountsResult - if r != nil { - s = *r - } - return s, err - }).(GetAccountsResultOutput) -} - -// A collection of values returned by getAccounts. -type GetAccountsResultOutput struct{ *pulumi.OutputState } - -func (GetAccountsResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetAccountsResult)(nil)).Elem() -} - -func (o GetAccountsResultOutput) ToGetAccountsResultOutput() GetAccountsResultOutput { - return o -} - -func (o GetAccountsResultOutput) ToGetAccountsResultOutputWithContext(ctx context.Context) GetAccountsResultOutput { - return o -} - -// The list of the accounts. -func (o GetAccountsResultOutput) Accounts() GetAccountsAccountArrayOutput { - return o.ApplyT(func(v GetAccountsResult) []GetAccountsAccount { return v.Accounts }).(GetAccountsAccountArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetAccountsResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetAccountsResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o GetAccountsResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetAccountsResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(GetAccountsResultOutput{}) -} diff --git a/sdk/go/outscale/getApiAccessPolicy.go b/sdk/go/outscale/getApiAccessPolicy.go deleted file mode 100644 index 5ccff8d..0000000 --- a/sdk/go/outscale/getApiAccessPolicy.go +++ /dev/null @@ -1,110 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about the API access policy. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Your-API-Access-Policy.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-apiaccesspolicy). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.LookupApiAccessPolicy(ctx, nil, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func LookupApiAccessPolicy(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*LookupApiAccessPolicyResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupApiAccessPolicyResult - err := ctx.Invoke("outscale:index/getApiAccessPolicy:getApiAccessPolicy", nil, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of values returned by getApiAccessPolicy. -type LookupApiAccessPolicyResult struct { - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // The maximum possible lifetime for your access keys, in seconds. If `0`, your access keys can have unlimited lifetimes. - MaxAccessKeyExpirationSeconds int `pulumi:"maxAccessKeyExpirationSeconds"` - RequestId string `pulumi:"requestId"` - // If true, a trusted session is activated, allowing you to bypass Certificate Authorities (CAs) enforcement. For more information, see the `ApiKeyAuth` authentication scheme in the [Authentication](https://docs.outscale.com/api#authentication) section. - RequireTrustedEnv bool `pulumi:"requireTrustedEnv"` -} - -func LookupApiAccessPolicyOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) LookupApiAccessPolicyResultOutput { - return pulumi.ToOutput(0).ApplyT(func(int) (LookupApiAccessPolicyResult, error) { - r, err := LookupApiAccessPolicy(ctx, opts...) - var s LookupApiAccessPolicyResult - if r != nil { - s = *r - } - return s, err - }).(LookupApiAccessPolicyResultOutput) -} - -// A collection of values returned by getApiAccessPolicy. -type LookupApiAccessPolicyResultOutput struct{ *pulumi.OutputState } - -func (LookupApiAccessPolicyResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupApiAccessPolicyResult)(nil)).Elem() -} - -func (o LookupApiAccessPolicyResultOutput) ToLookupApiAccessPolicyResultOutput() LookupApiAccessPolicyResultOutput { - return o -} - -func (o LookupApiAccessPolicyResultOutput) ToLookupApiAccessPolicyResultOutputWithContext(ctx context.Context) LookupApiAccessPolicyResultOutput { - return o -} - -// The provider-assigned unique ID for this managed resource. -func (o LookupApiAccessPolicyResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupApiAccessPolicyResult) string { return v.Id }).(pulumi.StringOutput) -} - -// The maximum possible lifetime for your access keys, in seconds. If `0`, your access keys can have unlimited lifetimes. -func (o LookupApiAccessPolicyResultOutput) MaxAccessKeyExpirationSeconds() pulumi.IntOutput { - return o.ApplyT(func(v LookupApiAccessPolicyResult) int { return v.MaxAccessKeyExpirationSeconds }).(pulumi.IntOutput) -} - -func (o LookupApiAccessPolicyResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v LookupApiAccessPolicyResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// If true, a trusted session is activated, allowing you to bypass Certificate Authorities (CAs) enforcement. For more information, see the `ApiKeyAuth` authentication scheme in the [Authentication](https://docs.outscale.com/api#authentication) section. -func (o LookupApiAccessPolicyResultOutput) RequireTrustedEnv() pulumi.BoolOutput { - return o.ApplyT(func(v LookupApiAccessPolicyResult) bool { return v.RequireTrustedEnv }).(pulumi.BoolOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupApiAccessPolicyResultOutput{}) -} diff --git a/sdk/go/outscale/getApiAccessRule.go b/sdk/go/outscale/getApiAccessRule.go deleted file mode 100644 index 03008b7..0000000 --- a/sdk/go/outscale/getApiAccessRule.go +++ /dev/null @@ -1,163 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about an API access rule. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-API-Access-Rules.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-apiaccessrule). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.LookupApiAccessRule(ctx, &outscale.LookupApiAccessRuleArgs{ -// Filters: []outscale.GetApiAccessRuleFilter{ -// { -// Name: "api_access_rule_ids", -// Values: []string{ -// "aar-12345678", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func LookupApiAccessRule(ctx *pulumi.Context, args *LookupApiAccessRuleArgs, opts ...pulumi.InvokeOption) (*LookupApiAccessRuleResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupApiAccessRuleResult - err := ctx.Invoke("outscale:index/getApiAccessRule:getApiAccessRule", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getApiAccessRule. -type LookupApiAccessRuleArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetApiAccessRuleFilter `pulumi:"filters"` -} - -// A collection of values returned by getApiAccessRule. -type LookupApiAccessRuleResult struct { - // The ID of the API access rule. - ApiAccessRuleId string `pulumi:"apiAccessRuleId"` - // One or more IDs of Client Certificate Authorities (CAs) used for the API access rule. - CaIds []string `pulumi:"caIds"` - // One or more Client Certificate Common Names (CNs). - Cns []string `pulumi:"cns"` - // The description of the API access rule. - Description string `pulumi:"description"` - Filters []GetApiAccessRuleFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // One or more IP ranges used for the API access rule, in CIDR notation (for example, `192.0.2.0/16`). - IpRanges []string `pulumi:"ipRanges"` - RequestId string `pulumi:"requestId"` -} - -func LookupApiAccessRuleOutput(ctx *pulumi.Context, args LookupApiAccessRuleOutputArgs, opts ...pulumi.InvokeOption) LookupApiAccessRuleResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupApiAccessRuleResult, error) { - args := v.(LookupApiAccessRuleArgs) - r, err := LookupApiAccessRule(ctx, &args, opts...) - var s LookupApiAccessRuleResult - if r != nil { - s = *r - } - return s, err - }).(LookupApiAccessRuleResultOutput) -} - -// A collection of arguments for invoking getApiAccessRule. -type LookupApiAccessRuleOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetApiAccessRuleFilterArrayInput `pulumi:"filters"` -} - -func (LookupApiAccessRuleOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupApiAccessRuleArgs)(nil)).Elem() -} - -// A collection of values returned by getApiAccessRule. -type LookupApiAccessRuleResultOutput struct{ *pulumi.OutputState } - -func (LookupApiAccessRuleResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupApiAccessRuleResult)(nil)).Elem() -} - -func (o LookupApiAccessRuleResultOutput) ToLookupApiAccessRuleResultOutput() LookupApiAccessRuleResultOutput { - return o -} - -func (o LookupApiAccessRuleResultOutput) ToLookupApiAccessRuleResultOutputWithContext(ctx context.Context) LookupApiAccessRuleResultOutput { - return o -} - -// The ID of the API access rule. -func (o LookupApiAccessRuleResultOutput) ApiAccessRuleId() pulumi.StringOutput { - return o.ApplyT(func(v LookupApiAccessRuleResult) string { return v.ApiAccessRuleId }).(pulumi.StringOutput) -} - -// One or more IDs of Client Certificate Authorities (CAs) used for the API access rule. -func (o LookupApiAccessRuleResultOutput) CaIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v LookupApiAccessRuleResult) []string { return v.CaIds }).(pulumi.StringArrayOutput) -} - -// One or more Client Certificate Common Names (CNs). -func (o LookupApiAccessRuleResultOutput) Cns() pulumi.StringArrayOutput { - return o.ApplyT(func(v LookupApiAccessRuleResult) []string { return v.Cns }).(pulumi.StringArrayOutput) -} - -// The description of the API access rule. -func (o LookupApiAccessRuleResultOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v LookupApiAccessRuleResult) string { return v.Description }).(pulumi.StringOutput) -} - -func (o LookupApiAccessRuleResultOutput) Filters() GetApiAccessRuleFilterArrayOutput { - return o.ApplyT(func(v LookupApiAccessRuleResult) []GetApiAccessRuleFilter { return v.Filters }).(GetApiAccessRuleFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o LookupApiAccessRuleResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupApiAccessRuleResult) string { return v.Id }).(pulumi.StringOutput) -} - -// One or more IP ranges used for the API access rule, in CIDR notation (for example, `192.0.2.0/16`). -func (o LookupApiAccessRuleResultOutput) IpRanges() pulumi.StringArrayOutput { - return o.ApplyT(func(v LookupApiAccessRuleResult) []string { return v.IpRanges }).(pulumi.StringArrayOutput) -} - -func (o LookupApiAccessRuleResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v LookupApiAccessRuleResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupApiAccessRuleResultOutput{}) -} diff --git a/sdk/go/outscale/getApiAccessRules.go b/sdk/go/outscale/getApiAccessRules.go deleted file mode 100644 index 77801cf..0000000 --- a/sdk/go/outscale/getApiAccessRules.go +++ /dev/null @@ -1,142 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about API access rules. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-API-Access-Rules.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-apiaccessrule). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetApiAccessRules(ctx, &outscale.GetApiAccessRulesArgs{ -// Filters: []outscale.GetApiAccessRulesFilter{ -// { -// Name: "ca_ids", -// Values: []string{ -// "ca-12345678", -// "ca-87654321", -// }, -// }, -// { -// Name: "ip_ranges", -// Values: []string{ -// "192.0.2.0/16", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetApiAccessRules(ctx *pulumi.Context, args *GetApiAccessRulesArgs, opts ...pulumi.InvokeOption) (*GetApiAccessRulesResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetApiAccessRulesResult - err := ctx.Invoke("outscale:index/getApiAccessRules:getApiAccessRules", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getApiAccessRules. -type GetApiAccessRulesArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetApiAccessRulesFilter `pulumi:"filters"` -} - -// A collection of values returned by getApiAccessRules. -type GetApiAccessRulesResult struct { - // A list of API access rules. - ApiAccessRules []GetApiAccessRulesApiAccessRule `pulumi:"apiAccessRules"` - Filters []GetApiAccessRulesFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - RequestId string `pulumi:"requestId"` -} - -func GetApiAccessRulesOutput(ctx *pulumi.Context, args GetApiAccessRulesOutputArgs, opts ...pulumi.InvokeOption) GetApiAccessRulesResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetApiAccessRulesResult, error) { - args := v.(GetApiAccessRulesArgs) - r, err := GetApiAccessRules(ctx, &args, opts...) - var s GetApiAccessRulesResult - if r != nil { - s = *r - } - return s, err - }).(GetApiAccessRulesResultOutput) -} - -// A collection of arguments for invoking getApiAccessRules. -type GetApiAccessRulesOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetApiAccessRulesFilterArrayInput `pulumi:"filters"` -} - -func (GetApiAccessRulesOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetApiAccessRulesArgs)(nil)).Elem() -} - -// A collection of values returned by getApiAccessRules. -type GetApiAccessRulesResultOutput struct{ *pulumi.OutputState } - -func (GetApiAccessRulesResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetApiAccessRulesResult)(nil)).Elem() -} - -func (o GetApiAccessRulesResultOutput) ToGetApiAccessRulesResultOutput() GetApiAccessRulesResultOutput { - return o -} - -func (o GetApiAccessRulesResultOutput) ToGetApiAccessRulesResultOutputWithContext(ctx context.Context) GetApiAccessRulesResultOutput { - return o -} - -// A list of API access rules. -func (o GetApiAccessRulesResultOutput) ApiAccessRules() GetApiAccessRulesApiAccessRuleArrayOutput { - return o.ApplyT(func(v GetApiAccessRulesResult) []GetApiAccessRulesApiAccessRule { return v.ApiAccessRules }).(GetApiAccessRulesApiAccessRuleArrayOutput) -} - -func (o GetApiAccessRulesResultOutput) Filters() GetApiAccessRulesFilterArrayOutput { - return o.ApplyT(func(v GetApiAccessRulesResult) []GetApiAccessRulesFilter { return v.Filters }).(GetApiAccessRulesFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetApiAccessRulesResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetApiAccessRulesResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o GetApiAccessRulesResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetApiAccessRulesResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(GetApiAccessRulesResultOutput{}) -} diff --git a/sdk/go/outscale/getCa.go b/sdk/go/outscale/getCa.go deleted file mode 100644 index 93b2bf5..0000000 --- a/sdk/go/outscale/getCa.go +++ /dev/null @@ -1,154 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about a Certificate Authority (CA). -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-API-Access-Rules.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-ca). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.LookupCa(ctx, &outscale.LookupCaArgs{ -// Filters: []outscale.GetCaFilter{ -// { -// Name: "ca_ids", -// Values: []string{ -// "ca-12345678", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func LookupCa(ctx *pulumi.Context, args *LookupCaArgs, opts ...pulumi.InvokeOption) (*LookupCaResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupCaResult - err := ctx.Invoke("outscale:index/getCa:getCa", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getCa. -type LookupCaArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetCaFilter `pulumi:"filters"` -} - -// A collection of values returned by getCa. -type LookupCaResult struct { - // The fingerprint of the CA. - CaFingerprint string `pulumi:"caFingerprint"` - // The ID of the CA. - CaId string `pulumi:"caId"` - CaPem string `pulumi:"caPem"` - // The description of the CA. - Description string `pulumi:"description"` - Filters []GetCaFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - RequestId string `pulumi:"requestId"` -} - -func LookupCaOutput(ctx *pulumi.Context, args LookupCaOutputArgs, opts ...pulumi.InvokeOption) LookupCaResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupCaResult, error) { - args := v.(LookupCaArgs) - r, err := LookupCa(ctx, &args, opts...) - var s LookupCaResult - if r != nil { - s = *r - } - return s, err - }).(LookupCaResultOutput) -} - -// A collection of arguments for invoking getCa. -type LookupCaOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetCaFilterArrayInput `pulumi:"filters"` -} - -func (LookupCaOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupCaArgs)(nil)).Elem() -} - -// A collection of values returned by getCa. -type LookupCaResultOutput struct{ *pulumi.OutputState } - -func (LookupCaResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupCaResult)(nil)).Elem() -} - -func (o LookupCaResultOutput) ToLookupCaResultOutput() LookupCaResultOutput { - return o -} - -func (o LookupCaResultOutput) ToLookupCaResultOutputWithContext(ctx context.Context) LookupCaResultOutput { - return o -} - -// The fingerprint of the CA. -func (o LookupCaResultOutput) CaFingerprint() pulumi.StringOutput { - return o.ApplyT(func(v LookupCaResult) string { return v.CaFingerprint }).(pulumi.StringOutput) -} - -// The ID of the CA. -func (o LookupCaResultOutput) CaId() pulumi.StringOutput { - return o.ApplyT(func(v LookupCaResult) string { return v.CaId }).(pulumi.StringOutput) -} - -func (o LookupCaResultOutput) CaPem() pulumi.StringOutput { - return o.ApplyT(func(v LookupCaResult) string { return v.CaPem }).(pulumi.StringOutput) -} - -// The description of the CA. -func (o LookupCaResultOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v LookupCaResult) string { return v.Description }).(pulumi.StringOutput) -} - -func (o LookupCaResultOutput) Filters() GetCaFilterArrayOutput { - return o.ApplyT(func(v LookupCaResult) []GetCaFilter { return v.Filters }).(GetCaFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o LookupCaResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupCaResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o LookupCaResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v LookupCaResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupCaResultOutput{}) -} diff --git a/sdk/go/outscale/getCas.go b/sdk/go/outscale/getCas.go deleted file mode 100644 index 765d57a..0000000 --- a/sdk/go/outscale/getCas.go +++ /dev/null @@ -1,136 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about Certificate Authorities (CAs). -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-API-Access-Rules.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-ca). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetCas(ctx, &outscale.GetCasArgs{ -// Filters: []outscale.GetCasFilter{ -// { -// Name: "ca_ids", -// Values: []string{ -// "ca-12345678", -// "ca-87654321", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetCas(ctx *pulumi.Context, args *GetCasArgs, opts ...pulumi.InvokeOption) (*GetCasResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetCasResult - err := ctx.Invoke("outscale:index/getCas:getCas", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getCas. -type GetCasArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetCasFilter `pulumi:"filters"` -} - -// A collection of values returned by getCas. -type GetCasResult struct { - // Information about one or more CAs. - Cas []GetCasCa `pulumi:"cas"` - Filters []GetCasFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - RequestId string `pulumi:"requestId"` -} - -func GetCasOutput(ctx *pulumi.Context, args GetCasOutputArgs, opts ...pulumi.InvokeOption) GetCasResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetCasResult, error) { - args := v.(GetCasArgs) - r, err := GetCas(ctx, &args, opts...) - var s GetCasResult - if r != nil { - s = *r - } - return s, err - }).(GetCasResultOutput) -} - -// A collection of arguments for invoking getCas. -type GetCasOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetCasFilterArrayInput `pulumi:"filters"` -} - -func (GetCasOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetCasArgs)(nil)).Elem() -} - -// A collection of values returned by getCas. -type GetCasResultOutput struct{ *pulumi.OutputState } - -func (GetCasResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetCasResult)(nil)).Elem() -} - -func (o GetCasResultOutput) ToGetCasResultOutput() GetCasResultOutput { - return o -} - -func (o GetCasResultOutput) ToGetCasResultOutputWithContext(ctx context.Context) GetCasResultOutput { - return o -} - -// Information about one or more CAs. -func (o GetCasResultOutput) Cas() GetCasCaArrayOutput { - return o.ApplyT(func(v GetCasResult) []GetCasCa { return v.Cas }).(GetCasCaArrayOutput) -} - -func (o GetCasResultOutput) Filters() GetCasFilterArrayOutput { - return o.ApplyT(func(v GetCasResult) []GetCasFilter { return v.Filters }).(GetCasFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetCasResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetCasResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o GetCasResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetCasResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(GetCasResultOutput{}) -} diff --git a/sdk/go/outscale/getClientGateway.go b/sdk/go/outscale/getClientGateway.go deleted file mode 100644 index 50fe835..0000000 --- a/sdk/go/outscale/getClientGateway.go +++ /dev/null @@ -1,174 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about a client gateway. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Customer-Gateways.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-clientgateway). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.LookupClientGateway(ctx, &outscale.LookupClientGatewayArgs{ -// Filters: []outscale.GetClientGatewayFilter{ -// { -// Name: "client_gateway_ids", -// Values: []string{ -// "cgw-12345678", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func LookupClientGateway(ctx *pulumi.Context, args *LookupClientGatewayArgs, opts ...pulumi.InvokeOption) (*LookupClientGatewayResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupClientGatewayResult - err := ctx.Invoke("outscale:index/getClientGateway:getClientGateway", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getClientGateway. -type LookupClientGatewayArgs struct { - // The ID of the client gateway. - ClientGatewayId *string `pulumi:"clientGatewayId"` - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetClientGatewayFilter `pulumi:"filters"` -} - -// A collection of values returned by getClientGateway. -type LookupClientGatewayResult struct { - // The Autonomous System Number (ASN) used by the Border Gateway Protocol (BGP) to find the path to your client gateway through the Internet. - BgpAsn int `pulumi:"bgpAsn"` - // The ID of the client gateway. - ClientGatewayId *string `pulumi:"clientGatewayId"` - // The type of communication tunnel used by the client gateway (only `ipsec.1` is supported). - ConnectionType string `pulumi:"connectionType"` - Filters []GetClientGatewayFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // The public IPv4 address of the client gateway (must be a fixed address into a NATed network). - PublicIp string `pulumi:"publicIp"` - RequestId string `pulumi:"requestId"` - // The state of the client gateway (`pending` \| `available` \| `deleting` \| `deleted`). - State string `pulumi:"state"` - // One or more tags associated with the client gateway. - Tags []GetClientGatewayTag `pulumi:"tags"` -} - -func LookupClientGatewayOutput(ctx *pulumi.Context, args LookupClientGatewayOutputArgs, opts ...pulumi.InvokeOption) LookupClientGatewayResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupClientGatewayResult, error) { - args := v.(LookupClientGatewayArgs) - r, err := LookupClientGateway(ctx, &args, opts...) - var s LookupClientGatewayResult - if r != nil { - s = *r - } - return s, err - }).(LookupClientGatewayResultOutput) -} - -// A collection of arguments for invoking getClientGateway. -type LookupClientGatewayOutputArgs struct { - // The ID of the client gateway. - ClientGatewayId pulumi.StringPtrInput `pulumi:"clientGatewayId"` - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetClientGatewayFilterArrayInput `pulumi:"filters"` -} - -func (LookupClientGatewayOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupClientGatewayArgs)(nil)).Elem() -} - -// A collection of values returned by getClientGateway. -type LookupClientGatewayResultOutput struct{ *pulumi.OutputState } - -func (LookupClientGatewayResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupClientGatewayResult)(nil)).Elem() -} - -func (o LookupClientGatewayResultOutput) ToLookupClientGatewayResultOutput() LookupClientGatewayResultOutput { - return o -} - -func (o LookupClientGatewayResultOutput) ToLookupClientGatewayResultOutputWithContext(ctx context.Context) LookupClientGatewayResultOutput { - return o -} - -// The Autonomous System Number (ASN) used by the Border Gateway Protocol (BGP) to find the path to your client gateway through the Internet. -func (o LookupClientGatewayResultOutput) BgpAsn() pulumi.IntOutput { - return o.ApplyT(func(v LookupClientGatewayResult) int { return v.BgpAsn }).(pulumi.IntOutput) -} - -// The ID of the client gateway. -func (o LookupClientGatewayResultOutput) ClientGatewayId() pulumi.StringPtrOutput { - return o.ApplyT(func(v LookupClientGatewayResult) *string { return v.ClientGatewayId }).(pulumi.StringPtrOutput) -} - -// The type of communication tunnel used by the client gateway (only `ipsec.1` is supported). -func (o LookupClientGatewayResultOutput) ConnectionType() pulumi.StringOutput { - return o.ApplyT(func(v LookupClientGatewayResult) string { return v.ConnectionType }).(pulumi.StringOutput) -} - -func (o LookupClientGatewayResultOutput) Filters() GetClientGatewayFilterArrayOutput { - return o.ApplyT(func(v LookupClientGatewayResult) []GetClientGatewayFilter { return v.Filters }).(GetClientGatewayFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o LookupClientGatewayResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupClientGatewayResult) string { return v.Id }).(pulumi.StringOutput) -} - -// The public IPv4 address of the client gateway (must be a fixed address into a NATed network). -func (o LookupClientGatewayResultOutput) PublicIp() pulumi.StringOutput { - return o.ApplyT(func(v LookupClientGatewayResult) string { return v.PublicIp }).(pulumi.StringOutput) -} - -func (o LookupClientGatewayResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v LookupClientGatewayResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// The state of the client gateway (`pending` \| `available` \| `deleting` \| `deleted`). -func (o LookupClientGatewayResultOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v LookupClientGatewayResult) string { return v.State }).(pulumi.StringOutput) -} - -// One or more tags associated with the client gateway. -func (o LookupClientGatewayResultOutput) Tags() GetClientGatewayTagArrayOutput { - return o.ApplyT(func(v LookupClientGatewayResult) []GetClientGatewayTag { return v.Tags }).(GetClientGatewayTagArrayOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupClientGatewayResultOutput{}) -} diff --git a/sdk/go/outscale/getClientGateways.go b/sdk/go/outscale/getClientGateways.go deleted file mode 100644 index 3bb1eae..0000000 --- a/sdk/go/outscale/getClientGateways.go +++ /dev/null @@ -1,151 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about client gateways. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Customer-Gateways.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-clientgateway). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetClientGateways(ctx, &outscale.GetClientGatewaysArgs{ -// Filters: []outscale.GetClientGatewaysFilter{ -// { -// Name: "bgp_asns", -// Values: []string{ -// "65000", -// }, -// }, -// { -// Name: "public_ips", -// Values: []string{ -// "111.11.111.1", -// "222.22.222.2", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetClientGateways(ctx *pulumi.Context, args *GetClientGatewaysArgs, opts ...pulumi.InvokeOption) (*GetClientGatewaysResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetClientGatewaysResult - err := ctx.Invoke("outscale:index/getClientGateways:getClientGateways", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getClientGateways. -type GetClientGatewaysArgs struct { - // The IDs of the client gateways. - ClientGatewayIds []string `pulumi:"clientGatewayIds"` - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetClientGatewaysFilter `pulumi:"filters"` -} - -// A collection of values returned by getClientGateways. -type GetClientGatewaysResult struct { - ClientGatewayIds []string `pulumi:"clientGatewayIds"` - // Information about one or more client gateways. - ClientGateways []GetClientGatewaysClientGateway `pulumi:"clientGateways"` - Filters []GetClientGatewaysFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - RequestId string `pulumi:"requestId"` -} - -func GetClientGatewaysOutput(ctx *pulumi.Context, args GetClientGatewaysOutputArgs, opts ...pulumi.InvokeOption) GetClientGatewaysResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetClientGatewaysResult, error) { - args := v.(GetClientGatewaysArgs) - r, err := GetClientGateways(ctx, &args, opts...) - var s GetClientGatewaysResult - if r != nil { - s = *r - } - return s, err - }).(GetClientGatewaysResultOutput) -} - -// A collection of arguments for invoking getClientGateways. -type GetClientGatewaysOutputArgs struct { - // The IDs of the client gateways. - ClientGatewayIds pulumi.StringArrayInput `pulumi:"clientGatewayIds"` - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetClientGatewaysFilterArrayInput `pulumi:"filters"` -} - -func (GetClientGatewaysOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClientGatewaysArgs)(nil)).Elem() -} - -// A collection of values returned by getClientGateways. -type GetClientGatewaysResultOutput struct{ *pulumi.OutputState } - -func (GetClientGatewaysResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClientGatewaysResult)(nil)).Elem() -} - -func (o GetClientGatewaysResultOutput) ToGetClientGatewaysResultOutput() GetClientGatewaysResultOutput { - return o -} - -func (o GetClientGatewaysResultOutput) ToGetClientGatewaysResultOutputWithContext(ctx context.Context) GetClientGatewaysResultOutput { - return o -} - -func (o GetClientGatewaysResultOutput) ClientGatewayIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClientGatewaysResult) []string { return v.ClientGatewayIds }).(pulumi.StringArrayOutput) -} - -// Information about one or more client gateways. -func (o GetClientGatewaysResultOutput) ClientGateways() GetClientGatewaysClientGatewayArrayOutput { - return o.ApplyT(func(v GetClientGatewaysResult) []GetClientGatewaysClientGateway { return v.ClientGateways }).(GetClientGatewaysClientGatewayArrayOutput) -} - -func (o GetClientGatewaysResultOutput) Filters() GetClientGatewaysFilterArrayOutput { - return o.ApplyT(func(v GetClientGatewaysResult) []GetClientGatewaysFilter { return v.Filters }).(GetClientGatewaysFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetClientGatewaysResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetClientGatewaysResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o GetClientGatewaysResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetClientGatewaysResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(GetClientGatewaysResultOutput{}) -} diff --git a/sdk/go/outscale/getDhcpOption.go b/sdk/go/outscale/getDhcpOption.go deleted file mode 100644 index 92644d3..0000000 --- a/sdk/go/outscale/getDhcpOption.go +++ /dev/null @@ -1,177 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about a DHCP option. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-DHCP-Options.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-dhcpoption). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.LookupDhcpOption(ctx, &outscale.LookupDhcpOptionArgs{ -// Filters: []outscale.GetDhcpOptionFilter{ -// { -// Name: "dhcp_options_set_id", -// Values: []string{ -// "dopt-12345678", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func LookupDhcpOption(ctx *pulumi.Context, args *LookupDhcpOptionArgs, opts ...pulumi.InvokeOption) (*LookupDhcpOptionResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupDhcpOptionResult - err := ctx.Invoke("outscale:index/getDhcpOption:getDhcpOption", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getDhcpOption. -type LookupDhcpOptionArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetDhcpOptionFilter `pulumi:"filters"` -} - -// A collection of values returned by getDhcpOption. -type LookupDhcpOptionResult struct { - // If true, the DHCP options set is a default one. If false, it is not. - Default bool `pulumi:"default"` - // The ID of the DHCP options set. - DhcpOptionsSetId string `pulumi:"dhcpOptionsSetId"` - // The domain name. - DomainName string `pulumi:"domainName"` - // One or more IPs for the domain name servers. - DomainNameServers []string `pulumi:"domainNameServers"` - Filters []GetDhcpOptionFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // One or more IPs for the log servers. - LogServers []string `pulumi:"logServers"` - // One or more IPs for the NTP servers. - NtpServers []string `pulumi:"ntpServers"` - RequestId string `pulumi:"requestId"` - // One or more tags associated with the DHCP options set. - Tags []GetDhcpOptionTag `pulumi:"tags"` -} - -func LookupDhcpOptionOutput(ctx *pulumi.Context, args LookupDhcpOptionOutputArgs, opts ...pulumi.InvokeOption) LookupDhcpOptionResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupDhcpOptionResult, error) { - args := v.(LookupDhcpOptionArgs) - r, err := LookupDhcpOption(ctx, &args, opts...) - var s LookupDhcpOptionResult - if r != nil { - s = *r - } - return s, err - }).(LookupDhcpOptionResultOutput) -} - -// A collection of arguments for invoking getDhcpOption. -type LookupDhcpOptionOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetDhcpOptionFilterArrayInput `pulumi:"filters"` -} - -func (LookupDhcpOptionOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupDhcpOptionArgs)(nil)).Elem() -} - -// A collection of values returned by getDhcpOption. -type LookupDhcpOptionResultOutput struct{ *pulumi.OutputState } - -func (LookupDhcpOptionResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupDhcpOptionResult)(nil)).Elem() -} - -func (o LookupDhcpOptionResultOutput) ToLookupDhcpOptionResultOutput() LookupDhcpOptionResultOutput { - return o -} - -func (o LookupDhcpOptionResultOutput) ToLookupDhcpOptionResultOutputWithContext(ctx context.Context) LookupDhcpOptionResultOutput { - return o -} - -// If true, the DHCP options set is a default one. If false, it is not. -func (o LookupDhcpOptionResultOutput) Default() pulumi.BoolOutput { - return o.ApplyT(func(v LookupDhcpOptionResult) bool { return v.Default }).(pulumi.BoolOutput) -} - -// The ID of the DHCP options set. -func (o LookupDhcpOptionResultOutput) DhcpOptionsSetId() pulumi.StringOutput { - return o.ApplyT(func(v LookupDhcpOptionResult) string { return v.DhcpOptionsSetId }).(pulumi.StringOutput) -} - -// The domain name. -func (o LookupDhcpOptionResultOutput) DomainName() pulumi.StringOutput { - return o.ApplyT(func(v LookupDhcpOptionResult) string { return v.DomainName }).(pulumi.StringOutput) -} - -// One or more IPs for the domain name servers. -func (o LookupDhcpOptionResultOutput) DomainNameServers() pulumi.StringArrayOutput { - return o.ApplyT(func(v LookupDhcpOptionResult) []string { return v.DomainNameServers }).(pulumi.StringArrayOutput) -} - -func (o LookupDhcpOptionResultOutput) Filters() GetDhcpOptionFilterArrayOutput { - return o.ApplyT(func(v LookupDhcpOptionResult) []GetDhcpOptionFilter { return v.Filters }).(GetDhcpOptionFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o LookupDhcpOptionResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupDhcpOptionResult) string { return v.Id }).(pulumi.StringOutput) -} - -// One or more IPs for the log servers. -func (o LookupDhcpOptionResultOutput) LogServers() pulumi.StringArrayOutput { - return o.ApplyT(func(v LookupDhcpOptionResult) []string { return v.LogServers }).(pulumi.StringArrayOutput) -} - -// One or more IPs for the NTP servers. -func (o LookupDhcpOptionResultOutput) NtpServers() pulumi.StringArrayOutput { - return o.ApplyT(func(v LookupDhcpOptionResult) []string { return v.NtpServers }).(pulumi.StringArrayOutput) -} - -func (o LookupDhcpOptionResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v LookupDhcpOptionResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// One or more tags associated with the DHCP options set. -func (o LookupDhcpOptionResultOutput) Tags() GetDhcpOptionTagArrayOutput { - return o.ApplyT(func(v LookupDhcpOptionResult) []GetDhcpOptionTag { return v.Tags }).(GetDhcpOptionTagArrayOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupDhcpOptionResultOutput{}) -} diff --git a/sdk/go/outscale/getDhcpOptions.go b/sdk/go/outscale/getDhcpOptions.go deleted file mode 100644 index 79e56ca..0000000 --- a/sdk/go/outscale/getDhcpOptions.go +++ /dev/null @@ -1,145 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about DHCP options. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-DHCP-Options.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-dhcpoption). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetDhcpOptions(ctx, &outscale.GetDhcpOptionsArgs{ -// Filters: []outscale.GetDhcpOptionsFilter{ -// { -// Name: "domain_name_servers", -// Values: []string{ -// "111.11.111.1", -// "222.22.222.2", -// }, -// }, -// { -// Name: "domain_names", -// Values: []string{ -// "example.com", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetDhcpOptions(ctx *pulumi.Context, args *GetDhcpOptionsArgs, opts ...pulumi.InvokeOption) (*GetDhcpOptionsResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetDhcpOptionsResult - err := ctx.Invoke("outscale:index/getDhcpOptions:getDhcpOptions", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getDhcpOptions. -type GetDhcpOptionsArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetDhcpOptionsFilter `pulumi:"filters"` -} - -// A collection of values returned by getDhcpOptions. -type GetDhcpOptionsResult struct { - DhcpOptions []GetDhcpOptionsDhcpOption `pulumi:"dhcpOptions"` - DhcpOptionsSetIds []string `pulumi:"dhcpOptionsSetIds"` - Filters []GetDhcpOptionsFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - RequestId string `pulumi:"requestId"` -} - -func GetDhcpOptionsOutput(ctx *pulumi.Context, args GetDhcpOptionsOutputArgs, opts ...pulumi.InvokeOption) GetDhcpOptionsResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetDhcpOptionsResult, error) { - args := v.(GetDhcpOptionsArgs) - r, err := GetDhcpOptions(ctx, &args, opts...) - var s GetDhcpOptionsResult - if r != nil { - s = *r - } - return s, err - }).(GetDhcpOptionsResultOutput) -} - -// A collection of arguments for invoking getDhcpOptions. -type GetDhcpOptionsOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetDhcpOptionsFilterArrayInput `pulumi:"filters"` -} - -func (GetDhcpOptionsOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDhcpOptionsArgs)(nil)).Elem() -} - -// A collection of values returned by getDhcpOptions. -type GetDhcpOptionsResultOutput struct{ *pulumi.OutputState } - -func (GetDhcpOptionsResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDhcpOptionsResult)(nil)).Elem() -} - -func (o GetDhcpOptionsResultOutput) ToGetDhcpOptionsResultOutput() GetDhcpOptionsResultOutput { - return o -} - -func (o GetDhcpOptionsResultOutput) ToGetDhcpOptionsResultOutputWithContext(ctx context.Context) GetDhcpOptionsResultOutput { - return o -} - -func (o GetDhcpOptionsResultOutput) DhcpOptions() GetDhcpOptionsDhcpOptionArrayOutput { - return o.ApplyT(func(v GetDhcpOptionsResult) []GetDhcpOptionsDhcpOption { return v.DhcpOptions }).(GetDhcpOptionsDhcpOptionArrayOutput) -} - -func (o GetDhcpOptionsResultOutput) DhcpOptionsSetIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetDhcpOptionsResult) []string { return v.DhcpOptionsSetIds }).(pulumi.StringArrayOutput) -} - -func (o GetDhcpOptionsResultOutput) Filters() GetDhcpOptionsFilterArrayOutput { - return o.ApplyT(func(v GetDhcpOptionsResult) []GetDhcpOptionsFilter { return v.Filters }).(GetDhcpOptionsFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetDhcpOptionsResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetDhcpOptionsResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o GetDhcpOptionsResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetDhcpOptionsResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(GetDhcpOptionsResultOutput{}) -} diff --git a/sdk/go/outscale/getFlexibleGpu.go b/sdk/go/outscale/getFlexibleGpu.go deleted file mode 100644 index 4b0cba8..0000000 --- a/sdk/go/outscale/getFlexibleGpu.go +++ /dev/null @@ -1,177 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about a flexible GPU. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-flexiblegpu). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.LookupFlexibleGpu(ctx, &outscale.LookupFlexibleGpuArgs{ -// Filters: []outscale.GetFlexibleGpuFilter{ -// { -// Name: "flexible_gpu_ids", -// Values: []string{ -// "fgpu-12345678", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func LookupFlexibleGpu(ctx *pulumi.Context, args *LookupFlexibleGpuArgs, opts ...pulumi.InvokeOption) (*LookupFlexibleGpuResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupFlexibleGpuResult - err := ctx.Invoke("outscale:index/getFlexibleGpu:getFlexibleGpu", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getFlexibleGpu. -type LookupFlexibleGpuArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetFlexibleGpuFilter `pulumi:"filters"` -} - -// A collection of values returned by getFlexibleGpu. -type LookupFlexibleGpuResult struct { - // If true, the fGPU is deleted when the VM is terminated. - DeleteOnVmDeletion bool `pulumi:"deleteOnVmDeletion"` - Filters []GetFlexibleGpuFilter `pulumi:"filters"` - // The ID of the fGPU. - FlexibleGpuId string `pulumi:"flexibleGpuId"` - // The compatible processor generation. - Generation string `pulumi:"generation"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // The model of fGPU. For more information, see [About Flexible GPUs](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html). - ModelName string `pulumi:"modelName"` - RequestId string `pulumi:"requestId"` - // The state of the fGPU (`allocated` \| `attaching` \| `attached` \| `detaching`). - State string `pulumi:"state"` - // The Subregion where the fGPU is located. - SubregionName string `pulumi:"subregionName"` - // The ID of the VM the fGPU is attached to, if any. - VmId string `pulumi:"vmId"` -} - -func LookupFlexibleGpuOutput(ctx *pulumi.Context, args LookupFlexibleGpuOutputArgs, opts ...pulumi.InvokeOption) LookupFlexibleGpuResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupFlexibleGpuResult, error) { - args := v.(LookupFlexibleGpuArgs) - r, err := LookupFlexibleGpu(ctx, &args, opts...) - var s LookupFlexibleGpuResult - if r != nil { - s = *r - } - return s, err - }).(LookupFlexibleGpuResultOutput) -} - -// A collection of arguments for invoking getFlexibleGpu. -type LookupFlexibleGpuOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetFlexibleGpuFilterArrayInput `pulumi:"filters"` -} - -func (LookupFlexibleGpuOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupFlexibleGpuArgs)(nil)).Elem() -} - -// A collection of values returned by getFlexibleGpu. -type LookupFlexibleGpuResultOutput struct{ *pulumi.OutputState } - -func (LookupFlexibleGpuResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupFlexibleGpuResult)(nil)).Elem() -} - -func (o LookupFlexibleGpuResultOutput) ToLookupFlexibleGpuResultOutput() LookupFlexibleGpuResultOutput { - return o -} - -func (o LookupFlexibleGpuResultOutput) ToLookupFlexibleGpuResultOutputWithContext(ctx context.Context) LookupFlexibleGpuResultOutput { - return o -} - -// If true, the fGPU is deleted when the VM is terminated. -func (o LookupFlexibleGpuResultOutput) DeleteOnVmDeletion() pulumi.BoolOutput { - return o.ApplyT(func(v LookupFlexibleGpuResult) bool { return v.DeleteOnVmDeletion }).(pulumi.BoolOutput) -} - -func (o LookupFlexibleGpuResultOutput) Filters() GetFlexibleGpuFilterArrayOutput { - return o.ApplyT(func(v LookupFlexibleGpuResult) []GetFlexibleGpuFilter { return v.Filters }).(GetFlexibleGpuFilterArrayOutput) -} - -// The ID of the fGPU. -func (o LookupFlexibleGpuResultOutput) FlexibleGpuId() pulumi.StringOutput { - return o.ApplyT(func(v LookupFlexibleGpuResult) string { return v.FlexibleGpuId }).(pulumi.StringOutput) -} - -// The compatible processor generation. -func (o LookupFlexibleGpuResultOutput) Generation() pulumi.StringOutput { - return o.ApplyT(func(v LookupFlexibleGpuResult) string { return v.Generation }).(pulumi.StringOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o LookupFlexibleGpuResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupFlexibleGpuResult) string { return v.Id }).(pulumi.StringOutput) -} - -// The model of fGPU. For more information, see [About Flexible GPUs](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html). -func (o LookupFlexibleGpuResultOutput) ModelName() pulumi.StringOutput { - return o.ApplyT(func(v LookupFlexibleGpuResult) string { return v.ModelName }).(pulumi.StringOutput) -} - -func (o LookupFlexibleGpuResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v LookupFlexibleGpuResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// The state of the fGPU (`allocated` \| `attaching` \| `attached` \| `detaching`). -func (o LookupFlexibleGpuResultOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v LookupFlexibleGpuResult) string { return v.State }).(pulumi.StringOutput) -} - -// The Subregion where the fGPU is located. -func (o LookupFlexibleGpuResultOutput) SubregionName() pulumi.StringOutput { - return o.ApplyT(func(v LookupFlexibleGpuResult) string { return v.SubregionName }).(pulumi.StringOutput) -} - -// The ID of the VM the fGPU is attached to, if any. -func (o LookupFlexibleGpuResultOutput) VmId() pulumi.StringOutput { - return o.ApplyT(func(v LookupFlexibleGpuResult) string { return v.VmId }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupFlexibleGpuResultOutput{}) -} diff --git a/sdk/go/outscale/getFlexibleGpuCatalog.go b/sdk/go/outscale/getFlexibleGpuCatalog.go deleted file mode 100644 index 6cc9a80..0000000 --- a/sdk/go/outscale/getFlexibleGpuCatalog.go +++ /dev/null @@ -1,126 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about the flexible GPU catalog. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readflexiblegpucatalog). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetFlexibleGpuCatalog(ctx, nil, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetFlexibleGpuCatalog(ctx *pulumi.Context, args *GetFlexibleGpuCatalogArgs, opts ...pulumi.InvokeOption) (*GetFlexibleGpuCatalogResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetFlexibleGpuCatalogResult - err := ctx.Invoke("outscale:index/getFlexibleGpuCatalog:getFlexibleGpuCatalog", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getFlexibleGpuCatalog. -type GetFlexibleGpuCatalogArgs struct { - Filters []GetFlexibleGpuCatalogFilter `pulumi:"filters"` -} - -// A collection of values returned by getFlexibleGpuCatalog. -type GetFlexibleGpuCatalogResult struct { - Filters []GetFlexibleGpuCatalogFilter `pulumi:"filters"` - // Information about one or more fGPUs available in the public catalog. - FlexibleGpuCatalogs []GetFlexibleGpuCatalogFlexibleGpuCatalog `pulumi:"flexibleGpuCatalogs"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - RequestId string `pulumi:"requestId"` -} - -func GetFlexibleGpuCatalogOutput(ctx *pulumi.Context, args GetFlexibleGpuCatalogOutputArgs, opts ...pulumi.InvokeOption) GetFlexibleGpuCatalogResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetFlexibleGpuCatalogResult, error) { - args := v.(GetFlexibleGpuCatalogArgs) - r, err := GetFlexibleGpuCatalog(ctx, &args, opts...) - var s GetFlexibleGpuCatalogResult - if r != nil { - s = *r - } - return s, err - }).(GetFlexibleGpuCatalogResultOutput) -} - -// A collection of arguments for invoking getFlexibleGpuCatalog. -type GetFlexibleGpuCatalogOutputArgs struct { - Filters GetFlexibleGpuCatalogFilterArrayInput `pulumi:"filters"` -} - -func (GetFlexibleGpuCatalogOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFlexibleGpuCatalogArgs)(nil)).Elem() -} - -// A collection of values returned by getFlexibleGpuCatalog. -type GetFlexibleGpuCatalogResultOutput struct{ *pulumi.OutputState } - -func (GetFlexibleGpuCatalogResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFlexibleGpuCatalogResult)(nil)).Elem() -} - -func (o GetFlexibleGpuCatalogResultOutput) ToGetFlexibleGpuCatalogResultOutput() GetFlexibleGpuCatalogResultOutput { - return o -} - -func (o GetFlexibleGpuCatalogResultOutput) ToGetFlexibleGpuCatalogResultOutputWithContext(ctx context.Context) GetFlexibleGpuCatalogResultOutput { - return o -} - -func (o GetFlexibleGpuCatalogResultOutput) Filters() GetFlexibleGpuCatalogFilterArrayOutput { - return o.ApplyT(func(v GetFlexibleGpuCatalogResult) []GetFlexibleGpuCatalogFilter { return v.Filters }).(GetFlexibleGpuCatalogFilterArrayOutput) -} - -// Information about one or more fGPUs available in the public catalog. -func (o GetFlexibleGpuCatalogResultOutput) FlexibleGpuCatalogs() GetFlexibleGpuCatalogFlexibleGpuCatalogArrayOutput { - return o.ApplyT(func(v GetFlexibleGpuCatalogResult) []GetFlexibleGpuCatalogFlexibleGpuCatalog { - return v.FlexibleGpuCatalogs - }).(GetFlexibleGpuCatalogFlexibleGpuCatalogArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetFlexibleGpuCatalogResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetFlexibleGpuCatalogResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o GetFlexibleGpuCatalogResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetFlexibleGpuCatalogResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(GetFlexibleGpuCatalogResultOutput{}) -} diff --git a/sdk/go/outscale/getFlexibleGpus.go b/sdk/go/outscale/getFlexibleGpus.go deleted file mode 100644 index 81102ce..0000000 --- a/sdk/go/outscale/getFlexibleGpus.go +++ /dev/null @@ -1,142 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about flexible GPUs. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-flexiblegpu). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetFlexibleGpus(ctx, &outscale.GetFlexibleGpusArgs{ -// Filters: []outscale.GetFlexibleGpusFilter{ -// { -// Name: "model_names", -// Values: []string{ -// "nvidia-p6", -// "nvidia-p100", -// }, -// }, -// { -// Name: "states", -// Values: []string{ -// "attached", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetFlexibleGpus(ctx *pulumi.Context, args *GetFlexibleGpusArgs, opts ...pulumi.InvokeOption) (*GetFlexibleGpusResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetFlexibleGpusResult - err := ctx.Invoke("outscale:index/getFlexibleGpus:getFlexibleGpus", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getFlexibleGpus. -type GetFlexibleGpusArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetFlexibleGpusFilter `pulumi:"filters"` -} - -// A collection of values returned by getFlexibleGpus. -type GetFlexibleGpusResult struct { - Filters []GetFlexibleGpusFilter `pulumi:"filters"` - // Information about one or more fGPUs. - FlexibleGpuses []GetFlexibleGpusFlexibleGpus `pulumi:"flexibleGpuses"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - RequestId string `pulumi:"requestId"` -} - -func GetFlexibleGpusOutput(ctx *pulumi.Context, args GetFlexibleGpusOutputArgs, opts ...pulumi.InvokeOption) GetFlexibleGpusResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetFlexibleGpusResult, error) { - args := v.(GetFlexibleGpusArgs) - r, err := GetFlexibleGpus(ctx, &args, opts...) - var s GetFlexibleGpusResult - if r != nil { - s = *r - } - return s, err - }).(GetFlexibleGpusResultOutput) -} - -// A collection of arguments for invoking getFlexibleGpus. -type GetFlexibleGpusOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetFlexibleGpusFilterArrayInput `pulumi:"filters"` -} - -func (GetFlexibleGpusOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFlexibleGpusArgs)(nil)).Elem() -} - -// A collection of values returned by getFlexibleGpus. -type GetFlexibleGpusResultOutput struct{ *pulumi.OutputState } - -func (GetFlexibleGpusResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFlexibleGpusResult)(nil)).Elem() -} - -func (o GetFlexibleGpusResultOutput) ToGetFlexibleGpusResultOutput() GetFlexibleGpusResultOutput { - return o -} - -func (o GetFlexibleGpusResultOutput) ToGetFlexibleGpusResultOutputWithContext(ctx context.Context) GetFlexibleGpusResultOutput { - return o -} - -func (o GetFlexibleGpusResultOutput) Filters() GetFlexibleGpusFilterArrayOutput { - return o.ApplyT(func(v GetFlexibleGpusResult) []GetFlexibleGpusFilter { return v.Filters }).(GetFlexibleGpusFilterArrayOutput) -} - -// Information about one or more fGPUs. -func (o GetFlexibleGpusResultOutput) FlexibleGpuses() GetFlexibleGpusFlexibleGpusArrayOutput { - return o.ApplyT(func(v GetFlexibleGpusResult) []GetFlexibleGpusFlexibleGpus { return v.FlexibleGpuses }).(GetFlexibleGpusFlexibleGpusArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetFlexibleGpusResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetFlexibleGpusResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o GetFlexibleGpusResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetFlexibleGpusResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(GetFlexibleGpusResultOutput{}) -} diff --git a/sdk/go/outscale/getImage.go b/sdk/go/outscale/getImage.go deleted file mode 100644 index 6332dca..0000000 --- a/sdk/go/outscale/getImage.go +++ /dev/null @@ -1,267 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about an image. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-OMIs.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-image). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.LookupImage(ctx, &outscale.LookupImageArgs{ -// Filters: []outscale.GetImageFilter{ -// { -// Name: "image_ids", -// Values: []string{ -// "ami-12345678", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func LookupImage(ctx *pulumi.Context, args *LookupImageArgs, opts ...pulumi.InvokeOption) (*LookupImageResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupImageResult - err := ctx.Invoke("outscale:index/getImage:getImage", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getImage. -type LookupImageArgs struct { - // One or more block device mappings. - BlockDeviceMappings []GetImageBlockDeviceMapping `pulumi:"blockDeviceMappings"` - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetImageFilter `pulumi:"filters"` - // The ID of the OMI. - ImageId *string `pulumi:"imageId"` - Permissions []string `pulumi:"permissions"` -} - -// A collection of values returned by getImage. -type LookupImageResult struct { - // The account alias of the owner of the OMI. - AccountAlias string `pulumi:"accountAlias"` - // The account ID of the owner of the OMI. - AccountId string `pulumi:"accountId"` - // The architecture of the OMI (by default, `i386`). - Architecture string `pulumi:"architecture"` - // One or more block device mappings. - BlockDeviceMappings []GetImageBlockDeviceMapping `pulumi:"blockDeviceMappings"` - // The date and time of creation of the OMI, in ISO 8601 date-time format. - CreationDate string `pulumi:"creationDate"` - // The description of the OMI. - Description string `pulumi:"description"` - // The location of the bucket where the OMI files are stored. - FileLocation string `pulumi:"fileLocation"` - Filters []GetImageFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // The ID of the OMI. - ImageId *string `pulumi:"imageId"` - // The name of the OMI. - ImageName string `pulumi:"imageName"` - // The type of the OMI. - ImageType string `pulumi:"imageType"` - IsPublic bool `pulumi:"isPublic"` - Permissions []string `pulumi:"permissions"` - // Permissions for the resource. - PermissionsToLaunches []GetImagePermissionsToLaunch `pulumi:"permissionsToLaunches"` - // The product codes associated with the OMI. - ProductCodes []string `pulumi:"productCodes"` - RequestId string `pulumi:"requestId"` - // The name of the root device. - RootDeviceName string `pulumi:"rootDeviceName"` - // The type of root device used by the OMI (always `bsu`). - RootDeviceType string `pulumi:"rootDeviceType"` - // The state of the OMI (`pending` \| `available` \| `failed`). - State string `pulumi:"state"` - // Information about the change of state. - StateComments []GetImageStateComment `pulumi:"stateComments"` - // One or more tags associated with the OMI. - Tags []GetImageTag `pulumi:"tags"` -} - -func LookupImageOutput(ctx *pulumi.Context, args LookupImageOutputArgs, opts ...pulumi.InvokeOption) LookupImageResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupImageResult, error) { - args := v.(LookupImageArgs) - r, err := LookupImage(ctx, &args, opts...) - var s LookupImageResult - if r != nil { - s = *r - } - return s, err - }).(LookupImageResultOutput) -} - -// A collection of arguments for invoking getImage. -type LookupImageOutputArgs struct { - // One or more block device mappings. - BlockDeviceMappings GetImageBlockDeviceMappingArrayInput `pulumi:"blockDeviceMappings"` - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetImageFilterArrayInput `pulumi:"filters"` - // The ID of the OMI. - ImageId pulumi.StringPtrInput `pulumi:"imageId"` - Permissions pulumi.StringArrayInput `pulumi:"permissions"` -} - -func (LookupImageOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupImageArgs)(nil)).Elem() -} - -// A collection of values returned by getImage. -type LookupImageResultOutput struct{ *pulumi.OutputState } - -func (LookupImageResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupImageResult)(nil)).Elem() -} - -func (o LookupImageResultOutput) ToLookupImageResultOutput() LookupImageResultOutput { - return o -} - -func (o LookupImageResultOutput) ToLookupImageResultOutputWithContext(ctx context.Context) LookupImageResultOutput { - return o -} - -// The account alias of the owner of the OMI. -func (o LookupImageResultOutput) AccountAlias() pulumi.StringOutput { - return o.ApplyT(func(v LookupImageResult) string { return v.AccountAlias }).(pulumi.StringOutput) -} - -// The account ID of the owner of the OMI. -func (o LookupImageResultOutput) AccountId() pulumi.StringOutput { - return o.ApplyT(func(v LookupImageResult) string { return v.AccountId }).(pulumi.StringOutput) -} - -// The architecture of the OMI (by default, `i386`). -func (o LookupImageResultOutput) Architecture() pulumi.StringOutput { - return o.ApplyT(func(v LookupImageResult) string { return v.Architecture }).(pulumi.StringOutput) -} - -// One or more block device mappings. -func (o LookupImageResultOutput) BlockDeviceMappings() GetImageBlockDeviceMappingArrayOutput { - return o.ApplyT(func(v LookupImageResult) []GetImageBlockDeviceMapping { return v.BlockDeviceMappings }).(GetImageBlockDeviceMappingArrayOutput) -} - -// The date and time of creation of the OMI, in ISO 8601 date-time format. -func (o LookupImageResultOutput) CreationDate() pulumi.StringOutput { - return o.ApplyT(func(v LookupImageResult) string { return v.CreationDate }).(pulumi.StringOutput) -} - -// The description of the OMI. -func (o LookupImageResultOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v LookupImageResult) string { return v.Description }).(pulumi.StringOutput) -} - -// The location of the bucket where the OMI files are stored. -func (o LookupImageResultOutput) FileLocation() pulumi.StringOutput { - return o.ApplyT(func(v LookupImageResult) string { return v.FileLocation }).(pulumi.StringOutput) -} - -func (o LookupImageResultOutput) Filters() GetImageFilterArrayOutput { - return o.ApplyT(func(v LookupImageResult) []GetImageFilter { return v.Filters }).(GetImageFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o LookupImageResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupImageResult) string { return v.Id }).(pulumi.StringOutput) -} - -// The ID of the OMI. -func (o LookupImageResultOutput) ImageId() pulumi.StringPtrOutput { - return o.ApplyT(func(v LookupImageResult) *string { return v.ImageId }).(pulumi.StringPtrOutput) -} - -// The name of the OMI. -func (o LookupImageResultOutput) ImageName() pulumi.StringOutput { - return o.ApplyT(func(v LookupImageResult) string { return v.ImageName }).(pulumi.StringOutput) -} - -// The type of the OMI. -func (o LookupImageResultOutput) ImageType() pulumi.StringOutput { - return o.ApplyT(func(v LookupImageResult) string { return v.ImageType }).(pulumi.StringOutput) -} - -func (o LookupImageResultOutput) IsPublic() pulumi.BoolOutput { - return o.ApplyT(func(v LookupImageResult) bool { return v.IsPublic }).(pulumi.BoolOutput) -} - -func (o LookupImageResultOutput) Permissions() pulumi.StringArrayOutput { - return o.ApplyT(func(v LookupImageResult) []string { return v.Permissions }).(pulumi.StringArrayOutput) -} - -// Permissions for the resource. -func (o LookupImageResultOutput) PermissionsToLaunches() GetImagePermissionsToLaunchArrayOutput { - return o.ApplyT(func(v LookupImageResult) []GetImagePermissionsToLaunch { return v.PermissionsToLaunches }).(GetImagePermissionsToLaunchArrayOutput) -} - -// The product codes associated with the OMI. -func (o LookupImageResultOutput) ProductCodes() pulumi.StringArrayOutput { - return o.ApplyT(func(v LookupImageResult) []string { return v.ProductCodes }).(pulumi.StringArrayOutput) -} - -func (o LookupImageResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v LookupImageResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// The name of the root device. -func (o LookupImageResultOutput) RootDeviceName() pulumi.StringOutput { - return o.ApplyT(func(v LookupImageResult) string { return v.RootDeviceName }).(pulumi.StringOutput) -} - -// The type of root device used by the OMI (always `bsu`). -func (o LookupImageResultOutput) RootDeviceType() pulumi.StringOutput { - return o.ApplyT(func(v LookupImageResult) string { return v.RootDeviceType }).(pulumi.StringOutput) -} - -// The state of the OMI (`pending` \| `available` \| `failed`). -func (o LookupImageResultOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v LookupImageResult) string { return v.State }).(pulumi.StringOutput) -} - -// Information about the change of state. -func (o LookupImageResultOutput) StateComments() GetImageStateCommentArrayOutput { - return o.ApplyT(func(v LookupImageResult) []GetImageStateComment { return v.StateComments }).(GetImageStateCommentArrayOutput) -} - -// One or more tags associated with the OMI. -func (o LookupImageResultOutput) Tags() GetImageTagArrayOutput { - return o.ApplyT(func(v LookupImageResult) []GetImageTag { return v.Tags }).(GetImageTagArrayOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupImageResultOutput{}) -} diff --git a/sdk/go/outscale/getImageExportTask.go b/sdk/go/outscale/getImageExportTask.go deleted file mode 100644 index 533ccb5..0000000 --- a/sdk/go/outscale/getImageExportTask.go +++ /dev/null @@ -1,184 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about an image export task. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-OMIs.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-image). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.LookupImageExportTask(ctx, &outscale.LookupImageExportTaskArgs{ -// Filters: []outscale.GetImageExportTaskFilter{ -// { -// Name: "task_ids", -// Values: []string{ -// "image-export-12345678", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func LookupImageExportTask(ctx *pulumi.Context, args *LookupImageExportTaskArgs, opts ...pulumi.InvokeOption) (*LookupImageExportTaskResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupImageExportTaskResult - err := ctx.Invoke("outscale:index/getImageExportTask:getImageExportTask", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getImageExportTask. -type LookupImageExportTaskArgs struct { - DryRun *bool `pulumi:"dryRun"` - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetImageExportTaskFilter `pulumi:"filters"` -} - -// A collection of values returned by getImageExportTask. -type LookupImageExportTaskResult struct { - // If the OMI export task fails, an error message appears. - Comment string `pulumi:"comment"` - DryRun bool `pulumi:"dryRun"` - Filters []GetImageExportTaskFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // The ID of the OMI to be exported. - ImageId string `pulumi:"imageId"` - // Information about the OMI export task. - OsuExports []GetImageExportTaskOsuExport `pulumi:"osuExports"` - // The progress of the OMI export task, as a percentage. - Progress int `pulumi:"progress"` - RequestId string `pulumi:"requestId"` - // The state of the OMI export task (`pending/queued` \| `pending` \| `completed` \| `failed` \| `cancelled`). - State string `pulumi:"state"` - // One or more tags associated with the image export task. - Tags []GetImageExportTaskTag `pulumi:"tags"` - // The ID of the OMI export task. - TaskId string `pulumi:"taskId"` -} - -func LookupImageExportTaskOutput(ctx *pulumi.Context, args LookupImageExportTaskOutputArgs, opts ...pulumi.InvokeOption) LookupImageExportTaskResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupImageExportTaskResult, error) { - args := v.(LookupImageExportTaskArgs) - r, err := LookupImageExportTask(ctx, &args, opts...) - var s LookupImageExportTaskResult - if r != nil { - s = *r - } - return s, err - }).(LookupImageExportTaskResultOutput) -} - -// A collection of arguments for invoking getImageExportTask. -type LookupImageExportTaskOutputArgs struct { - DryRun pulumi.BoolPtrInput `pulumi:"dryRun"` - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetImageExportTaskFilterArrayInput `pulumi:"filters"` -} - -func (LookupImageExportTaskOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupImageExportTaskArgs)(nil)).Elem() -} - -// A collection of values returned by getImageExportTask. -type LookupImageExportTaskResultOutput struct{ *pulumi.OutputState } - -func (LookupImageExportTaskResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupImageExportTaskResult)(nil)).Elem() -} - -func (o LookupImageExportTaskResultOutput) ToLookupImageExportTaskResultOutput() LookupImageExportTaskResultOutput { - return o -} - -func (o LookupImageExportTaskResultOutput) ToLookupImageExportTaskResultOutputWithContext(ctx context.Context) LookupImageExportTaskResultOutput { - return o -} - -// If the OMI export task fails, an error message appears. -func (o LookupImageExportTaskResultOutput) Comment() pulumi.StringOutput { - return o.ApplyT(func(v LookupImageExportTaskResult) string { return v.Comment }).(pulumi.StringOutput) -} - -func (o LookupImageExportTaskResultOutput) DryRun() pulumi.BoolOutput { - return o.ApplyT(func(v LookupImageExportTaskResult) bool { return v.DryRun }).(pulumi.BoolOutput) -} - -func (o LookupImageExportTaskResultOutput) Filters() GetImageExportTaskFilterArrayOutput { - return o.ApplyT(func(v LookupImageExportTaskResult) []GetImageExportTaskFilter { return v.Filters }).(GetImageExportTaskFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o LookupImageExportTaskResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupImageExportTaskResult) string { return v.Id }).(pulumi.StringOutput) -} - -// The ID of the OMI to be exported. -func (o LookupImageExportTaskResultOutput) ImageId() pulumi.StringOutput { - return o.ApplyT(func(v LookupImageExportTaskResult) string { return v.ImageId }).(pulumi.StringOutput) -} - -// Information about the OMI export task. -func (o LookupImageExportTaskResultOutput) OsuExports() GetImageExportTaskOsuExportArrayOutput { - return o.ApplyT(func(v LookupImageExportTaskResult) []GetImageExportTaskOsuExport { return v.OsuExports }).(GetImageExportTaskOsuExportArrayOutput) -} - -// The progress of the OMI export task, as a percentage. -func (o LookupImageExportTaskResultOutput) Progress() pulumi.IntOutput { - return o.ApplyT(func(v LookupImageExportTaskResult) int { return v.Progress }).(pulumi.IntOutput) -} - -func (o LookupImageExportTaskResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v LookupImageExportTaskResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// The state of the OMI export task (`pending/queued` \| `pending` \| `completed` \| `failed` \| `cancelled`). -func (o LookupImageExportTaskResultOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v LookupImageExportTaskResult) string { return v.State }).(pulumi.StringOutput) -} - -// One or more tags associated with the image export task. -func (o LookupImageExportTaskResultOutput) Tags() GetImageExportTaskTagArrayOutput { - return o.ApplyT(func(v LookupImageExportTaskResult) []GetImageExportTaskTag { return v.Tags }).(GetImageExportTaskTagArrayOutput) -} - -// The ID of the OMI export task. -func (o LookupImageExportTaskResultOutput) TaskId() pulumi.StringOutput { - return o.ApplyT(func(v LookupImageExportTaskResult) string { return v.TaskId }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupImageExportTaskResultOutput{}) -} diff --git a/sdk/go/outscale/getImageExportTasks.go b/sdk/go/outscale/getImageExportTasks.go deleted file mode 100644 index 4e7a43d..0000000 --- a/sdk/go/outscale/getImageExportTasks.go +++ /dev/null @@ -1,143 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about image export tasks. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-OMIs.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-image). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetImageExportTasks(ctx, &outscale.GetImageExportTasksArgs{ -// Filters: []outscale.GetImageExportTasksFilter{ -// { -// Name: "task_ids", -// Values: []string{ -// "image-export-12345678", -// "image-export-87654321", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetImageExportTasks(ctx *pulumi.Context, args *GetImageExportTasksArgs, opts ...pulumi.InvokeOption) (*GetImageExportTasksResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetImageExportTasksResult - err := ctx.Invoke("outscale:index/getImageExportTasks:getImageExportTasks", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getImageExportTasks. -type GetImageExportTasksArgs struct { - DryRun *bool `pulumi:"dryRun"` - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetImageExportTasksFilter `pulumi:"filters"` -} - -// A collection of values returned by getImageExportTasks. -type GetImageExportTasksResult struct { - DryRun bool `pulumi:"dryRun"` - Filters []GetImageExportTasksFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // Information about one or more image export tasks. - ImageExportTasks []GetImageExportTasksImageExportTask `pulumi:"imageExportTasks"` - RequestId string `pulumi:"requestId"` -} - -func GetImageExportTasksOutput(ctx *pulumi.Context, args GetImageExportTasksOutputArgs, opts ...pulumi.InvokeOption) GetImageExportTasksResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetImageExportTasksResult, error) { - args := v.(GetImageExportTasksArgs) - r, err := GetImageExportTasks(ctx, &args, opts...) - var s GetImageExportTasksResult - if r != nil { - s = *r - } - return s, err - }).(GetImageExportTasksResultOutput) -} - -// A collection of arguments for invoking getImageExportTasks. -type GetImageExportTasksOutputArgs struct { - DryRun pulumi.BoolPtrInput `pulumi:"dryRun"` - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetImageExportTasksFilterArrayInput `pulumi:"filters"` -} - -func (GetImageExportTasksOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetImageExportTasksArgs)(nil)).Elem() -} - -// A collection of values returned by getImageExportTasks. -type GetImageExportTasksResultOutput struct{ *pulumi.OutputState } - -func (GetImageExportTasksResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetImageExportTasksResult)(nil)).Elem() -} - -func (o GetImageExportTasksResultOutput) ToGetImageExportTasksResultOutput() GetImageExportTasksResultOutput { - return o -} - -func (o GetImageExportTasksResultOutput) ToGetImageExportTasksResultOutputWithContext(ctx context.Context) GetImageExportTasksResultOutput { - return o -} - -func (o GetImageExportTasksResultOutput) DryRun() pulumi.BoolOutput { - return o.ApplyT(func(v GetImageExportTasksResult) bool { return v.DryRun }).(pulumi.BoolOutput) -} - -func (o GetImageExportTasksResultOutput) Filters() GetImageExportTasksFilterArrayOutput { - return o.ApplyT(func(v GetImageExportTasksResult) []GetImageExportTasksFilter { return v.Filters }).(GetImageExportTasksFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetImageExportTasksResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetImageExportTasksResult) string { return v.Id }).(pulumi.StringOutput) -} - -// Information about one or more image export tasks. -func (o GetImageExportTasksResultOutput) ImageExportTasks() GetImageExportTasksImageExportTaskArrayOutput { - return o.ApplyT(func(v GetImageExportTasksResult) []GetImageExportTasksImageExportTask { return v.ImageExportTasks }).(GetImageExportTasksImageExportTaskArrayOutput) -} - -func (o GetImageExportTasksResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetImageExportTasksResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(GetImageExportTasksResultOutput{}) -} diff --git a/sdk/go/outscale/getImages.go b/sdk/go/outscale/getImages.go deleted file mode 100644 index c8f3f23..0000000 --- a/sdk/go/outscale/getImages.go +++ /dev/null @@ -1,169 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about images. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-OMIs.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-image). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetImages(ctx, &outscale.GetImagesArgs{ -// Filters: []outscale.GetImagesFilter{ -// { -// Name: "account_aliases", -// Values: []string{ -// "Outscale", -// }, -// }, -// { -// Name: "image_names", -// Values: []string{ -// "Ubuntu*", -// "RockyLinux*", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetImages(ctx *pulumi.Context, args *GetImagesArgs, opts ...pulumi.InvokeOption) (*GetImagesResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetImagesResult - err := ctx.Invoke("outscale:index/getImages:getImages", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getImages. -type GetImagesArgs struct { - // The account IDs of the owners of the OMIs. By default, all the OMIs for which you have launch permissions are described. - AccountIds []string `pulumi:"accountIds"` - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetImagesFilter `pulumi:"filters"` - // The IDs of the OMIs. - ImageIds []string `pulumi:"imageIds"` - Permissions []string `pulumi:"permissions"` -} - -// A collection of values returned by getImages. -type GetImagesResult struct { - // One or more account IDs that the permission is associated with. - AccountIds []string `pulumi:"accountIds"` - Filters []GetImagesFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - ImageIds []string `pulumi:"imageIds"` - // Information about one or more OMIs. - Images []GetImagesImage `pulumi:"images"` - Permissions []string `pulumi:"permissions"` - RequestId string `pulumi:"requestId"` -} - -func GetImagesOutput(ctx *pulumi.Context, args GetImagesOutputArgs, opts ...pulumi.InvokeOption) GetImagesResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetImagesResult, error) { - args := v.(GetImagesArgs) - r, err := GetImages(ctx, &args, opts...) - var s GetImagesResult - if r != nil { - s = *r - } - return s, err - }).(GetImagesResultOutput) -} - -// A collection of arguments for invoking getImages. -type GetImagesOutputArgs struct { - // The account IDs of the owners of the OMIs. By default, all the OMIs for which you have launch permissions are described. - AccountIds pulumi.StringArrayInput `pulumi:"accountIds"` - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetImagesFilterArrayInput `pulumi:"filters"` - // The IDs of the OMIs. - ImageIds pulumi.StringArrayInput `pulumi:"imageIds"` - Permissions pulumi.StringArrayInput `pulumi:"permissions"` -} - -func (GetImagesOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetImagesArgs)(nil)).Elem() -} - -// A collection of values returned by getImages. -type GetImagesResultOutput struct{ *pulumi.OutputState } - -func (GetImagesResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetImagesResult)(nil)).Elem() -} - -func (o GetImagesResultOutput) ToGetImagesResultOutput() GetImagesResultOutput { - return o -} - -func (o GetImagesResultOutput) ToGetImagesResultOutputWithContext(ctx context.Context) GetImagesResultOutput { - return o -} - -// One or more account IDs that the permission is associated with. -func (o GetImagesResultOutput) AccountIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetImagesResult) []string { return v.AccountIds }).(pulumi.StringArrayOutput) -} - -func (o GetImagesResultOutput) Filters() GetImagesFilterArrayOutput { - return o.ApplyT(func(v GetImagesResult) []GetImagesFilter { return v.Filters }).(GetImagesFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetImagesResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetImagesResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o GetImagesResultOutput) ImageIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetImagesResult) []string { return v.ImageIds }).(pulumi.StringArrayOutput) -} - -// Information about one or more OMIs. -func (o GetImagesResultOutput) Images() GetImagesImageArrayOutput { - return o.ApplyT(func(v GetImagesResult) []GetImagesImage { return v.Images }).(GetImagesImageArrayOutput) -} - -func (o GetImagesResultOutput) Permissions() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetImagesResult) []string { return v.Permissions }).(pulumi.StringArrayOutput) -} - -func (o GetImagesResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetImagesResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(GetImagesResultOutput{}) -} diff --git a/sdk/go/outscale/getInternetService.go b/sdk/go/outscale/getInternetService.go deleted file mode 100644 index 1bd819f..0000000 --- a/sdk/go/outscale/getInternetService.go +++ /dev/null @@ -1,156 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about an Internet service. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Internet-Gateways.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-internetservice). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.LookupInternetService(ctx, &outscale.LookupInternetServiceArgs{ -// Filters: []outscale.GetInternetServiceFilter{ -// { -// Name: "internet_service_ids", -// Values: []string{ -// "igw-12345678", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func LookupInternetService(ctx *pulumi.Context, args *LookupInternetServiceArgs, opts ...pulumi.InvokeOption) (*LookupInternetServiceResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupInternetServiceResult - err := ctx.Invoke("outscale:index/getInternetService:getInternetService", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getInternetService. -type LookupInternetServiceArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetInternetServiceFilter `pulumi:"filters"` -} - -// A collection of values returned by getInternetService. -type LookupInternetServiceResult struct { - Filters []GetInternetServiceFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // The ID of the Internet service. - InternetServiceId string `pulumi:"internetServiceId"` - // The ID of the Net attached to the Internet service. - NetId string `pulumi:"netId"` - RequestId string `pulumi:"requestId"` - // The state of the attachment of the Internet service to the Net (always `available`). - State string `pulumi:"state"` - // One or more tags associated with the Internet service. - Tags []GetInternetServiceTag `pulumi:"tags"` -} - -func LookupInternetServiceOutput(ctx *pulumi.Context, args LookupInternetServiceOutputArgs, opts ...pulumi.InvokeOption) LookupInternetServiceResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupInternetServiceResult, error) { - args := v.(LookupInternetServiceArgs) - r, err := LookupInternetService(ctx, &args, opts...) - var s LookupInternetServiceResult - if r != nil { - s = *r - } - return s, err - }).(LookupInternetServiceResultOutput) -} - -// A collection of arguments for invoking getInternetService. -type LookupInternetServiceOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetInternetServiceFilterArrayInput `pulumi:"filters"` -} - -func (LookupInternetServiceOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupInternetServiceArgs)(nil)).Elem() -} - -// A collection of values returned by getInternetService. -type LookupInternetServiceResultOutput struct{ *pulumi.OutputState } - -func (LookupInternetServiceResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupInternetServiceResult)(nil)).Elem() -} - -func (o LookupInternetServiceResultOutput) ToLookupInternetServiceResultOutput() LookupInternetServiceResultOutput { - return o -} - -func (o LookupInternetServiceResultOutput) ToLookupInternetServiceResultOutputWithContext(ctx context.Context) LookupInternetServiceResultOutput { - return o -} - -func (o LookupInternetServiceResultOutput) Filters() GetInternetServiceFilterArrayOutput { - return o.ApplyT(func(v LookupInternetServiceResult) []GetInternetServiceFilter { return v.Filters }).(GetInternetServiceFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o LookupInternetServiceResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupInternetServiceResult) string { return v.Id }).(pulumi.StringOutput) -} - -// The ID of the Internet service. -func (o LookupInternetServiceResultOutput) InternetServiceId() pulumi.StringOutput { - return o.ApplyT(func(v LookupInternetServiceResult) string { return v.InternetServiceId }).(pulumi.StringOutput) -} - -// The ID of the Net attached to the Internet service. -func (o LookupInternetServiceResultOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v LookupInternetServiceResult) string { return v.NetId }).(pulumi.StringOutput) -} - -func (o LookupInternetServiceResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v LookupInternetServiceResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// The state of the attachment of the Internet service to the Net (always `available`). -func (o LookupInternetServiceResultOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v LookupInternetServiceResult) string { return v.State }).(pulumi.StringOutput) -} - -// One or more tags associated with the Internet service. -func (o LookupInternetServiceResultOutput) Tags() GetInternetServiceTagArrayOutput { - return o.ApplyT(func(v LookupInternetServiceResult) []GetInternetServiceTag { return v.Tags }).(GetInternetServiceTagArrayOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupInternetServiceResultOutput{}) -} diff --git a/sdk/go/outscale/getInternetServices.go b/sdk/go/outscale/getInternetServices.go deleted file mode 100644 index e20af88..0000000 --- a/sdk/go/outscale/getInternetServices.go +++ /dev/null @@ -1,151 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about Internet services. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Internet-Gateways.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-internetservice). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetInternetServices(ctx, &outscale.GetInternetServicesArgs{ -// Filters: []outscale.GetInternetServicesFilter{ -// { -// Name: "tag_keys", -// Values: []string{ -// "env", -// }, -// }, -// { -// Name: "tag_values", -// Values: []string{ -// "prod", -// "test", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetInternetServices(ctx *pulumi.Context, args *GetInternetServicesArgs, opts ...pulumi.InvokeOption) (*GetInternetServicesResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetInternetServicesResult - err := ctx.Invoke("outscale:index/getInternetServices:getInternetServices", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getInternetServices. -type GetInternetServicesArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetInternetServicesFilter `pulumi:"filters"` - // The IDs of the Internet services. - InternetServiceIds []string `pulumi:"internetServiceIds"` -} - -// A collection of values returned by getInternetServices. -type GetInternetServicesResult struct { - Filters []GetInternetServicesFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - InternetServiceIds []string `pulumi:"internetServiceIds"` - // Information about one or more Internet services. - InternetServices []GetInternetServicesInternetService `pulumi:"internetServices"` - RequestId string `pulumi:"requestId"` -} - -func GetInternetServicesOutput(ctx *pulumi.Context, args GetInternetServicesOutputArgs, opts ...pulumi.InvokeOption) GetInternetServicesResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetInternetServicesResult, error) { - args := v.(GetInternetServicesArgs) - r, err := GetInternetServices(ctx, &args, opts...) - var s GetInternetServicesResult - if r != nil { - s = *r - } - return s, err - }).(GetInternetServicesResultOutput) -} - -// A collection of arguments for invoking getInternetServices. -type GetInternetServicesOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetInternetServicesFilterArrayInput `pulumi:"filters"` - // The IDs of the Internet services. - InternetServiceIds pulumi.StringArrayInput `pulumi:"internetServiceIds"` -} - -func (GetInternetServicesOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInternetServicesArgs)(nil)).Elem() -} - -// A collection of values returned by getInternetServices. -type GetInternetServicesResultOutput struct{ *pulumi.OutputState } - -func (GetInternetServicesResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInternetServicesResult)(nil)).Elem() -} - -func (o GetInternetServicesResultOutput) ToGetInternetServicesResultOutput() GetInternetServicesResultOutput { - return o -} - -func (o GetInternetServicesResultOutput) ToGetInternetServicesResultOutputWithContext(ctx context.Context) GetInternetServicesResultOutput { - return o -} - -func (o GetInternetServicesResultOutput) Filters() GetInternetServicesFilterArrayOutput { - return o.ApplyT(func(v GetInternetServicesResult) []GetInternetServicesFilter { return v.Filters }).(GetInternetServicesFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetInternetServicesResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetInternetServicesResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o GetInternetServicesResultOutput) InternetServiceIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetInternetServicesResult) []string { return v.InternetServiceIds }).(pulumi.StringArrayOutput) -} - -// Information about one or more Internet services. -func (o GetInternetServicesResultOutput) InternetServices() GetInternetServicesInternetServiceArrayOutput { - return o.ApplyT(func(v GetInternetServicesResult) []GetInternetServicesInternetService { return v.InternetServices }).(GetInternetServicesInternetServiceArrayOutput) -} - -func (o GetInternetServicesResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetInternetServicesResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(GetInternetServicesResultOutput{}) -} diff --git a/sdk/go/outscale/getKeypair.go b/sdk/go/outscale/getKeypair.go deleted file mode 100644 index 4f67f40..0000000 --- a/sdk/go/outscale/getKeypair.go +++ /dev/null @@ -1,146 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about a keypair. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Keypairs.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-keypair). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.LookupKeypair(ctx, &outscale.LookupKeypairArgs{ -// Filters: []outscale.GetKeypairFilter{ -// { -// Name: "keypair_names", -// Values: []string{ -// "terraform-keypair-01", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func LookupKeypair(ctx *pulumi.Context, args *LookupKeypairArgs, opts ...pulumi.InvokeOption) (*LookupKeypairResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupKeypairResult - err := ctx.Invoke("outscale:index/getKeypair:getKeypair", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getKeypair. -type LookupKeypairArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetKeypairFilter `pulumi:"filters"` - // The name of the keypair. - KeypairName *string `pulumi:"keypairName"` -} - -// A collection of values returned by getKeypair. -type LookupKeypairResult struct { - Filters []GetKeypairFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // The MD5 public key fingerprint as specified in section 4 of RFC 4716. - KeypairFingerprint string `pulumi:"keypairFingerprint"` - // The name of the keypair. - KeypairName string `pulumi:"keypairName"` - RequestId string `pulumi:"requestId"` -} - -func LookupKeypairOutput(ctx *pulumi.Context, args LookupKeypairOutputArgs, opts ...pulumi.InvokeOption) LookupKeypairResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupKeypairResult, error) { - args := v.(LookupKeypairArgs) - r, err := LookupKeypair(ctx, &args, opts...) - var s LookupKeypairResult - if r != nil { - s = *r - } - return s, err - }).(LookupKeypairResultOutput) -} - -// A collection of arguments for invoking getKeypair. -type LookupKeypairOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetKeypairFilterArrayInput `pulumi:"filters"` - // The name of the keypair. - KeypairName pulumi.StringPtrInput `pulumi:"keypairName"` -} - -func (LookupKeypairOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupKeypairArgs)(nil)).Elem() -} - -// A collection of values returned by getKeypair. -type LookupKeypairResultOutput struct{ *pulumi.OutputState } - -func (LookupKeypairResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupKeypairResult)(nil)).Elem() -} - -func (o LookupKeypairResultOutput) ToLookupKeypairResultOutput() LookupKeypairResultOutput { - return o -} - -func (o LookupKeypairResultOutput) ToLookupKeypairResultOutputWithContext(ctx context.Context) LookupKeypairResultOutput { - return o -} - -func (o LookupKeypairResultOutput) Filters() GetKeypairFilterArrayOutput { - return o.ApplyT(func(v LookupKeypairResult) []GetKeypairFilter { return v.Filters }).(GetKeypairFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o LookupKeypairResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupKeypairResult) string { return v.Id }).(pulumi.StringOutput) -} - -// The MD5 public key fingerprint as specified in section 4 of RFC 4716. -func (o LookupKeypairResultOutput) KeypairFingerprint() pulumi.StringOutput { - return o.ApplyT(func(v LookupKeypairResult) string { return v.KeypairFingerprint }).(pulumi.StringOutput) -} - -// The name of the keypair. -func (o LookupKeypairResultOutput) KeypairName() pulumi.StringOutput { - return o.ApplyT(func(v LookupKeypairResult) string { return v.KeypairName }).(pulumi.StringOutput) -} - -func (o LookupKeypairResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v LookupKeypairResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupKeypairResultOutput{}) -} diff --git a/sdk/go/outscale/getKeypairs.go b/sdk/go/outscale/getKeypairs.go deleted file mode 100644 index ff17ddb..0000000 --- a/sdk/go/outscale/getKeypairs.go +++ /dev/null @@ -1,145 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about keypairs. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Keypairs.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-keypair). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetKeypairs(ctx, &outscale.GetKeypairsArgs{ -// Filters: []outscale.GetKeypairsFilter{ -// { -// Name: "keypair_names", -// Values: []string{ -// "terraform-keypair-01", -// "terraform-keypair-02", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetKeypairs(ctx *pulumi.Context, args *GetKeypairsArgs, opts ...pulumi.InvokeOption) (*GetKeypairsResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetKeypairsResult - err := ctx.Invoke("outscale:index/getKeypairs:getKeypairs", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getKeypairs. -type GetKeypairsArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetKeypairsFilter `pulumi:"filters"` - // The names of the keypairs. - KeypairNames []string `pulumi:"keypairNames"` -} - -// A collection of values returned by getKeypairs. -type GetKeypairsResult struct { - Filters []GetKeypairsFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - KeypairNames []string `pulumi:"keypairNames"` - // Information about one or more keypairs. - Keypairs []GetKeypairsKeypair `pulumi:"keypairs"` - RequestId string `pulumi:"requestId"` -} - -func GetKeypairsOutput(ctx *pulumi.Context, args GetKeypairsOutputArgs, opts ...pulumi.InvokeOption) GetKeypairsResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetKeypairsResult, error) { - args := v.(GetKeypairsArgs) - r, err := GetKeypairs(ctx, &args, opts...) - var s GetKeypairsResult - if r != nil { - s = *r - } - return s, err - }).(GetKeypairsResultOutput) -} - -// A collection of arguments for invoking getKeypairs. -type GetKeypairsOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetKeypairsFilterArrayInput `pulumi:"filters"` - // The names of the keypairs. - KeypairNames pulumi.StringArrayInput `pulumi:"keypairNames"` -} - -func (GetKeypairsOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetKeypairsArgs)(nil)).Elem() -} - -// A collection of values returned by getKeypairs. -type GetKeypairsResultOutput struct{ *pulumi.OutputState } - -func (GetKeypairsResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetKeypairsResult)(nil)).Elem() -} - -func (o GetKeypairsResultOutput) ToGetKeypairsResultOutput() GetKeypairsResultOutput { - return o -} - -func (o GetKeypairsResultOutput) ToGetKeypairsResultOutputWithContext(ctx context.Context) GetKeypairsResultOutput { - return o -} - -func (o GetKeypairsResultOutput) Filters() GetKeypairsFilterArrayOutput { - return o.ApplyT(func(v GetKeypairsResult) []GetKeypairsFilter { return v.Filters }).(GetKeypairsFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetKeypairsResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetKeypairsResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o GetKeypairsResultOutput) KeypairNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetKeypairsResult) []string { return v.KeypairNames }).(pulumi.StringArrayOutput) -} - -// Information about one or more keypairs. -func (o GetKeypairsResultOutput) Keypairs() GetKeypairsKeypairArrayOutput { - return o.ApplyT(func(v GetKeypairsResult) []GetKeypairsKeypair { return v.Keypairs }).(GetKeypairsKeypairArrayOutput) -} - -func (o GetKeypairsResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetKeypairsResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(GetKeypairsResultOutput{}) -} diff --git a/sdk/go/outscale/getLoadBalancer.go b/sdk/go/outscale/getLoadBalancer.go deleted file mode 100644 index 61fe17f..0000000 --- a/sdk/go/outscale/getLoadBalancer.go +++ /dev/null @@ -1,305 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about a load balancer. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Load-Balancers.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-loadbalancer). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.LookupLoadBalancer(ctx, &outscale.LookupLoadBalancerArgs{ -// Filters: []outscale.GetLoadBalancerFilter{ -// { -// Name: "load_balancer_names", -// Values: []string{ -// "load_balancer01", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func LookupLoadBalancer(ctx *pulumi.Context, args *LookupLoadBalancerArgs, opts ...pulumi.InvokeOption) (*LookupLoadBalancerResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupLoadBalancerResult - err := ctx.Invoke("outscale:index/getLoadBalancer:getLoadBalancer", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getLoadBalancer. -type LookupLoadBalancerArgs struct { - // Information about access logs. - AccessLogs []GetLoadBalancerAccessLog `pulumi:"accessLogs"` - // One or more IDs of back-end VMs for the load balancer. - BackendVmIds []string `pulumi:"backendVmIds"` - // The DNS name of the load balancer. - DnsName *string `pulumi:"dnsName"` - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetLoadBalancerFilter `pulumi:"filters"` - // Information about the health check configuration. - HealthChecks []GetLoadBalancerHealthCheck `pulumi:"healthChecks"` - // The listeners for the load balancer. - Listeners []GetLoadBalancerListener `pulumi:"listeners"` - // The name of the load balancer. - LoadBalancerName *string `pulumi:"loadBalancerName"` - // The type of load balancer. Valid only for load balancers in a Net.
- // If `loadBalancerType` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.
- // If `loadBalancerType` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - LoadBalancerType *string `pulumi:"loadBalancerType"` - // The ID of the Net for the load balancer. - NetId *string `pulumi:"netId"` - // One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - SecurityGroups []string `pulumi:"securityGroups"` - // The ID of the Subnet in which the load balancer was created. - Subnets []string `pulumi:"subnets"` - // One or more tags associated with the load balancer. - Tags []GetLoadBalancerTag `pulumi:"tags"` -} - -// A collection of values returned by getLoadBalancer. -type LookupLoadBalancerResult struct { - // Information about access logs. - AccessLogs []GetLoadBalancerAccessLog `pulumi:"accessLogs"` - // The stickiness policies defined for the load balancer. - ApplicationStickyCookiePolicies []GetLoadBalancerApplicationStickyCookiePolicy `pulumi:"applicationStickyCookiePolicies"` - // One or more IDs of back-end VMs for the load balancer. - BackendVmIds []string `pulumi:"backendVmIds"` - // The DNS name of the load balancer. - DnsName string `pulumi:"dnsName"` - Filters []GetLoadBalancerFilter `pulumi:"filters"` - // Information about the health check configuration. - HealthChecks []GetLoadBalancerHealthCheck `pulumi:"healthChecks"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // The listeners for the load balancer. - Listeners []GetLoadBalancerListener `pulumi:"listeners"` - // The name of the load balancer. - LoadBalancerName string `pulumi:"loadBalancerName"` - // The policies defined for the load balancer. - LoadBalancerStickyCookiePolicies []GetLoadBalancerLoadBalancerStickyCookiePolicy `pulumi:"loadBalancerStickyCookiePolicies"` - // The type of load balancer. Valid only for load balancers in a Net.
- // If `loadBalancerType` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.
- // If `loadBalancerType` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - LoadBalancerType string `pulumi:"loadBalancerType"` - // The ID of the Net for the load balancer. - NetId string `pulumi:"netId"` - // (internet-facing only) The public IP associated with the load balancer. - PublicIp string `pulumi:"publicIp"` - RequestId string `pulumi:"requestId"` - // Whether secure cookies are enabled for the load balancer. - SecuredCookies bool `pulumi:"securedCookies"` - // One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - SecurityGroups []string `pulumi:"securityGroups"` - // Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.
- // To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. - SourceSecurityGroups []GetLoadBalancerSourceSecurityGroup `pulumi:"sourceSecurityGroups"` - // The ID of the Subnet in which the load balancer was created. - Subnets []string `pulumi:"subnets"` - // The ID of the Subregion in which the load balancer was created. - SubregionNames []string `pulumi:"subregionNames"` - // One or more tags associated with the load balancer. - Tags []GetLoadBalancerTag `pulumi:"tags"` -} - -func LookupLoadBalancerOutput(ctx *pulumi.Context, args LookupLoadBalancerOutputArgs, opts ...pulumi.InvokeOption) LookupLoadBalancerResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupLoadBalancerResult, error) { - args := v.(LookupLoadBalancerArgs) - r, err := LookupLoadBalancer(ctx, &args, opts...) - var s LookupLoadBalancerResult - if r != nil { - s = *r - } - return s, err - }).(LookupLoadBalancerResultOutput) -} - -// A collection of arguments for invoking getLoadBalancer. -type LookupLoadBalancerOutputArgs struct { - // Information about access logs. - AccessLogs GetLoadBalancerAccessLogArrayInput `pulumi:"accessLogs"` - // One or more IDs of back-end VMs for the load balancer. - BackendVmIds pulumi.StringArrayInput `pulumi:"backendVmIds"` - // The DNS name of the load balancer. - DnsName pulumi.StringPtrInput `pulumi:"dnsName"` - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetLoadBalancerFilterArrayInput `pulumi:"filters"` - // Information about the health check configuration. - HealthChecks GetLoadBalancerHealthCheckArrayInput `pulumi:"healthChecks"` - // The listeners for the load balancer. - Listeners GetLoadBalancerListenerArrayInput `pulumi:"listeners"` - // The name of the load balancer. - LoadBalancerName pulumi.StringPtrInput `pulumi:"loadBalancerName"` - // The type of load balancer. Valid only for load balancers in a Net.
- // If `loadBalancerType` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.
- // If `loadBalancerType` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - LoadBalancerType pulumi.StringPtrInput `pulumi:"loadBalancerType"` - // The ID of the Net for the load balancer. - NetId pulumi.StringPtrInput `pulumi:"netId"` - // One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - SecurityGroups pulumi.StringArrayInput `pulumi:"securityGroups"` - // The ID of the Subnet in which the load balancer was created. - Subnets pulumi.StringArrayInput `pulumi:"subnets"` - // One or more tags associated with the load balancer. - Tags GetLoadBalancerTagArrayInput `pulumi:"tags"` -} - -func (LookupLoadBalancerOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupLoadBalancerArgs)(nil)).Elem() -} - -// A collection of values returned by getLoadBalancer. -type LookupLoadBalancerResultOutput struct{ *pulumi.OutputState } - -func (LookupLoadBalancerResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupLoadBalancerResult)(nil)).Elem() -} - -func (o LookupLoadBalancerResultOutput) ToLookupLoadBalancerResultOutput() LookupLoadBalancerResultOutput { - return o -} - -func (o LookupLoadBalancerResultOutput) ToLookupLoadBalancerResultOutputWithContext(ctx context.Context) LookupLoadBalancerResultOutput { - return o -} - -// Information about access logs. -func (o LookupLoadBalancerResultOutput) AccessLogs() GetLoadBalancerAccessLogArrayOutput { - return o.ApplyT(func(v LookupLoadBalancerResult) []GetLoadBalancerAccessLog { return v.AccessLogs }).(GetLoadBalancerAccessLogArrayOutput) -} - -// The stickiness policies defined for the load balancer. -func (o LookupLoadBalancerResultOutput) ApplicationStickyCookiePolicies() GetLoadBalancerApplicationStickyCookiePolicyArrayOutput { - return o.ApplyT(func(v LookupLoadBalancerResult) []GetLoadBalancerApplicationStickyCookiePolicy { - return v.ApplicationStickyCookiePolicies - }).(GetLoadBalancerApplicationStickyCookiePolicyArrayOutput) -} - -// One or more IDs of back-end VMs for the load balancer. -func (o LookupLoadBalancerResultOutput) BackendVmIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v LookupLoadBalancerResult) []string { return v.BackendVmIds }).(pulumi.StringArrayOutput) -} - -// The DNS name of the load balancer. -func (o LookupLoadBalancerResultOutput) DnsName() pulumi.StringOutput { - return o.ApplyT(func(v LookupLoadBalancerResult) string { return v.DnsName }).(pulumi.StringOutput) -} - -func (o LookupLoadBalancerResultOutput) Filters() GetLoadBalancerFilterArrayOutput { - return o.ApplyT(func(v LookupLoadBalancerResult) []GetLoadBalancerFilter { return v.Filters }).(GetLoadBalancerFilterArrayOutput) -} - -// Information about the health check configuration. -func (o LookupLoadBalancerResultOutput) HealthChecks() GetLoadBalancerHealthCheckArrayOutput { - return o.ApplyT(func(v LookupLoadBalancerResult) []GetLoadBalancerHealthCheck { return v.HealthChecks }).(GetLoadBalancerHealthCheckArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o LookupLoadBalancerResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupLoadBalancerResult) string { return v.Id }).(pulumi.StringOutput) -} - -// The listeners for the load balancer. -func (o LookupLoadBalancerResultOutput) Listeners() GetLoadBalancerListenerArrayOutput { - return o.ApplyT(func(v LookupLoadBalancerResult) []GetLoadBalancerListener { return v.Listeners }).(GetLoadBalancerListenerArrayOutput) -} - -// The name of the load balancer. -func (o LookupLoadBalancerResultOutput) LoadBalancerName() pulumi.StringOutput { - return o.ApplyT(func(v LookupLoadBalancerResult) string { return v.LoadBalancerName }).(pulumi.StringOutput) -} - -// The policies defined for the load balancer. -func (o LookupLoadBalancerResultOutput) LoadBalancerStickyCookiePolicies() GetLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput { - return o.ApplyT(func(v LookupLoadBalancerResult) []GetLoadBalancerLoadBalancerStickyCookiePolicy { - return v.LoadBalancerStickyCookiePolicies - }).(GetLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput) -} - -// The type of load balancer. Valid only for load balancers in a Net.
-// If `loadBalancerType` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.
-// If `loadBalancerType` is `internal`, the load balancer has a public DNS name that resolves to a private IP. -func (o LookupLoadBalancerResultOutput) LoadBalancerType() pulumi.StringOutput { - return o.ApplyT(func(v LookupLoadBalancerResult) string { return v.LoadBalancerType }).(pulumi.StringOutput) -} - -// The ID of the Net for the load balancer. -func (o LookupLoadBalancerResultOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v LookupLoadBalancerResult) string { return v.NetId }).(pulumi.StringOutput) -} - -// (internet-facing only) The public IP associated with the load balancer. -func (o LookupLoadBalancerResultOutput) PublicIp() pulumi.StringOutput { - return o.ApplyT(func(v LookupLoadBalancerResult) string { return v.PublicIp }).(pulumi.StringOutput) -} - -func (o LookupLoadBalancerResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v LookupLoadBalancerResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// Whether secure cookies are enabled for the load balancer. -func (o LookupLoadBalancerResultOutput) SecuredCookies() pulumi.BoolOutput { - return o.ApplyT(func(v LookupLoadBalancerResult) bool { return v.SecuredCookies }).(pulumi.BoolOutput) -} - -// One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. -func (o LookupLoadBalancerResultOutput) SecurityGroups() pulumi.StringArrayOutput { - return o.ApplyT(func(v LookupLoadBalancerResult) []string { return v.SecurityGroups }).(pulumi.StringArrayOutput) -} - -// Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.
-// To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. -func (o LookupLoadBalancerResultOutput) SourceSecurityGroups() GetLoadBalancerSourceSecurityGroupArrayOutput { - return o.ApplyT(func(v LookupLoadBalancerResult) []GetLoadBalancerSourceSecurityGroup { return v.SourceSecurityGroups }).(GetLoadBalancerSourceSecurityGroupArrayOutput) -} - -// The ID of the Subnet in which the load balancer was created. -func (o LookupLoadBalancerResultOutput) Subnets() pulumi.StringArrayOutput { - return o.ApplyT(func(v LookupLoadBalancerResult) []string { return v.Subnets }).(pulumi.StringArrayOutput) -} - -// The ID of the Subregion in which the load balancer was created. -func (o LookupLoadBalancerResultOutput) SubregionNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v LookupLoadBalancerResult) []string { return v.SubregionNames }).(pulumi.StringArrayOutput) -} - -// One or more tags associated with the load balancer. -func (o LookupLoadBalancerResultOutput) Tags() GetLoadBalancerTagArrayOutput { - return o.ApplyT(func(v LookupLoadBalancerResult) []GetLoadBalancerTag { return v.Tags }).(GetLoadBalancerTagArrayOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupLoadBalancerResultOutput{}) -} diff --git a/sdk/go/outscale/getLoadBalancerTags.go b/sdk/go/outscale/getLoadBalancerTags.go deleted file mode 100644 index c7fefbf..0000000 --- a/sdk/go/outscale/getLoadBalancerTags.go +++ /dev/null @@ -1,101 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -func GetLoadBalancerTags(ctx *pulumi.Context, args *GetLoadBalancerTagsArgs, opts ...pulumi.InvokeOption) (*GetLoadBalancerTagsResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetLoadBalancerTagsResult - err := ctx.Invoke("outscale:index/getLoadBalancerTags:getLoadBalancerTags", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getLoadBalancerTags. -type GetLoadBalancerTagsArgs struct { - Filters []GetLoadBalancerTagsFilter `pulumi:"filters"` - LoadBalancerNames []string `pulumi:"loadBalancerNames"` -} - -// A collection of values returned by getLoadBalancerTags. -type GetLoadBalancerTagsResult struct { - Filters []GetLoadBalancerTagsFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - LoadBalancerNames []string `pulumi:"loadBalancerNames"` - RequestId string `pulumi:"requestId"` - Tags []GetLoadBalancerTagsTag `pulumi:"tags"` -} - -func GetLoadBalancerTagsOutput(ctx *pulumi.Context, args GetLoadBalancerTagsOutputArgs, opts ...pulumi.InvokeOption) GetLoadBalancerTagsResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetLoadBalancerTagsResult, error) { - args := v.(GetLoadBalancerTagsArgs) - r, err := GetLoadBalancerTags(ctx, &args, opts...) - var s GetLoadBalancerTagsResult - if r != nil { - s = *r - } - return s, err - }).(GetLoadBalancerTagsResultOutput) -} - -// A collection of arguments for invoking getLoadBalancerTags. -type GetLoadBalancerTagsOutputArgs struct { - Filters GetLoadBalancerTagsFilterArrayInput `pulumi:"filters"` - LoadBalancerNames pulumi.StringArrayInput `pulumi:"loadBalancerNames"` -} - -func (GetLoadBalancerTagsOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancerTagsArgs)(nil)).Elem() -} - -// A collection of values returned by getLoadBalancerTags. -type GetLoadBalancerTagsResultOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancerTagsResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancerTagsResult)(nil)).Elem() -} - -func (o GetLoadBalancerTagsResultOutput) ToGetLoadBalancerTagsResultOutput() GetLoadBalancerTagsResultOutput { - return o -} - -func (o GetLoadBalancerTagsResultOutput) ToGetLoadBalancerTagsResultOutputWithContext(ctx context.Context) GetLoadBalancerTagsResultOutput { - return o -} - -func (o GetLoadBalancerTagsResultOutput) Filters() GetLoadBalancerTagsFilterArrayOutput { - return o.ApplyT(func(v GetLoadBalancerTagsResult) []GetLoadBalancerTagsFilter { return v.Filters }).(GetLoadBalancerTagsFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetLoadBalancerTagsResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancerTagsResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o GetLoadBalancerTagsResultOutput) LoadBalancerNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetLoadBalancerTagsResult) []string { return v.LoadBalancerNames }).(pulumi.StringArrayOutput) -} - -func (o GetLoadBalancerTagsResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancerTagsResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -func (o GetLoadBalancerTagsResultOutput) Tags() GetLoadBalancerTagsTagArrayOutput { - return o.ApplyT(func(v GetLoadBalancerTagsResult) []GetLoadBalancerTagsTag { return v.Tags }).(GetLoadBalancerTagsTagArrayOutput) -} - -func init() { - pulumi.RegisterOutputType(GetLoadBalancerTagsResultOutput{}) -} diff --git a/sdk/go/outscale/getLoadBalancerVmHealth.go b/sdk/go/outscale/getLoadBalancerVmHealth.go deleted file mode 100644 index b78ec5b..0000000 --- a/sdk/go/outscale/getLoadBalancerVmHealth.go +++ /dev/null @@ -1,150 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about the health of one or more back-end VMs registered with a specific load balancer. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Load-Balancers.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readvmshealth). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetLoadBalancerVmHealth(ctx, &outscale.GetLoadBalancerVmHealthArgs{ -// BackendVmIds: []string{ -// "i-12345678", -// "i-87654321", -// }, -// LoadBalancerName: "load_balancer01", -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetLoadBalancerVmHealth(ctx *pulumi.Context, args *GetLoadBalancerVmHealthArgs, opts ...pulumi.InvokeOption) (*GetLoadBalancerVmHealthResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetLoadBalancerVmHealthResult - err := ctx.Invoke("outscale:index/getLoadBalancerVmHealth:getLoadBalancerVmHealth", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getLoadBalancerVmHealth. -type GetLoadBalancerVmHealthArgs struct { - // One or more IDs of back-end VMs. - BackendVmIds []string `pulumi:"backendVmIds"` - Filters []GetLoadBalancerVmHealthFilter `pulumi:"filters"` - // The name of the load balancer. - LoadBalancerName string `pulumi:"loadBalancerName"` -} - -// A collection of values returned by getLoadBalancerVmHealth. -type GetLoadBalancerVmHealthResult struct { - // Information about the health of one or more back-end VMs. - BackendVmHealths []GetLoadBalancerVmHealthBackendVmHealth `pulumi:"backendVmHealths"` - BackendVmIds []string `pulumi:"backendVmIds"` - Filters []GetLoadBalancerVmHealthFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - LoadBalancerName string `pulumi:"loadBalancerName"` - RequestId string `pulumi:"requestId"` -} - -func GetLoadBalancerVmHealthOutput(ctx *pulumi.Context, args GetLoadBalancerVmHealthOutputArgs, opts ...pulumi.InvokeOption) GetLoadBalancerVmHealthResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetLoadBalancerVmHealthResult, error) { - args := v.(GetLoadBalancerVmHealthArgs) - r, err := GetLoadBalancerVmHealth(ctx, &args, opts...) - var s GetLoadBalancerVmHealthResult - if r != nil { - s = *r - } - return s, err - }).(GetLoadBalancerVmHealthResultOutput) -} - -// A collection of arguments for invoking getLoadBalancerVmHealth. -type GetLoadBalancerVmHealthOutputArgs struct { - // One or more IDs of back-end VMs. - BackendVmIds pulumi.StringArrayInput `pulumi:"backendVmIds"` - Filters GetLoadBalancerVmHealthFilterArrayInput `pulumi:"filters"` - // The name of the load balancer. - LoadBalancerName pulumi.StringInput `pulumi:"loadBalancerName"` -} - -func (GetLoadBalancerVmHealthOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancerVmHealthArgs)(nil)).Elem() -} - -// A collection of values returned by getLoadBalancerVmHealth. -type GetLoadBalancerVmHealthResultOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancerVmHealthResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancerVmHealthResult)(nil)).Elem() -} - -func (o GetLoadBalancerVmHealthResultOutput) ToGetLoadBalancerVmHealthResultOutput() GetLoadBalancerVmHealthResultOutput { - return o -} - -func (o GetLoadBalancerVmHealthResultOutput) ToGetLoadBalancerVmHealthResultOutputWithContext(ctx context.Context) GetLoadBalancerVmHealthResultOutput { - return o -} - -// Information about the health of one or more back-end VMs. -func (o GetLoadBalancerVmHealthResultOutput) BackendVmHealths() GetLoadBalancerVmHealthBackendVmHealthArrayOutput { - return o.ApplyT(func(v GetLoadBalancerVmHealthResult) []GetLoadBalancerVmHealthBackendVmHealth { - return v.BackendVmHealths - }).(GetLoadBalancerVmHealthBackendVmHealthArrayOutput) -} - -func (o GetLoadBalancerVmHealthResultOutput) BackendVmIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetLoadBalancerVmHealthResult) []string { return v.BackendVmIds }).(pulumi.StringArrayOutput) -} - -func (o GetLoadBalancerVmHealthResultOutput) Filters() GetLoadBalancerVmHealthFilterArrayOutput { - return o.ApplyT(func(v GetLoadBalancerVmHealthResult) []GetLoadBalancerVmHealthFilter { return v.Filters }).(GetLoadBalancerVmHealthFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetLoadBalancerVmHealthResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancerVmHealthResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o GetLoadBalancerVmHealthResultOutput) LoadBalancerName() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancerVmHealthResult) string { return v.LoadBalancerName }).(pulumi.StringOutput) -} - -func (o GetLoadBalancerVmHealthResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancerVmHealthResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(GetLoadBalancerVmHealthResultOutput{}) -} diff --git a/sdk/go/outscale/getLoadBalancers.go b/sdk/go/outscale/getLoadBalancers.go deleted file mode 100644 index 44f29a7..0000000 --- a/sdk/go/outscale/getLoadBalancers.go +++ /dev/null @@ -1,145 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about load balancers. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Load-Balancers.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-loadbalancer). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetLoadBalancers(ctx, &outscale.GetLoadBalancersArgs{ -// Filters: []outscale.GetLoadBalancersFilter{ -// { -// Name: "load_balancer_names", -// Values: []string{ -// "load_balancer01", -// "load_balancer02", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetLoadBalancers(ctx *pulumi.Context, args *GetLoadBalancersArgs, opts ...pulumi.InvokeOption) (*GetLoadBalancersResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetLoadBalancersResult - err := ctx.Invoke("outscale:index/getLoadBalancers:getLoadBalancers", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getLoadBalancers. -type GetLoadBalancersArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetLoadBalancersFilter `pulumi:"filters"` - // The name of the load balancer. - LoadBalancerNames []string `pulumi:"loadBalancerNames"` -} - -// A collection of values returned by getLoadBalancers. -type GetLoadBalancersResult struct { - Filters []GetLoadBalancersFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // The name of the load balancer. - LoadBalancerNames []string `pulumi:"loadBalancerNames"` - LoadBalancers []GetLoadBalancersLoadBalancer `pulumi:"loadBalancers"` - RequestId string `pulumi:"requestId"` -} - -func GetLoadBalancersOutput(ctx *pulumi.Context, args GetLoadBalancersOutputArgs, opts ...pulumi.InvokeOption) GetLoadBalancersResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetLoadBalancersResult, error) { - args := v.(GetLoadBalancersArgs) - r, err := GetLoadBalancers(ctx, &args, opts...) - var s GetLoadBalancersResult - if r != nil { - s = *r - } - return s, err - }).(GetLoadBalancersResultOutput) -} - -// A collection of arguments for invoking getLoadBalancers. -type GetLoadBalancersOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetLoadBalancersFilterArrayInput `pulumi:"filters"` - // The name of the load balancer. - LoadBalancerNames pulumi.StringArrayInput `pulumi:"loadBalancerNames"` -} - -func (GetLoadBalancersOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancersArgs)(nil)).Elem() -} - -// A collection of values returned by getLoadBalancers. -type GetLoadBalancersResultOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancersResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancersResult)(nil)).Elem() -} - -func (o GetLoadBalancersResultOutput) ToGetLoadBalancersResultOutput() GetLoadBalancersResultOutput { - return o -} - -func (o GetLoadBalancersResultOutput) ToGetLoadBalancersResultOutputWithContext(ctx context.Context) GetLoadBalancersResultOutput { - return o -} - -func (o GetLoadBalancersResultOutput) Filters() GetLoadBalancersFilterArrayOutput { - return o.ApplyT(func(v GetLoadBalancersResult) []GetLoadBalancersFilter { return v.Filters }).(GetLoadBalancersFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetLoadBalancersResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancersResult) string { return v.Id }).(pulumi.StringOutput) -} - -// The name of the load balancer. -func (o GetLoadBalancersResultOutput) LoadBalancerNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetLoadBalancersResult) []string { return v.LoadBalancerNames }).(pulumi.StringArrayOutput) -} - -func (o GetLoadBalancersResultOutput) LoadBalancers() GetLoadBalancersLoadBalancerArrayOutput { - return o.ApplyT(func(v GetLoadBalancersResult) []GetLoadBalancersLoadBalancer { return v.LoadBalancers }).(GetLoadBalancersLoadBalancerArrayOutput) -} - -func (o GetLoadBalancersResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancersResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(GetLoadBalancersResultOutput{}) -} diff --git a/sdk/go/outscale/getNatService.go b/sdk/go/outscale/getNatService.go deleted file mode 100644 index 4849748..0000000 --- a/sdk/go/outscale/getNatService.go +++ /dev/null @@ -1,174 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about a NAT service. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-NAT-Gateways.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-natservice). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.LookupNatService(ctx, &outscale.LookupNatServiceArgs{ -// Filters: []outscale.GetNatServiceFilter{ -// { -// Name: "nat_service_ids", -// Values: []string{ -// "nat-12345678", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func LookupNatService(ctx *pulumi.Context, args *LookupNatServiceArgs, opts ...pulumi.InvokeOption) (*LookupNatServiceResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupNatServiceResult - err := ctx.Invoke("outscale:index/getNatService:getNatService", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getNatService. -type LookupNatServiceArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetNatServiceFilter `pulumi:"filters"` - // The ID of the NAT service. - NatServiceId *string `pulumi:"natServiceId"` -} - -// A collection of values returned by getNatService. -type LookupNatServiceResult struct { - Filters []GetNatServiceFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // The ID of the NAT service. - NatServiceId *string `pulumi:"natServiceId"` - // The ID of the Net in which the NAT service is. - NetId string `pulumi:"netId"` - // Information about the public IP or IPs associated with the NAT service. - PublicIps []GetNatServicePublicIp `pulumi:"publicIps"` - RequestId string `pulumi:"requestId"` - // The state of the NAT service (`pending` \| `available` \| `deleting` \| `deleted`). - State string `pulumi:"state"` - // The ID of the Subnet in which the NAT service is. - SubnetId string `pulumi:"subnetId"` - // One or more tags associated with the NAT service. - Tags []GetNatServiceTag `pulumi:"tags"` -} - -func LookupNatServiceOutput(ctx *pulumi.Context, args LookupNatServiceOutputArgs, opts ...pulumi.InvokeOption) LookupNatServiceResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupNatServiceResult, error) { - args := v.(LookupNatServiceArgs) - r, err := LookupNatService(ctx, &args, opts...) - var s LookupNatServiceResult - if r != nil { - s = *r - } - return s, err - }).(LookupNatServiceResultOutput) -} - -// A collection of arguments for invoking getNatService. -type LookupNatServiceOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetNatServiceFilterArrayInput `pulumi:"filters"` - // The ID of the NAT service. - NatServiceId pulumi.StringPtrInput `pulumi:"natServiceId"` -} - -func (LookupNatServiceOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupNatServiceArgs)(nil)).Elem() -} - -// A collection of values returned by getNatService. -type LookupNatServiceResultOutput struct{ *pulumi.OutputState } - -func (LookupNatServiceResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupNatServiceResult)(nil)).Elem() -} - -func (o LookupNatServiceResultOutput) ToLookupNatServiceResultOutput() LookupNatServiceResultOutput { - return o -} - -func (o LookupNatServiceResultOutput) ToLookupNatServiceResultOutputWithContext(ctx context.Context) LookupNatServiceResultOutput { - return o -} - -func (o LookupNatServiceResultOutput) Filters() GetNatServiceFilterArrayOutput { - return o.ApplyT(func(v LookupNatServiceResult) []GetNatServiceFilter { return v.Filters }).(GetNatServiceFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o LookupNatServiceResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupNatServiceResult) string { return v.Id }).(pulumi.StringOutput) -} - -// The ID of the NAT service. -func (o LookupNatServiceResultOutput) NatServiceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v LookupNatServiceResult) *string { return v.NatServiceId }).(pulumi.StringPtrOutput) -} - -// The ID of the Net in which the NAT service is. -func (o LookupNatServiceResultOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v LookupNatServiceResult) string { return v.NetId }).(pulumi.StringOutput) -} - -// Information about the public IP or IPs associated with the NAT service. -func (o LookupNatServiceResultOutput) PublicIps() GetNatServicePublicIpArrayOutput { - return o.ApplyT(func(v LookupNatServiceResult) []GetNatServicePublicIp { return v.PublicIps }).(GetNatServicePublicIpArrayOutput) -} - -func (o LookupNatServiceResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v LookupNatServiceResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// The state of the NAT service (`pending` \| `available` \| `deleting` \| `deleted`). -func (o LookupNatServiceResultOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v LookupNatServiceResult) string { return v.State }).(pulumi.StringOutput) -} - -// The ID of the Subnet in which the NAT service is. -func (o LookupNatServiceResultOutput) SubnetId() pulumi.StringOutput { - return o.ApplyT(func(v LookupNatServiceResult) string { return v.SubnetId }).(pulumi.StringOutput) -} - -// One or more tags associated with the NAT service. -func (o LookupNatServiceResultOutput) Tags() GetNatServiceTagArrayOutput { - return o.ApplyT(func(v LookupNatServiceResult) []GetNatServiceTag { return v.Tags }).(GetNatServiceTagArrayOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupNatServiceResultOutput{}) -} diff --git a/sdk/go/outscale/getNatServices.go b/sdk/go/outscale/getNatServices.go deleted file mode 100644 index d1c5b42..0000000 --- a/sdk/go/outscale/getNatServices.go +++ /dev/null @@ -1,151 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about NAT services. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-NAT-Gateways.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-natservice). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetNatServices(ctx, &outscale.GetNatServicesArgs{ -// Filters: []outscale.GetNatServicesFilter{ -// { -// Name: "net_ids", -// Values: []string{ -// "vpc-12345678", -// "vpc-87654321", -// }, -// }, -// { -// Name: "subnet_ids", -// Values: []string{ -// "eu-west-2a", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetNatServices(ctx *pulumi.Context, args *GetNatServicesArgs, opts ...pulumi.InvokeOption) (*GetNatServicesResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetNatServicesResult - err := ctx.Invoke("outscale:index/getNatServices:getNatServices", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getNatServices. -type GetNatServicesArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetNatServicesFilter `pulumi:"filters"` - // The IDs of the NAT services. - NatServiceIds []string `pulumi:"natServiceIds"` -} - -// A collection of values returned by getNatServices. -type GetNatServicesResult struct { - Filters []GetNatServicesFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - NatServiceIds []string `pulumi:"natServiceIds"` - // Information about one or more NAT services. - NatServices []GetNatServicesNatService `pulumi:"natServices"` - RequestId string `pulumi:"requestId"` -} - -func GetNatServicesOutput(ctx *pulumi.Context, args GetNatServicesOutputArgs, opts ...pulumi.InvokeOption) GetNatServicesResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetNatServicesResult, error) { - args := v.(GetNatServicesArgs) - r, err := GetNatServices(ctx, &args, opts...) - var s GetNatServicesResult - if r != nil { - s = *r - } - return s, err - }).(GetNatServicesResultOutput) -} - -// A collection of arguments for invoking getNatServices. -type GetNatServicesOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetNatServicesFilterArrayInput `pulumi:"filters"` - // The IDs of the NAT services. - NatServiceIds pulumi.StringArrayInput `pulumi:"natServiceIds"` -} - -func (GetNatServicesOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNatServicesArgs)(nil)).Elem() -} - -// A collection of values returned by getNatServices. -type GetNatServicesResultOutput struct{ *pulumi.OutputState } - -func (GetNatServicesResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNatServicesResult)(nil)).Elem() -} - -func (o GetNatServicesResultOutput) ToGetNatServicesResultOutput() GetNatServicesResultOutput { - return o -} - -func (o GetNatServicesResultOutput) ToGetNatServicesResultOutputWithContext(ctx context.Context) GetNatServicesResultOutput { - return o -} - -func (o GetNatServicesResultOutput) Filters() GetNatServicesFilterArrayOutput { - return o.ApplyT(func(v GetNatServicesResult) []GetNatServicesFilter { return v.Filters }).(GetNatServicesFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetNatServicesResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetNatServicesResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o GetNatServicesResultOutput) NatServiceIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetNatServicesResult) []string { return v.NatServiceIds }).(pulumi.StringArrayOutput) -} - -// Information about one or more NAT services. -func (o GetNatServicesResultOutput) NatServices() GetNatServicesNatServiceArrayOutput { - return o.ApplyT(func(v GetNatServicesResult) []GetNatServicesNatService { return v.NatServices }).(GetNatServicesNatServiceArrayOutput) -} - -func (o GetNatServicesResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetNatServicesResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(GetNatServicesResultOutput{}) -} diff --git a/sdk/go/outscale/getNet.go b/sdk/go/outscale/getNet.go deleted file mode 100644 index 6fad5b2..0000000 --- a/sdk/go/outscale/getNet.go +++ /dev/null @@ -1,174 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about a Net. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPCs.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-net). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.LookupNet(ctx, &outscale.LookupNetArgs{ -// Filters: []outscale.GetNetFilter{ -// { -// Name: "net_ids", -// Values: []string{ -// "vpc-12345678", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func LookupNet(ctx *pulumi.Context, args *LookupNetArgs, opts ...pulumi.InvokeOption) (*LookupNetResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupNetResult - err := ctx.Invoke("outscale:index/getNet:getNet", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getNet. -type LookupNetArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetNetFilter `pulumi:"filters"` - // The ID of the Net. - NetId *string `pulumi:"netId"` -} - -// A collection of values returned by getNet. -type LookupNetResult struct { - // The ID of the DHCP options set (or `default` if you want to associate the default one). - DhcpOptionsSetId string `pulumi:"dhcpOptionsSetId"` - Filters []GetNetFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). - IpRange string `pulumi:"ipRange"` - // The ID of the Net. - NetId string `pulumi:"netId"` - RequestId string `pulumi:"requestId"` - // The state of the Net (`pending` \| `available` \| `deleted`). - State string `pulumi:"state"` - // One or more tags associated with the Net. - Tags []GetNetTag `pulumi:"tags"` - // The VM tenancy in a Net. - Tenancy string `pulumi:"tenancy"` -} - -func LookupNetOutput(ctx *pulumi.Context, args LookupNetOutputArgs, opts ...pulumi.InvokeOption) LookupNetResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupNetResult, error) { - args := v.(LookupNetArgs) - r, err := LookupNet(ctx, &args, opts...) - var s LookupNetResult - if r != nil { - s = *r - } - return s, err - }).(LookupNetResultOutput) -} - -// A collection of arguments for invoking getNet. -type LookupNetOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetNetFilterArrayInput `pulumi:"filters"` - // The ID of the Net. - NetId pulumi.StringPtrInput `pulumi:"netId"` -} - -func (LookupNetOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupNetArgs)(nil)).Elem() -} - -// A collection of values returned by getNet. -type LookupNetResultOutput struct{ *pulumi.OutputState } - -func (LookupNetResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupNetResult)(nil)).Elem() -} - -func (o LookupNetResultOutput) ToLookupNetResultOutput() LookupNetResultOutput { - return o -} - -func (o LookupNetResultOutput) ToLookupNetResultOutputWithContext(ctx context.Context) LookupNetResultOutput { - return o -} - -// The ID of the DHCP options set (or `default` if you want to associate the default one). -func (o LookupNetResultOutput) DhcpOptionsSetId() pulumi.StringOutput { - return o.ApplyT(func(v LookupNetResult) string { return v.DhcpOptionsSetId }).(pulumi.StringOutput) -} - -func (o LookupNetResultOutput) Filters() GetNetFilterArrayOutput { - return o.ApplyT(func(v LookupNetResult) []GetNetFilter { return v.Filters }).(GetNetFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o LookupNetResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupNetResult) string { return v.Id }).(pulumi.StringOutput) -} - -// The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). -func (o LookupNetResultOutput) IpRange() pulumi.StringOutput { - return o.ApplyT(func(v LookupNetResult) string { return v.IpRange }).(pulumi.StringOutput) -} - -// The ID of the Net. -func (o LookupNetResultOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v LookupNetResult) string { return v.NetId }).(pulumi.StringOutput) -} - -func (o LookupNetResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v LookupNetResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// The state of the Net (`pending` \| `available` \| `deleted`). -func (o LookupNetResultOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v LookupNetResult) string { return v.State }).(pulumi.StringOutput) -} - -// One or more tags associated with the Net. -func (o LookupNetResultOutput) Tags() GetNetTagArrayOutput { - return o.ApplyT(func(v LookupNetResult) []GetNetTag { return v.Tags }).(GetNetTagArrayOutput) -} - -// The VM tenancy in a Net. -func (o LookupNetResultOutput) Tenancy() pulumi.StringOutput { - return o.ApplyT(func(v LookupNetResult) string { return v.Tenancy }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupNetResultOutput{}) -} diff --git a/sdk/go/outscale/getNetAccessPoint.go b/sdk/go/outscale/getNetAccessPoint.go deleted file mode 100644 index 4e6b309..0000000 --- a/sdk/go/outscale/getNetAccessPoint.go +++ /dev/null @@ -1,209 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about a Net access point. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Endpoints.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netaccesspoint). -// -// ## Example Usage -// ### List a Net access point -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.LookupNetAccessPoint(ctx, &outscale.LookupNetAccessPointArgs{ -// Filters: []outscale.GetNetAccessPointFilter{ -// { -// Name: "net_access_point_ids", -// Values: []string{ -// "vpce-12345678", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### List a Net access point according to its Net and state -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.LookupNetAccessPoint(ctx, &outscale.LookupNetAccessPointArgs{ -// Filters: []outscale.GetNetAccessPointFilter{ -// { -// Name: "net_ids", -// Values: []string{ -// "vpc-12345678", -// }, -// }, -// { -// Name: "states", -// Values: []string{ -// "available", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func LookupNetAccessPoint(ctx *pulumi.Context, args *LookupNetAccessPointArgs, opts ...pulumi.InvokeOption) (*LookupNetAccessPointResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupNetAccessPointResult - err := ctx.Invoke("outscale:index/getNetAccessPoint:getNetAccessPoint", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getNetAccessPoint. -type LookupNetAccessPointArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetNetAccessPointFilter `pulumi:"filters"` -} - -// A collection of values returned by getNetAccessPoint. -type LookupNetAccessPointResult struct { - Filters []GetNetAccessPointFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // The ID of the Net access point. - NetAccessPointId string `pulumi:"netAccessPointId"` - // The ID of the Net with which the Net access point is associated. - NetId string `pulumi:"netId"` - RequestId string `pulumi:"requestId"` - // The ID of the route tables associated with the Net access point. - RouteTableIds []string `pulumi:"routeTableIds"` - // The name of the service with which the Net access point is associated. - ServiceName string `pulumi:"serviceName"` - // The state of the Net access point (`pending` \| `available` \| `deleting` \| `deleted`). - State string `pulumi:"state"` - // One or more tags associated with the Net access point. - Tags []GetNetAccessPointTag `pulumi:"tags"` -} - -func LookupNetAccessPointOutput(ctx *pulumi.Context, args LookupNetAccessPointOutputArgs, opts ...pulumi.InvokeOption) LookupNetAccessPointResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupNetAccessPointResult, error) { - args := v.(LookupNetAccessPointArgs) - r, err := LookupNetAccessPoint(ctx, &args, opts...) - var s LookupNetAccessPointResult - if r != nil { - s = *r - } - return s, err - }).(LookupNetAccessPointResultOutput) -} - -// A collection of arguments for invoking getNetAccessPoint. -type LookupNetAccessPointOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetNetAccessPointFilterArrayInput `pulumi:"filters"` -} - -func (LookupNetAccessPointOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupNetAccessPointArgs)(nil)).Elem() -} - -// A collection of values returned by getNetAccessPoint. -type LookupNetAccessPointResultOutput struct{ *pulumi.OutputState } - -func (LookupNetAccessPointResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupNetAccessPointResult)(nil)).Elem() -} - -func (o LookupNetAccessPointResultOutput) ToLookupNetAccessPointResultOutput() LookupNetAccessPointResultOutput { - return o -} - -func (o LookupNetAccessPointResultOutput) ToLookupNetAccessPointResultOutputWithContext(ctx context.Context) LookupNetAccessPointResultOutput { - return o -} - -func (o LookupNetAccessPointResultOutput) Filters() GetNetAccessPointFilterArrayOutput { - return o.ApplyT(func(v LookupNetAccessPointResult) []GetNetAccessPointFilter { return v.Filters }).(GetNetAccessPointFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o LookupNetAccessPointResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupNetAccessPointResult) string { return v.Id }).(pulumi.StringOutput) -} - -// The ID of the Net access point. -func (o LookupNetAccessPointResultOutput) NetAccessPointId() pulumi.StringOutput { - return o.ApplyT(func(v LookupNetAccessPointResult) string { return v.NetAccessPointId }).(pulumi.StringOutput) -} - -// The ID of the Net with which the Net access point is associated. -func (o LookupNetAccessPointResultOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v LookupNetAccessPointResult) string { return v.NetId }).(pulumi.StringOutput) -} - -func (o LookupNetAccessPointResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v LookupNetAccessPointResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// The ID of the route tables associated with the Net access point. -func (o LookupNetAccessPointResultOutput) RouteTableIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v LookupNetAccessPointResult) []string { return v.RouteTableIds }).(pulumi.StringArrayOutput) -} - -// The name of the service with which the Net access point is associated. -func (o LookupNetAccessPointResultOutput) ServiceName() pulumi.StringOutput { - return o.ApplyT(func(v LookupNetAccessPointResult) string { return v.ServiceName }).(pulumi.StringOutput) -} - -// The state of the Net access point (`pending` \| `available` \| `deleting` \| `deleted`). -func (o LookupNetAccessPointResultOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v LookupNetAccessPointResult) string { return v.State }).(pulumi.StringOutput) -} - -// One or more tags associated with the Net access point. -func (o LookupNetAccessPointResultOutput) Tags() GetNetAccessPointTagArrayOutput { - return o.ApplyT(func(v LookupNetAccessPointResult) []GetNetAccessPointTag { return v.Tags }).(GetNetAccessPointTagArrayOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupNetAccessPointResultOutput{}) -} diff --git a/sdk/go/outscale/getNetAccessPointServices.go b/sdk/go/outscale/getNetAccessPointServices.go deleted file mode 100644 index 7944db7..0000000 --- a/sdk/go/outscale/getNetAccessPointServices.go +++ /dev/null @@ -1,192 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about Net access point services. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Endpoints.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netaccesspoint). -// -// ## Example Usage -// ### List all services available to create Net access points -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetNetAccessPointServices(ctx, nil, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### List one or more services according to their service IDs -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetNetAccessPointServices(ctx, &outscale.GetNetAccessPointServicesArgs{ -// Filters: []outscale.GetNetAccessPointServicesFilter{ -// { -// Name: "service_ids", -// Values: []string{ -// "pl-12345678", -// "pl-12345679", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### List one or more services according to their service names -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetNetAccessPointServices(ctx, &outscale.GetNetAccessPointServicesArgs{ -// Filters: []outscale.GetNetAccessPointServicesFilter{ -// { -// Name: "service_names", -// Values: []string{ -// "com.outscale.eu-west-2.api", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetNetAccessPointServices(ctx *pulumi.Context, args *GetNetAccessPointServicesArgs, opts ...pulumi.InvokeOption) (*GetNetAccessPointServicesResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetNetAccessPointServicesResult - err := ctx.Invoke("outscale:index/getNetAccessPointServices:getNetAccessPointServices", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getNetAccessPointServices. -type GetNetAccessPointServicesArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetNetAccessPointServicesFilter `pulumi:"filters"` -} - -// A collection of values returned by getNetAccessPointServices. -type GetNetAccessPointServicesResult struct { - Filters []GetNetAccessPointServicesFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - RequestId string `pulumi:"requestId"` - // The names of the services you can use for Net access points. - Services []GetNetAccessPointServicesService `pulumi:"services"` -} - -func GetNetAccessPointServicesOutput(ctx *pulumi.Context, args GetNetAccessPointServicesOutputArgs, opts ...pulumi.InvokeOption) GetNetAccessPointServicesResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetNetAccessPointServicesResult, error) { - args := v.(GetNetAccessPointServicesArgs) - r, err := GetNetAccessPointServices(ctx, &args, opts...) - var s GetNetAccessPointServicesResult - if r != nil { - s = *r - } - return s, err - }).(GetNetAccessPointServicesResultOutput) -} - -// A collection of arguments for invoking getNetAccessPointServices. -type GetNetAccessPointServicesOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetNetAccessPointServicesFilterArrayInput `pulumi:"filters"` -} - -func (GetNetAccessPointServicesOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetAccessPointServicesArgs)(nil)).Elem() -} - -// A collection of values returned by getNetAccessPointServices. -type GetNetAccessPointServicesResultOutput struct{ *pulumi.OutputState } - -func (GetNetAccessPointServicesResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetAccessPointServicesResult)(nil)).Elem() -} - -func (o GetNetAccessPointServicesResultOutput) ToGetNetAccessPointServicesResultOutput() GetNetAccessPointServicesResultOutput { - return o -} - -func (o GetNetAccessPointServicesResultOutput) ToGetNetAccessPointServicesResultOutputWithContext(ctx context.Context) GetNetAccessPointServicesResultOutput { - return o -} - -func (o GetNetAccessPointServicesResultOutput) Filters() GetNetAccessPointServicesFilterArrayOutput { - return o.ApplyT(func(v GetNetAccessPointServicesResult) []GetNetAccessPointServicesFilter { return v.Filters }).(GetNetAccessPointServicesFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetNetAccessPointServicesResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetNetAccessPointServicesResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o GetNetAccessPointServicesResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetNetAccessPointServicesResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// The names of the services you can use for Net access points. -func (o GetNetAccessPointServicesResultOutput) Services() GetNetAccessPointServicesServiceArrayOutput { - return o.ApplyT(func(v GetNetAccessPointServicesResult) []GetNetAccessPointServicesService { return v.Services }).(GetNetAccessPointServicesServiceArrayOutput) -} - -func init() { - pulumi.RegisterOutputType(GetNetAccessPointServicesResultOutput{}) -} diff --git a/sdk/go/outscale/getNetAccessPoints.go b/sdk/go/outscale/getNetAccessPoints.go deleted file mode 100644 index 2e89370..0000000 --- a/sdk/go/outscale/getNetAccessPoints.go +++ /dev/null @@ -1,175 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about Net access points. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Endpoints.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netaccesspoint). -// -// ## Example Usage -// ### List Net access points -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetNetAccessPoints(ctx, &outscale.GetNetAccessPointsArgs{ -// Filters: []outscale.GetNetAccessPointsFilter{ -// { -// Name: "net_access_point_ids", -// Values: []string{ -// "vpce-12345678", -// "vpce-12345679", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### List Net access points according to their Net and state -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetNetAccessPoints(ctx, &outscale.GetNetAccessPointsArgs{ -// Filters: []outscale.GetNetAccessPointsFilter{ -// { -// Name: "net_ids", -// Values: []string{ -// "vpc-12345678", -// }, -// }, -// { -// Name: "states", -// Values: []string{ -// "available", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetNetAccessPoints(ctx *pulumi.Context, args *GetNetAccessPointsArgs, opts ...pulumi.InvokeOption) (*GetNetAccessPointsResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetNetAccessPointsResult - err := ctx.Invoke("outscale:index/getNetAccessPoints:getNetAccessPoints", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getNetAccessPoints. -type GetNetAccessPointsArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetNetAccessPointsFilter `pulumi:"filters"` -} - -// A collection of values returned by getNetAccessPoints. -type GetNetAccessPointsResult struct { - Filters []GetNetAccessPointsFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // One or more Net access points. - NetAccessPoints []GetNetAccessPointsNetAccessPoint `pulumi:"netAccessPoints"` - RequestId string `pulumi:"requestId"` -} - -func GetNetAccessPointsOutput(ctx *pulumi.Context, args GetNetAccessPointsOutputArgs, opts ...pulumi.InvokeOption) GetNetAccessPointsResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetNetAccessPointsResult, error) { - args := v.(GetNetAccessPointsArgs) - r, err := GetNetAccessPoints(ctx, &args, opts...) - var s GetNetAccessPointsResult - if r != nil { - s = *r - } - return s, err - }).(GetNetAccessPointsResultOutput) -} - -// A collection of arguments for invoking getNetAccessPoints. -type GetNetAccessPointsOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetNetAccessPointsFilterArrayInput `pulumi:"filters"` -} - -func (GetNetAccessPointsOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetAccessPointsArgs)(nil)).Elem() -} - -// A collection of values returned by getNetAccessPoints. -type GetNetAccessPointsResultOutput struct{ *pulumi.OutputState } - -func (GetNetAccessPointsResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetAccessPointsResult)(nil)).Elem() -} - -func (o GetNetAccessPointsResultOutput) ToGetNetAccessPointsResultOutput() GetNetAccessPointsResultOutput { - return o -} - -func (o GetNetAccessPointsResultOutput) ToGetNetAccessPointsResultOutputWithContext(ctx context.Context) GetNetAccessPointsResultOutput { - return o -} - -func (o GetNetAccessPointsResultOutput) Filters() GetNetAccessPointsFilterArrayOutput { - return o.ApplyT(func(v GetNetAccessPointsResult) []GetNetAccessPointsFilter { return v.Filters }).(GetNetAccessPointsFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetNetAccessPointsResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetNetAccessPointsResult) string { return v.Id }).(pulumi.StringOutput) -} - -// One or more Net access points. -func (o GetNetAccessPointsResultOutput) NetAccessPoints() GetNetAccessPointsNetAccessPointArrayOutput { - return o.ApplyT(func(v GetNetAccessPointsResult) []GetNetAccessPointsNetAccessPoint { return v.NetAccessPoints }).(GetNetAccessPointsNetAccessPointArrayOutput) -} - -func (o GetNetAccessPointsResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetNetAccessPointsResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(GetNetAccessPointsResultOutput{}) -} diff --git a/sdk/go/outscale/getNetAttributes.go b/sdk/go/outscale/getNetAttributes.go deleted file mode 100644 index 8b9d4c5..0000000 --- a/sdk/go/outscale/getNetAttributes.go +++ /dev/null @@ -1,158 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about the attributes of a Net. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-DHCP-Options.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#updatenet). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.LookupNetAttributes(ctx, &outscale.LookupNetAttributesArgs{ -// NetId: "vpc-12345678", -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func LookupNetAttributes(ctx *pulumi.Context, args *LookupNetAttributesArgs, opts ...pulumi.InvokeOption) (*LookupNetAttributesResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupNetAttributesResult - err := ctx.Invoke("outscale:index/getNetAttributes:getNetAttributes", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getNetAttributes. -type LookupNetAttributesArgs struct { - // The ID of the Net. - NetId string `pulumi:"netId"` -} - -// A collection of values returned by getNetAttributes. -type LookupNetAttributesResult struct { - // The ID of the DHCP options set (or `default` if you want to associate the default one). - DhcpOptionsSetId string `pulumi:"dhcpOptionsSetId"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). - IpRange string `pulumi:"ipRange"` - // The ID of the Net. - NetId string `pulumi:"netId"` - RequestId string `pulumi:"requestId"` - // The state of the Net (`pending` \| `available` \| `deleted`). - State string `pulumi:"state"` - // One or more tags associated with the Net. - Tags []GetNetAttributesTag `pulumi:"tags"` - // The VM tenancy in a Net. - Tenancy string `pulumi:"tenancy"` -} - -func LookupNetAttributesOutput(ctx *pulumi.Context, args LookupNetAttributesOutputArgs, opts ...pulumi.InvokeOption) LookupNetAttributesResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupNetAttributesResult, error) { - args := v.(LookupNetAttributesArgs) - r, err := LookupNetAttributes(ctx, &args, opts...) - var s LookupNetAttributesResult - if r != nil { - s = *r - } - return s, err - }).(LookupNetAttributesResultOutput) -} - -// A collection of arguments for invoking getNetAttributes. -type LookupNetAttributesOutputArgs struct { - // The ID of the Net. - NetId pulumi.StringInput `pulumi:"netId"` -} - -func (LookupNetAttributesOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupNetAttributesArgs)(nil)).Elem() -} - -// A collection of values returned by getNetAttributes. -type LookupNetAttributesResultOutput struct{ *pulumi.OutputState } - -func (LookupNetAttributesResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupNetAttributesResult)(nil)).Elem() -} - -func (o LookupNetAttributesResultOutput) ToLookupNetAttributesResultOutput() LookupNetAttributesResultOutput { - return o -} - -func (o LookupNetAttributesResultOutput) ToLookupNetAttributesResultOutputWithContext(ctx context.Context) LookupNetAttributesResultOutput { - return o -} - -// The ID of the DHCP options set (or `default` if you want to associate the default one). -func (o LookupNetAttributesResultOutput) DhcpOptionsSetId() pulumi.StringOutput { - return o.ApplyT(func(v LookupNetAttributesResult) string { return v.DhcpOptionsSetId }).(pulumi.StringOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o LookupNetAttributesResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupNetAttributesResult) string { return v.Id }).(pulumi.StringOutput) -} - -// The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). -func (o LookupNetAttributesResultOutput) IpRange() pulumi.StringOutput { - return o.ApplyT(func(v LookupNetAttributesResult) string { return v.IpRange }).(pulumi.StringOutput) -} - -// The ID of the Net. -func (o LookupNetAttributesResultOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v LookupNetAttributesResult) string { return v.NetId }).(pulumi.StringOutput) -} - -func (o LookupNetAttributesResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v LookupNetAttributesResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// The state of the Net (`pending` \| `available` \| `deleted`). -func (o LookupNetAttributesResultOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v LookupNetAttributesResult) string { return v.State }).(pulumi.StringOutput) -} - -// One or more tags associated with the Net. -func (o LookupNetAttributesResultOutput) Tags() GetNetAttributesTagArrayOutput { - return o.ApplyT(func(v LookupNetAttributesResult) []GetNetAttributesTag { return v.Tags }).(GetNetAttributesTagArrayOutput) -} - -// The VM tenancy in a Net. -func (o LookupNetAttributesResultOutput) Tenancy() pulumi.StringOutput { - return o.ApplyT(func(v LookupNetAttributesResult) string { return v.Tenancy }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupNetAttributesResultOutput{}) -} diff --git a/sdk/go/outscale/getNetPeering.go b/sdk/go/outscale/getNetPeering.go deleted file mode 100644 index 72351c7..0000000 --- a/sdk/go/outscale/getNetPeering.go +++ /dev/null @@ -1,163 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about a Net peering. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Peering-Connections.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netpeering). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.LookupNetPeering(ctx, &outscale.LookupNetPeeringArgs{ -// Filters: []outscale.GetNetPeeringFilter{ -// { -// Name: "net_peering_ids", -// Values: []string{ -// "pcx-12345678", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func LookupNetPeering(ctx *pulumi.Context, args *LookupNetPeeringArgs, opts ...pulumi.InvokeOption) (*LookupNetPeeringResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupNetPeeringResult - err := ctx.Invoke("outscale:index/getNetPeering:getNetPeering", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getNetPeering. -type LookupNetPeeringArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetNetPeeringFilter `pulumi:"filters"` -} - -// A collection of values returned by getNetPeering. -type LookupNetPeeringResult struct { - // Information about the accepter Net. - AccepterNets []GetNetPeeringAccepterNet `pulumi:"accepterNets"` - Filters []GetNetPeeringFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // The ID of the Net peering. - NetPeeringId string `pulumi:"netPeeringId"` - RequestId string `pulumi:"requestId"` - // Information about the source Net. - SourceNets []GetNetPeeringSourceNet `pulumi:"sourceNets"` - // Information about the state of the Net peering. - States []GetNetPeeringState `pulumi:"states"` - // One or more tags associated with the Net peering. - Tags []GetNetPeeringTag `pulumi:"tags"` -} - -func LookupNetPeeringOutput(ctx *pulumi.Context, args LookupNetPeeringOutputArgs, opts ...pulumi.InvokeOption) LookupNetPeeringResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupNetPeeringResult, error) { - args := v.(LookupNetPeeringArgs) - r, err := LookupNetPeering(ctx, &args, opts...) - var s LookupNetPeeringResult - if r != nil { - s = *r - } - return s, err - }).(LookupNetPeeringResultOutput) -} - -// A collection of arguments for invoking getNetPeering. -type LookupNetPeeringOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetNetPeeringFilterArrayInput `pulumi:"filters"` -} - -func (LookupNetPeeringOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupNetPeeringArgs)(nil)).Elem() -} - -// A collection of values returned by getNetPeering. -type LookupNetPeeringResultOutput struct{ *pulumi.OutputState } - -func (LookupNetPeeringResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupNetPeeringResult)(nil)).Elem() -} - -func (o LookupNetPeeringResultOutput) ToLookupNetPeeringResultOutput() LookupNetPeeringResultOutput { - return o -} - -func (o LookupNetPeeringResultOutput) ToLookupNetPeeringResultOutputWithContext(ctx context.Context) LookupNetPeeringResultOutput { - return o -} - -// Information about the accepter Net. -func (o LookupNetPeeringResultOutput) AccepterNets() GetNetPeeringAccepterNetArrayOutput { - return o.ApplyT(func(v LookupNetPeeringResult) []GetNetPeeringAccepterNet { return v.AccepterNets }).(GetNetPeeringAccepterNetArrayOutput) -} - -func (o LookupNetPeeringResultOutput) Filters() GetNetPeeringFilterArrayOutput { - return o.ApplyT(func(v LookupNetPeeringResult) []GetNetPeeringFilter { return v.Filters }).(GetNetPeeringFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o LookupNetPeeringResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupNetPeeringResult) string { return v.Id }).(pulumi.StringOutput) -} - -// The ID of the Net peering. -func (o LookupNetPeeringResultOutput) NetPeeringId() pulumi.StringOutput { - return o.ApplyT(func(v LookupNetPeeringResult) string { return v.NetPeeringId }).(pulumi.StringOutput) -} - -func (o LookupNetPeeringResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v LookupNetPeeringResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// Information about the source Net. -func (o LookupNetPeeringResultOutput) SourceNets() GetNetPeeringSourceNetArrayOutput { - return o.ApplyT(func(v LookupNetPeeringResult) []GetNetPeeringSourceNet { return v.SourceNets }).(GetNetPeeringSourceNetArrayOutput) -} - -// Information about the state of the Net peering. -func (o LookupNetPeeringResultOutput) States() GetNetPeeringStateArrayOutput { - return o.ApplyT(func(v LookupNetPeeringResult) []GetNetPeeringState { return v.States }).(GetNetPeeringStateArrayOutput) -} - -// One or more tags associated with the Net peering. -func (o LookupNetPeeringResultOutput) Tags() GetNetPeeringTagArrayOutput { - return o.ApplyT(func(v LookupNetPeeringResult) []GetNetPeeringTag { return v.Tags }).(GetNetPeeringTagArrayOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupNetPeeringResultOutput{}) -} diff --git a/sdk/go/outscale/getNetPeerings.go b/sdk/go/outscale/getNetPeerings.go deleted file mode 100644 index 2d978ec..0000000 --- a/sdk/go/outscale/getNetPeerings.go +++ /dev/null @@ -1,142 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about Net peerings. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Peering-Connections.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netpeering). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetNetPeerings(ctx, &outscale.GetNetPeeringsArgs{ -// Filters: []outscale.GetNetPeeringsFilter{ -// { -// Name: "source_net_net_ids", -// Values: []string{ -// "vpc-12345678", -// }, -// }, -// { -// Name: "state_names", -// Values: []string{ -// "active", -// "pending-acceptance", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetNetPeerings(ctx *pulumi.Context, args *GetNetPeeringsArgs, opts ...pulumi.InvokeOption) (*GetNetPeeringsResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetNetPeeringsResult - err := ctx.Invoke("outscale:index/getNetPeerings:getNetPeerings", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getNetPeerings. -type GetNetPeeringsArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetNetPeeringsFilter `pulumi:"filters"` -} - -// A collection of values returned by getNetPeerings. -type GetNetPeeringsResult struct { - Filters []GetNetPeeringsFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // Information about one or more Net peerings. - NetPeerings []GetNetPeeringsNetPeering `pulumi:"netPeerings"` - RequestId string `pulumi:"requestId"` -} - -func GetNetPeeringsOutput(ctx *pulumi.Context, args GetNetPeeringsOutputArgs, opts ...pulumi.InvokeOption) GetNetPeeringsResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetNetPeeringsResult, error) { - args := v.(GetNetPeeringsArgs) - r, err := GetNetPeerings(ctx, &args, opts...) - var s GetNetPeeringsResult - if r != nil { - s = *r - } - return s, err - }).(GetNetPeeringsResultOutput) -} - -// A collection of arguments for invoking getNetPeerings. -type GetNetPeeringsOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetNetPeeringsFilterArrayInput `pulumi:"filters"` -} - -func (GetNetPeeringsOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetPeeringsArgs)(nil)).Elem() -} - -// A collection of values returned by getNetPeerings. -type GetNetPeeringsResultOutput struct{ *pulumi.OutputState } - -func (GetNetPeeringsResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetPeeringsResult)(nil)).Elem() -} - -func (o GetNetPeeringsResultOutput) ToGetNetPeeringsResultOutput() GetNetPeeringsResultOutput { - return o -} - -func (o GetNetPeeringsResultOutput) ToGetNetPeeringsResultOutputWithContext(ctx context.Context) GetNetPeeringsResultOutput { - return o -} - -func (o GetNetPeeringsResultOutput) Filters() GetNetPeeringsFilterArrayOutput { - return o.ApplyT(func(v GetNetPeeringsResult) []GetNetPeeringsFilter { return v.Filters }).(GetNetPeeringsFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetNetPeeringsResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetNetPeeringsResult) string { return v.Id }).(pulumi.StringOutput) -} - -// Information about one or more Net peerings. -func (o GetNetPeeringsResultOutput) NetPeerings() GetNetPeeringsNetPeeringArrayOutput { - return o.ApplyT(func(v GetNetPeeringsResult) []GetNetPeeringsNetPeering { return v.NetPeerings }).(GetNetPeeringsNetPeeringArrayOutput) -} - -func (o GetNetPeeringsResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetNetPeeringsResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(GetNetPeeringsResultOutput{}) -} diff --git a/sdk/go/outscale/getNets.go b/sdk/go/outscale/getNets.go deleted file mode 100644 index 79fc0a0..0000000 --- a/sdk/go/outscale/getNets.go +++ /dev/null @@ -1,153 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about Nets. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPCs.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-net). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetNets(ctx, &outscale.GetNetsArgs{ -// Filters: []outscale.GetNetsFilter{ -// { -// Name: "net_ids", -// Values: []string{ -// "vpc-12345678", -// "vpc-87654321", -// }, -// }, -// { -// Name: "ip_ranges", -// Values: []string{ -// "10.0.0.0/16", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetNets(ctx *pulumi.Context, args *GetNetsArgs, opts ...pulumi.InvokeOption) (*GetNetsResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetNetsResult - err := ctx.Invoke("outscale:index/getNets:getNets", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getNets. -type GetNetsArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetNetsFilter `pulumi:"filters"` - // The ID of the Net. - NetIds []string `pulumi:"netIds"` -} - -// A collection of values returned by getNets. -type GetNetsResult struct { - Filters []GetNetsFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // The ID of the Net. - NetIds []string `pulumi:"netIds"` - // Information about the described Nets. - Nets []GetNetsNet `pulumi:"nets"` - RequestId string `pulumi:"requestId"` -} - -func GetNetsOutput(ctx *pulumi.Context, args GetNetsOutputArgs, opts ...pulumi.InvokeOption) GetNetsResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetNetsResult, error) { - args := v.(GetNetsArgs) - r, err := GetNets(ctx, &args, opts...) - var s GetNetsResult - if r != nil { - s = *r - } - return s, err - }).(GetNetsResultOutput) -} - -// A collection of arguments for invoking getNets. -type GetNetsOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetNetsFilterArrayInput `pulumi:"filters"` - // The ID of the Net. - NetIds pulumi.StringArrayInput `pulumi:"netIds"` -} - -func (GetNetsOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetsArgs)(nil)).Elem() -} - -// A collection of values returned by getNets. -type GetNetsResultOutput struct{ *pulumi.OutputState } - -func (GetNetsResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetsResult)(nil)).Elem() -} - -func (o GetNetsResultOutput) ToGetNetsResultOutput() GetNetsResultOutput { - return o -} - -func (o GetNetsResultOutput) ToGetNetsResultOutputWithContext(ctx context.Context) GetNetsResultOutput { - return o -} - -func (o GetNetsResultOutput) Filters() GetNetsFilterArrayOutput { - return o.ApplyT(func(v GetNetsResult) []GetNetsFilter { return v.Filters }).(GetNetsFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetNetsResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetNetsResult) string { return v.Id }).(pulumi.StringOutput) -} - -// The ID of the Net. -func (o GetNetsResultOutput) NetIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetNetsResult) []string { return v.NetIds }).(pulumi.StringArrayOutput) -} - -// Information about the described Nets. -func (o GetNetsResultOutput) Nets() GetNetsNetArrayOutput { - return o.ApplyT(func(v GetNetsResult) []GetNetsNet { return v.Nets }).(GetNetsNetArrayOutput) -} - -func (o GetNetsResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetNetsResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(GetNetsResultOutput{}) -} diff --git a/sdk/go/outscale/getNic.go b/sdk/go/outscale/getNic.go deleted file mode 100644 index b2f60c3..0000000 --- a/sdk/go/outscale/getNic.go +++ /dev/null @@ -1,252 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about a network interface card (NIC). -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-FNIs.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-nic). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.LookupNic(ctx, &outscale.LookupNicArgs{ -// Filters: []outscale.GetNicFilter{ -// { -// Name: "nic_ids", -// Values: []string{ -// "eni-12345678", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func LookupNic(ctx *pulumi.Context, args *LookupNicArgs, opts ...pulumi.InvokeOption) (*LookupNicResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupNicResult - err := ctx.Invoke("outscale:index/getNic:getNic", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getNic. -type LookupNicArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetNicFilter `pulumi:"filters"` -} - -// A collection of values returned by getNic. -type LookupNicResult struct { - // The account ID of the owner of the NIC. - AccountId string `pulumi:"accountId"` - // The description of the NIC. - Description string `pulumi:"description"` - Filters []GetNicFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - IsSourceDestChecked bool `pulumi:"isSourceDestChecked"` - // Information about the NIC attachment. - LinkNics []GetNicLinkNic `pulumi:"linkNics"` - // Information about the public IP association. - LinkPublicIps []GetNicLinkPublicIp `pulumi:"linkPublicIps"` - // The Media Access Control (MAC) address of the NIC. - MacAddress string `pulumi:"macAddress"` - // The ID of the Net for the NIC. - NetId string `pulumi:"netId"` - // The ID of the NIC. - NicId string `pulumi:"nicId"` - // The name of the private DNS. - PrivateDnsName string `pulumi:"privateDnsName"` - // The private IP of the NIC. - PrivateIp string `pulumi:"privateIp"` - // The private IPs of the NIC. - PrivateIps []GetNicPrivateIpType `pulumi:"privateIps"` - RequestId string `pulumi:"requestId"` - RequesterManaged bool `pulumi:"requesterManaged"` - // The ID of the security group. - SecurityGroupIds []string `pulumi:"securityGroupIds"` - // One or more IDs of security groups for the NIC. - SecurityGroups []GetNicSecurityGroup `pulumi:"securityGroups"` - // The state of the NIC (`available` \| `attaching` \| `in-use` \| `detaching`). - State string `pulumi:"state"` - // The ID of the Subnet. - SubnetId string `pulumi:"subnetId"` - // The Subregion in which the NIC is located. - SubregionName string `pulumi:"subregionName"` - // One or more tags associated with the NIC. - Tags []GetNicTag `pulumi:"tags"` -} - -func LookupNicOutput(ctx *pulumi.Context, args LookupNicOutputArgs, opts ...pulumi.InvokeOption) LookupNicResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupNicResult, error) { - args := v.(LookupNicArgs) - r, err := LookupNic(ctx, &args, opts...) - var s LookupNicResult - if r != nil { - s = *r - } - return s, err - }).(LookupNicResultOutput) -} - -// A collection of arguments for invoking getNic. -type LookupNicOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetNicFilterArrayInput `pulumi:"filters"` -} - -func (LookupNicOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupNicArgs)(nil)).Elem() -} - -// A collection of values returned by getNic. -type LookupNicResultOutput struct{ *pulumi.OutputState } - -func (LookupNicResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupNicResult)(nil)).Elem() -} - -func (o LookupNicResultOutput) ToLookupNicResultOutput() LookupNicResultOutput { - return o -} - -func (o LookupNicResultOutput) ToLookupNicResultOutputWithContext(ctx context.Context) LookupNicResultOutput { - return o -} - -// The account ID of the owner of the NIC. -func (o LookupNicResultOutput) AccountId() pulumi.StringOutput { - return o.ApplyT(func(v LookupNicResult) string { return v.AccountId }).(pulumi.StringOutput) -} - -// The description of the NIC. -func (o LookupNicResultOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v LookupNicResult) string { return v.Description }).(pulumi.StringOutput) -} - -func (o LookupNicResultOutput) Filters() GetNicFilterArrayOutput { - return o.ApplyT(func(v LookupNicResult) []GetNicFilter { return v.Filters }).(GetNicFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o LookupNicResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupNicResult) string { return v.Id }).(pulumi.StringOutput) -} - -// (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. -func (o LookupNicResultOutput) IsSourceDestChecked() pulumi.BoolOutput { - return o.ApplyT(func(v LookupNicResult) bool { return v.IsSourceDestChecked }).(pulumi.BoolOutput) -} - -// Information about the NIC attachment. -func (o LookupNicResultOutput) LinkNics() GetNicLinkNicArrayOutput { - return o.ApplyT(func(v LookupNicResult) []GetNicLinkNic { return v.LinkNics }).(GetNicLinkNicArrayOutput) -} - -// Information about the public IP association. -func (o LookupNicResultOutput) LinkPublicIps() GetNicLinkPublicIpArrayOutput { - return o.ApplyT(func(v LookupNicResult) []GetNicLinkPublicIp { return v.LinkPublicIps }).(GetNicLinkPublicIpArrayOutput) -} - -// The Media Access Control (MAC) address of the NIC. -func (o LookupNicResultOutput) MacAddress() pulumi.StringOutput { - return o.ApplyT(func(v LookupNicResult) string { return v.MacAddress }).(pulumi.StringOutput) -} - -// The ID of the Net for the NIC. -func (o LookupNicResultOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v LookupNicResult) string { return v.NetId }).(pulumi.StringOutput) -} - -// The ID of the NIC. -func (o LookupNicResultOutput) NicId() pulumi.StringOutput { - return o.ApplyT(func(v LookupNicResult) string { return v.NicId }).(pulumi.StringOutput) -} - -// The name of the private DNS. -func (o LookupNicResultOutput) PrivateDnsName() pulumi.StringOutput { - return o.ApplyT(func(v LookupNicResult) string { return v.PrivateDnsName }).(pulumi.StringOutput) -} - -// The private IP of the NIC. -func (o LookupNicResultOutput) PrivateIp() pulumi.StringOutput { - return o.ApplyT(func(v LookupNicResult) string { return v.PrivateIp }).(pulumi.StringOutput) -} - -// The private IPs of the NIC. -func (o LookupNicResultOutput) PrivateIps() GetNicPrivateIpTypeArrayOutput { - return o.ApplyT(func(v LookupNicResult) []GetNicPrivateIpType { return v.PrivateIps }).(GetNicPrivateIpTypeArrayOutput) -} - -func (o LookupNicResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v LookupNicResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -func (o LookupNicResultOutput) RequesterManaged() pulumi.BoolOutput { - return o.ApplyT(func(v LookupNicResult) bool { return v.RequesterManaged }).(pulumi.BoolOutput) -} - -// The ID of the security group. -func (o LookupNicResultOutput) SecurityGroupIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v LookupNicResult) []string { return v.SecurityGroupIds }).(pulumi.StringArrayOutput) -} - -// One or more IDs of security groups for the NIC. -func (o LookupNicResultOutput) SecurityGroups() GetNicSecurityGroupArrayOutput { - return o.ApplyT(func(v LookupNicResult) []GetNicSecurityGroup { return v.SecurityGroups }).(GetNicSecurityGroupArrayOutput) -} - -// The state of the NIC (`available` \| `attaching` \| `in-use` \| `detaching`). -func (o LookupNicResultOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v LookupNicResult) string { return v.State }).(pulumi.StringOutput) -} - -// The ID of the Subnet. -func (o LookupNicResultOutput) SubnetId() pulumi.StringOutput { - return o.ApplyT(func(v LookupNicResult) string { return v.SubnetId }).(pulumi.StringOutput) -} - -// The Subregion in which the NIC is located. -func (o LookupNicResultOutput) SubregionName() pulumi.StringOutput { - return o.ApplyT(func(v LookupNicResult) string { return v.SubregionName }).(pulumi.StringOutput) -} - -// One or more tags associated with the NIC. -func (o LookupNicResultOutput) Tags() GetNicTagArrayOutput { - return o.ApplyT(func(v LookupNicResult) []GetNicTag { return v.Tags }).(GetNicTagArrayOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupNicResultOutput{}) -} diff --git a/sdk/go/outscale/getNics.go b/sdk/go/outscale/getNics.go deleted file mode 100644 index 97d8988..0000000 --- a/sdk/go/outscale/getNics.go +++ /dev/null @@ -1,142 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about network interface cards (NICs). -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-FNIs.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-nic). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetNics(ctx, &outscale.GetNicsArgs{ -// Filters: []outscale.GetNicsFilter{ -// { -// Name: "nic_ids", -// Values: []string{ -// "eni-12345678", -// "eni-87654321", -// }, -// }, -// { -// Name: "link_nic_vm_ids", -// Values: []string{ -// "i-12345678", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetNics(ctx *pulumi.Context, args *GetNicsArgs, opts ...pulumi.InvokeOption) (*GetNicsResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetNicsResult - err := ctx.Invoke("outscale:index/getNics:getNics", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getNics. -type GetNicsArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetNicsFilter `pulumi:"filters"` -} - -// A collection of values returned by getNics. -type GetNicsResult struct { - Filters []GetNicsFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // Information about one or more NICs. - Nics []GetNicsNic `pulumi:"nics"` - RequestId string `pulumi:"requestId"` -} - -func GetNicsOutput(ctx *pulumi.Context, args GetNicsOutputArgs, opts ...pulumi.InvokeOption) GetNicsResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetNicsResult, error) { - args := v.(GetNicsArgs) - r, err := GetNics(ctx, &args, opts...) - var s GetNicsResult - if r != nil { - s = *r - } - return s, err - }).(GetNicsResultOutput) -} - -// A collection of arguments for invoking getNics. -type GetNicsOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetNicsFilterArrayInput `pulumi:"filters"` -} - -func (GetNicsOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNicsArgs)(nil)).Elem() -} - -// A collection of values returned by getNics. -type GetNicsResultOutput struct{ *pulumi.OutputState } - -func (GetNicsResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNicsResult)(nil)).Elem() -} - -func (o GetNicsResultOutput) ToGetNicsResultOutput() GetNicsResultOutput { - return o -} - -func (o GetNicsResultOutput) ToGetNicsResultOutputWithContext(ctx context.Context) GetNicsResultOutput { - return o -} - -func (o GetNicsResultOutput) Filters() GetNicsFilterArrayOutput { - return o.ApplyT(func(v GetNicsResult) []GetNicsFilter { return v.Filters }).(GetNicsFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetNicsResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetNicsResult) string { return v.Id }).(pulumi.StringOutput) -} - -// Information about one or more NICs. -func (o GetNicsResultOutput) Nics() GetNicsNicArrayOutput { - return o.ApplyT(func(v GetNicsResult) []GetNicsNic { return v.Nics }).(GetNicsNicArrayOutput) -} - -func (o GetNicsResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetNicsResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(GetNicsResultOutput{}) -} diff --git a/sdk/go/outscale/getProductType.go b/sdk/go/outscale/getProductType.go deleted file mode 100644 index a14ad79..0000000 --- a/sdk/go/outscale/getProductType.go +++ /dev/null @@ -1,149 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about a product type. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/Software-Licenses.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-producttype). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetProductType(ctx, &outscale.GetProductTypeArgs{ -// Filters: []outscale.GetProductTypeFilter{ -// { -// Name: "product_type_ids", -// Values: []string{ -// "0001", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetProductType(ctx *pulumi.Context, args *GetProductTypeArgs, opts ...pulumi.InvokeOption) (*GetProductTypeResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetProductTypeResult - err := ctx.Invoke("outscale:index/getProductType:getProductType", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getProductType. -type GetProductTypeArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetProductTypeFilter `pulumi:"filters"` -} - -// A collection of values returned by getProductType. -type GetProductTypeResult struct { - // The description of the product type. - Description string `pulumi:"description"` - Filters []GetProductTypeFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // The ID of the product type. - ProductTypeId string `pulumi:"productTypeId"` - RequestId string `pulumi:"requestId"` - // The vendor of the product type. - Vendor string `pulumi:"vendor"` -} - -func GetProductTypeOutput(ctx *pulumi.Context, args GetProductTypeOutputArgs, opts ...pulumi.InvokeOption) GetProductTypeResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetProductTypeResult, error) { - args := v.(GetProductTypeArgs) - r, err := GetProductType(ctx, &args, opts...) - var s GetProductTypeResult - if r != nil { - s = *r - } - return s, err - }).(GetProductTypeResultOutput) -} - -// A collection of arguments for invoking getProductType. -type GetProductTypeOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetProductTypeFilterArrayInput `pulumi:"filters"` -} - -func (GetProductTypeOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetProductTypeArgs)(nil)).Elem() -} - -// A collection of values returned by getProductType. -type GetProductTypeResultOutput struct{ *pulumi.OutputState } - -func (GetProductTypeResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetProductTypeResult)(nil)).Elem() -} - -func (o GetProductTypeResultOutput) ToGetProductTypeResultOutput() GetProductTypeResultOutput { - return o -} - -func (o GetProductTypeResultOutput) ToGetProductTypeResultOutputWithContext(ctx context.Context) GetProductTypeResultOutput { - return o -} - -// The description of the product type. -func (o GetProductTypeResultOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetProductTypeResult) string { return v.Description }).(pulumi.StringOutput) -} - -func (o GetProductTypeResultOutput) Filters() GetProductTypeFilterArrayOutput { - return o.ApplyT(func(v GetProductTypeResult) []GetProductTypeFilter { return v.Filters }).(GetProductTypeFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetProductTypeResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetProductTypeResult) string { return v.Id }).(pulumi.StringOutput) -} - -// The ID of the product type. -func (o GetProductTypeResultOutput) ProductTypeId() pulumi.StringOutput { - return o.ApplyT(func(v GetProductTypeResult) string { return v.ProductTypeId }).(pulumi.StringOutput) -} - -func (o GetProductTypeResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetProductTypeResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// The vendor of the product type. -func (o GetProductTypeResultOutput) Vendor() pulumi.StringOutput { - return o.ApplyT(func(v GetProductTypeResult) string { return v.Vendor }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(GetProductTypeResultOutput{}) -} diff --git a/sdk/go/outscale/getProductTypes.go b/sdk/go/outscale/getProductTypes.go deleted file mode 100644 index f3464fc..0000000 --- a/sdk/go/outscale/getProductTypes.go +++ /dev/null @@ -1,158 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about product types. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/Software-Licenses.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-producttype). -// -// ## Example Usage -// ### Read specific product types -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetProductTypes(ctx, &outscale.GetProductTypesArgs{ -// Filters: []outscale.GetProductTypesFilter{ -// { -// Name: "product_type_ids", -// Values: []string{ -// "0001", -// "0002", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Read all product types -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetProductTypes(ctx, nil, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetProductTypes(ctx *pulumi.Context, args *GetProductTypesArgs, opts ...pulumi.InvokeOption) (*GetProductTypesResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetProductTypesResult - err := ctx.Invoke("outscale:index/getProductTypes:getProductTypes", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getProductTypes. -type GetProductTypesArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetProductTypesFilter `pulumi:"filters"` -} - -// A collection of values returned by getProductTypes. -type GetProductTypesResult struct { - Filters []GetProductTypesFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // Information about one or more product types. - ProductTypes []GetProductTypesProductType `pulumi:"productTypes"` - RequestId string `pulumi:"requestId"` -} - -func GetProductTypesOutput(ctx *pulumi.Context, args GetProductTypesOutputArgs, opts ...pulumi.InvokeOption) GetProductTypesResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetProductTypesResult, error) { - args := v.(GetProductTypesArgs) - r, err := GetProductTypes(ctx, &args, opts...) - var s GetProductTypesResult - if r != nil { - s = *r - } - return s, err - }).(GetProductTypesResultOutput) -} - -// A collection of arguments for invoking getProductTypes. -type GetProductTypesOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetProductTypesFilterArrayInput `pulumi:"filters"` -} - -func (GetProductTypesOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetProductTypesArgs)(nil)).Elem() -} - -// A collection of values returned by getProductTypes. -type GetProductTypesResultOutput struct{ *pulumi.OutputState } - -func (GetProductTypesResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetProductTypesResult)(nil)).Elem() -} - -func (o GetProductTypesResultOutput) ToGetProductTypesResultOutput() GetProductTypesResultOutput { - return o -} - -func (o GetProductTypesResultOutput) ToGetProductTypesResultOutputWithContext(ctx context.Context) GetProductTypesResultOutput { - return o -} - -func (o GetProductTypesResultOutput) Filters() GetProductTypesFilterArrayOutput { - return o.ApplyT(func(v GetProductTypesResult) []GetProductTypesFilter { return v.Filters }).(GetProductTypesFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetProductTypesResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetProductTypesResult) string { return v.Id }).(pulumi.StringOutput) -} - -// Information about one or more product types. -func (o GetProductTypesResultOutput) ProductTypes() GetProductTypesProductTypeArrayOutput { - return o.ApplyT(func(v GetProductTypesResult) []GetProductTypesProductType { return v.ProductTypes }).(GetProductTypesProductTypeArrayOutput) -} - -func (o GetProductTypesResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetProductTypesResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(GetProductTypesResultOutput{}) -} diff --git a/sdk/go/outscale/getPublicIp.go b/sdk/go/outscale/getPublicIp.go deleted file mode 100644 index 1f55f0f..0000000 --- a/sdk/go/outscale/getPublicIp.go +++ /dev/null @@ -1,192 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about a public IP. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-EIPs.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-publicip). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.LookupPublicIp(ctx, &outscale.LookupPublicIpArgs{ -// Filters: []outscale.GetPublicIpFilter{ -// { -// Name: "public_ips", -// Values: []string{ -// "111.11.111.1", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func LookupPublicIp(ctx *pulumi.Context, args *LookupPublicIpArgs, opts ...pulumi.InvokeOption) (*LookupPublicIpResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupPublicIpResult - err := ctx.Invoke("outscale:index/getPublicIp:getPublicIp", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getPublicIp. -type LookupPublicIpArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetPublicIpFilter `pulumi:"filters"` - // The public IP. - PublicIp *string `pulumi:"publicIp"` - // The allocation ID of the public IP. - PublicIpId *string `pulumi:"publicIpId"` -} - -// A collection of values returned by getPublicIp. -type LookupPublicIpResult struct { - Filters []GetPublicIpFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - LinkPublicIpId string `pulumi:"linkPublicIpId"` - // The account ID of the owner of the NIC. - NicAccountId string `pulumi:"nicAccountId"` - // The ID of the NIC the public IP is associated with (if any). - NicId string `pulumi:"nicId"` - // The private IP associated with the public IP. - PrivateIp string `pulumi:"privateIp"` - // The public IP. - PublicIp string `pulumi:"publicIp"` - // The allocation ID of the public IP. - PublicIpId string `pulumi:"publicIpId"` - RequestId string `pulumi:"requestId"` - // One or more tags associated with the public IP. - Tags []GetPublicIpTag `pulumi:"tags"` - // The ID of the VM the public IP is associated with (if any). - VmId string `pulumi:"vmId"` -} - -func LookupPublicIpOutput(ctx *pulumi.Context, args LookupPublicIpOutputArgs, opts ...pulumi.InvokeOption) LookupPublicIpResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupPublicIpResult, error) { - args := v.(LookupPublicIpArgs) - r, err := LookupPublicIp(ctx, &args, opts...) - var s LookupPublicIpResult - if r != nil { - s = *r - } - return s, err - }).(LookupPublicIpResultOutput) -} - -// A collection of arguments for invoking getPublicIp. -type LookupPublicIpOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetPublicIpFilterArrayInput `pulumi:"filters"` - // The public IP. - PublicIp pulumi.StringPtrInput `pulumi:"publicIp"` - // The allocation ID of the public IP. - PublicIpId pulumi.StringPtrInput `pulumi:"publicIpId"` -} - -func (LookupPublicIpOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupPublicIpArgs)(nil)).Elem() -} - -// A collection of values returned by getPublicIp. -type LookupPublicIpResultOutput struct{ *pulumi.OutputState } - -func (LookupPublicIpResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupPublicIpResult)(nil)).Elem() -} - -func (o LookupPublicIpResultOutput) ToLookupPublicIpResultOutput() LookupPublicIpResultOutput { - return o -} - -func (o LookupPublicIpResultOutput) ToLookupPublicIpResultOutputWithContext(ctx context.Context) LookupPublicIpResultOutput { - return o -} - -func (o LookupPublicIpResultOutput) Filters() GetPublicIpFilterArrayOutput { - return o.ApplyT(func(v LookupPublicIpResult) []GetPublicIpFilter { return v.Filters }).(GetPublicIpFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o LookupPublicIpResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupPublicIpResult) string { return v.Id }).(pulumi.StringOutput) -} - -// (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. -func (o LookupPublicIpResultOutput) LinkPublicIpId() pulumi.StringOutput { - return o.ApplyT(func(v LookupPublicIpResult) string { return v.LinkPublicIpId }).(pulumi.StringOutput) -} - -// The account ID of the owner of the NIC. -func (o LookupPublicIpResultOutput) NicAccountId() pulumi.StringOutput { - return o.ApplyT(func(v LookupPublicIpResult) string { return v.NicAccountId }).(pulumi.StringOutput) -} - -// The ID of the NIC the public IP is associated with (if any). -func (o LookupPublicIpResultOutput) NicId() pulumi.StringOutput { - return o.ApplyT(func(v LookupPublicIpResult) string { return v.NicId }).(pulumi.StringOutput) -} - -// The private IP associated with the public IP. -func (o LookupPublicIpResultOutput) PrivateIp() pulumi.StringOutput { - return o.ApplyT(func(v LookupPublicIpResult) string { return v.PrivateIp }).(pulumi.StringOutput) -} - -// The public IP. -func (o LookupPublicIpResultOutput) PublicIp() pulumi.StringOutput { - return o.ApplyT(func(v LookupPublicIpResult) string { return v.PublicIp }).(pulumi.StringOutput) -} - -// The allocation ID of the public IP. -func (o LookupPublicIpResultOutput) PublicIpId() pulumi.StringOutput { - return o.ApplyT(func(v LookupPublicIpResult) string { return v.PublicIpId }).(pulumi.StringOutput) -} - -func (o LookupPublicIpResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v LookupPublicIpResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// One or more tags associated with the public IP. -func (o LookupPublicIpResultOutput) Tags() GetPublicIpTagArrayOutput { - return o.ApplyT(func(v LookupPublicIpResult) []GetPublicIpTag { return v.Tags }).(GetPublicIpTagArrayOutput) -} - -// The ID of the VM the public IP is associated with (if any). -func (o LookupPublicIpResultOutput) VmId() pulumi.StringOutput { - return o.ApplyT(func(v LookupPublicIpResult) string { return v.VmId }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupPublicIpResultOutput{}) -} diff --git a/sdk/go/outscale/getPublicIps.go b/sdk/go/outscale/getPublicIps.go deleted file mode 100644 index c0f7193..0000000 --- a/sdk/go/outscale/getPublicIps.go +++ /dev/null @@ -1,136 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about public IPs. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-EIPs.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-publicip). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetPublicIps(ctx, &outscale.GetPublicIpsArgs{ -// Filters: []outscale.GetPublicIpsFilter{ -// { -// Name: "public_ips", -// Values: []string{ -// "111.11.111.1", -// "222.22.222.2", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetPublicIps(ctx *pulumi.Context, args *GetPublicIpsArgs, opts ...pulumi.InvokeOption) (*GetPublicIpsResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetPublicIpsResult - err := ctx.Invoke("outscale:index/getPublicIps:getPublicIps", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getPublicIps. -type GetPublicIpsArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetPublicIpsFilter `pulumi:"filters"` -} - -// A collection of values returned by getPublicIps. -type GetPublicIpsResult struct { - Filters []GetPublicIpsFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // Information about one or more public IPs. - PublicIps []GetPublicIpsPublicIp `pulumi:"publicIps"` - RequestId string `pulumi:"requestId"` -} - -func GetPublicIpsOutput(ctx *pulumi.Context, args GetPublicIpsOutputArgs, opts ...pulumi.InvokeOption) GetPublicIpsResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetPublicIpsResult, error) { - args := v.(GetPublicIpsArgs) - r, err := GetPublicIps(ctx, &args, opts...) - var s GetPublicIpsResult - if r != nil { - s = *r - } - return s, err - }).(GetPublicIpsResultOutput) -} - -// A collection of arguments for invoking getPublicIps. -type GetPublicIpsOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetPublicIpsFilterArrayInput `pulumi:"filters"` -} - -func (GetPublicIpsOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPublicIpsArgs)(nil)).Elem() -} - -// A collection of values returned by getPublicIps. -type GetPublicIpsResultOutput struct{ *pulumi.OutputState } - -func (GetPublicIpsResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPublicIpsResult)(nil)).Elem() -} - -func (o GetPublicIpsResultOutput) ToGetPublicIpsResultOutput() GetPublicIpsResultOutput { - return o -} - -func (o GetPublicIpsResultOutput) ToGetPublicIpsResultOutputWithContext(ctx context.Context) GetPublicIpsResultOutput { - return o -} - -func (o GetPublicIpsResultOutput) Filters() GetPublicIpsFilterArrayOutput { - return o.ApplyT(func(v GetPublicIpsResult) []GetPublicIpsFilter { return v.Filters }).(GetPublicIpsFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetPublicIpsResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetPublicIpsResult) string { return v.Id }).(pulumi.StringOutput) -} - -// Information about one or more public IPs. -func (o GetPublicIpsResultOutput) PublicIps() GetPublicIpsPublicIpArrayOutput { - return o.ApplyT(func(v GetPublicIpsResult) []GetPublicIpsPublicIp { return v.PublicIps }).(GetPublicIpsPublicIpArrayOutput) -} - -func (o GetPublicIpsResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetPublicIpsResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(GetPublicIpsResultOutput{}) -} diff --git a/sdk/go/outscale/getPulicCatalog.go b/sdk/go/outscale/getPulicCatalog.go deleted file mode 100644 index 9d148c7..0000000 --- a/sdk/go/outscale/getPulicCatalog.go +++ /dev/null @@ -1,73 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -func GetPulicCatalog(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetPulicCatalogResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetPulicCatalogResult - err := ctx.Invoke("outscale:index/getPulicCatalog:getPulicCatalog", nil, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of values returned by getPulicCatalog. -type GetPulicCatalogResult struct { - Catalogs []GetPulicCatalogCatalog `pulumi:"catalogs"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - RequestId string `pulumi:"requestId"` -} - -func GetPulicCatalogOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetPulicCatalogResultOutput { - return pulumi.ToOutput(0).ApplyT(func(int) (GetPulicCatalogResult, error) { - r, err := GetPulicCatalog(ctx, opts...) - var s GetPulicCatalogResult - if r != nil { - s = *r - } - return s, err - }).(GetPulicCatalogResultOutput) -} - -// A collection of values returned by getPulicCatalog. -type GetPulicCatalogResultOutput struct{ *pulumi.OutputState } - -func (GetPulicCatalogResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPulicCatalogResult)(nil)).Elem() -} - -func (o GetPulicCatalogResultOutput) ToGetPulicCatalogResultOutput() GetPulicCatalogResultOutput { - return o -} - -func (o GetPulicCatalogResultOutput) ToGetPulicCatalogResultOutputWithContext(ctx context.Context) GetPulicCatalogResultOutput { - return o -} - -func (o GetPulicCatalogResultOutput) Catalogs() GetPulicCatalogCatalogArrayOutput { - return o.ApplyT(func(v GetPulicCatalogResult) []GetPulicCatalogCatalog { return v.Catalogs }).(GetPulicCatalogCatalogArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetPulicCatalogResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetPulicCatalogResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o GetPulicCatalogResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetPulicCatalogResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(GetPulicCatalogResultOutput{}) -} diff --git a/sdk/go/outscale/getQuota.go b/sdk/go/outscale/getQuota.go deleted file mode 100644 index dd4f4bc..0000000 --- a/sdk/go/outscale/getQuota.go +++ /dev/null @@ -1,202 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about a quota. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Your-Account.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readquotas). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetQuota(ctx, &outscale.GetQuotaArgs{ -// Filters: []outscale.GetQuotaFilter{ -// { -// Name: "collections", -// Values: []string{ -// "LBU", -// }, -// }, -// { -// Name: "quota_names", -// Values: []string{ -// "lb_listeners_limit", -// }, -// }, -// { -// Name: "quota_types", -// Values: []string{ -// "global", -// }, -// }, -// { -// Name: "short_descriptions", -// Values: []string{ -// "Load Balancer Listeners Limit", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetQuota(ctx *pulumi.Context, args *GetQuotaArgs, opts ...pulumi.InvokeOption) (*GetQuotaResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetQuotaResult - err := ctx.Invoke("outscale:index/getQuota:getQuota", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getQuota. -type GetQuotaArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetQuotaFilter `pulumi:"filters"` -} - -// A collection of values returned by getQuota. -type GetQuotaResult struct { - // The account ID of the owner of the quotas. - AccountId string `pulumi:"accountId"` - // The description of the quota. - Description string `pulumi:"description"` - Filters []GetQuotaFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // The maximum value of the quota for the OUTSCALE user account (if there is no limit, `0`). - MaxValue int `pulumi:"maxValue"` - // The unique name of the quota. - Name string `pulumi:"name"` - // The group name of the quota. - QuotaCollection string `pulumi:"quotaCollection"` - // The resource ID if it is a resource-specific quota, `global` if it is not. - QuotaType string `pulumi:"quotaType"` - RequestId string `pulumi:"requestId"` - // The description of the quota. - ShortDescription string `pulumi:"shortDescription"` - // The limit value currently used by the OUTSCALE user account. - UsedValue int `pulumi:"usedValue"` -} - -func GetQuotaOutput(ctx *pulumi.Context, args GetQuotaOutputArgs, opts ...pulumi.InvokeOption) GetQuotaResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetQuotaResult, error) { - args := v.(GetQuotaArgs) - r, err := GetQuota(ctx, &args, opts...) - var s GetQuotaResult - if r != nil { - s = *r - } - return s, err - }).(GetQuotaResultOutput) -} - -// A collection of arguments for invoking getQuota. -type GetQuotaOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetQuotaFilterArrayInput `pulumi:"filters"` -} - -func (GetQuotaOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetQuotaArgs)(nil)).Elem() -} - -// A collection of values returned by getQuota. -type GetQuotaResultOutput struct{ *pulumi.OutputState } - -func (GetQuotaResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetQuotaResult)(nil)).Elem() -} - -func (o GetQuotaResultOutput) ToGetQuotaResultOutput() GetQuotaResultOutput { - return o -} - -func (o GetQuotaResultOutput) ToGetQuotaResultOutputWithContext(ctx context.Context) GetQuotaResultOutput { - return o -} - -// The account ID of the owner of the quotas. -func (o GetQuotaResultOutput) AccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetQuotaResult) string { return v.AccountId }).(pulumi.StringOutput) -} - -// The description of the quota. -func (o GetQuotaResultOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetQuotaResult) string { return v.Description }).(pulumi.StringOutput) -} - -func (o GetQuotaResultOutput) Filters() GetQuotaFilterArrayOutput { - return o.ApplyT(func(v GetQuotaResult) []GetQuotaFilter { return v.Filters }).(GetQuotaFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetQuotaResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetQuotaResult) string { return v.Id }).(pulumi.StringOutput) -} - -// The maximum value of the quota for the OUTSCALE user account (if there is no limit, `0`). -func (o GetQuotaResultOutput) MaxValue() pulumi.IntOutput { - return o.ApplyT(func(v GetQuotaResult) int { return v.MaxValue }).(pulumi.IntOutput) -} - -// The unique name of the quota. -func (o GetQuotaResultOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetQuotaResult) string { return v.Name }).(pulumi.StringOutput) -} - -// The group name of the quota. -func (o GetQuotaResultOutput) QuotaCollection() pulumi.StringOutput { - return o.ApplyT(func(v GetQuotaResult) string { return v.QuotaCollection }).(pulumi.StringOutput) -} - -// The resource ID if it is a resource-specific quota, `global` if it is not. -func (o GetQuotaResultOutput) QuotaType() pulumi.StringOutput { - return o.ApplyT(func(v GetQuotaResult) string { return v.QuotaType }).(pulumi.StringOutput) -} - -func (o GetQuotaResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetQuotaResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// The description of the quota. -func (o GetQuotaResultOutput) ShortDescription() pulumi.StringOutput { - return o.ApplyT(func(v GetQuotaResult) string { return v.ShortDescription }).(pulumi.StringOutput) -} - -// The limit value currently used by the OUTSCALE user account. -func (o GetQuotaResultOutput) UsedValue() pulumi.IntOutput { - return o.ApplyT(func(v GetQuotaResult) int { return v.UsedValue }).(pulumi.IntOutput) -} - -func init() { - pulumi.RegisterOutputType(GetQuotaResultOutput{}) -} diff --git a/sdk/go/outscale/getQuotas.go b/sdk/go/outscale/getQuotas.go deleted file mode 100644 index 7576c60..0000000 --- a/sdk/go/outscale/getQuotas.go +++ /dev/null @@ -1,157 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about quotas. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Your-Account.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readquotas). -// -// ## Example Usage -// ### Read specific quotas -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetQuotas(ctx, &outscale.GetQuotasArgs{ -// Filters: []outscale.GetQuotasFilter{ -// { -// Name: "collections", -// Values: []string{ -// "VPC", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Read all quotas -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetQuotas(ctx, nil, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetQuotas(ctx *pulumi.Context, args *GetQuotasArgs, opts ...pulumi.InvokeOption) (*GetQuotasResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetQuotasResult - err := ctx.Invoke("outscale:index/getQuotas:getQuotas", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getQuotas. -type GetQuotasArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetQuotasFilter `pulumi:"filters"` -} - -// A collection of values returned by getQuotas. -type GetQuotasResult struct { - Filters []GetQuotasFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // One or more quotas associated with the user. - Quotas []GetQuotasQuota `pulumi:"quotas"` - RequestId string `pulumi:"requestId"` -} - -func GetQuotasOutput(ctx *pulumi.Context, args GetQuotasOutputArgs, opts ...pulumi.InvokeOption) GetQuotasResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetQuotasResult, error) { - args := v.(GetQuotasArgs) - r, err := GetQuotas(ctx, &args, opts...) - var s GetQuotasResult - if r != nil { - s = *r - } - return s, err - }).(GetQuotasResultOutput) -} - -// A collection of arguments for invoking getQuotas. -type GetQuotasOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetQuotasFilterArrayInput `pulumi:"filters"` -} - -func (GetQuotasOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetQuotasArgs)(nil)).Elem() -} - -// A collection of values returned by getQuotas. -type GetQuotasResultOutput struct{ *pulumi.OutputState } - -func (GetQuotasResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetQuotasResult)(nil)).Elem() -} - -func (o GetQuotasResultOutput) ToGetQuotasResultOutput() GetQuotasResultOutput { - return o -} - -func (o GetQuotasResultOutput) ToGetQuotasResultOutputWithContext(ctx context.Context) GetQuotasResultOutput { - return o -} - -func (o GetQuotasResultOutput) Filters() GetQuotasFilterArrayOutput { - return o.ApplyT(func(v GetQuotasResult) []GetQuotasFilter { return v.Filters }).(GetQuotasFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetQuotasResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetQuotasResult) string { return v.Id }).(pulumi.StringOutput) -} - -// One or more quotas associated with the user. -func (o GetQuotasResultOutput) Quotas() GetQuotasQuotaArrayOutput { - return o.ApplyT(func(v GetQuotasResult) []GetQuotasQuota { return v.Quotas }).(GetQuotasQuotaArrayOutput) -} - -func (o GetQuotasResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetQuotasResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(GetQuotasResultOutput{}) -} diff --git a/sdk/go/outscale/getRegions.go b/sdk/go/outscale/getRegions.go deleted file mode 100644 index 9145dfb..0000000 --- a/sdk/go/outscale/getRegions.go +++ /dev/null @@ -1,103 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about Regions. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Regions-Endpoints-and-Availability-Zones.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readregions). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetRegions(ctx, nil, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetRegions(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetRegionsResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetRegionsResult - err := ctx.Invoke("outscale:index/getRegions:getRegions", nil, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of values returned by getRegions. -type GetRegionsResult struct { - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // Information about one or more Regions. - Regions []GetRegionsRegion `pulumi:"regions"` - RequestId string `pulumi:"requestId"` -} - -func GetRegionsOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetRegionsResultOutput { - return pulumi.ToOutput(0).ApplyT(func(int) (GetRegionsResult, error) { - r, err := GetRegions(ctx, opts...) - var s GetRegionsResult - if r != nil { - s = *r - } - return s, err - }).(GetRegionsResultOutput) -} - -// A collection of values returned by getRegions. -type GetRegionsResultOutput struct{ *pulumi.OutputState } - -func (GetRegionsResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetRegionsResult)(nil)).Elem() -} - -func (o GetRegionsResultOutput) ToGetRegionsResultOutput() GetRegionsResultOutput { - return o -} - -func (o GetRegionsResultOutput) ToGetRegionsResultOutputWithContext(ctx context.Context) GetRegionsResultOutput { - return o -} - -// The provider-assigned unique ID for this managed resource. -func (o GetRegionsResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetRegionsResult) string { return v.Id }).(pulumi.StringOutput) -} - -// Information about one or more Regions. -func (o GetRegionsResultOutput) Regions() GetRegionsRegionArrayOutput { - return o.ApplyT(func(v GetRegionsResult) []GetRegionsRegion { return v.Regions }).(GetRegionsRegionArrayOutput) -} - -func (o GetRegionsResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetRegionsResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(GetRegionsResultOutput{}) -} diff --git a/sdk/go/outscale/getRouteTable.go b/sdk/go/outscale/getRouteTable.go deleted file mode 100644 index bcf60a0..0000000 --- a/sdk/go/outscale/getRouteTable.go +++ /dev/null @@ -1,176 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about a route table. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Route-Tables.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-routetable). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.LookupRouteTable(ctx, &outscale.LookupRouteTableArgs{ -// Filters: []outscale.GetRouteTableFilter{ -// { -// Name: "route_table_ids", -// Values: []string{ -// "rtb-12345678", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func LookupRouteTable(ctx *pulumi.Context, args *LookupRouteTableArgs, opts ...pulumi.InvokeOption) (*LookupRouteTableResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupRouteTableResult - err := ctx.Invoke("outscale:index/getRouteTable:getRouteTable", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getRouteTable. -type LookupRouteTableArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetRouteTableFilter `pulumi:"filters"` - // The ID of the route table. - RouteTableId *string `pulumi:"routeTableId"` -} - -// A collection of values returned by getRouteTable. -type LookupRouteTableResult struct { - Filters []GetRouteTableFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // One or more associations between the route table and Subnets. - LinkRouteTables []GetRouteTableLinkRouteTable `pulumi:"linkRouteTables"` - // The ID of the Net for the route table. - NetId string `pulumi:"netId"` - RequestId string `pulumi:"requestId"` - // Information about virtual gateways propagating routes. - RoutePropagatingVirtualGateways []GetRouteTableRoutePropagatingVirtualGateway `pulumi:"routePropagatingVirtualGateways"` - // The ID of the route table. - RouteTableId string `pulumi:"routeTableId"` - // One or more routes in the route table. - Routes []GetRouteTableRoute `pulumi:"routes"` - // One or more tags associated with the route table. - Tags []GetRouteTableTag `pulumi:"tags"` -} - -func LookupRouteTableOutput(ctx *pulumi.Context, args LookupRouteTableOutputArgs, opts ...pulumi.InvokeOption) LookupRouteTableResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupRouteTableResult, error) { - args := v.(LookupRouteTableArgs) - r, err := LookupRouteTable(ctx, &args, opts...) - var s LookupRouteTableResult - if r != nil { - s = *r - } - return s, err - }).(LookupRouteTableResultOutput) -} - -// A collection of arguments for invoking getRouteTable. -type LookupRouteTableOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetRouteTableFilterArrayInput `pulumi:"filters"` - // The ID of the route table. - RouteTableId pulumi.StringPtrInput `pulumi:"routeTableId"` -} - -func (LookupRouteTableOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupRouteTableArgs)(nil)).Elem() -} - -// A collection of values returned by getRouteTable. -type LookupRouteTableResultOutput struct{ *pulumi.OutputState } - -func (LookupRouteTableResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupRouteTableResult)(nil)).Elem() -} - -func (o LookupRouteTableResultOutput) ToLookupRouteTableResultOutput() LookupRouteTableResultOutput { - return o -} - -func (o LookupRouteTableResultOutput) ToLookupRouteTableResultOutputWithContext(ctx context.Context) LookupRouteTableResultOutput { - return o -} - -func (o LookupRouteTableResultOutput) Filters() GetRouteTableFilterArrayOutput { - return o.ApplyT(func(v LookupRouteTableResult) []GetRouteTableFilter { return v.Filters }).(GetRouteTableFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o LookupRouteTableResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupRouteTableResult) string { return v.Id }).(pulumi.StringOutput) -} - -// One or more associations between the route table and Subnets. -func (o LookupRouteTableResultOutput) LinkRouteTables() GetRouteTableLinkRouteTableArrayOutput { - return o.ApplyT(func(v LookupRouteTableResult) []GetRouteTableLinkRouteTable { return v.LinkRouteTables }).(GetRouteTableLinkRouteTableArrayOutput) -} - -// The ID of the Net for the route table. -func (o LookupRouteTableResultOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v LookupRouteTableResult) string { return v.NetId }).(pulumi.StringOutput) -} - -func (o LookupRouteTableResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v LookupRouteTableResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// Information about virtual gateways propagating routes. -func (o LookupRouteTableResultOutput) RoutePropagatingVirtualGateways() GetRouteTableRoutePropagatingVirtualGatewayArrayOutput { - return o.ApplyT(func(v LookupRouteTableResult) []GetRouteTableRoutePropagatingVirtualGateway { - return v.RoutePropagatingVirtualGateways - }).(GetRouteTableRoutePropagatingVirtualGatewayArrayOutput) -} - -// The ID of the route table. -func (o LookupRouteTableResultOutput) RouteTableId() pulumi.StringOutput { - return o.ApplyT(func(v LookupRouteTableResult) string { return v.RouteTableId }).(pulumi.StringOutput) -} - -// One or more routes in the route table. -func (o LookupRouteTableResultOutput) Routes() GetRouteTableRouteArrayOutput { - return o.ApplyT(func(v LookupRouteTableResult) []GetRouteTableRoute { return v.Routes }).(GetRouteTableRouteArrayOutput) -} - -// One or more tags associated with the route table. -func (o LookupRouteTableResultOutput) Tags() GetRouteTableTagArrayOutput { - return o.ApplyT(func(v LookupRouteTableResult) []GetRouteTableTag { return v.Tags }).(GetRouteTableTagArrayOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupRouteTableResultOutput{}) -} diff --git a/sdk/go/outscale/getRouteTables.go b/sdk/go/outscale/getRouteTables.go deleted file mode 100644 index 93dc2cc..0000000 --- a/sdk/go/outscale/getRouteTables.go +++ /dev/null @@ -1,153 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about route tables. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Route-Tables.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-routetable). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetRouteTables(ctx, &outscale.GetRouteTablesArgs{ -// Filters: []outscale.GetRouteTablesFilter{ -// { -// Name: "net_ids", -// Values: []string{ -// "vpc-12345678", -// "vpc-87654321", -// }, -// }, -// { -// Name: "link_route_table_main", -// Values: []string{ -// "true", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetRouteTables(ctx *pulumi.Context, args *GetRouteTablesArgs, opts ...pulumi.InvokeOption) (*GetRouteTablesResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetRouteTablesResult - err := ctx.Invoke("outscale:index/getRouteTables:getRouteTables", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getRouteTables. -type GetRouteTablesArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetRouteTablesFilter `pulumi:"filters"` - // The ID of the route table. - RouteTableIds []string `pulumi:"routeTableIds"` -} - -// A collection of values returned by getRouteTables. -type GetRouteTablesResult struct { - Filters []GetRouteTablesFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - RequestId string `pulumi:"requestId"` - // The ID of the route table. - RouteTableIds []string `pulumi:"routeTableIds"` - // Information about one or more route tables. - RouteTables []GetRouteTablesRouteTable `pulumi:"routeTables"` -} - -func GetRouteTablesOutput(ctx *pulumi.Context, args GetRouteTablesOutputArgs, opts ...pulumi.InvokeOption) GetRouteTablesResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetRouteTablesResult, error) { - args := v.(GetRouteTablesArgs) - r, err := GetRouteTables(ctx, &args, opts...) - var s GetRouteTablesResult - if r != nil { - s = *r - } - return s, err - }).(GetRouteTablesResultOutput) -} - -// A collection of arguments for invoking getRouteTables. -type GetRouteTablesOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetRouteTablesFilterArrayInput `pulumi:"filters"` - // The ID of the route table. - RouteTableIds pulumi.StringArrayInput `pulumi:"routeTableIds"` -} - -func (GetRouteTablesOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetRouteTablesArgs)(nil)).Elem() -} - -// A collection of values returned by getRouteTables. -type GetRouteTablesResultOutput struct{ *pulumi.OutputState } - -func (GetRouteTablesResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetRouteTablesResult)(nil)).Elem() -} - -func (o GetRouteTablesResultOutput) ToGetRouteTablesResultOutput() GetRouteTablesResultOutput { - return o -} - -func (o GetRouteTablesResultOutput) ToGetRouteTablesResultOutputWithContext(ctx context.Context) GetRouteTablesResultOutput { - return o -} - -func (o GetRouteTablesResultOutput) Filters() GetRouteTablesFilterArrayOutput { - return o.ApplyT(func(v GetRouteTablesResult) []GetRouteTablesFilter { return v.Filters }).(GetRouteTablesFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetRouteTablesResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTablesResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o GetRouteTablesResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTablesResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// The ID of the route table. -func (o GetRouteTablesResultOutput) RouteTableIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetRouteTablesResult) []string { return v.RouteTableIds }).(pulumi.StringArrayOutput) -} - -// Information about one or more route tables. -func (o GetRouteTablesResultOutput) RouteTables() GetRouteTablesRouteTableArrayOutput { - return o.ApplyT(func(v GetRouteTablesResult) []GetRouteTablesRouteTable { return v.RouteTables }).(GetRouteTablesRouteTableArrayOutput) -} - -func init() { - pulumi.RegisterOutputType(GetRouteTablesResultOutput{}) -} diff --git a/sdk/go/outscale/getSecurityGroup.go b/sdk/go/outscale/getSecurityGroup.go deleted file mode 100644 index 96691d4..0000000 --- a/sdk/go/outscale/getSecurityGroup.go +++ /dev/null @@ -1,192 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about a security group. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Security-Groups.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-securitygroup). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.LookupSecurityGroup(ctx, &outscale.LookupSecurityGroupArgs{ -// Filters: []outscale.GetSecurityGroupFilter{ -// { -// Name: "security_group_ids", -// Values: []string{ -// "sg-12345678", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func LookupSecurityGroup(ctx *pulumi.Context, args *LookupSecurityGroupArgs, opts ...pulumi.InvokeOption) (*LookupSecurityGroupResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupSecurityGroupResult - err := ctx.Invoke("outscale:index/getSecurityGroup:getSecurityGroup", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getSecurityGroup. -type LookupSecurityGroupArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetSecurityGroupFilter `pulumi:"filters"` - // The ID of the security group. - SecurityGroupId *string `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName *string `pulumi:"securityGroupName"` -} - -// A collection of values returned by getSecurityGroup. -type LookupSecurityGroupResult struct { - // The account ID that owns the source or destination security group. - AccountId string `pulumi:"accountId"` - // The description of the security group. - Description string `pulumi:"description"` - Filters []GetSecurityGroupFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // The inbound rules associated with the security group. - InboundRules []GetSecurityGroupInboundRule `pulumi:"inboundRules"` - // The ID of the Net for the security group. - NetId string `pulumi:"netId"` - // The outbound rules associated with the security group. - OutboundRules []GetSecurityGroupOutboundRule `pulumi:"outboundRules"` - RequestId string `pulumi:"requestId"` - // The ID of the security group. - SecurityGroupId string `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName string `pulumi:"securityGroupName"` - // One or more tags associated with the security group. - Tags []GetSecurityGroupTag `pulumi:"tags"` -} - -func LookupSecurityGroupOutput(ctx *pulumi.Context, args LookupSecurityGroupOutputArgs, opts ...pulumi.InvokeOption) LookupSecurityGroupResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSecurityGroupResult, error) { - args := v.(LookupSecurityGroupArgs) - r, err := LookupSecurityGroup(ctx, &args, opts...) - var s LookupSecurityGroupResult - if r != nil { - s = *r - } - return s, err - }).(LookupSecurityGroupResultOutput) -} - -// A collection of arguments for invoking getSecurityGroup. -type LookupSecurityGroupOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetSecurityGroupFilterArrayInput `pulumi:"filters"` - // The ID of the security group. - SecurityGroupId pulumi.StringPtrInput `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName pulumi.StringPtrInput `pulumi:"securityGroupName"` -} - -func (LookupSecurityGroupOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupSecurityGroupArgs)(nil)).Elem() -} - -// A collection of values returned by getSecurityGroup. -type LookupSecurityGroupResultOutput struct{ *pulumi.OutputState } - -func (LookupSecurityGroupResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupSecurityGroupResult)(nil)).Elem() -} - -func (o LookupSecurityGroupResultOutput) ToLookupSecurityGroupResultOutput() LookupSecurityGroupResultOutput { - return o -} - -func (o LookupSecurityGroupResultOutput) ToLookupSecurityGroupResultOutputWithContext(ctx context.Context) LookupSecurityGroupResultOutput { - return o -} - -// The account ID that owns the source or destination security group. -func (o LookupSecurityGroupResultOutput) AccountId() pulumi.StringOutput { - return o.ApplyT(func(v LookupSecurityGroupResult) string { return v.AccountId }).(pulumi.StringOutput) -} - -// The description of the security group. -func (o LookupSecurityGroupResultOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v LookupSecurityGroupResult) string { return v.Description }).(pulumi.StringOutput) -} - -func (o LookupSecurityGroupResultOutput) Filters() GetSecurityGroupFilterArrayOutput { - return o.ApplyT(func(v LookupSecurityGroupResult) []GetSecurityGroupFilter { return v.Filters }).(GetSecurityGroupFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o LookupSecurityGroupResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupSecurityGroupResult) string { return v.Id }).(pulumi.StringOutput) -} - -// The inbound rules associated with the security group. -func (o LookupSecurityGroupResultOutput) InboundRules() GetSecurityGroupInboundRuleArrayOutput { - return o.ApplyT(func(v LookupSecurityGroupResult) []GetSecurityGroupInboundRule { return v.InboundRules }).(GetSecurityGroupInboundRuleArrayOutput) -} - -// The ID of the Net for the security group. -func (o LookupSecurityGroupResultOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v LookupSecurityGroupResult) string { return v.NetId }).(pulumi.StringOutput) -} - -// The outbound rules associated with the security group. -func (o LookupSecurityGroupResultOutput) OutboundRules() GetSecurityGroupOutboundRuleArrayOutput { - return o.ApplyT(func(v LookupSecurityGroupResult) []GetSecurityGroupOutboundRule { return v.OutboundRules }).(GetSecurityGroupOutboundRuleArrayOutput) -} - -func (o LookupSecurityGroupResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v LookupSecurityGroupResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// The ID of the security group. -func (o LookupSecurityGroupResultOutput) SecurityGroupId() pulumi.StringOutput { - return o.ApplyT(func(v LookupSecurityGroupResult) string { return v.SecurityGroupId }).(pulumi.StringOutput) -} - -// The name of the security group. -func (o LookupSecurityGroupResultOutput) SecurityGroupName() pulumi.StringOutput { - return o.ApplyT(func(v LookupSecurityGroupResult) string { return v.SecurityGroupName }).(pulumi.StringOutput) -} - -// One or more tags associated with the security group. -func (o LookupSecurityGroupResultOutput) Tags() GetSecurityGroupTagArrayOutput { - return o.ApplyT(func(v LookupSecurityGroupResult) []GetSecurityGroupTag { return v.Tags }).(GetSecurityGroupTagArrayOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupSecurityGroupResultOutput{}) -} diff --git a/sdk/go/outscale/getSecurityGroups.go b/sdk/go/outscale/getSecurityGroups.go deleted file mode 100644 index a8645e2..0000000 --- a/sdk/go/outscale/getSecurityGroups.go +++ /dev/null @@ -1,160 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about security groups. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Security-Groups.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-securitygroup). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetSecurityGroups(ctx, &outscale.GetSecurityGroupsArgs{ -// Filters: []outscale.GetSecurityGroupsFilter{ -// { -// Name: "net_ids", -// Values: []string{ -// "sg-12345678", -// "sg-87654321", -// }, -// }, -// { -// Name: "inbound_rule_ip_ranges", -// Values: []string{ -// "111.11.111.1/32", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetSecurityGroups(ctx *pulumi.Context, args *GetSecurityGroupsArgs, opts ...pulumi.InvokeOption) (*GetSecurityGroupsResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetSecurityGroupsResult - err := ctx.Invoke("outscale:index/getSecurityGroups:getSecurityGroups", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getSecurityGroups. -type GetSecurityGroupsArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetSecurityGroupsFilter `pulumi:"filters"` - // The IDs of the security groups. - SecurityGroupIds []string `pulumi:"securityGroupIds"` - // The names of the security groups. - SecurityGroupNames []string `pulumi:"securityGroupNames"` -} - -// A collection of values returned by getSecurityGroups. -type GetSecurityGroupsResult struct { - Filters []GetSecurityGroupsFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - RequestId string `pulumi:"requestId"` - SecurityGroupIds []string `pulumi:"securityGroupIds"` - SecurityGroupNames []string `pulumi:"securityGroupNames"` - // Information about one or more security groups. - SecurityGroups []GetSecurityGroupsSecurityGroup `pulumi:"securityGroups"` -} - -func GetSecurityGroupsOutput(ctx *pulumi.Context, args GetSecurityGroupsOutputArgs, opts ...pulumi.InvokeOption) GetSecurityGroupsResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSecurityGroupsResult, error) { - args := v.(GetSecurityGroupsArgs) - r, err := GetSecurityGroups(ctx, &args, opts...) - var s GetSecurityGroupsResult - if r != nil { - s = *r - } - return s, err - }).(GetSecurityGroupsResultOutput) -} - -// A collection of arguments for invoking getSecurityGroups. -type GetSecurityGroupsOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetSecurityGroupsFilterArrayInput `pulumi:"filters"` - // The IDs of the security groups. - SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"` - // The names of the security groups. - SecurityGroupNames pulumi.StringArrayInput `pulumi:"securityGroupNames"` -} - -func (GetSecurityGroupsOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSecurityGroupsArgs)(nil)).Elem() -} - -// A collection of values returned by getSecurityGroups. -type GetSecurityGroupsResultOutput struct{ *pulumi.OutputState } - -func (GetSecurityGroupsResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSecurityGroupsResult)(nil)).Elem() -} - -func (o GetSecurityGroupsResultOutput) ToGetSecurityGroupsResultOutput() GetSecurityGroupsResultOutput { - return o -} - -func (o GetSecurityGroupsResultOutput) ToGetSecurityGroupsResultOutputWithContext(ctx context.Context) GetSecurityGroupsResultOutput { - return o -} - -func (o GetSecurityGroupsResultOutput) Filters() GetSecurityGroupsFilterArrayOutput { - return o.ApplyT(func(v GetSecurityGroupsResult) []GetSecurityGroupsFilter { return v.Filters }).(GetSecurityGroupsFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetSecurityGroupsResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetSecurityGroupsResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o GetSecurityGroupsResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetSecurityGroupsResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -func (o GetSecurityGroupsResultOutput) SecurityGroupIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetSecurityGroupsResult) []string { return v.SecurityGroupIds }).(pulumi.StringArrayOutput) -} - -func (o GetSecurityGroupsResultOutput) SecurityGroupNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetSecurityGroupsResult) []string { return v.SecurityGroupNames }).(pulumi.StringArrayOutput) -} - -// Information about one or more security groups. -func (o GetSecurityGroupsResultOutput) SecurityGroups() GetSecurityGroupsSecurityGroupArrayOutput { - return o.ApplyT(func(v GetSecurityGroupsResult) []GetSecurityGroupsSecurityGroup { return v.SecurityGroups }).(GetSecurityGroupsSecurityGroupArrayOutput) -} - -func init() { - pulumi.RegisterOutputType(GetSecurityGroupsResultOutput{}) -} diff --git a/sdk/go/outscale/getServerCertificate.go b/sdk/go/outscale/getServerCertificate.go deleted file mode 100644 index c55adcc..0000000 --- a/sdk/go/outscale/getServerCertificate.go +++ /dev/null @@ -1,130 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about a server certificate. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Server-Certificates-in-EIM.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-servercertificate). -func LookupServerCertificate(ctx *pulumi.Context, args *LookupServerCertificateArgs, opts ...pulumi.InvokeOption) (*LookupServerCertificateResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupServerCertificateResult - err := ctx.Invoke("outscale:index/getServerCertificate:getServerCertificate", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getServerCertificate. -type LookupServerCertificateArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetServerCertificateFilter `pulumi:"filters"` -} - -// A collection of values returned by getServerCertificate. -type LookupServerCertificateResult struct { - // The date at which the server certificate expires. - ExpirationDate string `pulumi:"expirationDate"` - Filters []GetServerCertificateFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // The name of the server certificate. - Name string `pulumi:"name"` - // The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - Orn string `pulumi:"orn"` - // The path to the server certificate. - Path string `pulumi:"path"` - RequestId string `pulumi:"requestId"` - // The date at which the server certificate has been uploaded. - UploadDate string `pulumi:"uploadDate"` -} - -func LookupServerCertificateOutput(ctx *pulumi.Context, args LookupServerCertificateOutputArgs, opts ...pulumi.InvokeOption) LookupServerCertificateResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupServerCertificateResult, error) { - args := v.(LookupServerCertificateArgs) - r, err := LookupServerCertificate(ctx, &args, opts...) - var s LookupServerCertificateResult - if r != nil { - s = *r - } - return s, err - }).(LookupServerCertificateResultOutput) -} - -// A collection of arguments for invoking getServerCertificate. -type LookupServerCertificateOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetServerCertificateFilterArrayInput `pulumi:"filters"` -} - -func (LookupServerCertificateOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupServerCertificateArgs)(nil)).Elem() -} - -// A collection of values returned by getServerCertificate. -type LookupServerCertificateResultOutput struct{ *pulumi.OutputState } - -func (LookupServerCertificateResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupServerCertificateResult)(nil)).Elem() -} - -func (o LookupServerCertificateResultOutput) ToLookupServerCertificateResultOutput() LookupServerCertificateResultOutput { - return o -} - -func (o LookupServerCertificateResultOutput) ToLookupServerCertificateResultOutputWithContext(ctx context.Context) LookupServerCertificateResultOutput { - return o -} - -// The date at which the server certificate expires. -func (o LookupServerCertificateResultOutput) ExpirationDate() pulumi.StringOutput { - return o.ApplyT(func(v LookupServerCertificateResult) string { return v.ExpirationDate }).(pulumi.StringOutput) -} - -func (o LookupServerCertificateResultOutput) Filters() GetServerCertificateFilterArrayOutput { - return o.ApplyT(func(v LookupServerCertificateResult) []GetServerCertificateFilter { return v.Filters }).(GetServerCertificateFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o LookupServerCertificateResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupServerCertificateResult) string { return v.Id }).(pulumi.StringOutput) -} - -// The name of the server certificate. -func (o LookupServerCertificateResultOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v LookupServerCertificateResult) string { return v.Name }).(pulumi.StringOutput) -} - -// The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). -func (o LookupServerCertificateResultOutput) Orn() pulumi.StringOutput { - return o.ApplyT(func(v LookupServerCertificateResult) string { return v.Orn }).(pulumi.StringOutput) -} - -// The path to the server certificate. -func (o LookupServerCertificateResultOutput) Path() pulumi.StringOutput { - return o.ApplyT(func(v LookupServerCertificateResult) string { return v.Path }).(pulumi.StringOutput) -} - -func (o LookupServerCertificateResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v LookupServerCertificateResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// The date at which the server certificate has been uploaded. -func (o LookupServerCertificateResultOutput) UploadDate() pulumi.StringOutput { - return o.ApplyT(func(v LookupServerCertificateResult) string { return v.UploadDate }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupServerCertificateResultOutput{}) -} diff --git a/sdk/go/outscale/getServerCertificates.go b/sdk/go/outscale/getServerCertificates.go deleted file mode 100644 index 4de854c..0000000 --- a/sdk/go/outscale/getServerCertificates.go +++ /dev/null @@ -1,162 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about server certificates. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Server-Certificates-in-EIM.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-servercertificate). -// -// ## Example Usage -// ### Read specific server certificates -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetServerCertificates(ctx, &outscale.GetServerCertificatesArgs{ -// Filters: []outscale.GetServerCertificatesFilter{ -// { -// Name: "paths", -// Values: []string{ -// "", -// "", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Read all server certificates -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetServerCertificates(ctx, nil, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetServerCertificates(ctx *pulumi.Context, args *GetServerCertificatesArgs, opts ...pulumi.InvokeOption) (*GetServerCertificatesResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetServerCertificatesResult - err := ctx.Invoke("outscale:index/getServerCertificates:getServerCertificates", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getServerCertificates. -type GetServerCertificatesArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetServerCertificatesFilter `pulumi:"filters"` -} - -// A collection of values returned by getServerCertificates. -type GetServerCertificatesResult struct { - Filters []GetServerCertificatesFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - RequestId string `pulumi:"requestId"` - // Information about one or more server certificates. - ServerCertificates []GetServerCertificatesServerCertificate `pulumi:"serverCertificates"` -} - -func GetServerCertificatesOutput(ctx *pulumi.Context, args GetServerCertificatesOutputArgs, opts ...pulumi.InvokeOption) GetServerCertificatesResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetServerCertificatesResult, error) { - args := v.(GetServerCertificatesArgs) - r, err := GetServerCertificates(ctx, &args, opts...) - var s GetServerCertificatesResult - if r != nil { - s = *r - } - return s, err - }).(GetServerCertificatesResultOutput) -} - -// A collection of arguments for invoking getServerCertificates. -type GetServerCertificatesOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetServerCertificatesFilterArrayInput `pulumi:"filters"` -} - -func (GetServerCertificatesOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetServerCertificatesArgs)(nil)).Elem() -} - -// A collection of values returned by getServerCertificates. -type GetServerCertificatesResultOutput struct{ *pulumi.OutputState } - -func (GetServerCertificatesResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetServerCertificatesResult)(nil)).Elem() -} - -func (o GetServerCertificatesResultOutput) ToGetServerCertificatesResultOutput() GetServerCertificatesResultOutput { - return o -} - -func (o GetServerCertificatesResultOutput) ToGetServerCertificatesResultOutputWithContext(ctx context.Context) GetServerCertificatesResultOutput { - return o -} - -func (o GetServerCertificatesResultOutput) Filters() GetServerCertificatesFilterArrayOutput { - return o.ApplyT(func(v GetServerCertificatesResult) []GetServerCertificatesFilter { return v.Filters }).(GetServerCertificatesFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetServerCertificatesResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetServerCertificatesResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o GetServerCertificatesResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetServerCertificatesResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// Information about one or more server certificates. -func (o GetServerCertificatesResultOutput) ServerCertificates() GetServerCertificatesServerCertificateArrayOutput { - return o.ApplyT(func(v GetServerCertificatesResult) []GetServerCertificatesServerCertificate { - return v.ServerCertificates - }).(GetServerCertificatesServerCertificateArrayOutput) -} - -func init() { - pulumi.RegisterOutputType(GetServerCertificatesResultOutput{}) -} diff --git a/sdk/go/outscale/getSnapshot.go b/sdk/go/outscale/getSnapshot.go deleted file mode 100644 index aa2b0f8..0000000 --- a/sdk/go/outscale/getSnapshot.go +++ /dev/null @@ -1,215 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about a snapshot. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Snapshots.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-snapshot). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.LookupSnapshot(ctx, &outscale.LookupSnapshotArgs{ -// Filters: []outscale.GetSnapshotFilter{ -// { -// Name: "snapshot_ids", -// Values: []string{ -// "snap-12345678", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func LookupSnapshot(ctx *pulumi.Context, args *LookupSnapshotArgs, opts ...pulumi.InvokeOption) (*LookupSnapshotResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupSnapshotResult - err := ctx.Invoke("outscale:index/getSnapshot:getSnapshot", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getSnapshot. -type LookupSnapshotArgs struct { - // The account ID of the owner of the snapshot. - AccountId *string `pulumi:"accountId"` - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetSnapshotFilter `pulumi:"filters"` - // The ID of the snapshot. - SnapshotId *string `pulumi:"snapshotId"` -} - -// A collection of values returned by getSnapshot. -type LookupSnapshotResult struct { - // The account alias of the owner of the snapshot. - AccountAlias string `pulumi:"accountAlias"` - // The account ID of the owner of the snapshot. - AccountId string `pulumi:"accountId"` - // The date and time of creation of the snapshot. - CreationDate string `pulumi:"creationDate"` - // The description of the snapshot. - Description string `pulumi:"description"` - Filters []GetSnapshotFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // Permissions for the resource. - PermissionsToCreateVolumes []GetSnapshotPermissionsToCreateVolume `pulumi:"permissionsToCreateVolumes"` - // The progress of the snapshot, as a percentage. - Progress int `pulumi:"progress"` - RequestId string `pulumi:"requestId"` - // The ID of the snapshot. - SnapshotId string `pulumi:"snapshotId"` - // The state of the snapshot (`in-queue` \| `completed` \| `error`). - State string `pulumi:"state"` - // One or more tags associated with the snapshot. - Tags []GetSnapshotTag `pulumi:"tags"` - // The ID of the volume used to create the snapshot. - VolumeId string `pulumi:"volumeId"` - // The size of the volume used to create the snapshot, in gibibytes (GiB). - VolumeSize int `pulumi:"volumeSize"` -} - -func LookupSnapshotOutput(ctx *pulumi.Context, args LookupSnapshotOutputArgs, opts ...pulumi.InvokeOption) LookupSnapshotResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSnapshotResult, error) { - args := v.(LookupSnapshotArgs) - r, err := LookupSnapshot(ctx, &args, opts...) - var s LookupSnapshotResult - if r != nil { - s = *r - } - return s, err - }).(LookupSnapshotResultOutput) -} - -// A collection of arguments for invoking getSnapshot. -type LookupSnapshotOutputArgs struct { - // The account ID of the owner of the snapshot. - AccountId pulumi.StringPtrInput `pulumi:"accountId"` - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetSnapshotFilterArrayInput `pulumi:"filters"` - // The ID of the snapshot. - SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"` -} - -func (LookupSnapshotOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupSnapshotArgs)(nil)).Elem() -} - -// A collection of values returned by getSnapshot. -type LookupSnapshotResultOutput struct{ *pulumi.OutputState } - -func (LookupSnapshotResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupSnapshotResult)(nil)).Elem() -} - -func (o LookupSnapshotResultOutput) ToLookupSnapshotResultOutput() LookupSnapshotResultOutput { - return o -} - -func (o LookupSnapshotResultOutput) ToLookupSnapshotResultOutputWithContext(ctx context.Context) LookupSnapshotResultOutput { - return o -} - -// The account alias of the owner of the snapshot. -func (o LookupSnapshotResultOutput) AccountAlias() pulumi.StringOutput { - return o.ApplyT(func(v LookupSnapshotResult) string { return v.AccountAlias }).(pulumi.StringOutput) -} - -// The account ID of the owner of the snapshot. -func (o LookupSnapshotResultOutput) AccountId() pulumi.StringOutput { - return o.ApplyT(func(v LookupSnapshotResult) string { return v.AccountId }).(pulumi.StringOutput) -} - -// The date and time of creation of the snapshot. -func (o LookupSnapshotResultOutput) CreationDate() pulumi.StringOutput { - return o.ApplyT(func(v LookupSnapshotResult) string { return v.CreationDate }).(pulumi.StringOutput) -} - -// The description of the snapshot. -func (o LookupSnapshotResultOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v LookupSnapshotResult) string { return v.Description }).(pulumi.StringOutput) -} - -func (o LookupSnapshotResultOutput) Filters() GetSnapshotFilterArrayOutput { - return o.ApplyT(func(v LookupSnapshotResult) []GetSnapshotFilter { return v.Filters }).(GetSnapshotFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o LookupSnapshotResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupSnapshotResult) string { return v.Id }).(pulumi.StringOutput) -} - -// Permissions for the resource. -func (o LookupSnapshotResultOutput) PermissionsToCreateVolumes() GetSnapshotPermissionsToCreateVolumeArrayOutput { - return o.ApplyT(func(v LookupSnapshotResult) []GetSnapshotPermissionsToCreateVolume { - return v.PermissionsToCreateVolumes - }).(GetSnapshotPermissionsToCreateVolumeArrayOutput) -} - -// The progress of the snapshot, as a percentage. -func (o LookupSnapshotResultOutput) Progress() pulumi.IntOutput { - return o.ApplyT(func(v LookupSnapshotResult) int { return v.Progress }).(pulumi.IntOutput) -} - -func (o LookupSnapshotResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v LookupSnapshotResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// The ID of the snapshot. -func (o LookupSnapshotResultOutput) SnapshotId() pulumi.StringOutput { - return o.ApplyT(func(v LookupSnapshotResult) string { return v.SnapshotId }).(pulumi.StringOutput) -} - -// The state of the snapshot (`in-queue` \| `completed` \| `error`). -func (o LookupSnapshotResultOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v LookupSnapshotResult) string { return v.State }).(pulumi.StringOutput) -} - -// One or more tags associated with the snapshot. -func (o LookupSnapshotResultOutput) Tags() GetSnapshotTagArrayOutput { - return o.ApplyT(func(v LookupSnapshotResult) []GetSnapshotTag { return v.Tags }).(GetSnapshotTagArrayOutput) -} - -// The ID of the volume used to create the snapshot. -func (o LookupSnapshotResultOutput) VolumeId() pulumi.StringOutput { - return o.ApplyT(func(v LookupSnapshotResult) string { return v.VolumeId }).(pulumi.StringOutput) -} - -// The size of the volume used to create the snapshot, in gibibytes (GiB). -func (o LookupSnapshotResultOutput) VolumeSize() pulumi.IntOutput { - return o.ApplyT(func(v LookupSnapshotResult) int { return v.VolumeSize }).(pulumi.IntOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupSnapshotResultOutput{}) -} diff --git a/sdk/go/outscale/getSnapshotExportTask.go b/sdk/go/outscale/getSnapshotExportTask.go deleted file mode 100644 index 833efd4..0000000 --- a/sdk/go/outscale/getSnapshotExportTask.go +++ /dev/null @@ -1,184 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about a snapshot export task. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Snapshots.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-snapshot). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.LookupSnapshotExportTask(ctx, &outscale.LookupSnapshotExportTaskArgs{ -// Filters: []outscale.GetSnapshotExportTaskFilter{ -// { -// Name: "task_ids", -// Values: []string{ -// "snap-export-12345678", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func LookupSnapshotExportTask(ctx *pulumi.Context, args *LookupSnapshotExportTaskArgs, opts ...pulumi.InvokeOption) (*LookupSnapshotExportTaskResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupSnapshotExportTaskResult - err := ctx.Invoke("outscale:index/getSnapshotExportTask:getSnapshotExportTask", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getSnapshotExportTask. -type LookupSnapshotExportTaskArgs struct { - DryRun *bool `pulumi:"dryRun"` - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetSnapshotExportTaskFilter `pulumi:"filters"` -} - -// A collection of values returned by getSnapshotExportTask. -type LookupSnapshotExportTaskResult struct { - // If the snapshot export task fails, an error message appears. - Comment string `pulumi:"comment"` - DryRun bool `pulumi:"dryRun"` - Filters []GetSnapshotExportTaskFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // Information about the snapshot export task. - OsuExports []GetSnapshotExportTaskOsuExport `pulumi:"osuExports"` - // The progress of the snapshot export task, as a percentage. - Progress int `pulumi:"progress"` - RequestId string `pulumi:"requestId"` - // The ID of the snapshot to be exported. - SnapshotId string `pulumi:"snapshotId"` - // The state of the snapshot export task (`pending` \| `active` \| `completed` \| `failed`). - State string `pulumi:"state"` - // One or more tags associated with the snapshot export task. - Tags []GetSnapshotExportTaskTag `pulumi:"tags"` - // The ID of the snapshot export task. - TaskId string `pulumi:"taskId"` -} - -func LookupSnapshotExportTaskOutput(ctx *pulumi.Context, args LookupSnapshotExportTaskOutputArgs, opts ...pulumi.InvokeOption) LookupSnapshotExportTaskResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSnapshotExportTaskResult, error) { - args := v.(LookupSnapshotExportTaskArgs) - r, err := LookupSnapshotExportTask(ctx, &args, opts...) - var s LookupSnapshotExportTaskResult - if r != nil { - s = *r - } - return s, err - }).(LookupSnapshotExportTaskResultOutput) -} - -// A collection of arguments for invoking getSnapshotExportTask. -type LookupSnapshotExportTaskOutputArgs struct { - DryRun pulumi.BoolPtrInput `pulumi:"dryRun"` - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetSnapshotExportTaskFilterArrayInput `pulumi:"filters"` -} - -func (LookupSnapshotExportTaskOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupSnapshotExportTaskArgs)(nil)).Elem() -} - -// A collection of values returned by getSnapshotExportTask. -type LookupSnapshotExportTaskResultOutput struct{ *pulumi.OutputState } - -func (LookupSnapshotExportTaskResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupSnapshotExportTaskResult)(nil)).Elem() -} - -func (o LookupSnapshotExportTaskResultOutput) ToLookupSnapshotExportTaskResultOutput() LookupSnapshotExportTaskResultOutput { - return o -} - -func (o LookupSnapshotExportTaskResultOutput) ToLookupSnapshotExportTaskResultOutputWithContext(ctx context.Context) LookupSnapshotExportTaskResultOutput { - return o -} - -// If the snapshot export task fails, an error message appears. -func (o LookupSnapshotExportTaskResultOutput) Comment() pulumi.StringOutput { - return o.ApplyT(func(v LookupSnapshotExportTaskResult) string { return v.Comment }).(pulumi.StringOutput) -} - -func (o LookupSnapshotExportTaskResultOutput) DryRun() pulumi.BoolOutput { - return o.ApplyT(func(v LookupSnapshotExportTaskResult) bool { return v.DryRun }).(pulumi.BoolOutput) -} - -func (o LookupSnapshotExportTaskResultOutput) Filters() GetSnapshotExportTaskFilterArrayOutput { - return o.ApplyT(func(v LookupSnapshotExportTaskResult) []GetSnapshotExportTaskFilter { return v.Filters }).(GetSnapshotExportTaskFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o LookupSnapshotExportTaskResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupSnapshotExportTaskResult) string { return v.Id }).(pulumi.StringOutput) -} - -// Information about the snapshot export task. -func (o LookupSnapshotExportTaskResultOutput) OsuExports() GetSnapshotExportTaskOsuExportArrayOutput { - return o.ApplyT(func(v LookupSnapshotExportTaskResult) []GetSnapshotExportTaskOsuExport { return v.OsuExports }).(GetSnapshotExportTaskOsuExportArrayOutput) -} - -// The progress of the snapshot export task, as a percentage. -func (o LookupSnapshotExportTaskResultOutput) Progress() pulumi.IntOutput { - return o.ApplyT(func(v LookupSnapshotExportTaskResult) int { return v.Progress }).(pulumi.IntOutput) -} - -func (o LookupSnapshotExportTaskResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v LookupSnapshotExportTaskResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// The ID of the snapshot to be exported. -func (o LookupSnapshotExportTaskResultOutput) SnapshotId() pulumi.StringOutput { - return o.ApplyT(func(v LookupSnapshotExportTaskResult) string { return v.SnapshotId }).(pulumi.StringOutput) -} - -// The state of the snapshot export task (`pending` \| `active` \| `completed` \| `failed`). -func (o LookupSnapshotExportTaskResultOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v LookupSnapshotExportTaskResult) string { return v.State }).(pulumi.StringOutput) -} - -// One or more tags associated with the snapshot export task. -func (o LookupSnapshotExportTaskResultOutput) Tags() GetSnapshotExportTaskTagArrayOutput { - return o.ApplyT(func(v LookupSnapshotExportTaskResult) []GetSnapshotExportTaskTag { return v.Tags }).(GetSnapshotExportTaskTagArrayOutput) -} - -// The ID of the snapshot export task. -func (o LookupSnapshotExportTaskResultOutput) TaskId() pulumi.StringOutput { - return o.ApplyT(func(v LookupSnapshotExportTaskResult) string { return v.TaskId }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupSnapshotExportTaskResultOutput{}) -} diff --git a/sdk/go/outscale/getSnapshotExportTasks.go b/sdk/go/outscale/getSnapshotExportTasks.go deleted file mode 100644 index d1a2bd5..0000000 --- a/sdk/go/outscale/getSnapshotExportTasks.go +++ /dev/null @@ -1,145 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about snapshot export tasks. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Snapshots.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-snapshot). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetSnapshotExportTasks(ctx, &outscale.GetSnapshotExportTasksArgs{ -// Filters: []outscale.GetSnapshotExportTasksFilter{ -// { -// Name: "task_ids", -// Values: []string{ -// "snap-export-12345678", -// "snap-export-87654321", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetSnapshotExportTasks(ctx *pulumi.Context, args *GetSnapshotExportTasksArgs, opts ...pulumi.InvokeOption) (*GetSnapshotExportTasksResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetSnapshotExportTasksResult - err := ctx.Invoke("outscale:index/getSnapshotExportTasks:getSnapshotExportTasks", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getSnapshotExportTasks. -type GetSnapshotExportTasksArgs struct { - DryRun *bool `pulumi:"dryRun"` - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetSnapshotExportTasksFilter `pulumi:"filters"` -} - -// A collection of values returned by getSnapshotExportTasks. -type GetSnapshotExportTasksResult struct { - DryRun bool `pulumi:"dryRun"` - Filters []GetSnapshotExportTasksFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - RequestId string `pulumi:"requestId"` - // Information about one or more snapshot export tasks. - SnapshotExportTasks []GetSnapshotExportTasksSnapshotExportTask `pulumi:"snapshotExportTasks"` -} - -func GetSnapshotExportTasksOutput(ctx *pulumi.Context, args GetSnapshotExportTasksOutputArgs, opts ...pulumi.InvokeOption) GetSnapshotExportTasksResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSnapshotExportTasksResult, error) { - args := v.(GetSnapshotExportTasksArgs) - r, err := GetSnapshotExportTasks(ctx, &args, opts...) - var s GetSnapshotExportTasksResult - if r != nil { - s = *r - } - return s, err - }).(GetSnapshotExportTasksResultOutput) -} - -// A collection of arguments for invoking getSnapshotExportTasks. -type GetSnapshotExportTasksOutputArgs struct { - DryRun pulumi.BoolPtrInput `pulumi:"dryRun"` - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetSnapshotExportTasksFilterArrayInput `pulumi:"filters"` -} - -func (GetSnapshotExportTasksOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSnapshotExportTasksArgs)(nil)).Elem() -} - -// A collection of values returned by getSnapshotExportTasks. -type GetSnapshotExportTasksResultOutput struct{ *pulumi.OutputState } - -func (GetSnapshotExportTasksResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSnapshotExportTasksResult)(nil)).Elem() -} - -func (o GetSnapshotExportTasksResultOutput) ToGetSnapshotExportTasksResultOutput() GetSnapshotExportTasksResultOutput { - return o -} - -func (o GetSnapshotExportTasksResultOutput) ToGetSnapshotExportTasksResultOutputWithContext(ctx context.Context) GetSnapshotExportTasksResultOutput { - return o -} - -func (o GetSnapshotExportTasksResultOutput) DryRun() pulumi.BoolOutput { - return o.ApplyT(func(v GetSnapshotExportTasksResult) bool { return v.DryRun }).(pulumi.BoolOutput) -} - -func (o GetSnapshotExportTasksResultOutput) Filters() GetSnapshotExportTasksFilterArrayOutput { - return o.ApplyT(func(v GetSnapshotExportTasksResult) []GetSnapshotExportTasksFilter { return v.Filters }).(GetSnapshotExportTasksFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetSnapshotExportTasksResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetSnapshotExportTasksResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o GetSnapshotExportTasksResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetSnapshotExportTasksResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// Information about one or more snapshot export tasks. -func (o GetSnapshotExportTasksResultOutput) SnapshotExportTasks() GetSnapshotExportTasksSnapshotExportTaskArrayOutput { - return o.ApplyT(func(v GetSnapshotExportTasksResult) []GetSnapshotExportTasksSnapshotExportTask { - return v.SnapshotExportTasks - }).(GetSnapshotExportTasksSnapshotExportTaskArrayOutput) -} - -func init() { - pulumi.RegisterOutputType(GetSnapshotExportTasksResultOutput{}) -} diff --git a/sdk/go/outscale/getSnapshots.go b/sdk/go/outscale/getSnapshots.go deleted file mode 100644 index 5425ba1..0000000 --- a/sdk/go/outscale/getSnapshots.go +++ /dev/null @@ -1,171 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about snapshots. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Snapshots.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-snapshot). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetSnapshots(ctx, &outscale.GetSnapshotsArgs{ -// Filters: []outscale.GetSnapshotsFilter{ -// { -// Name: "tag_keys", -// Values: []string{ -// "env", -// }, -// }, -// { -// Name: "tag_values", -// Values: []string{ -// "prod", -// "test", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetSnapshots(ctx *pulumi.Context, args *GetSnapshotsArgs, opts ...pulumi.InvokeOption) (*GetSnapshotsResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetSnapshotsResult - err := ctx.Invoke("outscale:index/getSnapshots:getSnapshots", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getSnapshots. -type GetSnapshotsArgs struct { - // The account ID of the owner of the snapshot. - AccountIds []string `pulumi:"accountIds"` - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetSnapshotsFilter `pulumi:"filters"` - PermissionToCreateVolumes []string `pulumi:"permissionToCreateVolumes"` - // The ID of the snapshot. - SnapshotIds []string `pulumi:"snapshotIds"` -} - -// A collection of values returned by getSnapshots. -type GetSnapshotsResult struct { - // The account ID of the owner of the snapshot. - AccountIds []string `pulumi:"accountIds"` - Filters []GetSnapshotsFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - PermissionToCreateVolumes []string `pulumi:"permissionToCreateVolumes"` - RequestId string `pulumi:"requestId"` - // The ID of the snapshot. - SnapshotIds []string `pulumi:"snapshotIds"` - // Information about one or more snapshots and their permissions. - Snapshots []GetSnapshotsSnapshot `pulumi:"snapshots"` -} - -func GetSnapshotsOutput(ctx *pulumi.Context, args GetSnapshotsOutputArgs, opts ...pulumi.InvokeOption) GetSnapshotsResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSnapshotsResult, error) { - args := v.(GetSnapshotsArgs) - r, err := GetSnapshots(ctx, &args, opts...) - var s GetSnapshotsResult - if r != nil { - s = *r - } - return s, err - }).(GetSnapshotsResultOutput) -} - -// A collection of arguments for invoking getSnapshots. -type GetSnapshotsOutputArgs struct { - // The account ID of the owner of the snapshot. - AccountIds pulumi.StringArrayInput `pulumi:"accountIds"` - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetSnapshotsFilterArrayInput `pulumi:"filters"` - PermissionToCreateVolumes pulumi.StringArrayInput `pulumi:"permissionToCreateVolumes"` - // The ID of the snapshot. - SnapshotIds pulumi.StringArrayInput `pulumi:"snapshotIds"` -} - -func (GetSnapshotsOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSnapshotsArgs)(nil)).Elem() -} - -// A collection of values returned by getSnapshots. -type GetSnapshotsResultOutput struct{ *pulumi.OutputState } - -func (GetSnapshotsResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSnapshotsResult)(nil)).Elem() -} - -func (o GetSnapshotsResultOutput) ToGetSnapshotsResultOutput() GetSnapshotsResultOutput { - return o -} - -func (o GetSnapshotsResultOutput) ToGetSnapshotsResultOutputWithContext(ctx context.Context) GetSnapshotsResultOutput { - return o -} - -// The account ID of the owner of the snapshot. -func (o GetSnapshotsResultOutput) AccountIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetSnapshotsResult) []string { return v.AccountIds }).(pulumi.StringArrayOutput) -} - -func (o GetSnapshotsResultOutput) Filters() GetSnapshotsFilterArrayOutput { - return o.ApplyT(func(v GetSnapshotsResult) []GetSnapshotsFilter { return v.Filters }).(GetSnapshotsFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetSnapshotsResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetSnapshotsResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o GetSnapshotsResultOutput) PermissionToCreateVolumes() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetSnapshotsResult) []string { return v.PermissionToCreateVolumes }).(pulumi.StringArrayOutput) -} - -func (o GetSnapshotsResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetSnapshotsResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// The ID of the snapshot. -func (o GetSnapshotsResultOutput) SnapshotIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetSnapshotsResult) []string { return v.SnapshotIds }).(pulumi.StringArrayOutput) -} - -// Information about one or more snapshots and their permissions. -func (o GetSnapshotsResultOutput) Snapshots() GetSnapshotsSnapshotArrayOutput { - return o.ApplyT(func(v GetSnapshotsResult) []GetSnapshotsSnapshot { return v.Snapshots }).(GetSnapshotsSnapshotArrayOutput) -} - -func init() { - pulumi.RegisterOutputType(GetSnapshotsResultOutput{}) -} diff --git a/sdk/go/outscale/getSubnet.go b/sdk/go/outscale/getSubnet.go deleted file mode 100644 index f208677..0000000 --- a/sdk/go/outscale/getSubnet.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about a Subnet. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPCs.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-subnet). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.LookupSubnet(ctx, &outscale.LookupSubnetArgs{ -// Filters: []outscale.GetSubnetFilter{ -// { -// Name: "net_ids", -// Values: []string{ -// "vpc-12345678", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func LookupSubnet(ctx *pulumi.Context, args *LookupSubnetArgs, opts ...pulumi.InvokeOption) (*LookupSubnetResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupSubnetResult - err := ctx.Invoke("outscale:index/getSubnet:getSubnet", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getSubnet. -type LookupSubnetArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetSubnetFilter `pulumi:"filters"` - // The ID of the Subnet. - SubnetId *string `pulumi:"subnetId"` -} - -// A collection of values returned by getSubnet. -type LookupSubnetResult struct { - // The number of available IPs in the Subnets. - AvailableIpsCount int `pulumi:"availableIpsCount"` - Filters []GetSubnetFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // The IP range in the Subnet, in CIDR notation (for example, `10.0.0.0/16`). - IpRange string `pulumi:"ipRange"` - // If true, a public IP is assigned to the network interface cards (NICs) created in the specified Subnet. - MapPublicIpOnLaunch bool `pulumi:"mapPublicIpOnLaunch"` - // The ID of the Net in which the Subnet is. - NetId string `pulumi:"netId"` - RequestId string `pulumi:"requestId"` - // The state of the Subnet (`pending` \| `available` \| `deleted`). - State string `pulumi:"state"` - // The ID of the Subnet. - SubnetId string `pulumi:"subnetId"` - // The name of the Subregion in which the Subnet is located. - SubregionName string `pulumi:"subregionName"` - // One or more tags associated with the Subnet. - Tags []GetSubnetTag `pulumi:"tags"` -} - -func LookupSubnetOutput(ctx *pulumi.Context, args LookupSubnetOutputArgs, opts ...pulumi.InvokeOption) LookupSubnetResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSubnetResult, error) { - args := v.(LookupSubnetArgs) - r, err := LookupSubnet(ctx, &args, opts...) - var s LookupSubnetResult - if r != nil { - s = *r - } - return s, err - }).(LookupSubnetResultOutput) -} - -// A collection of arguments for invoking getSubnet. -type LookupSubnetOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetSubnetFilterArrayInput `pulumi:"filters"` - // The ID of the Subnet. - SubnetId pulumi.StringPtrInput `pulumi:"subnetId"` -} - -func (LookupSubnetOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupSubnetArgs)(nil)).Elem() -} - -// A collection of values returned by getSubnet. -type LookupSubnetResultOutput struct{ *pulumi.OutputState } - -func (LookupSubnetResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupSubnetResult)(nil)).Elem() -} - -func (o LookupSubnetResultOutput) ToLookupSubnetResultOutput() LookupSubnetResultOutput { - return o -} - -func (o LookupSubnetResultOutput) ToLookupSubnetResultOutputWithContext(ctx context.Context) LookupSubnetResultOutput { - return o -} - -// The number of available IPs in the Subnets. -func (o LookupSubnetResultOutput) AvailableIpsCount() pulumi.IntOutput { - return o.ApplyT(func(v LookupSubnetResult) int { return v.AvailableIpsCount }).(pulumi.IntOutput) -} - -func (o LookupSubnetResultOutput) Filters() GetSubnetFilterArrayOutput { - return o.ApplyT(func(v LookupSubnetResult) []GetSubnetFilter { return v.Filters }).(GetSubnetFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o LookupSubnetResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupSubnetResult) string { return v.Id }).(pulumi.StringOutput) -} - -// The IP range in the Subnet, in CIDR notation (for example, `10.0.0.0/16`). -func (o LookupSubnetResultOutput) IpRange() pulumi.StringOutput { - return o.ApplyT(func(v LookupSubnetResult) string { return v.IpRange }).(pulumi.StringOutput) -} - -// If true, a public IP is assigned to the network interface cards (NICs) created in the specified Subnet. -func (o LookupSubnetResultOutput) MapPublicIpOnLaunch() pulumi.BoolOutput { - return o.ApplyT(func(v LookupSubnetResult) bool { return v.MapPublicIpOnLaunch }).(pulumi.BoolOutput) -} - -// The ID of the Net in which the Subnet is. -func (o LookupSubnetResultOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v LookupSubnetResult) string { return v.NetId }).(pulumi.StringOutput) -} - -func (o LookupSubnetResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v LookupSubnetResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// The state of the Subnet (`pending` \| `available` \| `deleted`). -func (o LookupSubnetResultOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v LookupSubnetResult) string { return v.State }).(pulumi.StringOutput) -} - -// The ID of the Subnet. -func (o LookupSubnetResultOutput) SubnetId() pulumi.StringOutput { - return o.ApplyT(func(v LookupSubnetResult) string { return v.SubnetId }).(pulumi.StringOutput) -} - -// The name of the Subregion in which the Subnet is located. -func (o LookupSubnetResultOutput) SubregionName() pulumi.StringOutput { - return o.ApplyT(func(v LookupSubnetResult) string { return v.SubregionName }).(pulumi.StringOutput) -} - -// One or more tags associated with the Subnet. -func (o LookupSubnetResultOutput) Tags() GetSubnetTagArrayOutput { - return o.ApplyT(func(v LookupSubnetResult) []GetSubnetTag { return v.Tags }).(GetSubnetTagArrayOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupSubnetResultOutput{}) -} diff --git a/sdk/go/outscale/getSubnets.go b/sdk/go/outscale/getSubnets.go deleted file mode 100644 index d9019f8..0000000 --- a/sdk/go/outscale/getSubnets.go +++ /dev/null @@ -1,151 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about Subnets. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPCs.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-subnet). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetSubnets(ctx, &outscale.GetSubnetsArgs{ -// Filters: []outscale.GetSubnetsFilter{ -// { -// Name: "states", -// Values: []string{ -// "available", -// }, -// }, -// { -// Name: "subregion_names", -// Values: []string{ -// "eu-west-2a", -// "eu-west-2b", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetSubnets(ctx *pulumi.Context, args *GetSubnetsArgs, opts ...pulumi.InvokeOption) (*GetSubnetsResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetSubnetsResult - err := ctx.Invoke("outscale:index/getSubnets:getSubnets", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getSubnets. -type GetSubnetsArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetSubnetsFilter `pulumi:"filters"` - // The IDs of the Subnets. - SubnetIds []string `pulumi:"subnetIds"` -} - -// A collection of values returned by getSubnets. -type GetSubnetsResult struct { - Filters []GetSubnetsFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - RequestId string `pulumi:"requestId"` - SubnetIds []string `pulumi:"subnetIds"` - // Information about one or more Subnets. - Subnets []GetSubnetsSubnet `pulumi:"subnets"` -} - -func GetSubnetsOutput(ctx *pulumi.Context, args GetSubnetsOutputArgs, opts ...pulumi.InvokeOption) GetSubnetsResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSubnetsResult, error) { - args := v.(GetSubnetsArgs) - r, err := GetSubnets(ctx, &args, opts...) - var s GetSubnetsResult - if r != nil { - s = *r - } - return s, err - }).(GetSubnetsResultOutput) -} - -// A collection of arguments for invoking getSubnets. -type GetSubnetsOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetSubnetsFilterArrayInput `pulumi:"filters"` - // The IDs of the Subnets. - SubnetIds pulumi.StringArrayInput `pulumi:"subnetIds"` -} - -func (GetSubnetsOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSubnetsArgs)(nil)).Elem() -} - -// A collection of values returned by getSubnets. -type GetSubnetsResultOutput struct{ *pulumi.OutputState } - -func (GetSubnetsResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSubnetsResult)(nil)).Elem() -} - -func (o GetSubnetsResultOutput) ToGetSubnetsResultOutput() GetSubnetsResultOutput { - return o -} - -func (o GetSubnetsResultOutput) ToGetSubnetsResultOutputWithContext(ctx context.Context) GetSubnetsResultOutput { - return o -} - -func (o GetSubnetsResultOutput) Filters() GetSubnetsFilterArrayOutput { - return o.ApplyT(func(v GetSubnetsResult) []GetSubnetsFilter { return v.Filters }).(GetSubnetsFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetSubnetsResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetSubnetsResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o GetSubnetsResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetSubnetsResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -func (o GetSubnetsResultOutput) SubnetIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetSubnetsResult) []string { return v.SubnetIds }).(pulumi.StringArrayOutput) -} - -// Information about one or more Subnets. -func (o GetSubnetsResultOutput) Subnets() GetSubnetsSubnetArrayOutput { - return o.ApplyT(func(v GetSubnetsResult) []GetSubnetsSubnet { return v.Subnets }).(GetSubnetsSubnetArrayOutput) -} - -func init() { - pulumi.RegisterOutputType(GetSubnetsResultOutput{}) -} diff --git a/sdk/go/outscale/getSubregions.go b/sdk/go/outscale/getSubregions.go deleted file mode 100644 index 1f3113b..0000000 --- a/sdk/go/outscale/getSubregions.go +++ /dev/null @@ -1,192 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about subregions. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Regions-Endpoints-and-Availability-Zones.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readsubregions). -// -// ## Example Usage -// ### List a specific Subregion in the current Region -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetSubregions(ctx, &outscale.GetSubregionsArgs{ -// Filters: []outscale.GetSubregionsFilter{ -// { -// Name: "subregion_names", -// Values: []string{ -// "eu-west-2a", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### List two specific Subregions in the current Region -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetSubregions(ctx, &outscale.GetSubregionsArgs{ -// Filters: []outscale.GetSubregionsFilter{ -// { -// Name: "subregion_names", -// Values: []string{ -// "eu-west-2a", -// "eu-west-2b", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### List all accessible Subregions in the current Region -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetSubregions(ctx, nil, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetSubregions(ctx *pulumi.Context, args *GetSubregionsArgs, opts ...pulumi.InvokeOption) (*GetSubregionsResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetSubregionsResult - err := ctx.Invoke("outscale:index/getSubregions:getSubregions", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getSubregions. -type GetSubregionsArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetSubregionsFilter `pulumi:"filters"` -} - -// A collection of values returned by getSubregions. -type GetSubregionsResult struct { - Filters []GetSubregionsFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - RequestId string `pulumi:"requestId"` - // Information about one or more Subregions. - Subregions []GetSubregionsSubregion `pulumi:"subregions"` -} - -func GetSubregionsOutput(ctx *pulumi.Context, args GetSubregionsOutputArgs, opts ...pulumi.InvokeOption) GetSubregionsResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSubregionsResult, error) { - args := v.(GetSubregionsArgs) - r, err := GetSubregions(ctx, &args, opts...) - var s GetSubregionsResult - if r != nil { - s = *r - } - return s, err - }).(GetSubregionsResultOutput) -} - -// A collection of arguments for invoking getSubregions. -type GetSubregionsOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetSubregionsFilterArrayInput `pulumi:"filters"` -} - -func (GetSubregionsOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSubregionsArgs)(nil)).Elem() -} - -// A collection of values returned by getSubregions. -type GetSubregionsResultOutput struct{ *pulumi.OutputState } - -func (GetSubregionsResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSubregionsResult)(nil)).Elem() -} - -func (o GetSubregionsResultOutput) ToGetSubregionsResultOutput() GetSubregionsResultOutput { - return o -} - -func (o GetSubregionsResultOutput) ToGetSubregionsResultOutputWithContext(ctx context.Context) GetSubregionsResultOutput { - return o -} - -func (o GetSubregionsResultOutput) Filters() GetSubregionsFilterArrayOutput { - return o.ApplyT(func(v GetSubregionsResult) []GetSubregionsFilter { return v.Filters }).(GetSubregionsFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetSubregionsResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetSubregionsResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o GetSubregionsResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetSubregionsResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// Information about one or more Subregions. -func (o GetSubregionsResultOutput) Subregions() GetSubregionsSubregionArrayOutput { - return o.ApplyT(func(v GetSubregionsResult) []GetSubregionsSubregion { return v.Subregions }).(GetSubregionsSubregionArrayOutput) -} - -func init() { - pulumi.RegisterOutputType(GetSubregionsResultOutput{}) -} diff --git a/sdk/go/outscale/getTag.go b/sdk/go/outscale/getTag.go deleted file mode 100644 index 9f066d6..0000000 --- a/sdk/go/outscale/getTag.go +++ /dev/null @@ -1,104 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -func LookupTag(ctx *pulumi.Context, args *LookupTagArgs, opts ...pulumi.InvokeOption) (*LookupTagResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupTagResult - err := ctx.Invoke("outscale:index/getTag:getTag", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getTag. -type LookupTagArgs struct { - Filters []GetTagFilter `pulumi:"filters"` -} - -// A collection of values returned by getTag. -type LookupTagResult struct { - Filters []GetTagFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - Key string `pulumi:"key"` - ResourceId string `pulumi:"resourceId"` - ResourceType string `pulumi:"resourceType"` - Value string `pulumi:"value"` -} - -func LookupTagOutput(ctx *pulumi.Context, args LookupTagOutputArgs, opts ...pulumi.InvokeOption) LookupTagResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupTagResult, error) { - args := v.(LookupTagArgs) - r, err := LookupTag(ctx, &args, opts...) - var s LookupTagResult - if r != nil { - s = *r - } - return s, err - }).(LookupTagResultOutput) -} - -// A collection of arguments for invoking getTag. -type LookupTagOutputArgs struct { - Filters GetTagFilterArrayInput `pulumi:"filters"` -} - -func (LookupTagOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupTagArgs)(nil)).Elem() -} - -// A collection of values returned by getTag. -type LookupTagResultOutput struct{ *pulumi.OutputState } - -func (LookupTagResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupTagResult)(nil)).Elem() -} - -func (o LookupTagResultOutput) ToLookupTagResultOutput() LookupTagResultOutput { - return o -} - -func (o LookupTagResultOutput) ToLookupTagResultOutputWithContext(ctx context.Context) LookupTagResultOutput { - return o -} - -func (o LookupTagResultOutput) Filters() GetTagFilterArrayOutput { - return o.ApplyT(func(v LookupTagResult) []GetTagFilter { return v.Filters }).(GetTagFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o LookupTagResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupTagResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o LookupTagResultOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v LookupTagResult) string { return v.Key }).(pulumi.StringOutput) -} - -func (o LookupTagResultOutput) ResourceId() pulumi.StringOutput { - return o.ApplyT(func(v LookupTagResult) string { return v.ResourceId }).(pulumi.StringOutput) -} - -func (o LookupTagResultOutput) ResourceType() pulumi.StringOutput { - return o.ApplyT(func(v LookupTagResult) string { return v.ResourceType }).(pulumi.StringOutput) -} - -func (o LookupTagResultOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v LookupTagResult) string { return v.Value }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupTagResultOutput{}) -} diff --git a/sdk/go/outscale/getVirtualGateway.go b/sdk/go/outscale/getVirtualGateway.go deleted file mode 100644 index b6d0237..0000000 --- a/sdk/go/outscale/getVirtualGateway.go +++ /dev/null @@ -1,177 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about a virtual gateway. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Virtual-Private-Gateways.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-virtualgateway). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.LookupVirtualGateway(ctx, &outscale.LookupVirtualGatewayArgs{ -// Filters: []outscale.GetVirtualGatewayFilter{ -// { -// Name: "virtual_gateway_ids", -// Values: []string{ -// "vgw-12345678", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func LookupVirtualGateway(ctx *pulumi.Context, args *LookupVirtualGatewayArgs, opts ...pulumi.InvokeOption) (*LookupVirtualGatewayResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupVirtualGatewayResult - err := ctx.Invoke("outscale:index/getVirtualGateway:getVirtualGateway", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getVirtualGateway. -type LookupVirtualGatewayArgs struct { - // The type of VPN connection supported by the virtual gateway (only `ipsec.1` is supported). - ConnectionType *string `pulumi:"connectionType"` - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetVirtualGatewayFilter `pulumi:"filters"` - // The state of the virtual gateway (`pending` \| `available` \| `deleting` \| `deleted`). - State *string `pulumi:"state"` - // The ID of the virtual gateway. - VirtualGatewayId *string `pulumi:"virtualGatewayId"` -} - -// A collection of values returned by getVirtualGateway. -type LookupVirtualGatewayResult struct { - // The type of VPN connection supported by the virtual gateway (only `ipsec.1` is supported). - ConnectionType string `pulumi:"connectionType"` - Filters []GetVirtualGatewayFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // The Net to which the virtual gateway is attached. - NetToVirtualGatewayLinks []GetVirtualGatewayNetToVirtualGatewayLink `pulumi:"netToVirtualGatewayLinks"` - RequestId string `pulumi:"requestId"` - // The state of the virtual gateway (`pending` \| `available` \| `deleting` \| `deleted`). - State string `pulumi:"state"` - // One or more tags associated with the virtual gateway. - Tags []GetVirtualGatewayTag `pulumi:"tags"` - // The ID of the virtual gateway. - VirtualGatewayId string `pulumi:"virtualGatewayId"` -} - -func LookupVirtualGatewayOutput(ctx *pulumi.Context, args LookupVirtualGatewayOutputArgs, opts ...pulumi.InvokeOption) LookupVirtualGatewayResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupVirtualGatewayResult, error) { - args := v.(LookupVirtualGatewayArgs) - r, err := LookupVirtualGateway(ctx, &args, opts...) - var s LookupVirtualGatewayResult - if r != nil { - s = *r - } - return s, err - }).(LookupVirtualGatewayResultOutput) -} - -// A collection of arguments for invoking getVirtualGateway. -type LookupVirtualGatewayOutputArgs struct { - // The type of VPN connection supported by the virtual gateway (only `ipsec.1` is supported). - ConnectionType pulumi.StringPtrInput `pulumi:"connectionType"` - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetVirtualGatewayFilterArrayInput `pulumi:"filters"` - // The state of the virtual gateway (`pending` \| `available` \| `deleting` \| `deleted`). - State pulumi.StringPtrInput `pulumi:"state"` - // The ID of the virtual gateway. - VirtualGatewayId pulumi.StringPtrInput `pulumi:"virtualGatewayId"` -} - -func (LookupVirtualGatewayOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupVirtualGatewayArgs)(nil)).Elem() -} - -// A collection of values returned by getVirtualGateway. -type LookupVirtualGatewayResultOutput struct{ *pulumi.OutputState } - -func (LookupVirtualGatewayResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupVirtualGatewayResult)(nil)).Elem() -} - -func (o LookupVirtualGatewayResultOutput) ToLookupVirtualGatewayResultOutput() LookupVirtualGatewayResultOutput { - return o -} - -func (o LookupVirtualGatewayResultOutput) ToLookupVirtualGatewayResultOutputWithContext(ctx context.Context) LookupVirtualGatewayResultOutput { - return o -} - -// The type of VPN connection supported by the virtual gateway (only `ipsec.1` is supported). -func (o LookupVirtualGatewayResultOutput) ConnectionType() pulumi.StringOutput { - return o.ApplyT(func(v LookupVirtualGatewayResult) string { return v.ConnectionType }).(pulumi.StringOutput) -} - -func (o LookupVirtualGatewayResultOutput) Filters() GetVirtualGatewayFilterArrayOutput { - return o.ApplyT(func(v LookupVirtualGatewayResult) []GetVirtualGatewayFilter { return v.Filters }).(GetVirtualGatewayFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o LookupVirtualGatewayResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupVirtualGatewayResult) string { return v.Id }).(pulumi.StringOutput) -} - -// The Net to which the virtual gateway is attached. -func (o LookupVirtualGatewayResultOutput) NetToVirtualGatewayLinks() GetVirtualGatewayNetToVirtualGatewayLinkArrayOutput { - return o.ApplyT(func(v LookupVirtualGatewayResult) []GetVirtualGatewayNetToVirtualGatewayLink { - return v.NetToVirtualGatewayLinks - }).(GetVirtualGatewayNetToVirtualGatewayLinkArrayOutput) -} - -func (o LookupVirtualGatewayResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v LookupVirtualGatewayResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// The state of the virtual gateway (`pending` \| `available` \| `deleting` \| `deleted`). -func (o LookupVirtualGatewayResultOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v LookupVirtualGatewayResult) string { return v.State }).(pulumi.StringOutput) -} - -// One or more tags associated with the virtual gateway. -func (o LookupVirtualGatewayResultOutput) Tags() GetVirtualGatewayTagArrayOutput { - return o.ApplyT(func(v LookupVirtualGatewayResult) []GetVirtualGatewayTag { return v.Tags }).(GetVirtualGatewayTagArrayOutput) -} - -// The ID of the virtual gateway. -func (o LookupVirtualGatewayResultOutput) VirtualGatewayId() pulumi.StringOutput { - return o.ApplyT(func(v LookupVirtualGatewayResult) string { return v.VirtualGatewayId }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupVirtualGatewayResultOutput{}) -} diff --git a/sdk/go/outscale/getVirtualGateways.go b/sdk/go/outscale/getVirtualGateways.go deleted file mode 100644 index 09c4204..0000000 --- a/sdk/go/outscale/getVirtualGateways.go +++ /dev/null @@ -1,153 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about virtual gateways. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Virtual-Private-Gateways.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-virtualgateway). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetVirtualGateways(ctx, &outscale.GetVirtualGatewaysArgs{ -// Filters: []outscale.GetVirtualGatewaysFilter{ -// { -// Name: "states", -// Values: []string{ -// "available", -// }, -// }, -// { -// Name: "link_states", -// Values: []string{ -// "attached", -// "detached", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetVirtualGateways(ctx *pulumi.Context, args *GetVirtualGatewaysArgs, opts ...pulumi.InvokeOption) (*GetVirtualGatewaysResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetVirtualGatewaysResult - err := ctx.Invoke("outscale:index/getVirtualGateways:getVirtualGateways", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getVirtualGateways. -type GetVirtualGatewaysArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetVirtualGatewaysFilter `pulumi:"filters"` - // The ID of the virtual gateway. - VirtualGatewayIds []string `pulumi:"virtualGatewayIds"` -} - -// A collection of values returned by getVirtualGateways. -type GetVirtualGatewaysResult struct { - Filters []GetVirtualGatewaysFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - RequestId string `pulumi:"requestId"` - // The ID of the virtual gateway. - VirtualGatewayIds []string `pulumi:"virtualGatewayIds"` - // Information about one or more virtual gateways. - VirtualGateways []GetVirtualGatewaysVirtualGateway `pulumi:"virtualGateways"` -} - -func GetVirtualGatewaysOutput(ctx *pulumi.Context, args GetVirtualGatewaysOutputArgs, opts ...pulumi.InvokeOption) GetVirtualGatewaysResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetVirtualGatewaysResult, error) { - args := v.(GetVirtualGatewaysArgs) - r, err := GetVirtualGateways(ctx, &args, opts...) - var s GetVirtualGatewaysResult - if r != nil { - s = *r - } - return s, err - }).(GetVirtualGatewaysResultOutput) -} - -// A collection of arguments for invoking getVirtualGateways. -type GetVirtualGatewaysOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetVirtualGatewaysFilterArrayInput `pulumi:"filters"` - // The ID of the virtual gateway. - VirtualGatewayIds pulumi.StringArrayInput `pulumi:"virtualGatewayIds"` -} - -func (GetVirtualGatewaysOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVirtualGatewaysArgs)(nil)).Elem() -} - -// A collection of values returned by getVirtualGateways. -type GetVirtualGatewaysResultOutput struct{ *pulumi.OutputState } - -func (GetVirtualGatewaysResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVirtualGatewaysResult)(nil)).Elem() -} - -func (o GetVirtualGatewaysResultOutput) ToGetVirtualGatewaysResultOutput() GetVirtualGatewaysResultOutput { - return o -} - -func (o GetVirtualGatewaysResultOutput) ToGetVirtualGatewaysResultOutputWithContext(ctx context.Context) GetVirtualGatewaysResultOutput { - return o -} - -func (o GetVirtualGatewaysResultOutput) Filters() GetVirtualGatewaysFilterArrayOutput { - return o.ApplyT(func(v GetVirtualGatewaysResult) []GetVirtualGatewaysFilter { return v.Filters }).(GetVirtualGatewaysFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetVirtualGatewaysResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetVirtualGatewaysResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o GetVirtualGatewaysResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetVirtualGatewaysResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// The ID of the virtual gateway. -func (o GetVirtualGatewaysResultOutput) VirtualGatewayIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetVirtualGatewaysResult) []string { return v.VirtualGatewayIds }).(pulumi.StringArrayOutput) -} - -// Information about one or more virtual gateways. -func (o GetVirtualGatewaysResultOutput) VirtualGateways() GetVirtualGatewaysVirtualGatewayArrayOutput { - return o.ApplyT(func(v GetVirtualGatewaysResult) []GetVirtualGatewaysVirtualGateway { return v.VirtualGateways }).(GetVirtualGatewaysVirtualGatewayArrayOutput) -} - -func init() { - pulumi.RegisterOutputType(GetVirtualGatewaysResultOutput{}) -} diff --git a/sdk/go/outscale/getVm.go b/sdk/go/outscale/getVm.go deleted file mode 100644 index 865db51..0000000 --- a/sdk/go/outscale/getVm.go +++ /dev/null @@ -1,389 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about a virtual machine (VM). -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Instances.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-vm). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.LookupVm(ctx, &outscale.LookupVmArgs{ -// Filters: []outscale.GetVmFilter{ -// { -// Name: "vm_ids", -// Values: []string{ -// "i-12345678", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func LookupVm(ctx *pulumi.Context, args *LookupVmArgs, opts ...pulumi.InvokeOption) (*LookupVmResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupVmResult - err := ctx.Invoke("outscale:index/getVm:getVm", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getVm. -type LookupVmArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetVmFilter `pulumi:"filters"` -} - -// A collection of values returned by getVm. -type LookupVmResult struct { - // The architecture of the VM (`i386` \| `x8664`). - Architecture string `pulumi:"architecture"` - // The block device mapping of the VM. - BlockDeviceMappingsCreateds []GetVmBlockDeviceMappingsCreated `pulumi:"blockDeviceMappingsCreateds"` - BsuOptimized bool `pulumi:"bsuOptimized"` - // The idempotency token provided when launching the VM. - ClientToken string `pulumi:"clientToken"` - // The date and time of creation of the VM. - CreationDate string `pulumi:"creationDate"` - // If true, you cannot delete the VM unless you change this parameter back to false. - DeletionProtection bool `pulumi:"deletionProtection"` - Filters []GetVmFilter `pulumi:"filters"` - // The hypervisor type of the VMs (`ovm` \| `xen`). - Hypervisor string `pulumi:"hypervisor"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // The ID of the OMI used to create the VM. - ImageId string `pulumi:"imageId"` - // (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - IsSourceDestChecked bool `pulumi:"isSourceDestChecked"` - // The name of the keypair used when launching the VM. - KeypairName string `pulumi:"keypairName"` - // The number for the VM when launching a group of several VMs (for example, `0`, `1`, `2`, and so on). - LaunchNumber int `pulumi:"launchNumber"` - // If true, nested virtualization is enabled. If false, it is disabled. - NestedVirtualization bool `pulumi:"nestedVirtualization"` - // The ID of the Net for the NIC. - NetId string `pulumi:"netId"` - // (Net only) The network interface cards (NICs) the VMs are attached to. - Nics []GetVmNic `pulumi:"nics"` - // Indicates the operating system (OS) of the VM. - OsFamily string `pulumi:"osFamily"` - // The performance of the VM (`medium` \| `high` \| `highest`). - Performance string `pulumi:"performance"` - PlacementSubregionName string `pulumi:"placementSubregionName"` - PlacementTenancy string `pulumi:"placementTenancy"` - PrimaryNics []GetVmPrimaryNic `pulumi:"primaryNics"` - // The name of the private DNS. - PrivateDnsName string `pulumi:"privateDnsName"` - // The primary private IP of the VM. - PrivateIp string `pulumi:"privateIp"` - // The private IP or IPs of the NIC. - PrivateIps []string `pulumi:"privateIps"` - // The product codes associated with the OMI used to create the VM. - ProductCodes []string `pulumi:"productCodes"` - // The name of the public DNS. - PublicDnsName string `pulumi:"publicDnsName"` - // The public IP of the VM. - PublicIp string `pulumi:"publicIp"` - RequestId string `pulumi:"requestId"` - // The reservation ID of the VM. - ReservationId string `pulumi:"reservationId"` - // The name of the root device for the VM (for example, `/dev/vda1`). - RootDeviceName string `pulumi:"rootDeviceName"` - // The type of root device used by the VM (always `bsu`). - RootDeviceType string `pulumi:"rootDeviceType"` - SecurityGroupIds []string `pulumi:"securityGroupIds"` - SecurityGroupNames []string `pulumi:"securityGroupNames"` - // One or more security groups associated with the VM. - SecurityGroups []GetVmSecurityGroup `pulumi:"securityGroups"` - // The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - State string `pulumi:"state"` - // The reason explaining the current state of the VM. - StateReason string `pulumi:"stateReason"` - // The ID of the Subnet for the VM. - SubnetId string `pulumi:"subnetId"` - // One or more tags associated with the VM. - Tags []GetVmTag `pulumi:"tags"` - // The Base64-encoded MIME user data. - UserData string `pulumi:"userData"` - // The ID of the VM. - VmId string `pulumi:"vmId"` - // The VM behavior when you stop it. If set to `stop`, the VM stops. If set to `restart`, the VM stops then automatically restarts. If set to `terminate`, the VM stops and is deleted. - VmInitiatedShutdownBehavior string `pulumi:"vmInitiatedShutdownBehavior"` - // The type of VM. For more information, see [Instance Types](https://docs.outscale.com/en/userguide/Instance-Types.html). - VmType string `pulumi:"vmType"` -} - -func LookupVmOutput(ctx *pulumi.Context, args LookupVmOutputArgs, opts ...pulumi.InvokeOption) LookupVmResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupVmResult, error) { - args := v.(LookupVmArgs) - r, err := LookupVm(ctx, &args, opts...) - var s LookupVmResult - if r != nil { - s = *r - } - return s, err - }).(LookupVmResultOutput) -} - -// A collection of arguments for invoking getVm. -type LookupVmOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetVmFilterArrayInput `pulumi:"filters"` -} - -func (LookupVmOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupVmArgs)(nil)).Elem() -} - -// A collection of values returned by getVm. -type LookupVmResultOutput struct{ *pulumi.OutputState } - -func (LookupVmResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupVmResult)(nil)).Elem() -} - -func (o LookupVmResultOutput) ToLookupVmResultOutput() LookupVmResultOutput { - return o -} - -func (o LookupVmResultOutput) ToLookupVmResultOutputWithContext(ctx context.Context) LookupVmResultOutput { - return o -} - -// The architecture of the VM (`i386` \| `x8664`). -func (o LookupVmResultOutput) Architecture() pulumi.StringOutput { - return o.ApplyT(func(v LookupVmResult) string { return v.Architecture }).(pulumi.StringOutput) -} - -// The block device mapping of the VM. -func (o LookupVmResultOutput) BlockDeviceMappingsCreateds() GetVmBlockDeviceMappingsCreatedArrayOutput { - return o.ApplyT(func(v LookupVmResult) []GetVmBlockDeviceMappingsCreated { return v.BlockDeviceMappingsCreateds }).(GetVmBlockDeviceMappingsCreatedArrayOutput) -} - -func (o LookupVmResultOutput) BsuOptimized() pulumi.BoolOutput { - return o.ApplyT(func(v LookupVmResult) bool { return v.BsuOptimized }).(pulumi.BoolOutput) -} - -// The idempotency token provided when launching the VM. -func (o LookupVmResultOutput) ClientToken() pulumi.StringOutput { - return o.ApplyT(func(v LookupVmResult) string { return v.ClientToken }).(pulumi.StringOutput) -} - -// The date and time of creation of the VM. -func (o LookupVmResultOutput) CreationDate() pulumi.StringOutput { - return o.ApplyT(func(v LookupVmResult) string { return v.CreationDate }).(pulumi.StringOutput) -} - -// If true, you cannot delete the VM unless you change this parameter back to false. -func (o LookupVmResultOutput) DeletionProtection() pulumi.BoolOutput { - return o.ApplyT(func(v LookupVmResult) bool { return v.DeletionProtection }).(pulumi.BoolOutput) -} - -func (o LookupVmResultOutput) Filters() GetVmFilterArrayOutput { - return o.ApplyT(func(v LookupVmResult) []GetVmFilter { return v.Filters }).(GetVmFilterArrayOutput) -} - -// The hypervisor type of the VMs (`ovm` \| `xen`). -func (o LookupVmResultOutput) Hypervisor() pulumi.StringOutput { - return o.ApplyT(func(v LookupVmResult) string { return v.Hypervisor }).(pulumi.StringOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o LookupVmResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupVmResult) string { return v.Id }).(pulumi.StringOutput) -} - -// The ID of the OMI used to create the VM. -func (o LookupVmResultOutput) ImageId() pulumi.StringOutput { - return o.ApplyT(func(v LookupVmResult) string { return v.ImageId }).(pulumi.StringOutput) -} - -// (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. -func (o LookupVmResultOutput) IsSourceDestChecked() pulumi.BoolOutput { - return o.ApplyT(func(v LookupVmResult) bool { return v.IsSourceDestChecked }).(pulumi.BoolOutput) -} - -// The name of the keypair used when launching the VM. -func (o LookupVmResultOutput) KeypairName() pulumi.StringOutput { - return o.ApplyT(func(v LookupVmResult) string { return v.KeypairName }).(pulumi.StringOutput) -} - -// The number for the VM when launching a group of several VMs (for example, `0`, `1`, `2`, and so on). -func (o LookupVmResultOutput) LaunchNumber() pulumi.IntOutput { - return o.ApplyT(func(v LookupVmResult) int { return v.LaunchNumber }).(pulumi.IntOutput) -} - -// If true, nested virtualization is enabled. If false, it is disabled. -func (o LookupVmResultOutput) NestedVirtualization() pulumi.BoolOutput { - return o.ApplyT(func(v LookupVmResult) bool { return v.NestedVirtualization }).(pulumi.BoolOutput) -} - -// The ID of the Net for the NIC. -func (o LookupVmResultOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v LookupVmResult) string { return v.NetId }).(pulumi.StringOutput) -} - -// (Net only) The network interface cards (NICs) the VMs are attached to. -func (o LookupVmResultOutput) Nics() GetVmNicArrayOutput { - return o.ApplyT(func(v LookupVmResult) []GetVmNic { return v.Nics }).(GetVmNicArrayOutput) -} - -// Indicates the operating system (OS) of the VM. -func (o LookupVmResultOutput) OsFamily() pulumi.StringOutput { - return o.ApplyT(func(v LookupVmResult) string { return v.OsFamily }).(pulumi.StringOutput) -} - -// The performance of the VM (`medium` \| `high` \| `highest`). -func (o LookupVmResultOutput) Performance() pulumi.StringOutput { - return o.ApplyT(func(v LookupVmResult) string { return v.Performance }).(pulumi.StringOutput) -} - -func (o LookupVmResultOutput) PlacementSubregionName() pulumi.StringOutput { - return o.ApplyT(func(v LookupVmResult) string { return v.PlacementSubregionName }).(pulumi.StringOutput) -} - -func (o LookupVmResultOutput) PlacementTenancy() pulumi.StringOutput { - return o.ApplyT(func(v LookupVmResult) string { return v.PlacementTenancy }).(pulumi.StringOutput) -} - -func (o LookupVmResultOutput) PrimaryNics() GetVmPrimaryNicArrayOutput { - return o.ApplyT(func(v LookupVmResult) []GetVmPrimaryNic { return v.PrimaryNics }).(GetVmPrimaryNicArrayOutput) -} - -// The name of the private DNS. -func (o LookupVmResultOutput) PrivateDnsName() pulumi.StringOutput { - return o.ApplyT(func(v LookupVmResult) string { return v.PrivateDnsName }).(pulumi.StringOutput) -} - -// The primary private IP of the VM. -func (o LookupVmResultOutput) PrivateIp() pulumi.StringOutput { - return o.ApplyT(func(v LookupVmResult) string { return v.PrivateIp }).(pulumi.StringOutput) -} - -// The private IP or IPs of the NIC. -func (o LookupVmResultOutput) PrivateIps() pulumi.StringArrayOutput { - return o.ApplyT(func(v LookupVmResult) []string { return v.PrivateIps }).(pulumi.StringArrayOutput) -} - -// The product codes associated with the OMI used to create the VM. -func (o LookupVmResultOutput) ProductCodes() pulumi.StringArrayOutput { - return o.ApplyT(func(v LookupVmResult) []string { return v.ProductCodes }).(pulumi.StringArrayOutput) -} - -// The name of the public DNS. -func (o LookupVmResultOutput) PublicDnsName() pulumi.StringOutput { - return o.ApplyT(func(v LookupVmResult) string { return v.PublicDnsName }).(pulumi.StringOutput) -} - -// The public IP of the VM. -func (o LookupVmResultOutput) PublicIp() pulumi.StringOutput { - return o.ApplyT(func(v LookupVmResult) string { return v.PublicIp }).(pulumi.StringOutput) -} - -func (o LookupVmResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v LookupVmResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// The reservation ID of the VM. -func (o LookupVmResultOutput) ReservationId() pulumi.StringOutput { - return o.ApplyT(func(v LookupVmResult) string { return v.ReservationId }).(pulumi.StringOutput) -} - -// The name of the root device for the VM (for example, `/dev/vda1`). -func (o LookupVmResultOutput) RootDeviceName() pulumi.StringOutput { - return o.ApplyT(func(v LookupVmResult) string { return v.RootDeviceName }).(pulumi.StringOutput) -} - -// The type of root device used by the VM (always `bsu`). -func (o LookupVmResultOutput) RootDeviceType() pulumi.StringOutput { - return o.ApplyT(func(v LookupVmResult) string { return v.RootDeviceType }).(pulumi.StringOutput) -} - -func (o LookupVmResultOutput) SecurityGroupIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v LookupVmResult) []string { return v.SecurityGroupIds }).(pulumi.StringArrayOutput) -} - -func (o LookupVmResultOutput) SecurityGroupNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v LookupVmResult) []string { return v.SecurityGroupNames }).(pulumi.StringArrayOutput) -} - -// One or more security groups associated with the VM. -func (o LookupVmResultOutput) SecurityGroups() GetVmSecurityGroupArrayOutput { - return o.ApplyT(func(v LookupVmResult) []GetVmSecurityGroup { return v.SecurityGroups }).(GetVmSecurityGroupArrayOutput) -} - -// The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). -func (o LookupVmResultOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v LookupVmResult) string { return v.State }).(pulumi.StringOutput) -} - -// The reason explaining the current state of the VM. -func (o LookupVmResultOutput) StateReason() pulumi.StringOutput { - return o.ApplyT(func(v LookupVmResult) string { return v.StateReason }).(pulumi.StringOutput) -} - -// The ID of the Subnet for the VM. -func (o LookupVmResultOutput) SubnetId() pulumi.StringOutput { - return o.ApplyT(func(v LookupVmResult) string { return v.SubnetId }).(pulumi.StringOutput) -} - -// One or more tags associated with the VM. -func (o LookupVmResultOutput) Tags() GetVmTagArrayOutput { - return o.ApplyT(func(v LookupVmResult) []GetVmTag { return v.Tags }).(GetVmTagArrayOutput) -} - -// The Base64-encoded MIME user data. -func (o LookupVmResultOutput) UserData() pulumi.StringOutput { - return o.ApplyT(func(v LookupVmResult) string { return v.UserData }).(pulumi.StringOutput) -} - -// The ID of the VM. -func (o LookupVmResultOutput) VmId() pulumi.StringOutput { - return o.ApplyT(func(v LookupVmResult) string { return v.VmId }).(pulumi.StringOutput) -} - -// The VM behavior when you stop it. If set to `stop`, the VM stops. If set to `restart`, the VM stops then automatically restarts. If set to `terminate`, the VM stops and is deleted. -func (o LookupVmResultOutput) VmInitiatedShutdownBehavior() pulumi.StringOutput { - return o.ApplyT(func(v LookupVmResult) string { return v.VmInitiatedShutdownBehavior }).(pulumi.StringOutput) -} - -// The type of VM. For more information, see [Instance Types](https://docs.outscale.com/en/userguide/Instance-Types.html). -func (o LookupVmResultOutput) VmType() pulumi.StringOutput { - return o.ApplyT(func(v LookupVmResult) string { return v.VmType }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupVmResultOutput{}) -} diff --git a/sdk/go/outscale/getVmState.go b/sdk/go/outscale/getVmState.go deleted file mode 100644 index c57866f..0000000 --- a/sdk/go/outscale/getVmState.go +++ /dev/null @@ -1,170 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about a VM state. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Instance-Lifecycle.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readvmsstate). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetVmState(ctx, &outscale.GetVmStateArgs{ -// AllVms: pulumi.BoolRef(true), -// Filters: []outscale.GetVmStateFilter{ -// { -// Name: "vm_ids", -// Values: []string{ -// "i-12345678", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetVmState(ctx *pulumi.Context, args *GetVmStateArgs, opts ...pulumi.InvokeOption) (*GetVmStateResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetVmStateResult - err := ctx.Invoke("outscale:index/getVmState:getVmState", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getVmState. -type GetVmStateArgs struct { - // If true, includes the status of all VMs. By default or if set to false, only includes the status of running VMs. - AllVms *bool `pulumi:"allVms"` - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetVmStateFilter `pulumi:"filters"` - // The ID of the VM. - VmId *string `pulumi:"vmId"` -} - -// A collection of values returned by getVmState. -type GetVmStateResult struct { - AllVms *bool `pulumi:"allVms"` - Filters []GetVmStateFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // One or more scheduled events associated with the VM. - MaintenanceEvents []GetVmStateMaintenanceEvent `pulumi:"maintenanceEvents"` - RequestId string `pulumi:"requestId"` - // The name of the Subregion of the VM. - SubregionName string `pulumi:"subregionName"` - // The ID of the VM. - VmId *string `pulumi:"vmId"` - // The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - VmState string `pulumi:"vmState"` -} - -func GetVmStateOutput(ctx *pulumi.Context, args GetVmStateOutputArgs, opts ...pulumi.InvokeOption) GetVmStateResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetVmStateResult, error) { - args := v.(GetVmStateArgs) - r, err := GetVmState(ctx, &args, opts...) - var s GetVmStateResult - if r != nil { - s = *r - } - return s, err - }).(GetVmStateResultOutput) -} - -// A collection of arguments for invoking getVmState. -type GetVmStateOutputArgs struct { - // If true, includes the status of all VMs. By default or if set to false, only includes the status of running VMs. - AllVms pulumi.BoolPtrInput `pulumi:"allVms"` - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetVmStateFilterArrayInput `pulumi:"filters"` - // The ID of the VM. - VmId pulumi.StringPtrInput `pulumi:"vmId"` -} - -func (GetVmStateOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmStateArgs)(nil)).Elem() -} - -// A collection of values returned by getVmState. -type GetVmStateResultOutput struct{ *pulumi.OutputState } - -func (GetVmStateResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmStateResult)(nil)).Elem() -} - -func (o GetVmStateResultOutput) ToGetVmStateResultOutput() GetVmStateResultOutput { - return o -} - -func (o GetVmStateResultOutput) ToGetVmStateResultOutputWithContext(ctx context.Context) GetVmStateResultOutput { - return o -} - -func (o GetVmStateResultOutput) AllVms() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetVmStateResult) *bool { return v.AllVms }).(pulumi.BoolPtrOutput) -} - -func (o GetVmStateResultOutput) Filters() GetVmStateFilterArrayOutput { - return o.ApplyT(func(v GetVmStateResult) []GetVmStateFilter { return v.Filters }).(GetVmStateFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetVmStateResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetVmStateResult) string { return v.Id }).(pulumi.StringOutput) -} - -// One or more scheduled events associated with the VM. -func (o GetVmStateResultOutput) MaintenanceEvents() GetVmStateMaintenanceEventArrayOutput { - return o.ApplyT(func(v GetVmStateResult) []GetVmStateMaintenanceEvent { return v.MaintenanceEvents }).(GetVmStateMaintenanceEventArrayOutput) -} - -func (o GetVmStateResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmStateResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// The name of the Subregion of the VM. -func (o GetVmStateResultOutput) SubregionName() pulumi.StringOutput { - return o.ApplyT(func(v GetVmStateResult) string { return v.SubregionName }).(pulumi.StringOutput) -} - -// The ID of the VM. -func (o GetVmStateResultOutput) VmId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetVmStateResult) *string { return v.VmId }).(pulumi.StringPtrOutput) -} - -// The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). -func (o GetVmStateResultOutput) VmState() pulumi.StringOutput { - return o.ApplyT(func(v GetVmStateResult) string { return v.VmState }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(GetVmStateResultOutput{}) -} diff --git a/sdk/go/outscale/getVmStates.go b/sdk/go/outscale/getVmStates.go deleted file mode 100644 index 40ddea6..0000000 --- a/sdk/go/outscale/getVmStates.go +++ /dev/null @@ -1,160 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about VM states. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Instance-Lifecycle.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readvmsstate). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetVmStates(ctx, &outscale.GetVmStatesArgs{ -// Filters: []outscale.GetVmStatesFilter{ -// { -// Name: "vm_ids", -// Values: []string{ -// "i-12345678", -// "i-87654321", -// }, -// }, -// { -// Name: "vm_states", -// Values: []string{ -// "running", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetVmStates(ctx *pulumi.Context, args *GetVmStatesArgs, opts ...pulumi.InvokeOption) (*GetVmStatesResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetVmStatesResult - err := ctx.Invoke("outscale:index/getVmStates:getVmStates", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getVmStates. -type GetVmStatesArgs struct { - // If true, includes the status of all VMs. By default or if set to false, only includes the status of running VMs. - AllVms *bool `pulumi:"allVms"` - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetVmStatesFilter `pulumi:"filters"` - // One or more IDs of VMs. - VmIds []string `pulumi:"vmIds"` -} - -// A collection of values returned by getVmStates. -type GetVmStatesResult struct { - AllVms *bool `pulumi:"allVms"` - Filters []GetVmStatesFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - RequestId string `pulumi:"requestId"` - VmIds []string `pulumi:"vmIds"` - // Information about one or more VM states. - VmStates []GetVmStatesVmState `pulumi:"vmStates"` -} - -func GetVmStatesOutput(ctx *pulumi.Context, args GetVmStatesOutputArgs, opts ...pulumi.InvokeOption) GetVmStatesResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetVmStatesResult, error) { - args := v.(GetVmStatesArgs) - r, err := GetVmStates(ctx, &args, opts...) - var s GetVmStatesResult - if r != nil { - s = *r - } - return s, err - }).(GetVmStatesResultOutput) -} - -// A collection of arguments for invoking getVmStates. -type GetVmStatesOutputArgs struct { - // If true, includes the status of all VMs. By default or if set to false, only includes the status of running VMs. - AllVms pulumi.BoolPtrInput `pulumi:"allVms"` - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetVmStatesFilterArrayInput `pulumi:"filters"` - // One or more IDs of VMs. - VmIds pulumi.StringArrayInput `pulumi:"vmIds"` -} - -func (GetVmStatesOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmStatesArgs)(nil)).Elem() -} - -// A collection of values returned by getVmStates. -type GetVmStatesResultOutput struct{ *pulumi.OutputState } - -func (GetVmStatesResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmStatesResult)(nil)).Elem() -} - -func (o GetVmStatesResultOutput) ToGetVmStatesResultOutput() GetVmStatesResultOutput { - return o -} - -func (o GetVmStatesResultOutput) ToGetVmStatesResultOutputWithContext(ctx context.Context) GetVmStatesResultOutput { - return o -} - -func (o GetVmStatesResultOutput) AllVms() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetVmStatesResult) *bool { return v.AllVms }).(pulumi.BoolPtrOutput) -} - -func (o GetVmStatesResultOutput) Filters() GetVmStatesFilterArrayOutput { - return o.ApplyT(func(v GetVmStatesResult) []GetVmStatesFilter { return v.Filters }).(GetVmStatesFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetVmStatesResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetVmStatesResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o GetVmStatesResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmStatesResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -func (o GetVmStatesResultOutput) VmIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetVmStatesResult) []string { return v.VmIds }).(pulumi.StringArrayOutput) -} - -// Information about one or more VM states. -func (o GetVmStatesResultOutput) VmStates() GetVmStatesVmStateArrayOutput { - return o.ApplyT(func(v GetVmStatesResult) []GetVmStatesVmState { return v.VmStates }).(GetVmStatesVmStateArrayOutput) -} - -func init() { - pulumi.RegisterOutputType(GetVmStatesResultOutput{}) -} diff --git a/sdk/go/outscale/getVmTypes.go b/sdk/go/outscale/getVmTypes.go deleted file mode 100644 index d12b2ee..0000000 --- a/sdk/go/outscale/getVmTypes.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about VM types. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/Instance-Types.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readvmtypes). -// -// ## Example Usage -// ### All types of VMs -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetVmTypes(ctx, nil, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### VMs optimized for Block Storage Unit (BSU) -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetVmTypes(ctx, &outscale.GetVmTypesArgs{ -// Filters: []outscale.GetVmTypesFilter{ -// { -// Name: "bsu_optimized", -// Values: []string{ -// "true", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Specific VM type -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetVmTypes(ctx, &outscale.GetVmTypesArgs{ -// Filters: []outscale.GetVmTypesFilter{ -// { -// Name: "vm_type_names", -// Values: []string{ -// "m3.large", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetVmTypes(ctx *pulumi.Context, args *GetVmTypesArgs, opts ...pulumi.InvokeOption) (*GetVmTypesResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetVmTypesResult - err := ctx.Invoke("outscale:index/getVmTypes:getVmTypes", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getVmTypes. -type GetVmTypesArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetVmTypesFilter `pulumi:"filters"` -} - -// A collection of values returned by getVmTypes. -type GetVmTypesResult struct { - Filters []GetVmTypesFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - RequestId string `pulumi:"requestId"` - // Information about one or more VM types. - VmTypes []GetVmTypesVmType `pulumi:"vmTypes"` -} - -func GetVmTypesOutput(ctx *pulumi.Context, args GetVmTypesOutputArgs, opts ...pulumi.InvokeOption) GetVmTypesResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetVmTypesResult, error) { - args := v.(GetVmTypesArgs) - r, err := GetVmTypes(ctx, &args, opts...) - var s GetVmTypesResult - if r != nil { - s = *r - } - return s, err - }).(GetVmTypesResultOutput) -} - -// A collection of arguments for invoking getVmTypes. -type GetVmTypesOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetVmTypesFilterArrayInput `pulumi:"filters"` -} - -func (GetVmTypesOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmTypesArgs)(nil)).Elem() -} - -// A collection of values returned by getVmTypes. -type GetVmTypesResultOutput struct{ *pulumi.OutputState } - -func (GetVmTypesResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmTypesResult)(nil)).Elem() -} - -func (o GetVmTypesResultOutput) ToGetVmTypesResultOutput() GetVmTypesResultOutput { - return o -} - -func (o GetVmTypesResultOutput) ToGetVmTypesResultOutputWithContext(ctx context.Context) GetVmTypesResultOutput { - return o -} - -func (o GetVmTypesResultOutput) Filters() GetVmTypesFilterArrayOutput { - return o.ApplyT(func(v GetVmTypesResult) []GetVmTypesFilter { return v.Filters }).(GetVmTypesFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetVmTypesResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetVmTypesResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o GetVmTypesResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmTypesResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// Information about one or more VM types. -func (o GetVmTypesResultOutput) VmTypes() GetVmTypesVmTypeArrayOutput { - return o.ApplyT(func(v GetVmTypesResult) []GetVmTypesVmType { return v.VmTypes }).(GetVmTypesVmTypeArrayOutput) -} - -func init() { - pulumi.RegisterOutputType(GetVmTypesResultOutput{}) -} diff --git a/sdk/go/outscale/getVms.go b/sdk/go/outscale/getVms.go deleted file mode 100644 index c594263..0000000 --- a/sdk/go/outscale/getVms.go +++ /dev/null @@ -1,142 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about virtual machines (VMs). -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Instances.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-vm). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetVms(ctx, &outscale.GetVmsArgs{ -// Filters: []outscale.GetVmsFilter{ -// { -// Name: "tag_keys", -// Values: []string{ -// "env", -// }, -// }, -// { -// Name: "tag_values", -// Values: []string{ -// "prod", -// "test", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetVms(ctx *pulumi.Context, args *GetVmsArgs, opts ...pulumi.InvokeOption) (*GetVmsResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetVmsResult - err := ctx.Invoke("outscale:index/getVms:getVms", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getVms. -type GetVmsArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetVmsFilter `pulumi:"filters"` -} - -// A collection of values returned by getVms. -type GetVmsResult struct { - Filters []GetVmsFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - RequestId string `pulumi:"requestId"` - // Information about one or more VMs. - Vms []GetVmsVm `pulumi:"vms"` -} - -func GetVmsOutput(ctx *pulumi.Context, args GetVmsOutputArgs, opts ...pulumi.InvokeOption) GetVmsResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetVmsResult, error) { - args := v.(GetVmsArgs) - r, err := GetVms(ctx, &args, opts...) - var s GetVmsResult - if r != nil { - s = *r - } - return s, err - }).(GetVmsResultOutput) -} - -// A collection of arguments for invoking getVms. -type GetVmsOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetVmsFilterArrayInput `pulumi:"filters"` -} - -func (GetVmsOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsArgs)(nil)).Elem() -} - -// A collection of values returned by getVms. -type GetVmsResultOutput struct{ *pulumi.OutputState } - -func (GetVmsResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsResult)(nil)).Elem() -} - -func (o GetVmsResultOutput) ToGetVmsResultOutput() GetVmsResultOutput { - return o -} - -func (o GetVmsResultOutput) ToGetVmsResultOutputWithContext(ctx context.Context) GetVmsResultOutput { - return o -} - -func (o GetVmsResultOutput) Filters() GetVmsFilterArrayOutput { - return o.ApplyT(func(v GetVmsResult) []GetVmsFilter { return v.Filters }).(GetVmsFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetVmsResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o GetVmsResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// Information about one or more VMs. -func (o GetVmsResultOutput) Vms() GetVmsVmArrayOutput { - return o.ApplyT(func(v GetVmsResult) []GetVmsVm { return v.Vms }).(GetVmsVmArrayOutput) -} - -func init() { - pulumi.RegisterOutputType(GetVmsResultOutput{}) -} diff --git a/sdk/go/outscale/getVolume.go b/sdk/go/outscale/getVolume.go deleted file mode 100644 index 93e7ae6..0000000 --- a/sdk/go/outscale/getVolume.go +++ /dev/null @@ -1,204 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about a volume. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Volumes.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-volume). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.LookupVolume(ctx, &outscale.LookupVolumeArgs{ -// Filters: []outscale.GetVolumeFilter{ -// { -// Name: "volume_ids", -// Values: []string{ -// "vol-12345678", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func LookupVolume(ctx *pulumi.Context, args *LookupVolumeArgs, opts ...pulumi.InvokeOption) (*LookupVolumeResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupVolumeResult - err := ctx.Invoke("outscale:index/getVolume:getVolume", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getVolume. -type LookupVolumeArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetVolumeFilter `pulumi:"filters"` - RequestId *string `pulumi:"requestId"` - // The ID of the volume. - VolumeId *string `pulumi:"volumeId"` -} - -// A collection of values returned by getVolume. -type LookupVolumeResult struct { - // The date and time of creation of the volume. - CreationDate string `pulumi:"creationDate"` - Filters []GetVolumeFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // The number of I/O operations per second (IOPS):
- For `io1` volumes, the number of provisioned IOPS.
- For `gp2` volumes, the baseline performance of the volume. - Iops int `pulumi:"iops"` - // Information about your volume attachment. - LinkedVolumes []GetVolumeLinkedVolume `pulumi:"linkedVolumes"` - RequestId *string `pulumi:"requestId"` - // The size of the volume, in gibibytes (GiB). - Size int `pulumi:"size"` - // The snapshot from which the volume was created. - SnapshotId string `pulumi:"snapshotId"` - // The state of the volume (`creating` \| `available` \| `in-use` \| `updating` \| `deleting` \| `error`). - State string `pulumi:"state"` - // The Subregion in which the volume was created. - SubregionName string `pulumi:"subregionName"` - // One or more tags associated with the volume. - Tags []GetVolumeTag `pulumi:"tags"` - // The ID of the volume. - VolumeId *string `pulumi:"volumeId"` - // The type of the volume (`standard` \| `gp2` \| `io1`). - VolumeType string `pulumi:"volumeType"` -} - -func LookupVolumeOutput(ctx *pulumi.Context, args LookupVolumeOutputArgs, opts ...pulumi.InvokeOption) LookupVolumeResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupVolumeResult, error) { - args := v.(LookupVolumeArgs) - r, err := LookupVolume(ctx, &args, opts...) - var s LookupVolumeResult - if r != nil { - s = *r - } - return s, err - }).(LookupVolumeResultOutput) -} - -// A collection of arguments for invoking getVolume. -type LookupVolumeOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetVolumeFilterArrayInput `pulumi:"filters"` - RequestId pulumi.StringPtrInput `pulumi:"requestId"` - // The ID of the volume. - VolumeId pulumi.StringPtrInput `pulumi:"volumeId"` -} - -func (LookupVolumeOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupVolumeArgs)(nil)).Elem() -} - -// A collection of values returned by getVolume. -type LookupVolumeResultOutput struct{ *pulumi.OutputState } - -func (LookupVolumeResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupVolumeResult)(nil)).Elem() -} - -func (o LookupVolumeResultOutput) ToLookupVolumeResultOutput() LookupVolumeResultOutput { - return o -} - -func (o LookupVolumeResultOutput) ToLookupVolumeResultOutputWithContext(ctx context.Context) LookupVolumeResultOutput { - return o -} - -// The date and time of creation of the volume. -func (o LookupVolumeResultOutput) CreationDate() pulumi.StringOutput { - return o.ApplyT(func(v LookupVolumeResult) string { return v.CreationDate }).(pulumi.StringOutput) -} - -func (o LookupVolumeResultOutput) Filters() GetVolumeFilterArrayOutput { - return o.ApplyT(func(v LookupVolumeResult) []GetVolumeFilter { return v.Filters }).(GetVolumeFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o LookupVolumeResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupVolumeResult) string { return v.Id }).(pulumi.StringOutput) -} - -// The number of I/O operations per second (IOPS):
- For `io1` volumes, the number of provisioned IOPS.
- For `gp2` volumes, the baseline performance of the volume. -func (o LookupVolumeResultOutput) Iops() pulumi.IntOutput { - return o.ApplyT(func(v LookupVolumeResult) int { return v.Iops }).(pulumi.IntOutput) -} - -// Information about your volume attachment. -func (o LookupVolumeResultOutput) LinkedVolumes() GetVolumeLinkedVolumeArrayOutput { - return o.ApplyT(func(v LookupVolumeResult) []GetVolumeLinkedVolume { return v.LinkedVolumes }).(GetVolumeLinkedVolumeArrayOutput) -} - -func (o LookupVolumeResultOutput) RequestId() pulumi.StringPtrOutput { - return o.ApplyT(func(v LookupVolumeResult) *string { return v.RequestId }).(pulumi.StringPtrOutput) -} - -// The size of the volume, in gibibytes (GiB). -func (o LookupVolumeResultOutput) Size() pulumi.IntOutput { - return o.ApplyT(func(v LookupVolumeResult) int { return v.Size }).(pulumi.IntOutput) -} - -// The snapshot from which the volume was created. -func (o LookupVolumeResultOutput) SnapshotId() pulumi.StringOutput { - return o.ApplyT(func(v LookupVolumeResult) string { return v.SnapshotId }).(pulumi.StringOutput) -} - -// The state of the volume (`creating` \| `available` \| `in-use` \| `updating` \| `deleting` \| `error`). -func (o LookupVolumeResultOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v LookupVolumeResult) string { return v.State }).(pulumi.StringOutput) -} - -// The Subregion in which the volume was created. -func (o LookupVolumeResultOutput) SubregionName() pulumi.StringOutput { - return o.ApplyT(func(v LookupVolumeResult) string { return v.SubregionName }).(pulumi.StringOutput) -} - -// One or more tags associated with the volume. -func (o LookupVolumeResultOutput) Tags() GetVolumeTagArrayOutput { - return o.ApplyT(func(v LookupVolumeResult) []GetVolumeTag { return v.Tags }).(GetVolumeTagArrayOutput) -} - -// The ID of the volume. -func (o LookupVolumeResultOutput) VolumeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v LookupVolumeResult) *string { return v.VolumeId }).(pulumi.StringPtrOutput) -} - -// The type of the volume (`standard` \| `gp2` \| `io1`). -func (o LookupVolumeResultOutput) VolumeType() pulumi.StringOutput { - return o.ApplyT(func(v LookupVolumeResult) string { return v.VolumeType }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupVolumeResultOutput{}) -} diff --git a/sdk/go/outscale/getVolumes.go b/sdk/go/outscale/getVolumes.go deleted file mode 100644 index f119daf..0000000 --- a/sdk/go/outscale/getVolumes.go +++ /dev/null @@ -1,155 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about volumes. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Volumes.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-volume). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetVolumes(ctx, &outscale.GetVolumesArgs{ -// Filters: []outscale.GetVolumesFilter{ -// { -// Name: "volume_states", -// Values: []string{ -// "in-use", -// }, -// }, -// { -// Name: "volume_types", -// Values: []string{ -// "gp2", -// "io1", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetVolumes(ctx *pulumi.Context, args *GetVolumesArgs, opts ...pulumi.InvokeOption) (*GetVolumesResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetVolumesResult - err := ctx.Invoke("outscale:index/getVolumes:getVolumes", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getVolumes. -type GetVolumesArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetVolumesFilter `pulumi:"filters"` - RequestId *string `pulumi:"requestId"` - // The ID of the volume. - VolumeId *string `pulumi:"volumeId"` -} - -// A collection of values returned by getVolumes. -type GetVolumesResult struct { - Filters []GetVolumesFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - RequestId *string `pulumi:"requestId"` - // The ID of the volume. - VolumeId *string `pulumi:"volumeId"` - // Information about one or more volumes. - Volumes []GetVolumesVolume `pulumi:"volumes"` -} - -func GetVolumesOutput(ctx *pulumi.Context, args GetVolumesOutputArgs, opts ...pulumi.InvokeOption) GetVolumesResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetVolumesResult, error) { - args := v.(GetVolumesArgs) - r, err := GetVolumes(ctx, &args, opts...) - var s GetVolumesResult - if r != nil { - s = *r - } - return s, err - }).(GetVolumesResultOutput) -} - -// A collection of arguments for invoking getVolumes. -type GetVolumesOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetVolumesFilterArrayInput `pulumi:"filters"` - RequestId pulumi.StringPtrInput `pulumi:"requestId"` - // The ID of the volume. - VolumeId pulumi.StringPtrInput `pulumi:"volumeId"` -} - -func (GetVolumesOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVolumesArgs)(nil)).Elem() -} - -// A collection of values returned by getVolumes. -type GetVolumesResultOutput struct{ *pulumi.OutputState } - -func (GetVolumesResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVolumesResult)(nil)).Elem() -} - -func (o GetVolumesResultOutput) ToGetVolumesResultOutput() GetVolumesResultOutput { - return o -} - -func (o GetVolumesResultOutput) ToGetVolumesResultOutputWithContext(ctx context.Context) GetVolumesResultOutput { - return o -} - -func (o GetVolumesResultOutput) Filters() GetVolumesFilterArrayOutput { - return o.ApplyT(func(v GetVolumesResult) []GetVolumesFilter { return v.Filters }).(GetVolumesFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetVolumesResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetVolumesResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o GetVolumesResultOutput) RequestId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetVolumesResult) *string { return v.RequestId }).(pulumi.StringPtrOutput) -} - -// The ID of the volume. -func (o GetVolumesResultOutput) VolumeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetVolumesResult) *string { return v.VolumeId }).(pulumi.StringPtrOutput) -} - -// Information about one or more volumes. -func (o GetVolumesResultOutput) Volumes() GetVolumesVolumeArrayOutput { - return o.ApplyT(func(v GetVolumesResult) []GetVolumesVolume { return v.Volumes }).(GetVolumesVolumeArrayOutput) -} - -func init() { - pulumi.RegisterOutputType(GetVolumesResultOutput{}) -} diff --git a/sdk/go/outscale/getVpnConnection.go b/sdk/go/outscale/getVpnConnection.go deleted file mode 100644 index c9629a6..0000000 --- a/sdk/go/outscale/getVpnConnection.go +++ /dev/null @@ -1,206 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about a VPN connection. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPN-Connections.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-vpnconnection). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.LookupVpnConnection(ctx, &outscale.LookupVpnConnectionArgs{ -// Filters: []outscale.GetVpnConnectionFilter{ -// { -// Name: "vpn_connection_ids", -// Values: []string{ -// "vpn-12345678", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func LookupVpnConnection(ctx *pulumi.Context, args *LookupVpnConnectionArgs, opts ...pulumi.InvokeOption) (*LookupVpnConnectionResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupVpnConnectionResult - err := ctx.Invoke("outscale:index/getVpnConnection:getVpnConnection", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getVpnConnection. -type LookupVpnConnectionArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetVpnConnectionFilter `pulumi:"filters"` - // If false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see [CreateVpnConnectionRoute](https://docs.outscale.com/api#createvpnconnectionroute) and [DeleteVpnConnectionRoute](https://docs.outscale.com/api#deletevpnconnectionroute). - StaticRoutesOnly *bool `pulumi:"staticRoutesOnly"` - // The ID of the VPN connection. - VpnConnectionId *string `pulumi:"vpnConnectionId"` -} - -// A collection of values returned by getVpnConnection. -type LookupVpnConnectionResult struct { - // Example configuration for the client gateway. - ClientGatewayConfiguration string `pulumi:"clientGatewayConfiguration"` - // The ID of the client gateway used on the client end of the connection. - ClientGatewayId string `pulumi:"clientGatewayId"` - // The type of VPN connection (always `ipsec.1`). - ConnectionType string `pulumi:"connectionType"` - Filters []GetVpnConnectionFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - RequestId string `pulumi:"requestId"` - // Information about one or more static routes associated with the VPN connection, if any. - Routes []GetVpnConnectionRouteType `pulumi:"routes"` - // The state of the IPSEC tunnel (`UP` \| `DOWN`). - State string `pulumi:"state"` - // If false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see [CreateVpnConnectionRoute](https://docs.outscale.com/api#createvpnconnectionroute) and [DeleteVpnConnectionRoute](https://docs.outscale.com/api#deletevpnconnectionroute). - StaticRoutesOnly *bool `pulumi:"staticRoutesOnly"` - // One or more tags associated with the VPN connection. - Tags []GetVpnConnectionTag `pulumi:"tags"` - // Information about the current state of one or more of the VPN tunnels. - VgwTelemetries []GetVpnConnectionVgwTelemetry `pulumi:"vgwTelemetries"` - // The ID of the virtual gateway used on the OUTSCALE end of the connection. - VirtualGatewayId string `pulumi:"virtualGatewayId"` - // The ID of the VPN connection. - VpnConnectionId *string `pulumi:"vpnConnectionId"` -} - -func LookupVpnConnectionOutput(ctx *pulumi.Context, args LookupVpnConnectionOutputArgs, opts ...pulumi.InvokeOption) LookupVpnConnectionResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupVpnConnectionResult, error) { - args := v.(LookupVpnConnectionArgs) - r, err := LookupVpnConnection(ctx, &args, opts...) - var s LookupVpnConnectionResult - if r != nil { - s = *r - } - return s, err - }).(LookupVpnConnectionResultOutput) -} - -// A collection of arguments for invoking getVpnConnection. -type LookupVpnConnectionOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetVpnConnectionFilterArrayInput `pulumi:"filters"` - // If false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see [CreateVpnConnectionRoute](https://docs.outscale.com/api#createvpnconnectionroute) and [DeleteVpnConnectionRoute](https://docs.outscale.com/api#deletevpnconnectionroute). - StaticRoutesOnly pulumi.BoolPtrInput `pulumi:"staticRoutesOnly"` - // The ID of the VPN connection. - VpnConnectionId pulumi.StringPtrInput `pulumi:"vpnConnectionId"` -} - -func (LookupVpnConnectionOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupVpnConnectionArgs)(nil)).Elem() -} - -// A collection of values returned by getVpnConnection. -type LookupVpnConnectionResultOutput struct{ *pulumi.OutputState } - -func (LookupVpnConnectionResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupVpnConnectionResult)(nil)).Elem() -} - -func (o LookupVpnConnectionResultOutput) ToLookupVpnConnectionResultOutput() LookupVpnConnectionResultOutput { - return o -} - -func (o LookupVpnConnectionResultOutput) ToLookupVpnConnectionResultOutputWithContext(ctx context.Context) LookupVpnConnectionResultOutput { - return o -} - -// Example configuration for the client gateway. -func (o LookupVpnConnectionResultOutput) ClientGatewayConfiguration() pulumi.StringOutput { - return o.ApplyT(func(v LookupVpnConnectionResult) string { return v.ClientGatewayConfiguration }).(pulumi.StringOutput) -} - -// The ID of the client gateway used on the client end of the connection. -func (o LookupVpnConnectionResultOutput) ClientGatewayId() pulumi.StringOutput { - return o.ApplyT(func(v LookupVpnConnectionResult) string { return v.ClientGatewayId }).(pulumi.StringOutput) -} - -// The type of VPN connection (always `ipsec.1`). -func (o LookupVpnConnectionResultOutput) ConnectionType() pulumi.StringOutput { - return o.ApplyT(func(v LookupVpnConnectionResult) string { return v.ConnectionType }).(pulumi.StringOutput) -} - -func (o LookupVpnConnectionResultOutput) Filters() GetVpnConnectionFilterArrayOutput { - return o.ApplyT(func(v LookupVpnConnectionResult) []GetVpnConnectionFilter { return v.Filters }).(GetVpnConnectionFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o LookupVpnConnectionResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupVpnConnectionResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o LookupVpnConnectionResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v LookupVpnConnectionResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -// Information about one or more static routes associated with the VPN connection, if any. -func (o LookupVpnConnectionResultOutput) Routes() GetVpnConnectionRouteTypeArrayOutput { - return o.ApplyT(func(v LookupVpnConnectionResult) []GetVpnConnectionRouteType { return v.Routes }).(GetVpnConnectionRouteTypeArrayOutput) -} - -// The state of the IPSEC tunnel (`UP` \| `DOWN`). -func (o LookupVpnConnectionResultOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v LookupVpnConnectionResult) string { return v.State }).(pulumi.StringOutput) -} - -// If false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see [CreateVpnConnectionRoute](https://docs.outscale.com/api#createvpnconnectionroute) and [DeleteVpnConnectionRoute](https://docs.outscale.com/api#deletevpnconnectionroute). -func (o LookupVpnConnectionResultOutput) StaticRoutesOnly() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LookupVpnConnectionResult) *bool { return v.StaticRoutesOnly }).(pulumi.BoolPtrOutput) -} - -// One or more tags associated with the VPN connection. -func (o LookupVpnConnectionResultOutput) Tags() GetVpnConnectionTagArrayOutput { - return o.ApplyT(func(v LookupVpnConnectionResult) []GetVpnConnectionTag { return v.Tags }).(GetVpnConnectionTagArrayOutput) -} - -// Information about the current state of one or more of the VPN tunnels. -func (o LookupVpnConnectionResultOutput) VgwTelemetries() GetVpnConnectionVgwTelemetryArrayOutput { - return o.ApplyT(func(v LookupVpnConnectionResult) []GetVpnConnectionVgwTelemetry { return v.VgwTelemetries }).(GetVpnConnectionVgwTelemetryArrayOutput) -} - -// The ID of the virtual gateway used on the OUTSCALE end of the connection. -func (o LookupVpnConnectionResultOutput) VirtualGatewayId() pulumi.StringOutput { - return o.ApplyT(func(v LookupVpnConnectionResult) string { return v.VirtualGatewayId }).(pulumi.StringOutput) -} - -// The ID of the VPN connection. -func (o LookupVpnConnectionResultOutput) VpnConnectionId() pulumi.StringPtrOutput { - return o.ApplyT(func(v LookupVpnConnectionResult) *string { return v.VpnConnectionId }).(pulumi.StringPtrOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupVpnConnectionResultOutput{}) -} diff --git a/sdk/go/outscale/getVpnConnections.go b/sdk/go/outscale/getVpnConnections.go deleted file mode 100644 index cdff72e..0000000 --- a/sdk/go/outscale/getVpnConnections.go +++ /dev/null @@ -1,151 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Provides information about VPN connections. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPN-Connections.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-vpnconnection). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.GetVpnConnections(ctx, &outscale.GetVpnConnectionsArgs{ -// Filters: []outscale.GetVpnConnectionsFilter{ -// { -// Name: "client_gateway_ids", -// Values: []string{ -// "cgw-12345678", -// }, -// }, -// { -// Name: "virtual_gateway_ids", -// Values: []string{ -// "vgw-12345678", -// "vgw-12345678", -// }, -// }, -// }, -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetVpnConnections(ctx *pulumi.Context, args *GetVpnConnectionsArgs, opts ...pulumi.InvokeOption) (*GetVpnConnectionsResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetVpnConnectionsResult - err := ctx.Invoke("outscale:index/getVpnConnections:getVpnConnections", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getVpnConnections. -type GetVpnConnectionsArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters []GetVpnConnectionsFilter `pulumi:"filters"` - // The IDs of the VPN connections. - VpnConnectionIds []string `pulumi:"vpnConnectionIds"` -} - -// A collection of values returned by getVpnConnections. -type GetVpnConnectionsResult struct { - Filters []GetVpnConnectionsFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - RequestId string `pulumi:"requestId"` - VpnConnectionIds []string `pulumi:"vpnConnectionIds"` - // Information about one or more VPN connections. - VpnConnections []GetVpnConnectionsVpnConnection `pulumi:"vpnConnections"` -} - -func GetVpnConnectionsOutput(ctx *pulumi.Context, args GetVpnConnectionsOutputArgs, opts ...pulumi.InvokeOption) GetVpnConnectionsResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetVpnConnectionsResult, error) { - args := v.(GetVpnConnectionsArgs) - r, err := GetVpnConnections(ctx, &args, opts...) - var s GetVpnConnectionsResult - if r != nil { - s = *r - } - return s, err - }).(GetVpnConnectionsResultOutput) -} - -// A collection of arguments for invoking getVpnConnections. -type GetVpnConnectionsOutputArgs struct { - // A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - Filters GetVpnConnectionsFilterArrayInput `pulumi:"filters"` - // The IDs of the VPN connections. - VpnConnectionIds pulumi.StringArrayInput `pulumi:"vpnConnectionIds"` -} - -func (GetVpnConnectionsOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpnConnectionsArgs)(nil)).Elem() -} - -// A collection of values returned by getVpnConnections. -type GetVpnConnectionsResultOutput struct{ *pulumi.OutputState } - -func (GetVpnConnectionsResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpnConnectionsResult)(nil)).Elem() -} - -func (o GetVpnConnectionsResultOutput) ToGetVpnConnectionsResultOutput() GetVpnConnectionsResultOutput { - return o -} - -func (o GetVpnConnectionsResultOutput) ToGetVpnConnectionsResultOutputWithContext(ctx context.Context) GetVpnConnectionsResultOutput { - return o -} - -func (o GetVpnConnectionsResultOutput) Filters() GetVpnConnectionsFilterArrayOutput { - return o.ApplyT(func(v GetVpnConnectionsResult) []GetVpnConnectionsFilter { return v.Filters }).(GetVpnConnectionsFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetVpnConnectionsResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetVpnConnectionsResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o GetVpnConnectionsResultOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetVpnConnectionsResult) string { return v.RequestId }).(pulumi.StringOutput) -} - -func (o GetVpnConnectionsResultOutput) VpnConnectionIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetVpnConnectionsResult) []string { return v.VpnConnectionIds }).(pulumi.StringArrayOutput) -} - -// Information about one or more VPN connections. -func (o GetVpnConnectionsResultOutput) VpnConnections() GetVpnConnectionsVpnConnectionArrayOutput { - return o.ApplyT(func(v GetVpnConnectionsResult) []GetVpnConnectionsVpnConnection { return v.VpnConnections }).(GetVpnConnectionsVpnConnectionArrayOutput) -} - -func init() { - pulumi.RegisterOutputType(GetVpnConnectionsResultOutput{}) -} diff --git a/sdk/go/outscale/image.go b/sdk/go/outscale/image.go deleted file mode 100644 index 11ff7d9..0000000 --- a/sdk/go/outscale/image.go +++ /dev/null @@ -1,634 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages an image. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-OMIs.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-image). -// -// ## Example Usage -// ### Create an image -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewImage(ctx, "image01", &outscale.ImageArgs{ -// ImageName: pulumi.String("terraform-omi-create"), -// VmId: pulumi.Any(_var.Vm_id), -// NoReboot: pulumi.Bool(true), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Import an image -// > **Important** Make sure the manifest file is still valid. -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewImage(ctx, "image02", &outscale.ImageArgs{ -// Description: pulumi.String("Terraform register OMI"), -// FileLocation: pulumi.String(""), -// ImageName: pulumi.String("terraform-omi-register"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Copy an image -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewImage(ctx, "image03", &outscale.ImageArgs{ -// Description: pulumi.String("Terraform copy OMI"), -// ImageName: pulumi.String("terraform-omi-copy"), -// SourceImageId: pulumi.String("ami-12345678"), -// SourceRegionName: pulumi.String("eu-west-2"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Create an image with a Block Storage Unit (BSU) volume -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewImage(ctx, "image04", &outscale.ImageArgs{ -// BlockDeviceMappings: outscale.ImageBlockDeviceMappingArray{ -// &outscale.ImageBlockDeviceMappingArgs{ -// Bsus: outscale.ImageBlockDeviceMappingBsusArray{ -// &outscale.ImageBlockDeviceMappingBsusArgs{ -// DeleteOnVmDeletion: pulumi.Bool(true), -// Iops: pulumi.Int(150), -// SnapshotId: pulumi.String("snap-12345678"), -// VolumeSize: pulumi.Int(120), -// VolumeType: pulumi.String("io1"), -// }, -// }, -// DeviceName: pulumi.String("/dev/sda1"), -// }, -// }, -// Description: pulumi.String("Terraform OMI with BSU"), -// ImageName: pulumi.String("terraform-omi-bsu"), -// RootDeviceName: pulumi.String("/dev/sda1"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// An image can be imported using its ID. For exampleconsole -// -// ```sh -// -// $ pulumi import outscale:index/image:Image ImportedImage ami-12345678 -// -// ``` -type Image struct { - pulumi.CustomResourceState - - // The account alias of the owner of the OMI. - AccountAlias pulumi.StringOutput `pulumi:"accountAlias"` - // The account ID of the owner of the OMI. - AccountId pulumi.StringOutput `pulumi:"accountId"` - // The architecture of the OMI (by default, `i386` if you specified the `fileLocation` or `rootDeviceName` parameter). - Architecture pulumi.StringOutput `pulumi:"architecture"` - // One or more block device mappings. - BlockDeviceMappings ImageBlockDeviceMappingArrayOutput `pulumi:"blockDeviceMappings"` - // The date and time of creation of the OMI, in ISO 8601 date-time format. - CreationDate pulumi.StringOutput `pulumi:"creationDate"` - // A description for the new OMI. - Description pulumi.StringOutput `pulumi:"description"` - // The pre-signed URL of the OMI manifest file, or the full path to the OMI stored in a bucket. If you specify this parameter, a copy of the OMI is created in your account. You must specify only one of the following parameters: `fileLocation`, `rootDeviceName`, `sourceImageId` or `vmId`. - FileLocation pulumi.StringOutput `pulumi:"fileLocation"` - // The ID of the OMI. - ImageId pulumi.StringOutput `pulumi:"imageId"` - // A unique name for the new OMI.
- // Constraints: 3-128 alphanumeric characters, underscores (_), spaces ( ), parentheses (()), slashes (/), periods (.), or dashes (-). - ImageName pulumi.StringOutput `pulumi:"imageName"` - // The type of the OMI. - ImageType pulumi.StringOutput `pulumi:"imageType"` - IsPublic pulumi.BoolOutput `pulumi:"isPublic"` - // If false, the VM shuts down before creating the OMI and then reboots. If true, the VM does not. - NoReboot pulumi.BoolOutput `pulumi:"noReboot"` - // Permissions for the resource. - PermissionsToLaunches ImagePermissionsToLaunchArrayOutput `pulumi:"permissionsToLaunches"` - // The product codes associated with the OMI. - ProductCodes pulumi.StringArrayOutput `pulumi:"productCodes"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - // The name of the root device. You must specify only one of the following parameters: `fileLocation`, `rootDeviceName`, `sourceImageId` or `vmId`. - RootDeviceName pulumi.StringOutput `pulumi:"rootDeviceName"` - // The type of root device used by the OMI (always `bsu`). - RootDeviceType pulumi.StringOutput `pulumi:"rootDeviceType"` - // The ID of the OMI you want to copy. You must specify only one of the following parameters: `fileLocation`, `rootDeviceName`, `sourceImageId` or `vmId`. - SourceImageId pulumi.StringOutput `pulumi:"sourceImageId"` - // The name of the source Region, which must be the same as the Region of your account. - SourceRegionName pulumi.StringPtrOutput `pulumi:"sourceRegionName"` - // The state of the OMI (`pending` \| `available` \| `failed`). - State pulumi.StringOutput `pulumi:"state"` - // Information about the change of state. - StateComments ImageStateCommentArrayOutput `pulumi:"stateComments"` - // A tag to add to this resource. You can specify this argument several times. - Tags ImageTagArrayOutput `pulumi:"tags"` - // The ID of the VM from which you want to create the OMI. You must specify only one of the following parameters: `fileLocation`, `rootDeviceName`, `sourceImageId` or `vmId`. - VmId pulumi.StringOutput `pulumi:"vmId"` -} - -// NewImage registers a new resource with the given unique name, arguments, and options. -func NewImage(ctx *pulumi.Context, - name string, args *ImageArgs, opts ...pulumi.ResourceOption) (*Image, error) { - if args == nil { - args = &ImageArgs{} - } - - opts = internal.PkgResourceDefaultOpts(opts) - var resource Image - err := ctx.RegisterResource("outscale:index/image:Image", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetImage gets an existing Image resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetImage(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *ImageState, opts ...pulumi.ResourceOption) (*Image, error) { - var resource Image - err := ctx.ReadResource("outscale:index/image:Image", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering Image resources. -type imageState struct { - // The account alias of the owner of the OMI. - AccountAlias *string `pulumi:"accountAlias"` - // The account ID of the owner of the OMI. - AccountId *string `pulumi:"accountId"` - // The architecture of the OMI (by default, `i386` if you specified the `fileLocation` or `rootDeviceName` parameter). - Architecture *string `pulumi:"architecture"` - // One or more block device mappings. - BlockDeviceMappings []ImageBlockDeviceMapping `pulumi:"blockDeviceMappings"` - // The date and time of creation of the OMI, in ISO 8601 date-time format. - CreationDate *string `pulumi:"creationDate"` - // A description for the new OMI. - Description *string `pulumi:"description"` - // The pre-signed URL of the OMI manifest file, or the full path to the OMI stored in a bucket. If you specify this parameter, a copy of the OMI is created in your account. You must specify only one of the following parameters: `fileLocation`, `rootDeviceName`, `sourceImageId` or `vmId`. - FileLocation *string `pulumi:"fileLocation"` - // The ID of the OMI. - ImageId *string `pulumi:"imageId"` - // A unique name for the new OMI.
- // Constraints: 3-128 alphanumeric characters, underscores (_), spaces ( ), parentheses (()), slashes (/), periods (.), or dashes (-). - ImageName *string `pulumi:"imageName"` - // The type of the OMI. - ImageType *string `pulumi:"imageType"` - IsPublic *bool `pulumi:"isPublic"` - // If false, the VM shuts down before creating the OMI and then reboots. If true, the VM does not. - NoReboot *bool `pulumi:"noReboot"` - // Permissions for the resource. - PermissionsToLaunches []ImagePermissionsToLaunch `pulumi:"permissionsToLaunches"` - // The product codes associated with the OMI. - ProductCodes []string `pulumi:"productCodes"` - RequestId *string `pulumi:"requestId"` - // The name of the root device. You must specify only one of the following parameters: `fileLocation`, `rootDeviceName`, `sourceImageId` or `vmId`. - RootDeviceName *string `pulumi:"rootDeviceName"` - // The type of root device used by the OMI (always `bsu`). - RootDeviceType *string `pulumi:"rootDeviceType"` - // The ID of the OMI you want to copy. You must specify only one of the following parameters: `fileLocation`, `rootDeviceName`, `sourceImageId` or `vmId`. - SourceImageId *string `pulumi:"sourceImageId"` - // The name of the source Region, which must be the same as the Region of your account. - SourceRegionName *string `pulumi:"sourceRegionName"` - // The state of the OMI (`pending` \| `available` \| `failed`). - State *string `pulumi:"state"` - // Information about the change of state. - StateComments []ImageStateComment `pulumi:"stateComments"` - // A tag to add to this resource. You can specify this argument several times. - Tags []ImageTag `pulumi:"tags"` - // The ID of the VM from which you want to create the OMI. You must specify only one of the following parameters: `fileLocation`, `rootDeviceName`, `sourceImageId` or `vmId`. - VmId *string `pulumi:"vmId"` -} - -type ImageState struct { - // The account alias of the owner of the OMI. - AccountAlias pulumi.StringPtrInput - // The account ID of the owner of the OMI. - AccountId pulumi.StringPtrInput - // The architecture of the OMI (by default, `i386` if you specified the `fileLocation` or `rootDeviceName` parameter). - Architecture pulumi.StringPtrInput - // One or more block device mappings. - BlockDeviceMappings ImageBlockDeviceMappingArrayInput - // The date and time of creation of the OMI, in ISO 8601 date-time format. - CreationDate pulumi.StringPtrInput - // A description for the new OMI. - Description pulumi.StringPtrInput - // The pre-signed URL of the OMI manifest file, or the full path to the OMI stored in a bucket. If you specify this parameter, a copy of the OMI is created in your account. You must specify only one of the following parameters: `fileLocation`, `rootDeviceName`, `sourceImageId` or `vmId`. - FileLocation pulumi.StringPtrInput - // The ID of the OMI. - ImageId pulumi.StringPtrInput - // A unique name for the new OMI.
- // Constraints: 3-128 alphanumeric characters, underscores (_), spaces ( ), parentheses (()), slashes (/), periods (.), or dashes (-). - ImageName pulumi.StringPtrInput - // The type of the OMI. - ImageType pulumi.StringPtrInput - IsPublic pulumi.BoolPtrInput - // If false, the VM shuts down before creating the OMI and then reboots. If true, the VM does not. - NoReboot pulumi.BoolPtrInput - // Permissions for the resource. - PermissionsToLaunches ImagePermissionsToLaunchArrayInput - // The product codes associated with the OMI. - ProductCodes pulumi.StringArrayInput - RequestId pulumi.StringPtrInput - // The name of the root device. You must specify only one of the following parameters: `fileLocation`, `rootDeviceName`, `sourceImageId` or `vmId`. - RootDeviceName pulumi.StringPtrInput - // The type of root device used by the OMI (always `bsu`). - RootDeviceType pulumi.StringPtrInput - // The ID of the OMI you want to copy. You must specify only one of the following parameters: `fileLocation`, `rootDeviceName`, `sourceImageId` or `vmId`. - SourceImageId pulumi.StringPtrInput - // The name of the source Region, which must be the same as the Region of your account. - SourceRegionName pulumi.StringPtrInput - // The state of the OMI (`pending` \| `available` \| `failed`). - State pulumi.StringPtrInput - // Information about the change of state. - StateComments ImageStateCommentArrayInput - // A tag to add to this resource. You can specify this argument several times. - Tags ImageTagArrayInput - // The ID of the VM from which you want to create the OMI. You must specify only one of the following parameters: `fileLocation`, `rootDeviceName`, `sourceImageId` or `vmId`. - VmId pulumi.StringPtrInput -} - -func (ImageState) ElementType() reflect.Type { - return reflect.TypeOf((*imageState)(nil)).Elem() -} - -type imageArgs struct { - // The architecture of the OMI (by default, `i386` if you specified the `fileLocation` or `rootDeviceName` parameter). - Architecture *string `pulumi:"architecture"` - // One or more block device mappings. - BlockDeviceMappings []ImageBlockDeviceMapping `pulumi:"blockDeviceMappings"` - // A description for the new OMI. - Description *string `pulumi:"description"` - // The pre-signed URL of the OMI manifest file, or the full path to the OMI stored in a bucket. If you specify this parameter, a copy of the OMI is created in your account. You must specify only one of the following parameters: `fileLocation`, `rootDeviceName`, `sourceImageId` or `vmId`. - FileLocation *string `pulumi:"fileLocation"` - // A unique name for the new OMI.
- // Constraints: 3-128 alphanumeric characters, underscores (_), spaces ( ), parentheses (()), slashes (/), periods (.), or dashes (-). - ImageName *string `pulumi:"imageName"` - // If false, the VM shuts down before creating the OMI and then reboots. If true, the VM does not. - NoReboot *bool `pulumi:"noReboot"` - // The name of the root device. You must specify only one of the following parameters: `fileLocation`, `rootDeviceName`, `sourceImageId` or `vmId`. - RootDeviceName *string `pulumi:"rootDeviceName"` - // The ID of the OMI you want to copy. You must specify only one of the following parameters: `fileLocation`, `rootDeviceName`, `sourceImageId` or `vmId`. - SourceImageId *string `pulumi:"sourceImageId"` - // The name of the source Region, which must be the same as the Region of your account. - SourceRegionName *string `pulumi:"sourceRegionName"` - // A tag to add to this resource. You can specify this argument several times. - Tags []ImageTag `pulumi:"tags"` - // The ID of the VM from which you want to create the OMI. You must specify only one of the following parameters: `fileLocation`, `rootDeviceName`, `sourceImageId` or `vmId`. - VmId *string `pulumi:"vmId"` -} - -// The set of arguments for constructing a Image resource. -type ImageArgs struct { - // The architecture of the OMI (by default, `i386` if you specified the `fileLocation` or `rootDeviceName` parameter). - Architecture pulumi.StringPtrInput - // One or more block device mappings. - BlockDeviceMappings ImageBlockDeviceMappingArrayInput - // A description for the new OMI. - Description pulumi.StringPtrInput - // The pre-signed URL of the OMI manifest file, or the full path to the OMI stored in a bucket. If you specify this parameter, a copy of the OMI is created in your account. You must specify only one of the following parameters: `fileLocation`, `rootDeviceName`, `sourceImageId` or `vmId`. - FileLocation pulumi.StringPtrInput - // A unique name for the new OMI.
- // Constraints: 3-128 alphanumeric characters, underscores (_), spaces ( ), parentheses (()), slashes (/), periods (.), or dashes (-). - ImageName pulumi.StringPtrInput - // If false, the VM shuts down before creating the OMI and then reboots. If true, the VM does not. - NoReboot pulumi.BoolPtrInput - // The name of the root device. You must specify only one of the following parameters: `fileLocation`, `rootDeviceName`, `sourceImageId` or `vmId`. - RootDeviceName pulumi.StringPtrInput - // The ID of the OMI you want to copy. You must specify only one of the following parameters: `fileLocation`, `rootDeviceName`, `sourceImageId` or `vmId`. - SourceImageId pulumi.StringPtrInput - // The name of the source Region, which must be the same as the Region of your account. - SourceRegionName pulumi.StringPtrInput - // A tag to add to this resource. You can specify this argument several times. - Tags ImageTagArrayInput - // The ID of the VM from which you want to create the OMI. You must specify only one of the following parameters: `fileLocation`, `rootDeviceName`, `sourceImageId` or `vmId`. - VmId pulumi.StringPtrInput -} - -func (ImageArgs) ElementType() reflect.Type { - return reflect.TypeOf((*imageArgs)(nil)).Elem() -} - -type ImageInput interface { - pulumi.Input - - ToImageOutput() ImageOutput - ToImageOutputWithContext(ctx context.Context) ImageOutput -} - -func (*Image) ElementType() reflect.Type { - return reflect.TypeOf((**Image)(nil)).Elem() -} - -func (i *Image) ToImageOutput() ImageOutput { - return i.ToImageOutputWithContext(context.Background()) -} - -func (i *Image) ToImageOutputWithContext(ctx context.Context) ImageOutput { - return pulumi.ToOutputWithContext(ctx, i).(ImageOutput) -} - -// ImageArrayInput is an input type that accepts ImageArray and ImageArrayOutput values. -// You can construct a concrete instance of `ImageArrayInput` via: -// -// ImageArray{ ImageArgs{...} } -type ImageArrayInput interface { - pulumi.Input - - ToImageArrayOutput() ImageArrayOutput - ToImageArrayOutputWithContext(context.Context) ImageArrayOutput -} - -type ImageArray []ImageInput - -func (ImageArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*Image)(nil)).Elem() -} - -func (i ImageArray) ToImageArrayOutput() ImageArrayOutput { - return i.ToImageArrayOutputWithContext(context.Background()) -} - -func (i ImageArray) ToImageArrayOutputWithContext(ctx context.Context) ImageArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ImageArrayOutput) -} - -// ImageMapInput is an input type that accepts ImageMap and ImageMapOutput values. -// You can construct a concrete instance of `ImageMapInput` via: -// -// ImageMap{ "key": ImageArgs{...} } -type ImageMapInput interface { - pulumi.Input - - ToImageMapOutput() ImageMapOutput - ToImageMapOutputWithContext(context.Context) ImageMapOutput -} - -type ImageMap map[string]ImageInput - -func (ImageMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*Image)(nil)).Elem() -} - -func (i ImageMap) ToImageMapOutput() ImageMapOutput { - return i.ToImageMapOutputWithContext(context.Background()) -} - -func (i ImageMap) ToImageMapOutputWithContext(ctx context.Context) ImageMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(ImageMapOutput) -} - -type ImageOutput struct{ *pulumi.OutputState } - -func (ImageOutput) ElementType() reflect.Type { - return reflect.TypeOf((**Image)(nil)).Elem() -} - -func (o ImageOutput) ToImageOutput() ImageOutput { - return o -} - -func (o ImageOutput) ToImageOutputWithContext(ctx context.Context) ImageOutput { - return o -} - -// The account alias of the owner of the OMI. -func (o ImageOutput) AccountAlias() pulumi.StringOutput { - return o.ApplyT(func(v *Image) pulumi.StringOutput { return v.AccountAlias }).(pulumi.StringOutput) -} - -// The account ID of the owner of the OMI. -func (o ImageOutput) AccountId() pulumi.StringOutput { - return o.ApplyT(func(v *Image) pulumi.StringOutput { return v.AccountId }).(pulumi.StringOutput) -} - -// The architecture of the OMI (by default, `i386` if you specified the `fileLocation` or `rootDeviceName` parameter). -func (o ImageOutput) Architecture() pulumi.StringOutput { - return o.ApplyT(func(v *Image) pulumi.StringOutput { return v.Architecture }).(pulumi.StringOutput) -} - -// One or more block device mappings. -func (o ImageOutput) BlockDeviceMappings() ImageBlockDeviceMappingArrayOutput { - return o.ApplyT(func(v *Image) ImageBlockDeviceMappingArrayOutput { return v.BlockDeviceMappings }).(ImageBlockDeviceMappingArrayOutput) -} - -// The date and time of creation of the OMI, in ISO 8601 date-time format. -func (o ImageOutput) CreationDate() pulumi.StringOutput { - return o.ApplyT(func(v *Image) pulumi.StringOutput { return v.CreationDate }).(pulumi.StringOutput) -} - -// A description for the new OMI. -func (o ImageOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v *Image) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) -} - -// The pre-signed URL of the OMI manifest file, or the full path to the OMI stored in a bucket. If you specify this parameter, a copy of the OMI is created in your account. You must specify only one of the following parameters: `fileLocation`, `rootDeviceName`, `sourceImageId` or `vmId`. -func (o ImageOutput) FileLocation() pulumi.StringOutput { - return o.ApplyT(func(v *Image) pulumi.StringOutput { return v.FileLocation }).(pulumi.StringOutput) -} - -// The ID of the OMI. -func (o ImageOutput) ImageId() pulumi.StringOutput { - return o.ApplyT(func(v *Image) pulumi.StringOutput { return v.ImageId }).(pulumi.StringOutput) -} - -// A unique name for the new OMI.
-// Constraints: 3-128 alphanumeric characters, underscores (_), spaces ( ), parentheses (()), slashes (/), periods (.), or dashes (-). -func (o ImageOutput) ImageName() pulumi.StringOutput { - return o.ApplyT(func(v *Image) pulumi.StringOutput { return v.ImageName }).(pulumi.StringOutput) -} - -// The type of the OMI. -func (o ImageOutput) ImageType() pulumi.StringOutput { - return o.ApplyT(func(v *Image) pulumi.StringOutput { return v.ImageType }).(pulumi.StringOutput) -} - -func (o ImageOutput) IsPublic() pulumi.BoolOutput { - return o.ApplyT(func(v *Image) pulumi.BoolOutput { return v.IsPublic }).(pulumi.BoolOutput) -} - -// If false, the VM shuts down before creating the OMI and then reboots. If true, the VM does not. -func (o ImageOutput) NoReboot() pulumi.BoolOutput { - return o.ApplyT(func(v *Image) pulumi.BoolOutput { return v.NoReboot }).(pulumi.BoolOutput) -} - -// Permissions for the resource. -func (o ImageOutput) PermissionsToLaunches() ImagePermissionsToLaunchArrayOutput { - return o.ApplyT(func(v *Image) ImagePermissionsToLaunchArrayOutput { return v.PermissionsToLaunches }).(ImagePermissionsToLaunchArrayOutput) -} - -// The product codes associated with the OMI. -func (o ImageOutput) ProductCodes() pulumi.StringArrayOutput { - return o.ApplyT(func(v *Image) pulumi.StringArrayOutput { return v.ProductCodes }).(pulumi.StringArrayOutput) -} - -func (o ImageOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *Image) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -// The name of the root device. You must specify only one of the following parameters: `fileLocation`, `rootDeviceName`, `sourceImageId` or `vmId`. -func (o ImageOutput) RootDeviceName() pulumi.StringOutput { - return o.ApplyT(func(v *Image) pulumi.StringOutput { return v.RootDeviceName }).(pulumi.StringOutput) -} - -// The type of root device used by the OMI (always `bsu`). -func (o ImageOutput) RootDeviceType() pulumi.StringOutput { - return o.ApplyT(func(v *Image) pulumi.StringOutput { return v.RootDeviceType }).(pulumi.StringOutput) -} - -// The ID of the OMI you want to copy. You must specify only one of the following parameters: `fileLocation`, `rootDeviceName`, `sourceImageId` or `vmId`. -func (o ImageOutput) SourceImageId() pulumi.StringOutput { - return o.ApplyT(func(v *Image) pulumi.StringOutput { return v.SourceImageId }).(pulumi.StringOutput) -} - -// The name of the source Region, which must be the same as the Region of your account. -func (o ImageOutput) SourceRegionName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Image) pulumi.StringPtrOutput { return v.SourceRegionName }).(pulumi.StringPtrOutput) -} - -// The state of the OMI (`pending` \| `available` \| `failed`). -func (o ImageOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v *Image) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) -} - -// Information about the change of state. -func (o ImageOutput) StateComments() ImageStateCommentArrayOutput { - return o.ApplyT(func(v *Image) ImageStateCommentArrayOutput { return v.StateComments }).(ImageStateCommentArrayOutput) -} - -// A tag to add to this resource. You can specify this argument several times. -func (o ImageOutput) Tags() ImageTagArrayOutput { - return o.ApplyT(func(v *Image) ImageTagArrayOutput { return v.Tags }).(ImageTagArrayOutput) -} - -// The ID of the VM from which you want to create the OMI. You must specify only one of the following parameters: `fileLocation`, `rootDeviceName`, `sourceImageId` or `vmId`. -func (o ImageOutput) VmId() pulumi.StringOutput { - return o.ApplyT(func(v *Image) pulumi.StringOutput { return v.VmId }).(pulumi.StringOutput) -} - -type ImageArrayOutput struct{ *pulumi.OutputState } - -func (ImageArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*Image)(nil)).Elem() -} - -func (o ImageArrayOutput) ToImageArrayOutput() ImageArrayOutput { - return o -} - -func (o ImageArrayOutput) ToImageArrayOutputWithContext(ctx context.Context) ImageArrayOutput { - return o -} - -func (o ImageArrayOutput) Index(i pulumi.IntInput) ImageOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Image { - return vs[0].([]*Image)[vs[1].(int)] - }).(ImageOutput) -} - -type ImageMapOutput struct{ *pulumi.OutputState } - -func (ImageMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*Image)(nil)).Elem() -} - -func (o ImageMapOutput) ToImageMapOutput() ImageMapOutput { - return o -} - -func (o ImageMapOutput) ToImageMapOutputWithContext(ctx context.Context) ImageMapOutput { - return o -} - -func (o ImageMapOutput) MapIndex(k pulumi.StringInput) ImageOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Image { - return vs[0].(map[string]*Image)[vs[1].(string)] - }).(ImageOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*ImageInput)(nil)).Elem(), &Image{}) - pulumi.RegisterInputType(reflect.TypeOf((*ImageArrayInput)(nil)).Elem(), ImageArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*ImageMapInput)(nil)).Elem(), ImageMap{}) - pulumi.RegisterOutputType(ImageOutput{}) - pulumi.RegisterOutputType(ImageArrayOutput{}) - pulumi.RegisterOutputType(ImageMapOutput{}) -} diff --git a/sdk/go/outscale/imageExportTask.go b/sdk/go/outscale/imageExportTask.go deleted file mode 100644 index f3c4b4b..0000000 --- a/sdk/go/outscale/imageExportTask.go +++ /dev/null @@ -1,378 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "errors" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages an image export task. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-OMIs.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-image). -// -// ## Example Usage -// ### Required resource -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewImage(ctx, "image01", &outscale.ImageArgs{ -// ImageName: pulumi.String("terraform-image-to-export"), -// VmId: pulumi.String("i-12345678"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Create an image export task -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewImageExportTask(ctx, "imageExportTask01", &outscale.ImageExportTaskArgs{ -// ImageId: pulumi.Any(outscale_image.Image01.Image_id), -// OsuExports: outscale.ImageExportTaskOsuExportArray{ -// &outscale.ImageExportTaskOsuExportArgs{ -// DiskImageFormat: pulumi.String("qcow2"), -// OsuBucket: pulumi.String("terraform-bucket"), -// OsuPrefix: pulumi.String("new-export"), -// OsuApiKeys: outscale.ImageExportTaskOsuExportOsuApiKeyArray{ -// &outscale.ImageExportTaskOsuExportOsuApiKeyArgs{ -// ApiKeyId: pulumi.Any(_var.Access_key_id), -// SecretKey: pulumi.Any(_var.Secret_key_id), -// }, -// }, -// }, -// }, -// Tags: outscale.ImageExportTaskTagArray{ -// &outscale.ImageExportTaskTagArgs{ -// Key: pulumi.String("Name"), -// Value: pulumi.String("terraform-snapshot-export-task"), -// }, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -type ImageExportTask struct { - pulumi.CustomResourceState - - // If the OMI export task fails, an error message appears. - Comment pulumi.StringOutput `pulumi:"comment"` - // The ID of the OMI to export. - ImageId pulumi.StringOutput `pulumi:"imageId"` - // Information about the OOS export task to create. - OsuExports ImageExportTaskOsuExportArrayOutput `pulumi:"osuExports"` - // The progress of the OMI export task, as a percentage. - Progress pulumi.IntOutput `pulumi:"progress"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - // The state of the OMI export task (`pending/queued` \| `pending` \| `completed` \| `failed` \| `cancelled`). - State pulumi.StringOutput `pulumi:"state"` - // A tag to add to this resource. You can specify this argument several times. - Tags ImageExportTaskTagArrayOutput `pulumi:"tags"` - // The ID of the OMI export task. - TaskId pulumi.StringOutput `pulumi:"taskId"` -} - -// NewImageExportTask registers a new resource with the given unique name, arguments, and options. -func NewImageExportTask(ctx *pulumi.Context, - name string, args *ImageExportTaskArgs, opts ...pulumi.ResourceOption) (*ImageExportTask, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.ImageId == nil { - return nil, errors.New("invalid value for required argument 'ImageId'") - } - if args.OsuExports == nil { - return nil, errors.New("invalid value for required argument 'OsuExports'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource ImageExportTask - err := ctx.RegisterResource("outscale:index/imageExportTask:ImageExportTask", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetImageExportTask gets an existing ImageExportTask resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetImageExportTask(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *ImageExportTaskState, opts ...pulumi.ResourceOption) (*ImageExportTask, error) { - var resource ImageExportTask - err := ctx.ReadResource("outscale:index/imageExportTask:ImageExportTask", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering ImageExportTask resources. -type imageExportTaskState struct { - // If the OMI export task fails, an error message appears. - Comment *string `pulumi:"comment"` - // The ID of the OMI to export. - ImageId *string `pulumi:"imageId"` - // Information about the OOS export task to create. - OsuExports []ImageExportTaskOsuExport `pulumi:"osuExports"` - // The progress of the OMI export task, as a percentage. - Progress *int `pulumi:"progress"` - RequestId *string `pulumi:"requestId"` - // The state of the OMI export task (`pending/queued` \| `pending` \| `completed` \| `failed` \| `cancelled`). - State *string `pulumi:"state"` - // A tag to add to this resource. You can specify this argument several times. - Tags []ImageExportTaskTag `pulumi:"tags"` - // The ID of the OMI export task. - TaskId *string `pulumi:"taskId"` -} - -type ImageExportTaskState struct { - // If the OMI export task fails, an error message appears. - Comment pulumi.StringPtrInput - // The ID of the OMI to export. - ImageId pulumi.StringPtrInput - // Information about the OOS export task to create. - OsuExports ImageExportTaskOsuExportArrayInput - // The progress of the OMI export task, as a percentage. - Progress pulumi.IntPtrInput - RequestId pulumi.StringPtrInput - // The state of the OMI export task (`pending/queued` \| `pending` \| `completed` \| `failed` \| `cancelled`). - State pulumi.StringPtrInput - // A tag to add to this resource. You can specify this argument several times. - Tags ImageExportTaskTagArrayInput - // The ID of the OMI export task. - TaskId pulumi.StringPtrInput -} - -func (ImageExportTaskState) ElementType() reflect.Type { - return reflect.TypeOf((*imageExportTaskState)(nil)).Elem() -} - -type imageExportTaskArgs struct { - // The ID of the OMI to export. - ImageId string `pulumi:"imageId"` - // Information about the OOS export task to create. - OsuExports []ImageExportTaskOsuExport `pulumi:"osuExports"` - // A tag to add to this resource. You can specify this argument several times. - Tags []ImageExportTaskTag `pulumi:"tags"` -} - -// The set of arguments for constructing a ImageExportTask resource. -type ImageExportTaskArgs struct { - // The ID of the OMI to export. - ImageId pulumi.StringInput - // Information about the OOS export task to create. - OsuExports ImageExportTaskOsuExportArrayInput - // A tag to add to this resource. You can specify this argument several times. - Tags ImageExportTaskTagArrayInput -} - -func (ImageExportTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*imageExportTaskArgs)(nil)).Elem() -} - -type ImageExportTaskInput interface { - pulumi.Input - - ToImageExportTaskOutput() ImageExportTaskOutput - ToImageExportTaskOutputWithContext(ctx context.Context) ImageExportTaskOutput -} - -func (*ImageExportTask) ElementType() reflect.Type { - return reflect.TypeOf((**ImageExportTask)(nil)).Elem() -} - -func (i *ImageExportTask) ToImageExportTaskOutput() ImageExportTaskOutput { - return i.ToImageExportTaskOutputWithContext(context.Background()) -} - -func (i *ImageExportTask) ToImageExportTaskOutputWithContext(ctx context.Context) ImageExportTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(ImageExportTaskOutput) -} - -// ImageExportTaskArrayInput is an input type that accepts ImageExportTaskArray and ImageExportTaskArrayOutput values. -// You can construct a concrete instance of `ImageExportTaskArrayInput` via: -// -// ImageExportTaskArray{ ImageExportTaskArgs{...} } -type ImageExportTaskArrayInput interface { - pulumi.Input - - ToImageExportTaskArrayOutput() ImageExportTaskArrayOutput - ToImageExportTaskArrayOutputWithContext(context.Context) ImageExportTaskArrayOutput -} - -type ImageExportTaskArray []ImageExportTaskInput - -func (ImageExportTaskArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*ImageExportTask)(nil)).Elem() -} - -func (i ImageExportTaskArray) ToImageExportTaskArrayOutput() ImageExportTaskArrayOutput { - return i.ToImageExportTaskArrayOutputWithContext(context.Background()) -} - -func (i ImageExportTaskArray) ToImageExportTaskArrayOutputWithContext(ctx context.Context) ImageExportTaskArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ImageExportTaskArrayOutput) -} - -// ImageExportTaskMapInput is an input type that accepts ImageExportTaskMap and ImageExportTaskMapOutput values. -// You can construct a concrete instance of `ImageExportTaskMapInput` via: -// -// ImageExportTaskMap{ "key": ImageExportTaskArgs{...} } -type ImageExportTaskMapInput interface { - pulumi.Input - - ToImageExportTaskMapOutput() ImageExportTaskMapOutput - ToImageExportTaskMapOutputWithContext(context.Context) ImageExportTaskMapOutput -} - -type ImageExportTaskMap map[string]ImageExportTaskInput - -func (ImageExportTaskMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*ImageExportTask)(nil)).Elem() -} - -func (i ImageExportTaskMap) ToImageExportTaskMapOutput() ImageExportTaskMapOutput { - return i.ToImageExportTaskMapOutputWithContext(context.Background()) -} - -func (i ImageExportTaskMap) ToImageExportTaskMapOutputWithContext(ctx context.Context) ImageExportTaskMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(ImageExportTaskMapOutput) -} - -type ImageExportTaskOutput struct{ *pulumi.OutputState } - -func (ImageExportTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ImageExportTask)(nil)).Elem() -} - -func (o ImageExportTaskOutput) ToImageExportTaskOutput() ImageExportTaskOutput { - return o -} - -func (o ImageExportTaskOutput) ToImageExportTaskOutputWithContext(ctx context.Context) ImageExportTaskOutput { - return o -} - -// If the OMI export task fails, an error message appears. -func (o ImageExportTaskOutput) Comment() pulumi.StringOutput { - return o.ApplyT(func(v *ImageExportTask) pulumi.StringOutput { return v.Comment }).(pulumi.StringOutput) -} - -// The ID of the OMI to export. -func (o ImageExportTaskOutput) ImageId() pulumi.StringOutput { - return o.ApplyT(func(v *ImageExportTask) pulumi.StringOutput { return v.ImageId }).(pulumi.StringOutput) -} - -// Information about the OOS export task to create. -func (o ImageExportTaskOutput) OsuExports() ImageExportTaskOsuExportArrayOutput { - return o.ApplyT(func(v *ImageExportTask) ImageExportTaskOsuExportArrayOutput { return v.OsuExports }).(ImageExportTaskOsuExportArrayOutput) -} - -// The progress of the OMI export task, as a percentage. -func (o ImageExportTaskOutput) Progress() pulumi.IntOutput { - return o.ApplyT(func(v *ImageExportTask) pulumi.IntOutput { return v.Progress }).(pulumi.IntOutput) -} - -func (o ImageExportTaskOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *ImageExportTask) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -// The state of the OMI export task (`pending/queued` \| `pending` \| `completed` \| `failed` \| `cancelled`). -func (o ImageExportTaskOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v *ImageExportTask) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) -} - -// A tag to add to this resource. You can specify this argument several times. -func (o ImageExportTaskOutput) Tags() ImageExportTaskTagArrayOutput { - return o.ApplyT(func(v *ImageExportTask) ImageExportTaskTagArrayOutput { return v.Tags }).(ImageExportTaskTagArrayOutput) -} - -// The ID of the OMI export task. -func (o ImageExportTaskOutput) TaskId() pulumi.StringOutput { - return o.ApplyT(func(v *ImageExportTask) pulumi.StringOutput { return v.TaskId }).(pulumi.StringOutput) -} - -type ImageExportTaskArrayOutput struct{ *pulumi.OutputState } - -func (ImageExportTaskArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*ImageExportTask)(nil)).Elem() -} - -func (o ImageExportTaskArrayOutput) ToImageExportTaskArrayOutput() ImageExportTaskArrayOutput { - return o -} - -func (o ImageExportTaskArrayOutput) ToImageExportTaskArrayOutputWithContext(ctx context.Context) ImageExportTaskArrayOutput { - return o -} - -func (o ImageExportTaskArrayOutput) Index(i pulumi.IntInput) ImageExportTaskOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ImageExportTask { - return vs[0].([]*ImageExportTask)[vs[1].(int)] - }).(ImageExportTaskOutput) -} - -type ImageExportTaskMapOutput struct{ *pulumi.OutputState } - -func (ImageExportTaskMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*ImageExportTask)(nil)).Elem() -} - -func (o ImageExportTaskMapOutput) ToImageExportTaskMapOutput() ImageExportTaskMapOutput { - return o -} - -func (o ImageExportTaskMapOutput) ToImageExportTaskMapOutputWithContext(ctx context.Context) ImageExportTaskMapOutput { - return o -} - -func (o ImageExportTaskMapOutput) MapIndex(k pulumi.StringInput) ImageExportTaskOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ImageExportTask { - return vs[0].(map[string]*ImageExportTask)[vs[1].(string)] - }).(ImageExportTaskOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*ImageExportTaskInput)(nil)).Elem(), &ImageExportTask{}) - pulumi.RegisterInputType(reflect.TypeOf((*ImageExportTaskArrayInput)(nil)).Elem(), ImageExportTaskArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*ImageExportTaskMapInput)(nil)).Elem(), ImageExportTaskMap{}) - pulumi.RegisterOutputType(ImageExportTaskOutput{}) - pulumi.RegisterOutputType(ImageExportTaskArrayOutput{}) - pulumi.RegisterOutputType(ImageExportTaskMapOutput{}) -} diff --git a/sdk/go/outscale/imageLaunchPermission.go b/sdk/go/outscale/imageLaunchPermission.go deleted file mode 100644 index b9e845d..0000000 --- a/sdk/go/outscale/imageLaunchPermission.go +++ /dev/null @@ -1,349 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "errors" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages an image launch permission. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-OMIs.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#updateimage). -// -// ## Example Usage -// ### Add permissions -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewImageLaunchPermission(ctx, "image01", &outscale.ImageLaunchPermissionArgs{ -// ImageId: pulumi.String("ami-12345678"), -// PermissionAdditions: &outscale.ImageLaunchPermissionPermissionAdditionsArgs{ -// AccountIds: pulumi.StringArray{ -// pulumi.String("012345678910"), -// }, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Remove permissions -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewImageLaunchPermission(ctx, "image02", &outscale.ImageLaunchPermissionArgs{ -// ImageId: pulumi.String("ami-12345678"), -// PermissionRemovals: &outscale.ImageLaunchPermissionPermissionRemovalsArgs{ -// AccountIds: pulumi.StringArray{ -// pulumi.String("012345678910"), -// }, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -type ImageLaunchPermission struct { - pulumi.CustomResourceState - - // The description of the OMI. - Description pulumi.StringOutput `pulumi:"description"` - // The ID of the OMI you want to modify. - ImageId pulumi.StringOutput `pulumi:"imageId"` - // Information about the users to whom you want to give permissions for the resource. - PermissionAdditions ImageLaunchPermissionPermissionAdditionsPtrOutput `pulumi:"permissionAdditions"` - // Information about the users from whom you want to remove permissions for the resource. - PermissionRemovals ImageLaunchPermissionPermissionRemovalsPtrOutput `pulumi:"permissionRemovals"` - // Permissions for the resource. - PermissionsToLaunches ImageLaunchPermissionPermissionsToLaunchArrayOutput `pulumi:"permissionsToLaunches"` - RequestId pulumi.StringOutput `pulumi:"requestId"` -} - -// NewImageLaunchPermission registers a new resource with the given unique name, arguments, and options. -func NewImageLaunchPermission(ctx *pulumi.Context, - name string, args *ImageLaunchPermissionArgs, opts ...pulumi.ResourceOption) (*ImageLaunchPermission, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.ImageId == nil { - return nil, errors.New("invalid value for required argument 'ImageId'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource ImageLaunchPermission - err := ctx.RegisterResource("outscale:index/imageLaunchPermission:ImageLaunchPermission", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetImageLaunchPermission gets an existing ImageLaunchPermission resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetImageLaunchPermission(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *ImageLaunchPermissionState, opts ...pulumi.ResourceOption) (*ImageLaunchPermission, error) { - var resource ImageLaunchPermission - err := ctx.ReadResource("outscale:index/imageLaunchPermission:ImageLaunchPermission", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering ImageLaunchPermission resources. -type imageLaunchPermissionState struct { - // The description of the OMI. - Description *string `pulumi:"description"` - // The ID of the OMI you want to modify. - ImageId *string `pulumi:"imageId"` - // Information about the users to whom you want to give permissions for the resource. - PermissionAdditions *ImageLaunchPermissionPermissionAdditions `pulumi:"permissionAdditions"` - // Information about the users from whom you want to remove permissions for the resource. - PermissionRemovals *ImageLaunchPermissionPermissionRemovals `pulumi:"permissionRemovals"` - // Permissions for the resource. - PermissionsToLaunches []ImageLaunchPermissionPermissionsToLaunch `pulumi:"permissionsToLaunches"` - RequestId *string `pulumi:"requestId"` -} - -type ImageLaunchPermissionState struct { - // The description of the OMI. - Description pulumi.StringPtrInput - // The ID of the OMI you want to modify. - ImageId pulumi.StringPtrInput - // Information about the users to whom you want to give permissions for the resource. - PermissionAdditions ImageLaunchPermissionPermissionAdditionsPtrInput - // Information about the users from whom you want to remove permissions for the resource. - PermissionRemovals ImageLaunchPermissionPermissionRemovalsPtrInput - // Permissions for the resource. - PermissionsToLaunches ImageLaunchPermissionPermissionsToLaunchArrayInput - RequestId pulumi.StringPtrInput -} - -func (ImageLaunchPermissionState) ElementType() reflect.Type { - return reflect.TypeOf((*imageLaunchPermissionState)(nil)).Elem() -} - -type imageLaunchPermissionArgs struct { - // The ID of the OMI you want to modify. - ImageId string `pulumi:"imageId"` - // Information about the users to whom you want to give permissions for the resource. - PermissionAdditions *ImageLaunchPermissionPermissionAdditions `pulumi:"permissionAdditions"` - // Information about the users from whom you want to remove permissions for the resource. - PermissionRemovals *ImageLaunchPermissionPermissionRemovals `pulumi:"permissionRemovals"` -} - -// The set of arguments for constructing a ImageLaunchPermission resource. -type ImageLaunchPermissionArgs struct { - // The ID of the OMI you want to modify. - ImageId pulumi.StringInput - // Information about the users to whom you want to give permissions for the resource. - PermissionAdditions ImageLaunchPermissionPermissionAdditionsPtrInput - // Information about the users from whom you want to remove permissions for the resource. - PermissionRemovals ImageLaunchPermissionPermissionRemovalsPtrInput -} - -func (ImageLaunchPermissionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*imageLaunchPermissionArgs)(nil)).Elem() -} - -type ImageLaunchPermissionInput interface { - pulumi.Input - - ToImageLaunchPermissionOutput() ImageLaunchPermissionOutput - ToImageLaunchPermissionOutputWithContext(ctx context.Context) ImageLaunchPermissionOutput -} - -func (*ImageLaunchPermission) ElementType() reflect.Type { - return reflect.TypeOf((**ImageLaunchPermission)(nil)).Elem() -} - -func (i *ImageLaunchPermission) ToImageLaunchPermissionOutput() ImageLaunchPermissionOutput { - return i.ToImageLaunchPermissionOutputWithContext(context.Background()) -} - -func (i *ImageLaunchPermission) ToImageLaunchPermissionOutputWithContext(ctx context.Context) ImageLaunchPermissionOutput { - return pulumi.ToOutputWithContext(ctx, i).(ImageLaunchPermissionOutput) -} - -// ImageLaunchPermissionArrayInput is an input type that accepts ImageLaunchPermissionArray and ImageLaunchPermissionArrayOutput values. -// You can construct a concrete instance of `ImageLaunchPermissionArrayInput` via: -// -// ImageLaunchPermissionArray{ ImageLaunchPermissionArgs{...} } -type ImageLaunchPermissionArrayInput interface { - pulumi.Input - - ToImageLaunchPermissionArrayOutput() ImageLaunchPermissionArrayOutput - ToImageLaunchPermissionArrayOutputWithContext(context.Context) ImageLaunchPermissionArrayOutput -} - -type ImageLaunchPermissionArray []ImageLaunchPermissionInput - -func (ImageLaunchPermissionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*ImageLaunchPermission)(nil)).Elem() -} - -func (i ImageLaunchPermissionArray) ToImageLaunchPermissionArrayOutput() ImageLaunchPermissionArrayOutput { - return i.ToImageLaunchPermissionArrayOutputWithContext(context.Background()) -} - -func (i ImageLaunchPermissionArray) ToImageLaunchPermissionArrayOutputWithContext(ctx context.Context) ImageLaunchPermissionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ImageLaunchPermissionArrayOutput) -} - -// ImageLaunchPermissionMapInput is an input type that accepts ImageLaunchPermissionMap and ImageLaunchPermissionMapOutput values. -// You can construct a concrete instance of `ImageLaunchPermissionMapInput` via: -// -// ImageLaunchPermissionMap{ "key": ImageLaunchPermissionArgs{...} } -type ImageLaunchPermissionMapInput interface { - pulumi.Input - - ToImageLaunchPermissionMapOutput() ImageLaunchPermissionMapOutput - ToImageLaunchPermissionMapOutputWithContext(context.Context) ImageLaunchPermissionMapOutput -} - -type ImageLaunchPermissionMap map[string]ImageLaunchPermissionInput - -func (ImageLaunchPermissionMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*ImageLaunchPermission)(nil)).Elem() -} - -func (i ImageLaunchPermissionMap) ToImageLaunchPermissionMapOutput() ImageLaunchPermissionMapOutput { - return i.ToImageLaunchPermissionMapOutputWithContext(context.Background()) -} - -func (i ImageLaunchPermissionMap) ToImageLaunchPermissionMapOutputWithContext(ctx context.Context) ImageLaunchPermissionMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(ImageLaunchPermissionMapOutput) -} - -type ImageLaunchPermissionOutput struct{ *pulumi.OutputState } - -func (ImageLaunchPermissionOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ImageLaunchPermission)(nil)).Elem() -} - -func (o ImageLaunchPermissionOutput) ToImageLaunchPermissionOutput() ImageLaunchPermissionOutput { - return o -} - -func (o ImageLaunchPermissionOutput) ToImageLaunchPermissionOutputWithContext(ctx context.Context) ImageLaunchPermissionOutput { - return o -} - -// The description of the OMI. -func (o ImageLaunchPermissionOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v *ImageLaunchPermission) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) -} - -// The ID of the OMI you want to modify. -func (o ImageLaunchPermissionOutput) ImageId() pulumi.StringOutput { - return o.ApplyT(func(v *ImageLaunchPermission) pulumi.StringOutput { return v.ImageId }).(pulumi.StringOutput) -} - -// Information about the users to whom you want to give permissions for the resource. -func (o ImageLaunchPermissionOutput) PermissionAdditions() ImageLaunchPermissionPermissionAdditionsPtrOutput { - return o.ApplyT(func(v *ImageLaunchPermission) ImageLaunchPermissionPermissionAdditionsPtrOutput { - return v.PermissionAdditions - }).(ImageLaunchPermissionPermissionAdditionsPtrOutput) -} - -// Information about the users from whom you want to remove permissions for the resource. -func (o ImageLaunchPermissionOutput) PermissionRemovals() ImageLaunchPermissionPermissionRemovalsPtrOutput { - return o.ApplyT(func(v *ImageLaunchPermission) ImageLaunchPermissionPermissionRemovalsPtrOutput { - return v.PermissionRemovals - }).(ImageLaunchPermissionPermissionRemovalsPtrOutput) -} - -// Permissions for the resource. -func (o ImageLaunchPermissionOutput) PermissionsToLaunches() ImageLaunchPermissionPermissionsToLaunchArrayOutput { - return o.ApplyT(func(v *ImageLaunchPermission) ImageLaunchPermissionPermissionsToLaunchArrayOutput { - return v.PermissionsToLaunches - }).(ImageLaunchPermissionPermissionsToLaunchArrayOutput) -} - -func (o ImageLaunchPermissionOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *ImageLaunchPermission) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -type ImageLaunchPermissionArrayOutput struct{ *pulumi.OutputState } - -func (ImageLaunchPermissionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*ImageLaunchPermission)(nil)).Elem() -} - -func (o ImageLaunchPermissionArrayOutput) ToImageLaunchPermissionArrayOutput() ImageLaunchPermissionArrayOutput { - return o -} - -func (o ImageLaunchPermissionArrayOutput) ToImageLaunchPermissionArrayOutputWithContext(ctx context.Context) ImageLaunchPermissionArrayOutput { - return o -} - -func (o ImageLaunchPermissionArrayOutput) Index(i pulumi.IntInput) ImageLaunchPermissionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ImageLaunchPermission { - return vs[0].([]*ImageLaunchPermission)[vs[1].(int)] - }).(ImageLaunchPermissionOutput) -} - -type ImageLaunchPermissionMapOutput struct{ *pulumi.OutputState } - -func (ImageLaunchPermissionMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*ImageLaunchPermission)(nil)).Elem() -} - -func (o ImageLaunchPermissionMapOutput) ToImageLaunchPermissionMapOutput() ImageLaunchPermissionMapOutput { - return o -} - -func (o ImageLaunchPermissionMapOutput) ToImageLaunchPermissionMapOutputWithContext(ctx context.Context) ImageLaunchPermissionMapOutput { - return o -} - -func (o ImageLaunchPermissionMapOutput) MapIndex(k pulumi.StringInput) ImageLaunchPermissionOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ImageLaunchPermission { - return vs[0].(map[string]*ImageLaunchPermission)[vs[1].(string)] - }).(ImageLaunchPermissionOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*ImageLaunchPermissionInput)(nil)).Elem(), &ImageLaunchPermission{}) - pulumi.RegisterInputType(reflect.TypeOf((*ImageLaunchPermissionArrayInput)(nil)).Elem(), ImageLaunchPermissionArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*ImageLaunchPermissionMapInput)(nil)).Elem(), ImageLaunchPermissionMap{}) - pulumi.RegisterOutputType(ImageLaunchPermissionOutput{}) - pulumi.RegisterOutputType(ImageLaunchPermissionArrayOutput{}) - pulumi.RegisterOutputType(ImageLaunchPermissionMapOutput{}) -} diff --git a/sdk/go/outscale/init.go b/sdk/go/outscale/init.go deleted file mode 100644 index 06a6c7d..0000000 --- a/sdk/go/outscale/init.go +++ /dev/null @@ -1,402 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "fmt" - - "github.com/blang/semver" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -type module struct { - version semver.Version -} - -func (m *module) Version() semver.Version { - return m.version -} - -func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi.Resource, err error) { - switch typ { - case "outscale:index/accessKey:AccessKey": - r = &AccessKey{} - case "outscale:index/apiAccessPolicy:ApiAccessPolicy": - r = &ApiAccessPolicy{} - case "outscale:index/apiAccessRule:ApiAccessRule": - r = &ApiAccessRule{} - case "outscale:index/ca:Ca": - r = &Ca{} - case "outscale:index/clientGateway:ClientGateway": - r = &ClientGateway{} - case "outscale:index/dhcpOption:DhcpOption": - r = &DhcpOption{} - case "outscale:index/flexibleGpu:FlexibleGpu": - r = &FlexibleGpu{} - case "outscale:index/flexibleGpuLink:FlexibleGpuLink": - r = &FlexibleGpuLink{} - case "outscale:index/image:Image": - r = &Image{} - case "outscale:index/imageExportTask:ImageExportTask": - r = &ImageExportTask{} - case "outscale:index/imageLaunchPermission:ImageLaunchPermission": - r = &ImageLaunchPermission{} - case "outscale:index/internetService:InternetService": - r = &InternetService{} - case "outscale:index/internetServiceLink:InternetServiceLink": - r = &InternetServiceLink{} - case "outscale:index/keypair:Keypair": - r = &Keypair{} - case "outscale:index/loadBalancer:LoadBalancer": - r = &LoadBalancer{} - case "outscale:index/loadBalancerAttributes:LoadBalancerAttributes": - r = &LoadBalancerAttributes{} - case "outscale:index/loadBalancerPolicy:LoadBalancerPolicy": - r = &LoadBalancerPolicy{} - case "outscale:index/loadBalancerVms:LoadBalancerVms": - r = &LoadBalancerVms{} - case "outscale:index/natService:NatService": - r = &NatService{} - case "outscale:index/net:Net": - r = &Net{} - case "outscale:index/netAccessPoint:NetAccessPoint": - r = &NetAccessPoint{} - case "outscale:index/netAttributes:NetAttributes": - r = &NetAttributes{} - case "outscale:index/netPeering:NetPeering": - r = &NetPeering{} - case "outscale:index/netPeeringAcception:NetPeeringAcception": - r = &NetPeeringAcception{} - case "outscale:index/nic:Nic": - r = &Nic{} - case "outscale:index/nicLink:NicLink": - r = &NicLink{} - case "outscale:index/nicPrivateIp:NicPrivateIp": - r = &NicPrivateIp{} - case "outscale:index/outboundRule:OutboundRule": - r = &OutboundRule{} - case "outscale:index/publicIp:PublicIp": - r = &PublicIp{} - case "outscale:index/publicIpLink:PublicIpLink": - r = &PublicIpLink{} - case "outscale:index/route:Route": - r = &Route{} - case "outscale:index/routeTable:RouteTable": - r = &RouteTable{} - case "outscale:index/routeTableLink:RouteTableLink": - r = &RouteTableLink{} - case "outscale:index/securityGroup:SecurityGroup": - r = &SecurityGroup{} - case "outscale:index/securityGroupRule:SecurityGroupRule": - r = &SecurityGroupRule{} - case "outscale:index/serverCertificate:ServerCertificate": - r = &ServerCertificate{} - case "outscale:index/snapshot:Snapshot": - r = &Snapshot{} - case "outscale:index/snapshotAttributes:SnapshotAttributes": - r = &SnapshotAttributes{} - case "outscale:index/snapshotExportTask:SnapshotExportTask": - r = &SnapshotExportTask{} - case "outscale:index/subnet:Subnet": - r = &Subnet{} - case "outscale:index/tag:Tag": - r = &Tag{} - case "outscale:index/virtualGateway:VirtualGateway": - r = &VirtualGateway{} - case "outscale:index/virtualGatewayLink:VirtualGatewayLink": - r = &VirtualGatewayLink{} - case "outscale:index/virtualGatewayRoutePropagation:VirtualGatewayRoutePropagation": - r = &VirtualGatewayRoutePropagation{} - case "outscale:index/vm:Vm": - r = &Vm{} - case "outscale:index/volume:Volume": - r = &Volume{} - case "outscale:index/volumesLink:VolumesLink": - r = &VolumesLink{} - case "outscale:index/vpnConnection:VpnConnection": - r = &VpnConnection{} - case "outscale:index/vpnConnectionRoute:VpnConnectionRoute": - r = &VpnConnectionRoute{} - default: - return nil, fmt.Errorf("unknown resource type: %s", typ) - } - - err = ctx.RegisterResource(typ, name, nil, r, pulumi.URN_(urn)) - return -} - -type pkg struct { - version semver.Version -} - -func (p *pkg) Version() semver.Version { - return p.version -} - -func (p *pkg) ConstructProvider(ctx *pulumi.Context, name, typ, urn string) (pulumi.ProviderResource, error) { - if typ != "pulumi:providers:outscale" { - return nil, fmt.Errorf("unknown provider type: %s", typ) - } - - r := &Provider{} - err := ctx.RegisterResource(typ, name, nil, r, pulumi.URN_(urn)) - return r, err -} - -func init() { - version, err := internal.PkgVersion() - if err != nil { - version = semver.Version{Major: 1} - } - pulumi.RegisterResourceModule( - "outscale", - "index/accessKey", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/apiAccessPolicy", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/apiAccessRule", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/ca", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/clientGateway", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/dhcpOption", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/flexibleGpu", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/flexibleGpuLink", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/image", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/imageExportTask", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/imageLaunchPermission", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/internetService", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/internetServiceLink", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/keypair", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/loadBalancer", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/loadBalancerAttributes", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/loadBalancerPolicy", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/loadBalancerVms", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/natService", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/net", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/netAccessPoint", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/netAttributes", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/netPeering", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/netPeeringAcception", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/nic", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/nicLink", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/nicPrivateIp", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/outboundRule", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/publicIp", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/publicIpLink", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/route", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/routeTable", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/routeTableLink", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/securityGroup", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/securityGroupRule", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/serverCertificate", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/snapshot", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/snapshotAttributes", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/snapshotExportTask", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/subnet", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/tag", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/virtualGateway", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/virtualGatewayLink", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/virtualGatewayRoutePropagation", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/vm", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/volume", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/volumesLink", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/vpnConnection", - &module{version}, - ) - pulumi.RegisterResourceModule( - "outscale", - "index/vpnConnectionRoute", - &module{version}, - ) - pulumi.RegisterResourcePackage( - "outscale", - &pkg{version}, - ) -} diff --git a/sdk/go/outscale/internal/pulumiUtilities.go b/sdk/go/outscale/internal/pulumiUtilities.go deleted file mode 100644 index 7f4872a..0000000 --- a/sdk/go/outscale/internal/pulumiUtilities.go +++ /dev/null @@ -1,184 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package internal - -import ( - "fmt" - "os" - "reflect" - "regexp" - "strconv" - "strings" - - "github.com/blang/semver" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -import ( - "github.com/pulumi/pulumi/sdk/v3/go/pulumi/internals" -) - -type envParser func(v string) interface{} - -func ParseEnvBool(v string) interface{} { - b, err := strconv.ParseBool(v) - if err != nil { - return nil - } - return b -} - -func ParseEnvInt(v string) interface{} { - i, err := strconv.ParseInt(v, 0, 0) - if err != nil { - return nil - } - return int(i) -} - -func ParseEnvFloat(v string) interface{} { - f, err := strconv.ParseFloat(v, 64) - if err != nil { - return nil - } - return f -} - -func ParseEnvStringArray(v string) interface{} { - var result pulumi.StringArray - for _, item := range strings.Split(v, ";") { - result = append(result, pulumi.String(item)) - } - return result -} - -func GetEnvOrDefault(def interface{}, parser envParser, vars ...string) interface{} { - for _, v := range vars { - if value, ok := os.LookupEnv(v); ok { - if parser != nil { - return parser(value) - } - return value - } - } - return def -} - -// PkgVersion uses reflection to determine the version of the current package. -// If a version cannot be determined, v1 will be assumed. The second return -// value is always nil. -func PkgVersion() (semver.Version, error) { - // emptyVersion defaults to v0.0.0 - if !SdkVersion.Equals(semver.Version{}) { - return SdkVersion, nil - } - type sentinal struct{} - pkgPath := reflect.TypeOf(sentinal{}).PkgPath() - re := regexp.MustCompile("^.*/pulumi-outscale/sdk(/v\\d+)?") - if match := re.FindStringSubmatch(pkgPath); match != nil { - vStr := match[1] - if len(vStr) == 0 { // If the version capture group was empty, default to v1. - return semver.Version{Major: 1}, nil - } - return semver.MustParse(fmt.Sprintf("%s.0.0", vStr[2:])), nil - } - return semver.Version{Major: 1}, nil -} - -// isZero is a null safe check for if a value is it's types zero value. -func IsZero(v interface{}) bool { - if v == nil { - return true - } - return reflect.ValueOf(v).IsZero() -} - -func CallPlain( - ctx *pulumi.Context, - tok string, - args pulumi.Input, - output pulumi.Output, - self pulumi.Resource, - property string, - resultPtr reflect.Value, - errorPtr *error, - opts ...pulumi.InvokeOption, -) { - res, err := callPlainInner(ctx, tok, args, output, self, opts...) - if err != nil { - *errorPtr = err - return - } - - v := reflect.ValueOf(res) - - // extract res.property field if asked to do so - if property != "" { - v = v.FieldByName("Res") - } - - // return by setting the result pointer; this style of returns shortens the generated code without generics - resultPtr.Elem().Set(v) -} - -func callPlainInner( - ctx *pulumi.Context, - tok string, - args pulumi.Input, - output pulumi.Output, - self pulumi.Resource, - opts ...pulumi.InvokeOption, -) (any, error) { - o, err := ctx.Call(tok, args, output, self, opts...) - if err != nil { - return nil, err - } - - outputData, err := internals.UnsafeAwaitOutput(ctx.Context(), o) - if err != nil { - return nil, err - } - - // Ingoring deps silently. They are typically non-empty, r.f() calls include r as a dependency. - known := outputData.Known - value := outputData.Value - secret := outputData.Secret - - problem := "" - if !known { - problem = "an unknown value" - } else if secret { - problem = "a secret value" - } - - if problem != "" { - return nil, fmt.Errorf("Plain resource method %q incorrectly returned %s. "+ - "This is an error in the provider, please report this to the provider developer.", - tok, problem) - } - - return value, nil -} - -// PkgResourceDefaultOpts provides package level defaults to pulumi.OptionResource. -func PkgResourceDefaultOpts(opts []pulumi.ResourceOption) []pulumi.ResourceOption { - defaults := []pulumi.ResourceOption{} - - version := SdkVersion - if !version.Equals(semver.Version{}) { - defaults = append(defaults, pulumi.Version(version.String())) - } - return append(defaults, opts...) -} - -// PkgInvokeDefaultOpts provides package level defaults to pulumi.OptionInvoke. -func PkgInvokeDefaultOpts(opts []pulumi.InvokeOption) []pulumi.InvokeOption { - defaults := []pulumi.InvokeOption{} - - version := SdkVersion - if !version.Equals(semver.Version{}) { - defaults = append(defaults, pulumi.Version(version.String())) - } - return append(defaults, opts...) -} diff --git a/sdk/go/outscale/internal/pulumiVersion.go b/sdk/go/outscale/internal/pulumiVersion.go deleted file mode 100644 index d591687..0000000 --- a/sdk/go/outscale/internal/pulumiVersion.go +++ /dev/null @@ -1,11 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package internal - -import ( - "github.com/blang/semver" -) - -var SdkVersion semver.Version = semver.Version{} -var pluginDownloadURL string = "" diff --git a/sdk/go/outscale/internetService.go b/sdk/go/outscale/internetService.go deleted file mode 100644 index 3c0bab3..0000000 --- a/sdk/go/outscale/internetService.go +++ /dev/null @@ -1,292 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages an Internet service. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Internet-Gateways.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-internetservice). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewInternetService(ctx, "internetService01", nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// An internet service can be imported using its ID. For exampleconsole -// -// ```sh -// -// $ pulumi import outscale:index/internetService:InternetService ImportedInternetService igw-12345678 -// -// ``` -type InternetService struct { - pulumi.CustomResourceState - - // The ID of the Internet service. - InternetServiceId pulumi.StringOutput `pulumi:"internetServiceId"` - // The ID of the Net attached to the Internet service. - NetId pulumi.StringOutput `pulumi:"netId"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - // The state of the attachment of the Internet service to the Net (always `available`). - State pulumi.StringOutput `pulumi:"state"` - // A tag to add to this resource. You can specify this argument several times. - Tags InternetServiceTagArrayOutput `pulumi:"tags"` -} - -// NewInternetService registers a new resource with the given unique name, arguments, and options. -func NewInternetService(ctx *pulumi.Context, - name string, args *InternetServiceArgs, opts ...pulumi.ResourceOption) (*InternetService, error) { - if args == nil { - args = &InternetServiceArgs{} - } - - opts = internal.PkgResourceDefaultOpts(opts) - var resource InternetService - err := ctx.RegisterResource("outscale:index/internetService:InternetService", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetInternetService gets an existing InternetService resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetInternetService(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *InternetServiceState, opts ...pulumi.ResourceOption) (*InternetService, error) { - var resource InternetService - err := ctx.ReadResource("outscale:index/internetService:InternetService", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering InternetService resources. -type internetServiceState struct { - // The ID of the Internet service. - InternetServiceId *string `pulumi:"internetServiceId"` - // The ID of the Net attached to the Internet service. - NetId *string `pulumi:"netId"` - RequestId *string `pulumi:"requestId"` - // The state of the attachment of the Internet service to the Net (always `available`). - State *string `pulumi:"state"` - // A tag to add to this resource. You can specify this argument several times. - Tags []InternetServiceTag `pulumi:"tags"` -} - -type InternetServiceState struct { - // The ID of the Internet service. - InternetServiceId pulumi.StringPtrInput - // The ID of the Net attached to the Internet service. - NetId pulumi.StringPtrInput - RequestId pulumi.StringPtrInput - // The state of the attachment of the Internet service to the Net (always `available`). - State pulumi.StringPtrInput - // A tag to add to this resource. You can specify this argument several times. - Tags InternetServiceTagArrayInput -} - -func (InternetServiceState) ElementType() reflect.Type { - return reflect.TypeOf((*internetServiceState)(nil)).Elem() -} - -type internetServiceArgs struct { - // A tag to add to this resource. You can specify this argument several times. - Tags []InternetServiceTag `pulumi:"tags"` -} - -// The set of arguments for constructing a InternetService resource. -type InternetServiceArgs struct { - // A tag to add to this resource. You can specify this argument several times. - Tags InternetServiceTagArrayInput -} - -func (InternetServiceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*internetServiceArgs)(nil)).Elem() -} - -type InternetServiceInput interface { - pulumi.Input - - ToInternetServiceOutput() InternetServiceOutput - ToInternetServiceOutputWithContext(ctx context.Context) InternetServiceOutput -} - -func (*InternetService) ElementType() reflect.Type { - return reflect.TypeOf((**InternetService)(nil)).Elem() -} - -func (i *InternetService) ToInternetServiceOutput() InternetServiceOutput { - return i.ToInternetServiceOutputWithContext(context.Background()) -} - -func (i *InternetService) ToInternetServiceOutputWithContext(ctx context.Context) InternetServiceOutput { - return pulumi.ToOutputWithContext(ctx, i).(InternetServiceOutput) -} - -// InternetServiceArrayInput is an input type that accepts InternetServiceArray and InternetServiceArrayOutput values. -// You can construct a concrete instance of `InternetServiceArrayInput` via: -// -// InternetServiceArray{ InternetServiceArgs{...} } -type InternetServiceArrayInput interface { - pulumi.Input - - ToInternetServiceArrayOutput() InternetServiceArrayOutput - ToInternetServiceArrayOutputWithContext(context.Context) InternetServiceArrayOutput -} - -type InternetServiceArray []InternetServiceInput - -func (InternetServiceArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*InternetService)(nil)).Elem() -} - -func (i InternetServiceArray) ToInternetServiceArrayOutput() InternetServiceArrayOutput { - return i.ToInternetServiceArrayOutputWithContext(context.Background()) -} - -func (i InternetServiceArray) ToInternetServiceArrayOutputWithContext(ctx context.Context) InternetServiceArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(InternetServiceArrayOutput) -} - -// InternetServiceMapInput is an input type that accepts InternetServiceMap and InternetServiceMapOutput values. -// You can construct a concrete instance of `InternetServiceMapInput` via: -// -// InternetServiceMap{ "key": InternetServiceArgs{...} } -type InternetServiceMapInput interface { - pulumi.Input - - ToInternetServiceMapOutput() InternetServiceMapOutput - ToInternetServiceMapOutputWithContext(context.Context) InternetServiceMapOutput -} - -type InternetServiceMap map[string]InternetServiceInput - -func (InternetServiceMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*InternetService)(nil)).Elem() -} - -func (i InternetServiceMap) ToInternetServiceMapOutput() InternetServiceMapOutput { - return i.ToInternetServiceMapOutputWithContext(context.Background()) -} - -func (i InternetServiceMap) ToInternetServiceMapOutputWithContext(ctx context.Context) InternetServiceMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(InternetServiceMapOutput) -} - -type InternetServiceOutput struct{ *pulumi.OutputState } - -func (InternetServiceOutput) ElementType() reflect.Type { - return reflect.TypeOf((**InternetService)(nil)).Elem() -} - -func (o InternetServiceOutput) ToInternetServiceOutput() InternetServiceOutput { - return o -} - -func (o InternetServiceOutput) ToInternetServiceOutputWithContext(ctx context.Context) InternetServiceOutput { - return o -} - -// The ID of the Internet service. -func (o InternetServiceOutput) InternetServiceId() pulumi.StringOutput { - return o.ApplyT(func(v *InternetService) pulumi.StringOutput { return v.InternetServiceId }).(pulumi.StringOutput) -} - -// The ID of the Net attached to the Internet service. -func (o InternetServiceOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v *InternetService) pulumi.StringOutput { return v.NetId }).(pulumi.StringOutput) -} - -func (o InternetServiceOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *InternetService) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -// The state of the attachment of the Internet service to the Net (always `available`). -func (o InternetServiceOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v *InternetService) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) -} - -// A tag to add to this resource. You can specify this argument several times. -func (o InternetServiceOutput) Tags() InternetServiceTagArrayOutput { - return o.ApplyT(func(v *InternetService) InternetServiceTagArrayOutput { return v.Tags }).(InternetServiceTagArrayOutput) -} - -type InternetServiceArrayOutput struct{ *pulumi.OutputState } - -func (InternetServiceArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*InternetService)(nil)).Elem() -} - -func (o InternetServiceArrayOutput) ToInternetServiceArrayOutput() InternetServiceArrayOutput { - return o -} - -func (o InternetServiceArrayOutput) ToInternetServiceArrayOutputWithContext(ctx context.Context) InternetServiceArrayOutput { - return o -} - -func (o InternetServiceArrayOutput) Index(i pulumi.IntInput) InternetServiceOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *InternetService { - return vs[0].([]*InternetService)[vs[1].(int)] - }).(InternetServiceOutput) -} - -type InternetServiceMapOutput struct{ *pulumi.OutputState } - -func (InternetServiceMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*InternetService)(nil)).Elem() -} - -func (o InternetServiceMapOutput) ToInternetServiceMapOutput() InternetServiceMapOutput { - return o -} - -func (o InternetServiceMapOutput) ToInternetServiceMapOutputWithContext(ctx context.Context) InternetServiceMapOutput { - return o -} - -func (o InternetServiceMapOutput) MapIndex(k pulumi.StringInput) InternetServiceOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *InternetService { - return vs[0].(map[string]*InternetService)[vs[1].(string)] - }).(InternetServiceOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*InternetServiceInput)(nil)).Elem(), &InternetService{}) - pulumi.RegisterInputType(reflect.TypeOf((*InternetServiceArrayInput)(nil)).Elem(), InternetServiceArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*InternetServiceMapInput)(nil)).Elem(), InternetServiceMap{}) - pulumi.RegisterOutputType(InternetServiceOutput{}) - pulumi.RegisterOutputType(InternetServiceArrayOutput{}) - pulumi.RegisterOutputType(InternetServiceMapOutput{}) -} diff --git a/sdk/go/outscale/internetServiceLink.go b/sdk/go/outscale/internetServiceLink.go deleted file mode 100644 index 6919f72..0000000 --- a/sdk/go/outscale/internetServiceLink.go +++ /dev/null @@ -1,336 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "errors" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages an Internet service link. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Internet-Gateways.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-internetservice). -// -// ## Example Usage -// ### Required resources -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewNet(ctx, "net01", &outscale.NetArgs{ -// IpRange: pulumi.String("10.0.0.0/18"), -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewInternetService(ctx, "internetService01", nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Link an Internet service to a Net -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewInternetServiceLink(ctx, "internetServiceLink01", &outscale.InternetServiceLinkArgs{ -// InternetServiceId: pulumi.Any(outscale_internet_service.Internet_service01.Internet_service_id), -// NetId: pulumi.Any(outscale_net.Net01.Net_id), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// An internet service link can be imported using the internet service ID. For exampleconsole -// -// ```sh -// -// $ pulumi import outscale:index/internetServiceLink:InternetServiceLink ImportedInternetServiceLink igw-87654321 -// -// ``` -type InternetServiceLink struct { - pulumi.CustomResourceState - - // The ID of the Internet service you want to attach. - InternetServiceId pulumi.StringOutput `pulumi:"internetServiceId"` - // The ID of the Net to which you want to attach the Internet service. - NetId pulumi.StringOutput `pulumi:"netId"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - // The state of the attachment of the Internet service to the Net (always `available`). - State pulumi.StringOutput `pulumi:"state"` - // One or more tags associated with the Internet service. - Tags InternetServiceLinkTagArrayOutput `pulumi:"tags"` -} - -// NewInternetServiceLink registers a new resource with the given unique name, arguments, and options. -func NewInternetServiceLink(ctx *pulumi.Context, - name string, args *InternetServiceLinkArgs, opts ...pulumi.ResourceOption) (*InternetServiceLink, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.InternetServiceId == nil { - return nil, errors.New("invalid value for required argument 'InternetServiceId'") - } - if args.NetId == nil { - return nil, errors.New("invalid value for required argument 'NetId'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource InternetServiceLink - err := ctx.RegisterResource("outscale:index/internetServiceLink:InternetServiceLink", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetInternetServiceLink gets an existing InternetServiceLink resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetInternetServiceLink(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *InternetServiceLinkState, opts ...pulumi.ResourceOption) (*InternetServiceLink, error) { - var resource InternetServiceLink - err := ctx.ReadResource("outscale:index/internetServiceLink:InternetServiceLink", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering InternetServiceLink resources. -type internetServiceLinkState struct { - // The ID of the Internet service you want to attach. - InternetServiceId *string `pulumi:"internetServiceId"` - // The ID of the Net to which you want to attach the Internet service. - NetId *string `pulumi:"netId"` - RequestId *string `pulumi:"requestId"` - // The state of the attachment of the Internet service to the Net (always `available`). - State *string `pulumi:"state"` - // One or more tags associated with the Internet service. - Tags []InternetServiceLinkTag `pulumi:"tags"` -} - -type InternetServiceLinkState struct { - // The ID of the Internet service you want to attach. - InternetServiceId pulumi.StringPtrInput - // The ID of the Net to which you want to attach the Internet service. - NetId pulumi.StringPtrInput - RequestId pulumi.StringPtrInput - // The state of the attachment of the Internet service to the Net (always `available`). - State pulumi.StringPtrInput - // One or more tags associated with the Internet service. - Tags InternetServiceLinkTagArrayInput -} - -func (InternetServiceLinkState) ElementType() reflect.Type { - return reflect.TypeOf((*internetServiceLinkState)(nil)).Elem() -} - -type internetServiceLinkArgs struct { - // The ID of the Internet service you want to attach. - InternetServiceId string `pulumi:"internetServiceId"` - // The ID of the Net to which you want to attach the Internet service. - NetId string `pulumi:"netId"` -} - -// The set of arguments for constructing a InternetServiceLink resource. -type InternetServiceLinkArgs struct { - // The ID of the Internet service you want to attach. - InternetServiceId pulumi.StringInput - // The ID of the Net to which you want to attach the Internet service. - NetId pulumi.StringInput -} - -func (InternetServiceLinkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*internetServiceLinkArgs)(nil)).Elem() -} - -type InternetServiceLinkInput interface { - pulumi.Input - - ToInternetServiceLinkOutput() InternetServiceLinkOutput - ToInternetServiceLinkOutputWithContext(ctx context.Context) InternetServiceLinkOutput -} - -func (*InternetServiceLink) ElementType() reflect.Type { - return reflect.TypeOf((**InternetServiceLink)(nil)).Elem() -} - -func (i *InternetServiceLink) ToInternetServiceLinkOutput() InternetServiceLinkOutput { - return i.ToInternetServiceLinkOutputWithContext(context.Background()) -} - -func (i *InternetServiceLink) ToInternetServiceLinkOutputWithContext(ctx context.Context) InternetServiceLinkOutput { - return pulumi.ToOutputWithContext(ctx, i).(InternetServiceLinkOutput) -} - -// InternetServiceLinkArrayInput is an input type that accepts InternetServiceLinkArray and InternetServiceLinkArrayOutput values. -// You can construct a concrete instance of `InternetServiceLinkArrayInput` via: -// -// InternetServiceLinkArray{ InternetServiceLinkArgs{...} } -type InternetServiceLinkArrayInput interface { - pulumi.Input - - ToInternetServiceLinkArrayOutput() InternetServiceLinkArrayOutput - ToInternetServiceLinkArrayOutputWithContext(context.Context) InternetServiceLinkArrayOutput -} - -type InternetServiceLinkArray []InternetServiceLinkInput - -func (InternetServiceLinkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*InternetServiceLink)(nil)).Elem() -} - -func (i InternetServiceLinkArray) ToInternetServiceLinkArrayOutput() InternetServiceLinkArrayOutput { - return i.ToInternetServiceLinkArrayOutputWithContext(context.Background()) -} - -func (i InternetServiceLinkArray) ToInternetServiceLinkArrayOutputWithContext(ctx context.Context) InternetServiceLinkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(InternetServiceLinkArrayOutput) -} - -// InternetServiceLinkMapInput is an input type that accepts InternetServiceLinkMap and InternetServiceLinkMapOutput values. -// You can construct a concrete instance of `InternetServiceLinkMapInput` via: -// -// InternetServiceLinkMap{ "key": InternetServiceLinkArgs{...} } -type InternetServiceLinkMapInput interface { - pulumi.Input - - ToInternetServiceLinkMapOutput() InternetServiceLinkMapOutput - ToInternetServiceLinkMapOutputWithContext(context.Context) InternetServiceLinkMapOutput -} - -type InternetServiceLinkMap map[string]InternetServiceLinkInput - -func (InternetServiceLinkMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*InternetServiceLink)(nil)).Elem() -} - -func (i InternetServiceLinkMap) ToInternetServiceLinkMapOutput() InternetServiceLinkMapOutput { - return i.ToInternetServiceLinkMapOutputWithContext(context.Background()) -} - -func (i InternetServiceLinkMap) ToInternetServiceLinkMapOutputWithContext(ctx context.Context) InternetServiceLinkMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(InternetServiceLinkMapOutput) -} - -type InternetServiceLinkOutput struct{ *pulumi.OutputState } - -func (InternetServiceLinkOutput) ElementType() reflect.Type { - return reflect.TypeOf((**InternetServiceLink)(nil)).Elem() -} - -func (o InternetServiceLinkOutput) ToInternetServiceLinkOutput() InternetServiceLinkOutput { - return o -} - -func (o InternetServiceLinkOutput) ToInternetServiceLinkOutputWithContext(ctx context.Context) InternetServiceLinkOutput { - return o -} - -// The ID of the Internet service you want to attach. -func (o InternetServiceLinkOutput) InternetServiceId() pulumi.StringOutput { - return o.ApplyT(func(v *InternetServiceLink) pulumi.StringOutput { return v.InternetServiceId }).(pulumi.StringOutput) -} - -// The ID of the Net to which you want to attach the Internet service. -func (o InternetServiceLinkOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v *InternetServiceLink) pulumi.StringOutput { return v.NetId }).(pulumi.StringOutput) -} - -func (o InternetServiceLinkOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *InternetServiceLink) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -// The state of the attachment of the Internet service to the Net (always `available`). -func (o InternetServiceLinkOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v *InternetServiceLink) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) -} - -// One or more tags associated with the Internet service. -func (o InternetServiceLinkOutput) Tags() InternetServiceLinkTagArrayOutput { - return o.ApplyT(func(v *InternetServiceLink) InternetServiceLinkTagArrayOutput { return v.Tags }).(InternetServiceLinkTagArrayOutput) -} - -type InternetServiceLinkArrayOutput struct{ *pulumi.OutputState } - -func (InternetServiceLinkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*InternetServiceLink)(nil)).Elem() -} - -func (o InternetServiceLinkArrayOutput) ToInternetServiceLinkArrayOutput() InternetServiceLinkArrayOutput { - return o -} - -func (o InternetServiceLinkArrayOutput) ToInternetServiceLinkArrayOutputWithContext(ctx context.Context) InternetServiceLinkArrayOutput { - return o -} - -func (o InternetServiceLinkArrayOutput) Index(i pulumi.IntInput) InternetServiceLinkOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *InternetServiceLink { - return vs[0].([]*InternetServiceLink)[vs[1].(int)] - }).(InternetServiceLinkOutput) -} - -type InternetServiceLinkMapOutput struct{ *pulumi.OutputState } - -func (InternetServiceLinkMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*InternetServiceLink)(nil)).Elem() -} - -func (o InternetServiceLinkMapOutput) ToInternetServiceLinkMapOutput() InternetServiceLinkMapOutput { - return o -} - -func (o InternetServiceLinkMapOutput) ToInternetServiceLinkMapOutputWithContext(ctx context.Context) InternetServiceLinkMapOutput { - return o -} - -func (o InternetServiceLinkMapOutput) MapIndex(k pulumi.StringInput) InternetServiceLinkOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *InternetServiceLink { - return vs[0].(map[string]*InternetServiceLink)[vs[1].(string)] - }).(InternetServiceLinkOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*InternetServiceLinkInput)(nil)).Elem(), &InternetServiceLink{}) - pulumi.RegisterInputType(reflect.TypeOf((*InternetServiceLinkArrayInput)(nil)).Elem(), InternetServiceLinkArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*InternetServiceLinkMapInput)(nil)).Elem(), InternetServiceLinkMap{}) - pulumi.RegisterOutputType(InternetServiceLinkOutput{}) - pulumi.RegisterOutputType(InternetServiceLinkArrayOutput{}) - pulumi.RegisterOutputType(InternetServiceLinkMapOutput{}) -} diff --git a/sdk/go/outscale/keypair.go b/sdk/go/outscale/keypair.go deleted file mode 100644 index b2d7780..0000000 --- a/sdk/go/outscale/keypair.go +++ /dev/null @@ -1,342 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages a keypair. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Keypairs.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-keypair). -// -// ## Example Usage -// ### Create a keypair -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewKeypair(ctx, "keypair01", &outscale.KeypairArgs{ -// KeypairName: pulumi.String("terraform-keypair-create"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Import keypairs -// -// ```go -// package main -// -// import ( -// -// "os" -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func readFileOrPanic(path string) pulumi.StringPtrInput { -// data, err := os.ReadFile(path) -// if err != nil { -// panic(err.Error()) -// } -// return pulumi.String(string(data)) -// } -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewKeypair(ctx, "keypair02", &outscale.KeypairArgs{ -// KeypairName: pulumi.String("terraform-keypair-import-file"), -// PublicKey: readFileOrPanic(""), -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewKeypair(ctx, "keypair03", &outscale.KeypairArgs{ -// KeypairName: pulumi.String("terraform-keypair-import-text"), -// PublicKey: pulumi.String("UFVCTElDIEtFWQ=="), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// A keypair can be imported using its name. For exampleconsole -// -// ```sh -// -// $ pulumi import outscale:index/keypair:Keypair ImportedKeypair Name-of-the-Keypair -// -// ``` -type Keypair struct { - pulumi.CustomResourceState - - // The MD5 public key fingerprint as specified in section 4 of RFC 4716. - KeypairFingerprint pulumi.StringOutput `pulumi:"keypairFingerprint"` - // A unique name for the keypair, with a maximum length of 255 [ASCII printable characters](https://en.wikipedia.org/wiki/ASCII#Printable_characters). - KeypairName pulumi.StringOutput `pulumi:"keypairName"` - // The private key. When saving the private key in a .rsa file, replace the `\n` escape sequences with line breaks. - PrivateKey pulumi.StringOutput `pulumi:"privateKey"` - // The public key. It must be Base64-encoded. - PublicKey pulumi.StringOutput `pulumi:"publicKey"` - RequestId pulumi.StringOutput `pulumi:"requestId"` -} - -// NewKeypair registers a new resource with the given unique name, arguments, and options. -func NewKeypair(ctx *pulumi.Context, - name string, args *KeypairArgs, opts ...pulumi.ResourceOption) (*Keypair, error) { - if args == nil { - args = &KeypairArgs{} - } - - opts = internal.PkgResourceDefaultOpts(opts) - var resource Keypair - err := ctx.RegisterResource("outscale:index/keypair:Keypair", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetKeypair gets an existing Keypair resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetKeypair(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *KeypairState, opts ...pulumi.ResourceOption) (*Keypair, error) { - var resource Keypair - err := ctx.ReadResource("outscale:index/keypair:Keypair", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering Keypair resources. -type keypairState struct { - // The MD5 public key fingerprint as specified in section 4 of RFC 4716. - KeypairFingerprint *string `pulumi:"keypairFingerprint"` - // A unique name for the keypair, with a maximum length of 255 [ASCII printable characters](https://en.wikipedia.org/wiki/ASCII#Printable_characters). - KeypairName *string `pulumi:"keypairName"` - // The private key. When saving the private key in a .rsa file, replace the `\n` escape sequences with line breaks. - PrivateKey *string `pulumi:"privateKey"` - // The public key. It must be Base64-encoded. - PublicKey *string `pulumi:"publicKey"` - RequestId *string `pulumi:"requestId"` -} - -type KeypairState struct { - // The MD5 public key fingerprint as specified in section 4 of RFC 4716. - KeypairFingerprint pulumi.StringPtrInput - // A unique name for the keypair, with a maximum length of 255 [ASCII printable characters](https://en.wikipedia.org/wiki/ASCII#Printable_characters). - KeypairName pulumi.StringPtrInput - // The private key. When saving the private key in a .rsa file, replace the `\n` escape sequences with line breaks. - PrivateKey pulumi.StringPtrInput - // The public key. It must be Base64-encoded. - PublicKey pulumi.StringPtrInput - RequestId pulumi.StringPtrInput -} - -func (KeypairState) ElementType() reflect.Type { - return reflect.TypeOf((*keypairState)(nil)).Elem() -} - -type keypairArgs struct { - // A unique name for the keypair, with a maximum length of 255 [ASCII printable characters](https://en.wikipedia.org/wiki/ASCII#Printable_characters). - KeypairName *string `pulumi:"keypairName"` - // The public key. It must be Base64-encoded. - PublicKey *string `pulumi:"publicKey"` -} - -// The set of arguments for constructing a Keypair resource. -type KeypairArgs struct { - // A unique name for the keypair, with a maximum length of 255 [ASCII printable characters](https://en.wikipedia.org/wiki/ASCII#Printable_characters). - KeypairName pulumi.StringPtrInput - // The public key. It must be Base64-encoded. - PublicKey pulumi.StringPtrInput -} - -func (KeypairArgs) ElementType() reflect.Type { - return reflect.TypeOf((*keypairArgs)(nil)).Elem() -} - -type KeypairInput interface { - pulumi.Input - - ToKeypairOutput() KeypairOutput - ToKeypairOutputWithContext(ctx context.Context) KeypairOutput -} - -func (*Keypair) ElementType() reflect.Type { - return reflect.TypeOf((**Keypair)(nil)).Elem() -} - -func (i *Keypair) ToKeypairOutput() KeypairOutput { - return i.ToKeypairOutputWithContext(context.Background()) -} - -func (i *Keypair) ToKeypairOutputWithContext(ctx context.Context) KeypairOutput { - return pulumi.ToOutputWithContext(ctx, i).(KeypairOutput) -} - -// KeypairArrayInput is an input type that accepts KeypairArray and KeypairArrayOutput values. -// You can construct a concrete instance of `KeypairArrayInput` via: -// -// KeypairArray{ KeypairArgs{...} } -type KeypairArrayInput interface { - pulumi.Input - - ToKeypairArrayOutput() KeypairArrayOutput - ToKeypairArrayOutputWithContext(context.Context) KeypairArrayOutput -} - -type KeypairArray []KeypairInput - -func (KeypairArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*Keypair)(nil)).Elem() -} - -func (i KeypairArray) ToKeypairArrayOutput() KeypairArrayOutput { - return i.ToKeypairArrayOutputWithContext(context.Background()) -} - -func (i KeypairArray) ToKeypairArrayOutputWithContext(ctx context.Context) KeypairArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(KeypairArrayOutput) -} - -// KeypairMapInput is an input type that accepts KeypairMap and KeypairMapOutput values. -// You can construct a concrete instance of `KeypairMapInput` via: -// -// KeypairMap{ "key": KeypairArgs{...} } -type KeypairMapInput interface { - pulumi.Input - - ToKeypairMapOutput() KeypairMapOutput - ToKeypairMapOutputWithContext(context.Context) KeypairMapOutput -} - -type KeypairMap map[string]KeypairInput - -func (KeypairMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*Keypair)(nil)).Elem() -} - -func (i KeypairMap) ToKeypairMapOutput() KeypairMapOutput { - return i.ToKeypairMapOutputWithContext(context.Background()) -} - -func (i KeypairMap) ToKeypairMapOutputWithContext(ctx context.Context) KeypairMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(KeypairMapOutput) -} - -type KeypairOutput struct{ *pulumi.OutputState } - -func (KeypairOutput) ElementType() reflect.Type { - return reflect.TypeOf((**Keypair)(nil)).Elem() -} - -func (o KeypairOutput) ToKeypairOutput() KeypairOutput { - return o -} - -func (o KeypairOutput) ToKeypairOutputWithContext(ctx context.Context) KeypairOutput { - return o -} - -// The MD5 public key fingerprint as specified in section 4 of RFC 4716. -func (o KeypairOutput) KeypairFingerprint() pulumi.StringOutput { - return o.ApplyT(func(v *Keypair) pulumi.StringOutput { return v.KeypairFingerprint }).(pulumi.StringOutput) -} - -// A unique name for the keypair, with a maximum length of 255 [ASCII printable characters](https://en.wikipedia.org/wiki/ASCII#Printable_characters). -func (o KeypairOutput) KeypairName() pulumi.StringOutput { - return o.ApplyT(func(v *Keypair) pulumi.StringOutput { return v.KeypairName }).(pulumi.StringOutput) -} - -// The private key. When saving the private key in a .rsa file, replace the `\n` escape sequences with line breaks. -func (o KeypairOutput) PrivateKey() pulumi.StringOutput { - return o.ApplyT(func(v *Keypair) pulumi.StringOutput { return v.PrivateKey }).(pulumi.StringOutput) -} - -// The public key. It must be Base64-encoded. -func (o KeypairOutput) PublicKey() pulumi.StringOutput { - return o.ApplyT(func(v *Keypair) pulumi.StringOutput { return v.PublicKey }).(pulumi.StringOutput) -} - -func (o KeypairOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *Keypair) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -type KeypairArrayOutput struct{ *pulumi.OutputState } - -func (KeypairArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*Keypair)(nil)).Elem() -} - -func (o KeypairArrayOutput) ToKeypairArrayOutput() KeypairArrayOutput { - return o -} - -func (o KeypairArrayOutput) ToKeypairArrayOutputWithContext(ctx context.Context) KeypairArrayOutput { - return o -} - -func (o KeypairArrayOutput) Index(i pulumi.IntInput) KeypairOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Keypair { - return vs[0].([]*Keypair)[vs[1].(int)] - }).(KeypairOutput) -} - -type KeypairMapOutput struct{ *pulumi.OutputState } - -func (KeypairMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*Keypair)(nil)).Elem() -} - -func (o KeypairMapOutput) ToKeypairMapOutput() KeypairMapOutput { - return o -} - -func (o KeypairMapOutput) ToKeypairMapOutputWithContext(ctx context.Context) KeypairMapOutput { - return o -} - -func (o KeypairMapOutput) MapIndex(k pulumi.StringInput) KeypairOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Keypair { - return vs[0].(map[string]*Keypair)[vs[1].(string)] - }).(KeypairOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*KeypairInput)(nil)).Elem(), &Keypair{}) - pulumi.RegisterInputType(reflect.TypeOf((*KeypairArrayInput)(nil)).Elem(), KeypairArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*KeypairMapInput)(nil)).Elem(), KeypairMap{}) - pulumi.RegisterOutputType(KeypairOutput{}) - pulumi.RegisterOutputType(KeypairArrayOutput{}) - pulumi.RegisterOutputType(KeypairMapOutput{}) -} diff --git a/sdk/go/outscale/loadBalancer.go b/sdk/go/outscale/loadBalancer.go deleted file mode 100644 index aa548c7..0000000 --- a/sdk/go/outscale/loadBalancer.go +++ /dev/null @@ -1,703 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "errors" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages a load balancer. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Load-Balancers.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-loadbalancer). -// -// ## Example Usage -// ### Create a load balancer in the public Cloud -// -// ```go -// package main -// -// import ( -// -// "fmt" -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewLoadBalancer(ctx, "loadBalancer01", &outscale.LoadBalancerArgs{ -// Listeners: outscale.LoadBalancerListenerArray{ -// &outscale.LoadBalancerListenerArgs{ -// BackendPort: pulumi.Int(8080), -// BackendProtocol: pulumi.String("HTTP"), -// LoadBalancerPort: pulumi.Int(8080), -// LoadBalancerProtocol: pulumi.String("HTTP"), -// }, -// }, -// LoadBalancerName: pulumi.String("terraform-public-load-balancer"), -// SubregionNames: pulumi.StringArray{ -// pulumi.String(fmt.Sprintf("%va", _var.Region)), -// }, -// Tags: outscale.LoadBalancerTagArray{ -// &outscale.LoadBalancerTagArgs{ -// Key: pulumi.String("name"), -// Value: pulumi.String("terraform-public-load-balancer"), -// }, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Create a load balancer in a Net -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// net01, err := outscale.NewNet(ctx, "net01", &outscale.NetArgs{ -// IpRange: pulumi.String("10.0.0.0/16"), -// }) -// if err != nil { -// return err -// } -// subnet01, err := outscale.NewSubnet(ctx, "subnet01", &outscale.SubnetArgs{ -// NetId: net01.NetId, -// IpRange: pulumi.String("10.0.0.0/24"), -// Tags: outscale.SubnetTagArray{ -// &outscale.SubnetTagArgs{ -// Key: pulumi.String("Name"), -// Value: pulumi.String("terraform-subnet-for-internal-load-balancer"), -// }, -// }, -// }) -// if err != nil { -// return err -// } -// securityGroup01, err := outscale.NewSecurityGroup(ctx, "securityGroup01", &outscale.SecurityGroupArgs{ -// Description: pulumi.String("Terraform security group for internal load balancer"), -// SecurityGroupName: pulumi.String("terraform-security-group-for-internal-load-balancer"), -// NetId: net01.NetId, -// Tags: outscale.SecurityGroupTagArray{ -// &outscale.SecurityGroupTagArgs{ -// Key: pulumi.String("Name"), -// Value: pulumi.String("terraform-security-group-for-internal-load-balancer"), -// }, -// }, -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewLoadBalancer(ctx, "loadBalancer02", &outscale.LoadBalancerArgs{ -// LoadBalancerName: pulumi.String("terraform-private-load-balancer"), -// Listeners: outscale.LoadBalancerListenerArray{ -// &outscale.LoadBalancerListenerArgs{ -// BackendPort: pulumi.Int(80), -// BackendProtocol: pulumi.String("TCP"), -// LoadBalancerProtocol: pulumi.String("TCP"), -// LoadBalancerPort: pulumi.Int(80), -// }, -// }, -// Subnets: pulumi.StringArray{ -// subnet01.SubnetId, -// }, -// SecurityGroups: pulumi.StringArray{ -// securityGroup01.SecurityGroupId, -// }, -// LoadBalancerType: pulumi.String("internal"), -// Tags: outscale.LoadBalancerTagArray{ -// &outscale.LoadBalancerTagArgs{ -// Key: pulumi.String("name"), -// Value: pulumi.String("terraform-private-load-balancer"), -// }, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Create an internet-facing load balancer in a Net -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// net02, err := outscale.NewNet(ctx, "net02", &outscale.NetArgs{ -// IpRange: pulumi.String("10.0.0.0/16"), -// }) -// if err != nil { -// return err -// } -// subnet02, err := outscale.NewSubnet(ctx, "subnet02", &outscale.SubnetArgs{ -// NetId: net02.NetId, -// IpRange: pulumi.String("10.0.0.0/24"), -// Tags: outscale.SubnetTagArray{ -// &outscale.SubnetTagArgs{ -// Key: pulumi.String("Name"), -// Value: pulumi.String("terraform-security-group-for-load-balancer"), -// }, -// }, -// }) -// if err != nil { -// return err -// } -// internetService01, err := outscale.NewInternetService(ctx, "internetService01", nil, pulumi.DependsOn([]pulumi.Resource{ -// net02, -// })) -// if err != nil { -// return err -// } -// _, err = outscale.NewInternetServiceLink(ctx, "internetServiceLink01", &outscale.InternetServiceLinkArgs{ -// InternetServiceId: internetService01.InternetServiceId, -// NetId: net02.NetId, -// }) -// if err != nil { -// return err -// } -// routeTable01, err := outscale.NewRouteTable(ctx, "routeTable01", &outscale.RouteTableArgs{ -// NetId: net02.NetId, -// Tags: outscale.RouteTableTagArray{ -// &outscale.RouteTableTagArgs{ -// Key: pulumi.String("name"), -// Value: pulumi.String("terraform-route-table-for-load-balancer"), -// }, -// }, -// }) -// if err != nil { -// return err -// } -// route01, err := outscale.NewRoute(ctx, "route01", &outscale.RouteArgs{ -// GatewayId: internetService01.ID(), -// DestinationIpRange: pulumi.String("10.0.0.0/0"), -// RouteTableId: routeTable01.RouteTableId, -// }) -// if err != nil { -// return err -// } -// routeTableLink01, err := outscale.NewRouteTableLink(ctx, "routeTableLink01", &outscale.RouteTableLinkArgs{ -// RouteTableId: routeTable01.RouteTableId, -// SubnetId: subnet02.SubnetId, -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewLoadBalancer(ctx, "loadBalancer03", &outscale.LoadBalancerArgs{ -// LoadBalancerName: pulumi.String("terraform-internet-private-lb"), -// Listeners: outscale.LoadBalancerListenerArray{ -// &outscale.LoadBalancerListenerArgs{ -// BackendPort: pulumi.Int(80), -// BackendProtocol: pulumi.String("TCP"), -// LoadBalancerProtocol: pulumi.String("TCP"), -// LoadBalancerPort: pulumi.Int(80), -// }, -// &outscale.LoadBalancerListenerArgs{ -// BackendPort: pulumi.Int(8080), -// BackendProtocol: pulumi.String("HTTP"), -// LoadBalancerProtocol: pulumi.String("HTTP"), -// LoadBalancerPort: pulumi.Int(8080), -// }, -// }, -// Subnets: pulumi.StringArray{ -// subnet02.SubnetId, -// }, -// LoadBalancerType: pulumi.String("internet-facing"), -// PublicIp: pulumi.String("192.0.2.0"), -// Tags: outscale.LoadBalancerTagArray{ -// &outscale.LoadBalancerTagArgs{ -// Key: pulumi.String("name"), -// Value: pulumi.String("terraform-internet-private-lb"), -// }, -// }, -// }, pulumi.DependsOn([]pulumi.Resource{ -// route01, -// routeTableLink01, -// })) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// A load balancer can be imported using its name. For exampleconsole -// -// ```sh -// -// $ pulumi import outscale:index/loadBalancer:LoadBalancer ImportedLbu Name-of-the-Lbu -// -// ``` -type LoadBalancer struct { - pulumi.CustomResourceState - - // Information about access logs. - AccessLogs LoadBalancerAccessLogArrayOutput `pulumi:"accessLogs"` - // The stickiness policies defined for the load balancer. - ApplicationStickyCookiePolicies LoadBalancerApplicationStickyCookiePolicyArrayOutput `pulumi:"applicationStickyCookiePolicies"` - // One or more IDs of back-end VMs for the load balancer. - BackendVmIds pulumi.StringArrayOutput `pulumi:"backendVmIds"` - // The DNS name of the load balancer. - DnsName pulumi.StringOutput `pulumi:"dnsName"` - // Information about the health check configuration. - HealthChecks LoadBalancerHealthCheckArrayOutput `pulumi:"healthChecks"` - // One or more listeners to create. - Listeners LoadBalancerListenerArrayOutput `pulumi:"listeners"` - // The unique name of the load balancer (32 alphanumeric or hyphen characters maximum, but cannot start or end with a hyphen). - LoadBalancerName pulumi.StringOutput `pulumi:"loadBalancerName"` - // The policies defined for the load balancer. - LoadBalancerStickyCookiePolicies LoadBalancerLoadBalancerStickyCookiePolicyArrayOutput `pulumi:"loadBalancerStickyCookiePolicies"` - // The type of load balancer: `internet-facing` or `internal`. Use this parameter only for load balancers in a Net. - LoadBalancerType pulumi.StringOutput `pulumi:"loadBalancerType"` - // The ID of the Net for the load balancer. - NetId pulumi.StringOutput `pulumi:"netId"` - // (internet-facing only) The public IP you want to associate with the load balancer. If not specified, a public IP owned by 3DS OUTSCALE is associated. - PublicIp pulumi.StringOutput `pulumi:"publicIp"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - // Whether secure cookies are enabled for the load balancer. - SecuredCookies pulumi.BoolOutput `pulumi:"securedCookies"` - // (Net only) One or more IDs of security groups you want to assign to the load balancer. If not specified, the default security group of the Net is assigned to the load balancer. - SecurityGroups pulumi.StringArrayOutput `pulumi:"securityGroups"` - // Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.
- // To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. - SourceSecurityGroups LoadBalancerSourceSecurityGroupArrayOutput `pulumi:"sourceSecurityGroups"` - // (Net only) The ID of the Subnet in which you want to create the load balancer. Regardless of this Subnet, the load balancer can distribute traffic to all Subnets. This parameter is required in a Net. - Subnets pulumi.StringArrayOutput `pulumi:"subnets"` - // (public Cloud only) The Subregion in which you want to create the load balancer. Regardless of this Subregion, the load balancer can distribute traffic to all Subregions. This parameter is required in the public Cloud. - SubregionNames pulumi.StringArrayOutput `pulumi:"subregionNames"` - // A tag to add to this resource. You can specify this argument several times. - Tags LoadBalancerTagArrayOutput `pulumi:"tags"` -} - -// NewLoadBalancer registers a new resource with the given unique name, arguments, and options. -func NewLoadBalancer(ctx *pulumi.Context, - name string, args *LoadBalancerArgs, opts ...pulumi.ResourceOption) (*LoadBalancer, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.Listeners == nil { - return nil, errors.New("invalid value for required argument 'Listeners'") - } - if args.LoadBalancerName == nil { - return nil, errors.New("invalid value for required argument 'LoadBalancerName'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource LoadBalancer - err := ctx.RegisterResource("outscale:index/loadBalancer:LoadBalancer", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetLoadBalancer gets an existing LoadBalancer resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetLoadBalancer(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *LoadBalancerState, opts ...pulumi.ResourceOption) (*LoadBalancer, error) { - var resource LoadBalancer - err := ctx.ReadResource("outscale:index/loadBalancer:LoadBalancer", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering LoadBalancer resources. -type loadBalancerState struct { - // Information about access logs. - AccessLogs []LoadBalancerAccessLog `pulumi:"accessLogs"` - // The stickiness policies defined for the load balancer. - ApplicationStickyCookiePolicies []LoadBalancerApplicationStickyCookiePolicy `pulumi:"applicationStickyCookiePolicies"` - // One or more IDs of back-end VMs for the load balancer. - BackendVmIds []string `pulumi:"backendVmIds"` - // The DNS name of the load balancer. - DnsName *string `pulumi:"dnsName"` - // Information about the health check configuration. - HealthChecks []LoadBalancerHealthCheck `pulumi:"healthChecks"` - // One or more listeners to create. - Listeners []LoadBalancerListener `pulumi:"listeners"` - // The unique name of the load balancer (32 alphanumeric or hyphen characters maximum, but cannot start or end with a hyphen). - LoadBalancerName *string `pulumi:"loadBalancerName"` - // The policies defined for the load balancer. - LoadBalancerStickyCookiePolicies []LoadBalancerLoadBalancerStickyCookiePolicy `pulumi:"loadBalancerStickyCookiePolicies"` - // The type of load balancer: `internet-facing` or `internal`. Use this parameter only for load balancers in a Net. - LoadBalancerType *string `pulumi:"loadBalancerType"` - // The ID of the Net for the load balancer. - NetId *string `pulumi:"netId"` - // (internet-facing only) The public IP you want to associate with the load balancer. If not specified, a public IP owned by 3DS OUTSCALE is associated. - PublicIp *string `pulumi:"publicIp"` - RequestId *string `pulumi:"requestId"` - // Whether secure cookies are enabled for the load balancer. - SecuredCookies *bool `pulumi:"securedCookies"` - // (Net only) One or more IDs of security groups you want to assign to the load balancer. If not specified, the default security group of the Net is assigned to the load balancer. - SecurityGroups []string `pulumi:"securityGroups"` - // Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.
- // To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. - SourceSecurityGroups []LoadBalancerSourceSecurityGroup `pulumi:"sourceSecurityGroups"` - // (Net only) The ID of the Subnet in which you want to create the load balancer. Regardless of this Subnet, the load balancer can distribute traffic to all Subnets. This parameter is required in a Net. - Subnets []string `pulumi:"subnets"` - // (public Cloud only) The Subregion in which you want to create the load balancer. Regardless of this Subregion, the load balancer can distribute traffic to all Subregions. This parameter is required in the public Cloud. - SubregionNames []string `pulumi:"subregionNames"` - // A tag to add to this resource. You can specify this argument several times. - Tags []LoadBalancerTag `pulumi:"tags"` -} - -type LoadBalancerState struct { - // Information about access logs. - AccessLogs LoadBalancerAccessLogArrayInput - // The stickiness policies defined for the load balancer. - ApplicationStickyCookiePolicies LoadBalancerApplicationStickyCookiePolicyArrayInput - // One or more IDs of back-end VMs for the load balancer. - BackendVmIds pulumi.StringArrayInput - // The DNS name of the load balancer. - DnsName pulumi.StringPtrInput - // Information about the health check configuration. - HealthChecks LoadBalancerHealthCheckArrayInput - // One or more listeners to create. - Listeners LoadBalancerListenerArrayInput - // The unique name of the load balancer (32 alphanumeric or hyphen characters maximum, but cannot start or end with a hyphen). - LoadBalancerName pulumi.StringPtrInput - // The policies defined for the load balancer. - LoadBalancerStickyCookiePolicies LoadBalancerLoadBalancerStickyCookiePolicyArrayInput - // The type of load balancer: `internet-facing` or `internal`. Use this parameter only for load balancers in a Net. - LoadBalancerType pulumi.StringPtrInput - // The ID of the Net for the load balancer. - NetId pulumi.StringPtrInput - // (internet-facing only) The public IP you want to associate with the load balancer. If not specified, a public IP owned by 3DS OUTSCALE is associated. - PublicIp pulumi.StringPtrInput - RequestId pulumi.StringPtrInput - // Whether secure cookies are enabled for the load balancer. - SecuredCookies pulumi.BoolPtrInput - // (Net only) One or more IDs of security groups you want to assign to the load balancer. If not specified, the default security group of the Net is assigned to the load balancer. - SecurityGroups pulumi.StringArrayInput - // Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.
- // To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. - SourceSecurityGroups LoadBalancerSourceSecurityGroupArrayInput - // (Net only) The ID of the Subnet in which you want to create the load balancer. Regardless of this Subnet, the load balancer can distribute traffic to all Subnets. This parameter is required in a Net. - Subnets pulumi.StringArrayInput - // (public Cloud only) The Subregion in which you want to create the load balancer. Regardless of this Subregion, the load balancer can distribute traffic to all Subregions. This parameter is required in the public Cloud. - SubregionNames pulumi.StringArrayInput - // A tag to add to this resource. You can specify this argument several times. - Tags LoadBalancerTagArrayInput -} - -func (LoadBalancerState) ElementType() reflect.Type { - return reflect.TypeOf((*loadBalancerState)(nil)).Elem() -} - -type loadBalancerArgs struct { - // Information about access logs. - AccessLogs []LoadBalancerAccessLog `pulumi:"accessLogs"` - // One or more IDs of back-end VMs for the load balancer. - BackendVmIds []string `pulumi:"backendVmIds"` - // One or more listeners to create. - Listeners []LoadBalancerListener `pulumi:"listeners"` - // The unique name of the load balancer (32 alphanumeric or hyphen characters maximum, but cannot start or end with a hyphen). - LoadBalancerName string `pulumi:"loadBalancerName"` - // The type of load balancer: `internet-facing` or `internal`. Use this parameter only for load balancers in a Net. - LoadBalancerType *string `pulumi:"loadBalancerType"` - // (internet-facing only) The public IP you want to associate with the load balancer. If not specified, a public IP owned by 3DS OUTSCALE is associated. - PublicIp *string `pulumi:"publicIp"` - // Whether secure cookies are enabled for the load balancer. - SecuredCookies *bool `pulumi:"securedCookies"` - // (Net only) One or more IDs of security groups you want to assign to the load balancer. If not specified, the default security group of the Net is assigned to the load balancer. - SecurityGroups []string `pulumi:"securityGroups"` - // (Net only) The ID of the Subnet in which you want to create the load balancer. Regardless of this Subnet, the load balancer can distribute traffic to all Subnets. This parameter is required in a Net. - Subnets []string `pulumi:"subnets"` - // (public Cloud only) The Subregion in which you want to create the load balancer. Regardless of this Subregion, the load balancer can distribute traffic to all Subregions. This parameter is required in the public Cloud. - SubregionNames []string `pulumi:"subregionNames"` - // A tag to add to this resource. You can specify this argument several times. - Tags []LoadBalancerTag `pulumi:"tags"` -} - -// The set of arguments for constructing a LoadBalancer resource. -type LoadBalancerArgs struct { - // Information about access logs. - AccessLogs LoadBalancerAccessLogArrayInput - // One or more IDs of back-end VMs for the load balancer. - BackendVmIds pulumi.StringArrayInput - // One or more listeners to create. - Listeners LoadBalancerListenerArrayInput - // The unique name of the load balancer (32 alphanumeric or hyphen characters maximum, but cannot start or end with a hyphen). - LoadBalancerName pulumi.StringInput - // The type of load balancer: `internet-facing` or `internal`. Use this parameter only for load balancers in a Net. - LoadBalancerType pulumi.StringPtrInput - // (internet-facing only) The public IP you want to associate with the load balancer. If not specified, a public IP owned by 3DS OUTSCALE is associated. - PublicIp pulumi.StringPtrInput - // Whether secure cookies are enabled for the load balancer. - SecuredCookies pulumi.BoolPtrInput - // (Net only) One or more IDs of security groups you want to assign to the load balancer. If not specified, the default security group of the Net is assigned to the load balancer. - SecurityGroups pulumi.StringArrayInput - // (Net only) The ID of the Subnet in which you want to create the load balancer. Regardless of this Subnet, the load balancer can distribute traffic to all Subnets. This parameter is required in a Net. - Subnets pulumi.StringArrayInput - // (public Cloud only) The Subregion in which you want to create the load balancer. Regardless of this Subregion, the load balancer can distribute traffic to all Subregions. This parameter is required in the public Cloud. - SubregionNames pulumi.StringArrayInput - // A tag to add to this resource. You can specify this argument several times. - Tags LoadBalancerTagArrayInput -} - -func (LoadBalancerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*loadBalancerArgs)(nil)).Elem() -} - -type LoadBalancerInput interface { - pulumi.Input - - ToLoadBalancerOutput() LoadBalancerOutput - ToLoadBalancerOutputWithContext(ctx context.Context) LoadBalancerOutput -} - -func (*LoadBalancer) ElementType() reflect.Type { - return reflect.TypeOf((**LoadBalancer)(nil)).Elem() -} - -func (i *LoadBalancer) ToLoadBalancerOutput() LoadBalancerOutput { - return i.ToLoadBalancerOutputWithContext(context.Background()) -} - -func (i *LoadBalancer) ToLoadBalancerOutputWithContext(ctx context.Context) LoadBalancerOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerOutput) -} - -// LoadBalancerArrayInput is an input type that accepts LoadBalancerArray and LoadBalancerArrayOutput values. -// You can construct a concrete instance of `LoadBalancerArrayInput` via: -// -// LoadBalancerArray{ LoadBalancerArgs{...} } -type LoadBalancerArrayInput interface { - pulumi.Input - - ToLoadBalancerArrayOutput() LoadBalancerArrayOutput - ToLoadBalancerArrayOutputWithContext(context.Context) LoadBalancerArrayOutput -} - -type LoadBalancerArray []LoadBalancerInput - -func (LoadBalancerArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*LoadBalancer)(nil)).Elem() -} - -func (i LoadBalancerArray) ToLoadBalancerArrayOutput() LoadBalancerArrayOutput { - return i.ToLoadBalancerArrayOutputWithContext(context.Background()) -} - -func (i LoadBalancerArray) ToLoadBalancerArrayOutputWithContext(ctx context.Context) LoadBalancerArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerArrayOutput) -} - -// LoadBalancerMapInput is an input type that accepts LoadBalancerMap and LoadBalancerMapOutput values. -// You can construct a concrete instance of `LoadBalancerMapInput` via: -// -// LoadBalancerMap{ "key": LoadBalancerArgs{...} } -type LoadBalancerMapInput interface { - pulumi.Input - - ToLoadBalancerMapOutput() LoadBalancerMapOutput - ToLoadBalancerMapOutputWithContext(context.Context) LoadBalancerMapOutput -} - -type LoadBalancerMap map[string]LoadBalancerInput - -func (LoadBalancerMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*LoadBalancer)(nil)).Elem() -} - -func (i LoadBalancerMap) ToLoadBalancerMapOutput() LoadBalancerMapOutput { - return i.ToLoadBalancerMapOutputWithContext(context.Background()) -} - -func (i LoadBalancerMap) ToLoadBalancerMapOutputWithContext(ctx context.Context) LoadBalancerMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerMapOutput) -} - -type LoadBalancerOutput struct{ *pulumi.OutputState } - -func (LoadBalancerOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LoadBalancer)(nil)).Elem() -} - -func (o LoadBalancerOutput) ToLoadBalancerOutput() LoadBalancerOutput { - return o -} - -func (o LoadBalancerOutput) ToLoadBalancerOutputWithContext(ctx context.Context) LoadBalancerOutput { - return o -} - -// Information about access logs. -func (o LoadBalancerOutput) AccessLogs() LoadBalancerAccessLogArrayOutput { - return o.ApplyT(func(v *LoadBalancer) LoadBalancerAccessLogArrayOutput { return v.AccessLogs }).(LoadBalancerAccessLogArrayOutput) -} - -// The stickiness policies defined for the load balancer. -func (o LoadBalancerOutput) ApplicationStickyCookiePolicies() LoadBalancerApplicationStickyCookiePolicyArrayOutput { - return o.ApplyT(func(v *LoadBalancer) LoadBalancerApplicationStickyCookiePolicyArrayOutput { - return v.ApplicationStickyCookiePolicies - }).(LoadBalancerApplicationStickyCookiePolicyArrayOutput) -} - -// One or more IDs of back-end VMs for the load balancer. -func (o LoadBalancerOutput) BackendVmIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LoadBalancer) pulumi.StringArrayOutput { return v.BackendVmIds }).(pulumi.StringArrayOutput) -} - -// The DNS name of the load balancer. -func (o LoadBalancerOutput) DnsName() pulumi.StringOutput { - return o.ApplyT(func(v *LoadBalancer) pulumi.StringOutput { return v.DnsName }).(pulumi.StringOutput) -} - -// Information about the health check configuration. -func (o LoadBalancerOutput) HealthChecks() LoadBalancerHealthCheckArrayOutput { - return o.ApplyT(func(v *LoadBalancer) LoadBalancerHealthCheckArrayOutput { return v.HealthChecks }).(LoadBalancerHealthCheckArrayOutput) -} - -// One or more listeners to create. -func (o LoadBalancerOutput) Listeners() LoadBalancerListenerArrayOutput { - return o.ApplyT(func(v *LoadBalancer) LoadBalancerListenerArrayOutput { return v.Listeners }).(LoadBalancerListenerArrayOutput) -} - -// The unique name of the load balancer (32 alphanumeric or hyphen characters maximum, but cannot start or end with a hyphen). -func (o LoadBalancerOutput) LoadBalancerName() pulumi.StringOutput { - return o.ApplyT(func(v *LoadBalancer) pulumi.StringOutput { return v.LoadBalancerName }).(pulumi.StringOutput) -} - -// The policies defined for the load balancer. -func (o LoadBalancerOutput) LoadBalancerStickyCookiePolicies() LoadBalancerLoadBalancerStickyCookiePolicyArrayOutput { - return o.ApplyT(func(v *LoadBalancer) LoadBalancerLoadBalancerStickyCookiePolicyArrayOutput { - return v.LoadBalancerStickyCookiePolicies - }).(LoadBalancerLoadBalancerStickyCookiePolicyArrayOutput) -} - -// The type of load balancer: `internet-facing` or `internal`. Use this parameter only for load balancers in a Net. -func (o LoadBalancerOutput) LoadBalancerType() pulumi.StringOutput { - return o.ApplyT(func(v *LoadBalancer) pulumi.StringOutput { return v.LoadBalancerType }).(pulumi.StringOutput) -} - -// The ID of the Net for the load balancer. -func (o LoadBalancerOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v *LoadBalancer) pulumi.StringOutput { return v.NetId }).(pulumi.StringOutput) -} - -// (internet-facing only) The public IP you want to associate with the load balancer. If not specified, a public IP owned by 3DS OUTSCALE is associated. -func (o LoadBalancerOutput) PublicIp() pulumi.StringOutput { - return o.ApplyT(func(v *LoadBalancer) pulumi.StringOutput { return v.PublicIp }).(pulumi.StringOutput) -} - -func (o LoadBalancerOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *LoadBalancer) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -// Whether secure cookies are enabled for the load balancer. -func (o LoadBalancerOutput) SecuredCookies() pulumi.BoolOutput { - return o.ApplyT(func(v *LoadBalancer) pulumi.BoolOutput { return v.SecuredCookies }).(pulumi.BoolOutput) -} - -// (Net only) One or more IDs of security groups you want to assign to the load balancer. If not specified, the default security group of the Net is assigned to the load balancer. -func (o LoadBalancerOutput) SecurityGroups() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LoadBalancer) pulumi.StringArrayOutput { return v.SecurityGroups }).(pulumi.StringArrayOutput) -} - -// Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.
-// To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. -func (o LoadBalancerOutput) SourceSecurityGroups() LoadBalancerSourceSecurityGroupArrayOutput { - return o.ApplyT(func(v *LoadBalancer) LoadBalancerSourceSecurityGroupArrayOutput { return v.SourceSecurityGroups }).(LoadBalancerSourceSecurityGroupArrayOutput) -} - -// (Net only) The ID of the Subnet in which you want to create the load balancer. Regardless of this Subnet, the load balancer can distribute traffic to all Subnets. This parameter is required in a Net. -func (o LoadBalancerOutput) Subnets() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LoadBalancer) pulumi.StringArrayOutput { return v.Subnets }).(pulumi.StringArrayOutput) -} - -// (public Cloud only) The Subregion in which you want to create the load balancer. Regardless of this Subregion, the load balancer can distribute traffic to all Subregions. This parameter is required in the public Cloud. -func (o LoadBalancerOutput) SubregionNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LoadBalancer) pulumi.StringArrayOutput { return v.SubregionNames }).(pulumi.StringArrayOutput) -} - -// A tag to add to this resource. You can specify this argument several times. -func (o LoadBalancerOutput) Tags() LoadBalancerTagArrayOutput { - return o.ApplyT(func(v *LoadBalancer) LoadBalancerTagArrayOutput { return v.Tags }).(LoadBalancerTagArrayOutput) -} - -type LoadBalancerArrayOutput struct{ *pulumi.OutputState } - -func (LoadBalancerArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*LoadBalancer)(nil)).Elem() -} - -func (o LoadBalancerArrayOutput) ToLoadBalancerArrayOutput() LoadBalancerArrayOutput { - return o -} - -func (o LoadBalancerArrayOutput) ToLoadBalancerArrayOutputWithContext(ctx context.Context) LoadBalancerArrayOutput { - return o -} - -func (o LoadBalancerArrayOutput) Index(i pulumi.IntInput) LoadBalancerOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *LoadBalancer { - return vs[0].([]*LoadBalancer)[vs[1].(int)] - }).(LoadBalancerOutput) -} - -type LoadBalancerMapOutput struct{ *pulumi.OutputState } - -func (LoadBalancerMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*LoadBalancer)(nil)).Elem() -} - -func (o LoadBalancerMapOutput) ToLoadBalancerMapOutput() LoadBalancerMapOutput { - return o -} - -func (o LoadBalancerMapOutput) ToLoadBalancerMapOutputWithContext(ctx context.Context) LoadBalancerMapOutput { - return o -} - -func (o LoadBalancerMapOutput) MapIndex(k pulumi.StringInput) LoadBalancerOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *LoadBalancer { - return vs[0].(map[string]*LoadBalancer)[vs[1].(string)] - }).(LoadBalancerOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerInput)(nil)).Elem(), &LoadBalancer{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerArrayInput)(nil)).Elem(), LoadBalancerArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerMapInput)(nil)).Elem(), LoadBalancerMap{}) - pulumi.RegisterOutputType(LoadBalancerOutput{}) - pulumi.RegisterOutputType(LoadBalancerArrayOutput{}) - pulumi.RegisterOutputType(LoadBalancerMapOutput{}) -} diff --git a/sdk/go/outscale/loadBalancerAttributes.go b/sdk/go/outscale/loadBalancerAttributes.go deleted file mode 100644 index ea053c7..0000000 --- a/sdk/go/outscale/loadBalancerAttributes.go +++ /dev/null @@ -1,629 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "errors" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages load balancer attributes. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Load-Balancers.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#updateloadbalancer). -// -// ## Example Usage -// ### Required resource -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewLoadBalancer(ctx, "loadBalancer01", &outscale.LoadBalancerArgs{ -// Listeners: outscale.LoadBalancerListenerArray{ -// &outscale.LoadBalancerListenerArgs{ -// BackendPort: pulumi.Int(80), -// BackendProtocol: pulumi.String("HTTP"), -// LoadBalancerPort: pulumi.Int(80), -// LoadBalancerProtocol: pulumi.String("HTTP"), -// }, -// &outscale.LoadBalancerListenerArgs{ -// BackendPort: pulumi.Int(8080), -// BackendProtocol: pulumi.String("HTTPS"), -// LoadBalancerPort: pulumi.Int(8080), -// LoadBalancerProtocol: pulumi.String("HTTPS"), -// ServerCertificateId: pulumi.String("arn:aws:iam::012345678910:server-certificate/MyCertificates/Certificate"), -// }, -// &outscale.LoadBalancerListenerArgs{ -// BackendPort: pulumi.Int(1024), -// BackendProtocol: pulumi.String("TCP"), -// LoadBalancerPort: pulumi.Int(1024), -// LoadBalancerProtocol: pulumi.String("TCP"), -// }, -// }, -// LoadBalancerName: pulumi.String("terraform-load-balancer"), -// SubregionNames: pulumi.StringArray{ -// pulumi.String("eu-west-2a"), -// }, -// Tags: outscale.LoadBalancerTagArray{ -// &outscale.LoadBalancerTagArgs{ -// Key: pulumi.String("name"), -// Value: pulumi.String("terraform-load-balancer"), -// }, -// &outscale.LoadBalancerTagArgs{ -// Key: pulumi.String("platform"), -// Value: pulumi.String("eu-west-2"), -// }, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Update health check -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewLoadBalancerAttributes(ctx, "attributes01", &outscale.LoadBalancerAttributesArgs{ -// LoadBalancerName: pulumi.Any(outscale_load_balancer.Load_balancer01.Id), -// HealthCheck: &outscale.LoadBalancerAttributesHealthCheckArgs{ -// HealthyThreshold: pulumi.Int(10), -// CheckInterval: pulumi.Int(30), -// Path: pulumi.String("/index.html"), -// Port: pulumi.Int(8080), -// Protocol: pulumi.String("HTTPS"), -// Timeout: pulumi.Int(5), -// UnhealthyThreshold: pulumi.Int(5), -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Update access log -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewLoadBalancerAttributes(ctx, "attributes02", &outscale.LoadBalancerAttributesArgs{ -// LoadBalancerName: pulumi.Any(outscale_load_balancer.Load_balancer01.Id), -// AccessLog: &outscale.LoadBalancerAttributesAccessLogArgs{ -// PublicationInterval: pulumi.Int(5), -// IsEnabled: pulumi.Bool(true), -// OsuBucketName: pulumi.String("terraform-access-logs"), -// OsuBucketPrefix: pulumi.String("access-logs-01234"), -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Update policies -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewLoadBalancerAttributes(ctx, "attributes03", &outscale.LoadBalancerAttributesArgs{ -// LoadBalancerName: pulumi.Any(outscale_load_balancer.Load_balancer01.Id), -// LoadBalancerPort: pulumi.Int(80), -// PolicyNames: pulumi.StringArray{ -// pulumi.String("policy-name-01"), -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Update SSL certificate -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewLoadBalancerAttributes(ctx, "attributes04", &outscale.LoadBalancerAttributesArgs{ -// LoadBalancerName: pulumi.Any(outscale_load_balancer.Load_balancer01.Id), -// LoadBalancerPort: pulumi.Int(8080), -// ServerCertificateId: pulumi.String("arn:aws:iam::012345678910:server-certificate/MyCertificates/Certificate"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -type LoadBalancerAttributes struct { - pulumi.CustomResourceState - - // Information about access logs. - AccessLog LoadBalancerAttributesAccessLogOutput `pulumi:"accessLog"` - // The stickiness policies defined for the load balancer. - ApplicationStickyCookiePolicies LoadBalancerAttributesApplicationStickyCookiePolicyArrayOutput `pulumi:"applicationStickyCookiePolicies"` - // One or more IDs of back-end VMs for the load balancer. - BackendVmIds pulumi.StringArrayOutput `pulumi:"backendVmIds"` - // The DNS name of the load balancer. - DnsName pulumi.StringOutput `pulumi:"dnsName"` - // Information about the health check configuration. - HealthCheck LoadBalancerAttributesHealthCheckOutput `pulumi:"healthCheck"` - // The listeners for the load balancer. - Listeners LoadBalancerAttributesListenerArrayOutput `pulumi:"listeners"` - // The name of the load balancer. - LoadBalancerName pulumi.StringOutput `pulumi:"loadBalancerName"` - // The port on which the load balancer is listening (between `1` and `65535`, both included). This parameter is required if you want to update the server certificate. - LoadBalancerPort pulumi.IntPtrOutput `pulumi:"loadBalancerPort"` - // The policies defined for the load balancer. - LoadBalancerStickyCookiePolicies LoadBalancerAttributesLoadBalancerStickyCookiePolicyArrayOutput `pulumi:"loadBalancerStickyCookiePolicies"` - // The type of load balancer. Valid only for load balancers in a Net.
- // If `loadBalancerType` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.
- // If `loadBalancerType` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - LoadBalancerType pulumi.StringOutput `pulumi:"loadBalancerType"` - // The name of the policy you want to enable for the listener. - PolicyNames pulumi.StringArrayOutput `pulumi:"policyNames"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - // One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - SecurityGroups pulumi.StringArrayOutput `pulumi:"securityGroups"` - // The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). If this parameter is specified, you must also specify the `loadBalancerPort` parameter. - ServerCertificateId pulumi.StringPtrOutput `pulumi:"serverCertificateId"` - // Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.
- // To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. - SourceSecurityGroups LoadBalancerAttributesSourceSecurityGroupArrayOutput `pulumi:"sourceSecurityGroups"` - // The ID of the Subnet in which the load balancer was created. - Subnets pulumi.StringArrayOutput `pulumi:"subnets"` - // The ID of the Subregion in which the load balancer was created. - SubregionNames pulumi.StringArrayOutput `pulumi:"subregionNames"` - // One or more tags associated with the load balancer. - Tags LoadBalancerAttributesTagArrayOutput `pulumi:"tags"` -} - -// NewLoadBalancerAttributes registers a new resource with the given unique name, arguments, and options. -func NewLoadBalancerAttributes(ctx *pulumi.Context, - name string, args *LoadBalancerAttributesArgs, opts ...pulumi.ResourceOption) (*LoadBalancerAttributes, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.LoadBalancerName == nil { - return nil, errors.New("invalid value for required argument 'LoadBalancerName'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource LoadBalancerAttributes - err := ctx.RegisterResource("outscale:index/loadBalancerAttributes:LoadBalancerAttributes", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetLoadBalancerAttributes gets an existing LoadBalancerAttributes resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetLoadBalancerAttributes(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *LoadBalancerAttributesState, opts ...pulumi.ResourceOption) (*LoadBalancerAttributes, error) { - var resource LoadBalancerAttributes - err := ctx.ReadResource("outscale:index/loadBalancerAttributes:LoadBalancerAttributes", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering LoadBalancerAttributes resources. -type loadBalancerAttributesState struct { - // Information about access logs. - AccessLog *LoadBalancerAttributesAccessLog `pulumi:"accessLog"` - // The stickiness policies defined for the load balancer. - ApplicationStickyCookiePolicies []LoadBalancerAttributesApplicationStickyCookiePolicy `pulumi:"applicationStickyCookiePolicies"` - // One or more IDs of back-end VMs for the load balancer. - BackendVmIds []string `pulumi:"backendVmIds"` - // The DNS name of the load balancer. - DnsName *string `pulumi:"dnsName"` - // Information about the health check configuration. - HealthCheck *LoadBalancerAttributesHealthCheck `pulumi:"healthCheck"` - // The listeners for the load balancer. - Listeners []LoadBalancerAttributesListener `pulumi:"listeners"` - // The name of the load balancer. - LoadBalancerName *string `pulumi:"loadBalancerName"` - // The port on which the load balancer is listening (between `1` and `65535`, both included). This parameter is required if you want to update the server certificate. - LoadBalancerPort *int `pulumi:"loadBalancerPort"` - // The policies defined for the load balancer. - LoadBalancerStickyCookiePolicies []LoadBalancerAttributesLoadBalancerStickyCookiePolicy `pulumi:"loadBalancerStickyCookiePolicies"` - // The type of load balancer. Valid only for load balancers in a Net.
- // If `loadBalancerType` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.
- // If `loadBalancerType` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - LoadBalancerType *string `pulumi:"loadBalancerType"` - // The name of the policy you want to enable for the listener. - PolicyNames []string `pulumi:"policyNames"` - RequestId *string `pulumi:"requestId"` - // One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - SecurityGroups []string `pulumi:"securityGroups"` - // The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). If this parameter is specified, you must also specify the `loadBalancerPort` parameter. - ServerCertificateId *string `pulumi:"serverCertificateId"` - // Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.
- // To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. - SourceSecurityGroups []LoadBalancerAttributesSourceSecurityGroup `pulumi:"sourceSecurityGroups"` - // The ID of the Subnet in which the load balancer was created. - Subnets []string `pulumi:"subnets"` - // The ID of the Subregion in which the load balancer was created. - SubregionNames []string `pulumi:"subregionNames"` - // One or more tags associated with the load balancer. - Tags []LoadBalancerAttributesTag `pulumi:"tags"` -} - -type LoadBalancerAttributesState struct { - // Information about access logs. - AccessLog LoadBalancerAttributesAccessLogPtrInput - // The stickiness policies defined for the load balancer. - ApplicationStickyCookiePolicies LoadBalancerAttributesApplicationStickyCookiePolicyArrayInput - // One or more IDs of back-end VMs for the load balancer. - BackendVmIds pulumi.StringArrayInput - // The DNS name of the load balancer. - DnsName pulumi.StringPtrInput - // Information about the health check configuration. - HealthCheck LoadBalancerAttributesHealthCheckPtrInput - // The listeners for the load balancer. - Listeners LoadBalancerAttributesListenerArrayInput - // The name of the load balancer. - LoadBalancerName pulumi.StringPtrInput - // The port on which the load balancer is listening (between `1` and `65535`, both included). This parameter is required if you want to update the server certificate. - LoadBalancerPort pulumi.IntPtrInput - // The policies defined for the load balancer. - LoadBalancerStickyCookiePolicies LoadBalancerAttributesLoadBalancerStickyCookiePolicyArrayInput - // The type of load balancer. Valid only for load balancers in a Net.
- // If `loadBalancerType` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.
- // If `loadBalancerType` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - LoadBalancerType pulumi.StringPtrInput - // The name of the policy you want to enable for the listener. - PolicyNames pulumi.StringArrayInput - RequestId pulumi.StringPtrInput - // One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - SecurityGroups pulumi.StringArrayInput - // The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). If this parameter is specified, you must also specify the `loadBalancerPort` parameter. - ServerCertificateId pulumi.StringPtrInput - // Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.
- // To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. - SourceSecurityGroups LoadBalancerAttributesSourceSecurityGroupArrayInput - // The ID of the Subnet in which the load balancer was created. - Subnets pulumi.StringArrayInput - // The ID of the Subregion in which the load balancer was created. - SubregionNames pulumi.StringArrayInput - // One or more tags associated with the load balancer. - Tags LoadBalancerAttributesTagArrayInput -} - -func (LoadBalancerAttributesState) ElementType() reflect.Type { - return reflect.TypeOf((*loadBalancerAttributesState)(nil)).Elem() -} - -type loadBalancerAttributesArgs struct { - // Information about access logs. - AccessLog *LoadBalancerAttributesAccessLog `pulumi:"accessLog"` - // Information about the health check configuration. - HealthCheck *LoadBalancerAttributesHealthCheck `pulumi:"healthCheck"` - // The name of the load balancer. - LoadBalancerName string `pulumi:"loadBalancerName"` - // The port on which the load balancer is listening (between `1` and `65535`, both included). This parameter is required if you want to update the server certificate. - LoadBalancerPort *int `pulumi:"loadBalancerPort"` - // The name of the policy you want to enable for the listener. - PolicyNames []string `pulumi:"policyNames"` - // The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). If this parameter is specified, you must also specify the `loadBalancerPort` parameter. - ServerCertificateId *string `pulumi:"serverCertificateId"` - // One or more tags associated with the load balancer. - Tags []LoadBalancerAttributesTag `pulumi:"tags"` -} - -// The set of arguments for constructing a LoadBalancerAttributes resource. -type LoadBalancerAttributesArgs struct { - // Information about access logs. - AccessLog LoadBalancerAttributesAccessLogPtrInput - // Information about the health check configuration. - HealthCheck LoadBalancerAttributesHealthCheckPtrInput - // The name of the load balancer. - LoadBalancerName pulumi.StringInput - // The port on which the load balancer is listening (between `1` and `65535`, both included). This parameter is required if you want to update the server certificate. - LoadBalancerPort pulumi.IntPtrInput - // The name of the policy you want to enable for the listener. - PolicyNames pulumi.StringArrayInput - // The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). If this parameter is specified, you must also specify the `loadBalancerPort` parameter. - ServerCertificateId pulumi.StringPtrInput - // One or more tags associated with the load balancer. - Tags LoadBalancerAttributesTagArrayInput -} - -func (LoadBalancerAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*loadBalancerAttributesArgs)(nil)).Elem() -} - -type LoadBalancerAttributesInput interface { - pulumi.Input - - ToLoadBalancerAttributesOutput() LoadBalancerAttributesOutput - ToLoadBalancerAttributesOutputWithContext(ctx context.Context) LoadBalancerAttributesOutput -} - -func (*LoadBalancerAttributes) ElementType() reflect.Type { - return reflect.TypeOf((**LoadBalancerAttributes)(nil)).Elem() -} - -func (i *LoadBalancerAttributes) ToLoadBalancerAttributesOutput() LoadBalancerAttributesOutput { - return i.ToLoadBalancerAttributesOutputWithContext(context.Background()) -} - -func (i *LoadBalancerAttributes) ToLoadBalancerAttributesOutputWithContext(ctx context.Context) LoadBalancerAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerAttributesOutput) -} - -// LoadBalancerAttributesArrayInput is an input type that accepts LoadBalancerAttributesArray and LoadBalancerAttributesArrayOutput values. -// You can construct a concrete instance of `LoadBalancerAttributesArrayInput` via: -// -// LoadBalancerAttributesArray{ LoadBalancerAttributesArgs{...} } -type LoadBalancerAttributesArrayInput interface { - pulumi.Input - - ToLoadBalancerAttributesArrayOutput() LoadBalancerAttributesArrayOutput - ToLoadBalancerAttributesArrayOutputWithContext(context.Context) LoadBalancerAttributesArrayOutput -} - -type LoadBalancerAttributesArray []LoadBalancerAttributesInput - -func (LoadBalancerAttributesArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*LoadBalancerAttributes)(nil)).Elem() -} - -func (i LoadBalancerAttributesArray) ToLoadBalancerAttributesArrayOutput() LoadBalancerAttributesArrayOutput { - return i.ToLoadBalancerAttributesArrayOutputWithContext(context.Background()) -} - -func (i LoadBalancerAttributesArray) ToLoadBalancerAttributesArrayOutputWithContext(ctx context.Context) LoadBalancerAttributesArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerAttributesArrayOutput) -} - -// LoadBalancerAttributesMapInput is an input type that accepts LoadBalancerAttributesMap and LoadBalancerAttributesMapOutput values. -// You can construct a concrete instance of `LoadBalancerAttributesMapInput` via: -// -// LoadBalancerAttributesMap{ "key": LoadBalancerAttributesArgs{...} } -type LoadBalancerAttributesMapInput interface { - pulumi.Input - - ToLoadBalancerAttributesMapOutput() LoadBalancerAttributesMapOutput - ToLoadBalancerAttributesMapOutputWithContext(context.Context) LoadBalancerAttributesMapOutput -} - -type LoadBalancerAttributesMap map[string]LoadBalancerAttributesInput - -func (LoadBalancerAttributesMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*LoadBalancerAttributes)(nil)).Elem() -} - -func (i LoadBalancerAttributesMap) ToLoadBalancerAttributesMapOutput() LoadBalancerAttributesMapOutput { - return i.ToLoadBalancerAttributesMapOutputWithContext(context.Background()) -} - -func (i LoadBalancerAttributesMap) ToLoadBalancerAttributesMapOutputWithContext(ctx context.Context) LoadBalancerAttributesMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerAttributesMapOutput) -} - -type LoadBalancerAttributesOutput struct{ *pulumi.OutputState } - -func (LoadBalancerAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LoadBalancerAttributes)(nil)).Elem() -} - -func (o LoadBalancerAttributesOutput) ToLoadBalancerAttributesOutput() LoadBalancerAttributesOutput { - return o -} - -func (o LoadBalancerAttributesOutput) ToLoadBalancerAttributesOutputWithContext(ctx context.Context) LoadBalancerAttributesOutput { - return o -} - -// Information about access logs. -func (o LoadBalancerAttributesOutput) AccessLog() LoadBalancerAttributesAccessLogOutput { - return o.ApplyT(func(v *LoadBalancerAttributes) LoadBalancerAttributesAccessLogOutput { return v.AccessLog }).(LoadBalancerAttributesAccessLogOutput) -} - -// The stickiness policies defined for the load balancer. -func (o LoadBalancerAttributesOutput) ApplicationStickyCookiePolicies() LoadBalancerAttributesApplicationStickyCookiePolicyArrayOutput { - return o.ApplyT(func(v *LoadBalancerAttributes) LoadBalancerAttributesApplicationStickyCookiePolicyArrayOutput { - return v.ApplicationStickyCookiePolicies - }).(LoadBalancerAttributesApplicationStickyCookiePolicyArrayOutput) -} - -// One or more IDs of back-end VMs for the load balancer. -func (o LoadBalancerAttributesOutput) BackendVmIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LoadBalancerAttributes) pulumi.StringArrayOutput { return v.BackendVmIds }).(pulumi.StringArrayOutput) -} - -// The DNS name of the load balancer. -func (o LoadBalancerAttributesOutput) DnsName() pulumi.StringOutput { - return o.ApplyT(func(v *LoadBalancerAttributes) pulumi.StringOutput { return v.DnsName }).(pulumi.StringOutput) -} - -// Information about the health check configuration. -func (o LoadBalancerAttributesOutput) HealthCheck() LoadBalancerAttributesHealthCheckOutput { - return o.ApplyT(func(v *LoadBalancerAttributes) LoadBalancerAttributesHealthCheckOutput { return v.HealthCheck }).(LoadBalancerAttributesHealthCheckOutput) -} - -// The listeners for the load balancer. -func (o LoadBalancerAttributesOutput) Listeners() LoadBalancerAttributesListenerArrayOutput { - return o.ApplyT(func(v *LoadBalancerAttributes) LoadBalancerAttributesListenerArrayOutput { return v.Listeners }).(LoadBalancerAttributesListenerArrayOutput) -} - -// The name of the load balancer. -func (o LoadBalancerAttributesOutput) LoadBalancerName() pulumi.StringOutput { - return o.ApplyT(func(v *LoadBalancerAttributes) pulumi.StringOutput { return v.LoadBalancerName }).(pulumi.StringOutput) -} - -// The port on which the load balancer is listening (between `1` and `65535`, both included). This parameter is required if you want to update the server certificate. -func (o LoadBalancerAttributesOutput) LoadBalancerPort() pulumi.IntPtrOutput { - return o.ApplyT(func(v *LoadBalancerAttributes) pulumi.IntPtrOutput { return v.LoadBalancerPort }).(pulumi.IntPtrOutput) -} - -// The policies defined for the load balancer. -func (o LoadBalancerAttributesOutput) LoadBalancerStickyCookiePolicies() LoadBalancerAttributesLoadBalancerStickyCookiePolicyArrayOutput { - return o.ApplyT(func(v *LoadBalancerAttributes) LoadBalancerAttributesLoadBalancerStickyCookiePolicyArrayOutput { - return v.LoadBalancerStickyCookiePolicies - }).(LoadBalancerAttributesLoadBalancerStickyCookiePolicyArrayOutput) -} - -// The type of load balancer. Valid only for load balancers in a Net.
-// If `loadBalancerType` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.
-// If `loadBalancerType` is `internal`, the load balancer has a public DNS name that resolves to a private IP. -func (o LoadBalancerAttributesOutput) LoadBalancerType() pulumi.StringOutput { - return o.ApplyT(func(v *LoadBalancerAttributes) pulumi.StringOutput { return v.LoadBalancerType }).(pulumi.StringOutput) -} - -// The name of the policy you want to enable for the listener. -func (o LoadBalancerAttributesOutput) PolicyNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LoadBalancerAttributes) pulumi.StringArrayOutput { return v.PolicyNames }).(pulumi.StringArrayOutput) -} - -func (o LoadBalancerAttributesOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *LoadBalancerAttributes) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -// One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. -func (o LoadBalancerAttributesOutput) SecurityGroups() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LoadBalancerAttributes) pulumi.StringArrayOutput { return v.SecurityGroups }).(pulumi.StringArrayOutput) -} - -// The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). If this parameter is specified, you must also specify the `loadBalancerPort` parameter. -func (o LoadBalancerAttributesOutput) ServerCertificateId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LoadBalancerAttributes) pulumi.StringPtrOutput { return v.ServerCertificateId }).(pulumi.StringPtrOutput) -} - -// Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.
-// To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. -func (o LoadBalancerAttributesOutput) SourceSecurityGroups() LoadBalancerAttributesSourceSecurityGroupArrayOutput { - return o.ApplyT(func(v *LoadBalancerAttributes) LoadBalancerAttributesSourceSecurityGroupArrayOutput { - return v.SourceSecurityGroups - }).(LoadBalancerAttributesSourceSecurityGroupArrayOutput) -} - -// The ID of the Subnet in which the load balancer was created. -func (o LoadBalancerAttributesOutput) Subnets() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LoadBalancerAttributes) pulumi.StringArrayOutput { return v.Subnets }).(pulumi.StringArrayOutput) -} - -// The ID of the Subregion in which the load balancer was created. -func (o LoadBalancerAttributesOutput) SubregionNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LoadBalancerAttributes) pulumi.StringArrayOutput { return v.SubregionNames }).(pulumi.StringArrayOutput) -} - -// One or more tags associated with the load balancer. -func (o LoadBalancerAttributesOutput) Tags() LoadBalancerAttributesTagArrayOutput { - return o.ApplyT(func(v *LoadBalancerAttributes) LoadBalancerAttributesTagArrayOutput { return v.Tags }).(LoadBalancerAttributesTagArrayOutput) -} - -type LoadBalancerAttributesArrayOutput struct{ *pulumi.OutputState } - -func (LoadBalancerAttributesArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*LoadBalancerAttributes)(nil)).Elem() -} - -func (o LoadBalancerAttributesArrayOutput) ToLoadBalancerAttributesArrayOutput() LoadBalancerAttributesArrayOutput { - return o -} - -func (o LoadBalancerAttributesArrayOutput) ToLoadBalancerAttributesArrayOutputWithContext(ctx context.Context) LoadBalancerAttributesArrayOutput { - return o -} - -func (o LoadBalancerAttributesArrayOutput) Index(i pulumi.IntInput) LoadBalancerAttributesOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *LoadBalancerAttributes { - return vs[0].([]*LoadBalancerAttributes)[vs[1].(int)] - }).(LoadBalancerAttributesOutput) -} - -type LoadBalancerAttributesMapOutput struct{ *pulumi.OutputState } - -func (LoadBalancerAttributesMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*LoadBalancerAttributes)(nil)).Elem() -} - -func (o LoadBalancerAttributesMapOutput) ToLoadBalancerAttributesMapOutput() LoadBalancerAttributesMapOutput { - return o -} - -func (o LoadBalancerAttributesMapOutput) ToLoadBalancerAttributesMapOutputWithContext(ctx context.Context) LoadBalancerAttributesMapOutput { - return o -} - -func (o LoadBalancerAttributesMapOutput) MapIndex(k pulumi.StringInput) LoadBalancerAttributesOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *LoadBalancerAttributes { - return vs[0].(map[string]*LoadBalancerAttributes)[vs[1].(string)] - }).(LoadBalancerAttributesOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerAttributesInput)(nil)).Elem(), &LoadBalancerAttributes{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerAttributesArrayInput)(nil)).Elem(), LoadBalancerAttributesArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerAttributesMapInput)(nil)).Elem(), LoadBalancerAttributesMap{}) - pulumi.RegisterOutputType(LoadBalancerAttributesOutput{}) - pulumi.RegisterOutputType(LoadBalancerAttributesArrayOutput{}) - pulumi.RegisterOutputType(LoadBalancerAttributesMapOutput{}) -} diff --git a/sdk/go/outscale/loadBalancerPolicy.go b/sdk/go/outscale/loadBalancerPolicy.go deleted file mode 100644 index a7bb79a..0000000 --- a/sdk/go/outscale/loadBalancerPolicy.go +++ /dev/null @@ -1,602 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "errors" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages a load balancer policy. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Load-Balancers.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-loadbalancerpolicy). -// -// ## Example Usage -// ### Create a load balancer policy based on browser -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewLoadBalancer(ctx, "loadBalancer01", &outscale.LoadBalancerArgs{ -// Listeners: outscale.LoadBalancerListenerArray{ -// &outscale.LoadBalancerListenerArgs{ -// BackendPort: pulumi.Int(8080), -// BackendProtocol: pulumi.String("HTTP"), -// LoadBalancerPort: pulumi.Int(8080), -// LoadBalancerProtocol: pulumi.String("HTTP"), -// }, -// }, -// LoadBalancerName: pulumi.String("terraform-lb-for-browser-policy"), -// SubregionNames: pulumi.StringArray{ -// pulumi.String("eu-west-2a"), -// }, -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewLoadBalancerPolicy(ctx, "loadBalancerPolicy01", &outscale.LoadBalancerPolicyArgs{ -// LoadBalancerName: pulumi.String("terraform-lb-for-browser-policy"), -// PolicyName: pulumi.String("terraform-lb-browser-policy"), -// PolicyType: pulumi.String("load_balancer"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Create a load balancer policy based on application cookie -// -// ```go -// package main -// -// import ( -// -// "fmt" -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// loadBalancer02, err := outscale.NewLoadBalancer(ctx, "loadBalancer02", &outscale.LoadBalancerArgs{ -// LoadBalancerName: pulumi.String("terraform-lb-for-app-policy"), -// SubregionNames: pulumi.StringArray{ -// pulumi.String(fmt.Sprintf("%vb", _var.Region)), -// }, -// Listeners: outscale.LoadBalancerListenerArray{ -// &outscale.LoadBalancerListenerArgs{ -// LoadBalancerPort: pulumi.Int(80), -// LoadBalancerProtocol: pulumi.String("TCP"), -// BackendPort: pulumi.Int(80), -// BackendProtocol: pulumi.String("TCP"), -// }, -// }, -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewLoadBalancerPolicy(ctx, "loadBalancerPolicy02", &outscale.LoadBalancerPolicyArgs{ -// LoadBalancerName: loadBalancer02.LoadBalancerName, -// PolicyName: pulumi.String("terraform-lb-app-policy"), -// PolicyType: pulumi.String("app"), -// CookieName: pulumi.String("cookie01"), -// }, pulumi.DependsOn([]pulumi.Resource{ -// loadBalancer02, -// })) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -type LoadBalancerPolicy struct { - pulumi.CustomResourceState - - // Information about access logs. - AccessLogs LoadBalancerPolicyAccessLogArrayOutput `pulumi:"accessLogs"` - // The stickiness policies defined for the load balancer. - ApplicationStickyCookiePolicies LoadBalancerPolicyApplicationStickyCookiePolicyArrayOutput `pulumi:"applicationStickyCookiePolicies"` - // One or more IDs of back-end VMs for the load balancer. - BackendVmIds pulumi.StringArrayOutput `pulumi:"backendVmIds"` - CookieExpirationPeriod pulumi.IntOutput `pulumi:"cookieExpirationPeriod"` - // The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie. - CookieName pulumi.StringOutput `pulumi:"cookieName"` - // The DNS name of the load balancer. - DnsName pulumi.StringOutput `pulumi:"dnsName"` - // Information about the health check configuration. - HealthChecks LoadBalancerPolicyHealthCheckArrayOutput `pulumi:"healthChecks"` - // The listeners for the load balancer. - Listeners LoadBalancerPolicyListenerArrayOutput `pulumi:"listeners"` - // The name of the load balancer for which you want to create a policy. - LoadBalancerName pulumi.StringOutput `pulumi:"loadBalancerName"` - // The policies defined for the load balancer. - LoadBalancerStickyCookiePolicies LoadBalancerPolicyLoadBalancerStickyCookiePolicyArrayOutput `pulumi:"loadBalancerStickyCookiePolicies"` - // The type of load balancer. Valid only for load balancers in a Net.
- // If `loadBalancerType` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.
- // If `loadBalancerType` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - LoadBalancerType pulumi.StringOutput `pulumi:"loadBalancerType"` - // The ID of the Net for the load balancer. - NetId pulumi.StringOutput `pulumi:"netId"` - // The name of the policy. This name must be unique and consist of alphanumeric characters and dashes (-). - PolicyName pulumi.StringOutput `pulumi:"policyName"` - // The type of stickiness policy you want to create: `app` or `loadBalancer`. - PolicyType pulumi.StringOutput `pulumi:"policyType"` - PublicIp pulumi.StringOutput `pulumi:"publicIp"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - SecuredCookies pulumi.BoolOutput `pulumi:"securedCookies"` - // One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - SecurityGroups pulumi.StringArrayOutput `pulumi:"securityGroups"` - // Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.
- // To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. - SourceSecurityGroups LoadBalancerPolicySourceSecurityGroupArrayOutput `pulumi:"sourceSecurityGroups"` - // The ID of the Subnet in which the load balancer was created. - Subnets pulumi.StringArrayOutput `pulumi:"subnets"` - // The ID of the Subregion in which the load balancer was created. - SubregionNames pulumi.StringArrayOutput `pulumi:"subregionNames"` - // One or more tags associated with the load balancer. - Tags LoadBalancerPolicyTagArrayOutput `pulumi:"tags"` -} - -// NewLoadBalancerPolicy registers a new resource with the given unique name, arguments, and options. -func NewLoadBalancerPolicy(ctx *pulumi.Context, - name string, args *LoadBalancerPolicyArgs, opts ...pulumi.ResourceOption) (*LoadBalancerPolicy, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.LoadBalancerName == nil { - return nil, errors.New("invalid value for required argument 'LoadBalancerName'") - } - if args.PolicyName == nil { - return nil, errors.New("invalid value for required argument 'PolicyName'") - } - if args.PolicyType == nil { - return nil, errors.New("invalid value for required argument 'PolicyType'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource LoadBalancerPolicy - err := ctx.RegisterResource("outscale:index/loadBalancerPolicy:LoadBalancerPolicy", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetLoadBalancerPolicy gets an existing LoadBalancerPolicy resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetLoadBalancerPolicy(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *LoadBalancerPolicyState, opts ...pulumi.ResourceOption) (*LoadBalancerPolicy, error) { - var resource LoadBalancerPolicy - err := ctx.ReadResource("outscale:index/loadBalancerPolicy:LoadBalancerPolicy", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering LoadBalancerPolicy resources. -type loadBalancerPolicyState struct { - // Information about access logs. - AccessLogs []LoadBalancerPolicyAccessLog `pulumi:"accessLogs"` - // The stickiness policies defined for the load balancer. - ApplicationStickyCookiePolicies []LoadBalancerPolicyApplicationStickyCookiePolicy `pulumi:"applicationStickyCookiePolicies"` - // One or more IDs of back-end VMs for the load balancer. - BackendVmIds []string `pulumi:"backendVmIds"` - CookieExpirationPeriod *int `pulumi:"cookieExpirationPeriod"` - // The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie. - CookieName *string `pulumi:"cookieName"` - // The DNS name of the load balancer. - DnsName *string `pulumi:"dnsName"` - // Information about the health check configuration. - HealthChecks []LoadBalancerPolicyHealthCheck `pulumi:"healthChecks"` - // The listeners for the load balancer. - Listeners []LoadBalancerPolicyListener `pulumi:"listeners"` - // The name of the load balancer for which you want to create a policy. - LoadBalancerName *string `pulumi:"loadBalancerName"` - // The policies defined for the load balancer. - LoadBalancerStickyCookiePolicies []LoadBalancerPolicyLoadBalancerStickyCookiePolicy `pulumi:"loadBalancerStickyCookiePolicies"` - // The type of load balancer. Valid only for load balancers in a Net.
- // If `loadBalancerType` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.
- // If `loadBalancerType` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - LoadBalancerType *string `pulumi:"loadBalancerType"` - // The ID of the Net for the load balancer. - NetId *string `pulumi:"netId"` - // The name of the policy. This name must be unique and consist of alphanumeric characters and dashes (-). - PolicyName *string `pulumi:"policyName"` - // The type of stickiness policy you want to create: `app` or `loadBalancer`. - PolicyType *string `pulumi:"policyType"` - PublicIp *string `pulumi:"publicIp"` - RequestId *string `pulumi:"requestId"` - SecuredCookies *bool `pulumi:"securedCookies"` - // One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - SecurityGroups []string `pulumi:"securityGroups"` - // Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.
- // To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. - SourceSecurityGroups []LoadBalancerPolicySourceSecurityGroup `pulumi:"sourceSecurityGroups"` - // The ID of the Subnet in which the load balancer was created. - Subnets []string `pulumi:"subnets"` - // The ID of the Subregion in which the load balancer was created. - SubregionNames []string `pulumi:"subregionNames"` - // One or more tags associated with the load balancer. - Tags []LoadBalancerPolicyTag `pulumi:"tags"` -} - -type LoadBalancerPolicyState struct { - // Information about access logs. - AccessLogs LoadBalancerPolicyAccessLogArrayInput - // The stickiness policies defined for the load balancer. - ApplicationStickyCookiePolicies LoadBalancerPolicyApplicationStickyCookiePolicyArrayInput - // One or more IDs of back-end VMs for the load balancer. - BackendVmIds pulumi.StringArrayInput - CookieExpirationPeriod pulumi.IntPtrInput - // The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie. - CookieName pulumi.StringPtrInput - // The DNS name of the load balancer. - DnsName pulumi.StringPtrInput - // Information about the health check configuration. - HealthChecks LoadBalancerPolicyHealthCheckArrayInput - // The listeners for the load balancer. - Listeners LoadBalancerPolicyListenerArrayInput - // The name of the load balancer for which you want to create a policy. - LoadBalancerName pulumi.StringPtrInput - // The policies defined for the load balancer. - LoadBalancerStickyCookiePolicies LoadBalancerPolicyLoadBalancerStickyCookiePolicyArrayInput - // The type of load balancer. Valid only for load balancers in a Net.
- // If `loadBalancerType` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.
- // If `loadBalancerType` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - LoadBalancerType pulumi.StringPtrInput - // The ID of the Net for the load balancer. - NetId pulumi.StringPtrInput - // The name of the policy. This name must be unique and consist of alphanumeric characters and dashes (-). - PolicyName pulumi.StringPtrInput - // The type of stickiness policy you want to create: `app` or `loadBalancer`. - PolicyType pulumi.StringPtrInput - PublicIp pulumi.StringPtrInput - RequestId pulumi.StringPtrInput - SecuredCookies pulumi.BoolPtrInput - // One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - SecurityGroups pulumi.StringArrayInput - // Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.
- // To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. - SourceSecurityGroups LoadBalancerPolicySourceSecurityGroupArrayInput - // The ID of the Subnet in which the load balancer was created. - Subnets pulumi.StringArrayInput - // The ID of the Subregion in which the load balancer was created. - SubregionNames pulumi.StringArrayInput - // One or more tags associated with the load balancer. - Tags LoadBalancerPolicyTagArrayInput -} - -func (LoadBalancerPolicyState) ElementType() reflect.Type { - return reflect.TypeOf((*loadBalancerPolicyState)(nil)).Elem() -} - -type loadBalancerPolicyArgs struct { - // Information about access logs. - AccessLogs []LoadBalancerPolicyAccessLog `pulumi:"accessLogs"` - // One or more IDs of back-end VMs for the load balancer. - BackendVmIds []string `pulumi:"backendVmIds"` - CookieExpirationPeriod *int `pulumi:"cookieExpirationPeriod"` - // The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie. - CookieName *string `pulumi:"cookieName"` - // The name of the load balancer for which you want to create a policy. - LoadBalancerName string `pulumi:"loadBalancerName"` - // The type of load balancer. Valid only for load balancers in a Net.
- // If `loadBalancerType` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.
- // If `loadBalancerType` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - LoadBalancerType *string `pulumi:"loadBalancerType"` - // The name of the policy. This name must be unique and consist of alphanumeric characters and dashes (-). - PolicyName string `pulumi:"policyName"` - // The type of stickiness policy you want to create: `app` or `loadBalancer`. - PolicyType string `pulumi:"policyType"` - // One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - SecurityGroups []string `pulumi:"securityGroups"` - // The ID of the Subnet in which the load balancer was created. - Subnets []string `pulumi:"subnets"` - // The ID of the Subregion in which the load balancer was created. - SubregionNames []string `pulumi:"subregionNames"` - // One or more tags associated with the load balancer. - Tags []LoadBalancerPolicyTag `pulumi:"tags"` -} - -// The set of arguments for constructing a LoadBalancerPolicy resource. -type LoadBalancerPolicyArgs struct { - // Information about access logs. - AccessLogs LoadBalancerPolicyAccessLogArrayInput - // One or more IDs of back-end VMs for the load balancer. - BackendVmIds pulumi.StringArrayInput - CookieExpirationPeriod pulumi.IntPtrInput - // The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie. - CookieName pulumi.StringPtrInput - // The name of the load balancer for which you want to create a policy. - LoadBalancerName pulumi.StringInput - // The type of load balancer. Valid only for load balancers in a Net.
- // If `loadBalancerType` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.
- // If `loadBalancerType` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - LoadBalancerType pulumi.StringPtrInput - // The name of the policy. This name must be unique and consist of alphanumeric characters and dashes (-). - PolicyName pulumi.StringInput - // The type of stickiness policy you want to create: `app` or `loadBalancer`. - PolicyType pulumi.StringInput - // One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - SecurityGroups pulumi.StringArrayInput - // The ID of the Subnet in which the load balancer was created. - Subnets pulumi.StringArrayInput - // The ID of the Subregion in which the load balancer was created. - SubregionNames pulumi.StringArrayInput - // One or more tags associated with the load balancer. - Tags LoadBalancerPolicyTagArrayInput -} - -func (LoadBalancerPolicyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*loadBalancerPolicyArgs)(nil)).Elem() -} - -type LoadBalancerPolicyInput interface { - pulumi.Input - - ToLoadBalancerPolicyOutput() LoadBalancerPolicyOutput - ToLoadBalancerPolicyOutputWithContext(ctx context.Context) LoadBalancerPolicyOutput -} - -func (*LoadBalancerPolicy) ElementType() reflect.Type { - return reflect.TypeOf((**LoadBalancerPolicy)(nil)).Elem() -} - -func (i *LoadBalancerPolicy) ToLoadBalancerPolicyOutput() LoadBalancerPolicyOutput { - return i.ToLoadBalancerPolicyOutputWithContext(context.Background()) -} - -func (i *LoadBalancerPolicy) ToLoadBalancerPolicyOutputWithContext(ctx context.Context) LoadBalancerPolicyOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerPolicyOutput) -} - -// LoadBalancerPolicyArrayInput is an input type that accepts LoadBalancerPolicyArray and LoadBalancerPolicyArrayOutput values. -// You can construct a concrete instance of `LoadBalancerPolicyArrayInput` via: -// -// LoadBalancerPolicyArray{ LoadBalancerPolicyArgs{...} } -type LoadBalancerPolicyArrayInput interface { - pulumi.Input - - ToLoadBalancerPolicyArrayOutput() LoadBalancerPolicyArrayOutput - ToLoadBalancerPolicyArrayOutputWithContext(context.Context) LoadBalancerPolicyArrayOutput -} - -type LoadBalancerPolicyArray []LoadBalancerPolicyInput - -func (LoadBalancerPolicyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*LoadBalancerPolicy)(nil)).Elem() -} - -func (i LoadBalancerPolicyArray) ToLoadBalancerPolicyArrayOutput() LoadBalancerPolicyArrayOutput { - return i.ToLoadBalancerPolicyArrayOutputWithContext(context.Background()) -} - -func (i LoadBalancerPolicyArray) ToLoadBalancerPolicyArrayOutputWithContext(ctx context.Context) LoadBalancerPolicyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerPolicyArrayOutput) -} - -// LoadBalancerPolicyMapInput is an input type that accepts LoadBalancerPolicyMap and LoadBalancerPolicyMapOutput values. -// You can construct a concrete instance of `LoadBalancerPolicyMapInput` via: -// -// LoadBalancerPolicyMap{ "key": LoadBalancerPolicyArgs{...} } -type LoadBalancerPolicyMapInput interface { - pulumi.Input - - ToLoadBalancerPolicyMapOutput() LoadBalancerPolicyMapOutput - ToLoadBalancerPolicyMapOutputWithContext(context.Context) LoadBalancerPolicyMapOutput -} - -type LoadBalancerPolicyMap map[string]LoadBalancerPolicyInput - -func (LoadBalancerPolicyMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*LoadBalancerPolicy)(nil)).Elem() -} - -func (i LoadBalancerPolicyMap) ToLoadBalancerPolicyMapOutput() LoadBalancerPolicyMapOutput { - return i.ToLoadBalancerPolicyMapOutputWithContext(context.Background()) -} - -func (i LoadBalancerPolicyMap) ToLoadBalancerPolicyMapOutputWithContext(ctx context.Context) LoadBalancerPolicyMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerPolicyMapOutput) -} - -type LoadBalancerPolicyOutput struct{ *pulumi.OutputState } - -func (LoadBalancerPolicyOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LoadBalancerPolicy)(nil)).Elem() -} - -func (o LoadBalancerPolicyOutput) ToLoadBalancerPolicyOutput() LoadBalancerPolicyOutput { - return o -} - -func (o LoadBalancerPolicyOutput) ToLoadBalancerPolicyOutputWithContext(ctx context.Context) LoadBalancerPolicyOutput { - return o -} - -// Information about access logs. -func (o LoadBalancerPolicyOutput) AccessLogs() LoadBalancerPolicyAccessLogArrayOutput { - return o.ApplyT(func(v *LoadBalancerPolicy) LoadBalancerPolicyAccessLogArrayOutput { return v.AccessLogs }).(LoadBalancerPolicyAccessLogArrayOutput) -} - -// The stickiness policies defined for the load balancer. -func (o LoadBalancerPolicyOutput) ApplicationStickyCookiePolicies() LoadBalancerPolicyApplicationStickyCookiePolicyArrayOutput { - return o.ApplyT(func(v *LoadBalancerPolicy) LoadBalancerPolicyApplicationStickyCookiePolicyArrayOutput { - return v.ApplicationStickyCookiePolicies - }).(LoadBalancerPolicyApplicationStickyCookiePolicyArrayOutput) -} - -// One or more IDs of back-end VMs for the load balancer. -func (o LoadBalancerPolicyOutput) BackendVmIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LoadBalancerPolicy) pulumi.StringArrayOutput { return v.BackendVmIds }).(pulumi.StringArrayOutput) -} - -func (o LoadBalancerPolicyOutput) CookieExpirationPeriod() pulumi.IntOutput { - return o.ApplyT(func(v *LoadBalancerPolicy) pulumi.IntOutput { return v.CookieExpirationPeriod }).(pulumi.IntOutput) -} - -// The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie. -func (o LoadBalancerPolicyOutput) CookieName() pulumi.StringOutput { - return o.ApplyT(func(v *LoadBalancerPolicy) pulumi.StringOutput { return v.CookieName }).(pulumi.StringOutput) -} - -// The DNS name of the load balancer. -func (o LoadBalancerPolicyOutput) DnsName() pulumi.StringOutput { - return o.ApplyT(func(v *LoadBalancerPolicy) pulumi.StringOutput { return v.DnsName }).(pulumi.StringOutput) -} - -// Information about the health check configuration. -func (o LoadBalancerPolicyOutput) HealthChecks() LoadBalancerPolicyHealthCheckArrayOutput { - return o.ApplyT(func(v *LoadBalancerPolicy) LoadBalancerPolicyHealthCheckArrayOutput { return v.HealthChecks }).(LoadBalancerPolicyHealthCheckArrayOutput) -} - -// The listeners for the load balancer. -func (o LoadBalancerPolicyOutput) Listeners() LoadBalancerPolicyListenerArrayOutput { - return o.ApplyT(func(v *LoadBalancerPolicy) LoadBalancerPolicyListenerArrayOutput { return v.Listeners }).(LoadBalancerPolicyListenerArrayOutput) -} - -// The name of the load balancer for which you want to create a policy. -func (o LoadBalancerPolicyOutput) LoadBalancerName() pulumi.StringOutput { - return o.ApplyT(func(v *LoadBalancerPolicy) pulumi.StringOutput { return v.LoadBalancerName }).(pulumi.StringOutput) -} - -// The policies defined for the load balancer. -func (o LoadBalancerPolicyOutput) LoadBalancerStickyCookiePolicies() LoadBalancerPolicyLoadBalancerStickyCookiePolicyArrayOutput { - return o.ApplyT(func(v *LoadBalancerPolicy) LoadBalancerPolicyLoadBalancerStickyCookiePolicyArrayOutput { - return v.LoadBalancerStickyCookiePolicies - }).(LoadBalancerPolicyLoadBalancerStickyCookiePolicyArrayOutput) -} - -// The type of load balancer. Valid only for load balancers in a Net.
-// If `loadBalancerType` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.
-// If `loadBalancerType` is `internal`, the load balancer has a public DNS name that resolves to a private IP. -func (o LoadBalancerPolicyOutput) LoadBalancerType() pulumi.StringOutput { - return o.ApplyT(func(v *LoadBalancerPolicy) pulumi.StringOutput { return v.LoadBalancerType }).(pulumi.StringOutput) -} - -// The ID of the Net for the load balancer. -func (o LoadBalancerPolicyOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v *LoadBalancerPolicy) pulumi.StringOutput { return v.NetId }).(pulumi.StringOutput) -} - -// The name of the policy. This name must be unique and consist of alphanumeric characters and dashes (-). -func (o LoadBalancerPolicyOutput) PolicyName() pulumi.StringOutput { - return o.ApplyT(func(v *LoadBalancerPolicy) pulumi.StringOutput { return v.PolicyName }).(pulumi.StringOutput) -} - -// The type of stickiness policy you want to create: `app` or `loadBalancer`. -func (o LoadBalancerPolicyOutput) PolicyType() pulumi.StringOutput { - return o.ApplyT(func(v *LoadBalancerPolicy) pulumi.StringOutput { return v.PolicyType }).(pulumi.StringOutput) -} - -func (o LoadBalancerPolicyOutput) PublicIp() pulumi.StringOutput { - return o.ApplyT(func(v *LoadBalancerPolicy) pulumi.StringOutput { return v.PublicIp }).(pulumi.StringOutput) -} - -func (o LoadBalancerPolicyOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *LoadBalancerPolicy) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -func (o LoadBalancerPolicyOutput) SecuredCookies() pulumi.BoolOutput { - return o.ApplyT(func(v *LoadBalancerPolicy) pulumi.BoolOutput { return v.SecuredCookies }).(pulumi.BoolOutput) -} - -// One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. -func (o LoadBalancerPolicyOutput) SecurityGroups() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LoadBalancerPolicy) pulumi.StringArrayOutput { return v.SecurityGroups }).(pulumi.StringArrayOutput) -} - -// Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.
-// To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. -func (o LoadBalancerPolicyOutput) SourceSecurityGroups() LoadBalancerPolicySourceSecurityGroupArrayOutput { - return o.ApplyT(func(v *LoadBalancerPolicy) LoadBalancerPolicySourceSecurityGroupArrayOutput { - return v.SourceSecurityGroups - }).(LoadBalancerPolicySourceSecurityGroupArrayOutput) -} - -// The ID of the Subnet in which the load balancer was created. -func (o LoadBalancerPolicyOutput) Subnets() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LoadBalancerPolicy) pulumi.StringArrayOutput { return v.Subnets }).(pulumi.StringArrayOutput) -} - -// The ID of the Subregion in which the load balancer was created. -func (o LoadBalancerPolicyOutput) SubregionNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LoadBalancerPolicy) pulumi.StringArrayOutput { return v.SubregionNames }).(pulumi.StringArrayOutput) -} - -// One or more tags associated with the load balancer. -func (o LoadBalancerPolicyOutput) Tags() LoadBalancerPolicyTagArrayOutput { - return o.ApplyT(func(v *LoadBalancerPolicy) LoadBalancerPolicyTagArrayOutput { return v.Tags }).(LoadBalancerPolicyTagArrayOutput) -} - -type LoadBalancerPolicyArrayOutput struct{ *pulumi.OutputState } - -func (LoadBalancerPolicyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*LoadBalancerPolicy)(nil)).Elem() -} - -func (o LoadBalancerPolicyArrayOutput) ToLoadBalancerPolicyArrayOutput() LoadBalancerPolicyArrayOutput { - return o -} - -func (o LoadBalancerPolicyArrayOutput) ToLoadBalancerPolicyArrayOutputWithContext(ctx context.Context) LoadBalancerPolicyArrayOutput { - return o -} - -func (o LoadBalancerPolicyArrayOutput) Index(i pulumi.IntInput) LoadBalancerPolicyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *LoadBalancerPolicy { - return vs[0].([]*LoadBalancerPolicy)[vs[1].(int)] - }).(LoadBalancerPolicyOutput) -} - -type LoadBalancerPolicyMapOutput struct{ *pulumi.OutputState } - -func (LoadBalancerPolicyMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*LoadBalancerPolicy)(nil)).Elem() -} - -func (o LoadBalancerPolicyMapOutput) ToLoadBalancerPolicyMapOutput() LoadBalancerPolicyMapOutput { - return o -} - -func (o LoadBalancerPolicyMapOutput) ToLoadBalancerPolicyMapOutputWithContext(ctx context.Context) LoadBalancerPolicyMapOutput { - return o -} - -func (o LoadBalancerPolicyMapOutput) MapIndex(k pulumi.StringInput) LoadBalancerPolicyOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *LoadBalancerPolicy { - return vs[0].(map[string]*LoadBalancerPolicy)[vs[1].(string)] - }).(LoadBalancerPolicyOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerPolicyInput)(nil)).Elem(), &LoadBalancerPolicy{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerPolicyArrayInput)(nil)).Elem(), LoadBalancerPolicyArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerPolicyMapInput)(nil)).Elem(), LoadBalancerPolicyMap{}) - pulumi.RegisterOutputType(LoadBalancerPolicyOutput{}) - pulumi.RegisterOutputType(LoadBalancerPolicyArrayOutput{}) - pulumi.RegisterOutputType(LoadBalancerPolicyMapOutput{}) -} diff --git a/sdk/go/outscale/loadBalancerVms.go b/sdk/go/outscale/loadBalancerVms.go deleted file mode 100644 index e3b0937..0000000 --- a/sdk/go/outscale/loadBalancerVms.go +++ /dev/null @@ -1,344 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "errors" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages load balancer VMs. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Load-Balancers.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-loadbalancer). -// -// ## Example Usage -// ### Required resources -// -// ```go -// package main -// -// import ( -// -// "fmt" -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewVm(ctx, "outscaleVm01", &outscale.VmArgs{ -// ImageId: pulumi.String("ami-12345678"), -// VmType: pulumi.String("t2.small"), -// KeypairName: pulumi.Any(_var.Keypair_name), -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewVm(ctx, "outscaleVm02", &outscale.VmArgs{ -// ImageId: pulumi.Any(_var.Image_id), -// VmType: pulumi.Any(_var.Vm_type), -// KeypairName: pulumi.Any(_var.Keypair_name), -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewLoadBalancer(ctx, "loadBalancer01", &outscale.LoadBalancerArgs{ -// LoadBalancerName: pulumi.String("load-balancer-for-backend-vms"), -// SubregionNames: pulumi.StringArray{ -// pulumi.String(fmt.Sprintf("%va", _var.Region)), -// }, -// Listeners: outscale.LoadBalancerListenerArray{ -// &outscale.LoadBalancerListenerArgs{ -// BackendPort: pulumi.Int(80), -// BackendProtocol: pulumi.String("TCP"), -// LoadBalancerProtocol: pulumi.String("TCP"), -// LoadBalancerPort: pulumi.Int(80), -// }, -// }, -// Tags: outscale.LoadBalancerTagArray{ -// &outscale.LoadBalancerTagArgs{ -// Key: pulumi.String("name"), -// Value: pulumi.String("outscale_load_balancer01"), -// }, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Register VMs with a load balancer -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewLoadBalancerVms(ctx, "outscaleLoadBalancerVms01", &outscale.LoadBalancerVmsArgs{ -// LoadBalancerName: pulumi.String("load-balancer-for-backend-vms"), -// BackendVmIds: pulumi.StringArray{ -// outscale_vm.Outscale_vm01.Vm_id, -// outscale_vm.Outscale_vm_02.Vm_id, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -type LoadBalancerVms struct { - pulumi.CustomResourceState - - // One or more IDs of back-end VMs.
- // Specifying the same ID several times has no effect as each back-end VM has equal weight. - BackendVmIds pulumi.StringArrayOutput `pulumi:"backendVmIds"` - // The name of the load balancer. - LoadBalancerName pulumi.StringOutput `pulumi:"loadBalancerName"` - RequestId pulumi.StringOutput `pulumi:"requestId"` -} - -// NewLoadBalancerVms registers a new resource with the given unique name, arguments, and options. -func NewLoadBalancerVms(ctx *pulumi.Context, - name string, args *LoadBalancerVmsArgs, opts ...pulumi.ResourceOption) (*LoadBalancerVms, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.BackendVmIds == nil { - return nil, errors.New("invalid value for required argument 'BackendVmIds'") - } - if args.LoadBalancerName == nil { - return nil, errors.New("invalid value for required argument 'LoadBalancerName'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource LoadBalancerVms - err := ctx.RegisterResource("outscale:index/loadBalancerVms:LoadBalancerVms", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetLoadBalancerVms gets an existing LoadBalancerVms resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetLoadBalancerVms(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *LoadBalancerVmsState, opts ...pulumi.ResourceOption) (*LoadBalancerVms, error) { - var resource LoadBalancerVms - err := ctx.ReadResource("outscale:index/loadBalancerVms:LoadBalancerVms", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering LoadBalancerVms resources. -type loadBalancerVmsState struct { - // One or more IDs of back-end VMs.
- // Specifying the same ID several times has no effect as each back-end VM has equal weight. - BackendVmIds []string `pulumi:"backendVmIds"` - // The name of the load balancer. - LoadBalancerName *string `pulumi:"loadBalancerName"` - RequestId *string `pulumi:"requestId"` -} - -type LoadBalancerVmsState struct { - // One or more IDs of back-end VMs.
- // Specifying the same ID several times has no effect as each back-end VM has equal weight. - BackendVmIds pulumi.StringArrayInput - // The name of the load balancer. - LoadBalancerName pulumi.StringPtrInput - RequestId pulumi.StringPtrInput -} - -func (LoadBalancerVmsState) ElementType() reflect.Type { - return reflect.TypeOf((*loadBalancerVmsState)(nil)).Elem() -} - -type loadBalancerVmsArgs struct { - // One or more IDs of back-end VMs.
- // Specifying the same ID several times has no effect as each back-end VM has equal weight. - BackendVmIds []string `pulumi:"backendVmIds"` - // The name of the load balancer. - LoadBalancerName string `pulumi:"loadBalancerName"` -} - -// The set of arguments for constructing a LoadBalancerVms resource. -type LoadBalancerVmsArgs struct { - // One or more IDs of back-end VMs.
- // Specifying the same ID several times has no effect as each back-end VM has equal weight. - BackendVmIds pulumi.StringArrayInput - // The name of the load balancer. - LoadBalancerName pulumi.StringInput -} - -func (LoadBalancerVmsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*loadBalancerVmsArgs)(nil)).Elem() -} - -type LoadBalancerVmsInput interface { - pulumi.Input - - ToLoadBalancerVmsOutput() LoadBalancerVmsOutput - ToLoadBalancerVmsOutputWithContext(ctx context.Context) LoadBalancerVmsOutput -} - -func (*LoadBalancerVms) ElementType() reflect.Type { - return reflect.TypeOf((**LoadBalancerVms)(nil)).Elem() -} - -func (i *LoadBalancerVms) ToLoadBalancerVmsOutput() LoadBalancerVmsOutput { - return i.ToLoadBalancerVmsOutputWithContext(context.Background()) -} - -func (i *LoadBalancerVms) ToLoadBalancerVmsOutputWithContext(ctx context.Context) LoadBalancerVmsOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerVmsOutput) -} - -// LoadBalancerVmsArrayInput is an input type that accepts LoadBalancerVmsArray and LoadBalancerVmsArrayOutput values. -// You can construct a concrete instance of `LoadBalancerVmsArrayInput` via: -// -// LoadBalancerVmsArray{ LoadBalancerVmsArgs{...} } -type LoadBalancerVmsArrayInput interface { - pulumi.Input - - ToLoadBalancerVmsArrayOutput() LoadBalancerVmsArrayOutput - ToLoadBalancerVmsArrayOutputWithContext(context.Context) LoadBalancerVmsArrayOutput -} - -type LoadBalancerVmsArray []LoadBalancerVmsInput - -func (LoadBalancerVmsArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*LoadBalancerVms)(nil)).Elem() -} - -func (i LoadBalancerVmsArray) ToLoadBalancerVmsArrayOutput() LoadBalancerVmsArrayOutput { - return i.ToLoadBalancerVmsArrayOutputWithContext(context.Background()) -} - -func (i LoadBalancerVmsArray) ToLoadBalancerVmsArrayOutputWithContext(ctx context.Context) LoadBalancerVmsArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerVmsArrayOutput) -} - -// LoadBalancerVmsMapInput is an input type that accepts LoadBalancerVmsMap and LoadBalancerVmsMapOutput values. -// You can construct a concrete instance of `LoadBalancerVmsMapInput` via: -// -// LoadBalancerVmsMap{ "key": LoadBalancerVmsArgs{...} } -type LoadBalancerVmsMapInput interface { - pulumi.Input - - ToLoadBalancerVmsMapOutput() LoadBalancerVmsMapOutput - ToLoadBalancerVmsMapOutputWithContext(context.Context) LoadBalancerVmsMapOutput -} - -type LoadBalancerVmsMap map[string]LoadBalancerVmsInput - -func (LoadBalancerVmsMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*LoadBalancerVms)(nil)).Elem() -} - -func (i LoadBalancerVmsMap) ToLoadBalancerVmsMapOutput() LoadBalancerVmsMapOutput { - return i.ToLoadBalancerVmsMapOutputWithContext(context.Background()) -} - -func (i LoadBalancerVmsMap) ToLoadBalancerVmsMapOutputWithContext(ctx context.Context) LoadBalancerVmsMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerVmsMapOutput) -} - -type LoadBalancerVmsOutput struct{ *pulumi.OutputState } - -func (LoadBalancerVmsOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LoadBalancerVms)(nil)).Elem() -} - -func (o LoadBalancerVmsOutput) ToLoadBalancerVmsOutput() LoadBalancerVmsOutput { - return o -} - -func (o LoadBalancerVmsOutput) ToLoadBalancerVmsOutputWithContext(ctx context.Context) LoadBalancerVmsOutput { - return o -} - -// One or more IDs of back-end VMs.
-// Specifying the same ID several times has no effect as each back-end VM has equal weight. -func (o LoadBalancerVmsOutput) BackendVmIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LoadBalancerVms) pulumi.StringArrayOutput { return v.BackendVmIds }).(pulumi.StringArrayOutput) -} - -// The name of the load balancer. -func (o LoadBalancerVmsOutput) LoadBalancerName() pulumi.StringOutput { - return o.ApplyT(func(v *LoadBalancerVms) pulumi.StringOutput { return v.LoadBalancerName }).(pulumi.StringOutput) -} - -func (o LoadBalancerVmsOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *LoadBalancerVms) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -type LoadBalancerVmsArrayOutput struct{ *pulumi.OutputState } - -func (LoadBalancerVmsArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*LoadBalancerVms)(nil)).Elem() -} - -func (o LoadBalancerVmsArrayOutput) ToLoadBalancerVmsArrayOutput() LoadBalancerVmsArrayOutput { - return o -} - -func (o LoadBalancerVmsArrayOutput) ToLoadBalancerVmsArrayOutputWithContext(ctx context.Context) LoadBalancerVmsArrayOutput { - return o -} - -func (o LoadBalancerVmsArrayOutput) Index(i pulumi.IntInput) LoadBalancerVmsOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *LoadBalancerVms { - return vs[0].([]*LoadBalancerVms)[vs[1].(int)] - }).(LoadBalancerVmsOutput) -} - -type LoadBalancerVmsMapOutput struct{ *pulumi.OutputState } - -func (LoadBalancerVmsMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*LoadBalancerVms)(nil)).Elem() -} - -func (o LoadBalancerVmsMapOutput) ToLoadBalancerVmsMapOutput() LoadBalancerVmsMapOutput { - return o -} - -func (o LoadBalancerVmsMapOutput) ToLoadBalancerVmsMapOutputWithContext(ctx context.Context) LoadBalancerVmsMapOutput { - return o -} - -func (o LoadBalancerVmsMapOutput) MapIndex(k pulumi.StringInput) LoadBalancerVmsOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *LoadBalancerVms { - return vs[0].(map[string]*LoadBalancerVms)[vs[1].(string)] - }).(LoadBalancerVmsOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerVmsInput)(nil)).Elem(), &LoadBalancerVms{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerVmsArrayInput)(nil)).Elem(), LoadBalancerVmsArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerVmsMapInput)(nil)).Elem(), LoadBalancerVmsMap{}) - pulumi.RegisterOutputType(LoadBalancerVmsOutput{}) - pulumi.RegisterOutputType(LoadBalancerVmsArrayOutput{}) - pulumi.RegisterOutputType(LoadBalancerVmsMapOutput{}) -} diff --git a/sdk/go/outscale/natService.go b/sdk/go/outscale/natService.go deleted file mode 100644 index c552aa4..0000000 --- a/sdk/go/outscale/natService.go +++ /dev/null @@ -1,422 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "errors" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages a NAT service. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-NAT-Gateways.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-natservice). -// -// ## Example Usage -// ### Required resources -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// net01, err := outscale.NewNet(ctx, "net01", &outscale.NetArgs{ -// IpRange: pulumi.String("10.0.0.0/16"), -// }) -// if err != nil { -// return err -// } -// subnet01, err := outscale.NewSubnet(ctx, "subnet01", &outscale.SubnetArgs{ -// NetId: net01.NetId, -// IpRange: pulumi.String("10.0.0.0/18"), -// }) -// if err != nil { -// return err -// } -// routeTable01, err := outscale.NewRouteTable(ctx, "routeTable01", &outscale.RouteTableArgs{ -// NetId: net01.NetId, -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewRouteTableLink(ctx, "outscaleRouteTableLink01", &outscale.RouteTableLinkArgs{ -// SubnetId: subnet01.SubnetId, -// RouteTableId: routeTable01.RouteTableId, -// }) -// if err != nil { -// return err -// } -// internetService01, err := outscale.NewInternetService(ctx, "internetService01", nil) -// if err != nil { -// return err -// } -// internetServiceLink01, err := outscale.NewInternetServiceLink(ctx, "internetServiceLink01", &outscale.InternetServiceLinkArgs{ -// NetId: net01.NetId, -// InternetServiceId: internetService01.InternetServiceId, -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewRoute(ctx, "route01", &outscale.RouteArgs{ -// DestinationIpRange: pulumi.String("0.0.0.0/0"), -// GatewayId: internetService01.InternetServiceId, -// RouteTableId: routeTable01.RouteTableId, -// }, pulumi.DependsOn([]pulumi.Resource{ -// internetServiceLink01, -// })) -// if err != nil { -// return err -// } -// _, err = outscale.NewPublicIp(ctx, "publicIp01", nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Create a NAT service -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewNatService(ctx, "natService01", &outscale.NatServiceArgs{ -// SubnetId: pulumi.Any(outscale_subnet.Subnet01.Subnet_id), -// PublicIpId: pulumi.Any(outscale_public_ip.Public_ip01.Public_ip_id), -// }, pulumi.DependsOn([]pulumi.Resource{ -// outscale_route.Route01, -// })) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// A NAT service can be imported using its ID. For exampleconsole -// -// ```sh -// -// $ pulumi import outscale:index/natService:NatService ImportedNatService nat-87654321 -// -// ``` -type NatService struct { - pulumi.CustomResourceState - - // The ID of the NAT service. - NatServiceId pulumi.StringOutput `pulumi:"natServiceId"` - // The ID of the Net in which the NAT service is. - NetId pulumi.StringOutput `pulumi:"netId"` - // The allocation ID of the public IP to associate with the NAT service.
- // If the public IP is already associated with another resource, you must first disassociate it. - PublicIpId pulumi.StringOutput `pulumi:"publicIpId"` - // Information about the public IP or IPs associated with the NAT service. - PublicIps NatServicePublicIpArrayOutput `pulumi:"publicIps"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - // The state of the NAT service (`pending` \| `available` \| `deleting` \| `deleted`). - State pulumi.StringOutput `pulumi:"state"` - // The ID of the Subnet in which you want to create the NAT service. - SubnetId pulumi.StringOutput `pulumi:"subnetId"` - // A tag to add to this resource. You can specify this argument several times. - Tags NatServiceTagArrayOutput `pulumi:"tags"` -} - -// NewNatService registers a new resource with the given unique name, arguments, and options. -func NewNatService(ctx *pulumi.Context, - name string, args *NatServiceArgs, opts ...pulumi.ResourceOption) (*NatService, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.PublicIpId == nil { - return nil, errors.New("invalid value for required argument 'PublicIpId'") - } - if args.SubnetId == nil { - return nil, errors.New("invalid value for required argument 'SubnetId'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource NatService - err := ctx.RegisterResource("outscale:index/natService:NatService", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetNatService gets an existing NatService resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetNatService(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *NatServiceState, opts ...pulumi.ResourceOption) (*NatService, error) { - var resource NatService - err := ctx.ReadResource("outscale:index/natService:NatService", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering NatService resources. -type natServiceState struct { - // The ID of the NAT service. - NatServiceId *string `pulumi:"natServiceId"` - // The ID of the Net in which the NAT service is. - NetId *string `pulumi:"netId"` - // The allocation ID of the public IP to associate with the NAT service.
- // If the public IP is already associated with another resource, you must first disassociate it. - PublicIpId *string `pulumi:"publicIpId"` - // Information about the public IP or IPs associated with the NAT service. - PublicIps []NatServicePublicIp `pulumi:"publicIps"` - RequestId *string `pulumi:"requestId"` - // The state of the NAT service (`pending` \| `available` \| `deleting` \| `deleted`). - State *string `pulumi:"state"` - // The ID of the Subnet in which you want to create the NAT service. - SubnetId *string `pulumi:"subnetId"` - // A tag to add to this resource. You can specify this argument several times. - Tags []NatServiceTag `pulumi:"tags"` -} - -type NatServiceState struct { - // The ID of the NAT service. - NatServiceId pulumi.StringPtrInput - // The ID of the Net in which the NAT service is. - NetId pulumi.StringPtrInput - // The allocation ID of the public IP to associate with the NAT service.
- // If the public IP is already associated with another resource, you must first disassociate it. - PublicIpId pulumi.StringPtrInput - // Information about the public IP or IPs associated with the NAT service. - PublicIps NatServicePublicIpArrayInput - RequestId pulumi.StringPtrInput - // The state of the NAT service (`pending` \| `available` \| `deleting` \| `deleted`). - State pulumi.StringPtrInput - // The ID of the Subnet in which you want to create the NAT service. - SubnetId pulumi.StringPtrInput - // A tag to add to this resource. You can specify this argument several times. - Tags NatServiceTagArrayInput -} - -func (NatServiceState) ElementType() reflect.Type { - return reflect.TypeOf((*natServiceState)(nil)).Elem() -} - -type natServiceArgs struct { - // The allocation ID of the public IP to associate with the NAT service.
- // If the public IP is already associated with another resource, you must first disassociate it. - PublicIpId string `pulumi:"publicIpId"` - // The ID of the Subnet in which you want to create the NAT service. - SubnetId string `pulumi:"subnetId"` - // A tag to add to this resource. You can specify this argument several times. - Tags []NatServiceTag `pulumi:"tags"` -} - -// The set of arguments for constructing a NatService resource. -type NatServiceArgs struct { - // The allocation ID of the public IP to associate with the NAT service.
- // If the public IP is already associated with another resource, you must first disassociate it. - PublicIpId pulumi.StringInput - // The ID of the Subnet in which you want to create the NAT service. - SubnetId pulumi.StringInput - // A tag to add to this resource. You can specify this argument several times. - Tags NatServiceTagArrayInput -} - -func (NatServiceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*natServiceArgs)(nil)).Elem() -} - -type NatServiceInput interface { - pulumi.Input - - ToNatServiceOutput() NatServiceOutput - ToNatServiceOutputWithContext(ctx context.Context) NatServiceOutput -} - -func (*NatService) ElementType() reflect.Type { - return reflect.TypeOf((**NatService)(nil)).Elem() -} - -func (i *NatService) ToNatServiceOutput() NatServiceOutput { - return i.ToNatServiceOutputWithContext(context.Background()) -} - -func (i *NatService) ToNatServiceOutputWithContext(ctx context.Context) NatServiceOutput { - return pulumi.ToOutputWithContext(ctx, i).(NatServiceOutput) -} - -// NatServiceArrayInput is an input type that accepts NatServiceArray and NatServiceArrayOutput values. -// You can construct a concrete instance of `NatServiceArrayInput` via: -// -// NatServiceArray{ NatServiceArgs{...} } -type NatServiceArrayInput interface { - pulumi.Input - - ToNatServiceArrayOutput() NatServiceArrayOutput - ToNatServiceArrayOutputWithContext(context.Context) NatServiceArrayOutput -} - -type NatServiceArray []NatServiceInput - -func (NatServiceArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*NatService)(nil)).Elem() -} - -func (i NatServiceArray) ToNatServiceArrayOutput() NatServiceArrayOutput { - return i.ToNatServiceArrayOutputWithContext(context.Background()) -} - -func (i NatServiceArray) ToNatServiceArrayOutputWithContext(ctx context.Context) NatServiceArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(NatServiceArrayOutput) -} - -// NatServiceMapInput is an input type that accepts NatServiceMap and NatServiceMapOutput values. -// You can construct a concrete instance of `NatServiceMapInput` via: -// -// NatServiceMap{ "key": NatServiceArgs{...} } -type NatServiceMapInput interface { - pulumi.Input - - ToNatServiceMapOutput() NatServiceMapOutput - ToNatServiceMapOutputWithContext(context.Context) NatServiceMapOutput -} - -type NatServiceMap map[string]NatServiceInput - -func (NatServiceMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*NatService)(nil)).Elem() -} - -func (i NatServiceMap) ToNatServiceMapOutput() NatServiceMapOutput { - return i.ToNatServiceMapOutputWithContext(context.Background()) -} - -func (i NatServiceMap) ToNatServiceMapOutputWithContext(ctx context.Context) NatServiceMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(NatServiceMapOutput) -} - -type NatServiceOutput struct{ *pulumi.OutputState } - -func (NatServiceOutput) ElementType() reflect.Type { - return reflect.TypeOf((**NatService)(nil)).Elem() -} - -func (o NatServiceOutput) ToNatServiceOutput() NatServiceOutput { - return o -} - -func (o NatServiceOutput) ToNatServiceOutputWithContext(ctx context.Context) NatServiceOutput { - return o -} - -// The ID of the NAT service. -func (o NatServiceOutput) NatServiceId() pulumi.StringOutput { - return o.ApplyT(func(v *NatService) pulumi.StringOutput { return v.NatServiceId }).(pulumi.StringOutput) -} - -// The ID of the Net in which the NAT service is. -func (o NatServiceOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v *NatService) pulumi.StringOutput { return v.NetId }).(pulumi.StringOutput) -} - -// The allocation ID of the public IP to associate with the NAT service.
-// If the public IP is already associated with another resource, you must first disassociate it. -func (o NatServiceOutput) PublicIpId() pulumi.StringOutput { - return o.ApplyT(func(v *NatService) pulumi.StringOutput { return v.PublicIpId }).(pulumi.StringOutput) -} - -// Information about the public IP or IPs associated with the NAT service. -func (o NatServiceOutput) PublicIps() NatServicePublicIpArrayOutput { - return o.ApplyT(func(v *NatService) NatServicePublicIpArrayOutput { return v.PublicIps }).(NatServicePublicIpArrayOutput) -} - -func (o NatServiceOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *NatService) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -// The state of the NAT service (`pending` \| `available` \| `deleting` \| `deleted`). -func (o NatServiceOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v *NatService) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) -} - -// The ID of the Subnet in which you want to create the NAT service. -func (o NatServiceOutput) SubnetId() pulumi.StringOutput { - return o.ApplyT(func(v *NatService) pulumi.StringOutput { return v.SubnetId }).(pulumi.StringOutput) -} - -// A tag to add to this resource. You can specify this argument several times. -func (o NatServiceOutput) Tags() NatServiceTagArrayOutput { - return o.ApplyT(func(v *NatService) NatServiceTagArrayOutput { return v.Tags }).(NatServiceTagArrayOutput) -} - -type NatServiceArrayOutput struct{ *pulumi.OutputState } - -func (NatServiceArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*NatService)(nil)).Elem() -} - -func (o NatServiceArrayOutput) ToNatServiceArrayOutput() NatServiceArrayOutput { - return o -} - -func (o NatServiceArrayOutput) ToNatServiceArrayOutputWithContext(ctx context.Context) NatServiceArrayOutput { - return o -} - -func (o NatServiceArrayOutput) Index(i pulumi.IntInput) NatServiceOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *NatService { - return vs[0].([]*NatService)[vs[1].(int)] - }).(NatServiceOutput) -} - -type NatServiceMapOutput struct{ *pulumi.OutputState } - -func (NatServiceMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*NatService)(nil)).Elem() -} - -func (o NatServiceMapOutput) ToNatServiceMapOutput() NatServiceMapOutput { - return o -} - -func (o NatServiceMapOutput) ToNatServiceMapOutputWithContext(ctx context.Context) NatServiceMapOutput { - return o -} - -func (o NatServiceMapOutput) MapIndex(k pulumi.StringInput) NatServiceOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *NatService { - return vs[0].(map[string]*NatService)[vs[1].(string)] - }).(NatServiceOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*NatServiceInput)(nil)).Elem(), &NatService{}) - pulumi.RegisterInputType(reflect.TypeOf((*NatServiceArrayInput)(nil)).Elem(), NatServiceArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*NatServiceMapInput)(nil)).Elem(), NatServiceMap{}) - pulumi.RegisterOutputType(NatServiceOutput{}) - pulumi.RegisterOutputType(NatServiceArrayOutput{}) - pulumi.RegisterOutputType(NatServiceMapOutput{}) -} diff --git a/sdk/go/outscale/net.go b/sdk/go/outscale/net.go deleted file mode 100644 index 19101b8..0000000 --- a/sdk/go/outscale/net.go +++ /dev/null @@ -1,405 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "errors" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages a Net. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPCs.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-net). -// -// ## Example Usage -// ### Create a Net -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewNet(ctx, "net01", &outscale.NetArgs{ -// IpRange: pulumi.String("10.10.0.0/16"), -// Tenancy: pulumi.String("default"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Create a Net with a network -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// net02, err := outscale.NewNet(ctx, "net02", &outscale.NetArgs{ -// IpRange: pulumi.String("10.0.0.0/16"), -// }) -// if err != nil { -// return err -// } -// subnet01, err := outscale.NewSubnet(ctx, "subnet01", &outscale.SubnetArgs{ -// NetId: net02.NetId, -// IpRange: pulumi.String("10.0.0.0/18"), -// }) -// if err != nil { -// return err -// } -// publicIp01, err := outscale.NewPublicIp(ctx, "publicIp01", nil) -// if err != nil { -// return err -// } -// _, err = outscale.NewNatService(ctx, "natService01", &outscale.NatServiceArgs{ -// SubnetId: subnet01.SubnetId, -// PublicIpId: publicIp01.PublicIpId, -// }) -// if err != nil { -// return err -// } -// routeTable01, err := outscale.NewRouteTable(ctx, "routeTable01", &outscale.RouteTableArgs{ -// NetId: net02.NetId, -// }) -// if err != nil { -// return err -// } -// internetService01, err := outscale.NewInternetService(ctx, "internetService01", nil) -// if err != nil { -// return err -// } -// _, err = outscale.NewRoute(ctx, "route01", &outscale.RouteArgs{ -// DestinationIpRange: pulumi.String("0.0.0.0/0"), -// GatewayId: internetService01.InternetServiceId, -// RouteTableId: routeTable01.RouteTableId, -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewRouteTableLink(ctx, "routeTableLink01", &outscale.RouteTableLinkArgs{ -// SubnetId: subnet01.SubnetId, -// RouteTableId: routeTable01.ID(), -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewInternetServiceLink(ctx, "internetServiceLink01", &outscale.InternetServiceLinkArgs{ -// NetId: net02.NetId, -// InternetServiceId: internetService01.ID(), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// A Net can be imported using its ID. For exampleconsole -// -// ```sh -// -// $ pulumi import outscale:index/net:Net ImportedNet vpc-87654321 -// -// ``` -type Net struct { - pulumi.CustomResourceState - - // The ID of the DHCP options set (or `default` if you want to associate the default one). - DhcpOptionsSetId pulumi.StringOutput `pulumi:"dhcpOptionsSetId"` - // The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). - IpRange pulumi.StringOutput `pulumi:"ipRange"` - // The ID of the Net. - NetId pulumi.StringOutput `pulumi:"netId"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - // The state of the Net (`pending` \| `available` \| `deleted`). - State pulumi.StringOutput `pulumi:"state"` - // A tag to add to this resource. You can specify this argument several times. - Tags NetTagArrayOutput `pulumi:"tags"` - // The tenancy options for the VMs (`default` if a VM created in a Net can be launched with any tenancy, `dedicated` if it can be launched with dedicated tenancy VMs running on single-tenant hardware). - Tenancy pulumi.StringOutput `pulumi:"tenancy"` -} - -// NewNet registers a new resource with the given unique name, arguments, and options. -func NewNet(ctx *pulumi.Context, - name string, args *NetArgs, opts ...pulumi.ResourceOption) (*Net, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.IpRange == nil { - return nil, errors.New("invalid value for required argument 'IpRange'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource Net - err := ctx.RegisterResource("outscale:index/net:Net", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetNet gets an existing Net resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetNet(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *NetState, opts ...pulumi.ResourceOption) (*Net, error) { - var resource Net - err := ctx.ReadResource("outscale:index/net:Net", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering Net resources. -type netState struct { - // The ID of the DHCP options set (or `default` if you want to associate the default one). - DhcpOptionsSetId *string `pulumi:"dhcpOptionsSetId"` - // The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). - IpRange *string `pulumi:"ipRange"` - // The ID of the Net. - NetId *string `pulumi:"netId"` - RequestId *string `pulumi:"requestId"` - // The state of the Net (`pending` \| `available` \| `deleted`). - State *string `pulumi:"state"` - // A tag to add to this resource. You can specify this argument several times. - Tags []NetTag `pulumi:"tags"` - // The tenancy options for the VMs (`default` if a VM created in a Net can be launched with any tenancy, `dedicated` if it can be launched with dedicated tenancy VMs running on single-tenant hardware). - Tenancy *string `pulumi:"tenancy"` -} - -type NetState struct { - // The ID of the DHCP options set (or `default` if you want to associate the default one). - DhcpOptionsSetId pulumi.StringPtrInput - // The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). - IpRange pulumi.StringPtrInput - // The ID of the Net. - NetId pulumi.StringPtrInput - RequestId pulumi.StringPtrInput - // The state of the Net (`pending` \| `available` \| `deleted`). - State pulumi.StringPtrInput - // A tag to add to this resource. You can specify this argument several times. - Tags NetTagArrayInput - // The tenancy options for the VMs (`default` if a VM created in a Net can be launched with any tenancy, `dedicated` if it can be launched with dedicated tenancy VMs running on single-tenant hardware). - Tenancy pulumi.StringPtrInput -} - -func (NetState) ElementType() reflect.Type { - return reflect.TypeOf((*netState)(nil)).Elem() -} - -type netArgs struct { - // The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). - IpRange string `pulumi:"ipRange"` - // A tag to add to this resource. You can specify this argument several times. - Tags []NetTag `pulumi:"tags"` - // The tenancy options for the VMs (`default` if a VM created in a Net can be launched with any tenancy, `dedicated` if it can be launched with dedicated tenancy VMs running on single-tenant hardware). - Tenancy *string `pulumi:"tenancy"` -} - -// The set of arguments for constructing a Net resource. -type NetArgs struct { - // The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). - IpRange pulumi.StringInput - // A tag to add to this resource. You can specify this argument several times. - Tags NetTagArrayInput - // The tenancy options for the VMs (`default` if a VM created in a Net can be launched with any tenancy, `dedicated` if it can be launched with dedicated tenancy VMs running on single-tenant hardware). - Tenancy pulumi.StringPtrInput -} - -func (NetArgs) ElementType() reflect.Type { - return reflect.TypeOf((*netArgs)(nil)).Elem() -} - -type NetInput interface { - pulumi.Input - - ToNetOutput() NetOutput - ToNetOutputWithContext(ctx context.Context) NetOutput -} - -func (*Net) ElementType() reflect.Type { - return reflect.TypeOf((**Net)(nil)).Elem() -} - -func (i *Net) ToNetOutput() NetOutput { - return i.ToNetOutputWithContext(context.Background()) -} - -func (i *Net) ToNetOutputWithContext(ctx context.Context) NetOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetOutput) -} - -// NetArrayInput is an input type that accepts NetArray and NetArrayOutput values. -// You can construct a concrete instance of `NetArrayInput` via: -// -// NetArray{ NetArgs{...} } -type NetArrayInput interface { - pulumi.Input - - ToNetArrayOutput() NetArrayOutput - ToNetArrayOutputWithContext(context.Context) NetArrayOutput -} - -type NetArray []NetInput - -func (NetArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*Net)(nil)).Elem() -} - -func (i NetArray) ToNetArrayOutput() NetArrayOutput { - return i.ToNetArrayOutputWithContext(context.Background()) -} - -func (i NetArray) ToNetArrayOutputWithContext(ctx context.Context) NetArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetArrayOutput) -} - -// NetMapInput is an input type that accepts NetMap and NetMapOutput values. -// You can construct a concrete instance of `NetMapInput` via: -// -// NetMap{ "key": NetArgs{...} } -type NetMapInput interface { - pulumi.Input - - ToNetMapOutput() NetMapOutput - ToNetMapOutputWithContext(context.Context) NetMapOutput -} - -type NetMap map[string]NetInput - -func (NetMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*Net)(nil)).Elem() -} - -func (i NetMap) ToNetMapOutput() NetMapOutput { - return i.ToNetMapOutputWithContext(context.Background()) -} - -func (i NetMap) ToNetMapOutputWithContext(ctx context.Context) NetMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetMapOutput) -} - -type NetOutput struct{ *pulumi.OutputState } - -func (NetOutput) ElementType() reflect.Type { - return reflect.TypeOf((**Net)(nil)).Elem() -} - -func (o NetOutput) ToNetOutput() NetOutput { - return o -} - -func (o NetOutput) ToNetOutputWithContext(ctx context.Context) NetOutput { - return o -} - -// The ID of the DHCP options set (or `default` if you want to associate the default one). -func (o NetOutput) DhcpOptionsSetId() pulumi.StringOutput { - return o.ApplyT(func(v *Net) pulumi.StringOutput { return v.DhcpOptionsSetId }).(pulumi.StringOutput) -} - -// The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). -func (o NetOutput) IpRange() pulumi.StringOutput { - return o.ApplyT(func(v *Net) pulumi.StringOutput { return v.IpRange }).(pulumi.StringOutput) -} - -// The ID of the Net. -func (o NetOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v *Net) pulumi.StringOutput { return v.NetId }).(pulumi.StringOutput) -} - -func (o NetOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *Net) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -// The state of the Net (`pending` \| `available` \| `deleted`). -func (o NetOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v *Net) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) -} - -// A tag to add to this resource. You can specify this argument several times. -func (o NetOutput) Tags() NetTagArrayOutput { - return o.ApplyT(func(v *Net) NetTagArrayOutput { return v.Tags }).(NetTagArrayOutput) -} - -// The tenancy options for the VMs (`default` if a VM created in a Net can be launched with any tenancy, `dedicated` if it can be launched with dedicated tenancy VMs running on single-tenant hardware). -func (o NetOutput) Tenancy() pulumi.StringOutput { - return o.ApplyT(func(v *Net) pulumi.StringOutput { return v.Tenancy }).(pulumi.StringOutput) -} - -type NetArrayOutput struct{ *pulumi.OutputState } - -func (NetArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*Net)(nil)).Elem() -} - -func (o NetArrayOutput) ToNetArrayOutput() NetArrayOutput { - return o -} - -func (o NetArrayOutput) ToNetArrayOutputWithContext(ctx context.Context) NetArrayOutput { - return o -} - -func (o NetArrayOutput) Index(i pulumi.IntInput) NetOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Net { - return vs[0].([]*Net)[vs[1].(int)] - }).(NetOutput) -} - -type NetMapOutput struct{ *pulumi.OutputState } - -func (NetMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*Net)(nil)).Elem() -} - -func (o NetMapOutput) ToNetMapOutput() NetMapOutput { - return o -} - -func (o NetMapOutput) ToNetMapOutputWithContext(ctx context.Context) NetMapOutput { - return o -} - -func (o NetMapOutput) MapIndex(k pulumi.StringInput) NetOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Net { - return vs[0].(map[string]*Net)[vs[1].(string)] - }).(NetOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*NetInput)(nil)).Elem(), &Net{}) - pulumi.RegisterInputType(reflect.TypeOf((*NetArrayInput)(nil)).Elem(), NetArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*NetMapInput)(nil)).Elem(), NetMap{}) - pulumi.RegisterOutputType(NetOutput{}) - pulumi.RegisterOutputType(NetArrayOutput{}) - pulumi.RegisterOutputType(NetMapOutput{}) -} diff --git a/sdk/go/outscale/netAccessPoint.go b/sdk/go/outscale/netAccessPoint.go deleted file mode 100644 index 1375b55..0000000 --- a/sdk/go/outscale/netAccessPoint.go +++ /dev/null @@ -1,377 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "errors" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages a Net access point. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Endpoints.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netaccesspoint). -// -// ## Example Usage -// ### Required resources -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// net01, err := outscale.NewNet(ctx, "net01", &outscale.NetArgs{ -// IpRange: pulumi.String("10.0.0.0/16"), -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewRouteTable(ctx, "routeTable01", &outscale.RouteTableArgs{ -// NetId: net01.NetId, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Create a Net access point -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewNetAccessPoint(ctx, "netAccessPoint01", &outscale.NetAccessPointArgs{ -// NetId: pulumi.Any(outscale_net.Net01.Net_id), -// RouteTableIds: pulumi.StringArray{ -// outscale_route_table.Route_table01.Route_table_id, -// }, -// ServiceName: pulumi.String("com.outscale.eu-west-2.api"), -// Tags: outscale.NetAccessPointTagArray{ -// &outscale.NetAccessPointTagArgs{ -// Key: pulumi.String("name"), -// Value: pulumi.String("terraform-net-access-point"), -// }, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// A Net access point can be imported using its ID. For exampleconsole -// -// ```sh -// -// $ pulumi import outscale:index/netAccessPoint:NetAccessPoint ImportedNetAccessPoint vpce-87654321 -// -// ``` -type NetAccessPoint struct { - pulumi.CustomResourceState - - // The ID of the Net access point. - NetAccessPointId pulumi.StringOutput `pulumi:"netAccessPointId"` - // The ID of the Net. - NetId pulumi.StringOutput `pulumi:"netId"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - // One or more IDs of route tables to use for the connection. - RouteTableIds pulumi.StringArrayOutput `pulumi:"routeTableIds"` - // The name of the service (in the format `com.outscale.region.service`). - ServiceName pulumi.StringOutput `pulumi:"serviceName"` - // The state of the Net access point (`pending` \| `available` \| `deleting` \| `deleted`). - State pulumi.StringOutput `pulumi:"state"` - // A tag to add to this resource. You can specify this argument several times. - Tags NetAccessPointTagArrayOutput `pulumi:"tags"` -} - -// NewNetAccessPoint registers a new resource with the given unique name, arguments, and options. -func NewNetAccessPoint(ctx *pulumi.Context, - name string, args *NetAccessPointArgs, opts ...pulumi.ResourceOption) (*NetAccessPoint, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.NetId == nil { - return nil, errors.New("invalid value for required argument 'NetId'") - } - if args.ServiceName == nil { - return nil, errors.New("invalid value for required argument 'ServiceName'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource NetAccessPoint - err := ctx.RegisterResource("outscale:index/netAccessPoint:NetAccessPoint", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetNetAccessPoint gets an existing NetAccessPoint resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetNetAccessPoint(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *NetAccessPointState, opts ...pulumi.ResourceOption) (*NetAccessPoint, error) { - var resource NetAccessPoint - err := ctx.ReadResource("outscale:index/netAccessPoint:NetAccessPoint", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering NetAccessPoint resources. -type netAccessPointState struct { - // The ID of the Net access point. - NetAccessPointId *string `pulumi:"netAccessPointId"` - // The ID of the Net. - NetId *string `pulumi:"netId"` - RequestId *string `pulumi:"requestId"` - // One or more IDs of route tables to use for the connection. - RouteTableIds []string `pulumi:"routeTableIds"` - // The name of the service (in the format `com.outscale.region.service`). - ServiceName *string `pulumi:"serviceName"` - // The state of the Net access point (`pending` \| `available` \| `deleting` \| `deleted`). - State *string `pulumi:"state"` - // A tag to add to this resource. You can specify this argument several times. - Tags []NetAccessPointTag `pulumi:"tags"` -} - -type NetAccessPointState struct { - // The ID of the Net access point. - NetAccessPointId pulumi.StringPtrInput - // The ID of the Net. - NetId pulumi.StringPtrInput - RequestId pulumi.StringPtrInput - // One or more IDs of route tables to use for the connection. - RouteTableIds pulumi.StringArrayInput - // The name of the service (in the format `com.outscale.region.service`). - ServiceName pulumi.StringPtrInput - // The state of the Net access point (`pending` \| `available` \| `deleting` \| `deleted`). - State pulumi.StringPtrInput - // A tag to add to this resource. You can specify this argument several times. - Tags NetAccessPointTagArrayInput -} - -func (NetAccessPointState) ElementType() reflect.Type { - return reflect.TypeOf((*netAccessPointState)(nil)).Elem() -} - -type netAccessPointArgs struct { - // The ID of the Net. - NetId string `pulumi:"netId"` - // One or more IDs of route tables to use for the connection. - RouteTableIds []string `pulumi:"routeTableIds"` - // The name of the service (in the format `com.outscale.region.service`). - ServiceName string `pulumi:"serviceName"` - // A tag to add to this resource. You can specify this argument several times. - Tags []NetAccessPointTag `pulumi:"tags"` -} - -// The set of arguments for constructing a NetAccessPoint resource. -type NetAccessPointArgs struct { - // The ID of the Net. - NetId pulumi.StringInput - // One or more IDs of route tables to use for the connection. - RouteTableIds pulumi.StringArrayInput - // The name of the service (in the format `com.outscale.region.service`). - ServiceName pulumi.StringInput - // A tag to add to this resource. You can specify this argument several times. - Tags NetAccessPointTagArrayInput -} - -func (NetAccessPointArgs) ElementType() reflect.Type { - return reflect.TypeOf((*netAccessPointArgs)(nil)).Elem() -} - -type NetAccessPointInput interface { - pulumi.Input - - ToNetAccessPointOutput() NetAccessPointOutput - ToNetAccessPointOutputWithContext(ctx context.Context) NetAccessPointOutput -} - -func (*NetAccessPoint) ElementType() reflect.Type { - return reflect.TypeOf((**NetAccessPoint)(nil)).Elem() -} - -func (i *NetAccessPoint) ToNetAccessPointOutput() NetAccessPointOutput { - return i.ToNetAccessPointOutputWithContext(context.Background()) -} - -func (i *NetAccessPoint) ToNetAccessPointOutputWithContext(ctx context.Context) NetAccessPointOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetAccessPointOutput) -} - -// NetAccessPointArrayInput is an input type that accepts NetAccessPointArray and NetAccessPointArrayOutput values. -// You can construct a concrete instance of `NetAccessPointArrayInput` via: -// -// NetAccessPointArray{ NetAccessPointArgs{...} } -type NetAccessPointArrayInput interface { - pulumi.Input - - ToNetAccessPointArrayOutput() NetAccessPointArrayOutput - ToNetAccessPointArrayOutputWithContext(context.Context) NetAccessPointArrayOutput -} - -type NetAccessPointArray []NetAccessPointInput - -func (NetAccessPointArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*NetAccessPoint)(nil)).Elem() -} - -func (i NetAccessPointArray) ToNetAccessPointArrayOutput() NetAccessPointArrayOutput { - return i.ToNetAccessPointArrayOutputWithContext(context.Background()) -} - -func (i NetAccessPointArray) ToNetAccessPointArrayOutputWithContext(ctx context.Context) NetAccessPointArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetAccessPointArrayOutput) -} - -// NetAccessPointMapInput is an input type that accepts NetAccessPointMap and NetAccessPointMapOutput values. -// You can construct a concrete instance of `NetAccessPointMapInput` via: -// -// NetAccessPointMap{ "key": NetAccessPointArgs{...} } -type NetAccessPointMapInput interface { - pulumi.Input - - ToNetAccessPointMapOutput() NetAccessPointMapOutput - ToNetAccessPointMapOutputWithContext(context.Context) NetAccessPointMapOutput -} - -type NetAccessPointMap map[string]NetAccessPointInput - -func (NetAccessPointMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*NetAccessPoint)(nil)).Elem() -} - -func (i NetAccessPointMap) ToNetAccessPointMapOutput() NetAccessPointMapOutput { - return i.ToNetAccessPointMapOutputWithContext(context.Background()) -} - -func (i NetAccessPointMap) ToNetAccessPointMapOutputWithContext(ctx context.Context) NetAccessPointMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetAccessPointMapOutput) -} - -type NetAccessPointOutput struct{ *pulumi.OutputState } - -func (NetAccessPointOutput) ElementType() reflect.Type { - return reflect.TypeOf((**NetAccessPoint)(nil)).Elem() -} - -func (o NetAccessPointOutput) ToNetAccessPointOutput() NetAccessPointOutput { - return o -} - -func (o NetAccessPointOutput) ToNetAccessPointOutputWithContext(ctx context.Context) NetAccessPointOutput { - return o -} - -// The ID of the Net access point. -func (o NetAccessPointOutput) NetAccessPointId() pulumi.StringOutput { - return o.ApplyT(func(v *NetAccessPoint) pulumi.StringOutput { return v.NetAccessPointId }).(pulumi.StringOutput) -} - -// The ID of the Net. -func (o NetAccessPointOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v *NetAccessPoint) pulumi.StringOutput { return v.NetId }).(pulumi.StringOutput) -} - -func (o NetAccessPointOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *NetAccessPoint) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -// One or more IDs of route tables to use for the connection. -func (o NetAccessPointOutput) RouteTableIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v *NetAccessPoint) pulumi.StringArrayOutput { return v.RouteTableIds }).(pulumi.StringArrayOutput) -} - -// The name of the service (in the format `com.outscale.region.service`). -func (o NetAccessPointOutput) ServiceName() pulumi.StringOutput { - return o.ApplyT(func(v *NetAccessPoint) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) -} - -// The state of the Net access point (`pending` \| `available` \| `deleting` \| `deleted`). -func (o NetAccessPointOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v *NetAccessPoint) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) -} - -// A tag to add to this resource. You can specify this argument several times. -func (o NetAccessPointOutput) Tags() NetAccessPointTagArrayOutput { - return o.ApplyT(func(v *NetAccessPoint) NetAccessPointTagArrayOutput { return v.Tags }).(NetAccessPointTagArrayOutput) -} - -type NetAccessPointArrayOutput struct{ *pulumi.OutputState } - -func (NetAccessPointArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*NetAccessPoint)(nil)).Elem() -} - -func (o NetAccessPointArrayOutput) ToNetAccessPointArrayOutput() NetAccessPointArrayOutput { - return o -} - -func (o NetAccessPointArrayOutput) ToNetAccessPointArrayOutputWithContext(ctx context.Context) NetAccessPointArrayOutput { - return o -} - -func (o NetAccessPointArrayOutput) Index(i pulumi.IntInput) NetAccessPointOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *NetAccessPoint { - return vs[0].([]*NetAccessPoint)[vs[1].(int)] - }).(NetAccessPointOutput) -} - -type NetAccessPointMapOutput struct{ *pulumi.OutputState } - -func (NetAccessPointMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*NetAccessPoint)(nil)).Elem() -} - -func (o NetAccessPointMapOutput) ToNetAccessPointMapOutput() NetAccessPointMapOutput { - return o -} - -func (o NetAccessPointMapOutput) ToNetAccessPointMapOutputWithContext(ctx context.Context) NetAccessPointMapOutput { - return o -} - -func (o NetAccessPointMapOutput) MapIndex(k pulumi.StringInput) NetAccessPointOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *NetAccessPoint { - return vs[0].(map[string]*NetAccessPoint)[vs[1].(string)] - }).(NetAccessPointOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*NetAccessPointInput)(nil)).Elem(), &NetAccessPoint{}) - pulumi.RegisterInputType(reflect.TypeOf((*NetAccessPointArrayInput)(nil)).Elem(), NetAccessPointArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*NetAccessPointMapInput)(nil)).Elem(), NetAccessPointMap{}) - pulumi.RegisterOutputType(NetAccessPointOutput{}) - pulumi.RegisterOutputType(NetAccessPointArrayOutput{}) - pulumi.RegisterOutputType(NetAccessPointMapOutput{}) -} diff --git a/sdk/go/outscale/netAttributes.go b/sdk/go/outscale/netAttributes.go deleted file mode 100644 index c38e4d5..0000000 --- a/sdk/go/outscale/netAttributes.go +++ /dev/null @@ -1,351 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "errors" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages the attributes of a Net. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-DHCP-Options.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#updatenet). -// -// ## Example Usage -// ### Required resource -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewNet(ctx, "net01", &outscale.NetArgs{ -// IpRange: pulumi.String("10.0.0.0/16"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Associate a DHCP option set to a Net -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewNetAttributes(ctx, "netAttributes01", &outscale.NetAttributesArgs{ -// NetId: pulumi.Any(outscale_net.Net01.Net_id), -// DhcpOptionsSetId: pulumi.Any(_var.Dhcp_options_set_id), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// A Net attribute can be imported using the Net ID. For exampleconsole -// -// ```sh -// -// $ pulumi import outscale:index/netAttributes:NetAttributes ImportedNet vpc-12345678 -// -// ``` -type NetAttributes struct { - pulumi.CustomResourceState - - // The ID of the DHCP options set (or `default` if you want to associate the default one). - DhcpOptionsSetId pulumi.StringOutput `pulumi:"dhcpOptionsSetId"` - // The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). - IpRange pulumi.StringOutput `pulumi:"ipRange"` - // The ID of the Net. - NetId pulumi.StringOutput `pulumi:"netId"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - // The state of the Net (`pending` \| `available` \| `deleted`). - State pulumi.StringOutput `pulumi:"state"` - // One or more tags associated with the Net. - Tags NetAttributesTagArrayOutput `pulumi:"tags"` - // The VM tenancy in a Net. - Tenancy pulumi.StringOutput `pulumi:"tenancy"` -} - -// NewNetAttributes registers a new resource with the given unique name, arguments, and options. -func NewNetAttributes(ctx *pulumi.Context, - name string, args *NetAttributesArgs, opts ...pulumi.ResourceOption) (*NetAttributes, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.NetId == nil { - return nil, errors.New("invalid value for required argument 'NetId'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource NetAttributes - err := ctx.RegisterResource("outscale:index/netAttributes:NetAttributes", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetNetAttributes gets an existing NetAttributes resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetNetAttributes(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *NetAttributesState, opts ...pulumi.ResourceOption) (*NetAttributes, error) { - var resource NetAttributes - err := ctx.ReadResource("outscale:index/netAttributes:NetAttributes", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering NetAttributes resources. -type netAttributesState struct { - // The ID of the DHCP options set (or `default` if you want to associate the default one). - DhcpOptionsSetId *string `pulumi:"dhcpOptionsSetId"` - // The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). - IpRange *string `pulumi:"ipRange"` - // The ID of the Net. - NetId *string `pulumi:"netId"` - RequestId *string `pulumi:"requestId"` - // The state of the Net (`pending` \| `available` \| `deleted`). - State *string `pulumi:"state"` - // One or more tags associated with the Net. - Tags []NetAttributesTag `pulumi:"tags"` - // The VM tenancy in a Net. - Tenancy *string `pulumi:"tenancy"` -} - -type NetAttributesState struct { - // The ID of the DHCP options set (or `default` if you want to associate the default one). - DhcpOptionsSetId pulumi.StringPtrInput - // The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). - IpRange pulumi.StringPtrInput - // The ID of the Net. - NetId pulumi.StringPtrInput - RequestId pulumi.StringPtrInput - // The state of the Net (`pending` \| `available` \| `deleted`). - State pulumi.StringPtrInput - // One or more tags associated with the Net. - Tags NetAttributesTagArrayInput - // The VM tenancy in a Net. - Tenancy pulumi.StringPtrInput -} - -func (NetAttributesState) ElementType() reflect.Type { - return reflect.TypeOf((*netAttributesState)(nil)).Elem() -} - -type netAttributesArgs struct { - // The ID of the DHCP options set (or `default` if you want to associate the default one). - DhcpOptionsSetId *string `pulumi:"dhcpOptionsSetId"` - // The ID of the Net. - NetId string `pulumi:"netId"` -} - -// The set of arguments for constructing a NetAttributes resource. -type NetAttributesArgs struct { - // The ID of the DHCP options set (or `default` if you want to associate the default one). - DhcpOptionsSetId pulumi.StringPtrInput - // The ID of the Net. - NetId pulumi.StringInput -} - -func (NetAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*netAttributesArgs)(nil)).Elem() -} - -type NetAttributesInput interface { - pulumi.Input - - ToNetAttributesOutput() NetAttributesOutput - ToNetAttributesOutputWithContext(ctx context.Context) NetAttributesOutput -} - -func (*NetAttributes) ElementType() reflect.Type { - return reflect.TypeOf((**NetAttributes)(nil)).Elem() -} - -func (i *NetAttributes) ToNetAttributesOutput() NetAttributesOutput { - return i.ToNetAttributesOutputWithContext(context.Background()) -} - -func (i *NetAttributes) ToNetAttributesOutputWithContext(ctx context.Context) NetAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetAttributesOutput) -} - -// NetAttributesArrayInput is an input type that accepts NetAttributesArray and NetAttributesArrayOutput values. -// You can construct a concrete instance of `NetAttributesArrayInput` via: -// -// NetAttributesArray{ NetAttributesArgs{...} } -type NetAttributesArrayInput interface { - pulumi.Input - - ToNetAttributesArrayOutput() NetAttributesArrayOutput - ToNetAttributesArrayOutputWithContext(context.Context) NetAttributesArrayOutput -} - -type NetAttributesArray []NetAttributesInput - -func (NetAttributesArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*NetAttributes)(nil)).Elem() -} - -func (i NetAttributesArray) ToNetAttributesArrayOutput() NetAttributesArrayOutput { - return i.ToNetAttributesArrayOutputWithContext(context.Background()) -} - -func (i NetAttributesArray) ToNetAttributesArrayOutputWithContext(ctx context.Context) NetAttributesArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetAttributesArrayOutput) -} - -// NetAttributesMapInput is an input type that accepts NetAttributesMap and NetAttributesMapOutput values. -// You can construct a concrete instance of `NetAttributesMapInput` via: -// -// NetAttributesMap{ "key": NetAttributesArgs{...} } -type NetAttributesMapInput interface { - pulumi.Input - - ToNetAttributesMapOutput() NetAttributesMapOutput - ToNetAttributesMapOutputWithContext(context.Context) NetAttributesMapOutput -} - -type NetAttributesMap map[string]NetAttributesInput - -func (NetAttributesMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*NetAttributes)(nil)).Elem() -} - -func (i NetAttributesMap) ToNetAttributesMapOutput() NetAttributesMapOutput { - return i.ToNetAttributesMapOutputWithContext(context.Background()) -} - -func (i NetAttributesMap) ToNetAttributesMapOutputWithContext(ctx context.Context) NetAttributesMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetAttributesMapOutput) -} - -type NetAttributesOutput struct{ *pulumi.OutputState } - -func (NetAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((**NetAttributes)(nil)).Elem() -} - -func (o NetAttributesOutput) ToNetAttributesOutput() NetAttributesOutput { - return o -} - -func (o NetAttributesOutput) ToNetAttributesOutputWithContext(ctx context.Context) NetAttributesOutput { - return o -} - -// The ID of the DHCP options set (or `default` if you want to associate the default one). -func (o NetAttributesOutput) DhcpOptionsSetId() pulumi.StringOutput { - return o.ApplyT(func(v *NetAttributes) pulumi.StringOutput { return v.DhcpOptionsSetId }).(pulumi.StringOutput) -} - -// The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). -func (o NetAttributesOutput) IpRange() pulumi.StringOutput { - return o.ApplyT(func(v *NetAttributes) pulumi.StringOutput { return v.IpRange }).(pulumi.StringOutput) -} - -// The ID of the Net. -func (o NetAttributesOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v *NetAttributes) pulumi.StringOutput { return v.NetId }).(pulumi.StringOutput) -} - -func (o NetAttributesOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *NetAttributes) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -// The state of the Net (`pending` \| `available` \| `deleted`). -func (o NetAttributesOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v *NetAttributes) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) -} - -// One or more tags associated with the Net. -func (o NetAttributesOutput) Tags() NetAttributesTagArrayOutput { - return o.ApplyT(func(v *NetAttributes) NetAttributesTagArrayOutput { return v.Tags }).(NetAttributesTagArrayOutput) -} - -// The VM tenancy in a Net. -func (o NetAttributesOutput) Tenancy() pulumi.StringOutput { - return o.ApplyT(func(v *NetAttributes) pulumi.StringOutput { return v.Tenancy }).(pulumi.StringOutput) -} - -type NetAttributesArrayOutput struct{ *pulumi.OutputState } - -func (NetAttributesArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*NetAttributes)(nil)).Elem() -} - -func (o NetAttributesArrayOutput) ToNetAttributesArrayOutput() NetAttributesArrayOutput { - return o -} - -func (o NetAttributesArrayOutput) ToNetAttributesArrayOutputWithContext(ctx context.Context) NetAttributesArrayOutput { - return o -} - -func (o NetAttributesArrayOutput) Index(i pulumi.IntInput) NetAttributesOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *NetAttributes { - return vs[0].([]*NetAttributes)[vs[1].(int)] - }).(NetAttributesOutput) -} - -type NetAttributesMapOutput struct{ *pulumi.OutputState } - -func (NetAttributesMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*NetAttributes)(nil)).Elem() -} - -func (o NetAttributesMapOutput) ToNetAttributesMapOutput() NetAttributesMapOutput { - return o -} - -func (o NetAttributesMapOutput) ToNetAttributesMapOutputWithContext(ctx context.Context) NetAttributesMapOutput { - return o -} - -func (o NetAttributesMapOutput) MapIndex(k pulumi.StringInput) NetAttributesOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *NetAttributes { - return vs[0].(map[string]*NetAttributes)[vs[1].(string)] - }).(NetAttributesOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*NetAttributesInput)(nil)).Elem(), &NetAttributes{}) - pulumi.RegisterInputType(reflect.TypeOf((*NetAttributesArrayInput)(nil)).Elem(), NetAttributesArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*NetAttributesMapInput)(nil)).Elem(), NetAttributesMap{}) - pulumi.RegisterOutputType(NetAttributesOutput{}) - pulumi.RegisterOutputType(NetAttributesArrayOutput{}) - pulumi.RegisterOutputType(NetAttributesMapOutput{}) -} diff --git a/sdk/go/outscale/netPeering.go b/sdk/go/outscale/netPeering.go deleted file mode 100644 index 0b40bf9..0000000 --- a/sdk/go/outscale/netPeering.go +++ /dev/null @@ -1,384 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "errors" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages a Net peering. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Peering-Connections.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netpeering). -// -// ## Example Usage -// ### Required resources -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewNet(ctx, "net01", &outscale.NetArgs{ -// IpRange: pulumi.String("10.10.0.0/24"), -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewNet(ctx, "net02", &outscale.NetArgs{ -// IpRange: pulumi.String("10.31.0.0/16"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Peer Nets -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewNetPeering(ctx, "netPeering01", &outscale.NetPeeringArgs{ -// AccepterNetId: pulumi.Any(outscale_net.Net01.Net_id), -// SourceNetId: pulumi.Any(outscale_net.Net02.Net_id), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// A Net peering can be imported using its ID. For exampleconsole -// -// ```sh -// -// $ pulumi import outscale:index/netPeering:NetPeering ImportedNetPeering pcx-12345678 -// -// ``` -type NetPeering struct { - pulumi.CustomResourceState - - // The ID of the Net you want to connect with. - AccepterNetId pulumi.StringOutput `pulumi:"accepterNetId"` - // Information about the accepter Net. - AccepterNets NetPeeringAccepterNetArrayOutput `pulumi:"accepterNets"` - // The ID of the Net peering. - NetPeeringId pulumi.StringOutput `pulumi:"netPeeringId"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - SourceNetAccountId pulumi.StringOutput `pulumi:"sourceNetAccountId"` - // The ID of the Net you send the peering request from. - SourceNetId pulumi.StringOutput `pulumi:"sourceNetId"` - // Information about the source Net. - SourceNets NetPeeringSourceNetArrayOutput `pulumi:"sourceNets"` - // Information about the state of the Net peering. - States NetPeeringStateTypeArrayOutput `pulumi:"states"` - // A tag to add to this resource. You can specify this argument several times. - Tags NetPeeringTagArrayOutput `pulumi:"tags"` -} - -// NewNetPeering registers a new resource with the given unique name, arguments, and options. -func NewNetPeering(ctx *pulumi.Context, - name string, args *NetPeeringArgs, opts ...pulumi.ResourceOption) (*NetPeering, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.AccepterNetId == nil { - return nil, errors.New("invalid value for required argument 'AccepterNetId'") - } - if args.SourceNetId == nil { - return nil, errors.New("invalid value for required argument 'SourceNetId'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource NetPeering - err := ctx.RegisterResource("outscale:index/netPeering:NetPeering", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetNetPeering gets an existing NetPeering resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetNetPeering(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *NetPeeringState, opts ...pulumi.ResourceOption) (*NetPeering, error) { - var resource NetPeering - err := ctx.ReadResource("outscale:index/netPeering:NetPeering", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering NetPeering resources. -type netPeeringState struct { - // The ID of the Net you want to connect with. - AccepterNetId *string `pulumi:"accepterNetId"` - // Information about the accepter Net. - AccepterNets []NetPeeringAccepterNet `pulumi:"accepterNets"` - // The ID of the Net peering. - NetPeeringId *string `pulumi:"netPeeringId"` - RequestId *string `pulumi:"requestId"` - SourceNetAccountId *string `pulumi:"sourceNetAccountId"` - // The ID of the Net you send the peering request from. - SourceNetId *string `pulumi:"sourceNetId"` - // Information about the source Net. - SourceNets []NetPeeringSourceNet `pulumi:"sourceNets"` - // Information about the state of the Net peering. - States []NetPeeringStateType `pulumi:"states"` - // A tag to add to this resource. You can specify this argument several times. - Tags []NetPeeringTag `pulumi:"tags"` -} - -type NetPeeringState struct { - // The ID of the Net you want to connect with. - AccepterNetId pulumi.StringPtrInput - // Information about the accepter Net. - AccepterNets NetPeeringAccepterNetArrayInput - // The ID of the Net peering. - NetPeeringId pulumi.StringPtrInput - RequestId pulumi.StringPtrInput - SourceNetAccountId pulumi.StringPtrInput - // The ID of the Net you send the peering request from. - SourceNetId pulumi.StringPtrInput - // Information about the source Net. - SourceNets NetPeeringSourceNetArrayInput - // Information about the state of the Net peering. - States NetPeeringStateTypeArrayInput - // A tag to add to this resource. You can specify this argument several times. - Tags NetPeeringTagArrayInput -} - -func (NetPeeringState) ElementType() reflect.Type { - return reflect.TypeOf((*netPeeringState)(nil)).Elem() -} - -type netPeeringArgs struct { - // The ID of the Net you want to connect with. - AccepterNetId string `pulumi:"accepterNetId"` - SourceNetAccountId *string `pulumi:"sourceNetAccountId"` - // The ID of the Net you send the peering request from. - SourceNetId string `pulumi:"sourceNetId"` - // A tag to add to this resource. You can specify this argument several times. - Tags []NetPeeringTag `pulumi:"tags"` -} - -// The set of arguments for constructing a NetPeering resource. -type NetPeeringArgs struct { - // The ID of the Net you want to connect with. - AccepterNetId pulumi.StringInput - SourceNetAccountId pulumi.StringPtrInput - // The ID of the Net you send the peering request from. - SourceNetId pulumi.StringInput - // A tag to add to this resource. You can specify this argument several times. - Tags NetPeeringTagArrayInput -} - -func (NetPeeringArgs) ElementType() reflect.Type { - return reflect.TypeOf((*netPeeringArgs)(nil)).Elem() -} - -type NetPeeringInput interface { - pulumi.Input - - ToNetPeeringOutput() NetPeeringOutput - ToNetPeeringOutputWithContext(ctx context.Context) NetPeeringOutput -} - -func (*NetPeering) ElementType() reflect.Type { - return reflect.TypeOf((**NetPeering)(nil)).Elem() -} - -func (i *NetPeering) ToNetPeeringOutput() NetPeeringOutput { - return i.ToNetPeeringOutputWithContext(context.Background()) -} - -func (i *NetPeering) ToNetPeeringOutputWithContext(ctx context.Context) NetPeeringOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetPeeringOutput) -} - -// NetPeeringArrayInput is an input type that accepts NetPeeringArray and NetPeeringArrayOutput values. -// You can construct a concrete instance of `NetPeeringArrayInput` via: -// -// NetPeeringArray{ NetPeeringArgs{...} } -type NetPeeringArrayInput interface { - pulumi.Input - - ToNetPeeringArrayOutput() NetPeeringArrayOutput - ToNetPeeringArrayOutputWithContext(context.Context) NetPeeringArrayOutput -} - -type NetPeeringArray []NetPeeringInput - -func (NetPeeringArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*NetPeering)(nil)).Elem() -} - -func (i NetPeeringArray) ToNetPeeringArrayOutput() NetPeeringArrayOutput { - return i.ToNetPeeringArrayOutputWithContext(context.Background()) -} - -func (i NetPeeringArray) ToNetPeeringArrayOutputWithContext(ctx context.Context) NetPeeringArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetPeeringArrayOutput) -} - -// NetPeeringMapInput is an input type that accepts NetPeeringMap and NetPeeringMapOutput values. -// You can construct a concrete instance of `NetPeeringMapInput` via: -// -// NetPeeringMap{ "key": NetPeeringArgs{...} } -type NetPeeringMapInput interface { - pulumi.Input - - ToNetPeeringMapOutput() NetPeeringMapOutput - ToNetPeeringMapOutputWithContext(context.Context) NetPeeringMapOutput -} - -type NetPeeringMap map[string]NetPeeringInput - -func (NetPeeringMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*NetPeering)(nil)).Elem() -} - -func (i NetPeeringMap) ToNetPeeringMapOutput() NetPeeringMapOutput { - return i.ToNetPeeringMapOutputWithContext(context.Background()) -} - -func (i NetPeeringMap) ToNetPeeringMapOutputWithContext(ctx context.Context) NetPeeringMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetPeeringMapOutput) -} - -type NetPeeringOutput struct{ *pulumi.OutputState } - -func (NetPeeringOutput) ElementType() reflect.Type { - return reflect.TypeOf((**NetPeering)(nil)).Elem() -} - -func (o NetPeeringOutput) ToNetPeeringOutput() NetPeeringOutput { - return o -} - -func (o NetPeeringOutput) ToNetPeeringOutputWithContext(ctx context.Context) NetPeeringOutput { - return o -} - -// The ID of the Net you want to connect with. -func (o NetPeeringOutput) AccepterNetId() pulumi.StringOutput { - return o.ApplyT(func(v *NetPeering) pulumi.StringOutput { return v.AccepterNetId }).(pulumi.StringOutput) -} - -// Information about the accepter Net. -func (o NetPeeringOutput) AccepterNets() NetPeeringAccepterNetArrayOutput { - return o.ApplyT(func(v *NetPeering) NetPeeringAccepterNetArrayOutput { return v.AccepterNets }).(NetPeeringAccepterNetArrayOutput) -} - -// The ID of the Net peering. -func (o NetPeeringOutput) NetPeeringId() pulumi.StringOutput { - return o.ApplyT(func(v *NetPeering) pulumi.StringOutput { return v.NetPeeringId }).(pulumi.StringOutput) -} - -func (o NetPeeringOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *NetPeering) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -func (o NetPeeringOutput) SourceNetAccountId() pulumi.StringOutput { - return o.ApplyT(func(v *NetPeering) pulumi.StringOutput { return v.SourceNetAccountId }).(pulumi.StringOutput) -} - -// The ID of the Net you send the peering request from. -func (o NetPeeringOutput) SourceNetId() pulumi.StringOutput { - return o.ApplyT(func(v *NetPeering) pulumi.StringOutput { return v.SourceNetId }).(pulumi.StringOutput) -} - -// Information about the source Net. -func (o NetPeeringOutput) SourceNets() NetPeeringSourceNetArrayOutput { - return o.ApplyT(func(v *NetPeering) NetPeeringSourceNetArrayOutput { return v.SourceNets }).(NetPeeringSourceNetArrayOutput) -} - -// Information about the state of the Net peering. -func (o NetPeeringOutput) States() NetPeeringStateTypeArrayOutput { - return o.ApplyT(func(v *NetPeering) NetPeeringStateTypeArrayOutput { return v.States }).(NetPeeringStateTypeArrayOutput) -} - -// A tag to add to this resource. You can specify this argument several times. -func (o NetPeeringOutput) Tags() NetPeeringTagArrayOutput { - return o.ApplyT(func(v *NetPeering) NetPeeringTagArrayOutput { return v.Tags }).(NetPeeringTagArrayOutput) -} - -type NetPeeringArrayOutput struct{ *pulumi.OutputState } - -func (NetPeeringArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*NetPeering)(nil)).Elem() -} - -func (o NetPeeringArrayOutput) ToNetPeeringArrayOutput() NetPeeringArrayOutput { - return o -} - -func (o NetPeeringArrayOutput) ToNetPeeringArrayOutputWithContext(ctx context.Context) NetPeeringArrayOutput { - return o -} - -func (o NetPeeringArrayOutput) Index(i pulumi.IntInput) NetPeeringOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *NetPeering { - return vs[0].([]*NetPeering)[vs[1].(int)] - }).(NetPeeringOutput) -} - -type NetPeeringMapOutput struct{ *pulumi.OutputState } - -func (NetPeeringMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*NetPeering)(nil)).Elem() -} - -func (o NetPeeringMapOutput) ToNetPeeringMapOutput() NetPeeringMapOutput { - return o -} - -func (o NetPeeringMapOutput) ToNetPeeringMapOutputWithContext(ctx context.Context) NetPeeringMapOutput { - return o -} - -func (o NetPeeringMapOutput) MapIndex(k pulumi.StringInput) NetPeeringOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *NetPeering { - return vs[0].(map[string]*NetPeering)[vs[1].(string)] - }).(NetPeeringOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*NetPeeringInput)(nil)).Elem(), &NetPeering{}) - pulumi.RegisterInputType(reflect.TypeOf((*NetPeeringArrayInput)(nil)).Elem(), NetPeeringArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*NetPeeringMapInput)(nil)).Elem(), NetPeeringMap{}) - pulumi.RegisterOutputType(NetPeeringOutput{}) - pulumi.RegisterOutputType(NetPeeringArrayOutput{}) - pulumi.RegisterOutputType(NetPeeringMapOutput{}) -} diff --git a/sdk/go/outscale/netPeeringAcception.go b/sdk/go/outscale/netPeeringAcception.go deleted file mode 100644 index db0ea59..0000000 --- a/sdk/go/outscale/netPeeringAcception.go +++ /dev/null @@ -1,313 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "errors" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages a Net peering acceptation. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Peering-Connections.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netpeering). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewNetPeeringAcception(ctx, "netPeeringAcceptation01", &outscale.NetPeeringAcceptionArgs{ -// NetPeeringId: pulumi.Any(outscale_net_peering.Net_peering01.Net_peering_id), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -type NetPeeringAcception struct { - pulumi.CustomResourceState - - AccepterNetId pulumi.StringOutput `pulumi:"accepterNetId"` - // Information about the accepter Net. - AccepterNets NetPeeringAcceptionAccepterNetArrayOutput `pulumi:"accepterNets"` - // The ID of the Net peering you want to accept. - NetPeeringId pulumi.StringOutput `pulumi:"netPeeringId"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - SourceNetId pulumi.StringOutput `pulumi:"sourceNetId"` - // Information about the source Net. - SourceNets NetPeeringAcceptionSourceNetArrayOutput `pulumi:"sourceNets"` - // Information about the state of the Net peering. - States NetPeeringAcceptionStateTypeArrayOutput `pulumi:"states"` - // One or more tags associated with the Net peering. - Tags NetPeeringAcceptionTagArrayOutput `pulumi:"tags"` -} - -// NewNetPeeringAcception registers a new resource with the given unique name, arguments, and options. -func NewNetPeeringAcception(ctx *pulumi.Context, - name string, args *NetPeeringAcceptionArgs, opts ...pulumi.ResourceOption) (*NetPeeringAcception, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.NetPeeringId == nil { - return nil, errors.New("invalid value for required argument 'NetPeeringId'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource NetPeeringAcception - err := ctx.RegisterResource("outscale:index/netPeeringAcception:NetPeeringAcception", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetNetPeeringAcception gets an existing NetPeeringAcception resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetNetPeeringAcception(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *NetPeeringAcceptionState, opts ...pulumi.ResourceOption) (*NetPeeringAcception, error) { - var resource NetPeeringAcception - err := ctx.ReadResource("outscale:index/netPeeringAcception:NetPeeringAcception", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering NetPeeringAcception resources. -type netPeeringAcceptionState struct { - AccepterNetId *string `pulumi:"accepterNetId"` - // Information about the accepter Net. - AccepterNets []NetPeeringAcceptionAccepterNet `pulumi:"accepterNets"` - // The ID of the Net peering you want to accept. - NetPeeringId *string `pulumi:"netPeeringId"` - RequestId *string `pulumi:"requestId"` - SourceNetId *string `pulumi:"sourceNetId"` - // Information about the source Net. - SourceNets []NetPeeringAcceptionSourceNet `pulumi:"sourceNets"` - // Information about the state of the Net peering. - States []NetPeeringAcceptionStateType `pulumi:"states"` - // One or more tags associated with the Net peering. - Tags []NetPeeringAcceptionTag `pulumi:"tags"` -} - -type NetPeeringAcceptionState struct { - AccepterNetId pulumi.StringPtrInput - // Information about the accepter Net. - AccepterNets NetPeeringAcceptionAccepterNetArrayInput - // The ID of the Net peering you want to accept. - NetPeeringId pulumi.StringPtrInput - RequestId pulumi.StringPtrInput - SourceNetId pulumi.StringPtrInput - // Information about the source Net. - SourceNets NetPeeringAcceptionSourceNetArrayInput - // Information about the state of the Net peering. - States NetPeeringAcceptionStateTypeArrayInput - // One or more tags associated with the Net peering. - Tags NetPeeringAcceptionTagArrayInput -} - -func (NetPeeringAcceptionState) ElementType() reflect.Type { - return reflect.TypeOf((*netPeeringAcceptionState)(nil)).Elem() -} - -type netPeeringAcceptionArgs struct { - // The ID of the Net peering you want to accept. - NetPeeringId string `pulumi:"netPeeringId"` -} - -// The set of arguments for constructing a NetPeeringAcception resource. -type NetPeeringAcceptionArgs struct { - // The ID of the Net peering you want to accept. - NetPeeringId pulumi.StringInput -} - -func (NetPeeringAcceptionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*netPeeringAcceptionArgs)(nil)).Elem() -} - -type NetPeeringAcceptionInput interface { - pulumi.Input - - ToNetPeeringAcceptionOutput() NetPeeringAcceptionOutput - ToNetPeeringAcceptionOutputWithContext(ctx context.Context) NetPeeringAcceptionOutput -} - -func (*NetPeeringAcception) ElementType() reflect.Type { - return reflect.TypeOf((**NetPeeringAcception)(nil)).Elem() -} - -func (i *NetPeeringAcception) ToNetPeeringAcceptionOutput() NetPeeringAcceptionOutput { - return i.ToNetPeeringAcceptionOutputWithContext(context.Background()) -} - -func (i *NetPeeringAcception) ToNetPeeringAcceptionOutputWithContext(ctx context.Context) NetPeeringAcceptionOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetPeeringAcceptionOutput) -} - -// NetPeeringAcceptionArrayInput is an input type that accepts NetPeeringAcceptionArray and NetPeeringAcceptionArrayOutput values. -// You can construct a concrete instance of `NetPeeringAcceptionArrayInput` via: -// -// NetPeeringAcceptionArray{ NetPeeringAcceptionArgs{...} } -type NetPeeringAcceptionArrayInput interface { - pulumi.Input - - ToNetPeeringAcceptionArrayOutput() NetPeeringAcceptionArrayOutput - ToNetPeeringAcceptionArrayOutputWithContext(context.Context) NetPeeringAcceptionArrayOutput -} - -type NetPeeringAcceptionArray []NetPeeringAcceptionInput - -func (NetPeeringAcceptionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*NetPeeringAcception)(nil)).Elem() -} - -func (i NetPeeringAcceptionArray) ToNetPeeringAcceptionArrayOutput() NetPeeringAcceptionArrayOutput { - return i.ToNetPeeringAcceptionArrayOutputWithContext(context.Background()) -} - -func (i NetPeeringAcceptionArray) ToNetPeeringAcceptionArrayOutputWithContext(ctx context.Context) NetPeeringAcceptionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetPeeringAcceptionArrayOutput) -} - -// NetPeeringAcceptionMapInput is an input type that accepts NetPeeringAcceptionMap and NetPeeringAcceptionMapOutput values. -// You can construct a concrete instance of `NetPeeringAcceptionMapInput` via: -// -// NetPeeringAcceptionMap{ "key": NetPeeringAcceptionArgs{...} } -type NetPeeringAcceptionMapInput interface { - pulumi.Input - - ToNetPeeringAcceptionMapOutput() NetPeeringAcceptionMapOutput - ToNetPeeringAcceptionMapOutputWithContext(context.Context) NetPeeringAcceptionMapOutput -} - -type NetPeeringAcceptionMap map[string]NetPeeringAcceptionInput - -func (NetPeeringAcceptionMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*NetPeeringAcception)(nil)).Elem() -} - -func (i NetPeeringAcceptionMap) ToNetPeeringAcceptionMapOutput() NetPeeringAcceptionMapOutput { - return i.ToNetPeeringAcceptionMapOutputWithContext(context.Background()) -} - -func (i NetPeeringAcceptionMap) ToNetPeeringAcceptionMapOutputWithContext(ctx context.Context) NetPeeringAcceptionMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetPeeringAcceptionMapOutput) -} - -type NetPeeringAcceptionOutput struct{ *pulumi.OutputState } - -func (NetPeeringAcceptionOutput) ElementType() reflect.Type { - return reflect.TypeOf((**NetPeeringAcception)(nil)).Elem() -} - -func (o NetPeeringAcceptionOutput) ToNetPeeringAcceptionOutput() NetPeeringAcceptionOutput { - return o -} - -func (o NetPeeringAcceptionOutput) ToNetPeeringAcceptionOutputWithContext(ctx context.Context) NetPeeringAcceptionOutput { - return o -} - -func (o NetPeeringAcceptionOutput) AccepterNetId() pulumi.StringOutput { - return o.ApplyT(func(v *NetPeeringAcception) pulumi.StringOutput { return v.AccepterNetId }).(pulumi.StringOutput) -} - -// Information about the accepter Net. -func (o NetPeeringAcceptionOutput) AccepterNets() NetPeeringAcceptionAccepterNetArrayOutput { - return o.ApplyT(func(v *NetPeeringAcception) NetPeeringAcceptionAccepterNetArrayOutput { return v.AccepterNets }).(NetPeeringAcceptionAccepterNetArrayOutput) -} - -// The ID of the Net peering you want to accept. -func (o NetPeeringAcceptionOutput) NetPeeringId() pulumi.StringOutput { - return o.ApplyT(func(v *NetPeeringAcception) pulumi.StringOutput { return v.NetPeeringId }).(pulumi.StringOutput) -} - -func (o NetPeeringAcceptionOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *NetPeeringAcception) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -func (o NetPeeringAcceptionOutput) SourceNetId() pulumi.StringOutput { - return o.ApplyT(func(v *NetPeeringAcception) pulumi.StringOutput { return v.SourceNetId }).(pulumi.StringOutput) -} - -// Information about the source Net. -func (o NetPeeringAcceptionOutput) SourceNets() NetPeeringAcceptionSourceNetArrayOutput { - return o.ApplyT(func(v *NetPeeringAcception) NetPeeringAcceptionSourceNetArrayOutput { return v.SourceNets }).(NetPeeringAcceptionSourceNetArrayOutput) -} - -// Information about the state of the Net peering. -func (o NetPeeringAcceptionOutput) States() NetPeeringAcceptionStateTypeArrayOutput { - return o.ApplyT(func(v *NetPeeringAcception) NetPeeringAcceptionStateTypeArrayOutput { return v.States }).(NetPeeringAcceptionStateTypeArrayOutput) -} - -// One or more tags associated with the Net peering. -func (o NetPeeringAcceptionOutput) Tags() NetPeeringAcceptionTagArrayOutput { - return o.ApplyT(func(v *NetPeeringAcception) NetPeeringAcceptionTagArrayOutput { return v.Tags }).(NetPeeringAcceptionTagArrayOutput) -} - -type NetPeeringAcceptionArrayOutput struct{ *pulumi.OutputState } - -func (NetPeeringAcceptionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*NetPeeringAcception)(nil)).Elem() -} - -func (o NetPeeringAcceptionArrayOutput) ToNetPeeringAcceptionArrayOutput() NetPeeringAcceptionArrayOutput { - return o -} - -func (o NetPeeringAcceptionArrayOutput) ToNetPeeringAcceptionArrayOutputWithContext(ctx context.Context) NetPeeringAcceptionArrayOutput { - return o -} - -func (o NetPeeringAcceptionArrayOutput) Index(i pulumi.IntInput) NetPeeringAcceptionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *NetPeeringAcception { - return vs[0].([]*NetPeeringAcception)[vs[1].(int)] - }).(NetPeeringAcceptionOutput) -} - -type NetPeeringAcceptionMapOutput struct{ *pulumi.OutputState } - -func (NetPeeringAcceptionMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*NetPeeringAcception)(nil)).Elem() -} - -func (o NetPeeringAcceptionMapOutput) ToNetPeeringAcceptionMapOutput() NetPeeringAcceptionMapOutput { - return o -} - -func (o NetPeeringAcceptionMapOutput) ToNetPeeringAcceptionMapOutputWithContext(ctx context.Context) NetPeeringAcceptionMapOutput { - return o -} - -func (o NetPeeringAcceptionMapOutput) MapIndex(k pulumi.StringInput) NetPeeringAcceptionOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *NetPeeringAcception { - return vs[0].(map[string]*NetPeeringAcception)[vs[1].(string)] - }).(NetPeeringAcceptionOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*NetPeeringAcceptionInput)(nil)).Elem(), &NetPeeringAcception{}) - pulumi.RegisterInputType(reflect.TypeOf((*NetPeeringAcceptionArrayInput)(nil)).Elem(), NetPeeringAcceptionArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*NetPeeringAcceptionMapInput)(nil)).Elem(), NetPeeringAcceptionMap{}) - pulumi.RegisterOutputType(NetPeeringAcceptionOutput{}) - pulumi.RegisterOutputType(NetPeeringAcceptionArrayOutput{}) - pulumi.RegisterOutputType(NetPeeringAcceptionMapOutput{}) -} diff --git a/sdk/go/outscale/nic.go b/sdk/go/outscale/nic.go deleted file mode 100644 index 5dd3b81..0000000 --- a/sdk/go/outscale/nic.go +++ /dev/null @@ -1,561 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "errors" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages a network interface card (NIC). -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-FNIs.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-nic). -// -// ## Example Usage -// ### Required resources -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// net01, err := outscale.NewNet(ctx, "net01", &outscale.NetArgs{ -// IpRange: pulumi.String("10.0.0.0/16"), -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewSubnet(ctx, "subnet01", &outscale.SubnetArgs{ -// SubregionName: pulumi.String("eu-west-2a"), -// IpRange: pulumi.String("10.0.0.0/18"), -// NetId: net01.NetId, -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewSecurityGroup(ctx, "securityGroup01", &outscale.SecurityGroupArgs{ -// Description: pulumi.String("Terraform security group for nic with private IPs"), -// SecurityGroupName: pulumi.String("terraform-security-group-nic-ips"), -// NetId: net01.NetId, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Create a NIC -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewNic(ctx, "nic01", &outscale.NicArgs{ -// SubnetId: pulumi.Any(outscale_subnet.Subnet01.Subnet_id), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Create a NIC with private IP addresses -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewNic(ctx, "nic02", &outscale.NicArgs{ -// Description: pulumi.String("Terraform nic with private IPs"), -// SubnetId: pulumi.Any(outscale_subnet.Subnet01.Subnet_id), -// SecurityGroupIds: pulumi.StringArray{ -// outscale_security_group.Security_group01.Security_group_id, -// }, -// PrivateIps: outscale.NicPrivateIpTypeArray{ -// &outscale.NicPrivateIpTypeArgs{ -// IsPrimary: pulumi.Bool(true), -// PrivateIp: pulumi.String("10.0.0.1"), -// }, -// &outscale.NicPrivateIpTypeArgs{ -// IsPrimary: pulumi.Bool(false), -// PrivateIp: pulumi.String("10.0.0.2"), -// }, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// A NIC can be imported using its ID. For exampleconsole -// -// ```sh -// -// $ pulumi import outscale:index/nic:Nic ImportedNic eni-12345678 -// -// ``` -type Nic struct { - pulumi.CustomResourceState - - // The account ID of the owner of the NIC. - AccountId pulumi.StringOutput `pulumi:"accountId"` - // A description for the NIC. - Description pulumi.StringOutput `pulumi:"description"` - // (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - IsSourceDestChecked pulumi.BoolOutput `pulumi:"isSourceDestChecked"` - // Information about the NIC attachment. - LinkNics NicLinkNicArrayOutput `pulumi:"linkNics"` - // Information about the public IP association. - LinkPublicIps NicLinkPublicIpArrayOutput `pulumi:"linkPublicIps"` - // The Media Access Control (MAC) address of the NIC. - MacAddress pulumi.StringOutput `pulumi:"macAddress"` - // The ID of the Net for the NIC. - NetId pulumi.StringOutput `pulumi:"netId"` - // The ID of the NIC. - NicId pulumi.StringOutput `pulumi:"nicId"` - // The name of the private DNS. - PrivateDnsName pulumi.StringOutput `pulumi:"privateDnsName"` - // The private IP of the NIC. - PrivateIp pulumi.StringOutput `pulumi:"privateIp"` - // The primary private IP for the NIC.
- // This IP must be within the IP range of the Subnet that you specify with the `subnetId` attribute.
- // If you do not specify this attribute, a random private IP is selected within the IP range of the Subnet. - PrivateIps NicPrivateIpTypeArrayOutput `pulumi:"privateIps"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - RequesterManaged pulumi.BoolOutput `pulumi:"requesterManaged"` - // One or more IDs of security groups for the NIC. - SecurityGroupIds pulumi.StringArrayOutput `pulumi:"securityGroupIds"` - // One or more IDs of security groups for the NIC. - SecurityGroups NicSecurityGroupArrayOutput `pulumi:"securityGroups"` - // The state of the NIC (`available` \| `attaching` \| `in-use` \| `detaching`). - State pulumi.StringOutput `pulumi:"state"` - // The ID of the Subnet in which you want to create the NIC. - SubnetId pulumi.StringOutput `pulumi:"subnetId"` - // The Subregion in which the NIC is located. - SubregionName pulumi.StringOutput `pulumi:"subregionName"` - // A tag to add to this resource. You can specify this argument several times. - Tags NicTagArrayOutput `pulumi:"tags"` -} - -// NewNic registers a new resource with the given unique name, arguments, and options. -func NewNic(ctx *pulumi.Context, - name string, args *NicArgs, opts ...pulumi.ResourceOption) (*Nic, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.SubnetId == nil { - return nil, errors.New("invalid value for required argument 'SubnetId'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource Nic - err := ctx.RegisterResource("outscale:index/nic:Nic", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetNic gets an existing Nic resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetNic(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *NicState, opts ...pulumi.ResourceOption) (*Nic, error) { - var resource Nic - err := ctx.ReadResource("outscale:index/nic:Nic", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering Nic resources. -type nicState struct { - // The account ID of the owner of the NIC. - AccountId *string `pulumi:"accountId"` - // A description for the NIC. - Description *string `pulumi:"description"` - // (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - IsSourceDestChecked *bool `pulumi:"isSourceDestChecked"` - // Information about the NIC attachment. - LinkNics []NicLinkNic `pulumi:"linkNics"` - // Information about the public IP association. - LinkPublicIps []NicLinkPublicIp `pulumi:"linkPublicIps"` - // The Media Access Control (MAC) address of the NIC. - MacAddress *string `pulumi:"macAddress"` - // The ID of the Net for the NIC. - NetId *string `pulumi:"netId"` - // The ID of the NIC. - NicId *string `pulumi:"nicId"` - // The name of the private DNS. - PrivateDnsName *string `pulumi:"privateDnsName"` - // The private IP of the NIC. - PrivateIp *string `pulumi:"privateIp"` - // The primary private IP for the NIC.
- // This IP must be within the IP range of the Subnet that you specify with the `subnetId` attribute.
- // If you do not specify this attribute, a random private IP is selected within the IP range of the Subnet. - PrivateIps []NicPrivateIpType `pulumi:"privateIps"` - RequestId *string `pulumi:"requestId"` - RequesterManaged *bool `pulumi:"requesterManaged"` - // One or more IDs of security groups for the NIC. - SecurityGroupIds []string `pulumi:"securityGroupIds"` - // One or more IDs of security groups for the NIC. - SecurityGroups []NicSecurityGroup `pulumi:"securityGroups"` - // The state of the NIC (`available` \| `attaching` \| `in-use` \| `detaching`). - State *string `pulumi:"state"` - // The ID of the Subnet in which you want to create the NIC. - SubnetId *string `pulumi:"subnetId"` - // The Subregion in which the NIC is located. - SubregionName *string `pulumi:"subregionName"` - // A tag to add to this resource. You can specify this argument several times. - Tags []NicTag `pulumi:"tags"` -} - -type NicState struct { - // The account ID of the owner of the NIC. - AccountId pulumi.StringPtrInput - // A description for the NIC. - Description pulumi.StringPtrInput - // (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - IsSourceDestChecked pulumi.BoolPtrInput - // Information about the NIC attachment. - LinkNics NicLinkNicArrayInput - // Information about the public IP association. - LinkPublicIps NicLinkPublicIpArrayInput - // The Media Access Control (MAC) address of the NIC. - MacAddress pulumi.StringPtrInput - // The ID of the Net for the NIC. - NetId pulumi.StringPtrInput - // The ID of the NIC. - NicId pulumi.StringPtrInput - // The name of the private DNS. - PrivateDnsName pulumi.StringPtrInput - // The private IP of the NIC. - PrivateIp pulumi.StringPtrInput - // The primary private IP for the NIC.
- // This IP must be within the IP range of the Subnet that you specify with the `subnetId` attribute.
- // If you do not specify this attribute, a random private IP is selected within the IP range of the Subnet. - PrivateIps NicPrivateIpTypeArrayInput - RequestId pulumi.StringPtrInput - RequesterManaged pulumi.BoolPtrInput - // One or more IDs of security groups for the NIC. - SecurityGroupIds pulumi.StringArrayInput - // One or more IDs of security groups for the NIC. - SecurityGroups NicSecurityGroupArrayInput - // The state of the NIC (`available` \| `attaching` \| `in-use` \| `detaching`). - State pulumi.StringPtrInput - // The ID of the Subnet in which you want to create the NIC. - SubnetId pulumi.StringPtrInput - // The Subregion in which the NIC is located. - SubregionName pulumi.StringPtrInput - // A tag to add to this resource. You can specify this argument several times. - Tags NicTagArrayInput -} - -func (NicState) ElementType() reflect.Type { - return reflect.TypeOf((*nicState)(nil)).Elem() -} - -type nicArgs struct { - // A description for the NIC. - Description *string `pulumi:"description"` - // The private IP of the NIC. - PrivateIp *string `pulumi:"privateIp"` - // The primary private IP for the NIC.
- // This IP must be within the IP range of the Subnet that you specify with the `subnetId` attribute.
- // If you do not specify this attribute, a random private IP is selected within the IP range of the Subnet. - PrivateIps []NicPrivateIpType `pulumi:"privateIps"` - // One or more IDs of security groups for the NIC. - SecurityGroupIds []string `pulumi:"securityGroupIds"` - // The ID of the Subnet in which you want to create the NIC. - SubnetId string `pulumi:"subnetId"` - // A tag to add to this resource. You can specify this argument several times. - Tags []NicTag `pulumi:"tags"` -} - -// The set of arguments for constructing a Nic resource. -type NicArgs struct { - // A description for the NIC. - Description pulumi.StringPtrInput - // The private IP of the NIC. - PrivateIp pulumi.StringPtrInput - // The primary private IP for the NIC.
- // This IP must be within the IP range of the Subnet that you specify with the `subnetId` attribute.
- // If you do not specify this attribute, a random private IP is selected within the IP range of the Subnet. - PrivateIps NicPrivateIpTypeArrayInput - // One or more IDs of security groups for the NIC. - SecurityGroupIds pulumi.StringArrayInput - // The ID of the Subnet in which you want to create the NIC. - SubnetId pulumi.StringInput - // A tag to add to this resource. You can specify this argument several times. - Tags NicTagArrayInput -} - -func (NicArgs) ElementType() reflect.Type { - return reflect.TypeOf((*nicArgs)(nil)).Elem() -} - -type NicInput interface { - pulumi.Input - - ToNicOutput() NicOutput - ToNicOutputWithContext(ctx context.Context) NicOutput -} - -func (*Nic) ElementType() reflect.Type { - return reflect.TypeOf((**Nic)(nil)).Elem() -} - -func (i *Nic) ToNicOutput() NicOutput { - return i.ToNicOutputWithContext(context.Background()) -} - -func (i *Nic) ToNicOutputWithContext(ctx context.Context) NicOutput { - return pulumi.ToOutputWithContext(ctx, i).(NicOutput) -} - -// NicArrayInput is an input type that accepts NicArray and NicArrayOutput values. -// You can construct a concrete instance of `NicArrayInput` via: -// -// NicArray{ NicArgs{...} } -type NicArrayInput interface { - pulumi.Input - - ToNicArrayOutput() NicArrayOutput - ToNicArrayOutputWithContext(context.Context) NicArrayOutput -} - -type NicArray []NicInput - -func (NicArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*Nic)(nil)).Elem() -} - -func (i NicArray) ToNicArrayOutput() NicArrayOutput { - return i.ToNicArrayOutputWithContext(context.Background()) -} - -func (i NicArray) ToNicArrayOutputWithContext(ctx context.Context) NicArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(NicArrayOutput) -} - -// NicMapInput is an input type that accepts NicMap and NicMapOutput values. -// You can construct a concrete instance of `NicMapInput` via: -// -// NicMap{ "key": NicArgs{...} } -type NicMapInput interface { - pulumi.Input - - ToNicMapOutput() NicMapOutput - ToNicMapOutputWithContext(context.Context) NicMapOutput -} - -type NicMap map[string]NicInput - -func (NicMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*Nic)(nil)).Elem() -} - -func (i NicMap) ToNicMapOutput() NicMapOutput { - return i.ToNicMapOutputWithContext(context.Background()) -} - -func (i NicMap) ToNicMapOutputWithContext(ctx context.Context) NicMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(NicMapOutput) -} - -type NicOutput struct{ *pulumi.OutputState } - -func (NicOutput) ElementType() reflect.Type { - return reflect.TypeOf((**Nic)(nil)).Elem() -} - -func (o NicOutput) ToNicOutput() NicOutput { - return o -} - -func (o NicOutput) ToNicOutputWithContext(ctx context.Context) NicOutput { - return o -} - -// The account ID of the owner of the NIC. -func (o NicOutput) AccountId() pulumi.StringOutput { - return o.ApplyT(func(v *Nic) pulumi.StringOutput { return v.AccountId }).(pulumi.StringOutput) -} - -// A description for the NIC. -func (o NicOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v *Nic) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) -} - -// (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. -func (o NicOutput) IsSourceDestChecked() pulumi.BoolOutput { - return o.ApplyT(func(v *Nic) pulumi.BoolOutput { return v.IsSourceDestChecked }).(pulumi.BoolOutput) -} - -// Information about the NIC attachment. -func (o NicOutput) LinkNics() NicLinkNicArrayOutput { - return o.ApplyT(func(v *Nic) NicLinkNicArrayOutput { return v.LinkNics }).(NicLinkNicArrayOutput) -} - -// Information about the public IP association. -func (o NicOutput) LinkPublicIps() NicLinkPublicIpArrayOutput { - return o.ApplyT(func(v *Nic) NicLinkPublicIpArrayOutput { return v.LinkPublicIps }).(NicLinkPublicIpArrayOutput) -} - -// The Media Access Control (MAC) address of the NIC. -func (o NicOutput) MacAddress() pulumi.StringOutput { - return o.ApplyT(func(v *Nic) pulumi.StringOutput { return v.MacAddress }).(pulumi.StringOutput) -} - -// The ID of the Net for the NIC. -func (o NicOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v *Nic) pulumi.StringOutput { return v.NetId }).(pulumi.StringOutput) -} - -// The ID of the NIC. -func (o NicOutput) NicId() pulumi.StringOutput { - return o.ApplyT(func(v *Nic) pulumi.StringOutput { return v.NicId }).(pulumi.StringOutput) -} - -// The name of the private DNS. -func (o NicOutput) PrivateDnsName() pulumi.StringOutput { - return o.ApplyT(func(v *Nic) pulumi.StringOutput { return v.PrivateDnsName }).(pulumi.StringOutput) -} - -// The private IP of the NIC. -func (o NicOutput) PrivateIp() pulumi.StringOutput { - return o.ApplyT(func(v *Nic) pulumi.StringOutput { return v.PrivateIp }).(pulumi.StringOutput) -} - -// The primary private IP for the NIC.
-// This IP must be within the IP range of the Subnet that you specify with the `subnetId` attribute.
-// If you do not specify this attribute, a random private IP is selected within the IP range of the Subnet. -func (o NicOutput) PrivateIps() NicPrivateIpTypeArrayOutput { - return o.ApplyT(func(v *Nic) NicPrivateIpTypeArrayOutput { return v.PrivateIps }).(NicPrivateIpTypeArrayOutput) -} - -func (o NicOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *Nic) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -func (o NicOutput) RequesterManaged() pulumi.BoolOutput { - return o.ApplyT(func(v *Nic) pulumi.BoolOutput { return v.RequesterManaged }).(pulumi.BoolOutput) -} - -// One or more IDs of security groups for the NIC. -func (o NicOutput) SecurityGroupIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v *Nic) pulumi.StringArrayOutput { return v.SecurityGroupIds }).(pulumi.StringArrayOutput) -} - -// One or more IDs of security groups for the NIC. -func (o NicOutput) SecurityGroups() NicSecurityGroupArrayOutput { - return o.ApplyT(func(v *Nic) NicSecurityGroupArrayOutput { return v.SecurityGroups }).(NicSecurityGroupArrayOutput) -} - -// The state of the NIC (`available` \| `attaching` \| `in-use` \| `detaching`). -func (o NicOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v *Nic) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) -} - -// The ID of the Subnet in which you want to create the NIC. -func (o NicOutput) SubnetId() pulumi.StringOutput { - return o.ApplyT(func(v *Nic) pulumi.StringOutput { return v.SubnetId }).(pulumi.StringOutput) -} - -// The Subregion in which the NIC is located. -func (o NicOutput) SubregionName() pulumi.StringOutput { - return o.ApplyT(func(v *Nic) pulumi.StringOutput { return v.SubregionName }).(pulumi.StringOutput) -} - -// A tag to add to this resource. You can specify this argument several times. -func (o NicOutput) Tags() NicTagArrayOutput { - return o.ApplyT(func(v *Nic) NicTagArrayOutput { return v.Tags }).(NicTagArrayOutput) -} - -type NicArrayOutput struct{ *pulumi.OutputState } - -func (NicArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*Nic)(nil)).Elem() -} - -func (o NicArrayOutput) ToNicArrayOutput() NicArrayOutput { - return o -} - -func (o NicArrayOutput) ToNicArrayOutputWithContext(ctx context.Context) NicArrayOutput { - return o -} - -func (o NicArrayOutput) Index(i pulumi.IntInput) NicOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Nic { - return vs[0].([]*Nic)[vs[1].(int)] - }).(NicOutput) -} - -type NicMapOutput struct{ *pulumi.OutputState } - -func (NicMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*Nic)(nil)).Elem() -} - -func (o NicMapOutput) ToNicMapOutput() NicMapOutput { - return o -} - -func (o NicMapOutput) ToNicMapOutputWithContext(ctx context.Context) NicMapOutput { - return o -} - -func (o NicMapOutput) MapIndex(k pulumi.StringInput) NicOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Nic { - return vs[0].(map[string]*Nic)[vs[1].(string)] - }).(NicOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*NicInput)(nil)).Elem(), &Nic{}) - pulumi.RegisterInputType(reflect.TypeOf((*NicArrayInput)(nil)).Elem(), NicArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*NicMapInput)(nil)).Elem(), NicMap{}) - pulumi.RegisterOutputType(NicOutput{}) - pulumi.RegisterOutputType(NicArrayOutput{}) - pulumi.RegisterOutputType(NicMapOutput{}) -} diff --git a/sdk/go/outscale/nicLink.go b/sdk/go/outscale/nicLink.go deleted file mode 100644 index 32887c3..0000000 --- a/sdk/go/outscale/nicLink.go +++ /dev/null @@ -1,386 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "errors" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages a NIC link. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-FNIs.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-nic). -// -// ## Example Usage -// ### Required resources -// -// ```go -// package main -// -// import ( -// -// "fmt" -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// net01, err := outscale.NewNet(ctx, "net01", &outscale.NetArgs{ -// IpRange: pulumi.String("10.0.0.0/16"), -// }) -// if err != nil { -// return err -// } -// subnet01, err := outscale.NewSubnet(ctx, "subnet01", &outscale.SubnetArgs{ -// SubregionName: pulumi.String(fmt.Sprintf("%va", _var.Region)), -// IpRange: pulumi.String("10.0.0.0/16"), -// NetId: net01.NetId, -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewVm(ctx, "vm01", &outscale.VmArgs{ -// ImageId: pulumi.Any(_var.Image_id), -// VmType: pulumi.Any(_var.Vm_type), -// KeypairName: pulumi.Any(_var.Keypair_name), -// SubnetId: subnet01.SubnetId, -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewNic(ctx, "nic01", &outscale.NicArgs{ -// SubnetId: subnet01.SubnetId, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Link a NIC to a VM -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewNicLink(ctx, "nicLink01", &outscale.NicLinkArgs{ -// DeviceNumber: pulumi.Int(1), -// VmId: pulumi.Any(outscale_vm.Vm01.Vm_id), -// NicId: pulumi.Any(outscale_nic.Nic01.Nic_id), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// A NIC link can be imported using the NIC ID. For exampleconsole -// -// ```sh -// -// $ pulumi import outscale:index/nicLink:NicLink ImportedNicLink eni-12345678 -// -// ``` -type NicLink struct { - pulumi.CustomResourceState - - DeleteOnVmDeletion pulumi.BoolOutput `pulumi:"deleteOnVmDeletion"` - // The index of the VM device for the NIC attachment (between `1` and `7`, both included). - DeviceNumber pulumi.IntOutput `pulumi:"deviceNumber"` - // The ID of the NIC attachment. - LinkNicId pulumi.StringOutput `pulumi:"linkNicId"` - // The ID of the NIC you want to attach. - NicId pulumi.StringOutput `pulumi:"nicId"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - State pulumi.StringOutput `pulumi:"state"` - VmAccountId pulumi.StringOutput `pulumi:"vmAccountId"` - // The ID of the VM to which you want to attach the NIC. - VmId pulumi.StringOutput `pulumi:"vmId"` -} - -// NewNicLink registers a new resource with the given unique name, arguments, and options. -func NewNicLink(ctx *pulumi.Context, - name string, args *NicLinkArgs, opts ...pulumi.ResourceOption) (*NicLink, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.DeviceNumber == nil { - return nil, errors.New("invalid value for required argument 'DeviceNumber'") - } - if args.NicId == nil { - return nil, errors.New("invalid value for required argument 'NicId'") - } - if args.VmId == nil { - return nil, errors.New("invalid value for required argument 'VmId'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource NicLink - err := ctx.RegisterResource("outscale:index/nicLink:NicLink", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetNicLink gets an existing NicLink resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetNicLink(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *NicLinkState, opts ...pulumi.ResourceOption) (*NicLink, error) { - var resource NicLink - err := ctx.ReadResource("outscale:index/nicLink:NicLink", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering NicLink resources. -type nicLinkState struct { - DeleteOnVmDeletion *bool `pulumi:"deleteOnVmDeletion"` - // The index of the VM device for the NIC attachment (between `1` and `7`, both included). - DeviceNumber *int `pulumi:"deviceNumber"` - // The ID of the NIC attachment. - LinkNicId *string `pulumi:"linkNicId"` - // The ID of the NIC you want to attach. - NicId *string `pulumi:"nicId"` - RequestId *string `pulumi:"requestId"` - State *string `pulumi:"state"` - VmAccountId *string `pulumi:"vmAccountId"` - // The ID of the VM to which you want to attach the NIC. - VmId *string `pulumi:"vmId"` -} - -type NicLinkState struct { - DeleteOnVmDeletion pulumi.BoolPtrInput - // The index of the VM device for the NIC attachment (between `1` and `7`, both included). - DeviceNumber pulumi.IntPtrInput - // The ID of the NIC attachment. - LinkNicId pulumi.StringPtrInput - // The ID of the NIC you want to attach. - NicId pulumi.StringPtrInput - RequestId pulumi.StringPtrInput - State pulumi.StringPtrInput - VmAccountId pulumi.StringPtrInput - // The ID of the VM to which you want to attach the NIC. - VmId pulumi.StringPtrInput -} - -func (NicLinkState) ElementType() reflect.Type { - return reflect.TypeOf((*nicLinkState)(nil)).Elem() -} - -type nicLinkArgs struct { - // The index of the VM device for the NIC attachment (between `1` and `7`, both included). - DeviceNumber int `pulumi:"deviceNumber"` - // The ID of the NIC you want to attach. - NicId string `pulumi:"nicId"` - // The ID of the VM to which you want to attach the NIC. - VmId string `pulumi:"vmId"` -} - -// The set of arguments for constructing a NicLink resource. -type NicLinkArgs struct { - // The index of the VM device for the NIC attachment (between `1` and `7`, both included). - DeviceNumber pulumi.IntInput - // The ID of the NIC you want to attach. - NicId pulumi.StringInput - // The ID of the VM to which you want to attach the NIC. - VmId pulumi.StringInput -} - -func (NicLinkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*nicLinkArgs)(nil)).Elem() -} - -type NicLinkInput interface { - pulumi.Input - - ToNicLinkOutput() NicLinkOutput - ToNicLinkOutputWithContext(ctx context.Context) NicLinkOutput -} - -func (*NicLink) ElementType() reflect.Type { - return reflect.TypeOf((**NicLink)(nil)).Elem() -} - -func (i *NicLink) ToNicLinkOutput() NicLinkOutput { - return i.ToNicLinkOutputWithContext(context.Background()) -} - -func (i *NicLink) ToNicLinkOutputWithContext(ctx context.Context) NicLinkOutput { - return pulumi.ToOutputWithContext(ctx, i).(NicLinkOutput) -} - -// NicLinkArrayInput is an input type that accepts NicLinkArray and NicLinkArrayOutput values. -// You can construct a concrete instance of `NicLinkArrayInput` via: -// -// NicLinkArray{ NicLinkArgs{...} } -type NicLinkArrayInput interface { - pulumi.Input - - ToNicLinkArrayOutput() NicLinkArrayOutput - ToNicLinkArrayOutputWithContext(context.Context) NicLinkArrayOutput -} - -type NicLinkArray []NicLinkInput - -func (NicLinkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*NicLink)(nil)).Elem() -} - -func (i NicLinkArray) ToNicLinkArrayOutput() NicLinkArrayOutput { - return i.ToNicLinkArrayOutputWithContext(context.Background()) -} - -func (i NicLinkArray) ToNicLinkArrayOutputWithContext(ctx context.Context) NicLinkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(NicLinkArrayOutput) -} - -// NicLinkMapInput is an input type that accepts NicLinkMap and NicLinkMapOutput values. -// You can construct a concrete instance of `NicLinkMapInput` via: -// -// NicLinkMap{ "key": NicLinkArgs{...} } -type NicLinkMapInput interface { - pulumi.Input - - ToNicLinkMapOutput() NicLinkMapOutput - ToNicLinkMapOutputWithContext(context.Context) NicLinkMapOutput -} - -type NicLinkMap map[string]NicLinkInput - -func (NicLinkMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*NicLink)(nil)).Elem() -} - -func (i NicLinkMap) ToNicLinkMapOutput() NicLinkMapOutput { - return i.ToNicLinkMapOutputWithContext(context.Background()) -} - -func (i NicLinkMap) ToNicLinkMapOutputWithContext(ctx context.Context) NicLinkMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(NicLinkMapOutput) -} - -type NicLinkOutput struct{ *pulumi.OutputState } - -func (NicLinkOutput) ElementType() reflect.Type { - return reflect.TypeOf((**NicLink)(nil)).Elem() -} - -func (o NicLinkOutput) ToNicLinkOutput() NicLinkOutput { - return o -} - -func (o NicLinkOutput) ToNicLinkOutputWithContext(ctx context.Context) NicLinkOutput { - return o -} - -func (o NicLinkOutput) DeleteOnVmDeletion() pulumi.BoolOutput { - return o.ApplyT(func(v *NicLink) pulumi.BoolOutput { return v.DeleteOnVmDeletion }).(pulumi.BoolOutput) -} - -// The index of the VM device for the NIC attachment (between `1` and `7`, both included). -func (o NicLinkOutput) DeviceNumber() pulumi.IntOutput { - return o.ApplyT(func(v *NicLink) pulumi.IntOutput { return v.DeviceNumber }).(pulumi.IntOutput) -} - -// The ID of the NIC attachment. -func (o NicLinkOutput) LinkNicId() pulumi.StringOutput { - return o.ApplyT(func(v *NicLink) pulumi.StringOutput { return v.LinkNicId }).(pulumi.StringOutput) -} - -// The ID of the NIC you want to attach. -func (o NicLinkOutput) NicId() pulumi.StringOutput { - return o.ApplyT(func(v *NicLink) pulumi.StringOutput { return v.NicId }).(pulumi.StringOutput) -} - -func (o NicLinkOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *NicLink) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -func (o NicLinkOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v *NicLink) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) -} - -func (o NicLinkOutput) VmAccountId() pulumi.StringOutput { - return o.ApplyT(func(v *NicLink) pulumi.StringOutput { return v.VmAccountId }).(pulumi.StringOutput) -} - -// The ID of the VM to which you want to attach the NIC. -func (o NicLinkOutput) VmId() pulumi.StringOutput { - return o.ApplyT(func(v *NicLink) pulumi.StringOutput { return v.VmId }).(pulumi.StringOutput) -} - -type NicLinkArrayOutput struct{ *pulumi.OutputState } - -func (NicLinkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*NicLink)(nil)).Elem() -} - -func (o NicLinkArrayOutput) ToNicLinkArrayOutput() NicLinkArrayOutput { - return o -} - -func (o NicLinkArrayOutput) ToNicLinkArrayOutputWithContext(ctx context.Context) NicLinkArrayOutput { - return o -} - -func (o NicLinkArrayOutput) Index(i pulumi.IntInput) NicLinkOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *NicLink { - return vs[0].([]*NicLink)[vs[1].(int)] - }).(NicLinkOutput) -} - -type NicLinkMapOutput struct{ *pulumi.OutputState } - -func (NicLinkMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*NicLink)(nil)).Elem() -} - -func (o NicLinkMapOutput) ToNicLinkMapOutput() NicLinkMapOutput { - return o -} - -func (o NicLinkMapOutput) ToNicLinkMapOutputWithContext(ctx context.Context) NicLinkMapOutput { - return o -} - -func (o NicLinkMapOutput) MapIndex(k pulumi.StringInput) NicLinkOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *NicLink { - return vs[0].(map[string]*NicLink)[vs[1].(string)] - }).(NicLinkOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*NicLinkInput)(nil)).Elem(), &NicLink{}) - pulumi.RegisterInputType(reflect.TypeOf((*NicLinkArrayInput)(nil)).Elem(), NicLinkArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*NicLinkMapInput)(nil)).Elem(), NicLinkMap{}) - pulumi.RegisterOutputType(NicLinkOutput{}) - pulumi.RegisterOutputType(NicLinkArrayOutput{}) - pulumi.RegisterOutputType(NicLinkMapOutput{}) -} diff --git a/sdk/go/outscale/nicPrivateIp.go b/sdk/go/outscale/nicPrivateIp.go deleted file mode 100644 index 15b8a35..0000000 --- a/sdk/go/outscale/nicPrivateIp.go +++ /dev/null @@ -1,379 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "errors" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages a NIC's private IPs. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-FNIs.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-nic). -// -// ## Example Usage -// ### Required resources -// -// ```go -// package main -// -// import ( -// -// "fmt" -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// net01, err := outscale.NewNet(ctx, "net01", &outscale.NetArgs{ -// IpRange: pulumi.String("10.0.0.0/16"), -// }) -// if err != nil { -// return err -// } -// subnet01, err := outscale.NewSubnet(ctx, "subnet01", &outscale.SubnetArgs{ -// SubregionName: pulumi.String(fmt.Sprintf("%va", _var.Region)), -// IpRange: pulumi.String("10.0.0.0/16"), -// NetId: net01.NetId, -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewNic(ctx, "nic01", &outscale.NicArgs{ -// SubnetId: subnet01.SubnetId, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Link a specific secondary private IP address to a NIC -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewNicPrivateIp(ctx, "nicPrivateIp01", &outscale.NicPrivateIpArgs{ -// NicId: pulumi.Any(outscale_nic.Nic01.Nic_id), -// PrivateIps: pulumi.StringArray{ -// pulumi.String("10.0.12.34"), -// pulumi.String("10.0.12.35"), -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Link several automatic secondary private IP addresses to a NIC -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewNicPrivateIp(ctx, "nicPrivateIp02", &outscale.NicPrivateIpArgs{ -// NicId: pulumi.Any(outscale_nic.Nic01.Nic_id), -// SecondaryPrivateIpCount: pulumi.Int(2), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -type NicPrivateIp struct { - pulumi.CustomResourceState - - // If true, allows an IP that is already assigned to another NIC in the same Subnet to be assigned to the NIC you specified. - AllowRelink pulumi.BoolPtrOutput `pulumi:"allowRelink"` - // The ID of the NIC. - NicId pulumi.StringOutput `pulumi:"nicId"` - PrimaryPrivateIp pulumi.StringOutput `pulumi:"primaryPrivateIp"` - // The secondary private IP or IPs you want to assign to the NIC within the IP range of the Subnet. - PrivateIps pulumi.StringArrayOutput `pulumi:"privateIps"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - // The number of secondary private IPs to assign to the NIC. - SecondaryPrivateIpCount pulumi.IntOutput `pulumi:"secondaryPrivateIpCount"` -} - -// NewNicPrivateIp registers a new resource with the given unique name, arguments, and options. -func NewNicPrivateIp(ctx *pulumi.Context, - name string, args *NicPrivateIpArgs, opts ...pulumi.ResourceOption) (*NicPrivateIp, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.NicId == nil { - return nil, errors.New("invalid value for required argument 'NicId'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource NicPrivateIp - err := ctx.RegisterResource("outscale:index/nicPrivateIp:NicPrivateIp", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetNicPrivateIp gets an existing NicPrivateIp resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetNicPrivateIp(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *NicPrivateIpState, opts ...pulumi.ResourceOption) (*NicPrivateIp, error) { - var resource NicPrivateIp - err := ctx.ReadResource("outscale:index/nicPrivateIp:NicPrivateIp", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering NicPrivateIp resources. -type nicPrivateIpState struct { - // If true, allows an IP that is already assigned to another NIC in the same Subnet to be assigned to the NIC you specified. - AllowRelink *bool `pulumi:"allowRelink"` - // The ID of the NIC. - NicId *string `pulumi:"nicId"` - PrimaryPrivateIp *string `pulumi:"primaryPrivateIp"` - // The secondary private IP or IPs you want to assign to the NIC within the IP range of the Subnet. - PrivateIps []string `pulumi:"privateIps"` - RequestId *string `pulumi:"requestId"` - // The number of secondary private IPs to assign to the NIC. - SecondaryPrivateIpCount *int `pulumi:"secondaryPrivateIpCount"` -} - -type NicPrivateIpState struct { - // If true, allows an IP that is already assigned to another NIC in the same Subnet to be assigned to the NIC you specified. - AllowRelink pulumi.BoolPtrInput - // The ID of the NIC. - NicId pulumi.StringPtrInput - PrimaryPrivateIp pulumi.StringPtrInput - // The secondary private IP or IPs you want to assign to the NIC within the IP range of the Subnet. - PrivateIps pulumi.StringArrayInput - RequestId pulumi.StringPtrInput - // The number of secondary private IPs to assign to the NIC. - SecondaryPrivateIpCount pulumi.IntPtrInput -} - -func (NicPrivateIpState) ElementType() reflect.Type { - return reflect.TypeOf((*nicPrivateIpState)(nil)).Elem() -} - -type nicPrivateIpArgs struct { - // If true, allows an IP that is already assigned to another NIC in the same Subnet to be assigned to the NIC you specified. - AllowRelink *bool `pulumi:"allowRelink"` - // The ID of the NIC. - NicId string `pulumi:"nicId"` - // The secondary private IP or IPs you want to assign to the NIC within the IP range of the Subnet. - PrivateIps []string `pulumi:"privateIps"` - // The number of secondary private IPs to assign to the NIC. - SecondaryPrivateIpCount *int `pulumi:"secondaryPrivateIpCount"` -} - -// The set of arguments for constructing a NicPrivateIp resource. -type NicPrivateIpArgs struct { - // If true, allows an IP that is already assigned to another NIC in the same Subnet to be assigned to the NIC you specified. - AllowRelink pulumi.BoolPtrInput - // The ID of the NIC. - NicId pulumi.StringInput - // The secondary private IP or IPs you want to assign to the NIC within the IP range of the Subnet. - PrivateIps pulumi.StringArrayInput - // The number of secondary private IPs to assign to the NIC. - SecondaryPrivateIpCount pulumi.IntPtrInput -} - -func (NicPrivateIpArgs) ElementType() reflect.Type { - return reflect.TypeOf((*nicPrivateIpArgs)(nil)).Elem() -} - -type NicPrivateIpInput interface { - pulumi.Input - - ToNicPrivateIpOutput() NicPrivateIpOutput - ToNicPrivateIpOutputWithContext(ctx context.Context) NicPrivateIpOutput -} - -func (*NicPrivateIp) ElementType() reflect.Type { - return reflect.TypeOf((**NicPrivateIp)(nil)).Elem() -} - -func (i *NicPrivateIp) ToNicPrivateIpOutput() NicPrivateIpOutput { - return i.ToNicPrivateIpOutputWithContext(context.Background()) -} - -func (i *NicPrivateIp) ToNicPrivateIpOutputWithContext(ctx context.Context) NicPrivateIpOutput { - return pulumi.ToOutputWithContext(ctx, i).(NicPrivateIpOutput) -} - -// NicPrivateIpArrayInput is an input type that accepts NicPrivateIpArray and NicPrivateIpArrayOutput values. -// You can construct a concrete instance of `NicPrivateIpArrayInput` via: -// -// NicPrivateIpArray{ NicPrivateIpArgs{...} } -type NicPrivateIpArrayInput interface { - pulumi.Input - - ToNicPrivateIpArrayOutput() NicPrivateIpArrayOutput - ToNicPrivateIpArrayOutputWithContext(context.Context) NicPrivateIpArrayOutput -} - -type NicPrivateIpArray []NicPrivateIpInput - -func (NicPrivateIpArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*NicPrivateIp)(nil)).Elem() -} - -func (i NicPrivateIpArray) ToNicPrivateIpArrayOutput() NicPrivateIpArrayOutput { - return i.ToNicPrivateIpArrayOutputWithContext(context.Background()) -} - -func (i NicPrivateIpArray) ToNicPrivateIpArrayOutputWithContext(ctx context.Context) NicPrivateIpArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(NicPrivateIpArrayOutput) -} - -// NicPrivateIpMapInput is an input type that accepts NicPrivateIpMap and NicPrivateIpMapOutput values. -// You can construct a concrete instance of `NicPrivateIpMapInput` via: -// -// NicPrivateIpMap{ "key": NicPrivateIpArgs{...} } -type NicPrivateIpMapInput interface { - pulumi.Input - - ToNicPrivateIpMapOutput() NicPrivateIpMapOutput - ToNicPrivateIpMapOutputWithContext(context.Context) NicPrivateIpMapOutput -} - -type NicPrivateIpMap map[string]NicPrivateIpInput - -func (NicPrivateIpMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*NicPrivateIp)(nil)).Elem() -} - -func (i NicPrivateIpMap) ToNicPrivateIpMapOutput() NicPrivateIpMapOutput { - return i.ToNicPrivateIpMapOutputWithContext(context.Background()) -} - -func (i NicPrivateIpMap) ToNicPrivateIpMapOutputWithContext(ctx context.Context) NicPrivateIpMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(NicPrivateIpMapOutput) -} - -type NicPrivateIpOutput struct{ *pulumi.OutputState } - -func (NicPrivateIpOutput) ElementType() reflect.Type { - return reflect.TypeOf((**NicPrivateIp)(nil)).Elem() -} - -func (o NicPrivateIpOutput) ToNicPrivateIpOutput() NicPrivateIpOutput { - return o -} - -func (o NicPrivateIpOutput) ToNicPrivateIpOutputWithContext(ctx context.Context) NicPrivateIpOutput { - return o -} - -// If true, allows an IP that is already assigned to another NIC in the same Subnet to be assigned to the NIC you specified. -func (o NicPrivateIpOutput) AllowRelink() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *NicPrivateIp) pulumi.BoolPtrOutput { return v.AllowRelink }).(pulumi.BoolPtrOutput) -} - -// The ID of the NIC. -func (o NicPrivateIpOutput) NicId() pulumi.StringOutput { - return o.ApplyT(func(v *NicPrivateIp) pulumi.StringOutput { return v.NicId }).(pulumi.StringOutput) -} - -func (o NicPrivateIpOutput) PrimaryPrivateIp() pulumi.StringOutput { - return o.ApplyT(func(v *NicPrivateIp) pulumi.StringOutput { return v.PrimaryPrivateIp }).(pulumi.StringOutput) -} - -// The secondary private IP or IPs you want to assign to the NIC within the IP range of the Subnet. -func (o NicPrivateIpOutput) PrivateIps() pulumi.StringArrayOutput { - return o.ApplyT(func(v *NicPrivateIp) pulumi.StringArrayOutput { return v.PrivateIps }).(pulumi.StringArrayOutput) -} - -func (o NicPrivateIpOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *NicPrivateIp) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -// The number of secondary private IPs to assign to the NIC. -func (o NicPrivateIpOutput) SecondaryPrivateIpCount() pulumi.IntOutput { - return o.ApplyT(func(v *NicPrivateIp) pulumi.IntOutput { return v.SecondaryPrivateIpCount }).(pulumi.IntOutput) -} - -type NicPrivateIpArrayOutput struct{ *pulumi.OutputState } - -func (NicPrivateIpArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*NicPrivateIp)(nil)).Elem() -} - -func (o NicPrivateIpArrayOutput) ToNicPrivateIpArrayOutput() NicPrivateIpArrayOutput { - return o -} - -func (o NicPrivateIpArrayOutput) ToNicPrivateIpArrayOutputWithContext(ctx context.Context) NicPrivateIpArrayOutput { - return o -} - -func (o NicPrivateIpArrayOutput) Index(i pulumi.IntInput) NicPrivateIpOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *NicPrivateIp { - return vs[0].([]*NicPrivateIp)[vs[1].(int)] - }).(NicPrivateIpOutput) -} - -type NicPrivateIpMapOutput struct{ *pulumi.OutputState } - -func (NicPrivateIpMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*NicPrivateIp)(nil)).Elem() -} - -func (o NicPrivateIpMapOutput) ToNicPrivateIpMapOutput() NicPrivateIpMapOutput { - return o -} - -func (o NicPrivateIpMapOutput) ToNicPrivateIpMapOutputWithContext(ctx context.Context) NicPrivateIpMapOutput { - return o -} - -func (o NicPrivateIpMapOutput) MapIndex(k pulumi.StringInput) NicPrivateIpOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *NicPrivateIp { - return vs[0].(map[string]*NicPrivateIp)[vs[1].(string)] - }).(NicPrivateIpOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*NicPrivateIpInput)(nil)).Elem(), &NicPrivateIp{}) - pulumi.RegisterInputType(reflect.TypeOf((*NicPrivateIpArrayInput)(nil)).Elem(), NicPrivateIpArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*NicPrivateIpMapInput)(nil)).Elem(), NicPrivateIpMap{}) - pulumi.RegisterOutputType(NicPrivateIpOutput{}) - pulumi.RegisterOutputType(NicPrivateIpArrayOutput{}) - pulumi.RegisterOutputType(NicPrivateIpMapOutput{}) -} diff --git a/sdk/go/outscale/outboundRule.go b/sdk/go/outscale/outboundRule.go deleted file mode 100644 index 50e5208..0000000 --- a/sdk/go/outscale/outboundRule.go +++ /dev/null @@ -1,308 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "errors" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -type OutboundRule struct { - pulumi.CustomResourceState - - Flow pulumi.StringOutput `pulumi:"flow"` - FromPortRange pulumi.IntPtrOutput `pulumi:"fromPortRange"` - IpProtocol pulumi.StringPtrOutput `pulumi:"ipProtocol"` - IpRange pulumi.StringPtrOutput `pulumi:"ipRange"` - NetId pulumi.StringOutput `pulumi:"netId"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - Rules OutboundRuleRuleArrayOutput `pulumi:"rules"` - SecurityGroupAccountIdToLink pulumi.StringPtrOutput `pulumi:"securityGroupAccountIdToLink"` - SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"` - SecurityGroupName pulumi.StringOutput `pulumi:"securityGroupName"` - SecurityGroupNameToLink pulumi.StringPtrOutput `pulumi:"securityGroupNameToLink"` - ToPortRange pulumi.IntPtrOutput `pulumi:"toPortRange"` -} - -// NewOutboundRule registers a new resource with the given unique name, arguments, and options. -func NewOutboundRule(ctx *pulumi.Context, - name string, args *OutboundRuleArgs, opts ...pulumi.ResourceOption) (*OutboundRule, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.Flow == nil { - return nil, errors.New("invalid value for required argument 'Flow'") - } - if args.SecurityGroupId == nil { - return nil, errors.New("invalid value for required argument 'SecurityGroupId'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource OutboundRule - err := ctx.RegisterResource("outscale:index/outboundRule:OutboundRule", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetOutboundRule gets an existing OutboundRule resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetOutboundRule(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *OutboundRuleState, opts ...pulumi.ResourceOption) (*OutboundRule, error) { - var resource OutboundRule - err := ctx.ReadResource("outscale:index/outboundRule:OutboundRule", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering OutboundRule resources. -type outboundRuleState struct { - Flow *string `pulumi:"flow"` - FromPortRange *int `pulumi:"fromPortRange"` - IpProtocol *string `pulumi:"ipProtocol"` - IpRange *string `pulumi:"ipRange"` - NetId *string `pulumi:"netId"` - RequestId *string `pulumi:"requestId"` - Rules []OutboundRuleRule `pulumi:"rules"` - SecurityGroupAccountIdToLink *string `pulumi:"securityGroupAccountIdToLink"` - SecurityGroupId *string `pulumi:"securityGroupId"` - SecurityGroupName *string `pulumi:"securityGroupName"` - SecurityGroupNameToLink *string `pulumi:"securityGroupNameToLink"` - ToPortRange *int `pulumi:"toPortRange"` -} - -type OutboundRuleState struct { - Flow pulumi.StringPtrInput - FromPortRange pulumi.IntPtrInput - IpProtocol pulumi.StringPtrInput - IpRange pulumi.StringPtrInput - NetId pulumi.StringPtrInput - RequestId pulumi.StringPtrInput - Rules OutboundRuleRuleArrayInput - SecurityGroupAccountIdToLink pulumi.StringPtrInput - SecurityGroupId pulumi.StringPtrInput - SecurityGroupName pulumi.StringPtrInput - SecurityGroupNameToLink pulumi.StringPtrInput - ToPortRange pulumi.IntPtrInput -} - -func (OutboundRuleState) ElementType() reflect.Type { - return reflect.TypeOf((*outboundRuleState)(nil)).Elem() -} - -type outboundRuleArgs struct { - Flow string `pulumi:"flow"` - FromPortRange *int `pulumi:"fromPortRange"` - IpProtocol *string `pulumi:"ipProtocol"` - IpRange *string `pulumi:"ipRange"` - Rules []OutboundRuleRule `pulumi:"rules"` - SecurityGroupAccountIdToLink *string `pulumi:"securityGroupAccountIdToLink"` - SecurityGroupId string `pulumi:"securityGroupId"` - SecurityGroupNameToLink *string `pulumi:"securityGroupNameToLink"` - ToPortRange *int `pulumi:"toPortRange"` -} - -// The set of arguments for constructing a OutboundRule resource. -type OutboundRuleArgs struct { - Flow pulumi.StringInput - FromPortRange pulumi.IntPtrInput - IpProtocol pulumi.StringPtrInput - IpRange pulumi.StringPtrInput - Rules OutboundRuleRuleArrayInput - SecurityGroupAccountIdToLink pulumi.StringPtrInput - SecurityGroupId pulumi.StringInput - SecurityGroupNameToLink pulumi.StringPtrInput - ToPortRange pulumi.IntPtrInput -} - -func (OutboundRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*outboundRuleArgs)(nil)).Elem() -} - -type OutboundRuleInput interface { - pulumi.Input - - ToOutboundRuleOutput() OutboundRuleOutput - ToOutboundRuleOutputWithContext(ctx context.Context) OutboundRuleOutput -} - -func (*OutboundRule) ElementType() reflect.Type { - return reflect.TypeOf((**OutboundRule)(nil)).Elem() -} - -func (i *OutboundRule) ToOutboundRuleOutput() OutboundRuleOutput { - return i.ToOutboundRuleOutputWithContext(context.Background()) -} - -func (i *OutboundRule) ToOutboundRuleOutputWithContext(ctx context.Context) OutboundRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(OutboundRuleOutput) -} - -// OutboundRuleArrayInput is an input type that accepts OutboundRuleArray and OutboundRuleArrayOutput values. -// You can construct a concrete instance of `OutboundRuleArrayInput` via: -// -// OutboundRuleArray{ OutboundRuleArgs{...} } -type OutboundRuleArrayInput interface { - pulumi.Input - - ToOutboundRuleArrayOutput() OutboundRuleArrayOutput - ToOutboundRuleArrayOutputWithContext(context.Context) OutboundRuleArrayOutput -} - -type OutboundRuleArray []OutboundRuleInput - -func (OutboundRuleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*OutboundRule)(nil)).Elem() -} - -func (i OutboundRuleArray) ToOutboundRuleArrayOutput() OutboundRuleArrayOutput { - return i.ToOutboundRuleArrayOutputWithContext(context.Background()) -} - -func (i OutboundRuleArray) ToOutboundRuleArrayOutputWithContext(ctx context.Context) OutboundRuleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(OutboundRuleArrayOutput) -} - -// OutboundRuleMapInput is an input type that accepts OutboundRuleMap and OutboundRuleMapOutput values. -// You can construct a concrete instance of `OutboundRuleMapInput` via: -// -// OutboundRuleMap{ "key": OutboundRuleArgs{...} } -type OutboundRuleMapInput interface { - pulumi.Input - - ToOutboundRuleMapOutput() OutboundRuleMapOutput - ToOutboundRuleMapOutputWithContext(context.Context) OutboundRuleMapOutput -} - -type OutboundRuleMap map[string]OutboundRuleInput - -func (OutboundRuleMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*OutboundRule)(nil)).Elem() -} - -func (i OutboundRuleMap) ToOutboundRuleMapOutput() OutboundRuleMapOutput { - return i.ToOutboundRuleMapOutputWithContext(context.Background()) -} - -func (i OutboundRuleMap) ToOutboundRuleMapOutputWithContext(ctx context.Context) OutboundRuleMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(OutboundRuleMapOutput) -} - -type OutboundRuleOutput struct{ *pulumi.OutputState } - -func (OutboundRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((**OutboundRule)(nil)).Elem() -} - -func (o OutboundRuleOutput) ToOutboundRuleOutput() OutboundRuleOutput { - return o -} - -func (o OutboundRuleOutput) ToOutboundRuleOutputWithContext(ctx context.Context) OutboundRuleOutput { - return o -} - -func (o OutboundRuleOutput) Flow() pulumi.StringOutput { - return o.ApplyT(func(v *OutboundRule) pulumi.StringOutput { return v.Flow }).(pulumi.StringOutput) -} - -func (o OutboundRuleOutput) FromPortRange() pulumi.IntPtrOutput { - return o.ApplyT(func(v *OutboundRule) pulumi.IntPtrOutput { return v.FromPortRange }).(pulumi.IntPtrOutput) -} - -func (o OutboundRuleOutput) IpProtocol() pulumi.StringPtrOutput { - return o.ApplyT(func(v *OutboundRule) pulumi.StringPtrOutput { return v.IpProtocol }).(pulumi.StringPtrOutput) -} - -func (o OutboundRuleOutput) IpRange() pulumi.StringPtrOutput { - return o.ApplyT(func(v *OutboundRule) pulumi.StringPtrOutput { return v.IpRange }).(pulumi.StringPtrOutput) -} - -func (o OutboundRuleOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v *OutboundRule) pulumi.StringOutput { return v.NetId }).(pulumi.StringOutput) -} - -func (o OutboundRuleOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *OutboundRule) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -func (o OutboundRuleOutput) Rules() OutboundRuleRuleArrayOutput { - return o.ApplyT(func(v *OutboundRule) OutboundRuleRuleArrayOutput { return v.Rules }).(OutboundRuleRuleArrayOutput) -} - -func (o OutboundRuleOutput) SecurityGroupAccountIdToLink() pulumi.StringPtrOutput { - return o.ApplyT(func(v *OutboundRule) pulumi.StringPtrOutput { return v.SecurityGroupAccountIdToLink }).(pulumi.StringPtrOutput) -} - -func (o OutboundRuleOutput) SecurityGroupId() pulumi.StringOutput { - return o.ApplyT(func(v *OutboundRule) pulumi.StringOutput { return v.SecurityGroupId }).(pulumi.StringOutput) -} - -func (o OutboundRuleOutput) SecurityGroupName() pulumi.StringOutput { - return o.ApplyT(func(v *OutboundRule) pulumi.StringOutput { return v.SecurityGroupName }).(pulumi.StringOutput) -} - -func (o OutboundRuleOutput) SecurityGroupNameToLink() pulumi.StringPtrOutput { - return o.ApplyT(func(v *OutboundRule) pulumi.StringPtrOutput { return v.SecurityGroupNameToLink }).(pulumi.StringPtrOutput) -} - -func (o OutboundRuleOutput) ToPortRange() pulumi.IntPtrOutput { - return o.ApplyT(func(v *OutboundRule) pulumi.IntPtrOutput { return v.ToPortRange }).(pulumi.IntPtrOutput) -} - -type OutboundRuleArrayOutput struct{ *pulumi.OutputState } - -func (OutboundRuleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*OutboundRule)(nil)).Elem() -} - -func (o OutboundRuleArrayOutput) ToOutboundRuleArrayOutput() OutboundRuleArrayOutput { - return o -} - -func (o OutboundRuleArrayOutput) ToOutboundRuleArrayOutputWithContext(ctx context.Context) OutboundRuleArrayOutput { - return o -} - -func (o OutboundRuleArrayOutput) Index(i pulumi.IntInput) OutboundRuleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *OutboundRule { - return vs[0].([]*OutboundRule)[vs[1].(int)] - }).(OutboundRuleOutput) -} - -type OutboundRuleMapOutput struct{ *pulumi.OutputState } - -func (OutboundRuleMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*OutboundRule)(nil)).Elem() -} - -func (o OutboundRuleMapOutput) ToOutboundRuleMapOutput() OutboundRuleMapOutput { - return o -} - -func (o OutboundRuleMapOutput) ToOutboundRuleMapOutputWithContext(ctx context.Context) OutboundRuleMapOutput { - return o -} - -func (o OutboundRuleMapOutput) MapIndex(k pulumi.StringInput) OutboundRuleOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *OutboundRule { - return vs[0].(map[string]*OutboundRule)[vs[1].(string)] - }).(OutboundRuleOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*OutboundRuleInput)(nil)).Elem(), &OutboundRule{}) - pulumi.RegisterInputType(reflect.TypeOf((*OutboundRuleArrayInput)(nil)).Elem(), OutboundRuleArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*OutboundRuleMapInput)(nil)).Elem(), OutboundRuleMap{}) - pulumi.RegisterOutputType(OutboundRuleOutput{}) - pulumi.RegisterOutputType(OutboundRuleArrayOutput{}) - pulumi.RegisterOutputType(OutboundRuleMapOutput{}) -} diff --git a/sdk/go/outscale/provider.go b/sdk/go/outscale/provider.go deleted file mode 100644 index ef00ad2..0000000 --- a/sdk/go/outscale/provider.go +++ /dev/null @@ -1,162 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// The provider type for the outscale package. By default, resources use package-wide configuration -// settings, however an explicit `Provider` instance may be created and passed during resource -// construction to achieve fine-grained programmatic control over provider settings. See the -// [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information. -type Provider struct { - pulumi.ProviderResourceState - - // The Access Key ID for API operations - AccessKeyId pulumi.StringPtrOutput `pulumi:"accessKeyId"` - // The Region for API operations. - Region pulumi.StringPtrOutput `pulumi:"region"` - // The Secret Key ID for API operations. - SecretKeyId pulumi.StringPtrOutput `pulumi:"secretKeyId"` - // The path to your x509 cert - X509CertPath pulumi.StringPtrOutput `pulumi:"x509CertPath"` - // The path to your x509 key - X509KeyPath pulumi.StringPtrOutput `pulumi:"x509KeyPath"` -} - -// NewProvider registers a new resource with the given unique name, arguments, and options. -func NewProvider(ctx *pulumi.Context, - name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error) { - if args == nil { - args = &ProviderArgs{} - } - - if args.AccessKeyId == nil { - if d := internal.GetEnvOrDefault(nil, nil, "OUTSCALE_ACCESSKEYID"); d != nil { - args.AccessKeyId = pulumi.StringPtr(d.(string)) - } - } - if args.Region == nil { - if d := internal.GetEnvOrDefault(nil, nil, "OUTSCALE_REGION"); d != nil { - args.Region = pulumi.StringPtr(d.(string)) - } - } - if args.SecretKeyId == nil { - if d := internal.GetEnvOrDefault(nil, nil, "OUTSCALE_SECRETKEYID"); d != nil { - args.SecretKeyId = pulumi.StringPtr(d.(string)) - } - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource Provider - err := ctx.RegisterResource("pulumi:providers:outscale", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -type providerArgs struct { - // The Access Key ID for API operations - AccessKeyId *string `pulumi:"accessKeyId"` - Endpoints []ProviderEndpoint `pulumi:"endpoints"` - // tls insecure connection - Insecure *bool `pulumi:"insecure"` - // The Region for API operations. - Region *string `pulumi:"region"` - // The Secret Key ID for API operations. - SecretKeyId *string `pulumi:"secretKeyId"` - // The path to your x509 cert - X509CertPath *string `pulumi:"x509CertPath"` - // The path to your x509 key - X509KeyPath *string `pulumi:"x509KeyPath"` -} - -// The set of arguments for constructing a Provider resource. -type ProviderArgs struct { - // The Access Key ID for API operations - AccessKeyId pulumi.StringPtrInput - Endpoints ProviderEndpointArrayInput - // tls insecure connection - Insecure pulumi.BoolPtrInput - // The Region for API operations. - Region pulumi.StringPtrInput - // The Secret Key ID for API operations. - SecretKeyId pulumi.StringPtrInput - // The path to your x509 cert - X509CertPath pulumi.StringPtrInput - // The path to your x509 key - X509KeyPath pulumi.StringPtrInput -} - -func (ProviderArgs) ElementType() reflect.Type { - return reflect.TypeOf((*providerArgs)(nil)).Elem() -} - -type ProviderInput interface { - pulumi.Input - - ToProviderOutput() ProviderOutput - ToProviderOutputWithContext(ctx context.Context) ProviderOutput -} - -func (*Provider) ElementType() reflect.Type { - return reflect.TypeOf((**Provider)(nil)).Elem() -} - -func (i *Provider) ToProviderOutput() ProviderOutput { - return i.ToProviderOutputWithContext(context.Background()) -} - -func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProviderOutput) -} - -type ProviderOutput struct{ *pulumi.OutputState } - -func (ProviderOutput) ElementType() reflect.Type { - return reflect.TypeOf((**Provider)(nil)).Elem() -} - -func (o ProviderOutput) ToProviderOutput() ProviderOutput { - return o -} - -func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput { - return o -} - -// The Access Key ID for API operations -func (o ProviderOutput) AccessKeyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.AccessKeyId }).(pulumi.StringPtrOutput) -} - -// The Region for API operations. -func (o ProviderOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.Region }).(pulumi.StringPtrOutput) -} - -// The Secret Key ID for API operations. -func (o ProviderOutput) SecretKeyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.SecretKeyId }).(pulumi.StringPtrOutput) -} - -// The path to your x509 cert -func (o ProviderOutput) X509CertPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.X509CertPath }).(pulumi.StringPtrOutput) -} - -// The path to your x509 key -func (o ProviderOutput) X509KeyPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.X509KeyPath }).(pulumi.StringPtrOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*ProviderInput)(nil)).Elem(), &Provider{}) - pulumi.RegisterOutputType(ProviderOutput{}) -} diff --git a/sdk/go/outscale/publicIp.go b/sdk/go/outscale/publicIp.go deleted file mode 100644 index 0149154..0000000 --- a/sdk/go/outscale/publicIp.go +++ /dev/null @@ -1,336 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages a public IP. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-EIPs.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-publicip). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewPublicIp(ctx, "publicIp01", nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// A public IP can be imported using its ID. For exampleconsole -// -// ```sh -// -// $ pulumi import outscale:index/publicIp:PublicIp ImportedPublicIp eipalloc-12345678 -// -// ``` -type PublicIp struct { - pulumi.CustomResourceState - - // (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - LinkPublicIpId pulumi.StringOutput `pulumi:"linkPublicIpId"` - // The account ID of the owner of the NIC. - NicAccountId pulumi.StringOutput `pulumi:"nicAccountId"` - // The ID of the NIC the public IP is associated with (if any). - NicId pulumi.StringOutput `pulumi:"nicId"` - // The private IP associated with the public IP. - PrivateIp pulumi.StringOutput `pulumi:"privateIp"` - // The public IP. - PublicIp pulumi.StringOutput `pulumi:"publicIp"` - // The allocation ID of the public IP. - PublicIpId pulumi.StringOutput `pulumi:"publicIpId"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - // A tag to add to this resource. You can specify this argument several times. - Tags PublicIpTagArrayOutput `pulumi:"tags"` - // The ID of the VM the public IP is associated with (if any). - VmId pulumi.StringOutput `pulumi:"vmId"` -} - -// NewPublicIp registers a new resource with the given unique name, arguments, and options. -func NewPublicIp(ctx *pulumi.Context, - name string, args *PublicIpArgs, opts ...pulumi.ResourceOption) (*PublicIp, error) { - if args == nil { - args = &PublicIpArgs{} - } - - opts = internal.PkgResourceDefaultOpts(opts) - var resource PublicIp - err := ctx.RegisterResource("outscale:index/publicIp:PublicIp", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetPublicIp gets an existing PublicIp resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetPublicIp(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *PublicIpState, opts ...pulumi.ResourceOption) (*PublicIp, error) { - var resource PublicIp - err := ctx.ReadResource("outscale:index/publicIp:PublicIp", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering PublicIp resources. -type publicIpState struct { - // (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - LinkPublicIpId *string `pulumi:"linkPublicIpId"` - // The account ID of the owner of the NIC. - NicAccountId *string `pulumi:"nicAccountId"` - // The ID of the NIC the public IP is associated with (if any). - NicId *string `pulumi:"nicId"` - // The private IP associated with the public IP. - PrivateIp *string `pulumi:"privateIp"` - // The public IP. - PublicIp *string `pulumi:"publicIp"` - // The allocation ID of the public IP. - PublicIpId *string `pulumi:"publicIpId"` - RequestId *string `pulumi:"requestId"` - // A tag to add to this resource. You can specify this argument several times. - Tags []PublicIpTag `pulumi:"tags"` - // The ID of the VM the public IP is associated with (if any). - VmId *string `pulumi:"vmId"` -} - -type PublicIpState struct { - // (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - LinkPublicIpId pulumi.StringPtrInput - // The account ID of the owner of the NIC. - NicAccountId pulumi.StringPtrInput - // The ID of the NIC the public IP is associated with (if any). - NicId pulumi.StringPtrInput - // The private IP associated with the public IP. - PrivateIp pulumi.StringPtrInput - // The public IP. - PublicIp pulumi.StringPtrInput - // The allocation ID of the public IP. - PublicIpId pulumi.StringPtrInput - RequestId pulumi.StringPtrInput - // A tag to add to this resource. You can specify this argument several times. - Tags PublicIpTagArrayInput - // The ID of the VM the public IP is associated with (if any). - VmId pulumi.StringPtrInput -} - -func (PublicIpState) ElementType() reflect.Type { - return reflect.TypeOf((*publicIpState)(nil)).Elem() -} - -type publicIpArgs struct { - // A tag to add to this resource. You can specify this argument several times. - Tags []PublicIpTag `pulumi:"tags"` -} - -// The set of arguments for constructing a PublicIp resource. -type PublicIpArgs struct { - // A tag to add to this resource. You can specify this argument several times. - Tags PublicIpTagArrayInput -} - -func (PublicIpArgs) ElementType() reflect.Type { - return reflect.TypeOf((*publicIpArgs)(nil)).Elem() -} - -type PublicIpInput interface { - pulumi.Input - - ToPublicIpOutput() PublicIpOutput - ToPublicIpOutputWithContext(ctx context.Context) PublicIpOutput -} - -func (*PublicIp) ElementType() reflect.Type { - return reflect.TypeOf((**PublicIp)(nil)).Elem() -} - -func (i *PublicIp) ToPublicIpOutput() PublicIpOutput { - return i.ToPublicIpOutputWithContext(context.Background()) -} - -func (i *PublicIp) ToPublicIpOutputWithContext(ctx context.Context) PublicIpOutput { - return pulumi.ToOutputWithContext(ctx, i).(PublicIpOutput) -} - -// PublicIpArrayInput is an input type that accepts PublicIpArray and PublicIpArrayOutput values. -// You can construct a concrete instance of `PublicIpArrayInput` via: -// -// PublicIpArray{ PublicIpArgs{...} } -type PublicIpArrayInput interface { - pulumi.Input - - ToPublicIpArrayOutput() PublicIpArrayOutput - ToPublicIpArrayOutputWithContext(context.Context) PublicIpArrayOutput -} - -type PublicIpArray []PublicIpInput - -func (PublicIpArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*PublicIp)(nil)).Elem() -} - -func (i PublicIpArray) ToPublicIpArrayOutput() PublicIpArrayOutput { - return i.ToPublicIpArrayOutputWithContext(context.Background()) -} - -func (i PublicIpArray) ToPublicIpArrayOutputWithContext(ctx context.Context) PublicIpArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PublicIpArrayOutput) -} - -// PublicIpMapInput is an input type that accepts PublicIpMap and PublicIpMapOutput values. -// You can construct a concrete instance of `PublicIpMapInput` via: -// -// PublicIpMap{ "key": PublicIpArgs{...} } -type PublicIpMapInput interface { - pulumi.Input - - ToPublicIpMapOutput() PublicIpMapOutput - ToPublicIpMapOutputWithContext(context.Context) PublicIpMapOutput -} - -type PublicIpMap map[string]PublicIpInput - -func (PublicIpMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*PublicIp)(nil)).Elem() -} - -func (i PublicIpMap) ToPublicIpMapOutput() PublicIpMapOutput { - return i.ToPublicIpMapOutputWithContext(context.Background()) -} - -func (i PublicIpMap) ToPublicIpMapOutputWithContext(ctx context.Context) PublicIpMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(PublicIpMapOutput) -} - -type PublicIpOutput struct{ *pulumi.OutputState } - -func (PublicIpOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PublicIp)(nil)).Elem() -} - -func (o PublicIpOutput) ToPublicIpOutput() PublicIpOutput { - return o -} - -func (o PublicIpOutput) ToPublicIpOutputWithContext(ctx context.Context) PublicIpOutput { - return o -} - -// (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. -func (o PublicIpOutput) LinkPublicIpId() pulumi.StringOutput { - return o.ApplyT(func(v *PublicIp) pulumi.StringOutput { return v.LinkPublicIpId }).(pulumi.StringOutput) -} - -// The account ID of the owner of the NIC. -func (o PublicIpOutput) NicAccountId() pulumi.StringOutput { - return o.ApplyT(func(v *PublicIp) pulumi.StringOutput { return v.NicAccountId }).(pulumi.StringOutput) -} - -// The ID of the NIC the public IP is associated with (if any). -func (o PublicIpOutput) NicId() pulumi.StringOutput { - return o.ApplyT(func(v *PublicIp) pulumi.StringOutput { return v.NicId }).(pulumi.StringOutput) -} - -// The private IP associated with the public IP. -func (o PublicIpOutput) PrivateIp() pulumi.StringOutput { - return o.ApplyT(func(v *PublicIp) pulumi.StringOutput { return v.PrivateIp }).(pulumi.StringOutput) -} - -// The public IP. -func (o PublicIpOutput) PublicIp() pulumi.StringOutput { - return o.ApplyT(func(v *PublicIp) pulumi.StringOutput { return v.PublicIp }).(pulumi.StringOutput) -} - -// The allocation ID of the public IP. -func (o PublicIpOutput) PublicIpId() pulumi.StringOutput { - return o.ApplyT(func(v *PublicIp) pulumi.StringOutput { return v.PublicIpId }).(pulumi.StringOutput) -} - -func (o PublicIpOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *PublicIp) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -// A tag to add to this resource. You can specify this argument several times. -func (o PublicIpOutput) Tags() PublicIpTagArrayOutput { - return o.ApplyT(func(v *PublicIp) PublicIpTagArrayOutput { return v.Tags }).(PublicIpTagArrayOutput) -} - -// The ID of the VM the public IP is associated with (if any). -func (o PublicIpOutput) VmId() pulumi.StringOutput { - return o.ApplyT(func(v *PublicIp) pulumi.StringOutput { return v.VmId }).(pulumi.StringOutput) -} - -type PublicIpArrayOutput struct{ *pulumi.OutputState } - -func (PublicIpArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*PublicIp)(nil)).Elem() -} - -func (o PublicIpArrayOutput) ToPublicIpArrayOutput() PublicIpArrayOutput { - return o -} - -func (o PublicIpArrayOutput) ToPublicIpArrayOutputWithContext(ctx context.Context) PublicIpArrayOutput { - return o -} - -func (o PublicIpArrayOutput) Index(i pulumi.IntInput) PublicIpOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *PublicIp { - return vs[0].([]*PublicIp)[vs[1].(int)] - }).(PublicIpOutput) -} - -type PublicIpMapOutput struct{ *pulumi.OutputState } - -func (PublicIpMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*PublicIp)(nil)).Elem() -} - -func (o PublicIpMapOutput) ToPublicIpMapOutput() PublicIpMapOutput { - return o -} - -func (o PublicIpMapOutput) ToPublicIpMapOutputWithContext(ctx context.Context) PublicIpMapOutput { - return o -} - -func (o PublicIpMapOutput) MapIndex(k pulumi.StringInput) PublicIpOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *PublicIp { - return vs[0].(map[string]*PublicIp)[vs[1].(string)] - }).(PublicIpOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*PublicIpInput)(nil)).Elem(), &PublicIp{}) - pulumi.RegisterInputType(reflect.TypeOf((*PublicIpArrayInput)(nil)).Elem(), PublicIpArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PublicIpMapInput)(nil)).Elem(), PublicIpMap{}) - pulumi.RegisterOutputType(PublicIpOutput{}) - pulumi.RegisterOutputType(PublicIpArrayOutput{}) - pulumi.RegisterOutputType(PublicIpMapOutput{}) -} diff --git a/sdk/go/outscale/publicIpLink.go b/sdk/go/outscale/publicIpLink.go deleted file mode 100644 index 036ac39..0000000 --- a/sdk/go/outscale/publicIpLink.go +++ /dev/null @@ -1,397 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages a public IP link. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-EIPs.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-publicip). -// -// ## Example Usage -// ### Required resources -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewPublicIp(ctx, "publicIp01", nil) -// if err != nil { -// return err -// } -// _, err = outscale.NewVm(ctx, "vm01", &outscale.VmArgs{ -// ImageId: pulumi.Any(_var.Image_id), -// VmType: pulumi.Any(_var.Vm_type), -// KeypairName: pulumi.Any(_var.Keypair_name), -// SecurityGroupIds: pulumi.StringArray{ -// _var.Security_group_id, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Link a public IP address to a VM -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewPublicIpLink(ctx, "publicIpLink01", &outscale.PublicIpLinkArgs{ -// VmId: pulumi.Any(outscale_vm.Vm01.Vm_id), -// PublicIp: pulumi.Any(outscale_public_ip.Public_ip01.Public_ip), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// A public IP link can be imported using the public IP or the public IP link ID. For exampleconsole -// -// ```sh -// -// $ pulumi import outscale:index/publicIpLink:PublicIpLink ImportedPublicIpLink eipassoc-12345678 -// -// ``` -type PublicIpLink struct { - pulumi.CustomResourceState - - // If true, allows the public IP to be associated with the VM or NIC that you specify even if it is already associated with another VM or NIC. If false, prevents the EIP from being associated with the VM or NIC that you specify if it is already associated with another VM or NIC. (By default, true in the public Cloud, false in a Net.) - AllowRelink pulumi.BoolPtrOutput `pulumi:"allowRelink"` - // (Net only) The ID representing the association of the public IP with the VM or the NIC. - LinkPublicIpId pulumi.StringOutput `pulumi:"linkPublicIpId"` - NicAccountId pulumi.StringOutput `pulumi:"nicAccountId"` - // (Net only) The ID of the NIC. This parameter is required if the VM has more than one NIC attached. Otherwise, you need to specify the `vmId` parameter instead. You cannot specify both parameters at the same time. - NicId pulumi.StringOutput `pulumi:"nicId"` - // (Net only) The primary or secondary private IP of the specified NIC. By default, the primary private IP. - PrivateIp pulumi.StringOutput `pulumi:"privateIp"` - // The public IP. This parameter is required unless you use the `publicIpId` parameter. - PublicIp pulumi.StringOutput `pulumi:"publicIp"` - // The allocation ID of the public IP. This parameter is required unless you use the `publicIp` parameter. - PublicIpId pulumi.StringOutput `pulumi:"publicIpId"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - Tags PublicIpLinkTagArrayOutput `pulumi:"tags"` - // The ID of the VM.
- In the public Cloud, this parameter is required.
- In a Net, this parameter is required if the VM has only one NIC. Otherwise, you need to specify the `nicId` parameter instead. You cannot specify both parameters at the same time. - VmId pulumi.StringOutput `pulumi:"vmId"` -} - -// NewPublicIpLink registers a new resource with the given unique name, arguments, and options. -func NewPublicIpLink(ctx *pulumi.Context, - name string, args *PublicIpLinkArgs, opts ...pulumi.ResourceOption) (*PublicIpLink, error) { - if args == nil { - args = &PublicIpLinkArgs{} - } - - opts = internal.PkgResourceDefaultOpts(opts) - var resource PublicIpLink - err := ctx.RegisterResource("outscale:index/publicIpLink:PublicIpLink", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetPublicIpLink gets an existing PublicIpLink resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetPublicIpLink(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *PublicIpLinkState, opts ...pulumi.ResourceOption) (*PublicIpLink, error) { - var resource PublicIpLink - err := ctx.ReadResource("outscale:index/publicIpLink:PublicIpLink", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering PublicIpLink resources. -type publicIpLinkState struct { - // If true, allows the public IP to be associated with the VM or NIC that you specify even if it is already associated with another VM or NIC. If false, prevents the EIP from being associated with the VM or NIC that you specify if it is already associated with another VM or NIC. (By default, true in the public Cloud, false in a Net.) - AllowRelink *bool `pulumi:"allowRelink"` - // (Net only) The ID representing the association of the public IP with the VM or the NIC. - LinkPublicIpId *string `pulumi:"linkPublicIpId"` - NicAccountId *string `pulumi:"nicAccountId"` - // (Net only) The ID of the NIC. This parameter is required if the VM has more than one NIC attached. Otherwise, you need to specify the `vmId` parameter instead. You cannot specify both parameters at the same time. - NicId *string `pulumi:"nicId"` - // (Net only) The primary or secondary private IP of the specified NIC. By default, the primary private IP. - PrivateIp *string `pulumi:"privateIp"` - // The public IP. This parameter is required unless you use the `publicIpId` parameter. - PublicIp *string `pulumi:"publicIp"` - // The allocation ID of the public IP. This parameter is required unless you use the `publicIp` parameter. - PublicIpId *string `pulumi:"publicIpId"` - RequestId *string `pulumi:"requestId"` - Tags []PublicIpLinkTag `pulumi:"tags"` - // The ID of the VM.
- In the public Cloud, this parameter is required.
- In a Net, this parameter is required if the VM has only one NIC. Otherwise, you need to specify the `nicId` parameter instead. You cannot specify both parameters at the same time. - VmId *string `pulumi:"vmId"` -} - -type PublicIpLinkState struct { - // If true, allows the public IP to be associated with the VM or NIC that you specify even if it is already associated with another VM or NIC. If false, prevents the EIP from being associated with the VM or NIC that you specify if it is already associated with another VM or NIC. (By default, true in the public Cloud, false in a Net.) - AllowRelink pulumi.BoolPtrInput - // (Net only) The ID representing the association of the public IP with the VM or the NIC. - LinkPublicIpId pulumi.StringPtrInput - NicAccountId pulumi.StringPtrInput - // (Net only) The ID of the NIC. This parameter is required if the VM has more than one NIC attached. Otherwise, you need to specify the `vmId` parameter instead. You cannot specify both parameters at the same time. - NicId pulumi.StringPtrInput - // (Net only) The primary or secondary private IP of the specified NIC. By default, the primary private IP. - PrivateIp pulumi.StringPtrInput - // The public IP. This parameter is required unless you use the `publicIpId` parameter. - PublicIp pulumi.StringPtrInput - // The allocation ID of the public IP. This parameter is required unless you use the `publicIp` parameter. - PublicIpId pulumi.StringPtrInput - RequestId pulumi.StringPtrInput - Tags PublicIpLinkTagArrayInput - // The ID of the VM.
- In the public Cloud, this parameter is required.
- In a Net, this parameter is required if the VM has only one NIC. Otherwise, you need to specify the `nicId` parameter instead. You cannot specify both parameters at the same time. - VmId pulumi.StringPtrInput -} - -func (PublicIpLinkState) ElementType() reflect.Type { - return reflect.TypeOf((*publicIpLinkState)(nil)).Elem() -} - -type publicIpLinkArgs struct { - // If true, allows the public IP to be associated with the VM or NIC that you specify even if it is already associated with another VM or NIC. If false, prevents the EIP from being associated with the VM or NIC that you specify if it is already associated with another VM or NIC. (By default, true in the public Cloud, false in a Net.) - AllowRelink *bool `pulumi:"allowRelink"` - // (Net only) The ID of the NIC. This parameter is required if the VM has more than one NIC attached. Otherwise, you need to specify the `vmId` parameter instead. You cannot specify both parameters at the same time. - NicId *string `pulumi:"nicId"` - // (Net only) The primary or secondary private IP of the specified NIC. By default, the primary private IP. - PrivateIp *string `pulumi:"privateIp"` - // The public IP. This parameter is required unless you use the `publicIpId` parameter. - PublicIp *string `pulumi:"publicIp"` - // The allocation ID of the public IP. This parameter is required unless you use the `publicIp` parameter. - PublicIpId *string `pulumi:"publicIpId"` - // The ID of the VM.
- In the public Cloud, this parameter is required.
- In a Net, this parameter is required if the VM has only one NIC. Otherwise, you need to specify the `nicId` parameter instead. You cannot specify both parameters at the same time. - VmId *string `pulumi:"vmId"` -} - -// The set of arguments for constructing a PublicIpLink resource. -type PublicIpLinkArgs struct { - // If true, allows the public IP to be associated with the VM or NIC that you specify even if it is already associated with another VM or NIC. If false, prevents the EIP from being associated with the VM or NIC that you specify if it is already associated with another VM or NIC. (By default, true in the public Cloud, false in a Net.) - AllowRelink pulumi.BoolPtrInput - // (Net only) The ID of the NIC. This parameter is required if the VM has more than one NIC attached. Otherwise, you need to specify the `vmId` parameter instead. You cannot specify both parameters at the same time. - NicId pulumi.StringPtrInput - // (Net only) The primary or secondary private IP of the specified NIC. By default, the primary private IP. - PrivateIp pulumi.StringPtrInput - // The public IP. This parameter is required unless you use the `publicIpId` parameter. - PublicIp pulumi.StringPtrInput - // The allocation ID of the public IP. This parameter is required unless you use the `publicIp` parameter. - PublicIpId pulumi.StringPtrInput - // The ID of the VM.
- In the public Cloud, this parameter is required.
- In a Net, this parameter is required if the VM has only one NIC. Otherwise, you need to specify the `nicId` parameter instead. You cannot specify both parameters at the same time. - VmId pulumi.StringPtrInput -} - -func (PublicIpLinkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*publicIpLinkArgs)(nil)).Elem() -} - -type PublicIpLinkInput interface { - pulumi.Input - - ToPublicIpLinkOutput() PublicIpLinkOutput - ToPublicIpLinkOutputWithContext(ctx context.Context) PublicIpLinkOutput -} - -func (*PublicIpLink) ElementType() reflect.Type { - return reflect.TypeOf((**PublicIpLink)(nil)).Elem() -} - -func (i *PublicIpLink) ToPublicIpLinkOutput() PublicIpLinkOutput { - return i.ToPublicIpLinkOutputWithContext(context.Background()) -} - -func (i *PublicIpLink) ToPublicIpLinkOutputWithContext(ctx context.Context) PublicIpLinkOutput { - return pulumi.ToOutputWithContext(ctx, i).(PublicIpLinkOutput) -} - -// PublicIpLinkArrayInput is an input type that accepts PublicIpLinkArray and PublicIpLinkArrayOutput values. -// You can construct a concrete instance of `PublicIpLinkArrayInput` via: -// -// PublicIpLinkArray{ PublicIpLinkArgs{...} } -type PublicIpLinkArrayInput interface { - pulumi.Input - - ToPublicIpLinkArrayOutput() PublicIpLinkArrayOutput - ToPublicIpLinkArrayOutputWithContext(context.Context) PublicIpLinkArrayOutput -} - -type PublicIpLinkArray []PublicIpLinkInput - -func (PublicIpLinkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*PublicIpLink)(nil)).Elem() -} - -func (i PublicIpLinkArray) ToPublicIpLinkArrayOutput() PublicIpLinkArrayOutput { - return i.ToPublicIpLinkArrayOutputWithContext(context.Background()) -} - -func (i PublicIpLinkArray) ToPublicIpLinkArrayOutputWithContext(ctx context.Context) PublicIpLinkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PublicIpLinkArrayOutput) -} - -// PublicIpLinkMapInput is an input type that accepts PublicIpLinkMap and PublicIpLinkMapOutput values. -// You can construct a concrete instance of `PublicIpLinkMapInput` via: -// -// PublicIpLinkMap{ "key": PublicIpLinkArgs{...} } -type PublicIpLinkMapInput interface { - pulumi.Input - - ToPublicIpLinkMapOutput() PublicIpLinkMapOutput - ToPublicIpLinkMapOutputWithContext(context.Context) PublicIpLinkMapOutput -} - -type PublicIpLinkMap map[string]PublicIpLinkInput - -func (PublicIpLinkMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*PublicIpLink)(nil)).Elem() -} - -func (i PublicIpLinkMap) ToPublicIpLinkMapOutput() PublicIpLinkMapOutput { - return i.ToPublicIpLinkMapOutputWithContext(context.Background()) -} - -func (i PublicIpLinkMap) ToPublicIpLinkMapOutputWithContext(ctx context.Context) PublicIpLinkMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(PublicIpLinkMapOutput) -} - -type PublicIpLinkOutput struct{ *pulumi.OutputState } - -func (PublicIpLinkOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PublicIpLink)(nil)).Elem() -} - -func (o PublicIpLinkOutput) ToPublicIpLinkOutput() PublicIpLinkOutput { - return o -} - -func (o PublicIpLinkOutput) ToPublicIpLinkOutputWithContext(ctx context.Context) PublicIpLinkOutput { - return o -} - -// If true, allows the public IP to be associated with the VM or NIC that you specify even if it is already associated with another VM or NIC. If false, prevents the EIP from being associated with the VM or NIC that you specify if it is already associated with another VM or NIC. (By default, true in the public Cloud, false in a Net.) -func (o PublicIpLinkOutput) AllowRelink() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PublicIpLink) pulumi.BoolPtrOutput { return v.AllowRelink }).(pulumi.BoolPtrOutput) -} - -// (Net only) The ID representing the association of the public IP with the VM or the NIC. -func (o PublicIpLinkOutput) LinkPublicIpId() pulumi.StringOutput { - return o.ApplyT(func(v *PublicIpLink) pulumi.StringOutput { return v.LinkPublicIpId }).(pulumi.StringOutput) -} - -func (o PublicIpLinkOutput) NicAccountId() pulumi.StringOutput { - return o.ApplyT(func(v *PublicIpLink) pulumi.StringOutput { return v.NicAccountId }).(pulumi.StringOutput) -} - -// (Net only) The ID of the NIC. This parameter is required if the VM has more than one NIC attached. Otherwise, you need to specify the `vmId` parameter instead. You cannot specify both parameters at the same time. -func (o PublicIpLinkOutput) NicId() pulumi.StringOutput { - return o.ApplyT(func(v *PublicIpLink) pulumi.StringOutput { return v.NicId }).(pulumi.StringOutput) -} - -// (Net only) The primary or secondary private IP of the specified NIC. By default, the primary private IP. -func (o PublicIpLinkOutput) PrivateIp() pulumi.StringOutput { - return o.ApplyT(func(v *PublicIpLink) pulumi.StringOutput { return v.PrivateIp }).(pulumi.StringOutput) -} - -// The public IP. This parameter is required unless you use the `publicIpId` parameter. -func (o PublicIpLinkOutput) PublicIp() pulumi.StringOutput { - return o.ApplyT(func(v *PublicIpLink) pulumi.StringOutput { return v.PublicIp }).(pulumi.StringOutput) -} - -// The allocation ID of the public IP. This parameter is required unless you use the `publicIp` parameter. -func (o PublicIpLinkOutput) PublicIpId() pulumi.StringOutput { - return o.ApplyT(func(v *PublicIpLink) pulumi.StringOutput { return v.PublicIpId }).(pulumi.StringOutput) -} - -func (o PublicIpLinkOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *PublicIpLink) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -func (o PublicIpLinkOutput) Tags() PublicIpLinkTagArrayOutput { - return o.ApplyT(func(v *PublicIpLink) PublicIpLinkTagArrayOutput { return v.Tags }).(PublicIpLinkTagArrayOutput) -} - -// The ID of the VM.
- In the public Cloud, this parameter is required.
- In a Net, this parameter is required if the VM has only one NIC. Otherwise, you need to specify the `nicId` parameter instead. You cannot specify both parameters at the same time. -func (o PublicIpLinkOutput) VmId() pulumi.StringOutput { - return o.ApplyT(func(v *PublicIpLink) pulumi.StringOutput { return v.VmId }).(pulumi.StringOutput) -} - -type PublicIpLinkArrayOutput struct{ *pulumi.OutputState } - -func (PublicIpLinkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*PublicIpLink)(nil)).Elem() -} - -func (o PublicIpLinkArrayOutput) ToPublicIpLinkArrayOutput() PublicIpLinkArrayOutput { - return o -} - -func (o PublicIpLinkArrayOutput) ToPublicIpLinkArrayOutputWithContext(ctx context.Context) PublicIpLinkArrayOutput { - return o -} - -func (o PublicIpLinkArrayOutput) Index(i pulumi.IntInput) PublicIpLinkOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *PublicIpLink { - return vs[0].([]*PublicIpLink)[vs[1].(int)] - }).(PublicIpLinkOutput) -} - -type PublicIpLinkMapOutput struct{ *pulumi.OutputState } - -func (PublicIpLinkMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*PublicIpLink)(nil)).Elem() -} - -func (o PublicIpLinkMapOutput) ToPublicIpLinkMapOutput() PublicIpLinkMapOutput { - return o -} - -func (o PublicIpLinkMapOutput) ToPublicIpLinkMapOutputWithContext(ctx context.Context) PublicIpLinkMapOutput { - return o -} - -func (o PublicIpLinkMapOutput) MapIndex(k pulumi.StringInput) PublicIpLinkOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *PublicIpLink { - return vs[0].(map[string]*PublicIpLink)[vs[1].(string)] - }).(PublicIpLinkOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*PublicIpLinkInput)(nil)).Elem(), &PublicIpLink{}) - pulumi.RegisterInputType(reflect.TypeOf((*PublicIpLinkArrayInput)(nil)).Elem(), PublicIpLinkArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PublicIpLinkMapInput)(nil)).Elem(), PublicIpLinkMap{}) - pulumi.RegisterOutputType(PublicIpLinkOutput{}) - pulumi.RegisterOutputType(PublicIpLinkArrayOutput{}) - pulumi.RegisterOutputType(PublicIpLinkMapOutput{}) -} diff --git a/sdk/go/outscale/pulumi-plugin.json b/sdk/go/outscale/pulumi-plugin.json deleted file mode 100644 index 9ba7c52..0000000 --- a/sdk/go/outscale/pulumi-plugin.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "resource": true, - "name": "outscale" -} diff --git a/sdk/go/outscale/pulumiTypes.go b/sdk/go/outscale/pulumiTypes.go deleted file mode 100644 index 728e578..0000000 --- a/sdk/go/outscale/pulumiTypes.go +++ /dev/null @@ -1,44485 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -var _ = internal.GetEnvOrDefault - -type ClientGatewayTag struct { - // The key of the tag, with a minimum of 1 character. - Key *string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value *string `pulumi:"value"` -} - -// ClientGatewayTagInput is an input type that accepts ClientGatewayTagArgs and ClientGatewayTagOutput values. -// You can construct a concrete instance of `ClientGatewayTagInput` via: -// -// ClientGatewayTagArgs{...} -type ClientGatewayTagInput interface { - pulumi.Input - - ToClientGatewayTagOutput() ClientGatewayTagOutput - ToClientGatewayTagOutputWithContext(context.Context) ClientGatewayTagOutput -} - -type ClientGatewayTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringPtrInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringPtrInput `pulumi:"value"` -} - -func (ClientGatewayTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClientGatewayTag)(nil)).Elem() -} - -func (i ClientGatewayTagArgs) ToClientGatewayTagOutput() ClientGatewayTagOutput { - return i.ToClientGatewayTagOutputWithContext(context.Background()) -} - -func (i ClientGatewayTagArgs) ToClientGatewayTagOutputWithContext(ctx context.Context) ClientGatewayTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClientGatewayTagOutput) -} - -// ClientGatewayTagArrayInput is an input type that accepts ClientGatewayTagArray and ClientGatewayTagArrayOutput values. -// You can construct a concrete instance of `ClientGatewayTagArrayInput` via: -// -// ClientGatewayTagArray{ ClientGatewayTagArgs{...} } -type ClientGatewayTagArrayInput interface { - pulumi.Input - - ToClientGatewayTagArrayOutput() ClientGatewayTagArrayOutput - ToClientGatewayTagArrayOutputWithContext(context.Context) ClientGatewayTagArrayOutput -} - -type ClientGatewayTagArray []ClientGatewayTagInput - -func (ClientGatewayTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClientGatewayTag)(nil)).Elem() -} - -func (i ClientGatewayTagArray) ToClientGatewayTagArrayOutput() ClientGatewayTagArrayOutput { - return i.ToClientGatewayTagArrayOutputWithContext(context.Background()) -} - -func (i ClientGatewayTagArray) ToClientGatewayTagArrayOutputWithContext(ctx context.Context) ClientGatewayTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClientGatewayTagArrayOutput) -} - -type ClientGatewayTagOutput struct{ *pulumi.OutputState } - -func (ClientGatewayTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClientGatewayTag)(nil)).Elem() -} - -func (o ClientGatewayTagOutput) ToClientGatewayTagOutput() ClientGatewayTagOutput { - return o -} - -func (o ClientGatewayTagOutput) ToClientGatewayTagOutputWithContext(ctx context.Context) ClientGatewayTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o ClientGatewayTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClientGatewayTag) *string { return v.Key }).(pulumi.StringPtrOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o ClientGatewayTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClientGatewayTag) *string { return v.Value }).(pulumi.StringPtrOutput) -} - -type ClientGatewayTagArrayOutput struct{ *pulumi.OutputState } - -func (ClientGatewayTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClientGatewayTag)(nil)).Elem() -} - -func (o ClientGatewayTagArrayOutput) ToClientGatewayTagArrayOutput() ClientGatewayTagArrayOutput { - return o -} - -func (o ClientGatewayTagArrayOutput) ToClientGatewayTagArrayOutputWithContext(ctx context.Context) ClientGatewayTagArrayOutput { - return o -} - -func (o ClientGatewayTagArrayOutput) Index(i pulumi.IntInput) ClientGatewayTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClientGatewayTag { - return vs[0].([]ClientGatewayTag)[vs[1].(int)] - }).(ClientGatewayTagOutput) -} - -type DhcpOptionTag struct { - // The key of the tag, with a minimum of 1 character. - Key *string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value *string `pulumi:"value"` -} - -// DhcpOptionTagInput is an input type that accepts DhcpOptionTagArgs and DhcpOptionTagOutput values. -// You can construct a concrete instance of `DhcpOptionTagInput` via: -// -// DhcpOptionTagArgs{...} -type DhcpOptionTagInput interface { - pulumi.Input - - ToDhcpOptionTagOutput() DhcpOptionTagOutput - ToDhcpOptionTagOutputWithContext(context.Context) DhcpOptionTagOutput -} - -type DhcpOptionTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringPtrInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringPtrInput `pulumi:"value"` -} - -func (DhcpOptionTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DhcpOptionTag)(nil)).Elem() -} - -func (i DhcpOptionTagArgs) ToDhcpOptionTagOutput() DhcpOptionTagOutput { - return i.ToDhcpOptionTagOutputWithContext(context.Background()) -} - -func (i DhcpOptionTagArgs) ToDhcpOptionTagOutputWithContext(ctx context.Context) DhcpOptionTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(DhcpOptionTagOutput) -} - -// DhcpOptionTagArrayInput is an input type that accepts DhcpOptionTagArray and DhcpOptionTagArrayOutput values. -// You can construct a concrete instance of `DhcpOptionTagArrayInput` via: -// -// DhcpOptionTagArray{ DhcpOptionTagArgs{...} } -type DhcpOptionTagArrayInput interface { - pulumi.Input - - ToDhcpOptionTagArrayOutput() DhcpOptionTagArrayOutput - ToDhcpOptionTagArrayOutputWithContext(context.Context) DhcpOptionTagArrayOutput -} - -type DhcpOptionTagArray []DhcpOptionTagInput - -func (DhcpOptionTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DhcpOptionTag)(nil)).Elem() -} - -func (i DhcpOptionTagArray) ToDhcpOptionTagArrayOutput() DhcpOptionTagArrayOutput { - return i.ToDhcpOptionTagArrayOutputWithContext(context.Background()) -} - -func (i DhcpOptionTagArray) ToDhcpOptionTagArrayOutputWithContext(ctx context.Context) DhcpOptionTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DhcpOptionTagArrayOutput) -} - -type DhcpOptionTagOutput struct{ *pulumi.OutputState } - -func (DhcpOptionTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DhcpOptionTag)(nil)).Elem() -} - -func (o DhcpOptionTagOutput) ToDhcpOptionTagOutput() DhcpOptionTagOutput { - return o -} - -func (o DhcpOptionTagOutput) ToDhcpOptionTagOutputWithContext(ctx context.Context) DhcpOptionTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o DhcpOptionTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v DhcpOptionTag) *string { return v.Key }).(pulumi.StringPtrOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o DhcpOptionTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v DhcpOptionTag) *string { return v.Value }).(pulumi.StringPtrOutput) -} - -type DhcpOptionTagArrayOutput struct{ *pulumi.OutputState } - -func (DhcpOptionTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DhcpOptionTag)(nil)).Elem() -} - -func (o DhcpOptionTagArrayOutput) ToDhcpOptionTagArrayOutput() DhcpOptionTagArrayOutput { - return o -} - -func (o DhcpOptionTagArrayOutput) ToDhcpOptionTagArrayOutputWithContext(ctx context.Context) DhcpOptionTagArrayOutput { - return o -} - -func (o DhcpOptionTagArrayOutput) Index(i pulumi.IntInput) DhcpOptionTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DhcpOptionTag { - return vs[0].([]DhcpOptionTag)[vs[1].(int)] - }).(DhcpOptionTagOutput) -} - -type ImageBlockDeviceMapping struct { - // Information about the BSU volume to create. - Bsus []ImageBlockDeviceMappingBsus `pulumi:"bsus"` - // The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - DeviceName *string `pulumi:"deviceName"` - // The name of the virtual device (`ephemeralN`). - VirtualDeviceName *string `pulumi:"virtualDeviceName"` -} - -// ImageBlockDeviceMappingInput is an input type that accepts ImageBlockDeviceMappingArgs and ImageBlockDeviceMappingOutput values. -// You can construct a concrete instance of `ImageBlockDeviceMappingInput` via: -// -// ImageBlockDeviceMappingArgs{...} -type ImageBlockDeviceMappingInput interface { - pulumi.Input - - ToImageBlockDeviceMappingOutput() ImageBlockDeviceMappingOutput - ToImageBlockDeviceMappingOutputWithContext(context.Context) ImageBlockDeviceMappingOutput -} - -type ImageBlockDeviceMappingArgs struct { - // Information about the BSU volume to create. - Bsus ImageBlockDeviceMappingBsusArrayInput `pulumi:"bsus"` - // The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - DeviceName pulumi.StringPtrInput `pulumi:"deviceName"` - // The name of the virtual device (`ephemeralN`). - VirtualDeviceName pulumi.StringPtrInput `pulumi:"virtualDeviceName"` -} - -func (ImageBlockDeviceMappingArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ImageBlockDeviceMapping)(nil)).Elem() -} - -func (i ImageBlockDeviceMappingArgs) ToImageBlockDeviceMappingOutput() ImageBlockDeviceMappingOutput { - return i.ToImageBlockDeviceMappingOutputWithContext(context.Background()) -} - -func (i ImageBlockDeviceMappingArgs) ToImageBlockDeviceMappingOutputWithContext(ctx context.Context) ImageBlockDeviceMappingOutput { - return pulumi.ToOutputWithContext(ctx, i).(ImageBlockDeviceMappingOutput) -} - -// ImageBlockDeviceMappingArrayInput is an input type that accepts ImageBlockDeviceMappingArray and ImageBlockDeviceMappingArrayOutput values. -// You can construct a concrete instance of `ImageBlockDeviceMappingArrayInput` via: -// -// ImageBlockDeviceMappingArray{ ImageBlockDeviceMappingArgs{...} } -type ImageBlockDeviceMappingArrayInput interface { - pulumi.Input - - ToImageBlockDeviceMappingArrayOutput() ImageBlockDeviceMappingArrayOutput - ToImageBlockDeviceMappingArrayOutputWithContext(context.Context) ImageBlockDeviceMappingArrayOutput -} - -type ImageBlockDeviceMappingArray []ImageBlockDeviceMappingInput - -func (ImageBlockDeviceMappingArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ImageBlockDeviceMapping)(nil)).Elem() -} - -func (i ImageBlockDeviceMappingArray) ToImageBlockDeviceMappingArrayOutput() ImageBlockDeviceMappingArrayOutput { - return i.ToImageBlockDeviceMappingArrayOutputWithContext(context.Background()) -} - -func (i ImageBlockDeviceMappingArray) ToImageBlockDeviceMappingArrayOutputWithContext(ctx context.Context) ImageBlockDeviceMappingArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ImageBlockDeviceMappingArrayOutput) -} - -type ImageBlockDeviceMappingOutput struct{ *pulumi.OutputState } - -func (ImageBlockDeviceMappingOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ImageBlockDeviceMapping)(nil)).Elem() -} - -func (o ImageBlockDeviceMappingOutput) ToImageBlockDeviceMappingOutput() ImageBlockDeviceMappingOutput { - return o -} - -func (o ImageBlockDeviceMappingOutput) ToImageBlockDeviceMappingOutputWithContext(ctx context.Context) ImageBlockDeviceMappingOutput { - return o -} - -// Information about the BSU volume to create. -func (o ImageBlockDeviceMappingOutput) Bsus() ImageBlockDeviceMappingBsusArrayOutput { - return o.ApplyT(func(v ImageBlockDeviceMapping) []ImageBlockDeviceMappingBsus { return v.Bsus }).(ImageBlockDeviceMappingBsusArrayOutput) -} - -// The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). -func (o ImageBlockDeviceMappingOutput) DeviceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ImageBlockDeviceMapping) *string { return v.DeviceName }).(pulumi.StringPtrOutput) -} - -// The name of the virtual device (`ephemeralN`). -func (o ImageBlockDeviceMappingOutput) VirtualDeviceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ImageBlockDeviceMapping) *string { return v.VirtualDeviceName }).(pulumi.StringPtrOutput) -} - -type ImageBlockDeviceMappingArrayOutput struct{ *pulumi.OutputState } - -func (ImageBlockDeviceMappingArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ImageBlockDeviceMapping)(nil)).Elem() -} - -func (o ImageBlockDeviceMappingArrayOutput) ToImageBlockDeviceMappingArrayOutput() ImageBlockDeviceMappingArrayOutput { - return o -} - -func (o ImageBlockDeviceMappingArrayOutput) ToImageBlockDeviceMappingArrayOutputWithContext(ctx context.Context) ImageBlockDeviceMappingArrayOutput { - return o -} - -func (o ImageBlockDeviceMappingArrayOutput) Index(i pulumi.IntInput) ImageBlockDeviceMappingOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ImageBlockDeviceMapping { - return vs[0].([]ImageBlockDeviceMapping)[vs[1].(int)] - }).(ImageBlockDeviceMappingOutput) -} - -type ImageBlockDeviceMappingBsus struct { - // By default or if set to true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - DeleteOnVmDeletion *bool `pulumi:"deleteOnVmDeletion"` - // The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - Iops *int `pulumi:"iops"` - // The ID of the snapshot used to create the volume. - SnapshotId *string `pulumi:"snapshotId"` - // The size of the volume, in gibibytes (GiB).
- // If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.
- // If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. - VolumeSize *int `pulumi:"volumeSize"` - // The type of the volume (`standard` \| `io1` \| `gp2`). If not specified in the request, a `standard` volume is created.
- // For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - VolumeType *string `pulumi:"volumeType"` -} - -// ImageBlockDeviceMappingBsusInput is an input type that accepts ImageBlockDeviceMappingBsusArgs and ImageBlockDeviceMappingBsusOutput values. -// You can construct a concrete instance of `ImageBlockDeviceMappingBsusInput` via: -// -// ImageBlockDeviceMappingBsusArgs{...} -type ImageBlockDeviceMappingBsusInput interface { - pulumi.Input - - ToImageBlockDeviceMappingBsusOutput() ImageBlockDeviceMappingBsusOutput - ToImageBlockDeviceMappingBsusOutputWithContext(context.Context) ImageBlockDeviceMappingBsusOutput -} - -type ImageBlockDeviceMappingBsusArgs struct { - // By default or if set to true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - DeleteOnVmDeletion pulumi.BoolPtrInput `pulumi:"deleteOnVmDeletion"` - // The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - Iops pulumi.IntPtrInput `pulumi:"iops"` - // The ID of the snapshot used to create the volume. - SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"` - // The size of the volume, in gibibytes (GiB).
- // If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.
- // If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. - VolumeSize pulumi.IntPtrInput `pulumi:"volumeSize"` - // The type of the volume (`standard` \| `io1` \| `gp2`). If not specified in the request, a `standard` volume is created.
- // For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - VolumeType pulumi.StringPtrInput `pulumi:"volumeType"` -} - -func (ImageBlockDeviceMappingBsusArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ImageBlockDeviceMappingBsus)(nil)).Elem() -} - -func (i ImageBlockDeviceMappingBsusArgs) ToImageBlockDeviceMappingBsusOutput() ImageBlockDeviceMappingBsusOutput { - return i.ToImageBlockDeviceMappingBsusOutputWithContext(context.Background()) -} - -func (i ImageBlockDeviceMappingBsusArgs) ToImageBlockDeviceMappingBsusOutputWithContext(ctx context.Context) ImageBlockDeviceMappingBsusOutput { - return pulumi.ToOutputWithContext(ctx, i).(ImageBlockDeviceMappingBsusOutput) -} - -// ImageBlockDeviceMappingBsusArrayInput is an input type that accepts ImageBlockDeviceMappingBsusArray and ImageBlockDeviceMappingBsusArrayOutput values. -// You can construct a concrete instance of `ImageBlockDeviceMappingBsusArrayInput` via: -// -// ImageBlockDeviceMappingBsusArray{ ImageBlockDeviceMappingBsusArgs{...} } -type ImageBlockDeviceMappingBsusArrayInput interface { - pulumi.Input - - ToImageBlockDeviceMappingBsusArrayOutput() ImageBlockDeviceMappingBsusArrayOutput - ToImageBlockDeviceMappingBsusArrayOutputWithContext(context.Context) ImageBlockDeviceMappingBsusArrayOutput -} - -type ImageBlockDeviceMappingBsusArray []ImageBlockDeviceMappingBsusInput - -func (ImageBlockDeviceMappingBsusArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ImageBlockDeviceMappingBsus)(nil)).Elem() -} - -func (i ImageBlockDeviceMappingBsusArray) ToImageBlockDeviceMappingBsusArrayOutput() ImageBlockDeviceMappingBsusArrayOutput { - return i.ToImageBlockDeviceMappingBsusArrayOutputWithContext(context.Background()) -} - -func (i ImageBlockDeviceMappingBsusArray) ToImageBlockDeviceMappingBsusArrayOutputWithContext(ctx context.Context) ImageBlockDeviceMappingBsusArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ImageBlockDeviceMappingBsusArrayOutput) -} - -type ImageBlockDeviceMappingBsusOutput struct{ *pulumi.OutputState } - -func (ImageBlockDeviceMappingBsusOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ImageBlockDeviceMappingBsus)(nil)).Elem() -} - -func (o ImageBlockDeviceMappingBsusOutput) ToImageBlockDeviceMappingBsusOutput() ImageBlockDeviceMappingBsusOutput { - return o -} - -func (o ImageBlockDeviceMappingBsusOutput) ToImageBlockDeviceMappingBsusOutputWithContext(ctx context.Context) ImageBlockDeviceMappingBsusOutput { - return o -} - -// By default or if set to true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. -func (o ImageBlockDeviceMappingBsusOutput) DeleteOnVmDeletion() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ImageBlockDeviceMappingBsus) *bool { return v.DeleteOnVmDeletion }).(pulumi.BoolPtrOutput) -} - -// The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. -func (o ImageBlockDeviceMappingBsusOutput) Iops() pulumi.IntPtrOutput { - return o.ApplyT(func(v ImageBlockDeviceMappingBsus) *int { return v.Iops }).(pulumi.IntPtrOutput) -} - -// The ID of the snapshot used to create the volume. -func (o ImageBlockDeviceMappingBsusOutput) SnapshotId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ImageBlockDeviceMappingBsus) *string { return v.SnapshotId }).(pulumi.StringPtrOutput) -} - -// The size of the volume, in gibibytes (GiB).
-// If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.
-// If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. -func (o ImageBlockDeviceMappingBsusOutput) VolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v ImageBlockDeviceMappingBsus) *int { return v.VolumeSize }).(pulumi.IntPtrOutput) -} - -// The type of the volume (`standard` \| `io1` \| `gp2`). If not specified in the request, a `standard` volume is created.
-// For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). -func (o ImageBlockDeviceMappingBsusOutput) VolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v ImageBlockDeviceMappingBsus) *string { return v.VolumeType }).(pulumi.StringPtrOutput) -} - -type ImageBlockDeviceMappingBsusArrayOutput struct{ *pulumi.OutputState } - -func (ImageBlockDeviceMappingBsusArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ImageBlockDeviceMappingBsus)(nil)).Elem() -} - -func (o ImageBlockDeviceMappingBsusArrayOutput) ToImageBlockDeviceMappingBsusArrayOutput() ImageBlockDeviceMappingBsusArrayOutput { - return o -} - -func (o ImageBlockDeviceMappingBsusArrayOutput) ToImageBlockDeviceMappingBsusArrayOutputWithContext(ctx context.Context) ImageBlockDeviceMappingBsusArrayOutput { - return o -} - -func (o ImageBlockDeviceMappingBsusArrayOutput) Index(i pulumi.IntInput) ImageBlockDeviceMappingBsusOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ImageBlockDeviceMappingBsus { - return vs[0].([]ImageBlockDeviceMappingBsus)[vs[1].(int)] - }).(ImageBlockDeviceMappingBsusOutput) -} - -type ImageExportTaskOsuExport struct { - // The format of the export disk (`qcow2` \| `raw`). - DiskImageFormat string `pulumi:"diskImageFormat"` - // Information about the OOS API key. - OsuApiKeys []ImageExportTaskOsuExportOsuApiKey `pulumi:"osuApiKeys"` - // The name of the OOS bucket where you want to export the object. - OsuBucket string `pulumi:"osuBucket"` - // The URL of the manifest file. - OsuManifestUrl *string `pulumi:"osuManifestUrl"` - // The prefix for the key of the OOS object. - OsuPrefix *string `pulumi:"osuPrefix"` -} - -// ImageExportTaskOsuExportInput is an input type that accepts ImageExportTaskOsuExportArgs and ImageExportTaskOsuExportOutput values. -// You can construct a concrete instance of `ImageExportTaskOsuExportInput` via: -// -// ImageExportTaskOsuExportArgs{...} -type ImageExportTaskOsuExportInput interface { - pulumi.Input - - ToImageExportTaskOsuExportOutput() ImageExportTaskOsuExportOutput - ToImageExportTaskOsuExportOutputWithContext(context.Context) ImageExportTaskOsuExportOutput -} - -type ImageExportTaskOsuExportArgs struct { - // The format of the export disk (`qcow2` \| `raw`). - DiskImageFormat pulumi.StringInput `pulumi:"diskImageFormat"` - // Information about the OOS API key. - OsuApiKeys ImageExportTaskOsuExportOsuApiKeyArrayInput `pulumi:"osuApiKeys"` - // The name of the OOS bucket where you want to export the object. - OsuBucket pulumi.StringInput `pulumi:"osuBucket"` - // The URL of the manifest file. - OsuManifestUrl pulumi.StringPtrInput `pulumi:"osuManifestUrl"` - // The prefix for the key of the OOS object. - OsuPrefix pulumi.StringPtrInput `pulumi:"osuPrefix"` -} - -func (ImageExportTaskOsuExportArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ImageExportTaskOsuExport)(nil)).Elem() -} - -func (i ImageExportTaskOsuExportArgs) ToImageExportTaskOsuExportOutput() ImageExportTaskOsuExportOutput { - return i.ToImageExportTaskOsuExportOutputWithContext(context.Background()) -} - -func (i ImageExportTaskOsuExportArgs) ToImageExportTaskOsuExportOutputWithContext(ctx context.Context) ImageExportTaskOsuExportOutput { - return pulumi.ToOutputWithContext(ctx, i).(ImageExportTaskOsuExportOutput) -} - -// ImageExportTaskOsuExportArrayInput is an input type that accepts ImageExportTaskOsuExportArray and ImageExportTaskOsuExportArrayOutput values. -// You can construct a concrete instance of `ImageExportTaskOsuExportArrayInput` via: -// -// ImageExportTaskOsuExportArray{ ImageExportTaskOsuExportArgs{...} } -type ImageExportTaskOsuExportArrayInput interface { - pulumi.Input - - ToImageExportTaskOsuExportArrayOutput() ImageExportTaskOsuExportArrayOutput - ToImageExportTaskOsuExportArrayOutputWithContext(context.Context) ImageExportTaskOsuExportArrayOutput -} - -type ImageExportTaskOsuExportArray []ImageExportTaskOsuExportInput - -func (ImageExportTaskOsuExportArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ImageExportTaskOsuExport)(nil)).Elem() -} - -func (i ImageExportTaskOsuExportArray) ToImageExportTaskOsuExportArrayOutput() ImageExportTaskOsuExportArrayOutput { - return i.ToImageExportTaskOsuExportArrayOutputWithContext(context.Background()) -} - -func (i ImageExportTaskOsuExportArray) ToImageExportTaskOsuExportArrayOutputWithContext(ctx context.Context) ImageExportTaskOsuExportArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ImageExportTaskOsuExportArrayOutput) -} - -type ImageExportTaskOsuExportOutput struct{ *pulumi.OutputState } - -func (ImageExportTaskOsuExportOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ImageExportTaskOsuExport)(nil)).Elem() -} - -func (o ImageExportTaskOsuExportOutput) ToImageExportTaskOsuExportOutput() ImageExportTaskOsuExportOutput { - return o -} - -func (o ImageExportTaskOsuExportOutput) ToImageExportTaskOsuExportOutputWithContext(ctx context.Context) ImageExportTaskOsuExportOutput { - return o -} - -// The format of the export disk (`qcow2` \| `raw`). -func (o ImageExportTaskOsuExportOutput) DiskImageFormat() pulumi.StringOutput { - return o.ApplyT(func(v ImageExportTaskOsuExport) string { return v.DiskImageFormat }).(pulumi.StringOutput) -} - -// Information about the OOS API key. -func (o ImageExportTaskOsuExportOutput) OsuApiKeys() ImageExportTaskOsuExportOsuApiKeyArrayOutput { - return o.ApplyT(func(v ImageExportTaskOsuExport) []ImageExportTaskOsuExportOsuApiKey { return v.OsuApiKeys }).(ImageExportTaskOsuExportOsuApiKeyArrayOutput) -} - -// The name of the OOS bucket where you want to export the object. -func (o ImageExportTaskOsuExportOutput) OsuBucket() pulumi.StringOutput { - return o.ApplyT(func(v ImageExportTaskOsuExport) string { return v.OsuBucket }).(pulumi.StringOutput) -} - -// The URL of the manifest file. -func (o ImageExportTaskOsuExportOutput) OsuManifestUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v ImageExportTaskOsuExport) *string { return v.OsuManifestUrl }).(pulumi.StringPtrOutput) -} - -// The prefix for the key of the OOS object. -func (o ImageExportTaskOsuExportOutput) OsuPrefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v ImageExportTaskOsuExport) *string { return v.OsuPrefix }).(pulumi.StringPtrOutput) -} - -type ImageExportTaskOsuExportArrayOutput struct{ *pulumi.OutputState } - -func (ImageExportTaskOsuExportArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ImageExportTaskOsuExport)(nil)).Elem() -} - -func (o ImageExportTaskOsuExportArrayOutput) ToImageExportTaskOsuExportArrayOutput() ImageExportTaskOsuExportArrayOutput { - return o -} - -func (o ImageExportTaskOsuExportArrayOutput) ToImageExportTaskOsuExportArrayOutputWithContext(ctx context.Context) ImageExportTaskOsuExportArrayOutput { - return o -} - -func (o ImageExportTaskOsuExportArrayOutput) Index(i pulumi.IntInput) ImageExportTaskOsuExportOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ImageExportTaskOsuExport { - return vs[0].([]ImageExportTaskOsuExport)[vs[1].(int)] - }).(ImageExportTaskOsuExportOutput) -} - -type ImageExportTaskOsuExportOsuApiKey struct { - // The API key of the OOS account that enables you to access the bucket. - ApiKeyId string `pulumi:"apiKeyId"` - // The secret key of the OOS account that enables you to access the bucket. - SecretKey string `pulumi:"secretKey"` -} - -// ImageExportTaskOsuExportOsuApiKeyInput is an input type that accepts ImageExportTaskOsuExportOsuApiKeyArgs and ImageExportTaskOsuExportOsuApiKeyOutput values. -// You can construct a concrete instance of `ImageExportTaskOsuExportOsuApiKeyInput` via: -// -// ImageExportTaskOsuExportOsuApiKeyArgs{...} -type ImageExportTaskOsuExportOsuApiKeyInput interface { - pulumi.Input - - ToImageExportTaskOsuExportOsuApiKeyOutput() ImageExportTaskOsuExportOsuApiKeyOutput - ToImageExportTaskOsuExportOsuApiKeyOutputWithContext(context.Context) ImageExportTaskOsuExportOsuApiKeyOutput -} - -type ImageExportTaskOsuExportOsuApiKeyArgs struct { - // The API key of the OOS account that enables you to access the bucket. - ApiKeyId pulumi.StringInput `pulumi:"apiKeyId"` - // The secret key of the OOS account that enables you to access the bucket. - SecretKey pulumi.StringInput `pulumi:"secretKey"` -} - -func (ImageExportTaskOsuExportOsuApiKeyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ImageExportTaskOsuExportOsuApiKey)(nil)).Elem() -} - -func (i ImageExportTaskOsuExportOsuApiKeyArgs) ToImageExportTaskOsuExportOsuApiKeyOutput() ImageExportTaskOsuExportOsuApiKeyOutput { - return i.ToImageExportTaskOsuExportOsuApiKeyOutputWithContext(context.Background()) -} - -func (i ImageExportTaskOsuExportOsuApiKeyArgs) ToImageExportTaskOsuExportOsuApiKeyOutputWithContext(ctx context.Context) ImageExportTaskOsuExportOsuApiKeyOutput { - return pulumi.ToOutputWithContext(ctx, i).(ImageExportTaskOsuExportOsuApiKeyOutput) -} - -// ImageExportTaskOsuExportOsuApiKeyArrayInput is an input type that accepts ImageExportTaskOsuExportOsuApiKeyArray and ImageExportTaskOsuExportOsuApiKeyArrayOutput values. -// You can construct a concrete instance of `ImageExportTaskOsuExportOsuApiKeyArrayInput` via: -// -// ImageExportTaskOsuExportOsuApiKeyArray{ ImageExportTaskOsuExportOsuApiKeyArgs{...} } -type ImageExportTaskOsuExportOsuApiKeyArrayInput interface { - pulumi.Input - - ToImageExportTaskOsuExportOsuApiKeyArrayOutput() ImageExportTaskOsuExportOsuApiKeyArrayOutput - ToImageExportTaskOsuExportOsuApiKeyArrayOutputWithContext(context.Context) ImageExportTaskOsuExportOsuApiKeyArrayOutput -} - -type ImageExportTaskOsuExportOsuApiKeyArray []ImageExportTaskOsuExportOsuApiKeyInput - -func (ImageExportTaskOsuExportOsuApiKeyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ImageExportTaskOsuExportOsuApiKey)(nil)).Elem() -} - -func (i ImageExportTaskOsuExportOsuApiKeyArray) ToImageExportTaskOsuExportOsuApiKeyArrayOutput() ImageExportTaskOsuExportOsuApiKeyArrayOutput { - return i.ToImageExportTaskOsuExportOsuApiKeyArrayOutputWithContext(context.Background()) -} - -func (i ImageExportTaskOsuExportOsuApiKeyArray) ToImageExportTaskOsuExportOsuApiKeyArrayOutputWithContext(ctx context.Context) ImageExportTaskOsuExportOsuApiKeyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ImageExportTaskOsuExportOsuApiKeyArrayOutput) -} - -type ImageExportTaskOsuExportOsuApiKeyOutput struct{ *pulumi.OutputState } - -func (ImageExportTaskOsuExportOsuApiKeyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ImageExportTaskOsuExportOsuApiKey)(nil)).Elem() -} - -func (o ImageExportTaskOsuExportOsuApiKeyOutput) ToImageExportTaskOsuExportOsuApiKeyOutput() ImageExportTaskOsuExportOsuApiKeyOutput { - return o -} - -func (o ImageExportTaskOsuExportOsuApiKeyOutput) ToImageExportTaskOsuExportOsuApiKeyOutputWithContext(ctx context.Context) ImageExportTaskOsuExportOsuApiKeyOutput { - return o -} - -// The API key of the OOS account that enables you to access the bucket. -func (o ImageExportTaskOsuExportOsuApiKeyOutput) ApiKeyId() pulumi.StringOutput { - return o.ApplyT(func(v ImageExportTaskOsuExportOsuApiKey) string { return v.ApiKeyId }).(pulumi.StringOutput) -} - -// The secret key of the OOS account that enables you to access the bucket. -func (o ImageExportTaskOsuExportOsuApiKeyOutput) SecretKey() pulumi.StringOutput { - return o.ApplyT(func(v ImageExportTaskOsuExportOsuApiKey) string { return v.SecretKey }).(pulumi.StringOutput) -} - -type ImageExportTaskOsuExportOsuApiKeyArrayOutput struct{ *pulumi.OutputState } - -func (ImageExportTaskOsuExportOsuApiKeyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ImageExportTaskOsuExportOsuApiKey)(nil)).Elem() -} - -func (o ImageExportTaskOsuExportOsuApiKeyArrayOutput) ToImageExportTaskOsuExportOsuApiKeyArrayOutput() ImageExportTaskOsuExportOsuApiKeyArrayOutput { - return o -} - -func (o ImageExportTaskOsuExportOsuApiKeyArrayOutput) ToImageExportTaskOsuExportOsuApiKeyArrayOutputWithContext(ctx context.Context) ImageExportTaskOsuExportOsuApiKeyArrayOutput { - return o -} - -func (o ImageExportTaskOsuExportOsuApiKeyArrayOutput) Index(i pulumi.IntInput) ImageExportTaskOsuExportOsuApiKeyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ImageExportTaskOsuExportOsuApiKey { - return vs[0].([]ImageExportTaskOsuExportOsuApiKey)[vs[1].(int)] - }).(ImageExportTaskOsuExportOsuApiKeyOutput) -} - -type ImageExportTaskTag struct { - // The key of the tag, with a minimum of 1 character. - Key *string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value *string `pulumi:"value"` -} - -// ImageExportTaskTagInput is an input type that accepts ImageExportTaskTagArgs and ImageExportTaskTagOutput values. -// You can construct a concrete instance of `ImageExportTaskTagInput` via: -// -// ImageExportTaskTagArgs{...} -type ImageExportTaskTagInput interface { - pulumi.Input - - ToImageExportTaskTagOutput() ImageExportTaskTagOutput - ToImageExportTaskTagOutputWithContext(context.Context) ImageExportTaskTagOutput -} - -type ImageExportTaskTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringPtrInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringPtrInput `pulumi:"value"` -} - -func (ImageExportTaskTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ImageExportTaskTag)(nil)).Elem() -} - -func (i ImageExportTaskTagArgs) ToImageExportTaskTagOutput() ImageExportTaskTagOutput { - return i.ToImageExportTaskTagOutputWithContext(context.Background()) -} - -func (i ImageExportTaskTagArgs) ToImageExportTaskTagOutputWithContext(ctx context.Context) ImageExportTaskTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(ImageExportTaskTagOutput) -} - -// ImageExportTaskTagArrayInput is an input type that accepts ImageExportTaskTagArray and ImageExportTaskTagArrayOutput values. -// You can construct a concrete instance of `ImageExportTaskTagArrayInput` via: -// -// ImageExportTaskTagArray{ ImageExportTaskTagArgs{...} } -type ImageExportTaskTagArrayInput interface { - pulumi.Input - - ToImageExportTaskTagArrayOutput() ImageExportTaskTagArrayOutput - ToImageExportTaskTagArrayOutputWithContext(context.Context) ImageExportTaskTagArrayOutput -} - -type ImageExportTaskTagArray []ImageExportTaskTagInput - -func (ImageExportTaskTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ImageExportTaskTag)(nil)).Elem() -} - -func (i ImageExportTaskTagArray) ToImageExportTaskTagArrayOutput() ImageExportTaskTagArrayOutput { - return i.ToImageExportTaskTagArrayOutputWithContext(context.Background()) -} - -func (i ImageExportTaskTagArray) ToImageExportTaskTagArrayOutputWithContext(ctx context.Context) ImageExportTaskTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ImageExportTaskTagArrayOutput) -} - -type ImageExportTaskTagOutput struct{ *pulumi.OutputState } - -func (ImageExportTaskTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ImageExportTaskTag)(nil)).Elem() -} - -func (o ImageExportTaskTagOutput) ToImageExportTaskTagOutput() ImageExportTaskTagOutput { - return o -} - -func (o ImageExportTaskTagOutput) ToImageExportTaskTagOutputWithContext(ctx context.Context) ImageExportTaskTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o ImageExportTaskTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v ImageExportTaskTag) *string { return v.Key }).(pulumi.StringPtrOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o ImageExportTaskTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v ImageExportTaskTag) *string { return v.Value }).(pulumi.StringPtrOutput) -} - -type ImageExportTaskTagArrayOutput struct{ *pulumi.OutputState } - -func (ImageExportTaskTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ImageExportTaskTag)(nil)).Elem() -} - -func (o ImageExportTaskTagArrayOutput) ToImageExportTaskTagArrayOutput() ImageExportTaskTagArrayOutput { - return o -} - -func (o ImageExportTaskTagArrayOutput) ToImageExportTaskTagArrayOutputWithContext(ctx context.Context) ImageExportTaskTagArrayOutput { - return o -} - -func (o ImageExportTaskTagArrayOutput) Index(i pulumi.IntInput) ImageExportTaskTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ImageExportTaskTag { - return vs[0].([]ImageExportTaskTag)[vs[1].(int)] - }).(ImageExportTaskTagOutput) -} - -type ImageLaunchPermissionPermissionAdditions struct { - // The account ID of one or more users from whom you want to remove permissions. - AccountIds []string `pulumi:"accountIds"` - // If true, the resource is public. If false, the resource is private. - GlobalPermission *string `pulumi:"globalPermission"` -} - -// ImageLaunchPermissionPermissionAdditionsInput is an input type that accepts ImageLaunchPermissionPermissionAdditionsArgs and ImageLaunchPermissionPermissionAdditionsOutput values. -// You can construct a concrete instance of `ImageLaunchPermissionPermissionAdditionsInput` via: -// -// ImageLaunchPermissionPermissionAdditionsArgs{...} -type ImageLaunchPermissionPermissionAdditionsInput interface { - pulumi.Input - - ToImageLaunchPermissionPermissionAdditionsOutput() ImageLaunchPermissionPermissionAdditionsOutput - ToImageLaunchPermissionPermissionAdditionsOutputWithContext(context.Context) ImageLaunchPermissionPermissionAdditionsOutput -} - -type ImageLaunchPermissionPermissionAdditionsArgs struct { - // The account ID of one or more users from whom you want to remove permissions. - AccountIds pulumi.StringArrayInput `pulumi:"accountIds"` - // If true, the resource is public. If false, the resource is private. - GlobalPermission pulumi.StringPtrInput `pulumi:"globalPermission"` -} - -func (ImageLaunchPermissionPermissionAdditionsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ImageLaunchPermissionPermissionAdditions)(nil)).Elem() -} - -func (i ImageLaunchPermissionPermissionAdditionsArgs) ToImageLaunchPermissionPermissionAdditionsOutput() ImageLaunchPermissionPermissionAdditionsOutput { - return i.ToImageLaunchPermissionPermissionAdditionsOutputWithContext(context.Background()) -} - -func (i ImageLaunchPermissionPermissionAdditionsArgs) ToImageLaunchPermissionPermissionAdditionsOutputWithContext(ctx context.Context) ImageLaunchPermissionPermissionAdditionsOutput { - return pulumi.ToOutputWithContext(ctx, i).(ImageLaunchPermissionPermissionAdditionsOutput) -} - -func (i ImageLaunchPermissionPermissionAdditionsArgs) ToImageLaunchPermissionPermissionAdditionsPtrOutput() ImageLaunchPermissionPermissionAdditionsPtrOutput { - return i.ToImageLaunchPermissionPermissionAdditionsPtrOutputWithContext(context.Background()) -} - -func (i ImageLaunchPermissionPermissionAdditionsArgs) ToImageLaunchPermissionPermissionAdditionsPtrOutputWithContext(ctx context.Context) ImageLaunchPermissionPermissionAdditionsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ImageLaunchPermissionPermissionAdditionsOutput).ToImageLaunchPermissionPermissionAdditionsPtrOutputWithContext(ctx) -} - -// ImageLaunchPermissionPermissionAdditionsPtrInput is an input type that accepts ImageLaunchPermissionPermissionAdditionsArgs, ImageLaunchPermissionPermissionAdditionsPtr and ImageLaunchPermissionPermissionAdditionsPtrOutput values. -// You can construct a concrete instance of `ImageLaunchPermissionPermissionAdditionsPtrInput` via: -// -// ImageLaunchPermissionPermissionAdditionsArgs{...} -// -// or: -// -// nil -type ImageLaunchPermissionPermissionAdditionsPtrInput interface { - pulumi.Input - - ToImageLaunchPermissionPermissionAdditionsPtrOutput() ImageLaunchPermissionPermissionAdditionsPtrOutput - ToImageLaunchPermissionPermissionAdditionsPtrOutputWithContext(context.Context) ImageLaunchPermissionPermissionAdditionsPtrOutput -} - -type imageLaunchPermissionPermissionAdditionsPtrType ImageLaunchPermissionPermissionAdditionsArgs - -func ImageLaunchPermissionPermissionAdditionsPtr(v *ImageLaunchPermissionPermissionAdditionsArgs) ImageLaunchPermissionPermissionAdditionsPtrInput { - return (*imageLaunchPermissionPermissionAdditionsPtrType)(v) -} - -func (*imageLaunchPermissionPermissionAdditionsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ImageLaunchPermissionPermissionAdditions)(nil)).Elem() -} - -func (i *imageLaunchPermissionPermissionAdditionsPtrType) ToImageLaunchPermissionPermissionAdditionsPtrOutput() ImageLaunchPermissionPermissionAdditionsPtrOutput { - return i.ToImageLaunchPermissionPermissionAdditionsPtrOutputWithContext(context.Background()) -} - -func (i *imageLaunchPermissionPermissionAdditionsPtrType) ToImageLaunchPermissionPermissionAdditionsPtrOutputWithContext(ctx context.Context) ImageLaunchPermissionPermissionAdditionsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ImageLaunchPermissionPermissionAdditionsPtrOutput) -} - -type ImageLaunchPermissionPermissionAdditionsOutput struct{ *pulumi.OutputState } - -func (ImageLaunchPermissionPermissionAdditionsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ImageLaunchPermissionPermissionAdditions)(nil)).Elem() -} - -func (o ImageLaunchPermissionPermissionAdditionsOutput) ToImageLaunchPermissionPermissionAdditionsOutput() ImageLaunchPermissionPermissionAdditionsOutput { - return o -} - -func (o ImageLaunchPermissionPermissionAdditionsOutput) ToImageLaunchPermissionPermissionAdditionsOutputWithContext(ctx context.Context) ImageLaunchPermissionPermissionAdditionsOutput { - return o -} - -func (o ImageLaunchPermissionPermissionAdditionsOutput) ToImageLaunchPermissionPermissionAdditionsPtrOutput() ImageLaunchPermissionPermissionAdditionsPtrOutput { - return o.ToImageLaunchPermissionPermissionAdditionsPtrOutputWithContext(context.Background()) -} - -func (o ImageLaunchPermissionPermissionAdditionsOutput) ToImageLaunchPermissionPermissionAdditionsPtrOutputWithContext(ctx context.Context) ImageLaunchPermissionPermissionAdditionsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ImageLaunchPermissionPermissionAdditions) *ImageLaunchPermissionPermissionAdditions { - return &v - }).(ImageLaunchPermissionPermissionAdditionsPtrOutput) -} - -// The account ID of one or more users from whom you want to remove permissions. -func (o ImageLaunchPermissionPermissionAdditionsOutput) AccountIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v ImageLaunchPermissionPermissionAdditions) []string { return v.AccountIds }).(pulumi.StringArrayOutput) -} - -// If true, the resource is public. If false, the resource is private. -func (o ImageLaunchPermissionPermissionAdditionsOutput) GlobalPermission() pulumi.StringPtrOutput { - return o.ApplyT(func(v ImageLaunchPermissionPermissionAdditions) *string { return v.GlobalPermission }).(pulumi.StringPtrOutput) -} - -type ImageLaunchPermissionPermissionAdditionsPtrOutput struct{ *pulumi.OutputState } - -func (ImageLaunchPermissionPermissionAdditionsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ImageLaunchPermissionPermissionAdditions)(nil)).Elem() -} - -func (o ImageLaunchPermissionPermissionAdditionsPtrOutput) ToImageLaunchPermissionPermissionAdditionsPtrOutput() ImageLaunchPermissionPermissionAdditionsPtrOutput { - return o -} - -func (o ImageLaunchPermissionPermissionAdditionsPtrOutput) ToImageLaunchPermissionPermissionAdditionsPtrOutputWithContext(ctx context.Context) ImageLaunchPermissionPermissionAdditionsPtrOutput { - return o -} - -func (o ImageLaunchPermissionPermissionAdditionsPtrOutput) Elem() ImageLaunchPermissionPermissionAdditionsOutput { - return o.ApplyT(func(v *ImageLaunchPermissionPermissionAdditions) ImageLaunchPermissionPermissionAdditions { - if v != nil { - return *v - } - var ret ImageLaunchPermissionPermissionAdditions - return ret - }).(ImageLaunchPermissionPermissionAdditionsOutput) -} - -// The account ID of one or more users from whom you want to remove permissions. -func (o ImageLaunchPermissionPermissionAdditionsPtrOutput) AccountIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ImageLaunchPermissionPermissionAdditions) []string { - if v == nil { - return nil - } - return v.AccountIds - }).(pulumi.StringArrayOutput) -} - -// If true, the resource is public. If false, the resource is private. -func (o ImageLaunchPermissionPermissionAdditionsPtrOutput) GlobalPermission() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ImageLaunchPermissionPermissionAdditions) *string { - if v == nil { - return nil - } - return v.GlobalPermission - }).(pulumi.StringPtrOutput) -} - -type ImageLaunchPermissionPermissionRemovals struct { - // The account ID of one or more users from whom you want to remove permissions. - AccountIds []string `pulumi:"accountIds"` - // If true, the resource is public. If false, the resource is private. - GlobalPermission *string `pulumi:"globalPermission"` -} - -// ImageLaunchPermissionPermissionRemovalsInput is an input type that accepts ImageLaunchPermissionPermissionRemovalsArgs and ImageLaunchPermissionPermissionRemovalsOutput values. -// You can construct a concrete instance of `ImageLaunchPermissionPermissionRemovalsInput` via: -// -// ImageLaunchPermissionPermissionRemovalsArgs{...} -type ImageLaunchPermissionPermissionRemovalsInput interface { - pulumi.Input - - ToImageLaunchPermissionPermissionRemovalsOutput() ImageLaunchPermissionPermissionRemovalsOutput - ToImageLaunchPermissionPermissionRemovalsOutputWithContext(context.Context) ImageLaunchPermissionPermissionRemovalsOutput -} - -type ImageLaunchPermissionPermissionRemovalsArgs struct { - // The account ID of one or more users from whom you want to remove permissions. - AccountIds pulumi.StringArrayInput `pulumi:"accountIds"` - // If true, the resource is public. If false, the resource is private. - GlobalPermission pulumi.StringPtrInput `pulumi:"globalPermission"` -} - -func (ImageLaunchPermissionPermissionRemovalsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ImageLaunchPermissionPermissionRemovals)(nil)).Elem() -} - -func (i ImageLaunchPermissionPermissionRemovalsArgs) ToImageLaunchPermissionPermissionRemovalsOutput() ImageLaunchPermissionPermissionRemovalsOutput { - return i.ToImageLaunchPermissionPermissionRemovalsOutputWithContext(context.Background()) -} - -func (i ImageLaunchPermissionPermissionRemovalsArgs) ToImageLaunchPermissionPermissionRemovalsOutputWithContext(ctx context.Context) ImageLaunchPermissionPermissionRemovalsOutput { - return pulumi.ToOutputWithContext(ctx, i).(ImageLaunchPermissionPermissionRemovalsOutput) -} - -func (i ImageLaunchPermissionPermissionRemovalsArgs) ToImageLaunchPermissionPermissionRemovalsPtrOutput() ImageLaunchPermissionPermissionRemovalsPtrOutput { - return i.ToImageLaunchPermissionPermissionRemovalsPtrOutputWithContext(context.Background()) -} - -func (i ImageLaunchPermissionPermissionRemovalsArgs) ToImageLaunchPermissionPermissionRemovalsPtrOutputWithContext(ctx context.Context) ImageLaunchPermissionPermissionRemovalsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ImageLaunchPermissionPermissionRemovalsOutput).ToImageLaunchPermissionPermissionRemovalsPtrOutputWithContext(ctx) -} - -// ImageLaunchPermissionPermissionRemovalsPtrInput is an input type that accepts ImageLaunchPermissionPermissionRemovalsArgs, ImageLaunchPermissionPermissionRemovalsPtr and ImageLaunchPermissionPermissionRemovalsPtrOutput values. -// You can construct a concrete instance of `ImageLaunchPermissionPermissionRemovalsPtrInput` via: -// -// ImageLaunchPermissionPermissionRemovalsArgs{...} -// -// or: -// -// nil -type ImageLaunchPermissionPermissionRemovalsPtrInput interface { - pulumi.Input - - ToImageLaunchPermissionPermissionRemovalsPtrOutput() ImageLaunchPermissionPermissionRemovalsPtrOutput - ToImageLaunchPermissionPermissionRemovalsPtrOutputWithContext(context.Context) ImageLaunchPermissionPermissionRemovalsPtrOutput -} - -type imageLaunchPermissionPermissionRemovalsPtrType ImageLaunchPermissionPermissionRemovalsArgs - -func ImageLaunchPermissionPermissionRemovalsPtr(v *ImageLaunchPermissionPermissionRemovalsArgs) ImageLaunchPermissionPermissionRemovalsPtrInput { - return (*imageLaunchPermissionPermissionRemovalsPtrType)(v) -} - -func (*imageLaunchPermissionPermissionRemovalsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ImageLaunchPermissionPermissionRemovals)(nil)).Elem() -} - -func (i *imageLaunchPermissionPermissionRemovalsPtrType) ToImageLaunchPermissionPermissionRemovalsPtrOutput() ImageLaunchPermissionPermissionRemovalsPtrOutput { - return i.ToImageLaunchPermissionPermissionRemovalsPtrOutputWithContext(context.Background()) -} - -func (i *imageLaunchPermissionPermissionRemovalsPtrType) ToImageLaunchPermissionPermissionRemovalsPtrOutputWithContext(ctx context.Context) ImageLaunchPermissionPermissionRemovalsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ImageLaunchPermissionPermissionRemovalsPtrOutput) -} - -type ImageLaunchPermissionPermissionRemovalsOutput struct{ *pulumi.OutputState } - -func (ImageLaunchPermissionPermissionRemovalsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ImageLaunchPermissionPermissionRemovals)(nil)).Elem() -} - -func (o ImageLaunchPermissionPermissionRemovalsOutput) ToImageLaunchPermissionPermissionRemovalsOutput() ImageLaunchPermissionPermissionRemovalsOutput { - return o -} - -func (o ImageLaunchPermissionPermissionRemovalsOutput) ToImageLaunchPermissionPermissionRemovalsOutputWithContext(ctx context.Context) ImageLaunchPermissionPermissionRemovalsOutput { - return o -} - -func (o ImageLaunchPermissionPermissionRemovalsOutput) ToImageLaunchPermissionPermissionRemovalsPtrOutput() ImageLaunchPermissionPermissionRemovalsPtrOutput { - return o.ToImageLaunchPermissionPermissionRemovalsPtrOutputWithContext(context.Background()) -} - -func (o ImageLaunchPermissionPermissionRemovalsOutput) ToImageLaunchPermissionPermissionRemovalsPtrOutputWithContext(ctx context.Context) ImageLaunchPermissionPermissionRemovalsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ImageLaunchPermissionPermissionRemovals) *ImageLaunchPermissionPermissionRemovals { - return &v - }).(ImageLaunchPermissionPermissionRemovalsPtrOutput) -} - -// The account ID of one or more users from whom you want to remove permissions. -func (o ImageLaunchPermissionPermissionRemovalsOutput) AccountIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v ImageLaunchPermissionPermissionRemovals) []string { return v.AccountIds }).(pulumi.StringArrayOutput) -} - -// If true, the resource is public. If false, the resource is private. -func (o ImageLaunchPermissionPermissionRemovalsOutput) GlobalPermission() pulumi.StringPtrOutput { - return o.ApplyT(func(v ImageLaunchPermissionPermissionRemovals) *string { return v.GlobalPermission }).(pulumi.StringPtrOutput) -} - -type ImageLaunchPermissionPermissionRemovalsPtrOutput struct{ *pulumi.OutputState } - -func (ImageLaunchPermissionPermissionRemovalsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ImageLaunchPermissionPermissionRemovals)(nil)).Elem() -} - -func (o ImageLaunchPermissionPermissionRemovalsPtrOutput) ToImageLaunchPermissionPermissionRemovalsPtrOutput() ImageLaunchPermissionPermissionRemovalsPtrOutput { - return o -} - -func (o ImageLaunchPermissionPermissionRemovalsPtrOutput) ToImageLaunchPermissionPermissionRemovalsPtrOutputWithContext(ctx context.Context) ImageLaunchPermissionPermissionRemovalsPtrOutput { - return o -} - -func (o ImageLaunchPermissionPermissionRemovalsPtrOutput) Elem() ImageLaunchPermissionPermissionRemovalsOutput { - return o.ApplyT(func(v *ImageLaunchPermissionPermissionRemovals) ImageLaunchPermissionPermissionRemovals { - if v != nil { - return *v - } - var ret ImageLaunchPermissionPermissionRemovals - return ret - }).(ImageLaunchPermissionPermissionRemovalsOutput) -} - -// The account ID of one or more users from whom you want to remove permissions. -func (o ImageLaunchPermissionPermissionRemovalsPtrOutput) AccountIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ImageLaunchPermissionPermissionRemovals) []string { - if v == nil { - return nil - } - return v.AccountIds - }).(pulumi.StringArrayOutput) -} - -// If true, the resource is public. If false, the resource is private. -func (o ImageLaunchPermissionPermissionRemovalsPtrOutput) GlobalPermission() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ImageLaunchPermissionPermissionRemovals) *string { - if v == nil { - return nil - } - return v.GlobalPermission - }).(pulumi.StringPtrOutput) -} - -type ImageLaunchPermissionPermissionsToLaunch struct { - // The account ID of one or more users from whom you want to remove permissions. - AccountIds []string `pulumi:"accountIds"` - // If true, the resource is public. If false, the resource is private. - GlobalPermission *string `pulumi:"globalPermission"` -} - -// ImageLaunchPermissionPermissionsToLaunchInput is an input type that accepts ImageLaunchPermissionPermissionsToLaunchArgs and ImageLaunchPermissionPermissionsToLaunchOutput values. -// You can construct a concrete instance of `ImageLaunchPermissionPermissionsToLaunchInput` via: -// -// ImageLaunchPermissionPermissionsToLaunchArgs{...} -type ImageLaunchPermissionPermissionsToLaunchInput interface { - pulumi.Input - - ToImageLaunchPermissionPermissionsToLaunchOutput() ImageLaunchPermissionPermissionsToLaunchOutput - ToImageLaunchPermissionPermissionsToLaunchOutputWithContext(context.Context) ImageLaunchPermissionPermissionsToLaunchOutput -} - -type ImageLaunchPermissionPermissionsToLaunchArgs struct { - // The account ID of one or more users from whom you want to remove permissions. - AccountIds pulumi.StringArrayInput `pulumi:"accountIds"` - // If true, the resource is public. If false, the resource is private. - GlobalPermission pulumi.StringPtrInput `pulumi:"globalPermission"` -} - -func (ImageLaunchPermissionPermissionsToLaunchArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ImageLaunchPermissionPermissionsToLaunch)(nil)).Elem() -} - -func (i ImageLaunchPermissionPermissionsToLaunchArgs) ToImageLaunchPermissionPermissionsToLaunchOutput() ImageLaunchPermissionPermissionsToLaunchOutput { - return i.ToImageLaunchPermissionPermissionsToLaunchOutputWithContext(context.Background()) -} - -func (i ImageLaunchPermissionPermissionsToLaunchArgs) ToImageLaunchPermissionPermissionsToLaunchOutputWithContext(ctx context.Context) ImageLaunchPermissionPermissionsToLaunchOutput { - return pulumi.ToOutputWithContext(ctx, i).(ImageLaunchPermissionPermissionsToLaunchOutput) -} - -// ImageLaunchPermissionPermissionsToLaunchArrayInput is an input type that accepts ImageLaunchPermissionPermissionsToLaunchArray and ImageLaunchPermissionPermissionsToLaunchArrayOutput values. -// You can construct a concrete instance of `ImageLaunchPermissionPermissionsToLaunchArrayInput` via: -// -// ImageLaunchPermissionPermissionsToLaunchArray{ ImageLaunchPermissionPermissionsToLaunchArgs{...} } -type ImageLaunchPermissionPermissionsToLaunchArrayInput interface { - pulumi.Input - - ToImageLaunchPermissionPermissionsToLaunchArrayOutput() ImageLaunchPermissionPermissionsToLaunchArrayOutput - ToImageLaunchPermissionPermissionsToLaunchArrayOutputWithContext(context.Context) ImageLaunchPermissionPermissionsToLaunchArrayOutput -} - -type ImageLaunchPermissionPermissionsToLaunchArray []ImageLaunchPermissionPermissionsToLaunchInput - -func (ImageLaunchPermissionPermissionsToLaunchArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ImageLaunchPermissionPermissionsToLaunch)(nil)).Elem() -} - -func (i ImageLaunchPermissionPermissionsToLaunchArray) ToImageLaunchPermissionPermissionsToLaunchArrayOutput() ImageLaunchPermissionPermissionsToLaunchArrayOutput { - return i.ToImageLaunchPermissionPermissionsToLaunchArrayOutputWithContext(context.Background()) -} - -func (i ImageLaunchPermissionPermissionsToLaunchArray) ToImageLaunchPermissionPermissionsToLaunchArrayOutputWithContext(ctx context.Context) ImageLaunchPermissionPermissionsToLaunchArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ImageLaunchPermissionPermissionsToLaunchArrayOutput) -} - -type ImageLaunchPermissionPermissionsToLaunchOutput struct{ *pulumi.OutputState } - -func (ImageLaunchPermissionPermissionsToLaunchOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ImageLaunchPermissionPermissionsToLaunch)(nil)).Elem() -} - -func (o ImageLaunchPermissionPermissionsToLaunchOutput) ToImageLaunchPermissionPermissionsToLaunchOutput() ImageLaunchPermissionPermissionsToLaunchOutput { - return o -} - -func (o ImageLaunchPermissionPermissionsToLaunchOutput) ToImageLaunchPermissionPermissionsToLaunchOutputWithContext(ctx context.Context) ImageLaunchPermissionPermissionsToLaunchOutput { - return o -} - -// The account ID of one or more users from whom you want to remove permissions. -func (o ImageLaunchPermissionPermissionsToLaunchOutput) AccountIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v ImageLaunchPermissionPermissionsToLaunch) []string { return v.AccountIds }).(pulumi.StringArrayOutput) -} - -// If true, the resource is public. If false, the resource is private. -func (o ImageLaunchPermissionPermissionsToLaunchOutput) GlobalPermission() pulumi.StringPtrOutput { - return o.ApplyT(func(v ImageLaunchPermissionPermissionsToLaunch) *string { return v.GlobalPermission }).(pulumi.StringPtrOutput) -} - -type ImageLaunchPermissionPermissionsToLaunchArrayOutput struct{ *pulumi.OutputState } - -func (ImageLaunchPermissionPermissionsToLaunchArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ImageLaunchPermissionPermissionsToLaunch)(nil)).Elem() -} - -func (o ImageLaunchPermissionPermissionsToLaunchArrayOutput) ToImageLaunchPermissionPermissionsToLaunchArrayOutput() ImageLaunchPermissionPermissionsToLaunchArrayOutput { - return o -} - -func (o ImageLaunchPermissionPermissionsToLaunchArrayOutput) ToImageLaunchPermissionPermissionsToLaunchArrayOutputWithContext(ctx context.Context) ImageLaunchPermissionPermissionsToLaunchArrayOutput { - return o -} - -func (o ImageLaunchPermissionPermissionsToLaunchArrayOutput) Index(i pulumi.IntInput) ImageLaunchPermissionPermissionsToLaunchOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ImageLaunchPermissionPermissionsToLaunch { - return vs[0].([]ImageLaunchPermissionPermissionsToLaunch)[vs[1].(int)] - }).(ImageLaunchPermissionPermissionsToLaunchOutput) -} - -type ImagePermissionsToLaunch struct { - // One or more account IDs that the permission is associated with. - AccountIds []string `pulumi:"accountIds"` - // A global permission for all accounts.
- // (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).
- // (Response) If true, the resource is public. If false, the resource is private. - GlobalPermission *bool `pulumi:"globalPermission"` -} - -// ImagePermissionsToLaunchInput is an input type that accepts ImagePermissionsToLaunchArgs and ImagePermissionsToLaunchOutput values. -// You can construct a concrete instance of `ImagePermissionsToLaunchInput` via: -// -// ImagePermissionsToLaunchArgs{...} -type ImagePermissionsToLaunchInput interface { - pulumi.Input - - ToImagePermissionsToLaunchOutput() ImagePermissionsToLaunchOutput - ToImagePermissionsToLaunchOutputWithContext(context.Context) ImagePermissionsToLaunchOutput -} - -type ImagePermissionsToLaunchArgs struct { - // One or more account IDs that the permission is associated with. - AccountIds pulumi.StringArrayInput `pulumi:"accountIds"` - // A global permission for all accounts.
- // (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).
- // (Response) If true, the resource is public. If false, the resource is private. - GlobalPermission pulumi.BoolPtrInput `pulumi:"globalPermission"` -} - -func (ImagePermissionsToLaunchArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ImagePermissionsToLaunch)(nil)).Elem() -} - -func (i ImagePermissionsToLaunchArgs) ToImagePermissionsToLaunchOutput() ImagePermissionsToLaunchOutput { - return i.ToImagePermissionsToLaunchOutputWithContext(context.Background()) -} - -func (i ImagePermissionsToLaunchArgs) ToImagePermissionsToLaunchOutputWithContext(ctx context.Context) ImagePermissionsToLaunchOutput { - return pulumi.ToOutputWithContext(ctx, i).(ImagePermissionsToLaunchOutput) -} - -// ImagePermissionsToLaunchArrayInput is an input type that accepts ImagePermissionsToLaunchArray and ImagePermissionsToLaunchArrayOutput values. -// You can construct a concrete instance of `ImagePermissionsToLaunchArrayInput` via: -// -// ImagePermissionsToLaunchArray{ ImagePermissionsToLaunchArgs{...} } -type ImagePermissionsToLaunchArrayInput interface { - pulumi.Input - - ToImagePermissionsToLaunchArrayOutput() ImagePermissionsToLaunchArrayOutput - ToImagePermissionsToLaunchArrayOutputWithContext(context.Context) ImagePermissionsToLaunchArrayOutput -} - -type ImagePermissionsToLaunchArray []ImagePermissionsToLaunchInput - -func (ImagePermissionsToLaunchArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ImagePermissionsToLaunch)(nil)).Elem() -} - -func (i ImagePermissionsToLaunchArray) ToImagePermissionsToLaunchArrayOutput() ImagePermissionsToLaunchArrayOutput { - return i.ToImagePermissionsToLaunchArrayOutputWithContext(context.Background()) -} - -func (i ImagePermissionsToLaunchArray) ToImagePermissionsToLaunchArrayOutputWithContext(ctx context.Context) ImagePermissionsToLaunchArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ImagePermissionsToLaunchArrayOutput) -} - -type ImagePermissionsToLaunchOutput struct{ *pulumi.OutputState } - -func (ImagePermissionsToLaunchOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ImagePermissionsToLaunch)(nil)).Elem() -} - -func (o ImagePermissionsToLaunchOutput) ToImagePermissionsToLaunchOutput() ImagePermissionsToLaunchOutput { - return o -} - -func (o ImagePermissionsToLaunchOutput) ToImagePermissionsToLaunchOutputWithContext(ctx context.Context) ImagePermissionsToLaunchOutput { - return o -} - -// One or more account IDs that the permission is associated with. -func (o ImagePermissionsToLaunchOutput) AccountIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v ImagePermissionsToLaunch) []string { return v.AccountIds }).(pulumi.StringArrayOutput) -} - -// A global permission for all accounts.
-// (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).
-// (Response) If true, the resource is public. If false, the resource is private. -func (o ImagePermissionsToLaunchOutput) GlobalPermission() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ImagePermissionsToLaunch) *bool { return v.GlobalPermission }).(pulumi.BoolPtrOutput) -} - -type ImagePermissionsToLaunchArrayOutput struct{ *pulumi.OutputState } - -func (ImagePermissionsToLaunchArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ImagePermissionsToLaunch)(nil)).Elem() -} - -func (o ImagePermissionsToLaunchArrayOutput) ToImagePermissionsToLaunchArrayOutput() ImagePermissionsToLaunchArrayOutput { - return o -} - -func (o ImagePermissionsToLaunchArrayOutput) ToImagePermissionsToLaunchArrayOutputWithContext(ctx context.Context) ImagePermissionsToLaunchArrayOutput { - return o -} - -func (o ImagePermissionsToLaunchArrayOutput) Index(i pulumi.IntInput) ImagePermissionsToLaunchOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ImagePermissionsToLaunch { - return vs[0].([]ImagePermissionsToLaunch)[vs[1].(int)] - }).(ImagePermissionsToLaunchOutput) -} - -type ImageStateComment struct { - // The code of the change of state. - StateCode *string `pulumi:"stateCode"` - // A message explaining the change of state. - StateMessage *string `pulumi:"stateMessage"` -} - -// ImageStateCommentInput is an input type that accepts ImageStateCommentArgs and ImageStateCommentOutput values. -// You can construct a concrete instance of `ImageStateCommentInput` via: -// -// ImageStateCommentArgs{...} -type ImageStateCommentInput interface { - pulumi.Input - - ToImageStateCommentOutput() ImageStateCommentOutput - ToImageStateCommentOutputWithContext(context.Context) ImageStateCommentOutput -} - -type ImageStateCommentArgs struct { - // The code of the change of state. - StateCode pulumi.StringPtrInput `pulumi:"stateCode"` - // A message explaining the change of state. - StateMessage pulumi.StringPtrInput `pulumi:"stateMessage"` -} - -func (ImageStateCommentArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ImageStateComment)(nil)).Elem() -} - -func (i ImageStateCommentArgs) ToImageStateCommentOutput() ImageStateCommentOutput { - return i.ToImageStateCommentOutputWithContext(context.Background()) -} - -func (i ImageStateCommentArgs) ToImageStateCommentOutputWithContext(ctx context.Context) ImageStateCommentOutput { - return pulumi.ToOutputWithContext(ctx, i).(ImageStateCommentOutput) -} - -// ImageStateCommentArrayInput is an input type that accepts ImageStateCommentArray and ImageStateCommentArrayOutput values. -// You can construct a concrete instance of `ImageStateCommentArrayInput` via: -// -// ImageStateCommentArray{ ImageStateCommentArgs{...} } -type ImageStateCommentArrayInput interface { - pulumi.Input - - ToImageStateCommentArrayOutput() ImageStateCommentArrayOutput - ToImageStateCommentArrayOutputWithContext(context.Context) ImageStateCommentArrayOutput -} - -type ImageStateCommentArray []ImageStateCommentInput - -func (ImageStateCommentArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ImageStateComment)(nil)).Elem() -} - -func (i ImageStateCommentArray) ToImageStateCommentArrayOutput() ImageStateCommentArrayOutput { - return i.ToImageStateCommentArrayOutputWithContext(context.Background()) -} - -func (i ImageStateCommentArray) ToImageStateCommentArrayOutputWithContext(ctx context.Context) ImageStateCommentArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ImageStateCommentArrayOutput) -} - -type ImageStateCommentOutput struct{ *pulumi.OutputState } - -func (ImageStateCommentOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ImageStateComment)(nil)).Elem() -} - -func (o ImageStateCommentOutput) ToImageStateCommentOutput() ImageStateCommentOutput { - return o -} - -func (o ImageStateCommentOutput) ToImageStateCommentOutputWithContext(ctx context.Context) ImageStateCommentOutput { - return o -} - -// The code of the change of state. -func (o ImageStateCommentOutput) StateCode() pulumi.StringPtrOutput { - return o.ApplyT(func(v ImageStateComment) *string { return v.StateCode }).(pulumi.StringPtrOutput) -} - -// A message explaining the change of state. -func (o ImageStateCommentOutput) StateMessage() pulumi.StringPtrOutput { - return o.ApplyT(func(v ImageStateComment) *string { return v.StateMessage }).(pulumi.StringPtrOutput) -} - -type ImageStateCommentArrayOutput struct{ *pulumi.OutputState } - -func (ImageStateCommentArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ImageStateComment)(nil)).Elem() -} - -func (o ImageStateCommentArrayOutput) ToImageStateCommentArrayOutput() ImageStateCommentArrayOutput { - return o -} - -func (o ImageStateCommentArrayOutput) ToImageStateCommentArrayOutputWithContext(ctx context.Context) ImageStateCommentArrayOutput { - return o -} - -func (o ImageStateCommentArrayOutput) Index(i pulumi.IntInput) ImageStateCommentOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ImageStateComment { - return vs[0].([]ImageStateComment)[vs[1].(int)] - }).(ImageStateCommentOutput) -} - -type ImageTag struct { - // The key of the tag, with a minimum of 1 character. - Key *string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value *string `pulumi:"value"` -} - -// ImageTagInput is an input type that accepts ImageTagArgs and ImageTagOutput values. -// You can construct a concrete instance of `ImageTagInput` via: -// -// ImageTagArgs{...} -type ImageTagInput interface { - pulumi.Input - - ToImageTagOutput() ImageTagOutput - ToImageTagOutputWithContext(context.Context) ImageTagOutput -} - -type ImageTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringPtrInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringPtrInput `pulumi:"value"` -} - -func (ImageTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ImageTag)(nil)).Elem() -} - -func (i ImageTagArgs) ToImageTagOutput() ImageTagOutput { - return i.ToImageTagOutputWithContext(context.Background()) -} - -func (i ImageTagArgs) ToImageTagOutputWithContext(ctx context.Context) ImageTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(ImageTagOutput) -} - -// ImageTagArrayInput is an input type that accepts ImageTagArray and ImageTagArrayOutput values. -// You can construct a concrete instance of `ImageTagArrayInput` via: -// -// ImageTagArray{ ImageTagArgs{...} } -type ImageTagArrayInput interface { - pulumi.Input - - ToImageTagArrayOutput() ImageTagArrayOutput - ToImageTagArrayOutputWithContext(context.Context) ImageTagArrayOutput -} - -type ImageTagArray []ImageTagInput - -func (ImageTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ImageTag)(nil)).Elem() -} - -func (i ImageTagArray) ToImageTagArrayOutput() ImageTagArrayOutput { - return i.ToImageTagArrayOutputWithContext(context.Background()) -} - -func (i ImageTagArray) ToImageTagArrayOutputWithContext(ctx context.Context) ImageTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ImageTagArrayOutput) -} - -type ImageTagOutput struct{ *pulumi.OutputState } - -func (ImageTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ImageTag)(nil)).Elem() -} - -func (o ImageTagOutput) ToImageTagOutput() ImageTagOutput { - return o -} - -func (o ImageTagOutput) ToImageTagOutputWithContext(ctx context.Context) ImageTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o ImageTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v ImageTag) *string { return v.Key }).(pulumi.StringPtrOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o ImageTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v ImageTag) *string { return v.Value }).(pulumi.StringPtrOutput) -} - -type ImageTagArrayOutput struct{ *pulumi.OutputState } - -func (ImageTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ImageTag)(nil)).Elem() -} - -func (o ImageTagArrayOutput) ToImageTagArrayOutput() ImageTagArrayOutput { - return o -} - -func (o ImageTagArrayOutput) ToImageTagArrayOutputWithContext(ctx context.Context) ImageTagArrayOutput { - return o -} - -func (o ImageTagArrayOutput) Index(i pulumi.IntInput) ImageTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ImageTag { - return vs[0].([]ImageTag)[vs[1].(int)] - }).(ImageTagOutput) -} - -type InternetServiceLinkTag struct { - // The key of the tag, with a minimum of 1 character. - Key *string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value *string `pulumi:"value"` -} - -// InternetServiceLinkTagInput is an input type that accepts InternetServiceLinkTagArgs and InternetServiceLinkTagOutput values. -// You can construct a concrete instance of `InternetServiceLinkTagInput` via: -// -// InternetServiceLinkTagArgs{...} -type InternetServiceLinkTagInput interface { - pulumi.Input - - ToInternetServiceLinkTagOutput() InternetServiceLinkTagOutput - ToInternetServiceLinkTagOutputWithContext(context.Context) InternetServiceLinkTagOutput -} - -type InternetServiceLinkTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringPtrInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringPtrInput `pulumi:"value"` -} - -func (InternetServiceLinkTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*InternetServiceLinkTag)(nil)).Elem() -} - -func (i InternetServiceLinkTagArgs) ToInternetServiceLinkTagOutput() InternetServiceLinkTagOutput { - return i.ToInternetServiceLinkTagOutputWithContext(context.Background()) -} - -func (i InternetServiceLinkTagArgs) ToInternetServiceLinkTagOutputWithContext(ctx context.Context) InternetServiceLinkTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(InternetServiceLinkTagOutput) -} - -// InternetServiceLinkTagArrayInput is an input type that accepts InternetServiceLinkTagArray and InternetServiceLinkTagArrayOutput values. -// You can construct a concrete instance of `InternetServiceLinkTagArrayInput` via: -// -// InternetServiceLinkTagArray{ InternetServiceLinkTagArgs{...} } -type InternetServiceLinkTagArrayInput interface { - pulumi.Input - - ToInternetServiceLinkTagArrayOutput() InternetServiceLinkTagArrayOutput - ToInternetServiceLinkTagArrayOutputWithContext(context.Context) InternetServiceLinkTagArrayOutput -} - -type InternetServiceLinkTagArray []InternetServiceLinkTagInput - -func (InternetServiceLinkTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]InternetServiceLinkTag)(nil)).Elem() -} - -func (i InternetServiceLinkTagArray) ToInternetServiceLinkTagArrayOutput() InternetServiceLinkTagArrayOutput { - return i.ToInternetServiceLinkTagArrayOutputWithContext(context.Background()) -} - -func (i InternetServiceLinkTagArray) ToInternetServiceLinkTagArrayOutputWithContext(ctx context.Context) InternetServiceLinkTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(InternetServiceLinkTagArrayOutput) -} - -type InternetServiceLinkTagOutput struct{ *pulumi.OutputState } - -func (InternetServiceLinkTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*InternetServiceLinkTag)(nil)).Elem() -} - -func (o InternetServiceLinkTagOutput) ToInternetServiceLinkTagOutput() InternetServiceLinkTagOutput { - return o -} - -func (o InternetServiceLinkTagOutput) ToInternetServiceLinkTagOutputWithContext(ctx context.Context) InternetServiceLinkTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o InternetServiceLinkTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v InternetServiceLinkTag) *string { return v.Key }).(pulumi.StringPtrOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o InternetServiceLinkTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v InternetServiceLinkTag) *string { return v.Value }).(pulumi.StringPtrOutput) -} - -type InternetServiceLinkTagArrayOutput struct{ *pulumi.OutputState } - -func (InternetServiceLinkTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]InternetServiceLinkTag)(nil)).Elem() -} - -func (o InternetServiceLinkTagArrayOutput) ToInternetServiceLinkTagArrayOutput() InternetServiceLinkTagArrayOutput { - return o -} - -func (o InternetServiceLinkTagArrayOutput) ToInternetServiceLinkTagArrayOutputWithContext(ctx context.Context) InternetServiceLinkTagArrayOutput { - return o -} - -func (o InternetServiceLinkTagArrayOutput) Index(i pulumi.IntInput) InternetServiceLinkTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) InternetServiceLinkTag { - return vs[0].([]InternetServiceLinkTag)[vs[1].(int)] - }).(InternetServiceLinkTagOutput) -} - -type InternetServiceTag struct { - // The key of the tag, with a minimum of 1 character. - Key *string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value *string `pulumi:"value"` -} - -// InternetServiceTagInput is an input type that accepts InternetServiceTagArgs and InternetServiceTagOutput values. -// You can construct a concrete instance of `InternetServiceTagInput` via: -// -// InternetServiceTagArgs{...} -type InternetServiceTagInput interface { - pulumi.Input - - ToInternetServiceTagOutput() InternetServiceTagOutput - ToInternetServiceTagOutputWithContext(context.Context) InternetServiceTagOutput -} - -type InternetServiceTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringPtrInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringPtrInput `pulumi:"value"` -} - -func (InternetServiceTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*InternetServiceTag)(nil)).Elem() -} - -func (i InternetServiceTagArgs) ToInternetServiceTagOutput() InternetServiceTagOutput { - return i.ToInternetServiceTagOutputWithContext(context.Background()) -} - -func (i InternetServiceTagArgs) ToInternetServiceTagOutputWithContext(ctx context.Context) InternetServiceTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(InternetServiceTagOutput) -} - -// InternetServiceTagArrayInput is an input type that accepts InternetServiceTagArray and InternetServiceTagArrayOutput values. -// You can construct a concrete instance of `InternetServiceTagArrayInput` via: -// -// InternetServiceTagArray{ InternetServiceTagArgs{...} } -type InternetServiceTagArrayInput interface { - pulumi.Input - - ToInternetServiceTagArrayOutput() InternetServiceTagArrayOutput - ToInternetServiceTagArrayOutputWithContext(context.Context) InternetServiceTagArrayOutput -} - -type InternetServiceTagArray []InternetServiceTagInput - -func (InternetServiceTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]InternetServiceTag)(nil)).Elem() -} - -func (i InternetServiceTagArray) ToInternetServiceTagArrayOutput() InternetServiceTagArrayOutput { - return i.ToInternetServiceTagArrayOutputWithContext(context.Background()) -} - -func (i InternetServiceTagArray) ToInternetServiceTagArrayOutputWithContext(ctx context.Context) InternetServiceTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(InternetServiceTagArrayOutput) -} - -type InternetServiceTagOutput struct{ *pulumi.OutputState } - -func (InternetServiceTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*InternetServiceTag)(nil)).Elem() -} - -func (o InternetServiceTagOutput) ToInternetServiceTagOutput() InternetServiceTagOutput { - return o -} - -func (o InternetServiceTagOutput) ToInternetServiceTagOutputWithContext(ctx context.Context) InternetServiceTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o InternetServiceTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v InternetServiceTag) *string { return v.Key }).(pulumi.StringPtrOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o InternetServiceTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v InternetServiceTag) *string { return v.Value }).(pulumi.StringPtrOutput) -} - -type InternetServiceTagArrayOutput struct{ *pulumi.OutputState } - -func (InternetServiceTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]InternetServiceTag)(nil)).Elem() -} - -func (o InternetServiceTagArrayOutput) ToInternetServiceTagArrayOutput() InternetServiceTagArrayOutput { - return o -} - -func (o InternetServiceTagArrayOutput) ToInternetServiceTagArrayOutputWithContext(ctx context.Context) InternetServiceTagArrayOutput { - return o -} - -func (o InternetServiceTagArrayOutput) Index(i pulumi.IntInput) InternetServiceTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) InternetServiceTag { - return vs[0].([]InternetServiceTag)[vs[1].(int)] - }).(InternetServiceTagOutput) -} - -type LoadBalancerAccessLog struct { - // If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osuBucketName` parameter is required. - IsEnabled *bool `pulumi:"isEnabled"` - // The name of the OOS bucket for the access logs. - OsuBucketName *string `pulumi:"osuBucketName"` - // The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - OsuBucketPrefix *string `pulumi:"osuBucketPrefix"` - // The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - PublicationInterval *int `pulumi:"publicationInterval"` -} - -// LoadBalancerAccessLogInput is an input type that accepts LoadBalancerAccessLogArgs and LoadBalancerAccessLogOutput values. -// You can construct a concrete instance of `LoadBalancerAccessLogInput` via: -// -// LoadBalancerAccessLogArgs{...} -type LoadBalancerAccessLogInput interface { - pulumi.Input - - ToLoadBalancerAccessLogOutput() LoadBalancerAccessLogOutput - ToLoadBalancerAccessLogOutputWithContext(context.Context) LoadBalancerAccessLogOutput -} - -type LoadBalancerAccessLogArgs struct { - // If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osuBucketName` parameter is required. - IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` - // The name of the OOS bucket for the access logs. - OsuBucketName pulumi.StringPtrInput `pulumi:"osuBucketName"` - // The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - OsuBucketPrefix pulumi.StringPtrInput `pulumi:"osuBucketPrefix"` - // The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - PublicationInterval pulumi.IntPtrInput `pulumi:"publicationInterval"` -} - -func (LoadBalancerAccessLogArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerAccessLog)(nil)).Elem() -} - -func (i LoadBalancerAccessLogArgs) ToLoadBalancerAccessLogOutput() LoadBalancerAccessLogOutput { - return i.ToLoadBalancerAccessLogOutputWithContext(context.Background()) -} - -func (i LoadBalancerAccessLogArgs) ToLoadBalancerAccessLogOutputWithContext(ctx context.Context) LoadBalancerAccessLogOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerAccessLogOutput) -} - -// LoadBalancerAccessLogArrayInput is an input type that accepts LoadBalancerAccessLogArray and LoadBalancerAccessLogArrayOutput values. -// You can construct a concrete instance of `LoadBalancerAccessLogArrayInput` via: -// -// LoadBalancerAccessLogArray{ LoadBalancerAccessLogArgs{...} } -type LoadBalancerAccessLogArrayInput interface { - pulumi.Input - - ToLoadBalancerAccessLogArrayOutput() LoadBalancerAccessLogArrayOutput - ToLoadBalancerAccessLogArrayOutputWithContext(context.Context) LoadBalancerAccessLogArrayOutput -} - -type LoadBalancerAccessLogArray []LoadBalancerAccessLogInput - -func (LoadBalancerAccessLogArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerAccessLog)(nil)).Elem() -} - -func (i LoadBalancerAccessLogArray) ToLoadBalancerAccessLogArrayOutput() LoadBalancerAccessLogArrayOutput { - return i.ToLoadBalancerAccessLogArrayOutputWithContext(context.Background()) -} - -func (i LoadBalancerAccessLogArray) ToLoadBalancerAccessLogArrayOutputWithContext(ctx context.Context) LoadBalancerAccessLogArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerAccessLogArrayOutput) -} - -type LoadBalancerAccessLogOutput struct{ *pulumi.OutputState } - -func (LoadBalancerAccessLogOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerAccessLog)(nil)).Elem() -} - -func (o LoadBalancerAccessLogOutput) ToLoadBalancerAccessLogOutput() LoadBalancerAccessLogOutput { - return o -} - -func (o LoadBalancerAccessLogOutput) ToLoadBalancerAccessLogOutputWithContext(ctx context.Context) LoadBalancerAccessLogOutput { - return o -} - -// If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osuBucketName` parameter is required. -func (o LoadBalancerAccessLogOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LoadBalancerAccessLog) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) -} - -// The name of the OOS bucket for the access logs. -func (o LoadBalancerAccessLogOutput) OsuBucketName() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerAccessLog) *string { return v.OsuBucketName }).(pulumi.StringPtrOutput) -} - -// The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). -func (o LoadBalancerAccessLogOutput) OsuBucketPrefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerAccessLog) *string { return v.OsuBucketPrefix }).(pulumi.StringPtrOutput) -} - -// The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). -func (o LoadBalancerAccessLogOutput) PublicationInterval() pulumi.IntPtrOutput { - return o.ApplyT(func(v LoadBalancerAccessLog) *int { return v.PublicationInterval }).(pulumi.IntPtrOutput) -} - -type LoadBalancerAccessLogArrayOutput struct{ *pulumi.OutputState } - -func (LoadBalancerAccessLogArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerAccessLog)(nil)).Elem() -} - -func (o LoadBalancerAccessLogArrayOutput) ToLoadBalancerAccessLogArrayOutput() LoadBalancerAccessLogArrayOutput { - return o -} - -func (o LoadBalancerAccessLogArrayOutput) ToLoadBalancerAccessLogArrayOutputWithContext(ctx context.Context) LoadBalancerAccessLogArrayOutput { - return o -} - -func (o LoadBalancerAccessLogArrayOutput) Index(i pulumi.IntInput) LoadBalancerAccessLogOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) LoadBalancerAccessLog { - return vs[0].([]LoadBalancerAccessLog)[vs[1].(int)] - }).(LoadBalancerAccessLogOutput) -} - -type LoadBalancerApplicationStickyCookiePolicy struct { - // The name of the application cookie used for stickiness. - CookieName *string `pulumi:"cookieName"` - // The name of the stickiness policy. - PolicyName *string `pulumi:"policyName"` -} - -// LoadBalancerApplicationStickyCookiePolicyInput is an input type that accepts LoadBalancerApplicationStickyCookiePolicyArgs and LoadBalancerApplicationStickyCookiePolicyOutput values. -// You can construct a concrete instance of `LoadBalancerApplicationStickyCookiePolicyInput` via: -// -// LoadBalancerApplicationStickyCookiePolicyArgs{...} -type LoadBalancerApplicationStickyCookiePolicyInput interface { - pulumi.Input - - ToLoadBalancerApplicationStickyCookiePolicyOutput() LoadBalancerApplicationStickyCookiePolicyOutput - ToLoadBalancerApplicationStickyCookiePolicyOutputWithContext(context.Context) LoadBalancerApplicationStickyCookiePolicyOutput -} - -type LoadBalancerApplicationStickyCookiePolicyArgs struct { - // The name of the application cookie used for stickiness. - CookieName pulumi.StringPtrInput `pulumi:"cookieName"` - // The name of the stickiness policy. - PolicyName pulumi.StringPtrInput `pulumi:"policyName"` -} - -func (LoadBalancerApplicationStickyCookiePolicyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerApplicationStickyCookiePolicy)(nil)).Elem() -} - -func (i LoadBalancerApplicationStickyCookiePolicyArgs) ToLoadBalancerApplicationStickyCookiePolicyOutput() LoadBalancerApplicationStickyCookiePolicyOutput { - return i.ToLoadBalancerApplicationStickyCookiePolicyOutputWithContext(context.Background()) -} - -func (i LoadBalancerApplicationStickyCookiePolicyArgs) ToLoadBalancerApplicationStickyCookiePolicyOutputWithContext(ctx context.Context) LoadBalancerApplicationStickyCookiePolicyOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerApplicationStickyCookiePolicyOutput) -} - -// LoadBalancerApplicationStickyCookiePolicyArrayInput is an input type that accepts LoadBalancerApplicationStickyCookiePolicyArray and LoadBalancerApplicationStickyCookiePolicyArrayOutput values. -// You can construct a concrete instance of `LoadBalancerApplicationStickyCookiePolicyArrayInput` via: -// -// LoadBalancerApplicationStickyCookiePolicyArray{ LoadBalancerApplicationStickyCookiePolicyArgs{...} } -type LoadBalancerApplicationStickyCookiePolicyArrayInput interface { - pulumi.Input - - ToLoadBalancerApplicationStickyCookiePolicyArrayOutput() LoadBalancerApplicationStickyCookiePolicyArrayOutput - ToLoadBalancerApplicationStickyCookiePolicyArrayOutputWithContext(context.Context) LoadBalancerApplicationStickyCookiePolicyArrayOutput -} - -type LoadBalancerApplicationStickyCookiePolicyArray []LoadBalancerApplicationStickyCookiePolicyInput - -func (LoadBalancerApplicationStickyCookiePolicyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerApplicationStickyCookiePolicy)(nil)).Elem() -} - -func (i LoadBalancerApplicationStickyCookiePolicyArray) ToLoadBalancerApplicationStickyCookiePolicyArrayOutput() LoadBalancerApplicationStickyCookiePolicyArrayOutput { - return i.ToLoadBalancerApplicationStickyCookiePolicyArrayOutputWithContext(context.Background()) -} - -func (i LoadBalancerApplicationStickyCookiePolicyArray) ToLoadBalancerApplicationStickyCookiePolicyArrayOutputWithContext(ctx context.Context) LoadBalancerApplicationStickyCookiePolicyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerApplicationStickyCookiePolicyArrayOutput) -} - -type LoadBalancerApplicationStickyCookiePolicyOutput struct{ *pulumi.OutputState } - -func (LoadBalancerApplicationStickyCookiePolicyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerApplicationStickyCookiePolicy)(nil)).Elem() -} - -func (o LoadBalancerApplicationStickyCookiePolicyOutput) ToLoadBalancerApplicationStickyCookiePolicyOutput() LoadBalancerApplicationStickyCookiePolicyOutput { - return o -} - -func (o LoadBalancerApplicationStickyCookiePolicyOutput) ToLoadBalancerApplicationStickyCookiePolicyOutputWithContext(ctx context.Context) LoadBalancerApplicationStickyCookiePolicyOutput { - return o -} - -// The name of the application cookie used for stickiness. -func (o LoadBalancerApplicationStickyCookiePolicyOutput) CookieName() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerApplicationStickyCookiePolicy) *string { return v.CookieName }).(pulumi.StringPtrOutput) -} - -// The name of the stickiness policy. -func (o LoadBalancerApplicationStickyCookiePolicyOutput) PolicyName() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerApplicationStickyCookiePolicy) *string { return v.PolicyName }).(pulumi.StringPtrOutput) -} - -type LoadBalancerApplicationStickyCookiePolicyArrayOutput struct{ *pulumi.OutputState } - -func (LoadBalancerApplicationStickyCookiePolicyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerApplicationStickyCookiePolicy)(nil)).Elem() -} - -func (o LoadBalancerApplicationStickyCookiePolicyArrayOutput) ToLoadBalancerApplicationStickyCookiePolicyArrayOutput() LoadBalancerApplicationStickyCookiePolicyArrayOutput { - return o -} - -func (o LoadBalancerApplicationStickyCookiePolicyArrayOutput) ToLoadBalancerApplicationStickyCookiePolicyArrayOutputWithContext(ctx context.Context) LoadBalancerApplicationStickyCookiePolicyArrayOutput { - return o -} - -func (o LoadBalancerApplicationStickyCookiePolicyArrayOutput) Index(i pulumi.IntInput) LoadBalancerApplicationStickyCookiePolicyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) LoadBalancerApplicationStickyCookiePolicy { - return vs[0].([]LoadBalancerApplicationStickyCookiePolicy)[vs[1].(int)] - }).(LoadBalancerApplicationStickyCookiePolicyOutput) -} - -type LoadBalancerAttributesAccessLog struct { - // If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osuBucketName` parameter is required. - IsEnabled *bool `pulumi:"isEnabled"` - // The name of the OOS bucket for the access logs. - OsuBucketName *string `pulumi:"osuBucketName"` - // The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - OsuBucketPrefix *string `pulumi:"osuBucketPrefix"` - // The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - PublicationInterval *int `pulumi:"publicationInterval"` -} - -// LoadBalancerAttributesAccessLogInput is an input type that accepts LoadBalancerAttributesAccessLogArgs and LoadBalancerAttributesAccessLogOutput values. -// You can construct a concrete instance of `LoadBalancerAttributesAccessLogInput` via: -// -// LoadBalancerAttributesAccessLogArgs{...} -type LoadBalancerAttributesAccessLogInput interface { - pulumi.Input - - ToLoadBalancerAttributesAccessLogOutput() LoadBalancerAttributesAccessLogOutput - ToLoadBalancerAttributesAccessLogOutputWithContext(context.Context) LoadBalancerAttributesAccessLogOutput -} - -type LoadBalancerAttributesAccessLogArgs struct { - // If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osuBucketName` parameter is required. - IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` - // The name of the OOS bucket for the access logs. - OsuBucketName pulumi.StringPtrInput `pulumi:"osuBucketName"` - // The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - OsuBucketPrefix pulumi.StringPtrInput `pulumi:"osuBucketPrefix"` - // The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - PublicationInterval pulumi.IntPtrInput `pulumi:"publicationInterval"` -} - -func (LoadBalancerAttributesAccessLogArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerAttributesAccessLog)(nil)).Elem() -} - -func (i LoadBalancerAttributesAccessLogArgs) ToLoadBalancerAttributesAccessLogOutput() LoadBalancerAttributesAccessLogOutput { - return i.ToLoadBalancerAttributesAccessLogOutputWithContext(context.Background()) -} - -func (i LoadBalancerAttributesAccessLogArgs) ToLoadBalancerAttributesAccessLogOutputWithContext(ctx context.Context) LoadBalancerAttributesAccessLogOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerAttributesAccessLogOutput) -} - -func (i LoadBalancerAttributesAccessLogArgs) ToLoadBalancerAttributesAccessLogPtrOutput() LoadBalancerAttributesAccessLogPtrOutput { - return i.ToLoadBalancerAttributesAccessLogPtrOutputWithContext(context.Background()) -} - -func (i LoadBalancerAttributesAccessLogArgs) ToLoadBalancerAttributesAccessLogPtrOutputWithContext(ctx context.Context) LoadBalancerAttributesAccessLogPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerAttributesAccessLogOutput).ToLoadBalancerAttributesAccessLogPtrOutputWithContext(ctx) -} - -// LoadBalancerAttributesAccessLogPtrInput is an input type that accepts LoadBalancerAttributesAccessLogArgs, LoadBalancerAttributesAccessLogPtr and LoadBalancerAttributesAccessLogPtrOutput values. -// You can construct a concrete instance of `LoadBalancerAttributesAccessLogPtrInput` via: -// -// LoadBalancerAttributesAccessLogArgs{...} -// -// or: -// -// nil -type LoadBalancerAttributesAccessLogPtrInput interface { - pulumi.Input - - ToLoadBalancerAttributesAccessLogPtrOutput() LoadBalancerAttributesAccessLogPtrOutput - ToLoadBalancerAttributesAccessLogPtrOutputWithContext(context.Context) LoadBalancerAttributesAccessLogPtrOutput -} - -type loadBalancerAttributesAccessLogPtrType LoadBalancerAttributesAccessLogArgs - -func LoadBalancerAttributesAccessLogPtr(v *LoadBalancerAttributesAccessLogArgs) LoadBalancerAttributesAccessLogPtrInput { - return (*loadBalancerAttributesAccessLogPtrType)(v) -} - -func (*loadBalancerAttributesAccessLogPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LoadBalancerAttributesAccessLog)(nil)).Elem() -} - -func (i *loadBalancerAttributesAccessLogPtrType) ToLoadBalancerAttributesAccessLogPtrOutput() LoadBalancerAttributesAccessLogPtrOutput { - return i.ToLoadBalancerAttributesAccessLogPtrOutputWithContext(context.Background()) -} - -func (i *loadBalancerAttributesAccessLogPtrType) ToLoadBalancerAttributesAccessLogPtrOutputWithContext(ctx context.Context) LoadBalancerAttributesAccessLogPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerAttributesAccessLogPtrOutput) -} - -type LoadBalancerAttributesAccessLogOutput struct{ *pulumi.OutputState } - -func (LoadBalancerAttributesAccessLogOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerAttributesAccessLog)(nil)).Elem() -} - -func (o LoadBalancerAttributesAccessLogOutput) ToLoadBalancerAttributesAccessLogOutput() LoadBalancerAttributesAccessLogOutput { - return o -} - -func (o LoadBalancerAttributesAccessLogOutput) ToLoadBalancerAttributesAccessLogOutputWithContext(ctx context.Context) LoadBalancerAttributesAccessLogOutput { - return o -} - -func (o LoadBalancerAttributesAccessLogOutput) ToLoadBalancerAttributesAccessLogPtrOutput() LoadBalancerAttributesAccessLogPtrOutput { - return o.ToLoadBalancerAttributesAccessLogPtrOutputWithContext(context.Background()) -} - -func (o LoadBalancerAttributesAccessLogOutput) ToLoadBalancerAttributesAccessLogPtrOutputWithContext(ctx context.Context) LoadBalancerAttributesAccessLogPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LoadBalancerAttributesAccessLog) *LoadBalancerAttributesAccessLog { - return &v - }).(LoadBalancerAttributesAccessLogPtrOutput) -} - -// If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osuBucketName` parameter is required. -func (o LoadBalancerAttributesAccessLogOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LoadBalancerAttributesAccessLog) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) -} - -// The name of the OOS bucket for the access logs. -func (o LoadBalancerAttributesAccessLogOutput) OsuBucketName() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerAttributesAccessLog) *string { return v.OsuBucketName }).(pulumi.StringPtrOutput) -} - -// The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). -func (o LoadBalancerAttributesAccessLogOutput) OsuBucketPrefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerAttributesAccessLog) *string { return v.OsuBucketPrefix }).(pulumi.StringPtrOutput) -} - -// The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). -func (o LoadBalancerAttributesAccessLogOutput) PublicationInterval() pulumi.IntPtrOutput { - return o.ApplyT(func(v LoadBalancerAttributesAccessLog) *int { return v.PublicationInterval }).(pulumi.IntPtrOutput) -} - -type LoadBalancerAttributesAccessLogPtrOutput struct{ *pulumi.OutputState } - -func (LoadBalancerAttributesAccessLogPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LoadBalancerAttributesAccessLog)(nil)).Elem() -} - -func (o LoadBalancerAttributesAccessLogPtrOutput) ToLoadBalancerAttributesAccessLogPtrOutput() LoadBalancerAttributesAccessLogPtrOutput { - return o -} - -func (o LoadBalancerAttributesAccessLogPtrOutput) ToLoadBalancerAttributesAccessLogPtrOutputWithContext(ctx context.Context) LoadBalancerAttributesAccessLogPtrOutput { - return o -} - -func (o LoadBalancerAttributesAccessLogPtrOutput) Elem() LoadBalancerAttributesAccessLogOutput { - return o.ApplyT(func(v *LoadBalancerAttributesAccessLog) LoadBalancerAttributesAccessLog { - if v != nil { - return *v - } - var ret LoadBalancerAttributesAccessLog - return ret - }).(LoadBalancerAttributesAccessLogOutput) -} - -// If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osuBucketName` parameter is required. -func (o LoadBalancerAttributesAccessLogPtrOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LoadBalancerAttributesAccessLog) *bool { - if v == nil { - return nil - } - return v.IsEnabled - }).(pulumi.BoolPtrOutput) -} - -// The name of the OOS bucket for the access logs. -func (o LoadBalancerAttributesAccessLogPtrOutput) OsuBucketName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LoadBalancerAttributesAccessLog) *string { - if v == nil { - return nil - } - return v.OsuBucketName - }).(pulumi.StringPtrOutput) -} - -// The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). -func (o LoadBalancerAttributesAccessLogPtrOutput) OsuBucketPrefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LoadBalancerAttributesAccessLog) *string { - if v == nil { - return nil - } - return v.OsuBucketPrefix - }).(pulumi.StringPtrOutput) -} - -// The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). -func (o LoadBalancerAttributesAccessLogPtrOutput) PublicationInterval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *LoadBalancerAttributesAccessLog) *int { - if v == nil { - return nil - } - return v.PublicationInterval - }).(pulumi.IntPtrOutput) -} - -type LoadBalancerAttributesApplicationStickyCookiePolicy struct { - // The name of the application cookie used for stickiness. - CookieName *string `pulumi:"cookieName"` - // The name of the stickiness policy. - PolicyName *string `pulumi:"policyName"` -} - -// LoadBalancerAttributesApplicationStickyCookiePolicyInput is an input type that accepts LoadBalancerAttributesApplicationStickyCookiePolicyArgs and LoadBalancerAttributesApplicationStickyCookiePolicyOutput values. -// You can construct a concrete instance of `LoadBalancerAttributesApplicationStickyCookiePolicyInput` via: -// -// LoadBalancerAttributesApplicationStickyCookiePolicyArgs{...} -type LoadBalancerAttributesApplicationStickyCookiePolicyInput interface { - pulumi.Input - - ToLoadBalancerAttributesApplicationStickyCookiePolicyOutput() LoadBalancerAttributesApplicationStickyCookiePolicyOutput - ToLoadBalancerAttributesApplicationStickyCookiePolicyOutputWithContext(context.Context) LoadBalancerAttributesApplicationStickyCookiePolicyOutput -} - -type LoadBalancerAttributesApplicationStickyCookiePolicyArgs struct { - // The name of the application cookie used for stickiness. - CookieName pulumi.StringPtrInput `pulumi:"cookieName"` - // The name of the stickiness policy. - PolicyName pulumi.StringPtrInput `pulumi:"policyName"` -} - -func (LoadBalancerAttributesApplicationStickyCookiePolicyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerAttributesApplicationStickyCookiePolicy)(nil)).Elem() -} - -func (i LoadBalancerAttributesApplicationStickyCookiePolicyArgs) ToLoadBalancerAttributesApplicationStickyCookiePolicyOutput() LoadBalancerAttributesApplicationStickyCookiePolicyOutput { - return i.ToLoadBalancerAttributesApplicationStickyCookiePolicyOutputWithContext(context.Background()) -} - -func (i LoadBalancerAttributesApplicationStickyCookiePolicyArgs) ToLoadBalancerAttributesApplicationStickyCookiePolicyOutputWithContext(ctx context.Context) LoadBalancerAttributesApplicationStickyCookiePolicyOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerAttributesApplicationStickyCookiePolicyOutput) -} - -// LoadBalancerAttributesApplicationStickyCookiePolicyArrayInput is an input type that accepts LoadBalancerAttributesApplicationStickyCookiePolicyArray and LoadBalancerAttributesApplicationStickyCookiePolicyArrayOutput values. -// You can construct a concrete instance of `LoadBalancerAttributesApplicationStickyCookiePolicyArrayInput` via: -// -// LoadBalancerAttributesApplicationStickyCookiePolicyArray{ LoadBalancerAttributesApplicationStickyCookiePolicyArgs{...} } -type LoadBalancerAttributesApplicationStickyCookiePolicyArrayInput interface { - pulumi.Input - - ToLoadBalancerAttributesApplicationStickyCookiePolicyArrayOutput() LoadBalancerAttributesApplicationStickyCookiePolicyArrayOutput - ToLoadBalancerAttributesApplicationStickyCookiePolicyArrayOutputWithContext(context.Context) LoadBalancerAttributesApplicationStickyCookiePolicyArrayOutput -} - -type LoadBalancerAttributesApplicationStickyCookiePolicyArray []LoadBalancerAttributesApplicationStickyCookiePolicyInput - -func (LoadBalancerAttributesApplicationStickyCookiePolicyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerAttributesApplicationStickyCookiePolicy)(nil)).Elem() -} - -func (i LoadBalancerAttributesApplicationStickyCookiePolicyArray) ToLoadBalancerAttributesApplicationStickyCookiePolicyArrayOutput() LoadBalancerAttributesApplicationStickyCookiePolicyArrayOutput { - return i.ToLoadBalancerAttributesApplicationStickyCookiePolicyArrayOutputWithContext(context.Background()) -} - -func (i LoadBalancerAttributesApplicationStickyCookiePolicyArray) ToLoadBalancerAttributesApplicationStickyCookiePolicyArrayOutputWithContext(ctx context.Context) LoadBalancerAttributesApplicationStickyCookiePolicyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerAttributesApplicationStickyCookiePolicyArrayOutput) -} - -type LoadBalancerAttributesApplicationStickyCookiePolicyOutput struct{ *pulumi.OutputState } - -func (LoadBalancerAttributesApplicationStickyCookiePolicyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerAttributesApplicationStickyCookiePolicy)(nil)).Elem() -} - -func (o LoadBalancerAttributesApplicationStickyCookiePolicyOutput) ToLoadBalancerAttributesApplicationStickyCookiePolicyOutput() LoadBalancerAttributesApplicationStickyCookiePolicyOutput { - return o -} - -func (o LoadBalancerAttributesApplicationStickyCookiePolicyOutput) ToLoadBalancerAttributesApplicationStickyCookiePolicyOutputWithContext(ctx context.Context) LoadBalancerAttributesApplicationStickyCookiePolicyOutput { - return o -} - -// The name of the application cookie used for stickiness. -func (o LoadBalancerAttributesApplicationStickyCookiePolicyOutput) CookieName() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerAttributesApplicationStickyCookiePolicy) *string { return v.CookieName }).(pulumi.StringPtrOutput) -} - -// The name of the stickiness policy. -func (o LoadBalancerAttributesApplicationStickyCookiePolicyOutput) PolicyName() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerAttributesApplicationStickyCookiePolicy) *string { return v.PolicyName }).(pulumi.StringPtrOutput) -} - -type LoadBalancerAttributesApplicationStickyCookiePolicyArrayOutput struct{ *pulumi.OutputState } - -func (LoadBalancerAttributesApplicationStickyCookiePolicyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerAttributesApplicationStickyCookiePolicy)(nil)).Elem() -} - -func (o LoadBalancerAttributesApplicationStickyCookiePolicyArrayOutput) ToLoadBalancerAttributesApplicationStickyCookiePolicyArrayOutput() LoadBalancerAttributesApplicationStickyCookiePolicyArrayOutput { - return o -} - -func (o LoadBalancerAttributesApplicationStickyCookiePolicyArrayOutput) ToLoadBalancerAttributesApplicationStickyCookiePolicyArrayOutputWithContext(ctx context.Context) LoadBalancerAttributesApplicationStickyCookiePolicyArrayOutput { - return o -} - -func (o LoadBalancerAttributesApplicationStickyCookiePolicyArrayOutput) Index(i pulumi.IntInput) LoadBalancerAttributesApplicationStickyCookiePolicyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) LoadBalancerAttributesApplicationStickyCookiePolicy { - return vs[0].([]LoadBalancerAttributesApplicationStickyCookiePolicy)[vs[1].(int)] - }).(LoadBalancerAttributesApplicationStickyCookiePolicyOutput) -} - -type LoadBalancerAttributesHealthCheck struct { - // The number of seconds between two pings (between `5` and `600` both included). - CheckInterval *int `pulumi:"checkInterval"` - // The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - HealthyThreshold *int `pulumi:"healthyThreshold"` - // If you use the HTTP or HTTPS protocols, the ping path. - Path *string `pulumi:"path"` - // The port number (between `1` and `65535`, both included). - Port int `pulumi:"port"` - // The protocol for the URL of the VM (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - Protocol string `pulumi:"protocol"` - // The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - Timeout *int `pulumi:"timeout"` - // The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - UnhealthyThreshold *int `pulumi:"unhealthyThreshold"` -} - -// LoadBalancerAttributesHealthCheckInput is an input type that accepts LoadBalancerAttributesHealthCheckArgs and LoadBalancerAttributesHealthCheckOutput values. -// You can construct a concrete instance of `LoadBalancerAttributesHealthCheckInput` via: -// -// LoadBalancerAttributesHealthCheckArgs{...} -type LoadBalancerAttributesHealthCheckInput interface { - pulumi.Input - - ToLoadBalancerAttributesHealthCheckOutput() LoadBalancerAttributesHealthCheckOutput - ToLoadBalancerAttributesHealthCheckOutputWithContext(context.Context) LoadBalancerAttributesHealthCheckOutput -} - -type LoadBalancerAttributesHealthCheckArgs struct { - // The number of seconds between two pings (between `5` and `600` both included). - CheckInterval pulumi.IntPtrInput `pulumi:"checkInterval"` - // The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - HealthyThreshold pulumi.IntPtrInput `pulumi:"healthyThreshold"` - // If you use the HTTP or HTTPS protocols, the ping path. - Path pulumi.StringPtrInput `pulumi:"path"` - // The port number (between `1` and `65535`, both included). - Port pulumi.IntInput `pulumi:"port"` - // The protocol for the URL of the VM (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - Protocol pulumi.StringInput `pulumi:"protocol"` - // The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - Timeout pulumi.IntPtrInput `pulumi:"timeout"` - // The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - UnhealthyThreshold pulumi.IntPtrInput `pulumi:"unhealthyThreshold"` -} - -func (LoadBalancerAttributesHealthCheckArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerAttributesHealthCheck)(nil)).Elem() -} - -func (i LoadBalancerAttributesHealthCheckArgs) ToLoadBalancerAttributesHealthCheckOutput() LoadBalancerAttributesHealthCheckOutput { - return i.ToLoadBalancerAttributesHealthCheckOutputWithContext(context.Background()) -} - -func (i LoadBalancerAttributesHealthCheckArgs) ToLoadBalancerAttributesHealthCheckOutputWithContext(ctx context.Context) LoadBalancerAttributesHealthCheckOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerAttributesHealthCheckOutput) -} - -func (i LoadBalancerAttributesHealthCheckArgs) ToLoadBalancerAttributesHealthCheckPtrOutput() LoadBalancerAttributesHealthCheckPtrOutput { - return i.ToLoadBalancerAttributesHealthCheckPtrOutputWithContext(context.Background()) -} - -func (i LoadBalancerAttributesHealthCheckArgs) ToLoadBalancerAttributesHealthCheckPtrOutputWithContext(ctx context.Context) LoadBalancerAttributesHealthCheckPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerAttributesHealthCheckOutput).ToLoadBalancerAttributesHealthCheckPtrOutputWithContext(ctx) -} - -// LoadBalancerAttributesHealthCheckPtrInput is an input type that accepts LoadBalancerAttributesHealthCheckArgs, LoadBalancerAttributesHealthCheckPtr and LoadBalancerAttributesHealthCheckPtrOutput values. -// You can construct a concrete instance of `LoadBalancerAttributesHealthCheckPtrInput` via: -// -// LoadBalancerAttributesHealthCheckArgs{...} -// -// or: -// -// nil -type LoadBalancerAttributesHealthCheckPtrInput interface { - pulumi.Input - - ToLoadBalancerAttributesHealthCheckPtrOutput() LoadBalancerAttributesHealthCheckPtrOutput - ToLoadBalancerAttributesHealthCheckPtrOutputWithContext(context.Context) LoadBalancerAttributesHealthCheckPtrOutput -} - -type loadBalancerAttributesHealthCheckPtrType LoadBalancerAttributesHealthCheckArgs - -func LoadBalancerAttributesHealthCheckPtr(v *LoadBalancerAttributesHealthCheckArgs) LoadBalancerAttributesHealthCheckPtrInput { - return (*loadBalancerAttributesHealthCheckPtrType)(v) -} - -func (*loadBalancerAttributesHealthCheckPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LoadBalancerAttributesHealthCheck)(nil)).Elem() -} - -func (i *loadBalancerAttributesHealthCheckPtrType) ToLoadBalancerAttributesHealthCheckPtrOutput() LoadBalancerAttributesHealthCheckPtrOutput { - return i.ToLoadBalancerAttributesHealthCheckPtrOutputWithContext(context.Background()) -} - -func (i *loadBalancerAttributesHealthCheckPtrType) ToLoadBalancerAttributesHealthCheckPtrOutputWithContext(ctx context.Context) LoadBalancerAttributesHealthCheckPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerAttributesHealthCheckPtrOutput) -} - -type LoadBalancerAttributesHealthCheckOutput struct{ *pulumi.OutputState } - -func (LoadBalancerAttributesHealthCheckOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerAttributesHealthCheck)(nil)).Elem() -} - -func (o LoadBalancerAttributesHealthCheckOutput) ToLoadBalancerAttributesHealthCheckOutput() LoadBalancerAttributesHealthCheckOutput { - return o -} - -func (o LoadBalancerAttributesHealthCheckOutput) ToLoadBalancerAttributesHealthCheckOutputWithContext(ctx context.Context) LoadBalancerAttributesHealthCheckOutput { - return o -} - -func (o LoadBalancerAttributesHealthCheckOutput) ToLoadBalancerAttributesHealthCheckPtrOutput() LoadBalancerAttributesHealthCheckPtrOutput { - return o.ToLoadBalancerAttributesHealthCheckPtrOutputWithContext(context.Background()) -} - -func (o LoadBalancerAttributesHealthCheckOutput) ToLoadBalancerAttributesHealthCheckPtrOutputWithContext(ctx context.Context) LoadBalancerAttributesHealthCheckPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LoadBalancerAttributesHealthCheck) *LoadBalancerAttributesHealthCheck { - return &v - }).(LoadBalancerAttributesHealthCheckPtrOutput) -} - -// The number of seconds between two pings (between `5` and `600` both included). -func (o LoadBalancerAttributesHealthCheckOutput) CheckInterval() pulumi.IntPtrOutput { - return o.ApplyT(func(v LoadBalancerAttributesHealthCheck) *int { return v.CheckInterval }).(pulumi.IntPtrOutput) -} - -// The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). -func (o LoadBalancerAttributesHealthCheckOutput) HealthyThreshold() pulumi.IntPtrOutput { - return o.ApplyT(func(v LoadBalancerAttributesHealthCheck) *int { return v.HealthyThreshold }).(pulumi.IntPtrOutput) -} - -// If you use the HTTP or HTTPS protocols, the ping path. -func (o LoadBalancerAttributesHealthCheckOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerAttributesHealthCheck) *string { return v.Path }).(pulumi.StringPtrOutput) -} - -// The port number (between `1` and `65535`, both included). -func (o LoadBalancerAttributesHealthCheckOutput) Port() pulumi.IntOutput { - return o.ApplyT(func(v LoadBalancerAttributesHealthCheck) int { return v.Port }).(pulumi.IntOutput) -} - -// The protocol for the URL of the VM (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). -func (o LoadBalancerAttributesHealthCheckOutput) Protocol() pulumi.StringOutput { - return o.ApplyT(func(v LoadBalancerAttributesHealthCheck) string { return v.Protocol }).(pulumi.StringOutput) -} - -// The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). -func (o LoadBalancerAttributesHealthCheckOutput) Timeout() pulumi.IntPtrOutput { - return o.ApplyT(func(v LoadBalancerAttributesHealthCheck) *int { return v.Timeout }).(pulumi.IntPtrOutput) -} - -// The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). -func (o LoadBalancerAttributesHealthCheckOutput) UnhealthyThreshold() pulumi.IntPtrOutput { - return o.ApplyT(func(v LoadBalancerAttributesHealthCheck) *int { return v.UnhealthyThreshold }).(pulumi.IntPtrOutput) -} - -type LoadBalancerAttributesHealthCheckPtrOutput struct{ *pulumi.OutputState } - -func (LoadBalancerAttributesHealthCheckPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LoadBalancerAttributesHealthCheck)(nil)).Elem() -} - -func (o LoadBalancerAttributesHealthCheckPtrOutput) ToLoadBalancerAttributesHealthCheckPtrOutput() LoadBalancerAttributesHealthCheckPtrOutput { - return o -} - -func (o LoadBalancerAttributesHealthCheckPtrOutput) ToLoadBalancerAttributesHealthCheckPtrOutputWithContext(ctx context.Context) LoadBalancerAttributesHealthCheckPtrOutput { - return o -} - -func (o LoadBalancerAttributesHealthCheckPtrOutput) Elem() LoadBalancerAttributesHealthCheckOutput { - return o.ApplyT(func(v *LoadBalancerAttributesHealthCheck) LoadBalancerAttributesHealthCheck { - if v != nil { - return *v - } - var ret LoadBalancerAttributesHealthCheck - return ret - }).(LoadBalancerAttributesHealthCheckOutput) -} - -// The number of seconds between two pings (between `5` and `600` both included). -func (o LoadBalancerAttributesHealthCheckPtrOutput) CheckInterval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *LoadBalancerAttributesHealthCheck) *int { - if v == nil { - return nil - } - return v.CheckInterval - }).(pulumi.IntPtrOutput) -} - -// The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). -func (o LoadBalancerAttributesHealthCheckPtrOutput) HealthyThreshold() pulumi.IntPtrOutput { - return o.ApplyT(func(v *LoadBalancerAttributesHealthCheck) *int { - if v == nil { - return nil - } - return v.HealthyThreshold - }).(pulumi.IntPtrOutput) -} - -// If you use the HTTP or HTTPS protocols, the ping path. -func (o LoadBalancerAttributesHealthCheckPtrOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LoadBalancerAttributesHealthCheck) *string { - if v == nil { - return nil - } - return v.Path - }).(pulumi.StringPtrOutput) -} - -// The port number (between `1` and `65535`, both included). -func (o LoadBalancerAttributesHealthCheckPtrOutput) Port() pulumi.IntPtrOutput { - return o.ApplyT(func(v *LoadBalancerAttributesHealthCheck) *int { - if v == nil { - return nil - } - return &v.Port - }).(pulumi.IntPtrOutput) -} - -// The protocol for the URL of the VM (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). -func (o LoadBalancerAttributesHealthCheckPtrOutput) Protocol() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LoadBalancerAttributesHealthCheck) *string { - if v == nil { - return nil - } - return &v.Protocol - }).(pulumi.StringPtrOutput) -} - -// The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). -func (o LoadBalancerAttributesHealthCheckPtrOutput) Timeout() pulumi.IntPtrOutput { - return o.ApplyT(func(v *LoadBalancerAttributesHealthCheck) *int { - if v == nil { - return nil - } - return v.Timeout - }).(pulumi.IntPtrOutput) -} - -// The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). -func (o LoadBalancerAttributesHealthCheckPtrOutput) UnhealthyThreshold() pulumi.IntPtrOutput { - return o.ApplyT(func(v *LoadBalancerAttributesHealthCheck) *int { - if v == nil { - return nil - } - return v.UnhealthyThreshold - }).(pulumi.IntPtrOutput) -} - -type LoadBalancerAttributesListener struct { - // The port on which the back-end VM is listening (between `1` and `65535`, both included). - BackendPort *int `pulumi:"backendPort"` - // The protocol for routing traffic to back-end VMs (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - BackendProtocol *string `pulumi:"backendProtocol"` - // The port on which the load balancer is listening (between `1` and `65535`, both included). This parameter is required if you want to update the server certificate. - LoadBalancerPort *int `pulumi:"loadBalancerPort"` - // The routing protocol (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - LoadBalancerProtocol *string `pulumi:"loadBalancerProtocol"` - // The name of the policy you want to enable for the listener. - PolicyNames []string `pulumi:"policyNames"` - // The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). If this parameter is specified, you must also specify the `loadBalancerPort` parameter. - ServerCertificateId *string `pulumi:"serverCertificateId"` -} - -// LoadBalancerAttributesListenerInput is an input type that accepts LoadBalancerAttributesListenerArgs and LoadBalancerAttributesListenerOutput values. -// You can construct a concrete instance of `LoadBalancerAttributesListenerInput` via: -// -// LoadBalancerAttributesListenerArgs{...} -type LoadBalancerAttributesListenerInput interface { - pulumi.Input - - ToLoadBalancerAttributesListenerOutput() LoadBalancerAttributesListenerOutput - ToLoadBalancerAttributesListenerOutputWithContext(context.Context) LoadBalancerAttributesListenerOutput -} - -type LoadBalancerAttributesListenerArgs struct { - // The port on which the back-end VM is listening (between `1` and `65535`, both included). - BackendPort pulumi.IntPtrInput `pulumi:"backendPort"` - // The protocol for routing traffic to back-end VMs (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - BackendProtocol pulumi.StringPtrInput `pulumi:"backendProtocol"` - // The port on which the load balancer is listening (between `1` and `65535`, both included). This parameter is required if you want to update the server certificate. - LoadBalancerPort pulumi.IntPtrInput `pulumi:"loadBalancerPort"` - // The routing protocol (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - LoadBalancerProtocol pulumi.StringPtrInput `pulumi:"loadBalancerProtocol"` - // The name of the policy you want to enable for the listener. - PolicyNames pulumi.StringArrayInput `pulumi:"policyNames"` - // The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). If this parameter is specified, you must also specify the `loadBalancerPort` parameter. - ServerCertificateId pulumi.StringPtrInput `pulumi:"serverCertificateId"` -} - -func (LoadBalancerAttributesListenerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerAttributesListener)(nil)).Elem() -} - -func (i LoadBalancerAttributesListenerArgs) ToLoadBalancerAttributesListenerOutput() LoadBalancerAttributesListenerOutput { - return i.ToLoadBalancerAttributesListenerOutputWithContext(context.Background()) -} - -func (i LoadBalancerAttributesListenerArgs) ToLoadBalancerAttributesListenerOutputWithContext(ctx context.Context) LoadBalancerAttributesListenerOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerAttributesListenerOutput) -} - -// LoadBalancerAttributesListenerArrayInput is an input type that accepts LoadBalancerAttributesListenerArray and LoadBalancerAttributesListenerArrayOutput values. -// You can construct a concrete instance of `LoadBalancerAttributesListenerArrayInput` via: -// -// LoadBalancerAttributesListenerArray{ LoadBalancerAttributesListenerArgs{...} } -type LoadBalancerAttributesListenerArrayInput interface { - pulumi.Input - - ToLoadBalancerAttributesListenerArrayOutput() LoadBalancerAttributesListenerArrayOutput - ToLoadBalancerAttributesListenerArrayOutputWithContext(context.Context) LoadBalancerAttributesListenerArrayOutput -} - -type LoadBalancerAttributesListenerArray []LoadBalancerAttributesListenerInput - -func (LoadBalancerAttributesListenerArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerAttributesListener)(nil)).Elem() -} - -func (i LoadBalancerAttributesListenerArray) ToLoadBalancerAttributesListenerArrayOutput() LoadBalancerAttributesListenerArrayOutput { - return i.ToLoadBalancerAttributesListenerArrayOutputWithContext(context.Background()) -} - -func (i LoadBalancerAttributesListenerArray) ToLoadBalancerAttributesListenerArrayOutputWithContext(ctx context.Context) LoadBalancerAttributesListenerArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerAttributesListenerArrayOutput) -} - -type LoadBalancerAttributesListenerOutput struct{ *pulumi.OutputState } - -func (LoadBalancerAttributesListenerOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerAttributesListener)(nil)).Elem() -} - -func (o LoadBalancerAttributesListenerOutput) ToLoadBalancerAttributesListenerOutput() LoadBalancerAttributesListenerOutput { - return o -} - -func (o LoadBalancerAttributesListenerOutput) ToLoadBalancerAttributesListenerOutputWithContext(ctx context.Context) LoadBalancerAttributesListenerOutput { - return o -} - -// The port on which the back-end VM is listening (between `1` and `65535`, both included). -func (o LoadBalancerAttributesListenerOutput) BackendPort() pulumi.IntPtrOutput { - return o.ApplyT(func(v LoadBalancerAttributesListener) *int { return v.BackendPort }).(pulumi.IntPtrOutput) -} - -// The protocol for routing traffic to back-end VMs (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). -func (o LoadBalancerAttributesListenerOutput) BackendProtocol() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerAttributesListener) *string { return v.BackendProtocol }).(pulumi.StringPtrOutput) -} - -// The port on which the load balancer is listening (between `1` and `65535`, both included). This parameter is required if you want to update the server certificate. -func (o LoadBalancerAttributesListenerOutput) LoadBalancerPort() pulumi.IntPtrOutput { - return o.ApplyT(func(v LoadBalancerAttributesListener) *int { return v.LoadBalancerPort }).(pulumi.IntPtrOutput) -} - -// The routing protocol (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). -func (o LoadBalancerAttributesListenerOutput) LoadBalancerProtocol() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerAttributesListener) *string { return v.LoadBalancerProtocol }).(pulumi.StringPtrOutput) -} - -// The name of the policy you want to enable for the listener. -func (o LoadBalancerAttributesListenerOutput) PolicyNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v LoadBalancerAttributesListener) []string { return v.PolicyNames }).(pulumi.StringArrayOutput) -} - -// The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). If this parameter is specified, you must also specify the `loadBalancerPort` parameter. -func (o LoadBalancerAttributesListenerOutput) ServerCertificateId() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerAttributesListener) *string { return v.ServerCertificateId }).(pulumi.StringPtrOutput) -} - -type LoadBalancerAttributesListenerArrayOutput struct{ *pulumi.OutputState } - -func (LoadBalancerAttributesListenerArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerAttributesListener)(nil)).Elem() -} - -func (o LoadBalancerAttributesListenerArrayOutput) ToLoadBalancerAttributesListenerArrayOutput() LoadBalancerAttributesListenerArrayOutput { - return o -} - -func (o LoadBalancerAttributesListenerArrayOutput) ToLoadBalancerAttributesListenerArrayOutputWithContext(ctx context.Context) LoadBalancerAttributesListenerArrayOutput { - return o -} - -func (o LoadBalancerAttributesListenerArrayOutput) Index(i pulumi.IntInput) LoadBalancerAttributesListenerOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) LoadBalancerAttributesListener { - return vs[0].([]LoadBalancerAttributesListener)[vs[1].(int)] - }).(LoadBalancerAttributesListenerOutput) -} - -type LoadBalancerAttributesLoadBalancerStickyCookiePolicy struct { - // The name of the stickiness policy. - PolicyName *string `pulumi:"policyName"` -} - -// LoadBalancerAttributesLoadBalancerStickyCookiePolicyInput is an input type that accepts LoadBalancerAttributesLoadBalancerStickyCookiePolicyArgs and LoadBalancerAttributesLoadBalancerStickyCookiePolicyOutput values. -// You can construct a concrete instance of `LoadBalancerAttributesLoadBalancerStickyCookiePolicyInput` via: -// -// LoadBalancerAttributesLoadBalancerStickyCookiePolicyArgs{...} -type LoadBalancerAttributesLoadBalancerStickyCookiePolicyInput interface { - pulumi.Input - - ToLoadBalancerAttributesLoadBalancerStickyCookiePolicyOutput() LoadBalancerAttributesLoadBalancerStickyCookiePolicyOutput - ToLoadBalancerAttributesLoadBalancerStickyCookiePolicyOutputWithContext(context.Context) LoadBalancerAttributesLoadBalancerStickyCookiePolicyOutput -} - -type LoadBalancerAttributesLoadBalancerStickyCookiePolicyArgs struct { - // The name of the stickiness policy. - PolicyName pulumi.StringPtrInput `pulumi:"policyName"` -} - -func (LoadBalancerAttributesLoadBalancerStickyCookiePolicyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerAttributesLoadBalancerStickyCookiePolicy)(nil)).Elem() -} - -func (i LoadBalancerAttributesLoadBalancerStickyCookiePolicyArgs) ToLoadBalancerAttributesLoadBalancerStickyCookiePolicyOutput() LoadBalancerAttributesLoadBalancerStickyCookiePolicyOutput { - return i.ToLoadBalancerAttributesLoadBalancerStickyCookiePolicyOutputWithContext(context.Background()) -} - -func (i LoadBalancerAttributesLoadBalancerStickyCookiePolicyArgs) ToLoadBalancerAttributesLoadBalancerStickyCookiePolicyOutputWithContext(ctx context.Context) LoadBalancerAttributesLoadBalancerStickyCookiePolicyOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerAttributesLoadBalancerStickyCookiePolicyOutput) -} - -// LoadBalancerAttributesLoadBalancerStickyCookiePolicyArrayInput is an input type that accepts LoadBalancerAttributesLoadBalancerStickyCookiePolicyArray and LoadBalancerAttributesLoadBalancerStickyCookiePolicyArrayOutput values. -// You can construct a concrete instance of `LoadBalancerAttributesLoadBalancerStickyCookiePolicyArrayInput` via: -// -// LoadBalancerAttributesLoadBalancerStickyCookiePolicyArray{ LoadBalancerAttributesLoadBalancerStickyCookiePolicyArgs{...} } -type LoadBalancerAttributesLoadBalancerStickyCookiePolicyArrayInput interface { - pulumi.Input - - ToLoadBalancerAttributesLoadBalancerStickyCookiePolicyArrayOutput() LoadBalancerAttributesLoadBalancerStickyCookiePolicyArrayOutput - ToLoadBalancerAttributesLoadBalancerStickyCookiePolicyArrayOutputWithContext(context.Context) LoadBalancerAttributesLoadBalancerStickyCookiePolicyArrayOutput -} - -type LoadBalancerAttributesLoadBalancerStickyCookiePolicyArray []LoadBalancerAttributesLoadBalancerStickyCookiePolicyInput - -func (LoadBalancerAttributesLoadBalancerStickyCookiePolicyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerAttributesLoadBalancerStickyCookiePolicy)(nil)).Elem() -} - -func (i LoadBalancerAttributesLoadBalancerStickyCookiePolicyArray) ToLoadBalancerAttributesLoadBalancerStickyCookiePolicyArrayOutput() LoadBalancerAttributesLoadBalancerStickyCookiePolicyArrayOutput { - return i.ToLoadBalancerAttributesLoadBalancerStickyCookiePolicyArrayOutputWithContext(context.Background()) -} - -func (i LoadBalancerAttributesLoadBalancerStickyCookiePolicyArray) ToLoadBalancerAttributesLoadBalancerStickyCookiePolicyArrayOutputWithContext(ctx context.Context) LoadBalancerAttributesLoadBalancerStickyCookiePolicyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerAttributesLoadBalancerStickyCookiePolicyArrayOutput) -} - -type LoadBalancerAttributesLoadBalancerStickyCookiePolicyOutput struct{ *pulumi.OutputState } - -func (LoadBalancerAttributesLoadBalancerStickyCookiePolicyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerAttributesLoadBalancerStickyCookiePolicy)(nil)).Elem() -} - -func (o LoadBalancerAttributesLoadBalancerStickyCookiePolicyOutput) ToLoadBalancerAttributesLoadBalancerStickyCookiePolicyOutput() LoadBalancerAttributesLoadBalancerStickyCookiePolicyOutput { - return o -} - -func (o LoadBalancerAttributesLoadBalancerStickyCookiePolicyOutput) ToLoadBalancerAttributesLoadBalancerStickyCookiePolicyOutputWithContext(ctx context.Context) LoadBalancerAttributesLoadBalancerStickyCookiePolicyOutput { - return o -} - -// The name of the stickiness policy. -func (o LoadBalancerAttributesLoadBalancerStickyCookiePolicyOutput) PolicyName() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerAttributesLoadBalancerStickyCookiePolicy) *string { return v.PolicyName }).(pulumi.StringPtrOutput) -} - -type LoadBalancerAttributesLoadBalancerStickyCookiePolicyArrayOutput struct{ *pulumi.OutputState } - -func (LoadBalancerAttributesLoadBalancerStickyCookiePolicyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerAttributesLoadBalancerStickyCookiePolicy)(nil)).Elem() -} - -func (o LoadBalancerAttributesLoadBalancerStickyCookiePolicyArrayOutput) ToLoadBalancerAttributesLoadBalancerStickyCookiePolicyArrayOutput() LoadBalancerAttributesLoadBalancerStickyCookiePolicyArrayOutput { - return o -} - -func (o LoadBalancerAttributesLoadBalancerStickyCookiePolicyArrayOutput) ToLoadBalancerAttributesLoadBalancerStickyCookiePolicyArrayOutputWithContext(ctx context.Context) LoadBalancerAttributesLoadBalancerStickyCookiePolicyArrayOutput { - return o -} - -func (o LoadBalancerAttributesLoadBalancerStickyCookiePolicyArrayOutput) Index(i pulumi.IntInput) LoadBalancerAttributesLoadBalancerStickyCookiePolicyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) LoadBalancerAttributesLoadBalancerStickyCookiePolicy { - return vs[0].([]LoadBalancerAttributesLoadBalancerStickyCookiePolicy)[vs[1].(int)] - }).(LoadBalancerAttributesLoadBalancerStickyCookiePolicyOutput) -} - -type LoadBalancerAttributesSourceSecurityGroup struct { - // The account ID of the owner of the security group. - SecurityGroupAccountId *string `pulumi:"securityGroupAccountId"` - // The name of the security group. - SecurityGroupName *string `pulumi:"securityGroupName"` -} - -// LoadBalancerAttributesSourceSecurityGroupInput is an input type that accepts LoadBalancerAttributesSourceSecurityGroupArgs and LoadBalancerAttributesSourceSecurityGroupOutput values. -// You can construct a concrete instance of `LoadBalancerAttributesSourceSecurityGroupInput` via: -// -// LoadBalancerAttributesSourceSecurityGroupArgs{...} -type LoadBalancerAttributesSourceSecurityGroupInput interface { - pulumi.Input - - ToLoadBalancerAttributesSourceSecurityGroupOutput() LoadBalancerAttributesSourceSecurityGroupOutput - ToLoadBalancerAttributesSourceSecurityGroupOutputWithContext(context.Context) LoadBalancerAttributesSourceSecurityGroupOutput -} - -type LoadBalancerAttributesSourceSecurityGroupArgs struct { - // The account ID of the owner of the security group. - SecurityGroupAccountId pulumi.StringPtrInput `pulumi:"securityGroupAccountId"` - // The name of the security group. - SecurityGroupName pulumi.StringPtrInput `pulumi:"securityGroupName"` -} - -func (LoadBalancerAttributesSourceSecurityGroupArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerAttributesSourceSecurityGroup)(nil)).Elem() -} - -func (i LoadBalancerAttributesSourceSecurityGroupArgs) ToLoadBalancerAttributesSourceSecurityGroupOutput() LoadBalancerAttributesSourceSecurityGroupOutput { - return i.ToLoadBalancerAttributesSourceSecurityGroupOutputWithContext(context.Background()) -} - -func (i LoadBalancerAttributesSourceSecurityGroupArgs) ToLoadBalancerAttributesSourceSecurityGroupOutputWithContext(ctx context.Context) LoadBalancerAttributesSourceSecurityGroupOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerAttributesSourceSecurityGroupOutput) -} - -// LoadBalancerAttributesSourceSecurityGroupArrayInput is an input type that accepts LoadBalancerAttributesSourceSecurityGroupArray and LoadBalancerAttributesSourceSecurityGroupArrayOutput values. -// You can construct a concrete instance of `LoadBalancerAttributesSourceSecurityGroupArrayInput` via: -// -// LoadBalancerAttributesSourceSecurityGroupArray{ LoadBalancerAttributesSourceSecurityGroupArgs{...} } -type LoadBalancerAttributesSourceSecurityGroupArrayInput interface { - pulumi.Input - - ToLoadBalancerAttributesSourceSecurityGroupArrayOutput() LoadBalancerAttributesSourceSecurityGroupArrayOutput - ToLoadBalancerAttributesSourceSecurityGroupArrayOutputWithContext(context.Context) LoadBalancerAttributesSourceSecurityGroupArrayOutput -} - -type LoadBalancerAttributesSourceSecurityGroupArray []LoadBalancerAttributesSourceSecurityGroupInput - -func (LoadBalancerAttributesSourceSecurityGroupArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerAttributesSourceSecurityGroup)(nil)).Elem() -} - -func (i LoadBalancerAttributesSourceSecurityGroupArray) ToLoadBalancerAttributesSourceSecurityGroupArrayOutput() LoadBalancerAttributesSourceSecurityGroupArrayOutput { - return i.ToLoadBalancerAttributesSourceSecurityGroupArrayOutputWithContext(context.Background()) -} - -func (i LoadBalancerAttributesSourceSecurityGroupArray) ToLoadBalancerAttributesSourceSecurityGroupArrayOutputWithContext(ctx context.Context) LoadBalancerAttributesSourceSecurityGroupArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerAttributesSourceSecurityGroupArrayOutput) -} - -type LoadBalancerAttributesSourceSecurityGroupOutput struct{ *pulumi.OutputState } - -func (LoadBalancerAttributesSourceSecurityGroupOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerAttributesSourceSecurityGroup)(nil)).Elem() -} - -func (o LoadBalancerAttributesSourceSecurityGroupOutput) ToLoadBalancerAttributesSourceSecurityGroupOutput() LoadBalancerAttributesSourceSecurityGroupOutput { - return o -} - -func (o LoadBalancerAttributesSourceSecurityGroupOutput) ToLoadBalancerAttributesSourceSecurityGroupOutputWithContext(ctx context.Context) LoadBalancerAttributesSourceSecurityGroupOutput { - return o -} - -// The account ID of the owner of the security group. -func (o LoadBalancerAttributesSourceSecurityGroupOutput) SecurityGroupAccountId() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerAttributesSourceSecurityGroup) *string { return v.SecurityGroupAccountId }).(pulumi.StringPtrOutput) -} - -// The name of the security group. -func (o LoadBalancerAttributesSourceSecurityGroupOutput) SecurityGroupName() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerAttributesSourceSecurityGroup) *string { return v.SecurityGroupName }).(pulumi.StringPtrOutput) -} - -type LoadBalancerAttributesSourceSecurityGroupArrayOutput struct{ *pulumi.OutputState } - -func (LoadBalancerAttributesSourceSecurityGroupArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerAttributesSourceSecurityGroup)(nil)).Elem() -} - -func (o LoadBalancerAttributesSourceSecurityGroupArrayOutput) ToLoadBalancerAttributesSourceSecurityGroupArrayOutput() LoadBalancerAttributesSourceSecurityGroupArrayOutput { - return o -} - -func (o LoadBalancerAttributesSourceSecurityGroupArrayOutput) ToLoadBalancerAttributesSourceSecurityGroupArrayOutputWithContext(ctx context.Context) LoadBalancerAttributesSourceSecurityGroupArrayOutput { - return o -} - -func (o LoadBalancerAttributesSourceSecurityGroupArrayOutput) Index(i pulumi.IntInput) LoadBalancerAttributesSourceSecurityGroupOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) LoadBalancerAttributesSourceSecurityGroup { - return vs[0].([]LoadBalancerAttributesSourceSecurityGroup)[vs[1].(int)] - }).(LoadBalancerAttributesSourceSecurityGroupOutput) -} - -type LoadBalancerAttributesTag struct { - // The key of the tag, with a minimum of 1 character. - Key *string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value *string `pulumi:"value"` -} - -// LoadBalancerAttributesTagInput is an input type that accepts LoadBalancerAttributesTagArgs and LoadBalancerAttributesTagOutput values. -// You can construct a concrete instance of `LoadBalancerAttributesTagInput` via: -// -// LoadBalancerAttributesTagArgs{...} -type LoadBalancerAttributesTagInput interface { - pulumi.Input - - ToLoadBalancerAttributesTagOutput() LoadBalancerAttributesTagOutput - ToLoadBalancerAttributesTagOutputWithContext(context.Context) LoadBalancerAttributesTagOutput -} - -type LoadBalancerAttributesTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringPtrInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringPtrInput `pulumi:"value"` -} - -func (LoadBalancerAttributesTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerAttributesTag)(nil)).Elem() -} - -func (i LoadBalancerAttributesTagArgs) ToLoadBalancerAttributesTagOutput() LoadBalancerAttributesTagOutput { - return i.ToLoadBalancerAttributesTagOutputWithContext(context.Background()) -} - -func (i LoadBalancerAttributesTagArgs) ToLoadBalancerAttributesTagOutputWithContext(ctx context.Context) LoadBalancerAttributesTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerAttributesTagOutput) -} - -// LoadBalancerAttributesTagArrayInput is an input type that accepts LoadBalancerAttributesTagArray and LoadBalancerAttributesTagArrayOutput values. -// You can construct a concrete instance of `LoadBalancerAttributesTagArrayInput` via: -// -// LoadBalancerAttributesTagArray{ LoadBalancerAttributesTagArgs{...} } -type LoadBalancerAttributesTagArrayInput interface { - pulumi.Input - - ToLoadBalancerAttributesTagArrayOutput() LoadBalancerAttributesTagArrayOutput - ToLoadBalancerAttributesTagArrayOutputWithContext(context.Context) LoadBalancerAttributesTagArrayOutput -} - -type LoadBalancerAttributesTagArray []LoadBalancerAttributesTagInput - -func (LoadBalancerAttributesTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerAttributesTag)(nil)).Elem() -} - -func (i LoadBalancerAttributesTagArray) ToLoadBalancerAttributesTagArrayOutput() LoadBalancerAttributesTagArrayOutput { - return i.ToLoadBalancerAttributesTagArrayOutputWithContext(context.Background()) -} - -func (i LoadBalancerAttributesTagArray) ToLoadBalancerAttributesTagArrayOutputWithContext(ctx context.Context) LoadBalancerAttributesTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerAttributesTagArrayOutput) -} - -type LoadBalancerAttributesTagOutput struct{ *pulumi.OutputState } - -func (LoadBalancerAttributesTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerAttributesTag)(nil)).Elem() -} - -func (o LoadBalancerAttributesTagOutput) ToLoadBalancerAttributesTagOutput() LoadBalancerAttributesTagOutput { - return o -} - -func (o LoadBalancerAttributesTagOutput) ToLoadBalancerAttributesTagOutputWithContext(ctx context.Context) LoadBalancerAttributesTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o LoadBalancerAttributesTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerAttributesTag) *string { return v.Key }).(pulumi.StringPtrOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o LoadBalancerAttributesTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerAttributesTag) *string { return v.Value }).(pulumi.StringPtrOutput) -} - -type LoadBalancerAttributesTagArrayOutput struct{ *pulumi.OutputState } - -func (LoadBalancerAttributesTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerAttributesTag)(nil)).Elem() -} - -func (o LoadBalancerAttributesTagArrayOutput) ToLoadBalancerAttributesTagArrayOutput() LoadBalancerAttributesTagArrayOutput { - return o -} - -func (o LoadBalancerAttributesTagArrayOutput) ToLoadBalancerAttributesTagArrayOutputWithContext(ctx context.Context) LoadBalancerAttributesTagArrayOutput { - return o -} - -func (o LoadBalancerAttributesTagArrayOutput) Index(i pulumi.IntInput) LoadBalancerAttributesTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) LoadBalancerAttributesTag { - return vs[0].([]LoadBalancerAttributesTag)[vs[1].(int)] - }).(LoadBalancerAttributesTagOutput) -} - -type LoadBalancerHealthCheck struct { - // The number of seconds between two pings (between `5` and `600` both included). - CheckInterval *int `pulumi:"checkInterval"` - // The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - HealthyThreshold *int `pulumi:"healthyThreshold"` - // If you use the HTTP or HTTPS protocols, the ping path. - Path *string `pulumi:"path"` - // The port number (between `1` and `65535`, both included). - Port *int `pulumi:"port"` - // The protocol for the URL of the VM (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - Protocol *string `pulumi:"protocol"` - // The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - Timeout *int `pulumi:"timeout"` - // The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - UnhealthyThreshold *int `pulumi:"unhealthyThreshold"` -} - -// LoadBalancerHealthCheckInput is an input type that accepts LoadBalancerHealthCheckArgs and LoadBalancerHealthCheckOutput values. -// You can construct a concrete instance of `LoadBalancerHealthCheckInput` via: -// -// LoadBalancerHealthCheckArgs{...} -type LoadBalancerHealthCheckInput interface { - pulumi.Input - - ToLoadBalancerHealthCheckOutput() LoadBalancerHealthCheckOutput - ToLoadBalancerHealthCheckOutputWithContext(context.Context) LoadBalancerHealthCheckOutput -} - -type LoadBalancerHealthCheckArgs struct { - // The number of seconds between two pings (between `5` and `600` both included). - CheckInterval pulumi.IntPtrInput `pulumi:"checkInterval"` - // The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - HealthyThreshold pulumi.IntPtrInput `pulumi:"healthyThreshold"` - // If you use the HTTP or HTTPS protocols, the ping path. - Path pulumi.StringPtrInput `pulumi:"path"` - // The port number (between `1` and `65535`, both included). - Port pulumi.IntPtrInput `pulumi:"port"` - // The protocol for the URL of the VM (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - Protocol pulumi.StringPtrInput `pulumi:"protocol"` - // The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - Timeout pulumi.IntPtrInput `pulumi:"timeout"` - // The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - UnhealthyThreshold pulumi.IntPtrInput `pulumi:"unhealthyThreshold"` -} - -func (LoadBalancerHealthCheckArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerHealthCheck)(nil)).Elem() -} - -func (i LoadBalancerHealthCheckArgs) ToLoadBalancerHealthCheckOutput() LoadBalancerHealthCheckOutput { - return i.ToLoadBalancerHealthCheckOutputWithContext(context.Background()) -} - -func (i LoadBalancerHealthCheckArgs) ToLoadBalancerHealthCheckOutputWithContext(ctx context.Context) LoadBalancerHealthCheckOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerHealthCheckOutput) -} - -// LoadBalancerHealthCheckArrayInput is an input type that accepts LoadBalancerHealthCheckArray and LoadBalancerHealthCheckArrayOutput values. -// You can construct a concrete instance of `LoadBalancerHealthCheckArrayInput` via: -// -// LoadBalancerHealthCheckArray{ LoadBalancerHealthCheckArgs{...} } -type LoadBalancerHealthCheckArrayInput interface { - pulumi.Input - - ToLoadBalancerHealthCheckArrayOutput() LoadBalancerHealthCheckArrayOutput - ToLoadBalancerHealthCheckArrayOutputWithContext(context.Context) LoadBalancerHealthCheckArrayOutput -} - -type LoadBalancerHealthCheckArray []LoadBalancerHealthCheckInput - -func (LoadBalancerHealthCheckArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerHealthCheck)(nil)).Elem() -} - -func (i LoadBalancerHealthCheckArray) ToLoadBalancerHealthCheckArrayOutput() LoadBalancerHealthCheckArrayOutput { - return i.ToLoadBalancerHealthCheckArrayOutputWithContext(context.Background()) -} - -func (i LoadBalancerHealthCheckArray) ToLoadBalancerHealthCheckArrayOutputWithContext(ctx context.Context) LoadBalancerHealthCheckArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerHealthCheckArrayOutput) -} - -type LoadBalancerHealthCheckOutput struct{ *pulumi.OutputState } - -func (LoadBalancerHealthCheckOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerHealthCheck)(nil)).Elem() -} - -func (o LoadBalancerHealthCheckOutput) ToLoadBalancerHealthCheckOutput() LoadBalancerHealthCheckOutput { - return o -} - -func (o LoadBalancerHealthCheckOutput) ToLoadBalancerHealthCheckOutputWithContext(ctx context.Context) LoadBalancerHealthCheckOutput { - return o -} - -// The number of seconds between two pings (between `5` and `600` both included). -func (o LoadBalancerHealthCheckOutput) CheckInterval() pulumi.IntPtrOutput { - return o.ApplyT(func(v LoadBalancerHealthCheck) *int { return v.CheckInterval }).(pulumi.IntPtrOutput) -} - -// The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). -func (o LoadBalancerHealthCheckOutput) HealthyThreshold() pulumi.IntPtrOutput { - return o.ApplyT(func(v LoadBalancerHealthCheck) *int { return v.HealthyThreshold }).(pulumi.IntPtrOutput) -} - -// If you use the HTTP or HTTPS protocols, the ping path. -func (o LoadBalancerHealthCheckOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerHealthCheck) *string { return v.Path }).(pulumi.StringPtrOutput) -} - -// The port number (between `1` and `65535`, both included). -func (o LoadBalancerHealthCheckOutput) Port() pulumi.IntPtrOutput { - return o.ApplyT(func(v LoadBalancerHealthCheck) *int { return v.Port }).(pulumi.IntPtrOutput) -} - -// The protocol for the URL of the VM (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). -func (o LoadBalancerHealthCheckOutput) Protocol() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerHealthCheck) *string { return v.Protocol }).(pulumi.StringPtrOutput) -} - -// The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). -func (o LoadBalancerHealthCheckOutput) Timeout() pulumi.IntPtrOutput { - return o.ApplyT(func(v LoadBalancerHealthCheck) *int { return v.Timeout }).(pulumi.IntPtrOutput) -} - -// The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). -func (o LoadBalancerHealthCheckOutput) UnhealthyThreshold() pulumi.IntPtrOutput { - return o.ApplyT(func(v LoadBalancerHealthCheck) *int { return v.UnhealthyThreshold }).(pulumi.IntPtrOutput) -} - -type LoadBalancerHealthCheckArrayOutput struct{ *pulumi.OutputState } - -func (LoadBalancerHealthCheckArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerHealthCheck)(nil)).Elem() -} - -func (o LoadBalancerHealthCheckArrayOutput) ToLoadBalancerHealthCheckArrayOutput() LoadBalancerHealthCheckArrayOutput { - return o -} - -func (o LoadBalancerHealthCheckArrayOutput) ToLoadBalancerHealthCheckArrayOutputWithContext(ctx context.Context) LoadBalancerHealthCheckArrayOutput { - return o -} - -func (o LoadBalancerHealthCheckArrayOutput) Index(i pulumi.IntInput) LoadBalancerHealthCheckOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) LoadBalancerHealthCheck { - return vs[0].([]LoadBalancerHealthCheck)[vs[1].(int)] - }).(LoadBalancerHealthCheckOutput) -} - -type LoadBalancerListener struct { - // The port on which the back-end VM is listening (between `1` and `65535`, both included). - BackendPort int `pulumi:"backendPort"` - // The protocol for routing traffic to back-end VMs (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - BackendProtocol string `pulumi:"backendProtocol"` - // The port on which the load balancer is listening (between `1` and `65535`, both included). - LoadBalancerPort int `pulumi:"loadBalancerPort"` - // The routing protocol (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - LoadBalancerProtocol string `pulumi:"loadBalancerProtocol"` - // The names of the policies. If there are no policies enabled, the list is empty. - PolicyNames []string `pulumi:"policyNames"` - // The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > OUTSCALE Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - ServerCertificateId *string `pulumi:"serverCertificateId"` -} - -// LoadBalancerListenerInput is an input type that accepts LoadBalancerListenerArgs and LoadBalancerListenerOutput values. -// You can construct a concrete instance of `LoadBalancerListenerInput` via: -// -// LoadBalancerListenerArgs{...} -type LoadBalancerListenerInput interface { - pulumi.Input - - ToLoadBalancerListenerOutput() LoadBalancerListenerOutput - ToLoadBalancerListenerOutputWithContext(context.Context) LoadBalancerListenerOutput -} - -type LoadBalancerListenerArgs struct { - // The port on which the back-end VM is listening (between `1` and `65535`, both included). - BackendPort pulumi.IntInput `pulumi:"backendPort"` - // The protocol for routing traffic to back-end VMs (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - BackendProtocol pulumi.StringInput `pulumi:"backendProtocol"` - // The port on which the load balancer is listening (between `1` and `65535`, both included). - LoadBalancerPort pulumi.IntInput `pulumi:"loadBalancerPort"` - // The routing protocol (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - LoadBalancerProtocol pulumi.StringInput `pulumi:"loadBalancerProtocol"` - // The names of the policies. If there are no policies enabled, the list is empty. - PolicyNames pulumi.StringArrayInput `pulumi:"policyNames"` - // The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > OUTSCALE Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - ServerCertificateId pulumi.StringPtrInput `pulumi:"serverCertificateId"` -} - -func (LoadBalancerListenerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerListener)(nil)).Elem() -} - -func (i LoadBalancerListenerArgs) ToLoadBalancerListenerOutput() LoadBalancerListenerOutput { - return i.ToLoadBalancerListenerOutputWithContext(context.Background()) -} - -func (i LoadBalancerListenerArgs) ToLoadBalancerListenerOutputWithContext(ctx context.Context) LoadBalancerListenerOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerListenerOutput) -} - -// LoadBalancerListenerArrayInput is an input type that accepts LoadBalancerListenerArray and LoadBalancerListenerArrayOutput values. -// You can construct a concrete instance of `LoadBalancerListenerArrayInput` via: -// -// LoadBalancerListenerArray{ LoadBalancerListenerArgs{...} } -type LoadBalancerListenerArrayInput interface { - pulumi.Input - - ToLoadBalancerListenerArrayOutput() LoadBalancerListenerArrayOutput - ToLoadBalancerListenerArrayOutputWithContext(context.Context) LoadBalancerListenerArrayOutput -} - -type LoadBalancerListenerArray []LoadBalancerListenerInput - -func (LoadBalancerListenerArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerListener)(nil)).Elem() -} - -func (i LoadBalancerListenerArray) ToLoadBalancerListenerArrayOutput() LoadBalancerListenerArrayOutput { - return i.ToLoadBalancerListenerArrayOutputWithContext(context.Background()) -} - -func (i LoadBalancerListenerArray) ToLoadBalancerListenerArrayOutputWithContext(ctx context.Context) LoadBalancerListenerArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerListenerArrayOutput) -} - -type LoadBalancerListenerOutput struct{ *pulumi.OutputState } - -func (LoadBalancerListenerOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerListener)(nil)).Elem() -} - -func (o LoadBalancerListenerOutput) ToLoadBalancerListenerOutput() LoadBalancerListenerOutput { - return o -} - -func (o LoadBalancerListenerOutput) ToLoadBalancerListenerOutputWithContext(ctx context.Context) LoadBalancerListenerOutput { - return o -} - -// The port on which the back-end VM is listening (between `1` and `65535`, both included). -func (o LoadBalancerListenerOutput) BackendPort() pulumi.IntOutput { - return o.ApplyT(func(v LoadBalancerListener) int { return v.BackendPort }).(pulumi.IntOutput) -} - -// The protocol for routing traffic to back-end VMs (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). -func (o LoadBalancerListenerOutput) BackendProtocol() pulumi.StringOutput { - return o.ApplyT(func(v LoadBalancerListener) string { return v.BackendProtocol }).(pulumi.StringOutput) -} - -// The port on which the load balancer is listening (between `1` and `65535`, both included). -func (o LoadBalancerListenerOutput) LoadBalancerPort() pulumi.IntOutput { - return o.ApplyT(func(v LoadBalancerListener) int { return v.LoadBalancerPort }).(pulumi.IntOutput) -} - -// The routing protocol (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). -func (o LoadBalancerListenerOutput) LoadBalancerProtocol() pulumi.StringOutput { - return o.ApplyT(func(v LoadBalancerListener) string { return v.LoadBalancerProtocol }).(pulumi.StringOutput) -} - -// The names of the policies. If there are no policies enabled, the list is empty. -func (o LoadBalancerListenerOutput) PolicyNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v LoadBalancerListener) []string { return v.PolicyNames }).(pulumi.StringArrayOutput) -} - -// The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > OUTSCALE Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). -func (o LoadBalancerListenerOutput) ServerCertificateId() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerListener) *string { return v.ServerCertificateId }).(pulumi.StringPtrOutput) -} - -type LoadBalancerListenerArrayOutput struct{ *pulumi.OutputState } - -func (LoadBalancerListenerArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerListener)(nil)).Elem() -} - -func (o LoadBalancerListenerArrayOutput) ToLoadBalancerListenerArrayOutput() LoadBalancerListenerArrayOutput { - return o -} - -func (o LoadBalancerListenerArrayOutput) ToLoadBalancerListenerArrayOutputWithContext(ctx context.Context) LoadBalancerListenerArrayOutput { - return o -} - -func (o LoadBalancerListenerArrayOutput) Index(i pulumi.IntInput) LoadBalancerListenerOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) LoadBalancerListener { - return vs[0].([]LoadBalancerListener)[vs[1].(int)] - }).(LoadBalancerListenerOutput) -} - -type LoadBalancerLoadBalancerStickyCookiePolicy struct { - // The name of the stickiness policy. - PolicyName *string `pulumi:"policyName"` -} - -// LoadBalancerLoadBalancerStickyCookiePolicyInput is an input type that accepts LoadBalancerLoadBalancerStickyCookiePolicyArgs and LoadBalancerLoadBalancerStickyCookiePolicyOutput values. -// You can construct a concrete instance of `LoadBalancerLoadBalancerStickyCookiePolicyInput` via: -// -// LoadBalancerLoadBalancerStickyCookiePolicyArgs{...} -type LoadBalancerLoadBalancerStickyCookiePolicyInput interface { - pulumi.Input - - ToLoadBalancerLoadBalancerStickyCookiePolicyOutput() LoadBalancerLoadBalancerStickyCookiePolicyOutput - ToLoadBalancerLoadBalancerStickyCookiePolicyOutputWithContext(context.Context) LoadBalancerLoadBalancerStickyCookiePolicyOutput -} - -type LoadBalancerLoadBalancerStickyCookiePolicyArgs struct { - // The name of the stickiness policy. - PolicyName pulumi.StringPtrInput `pulumi:"policyName"` -} - -func (LoadBalancerLoadBalancerStickyCookiePolicyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerLoadBalancerStickyCookiePolicy)(nil)).Elem() -} - -func (i LoadBalancerLoadBalancerStickyCookiePolicyArgs) ToLoadBalancerLoadBalancerStickyCookiePolicyOutput() LoadBalancerLoadBalancerStickyCookiePolicyOutput { - return i.ToLoadBalancerLoadBalancerStickyCookiePolicyOutputWithContext(context.Background()) -} - -func (i LoadBalancerLoadBalancerStickyCookiePolicyArgs) ToLoadBalancerLoadBalancerStickyCookiePolicyOutputWithContext(ctx context.Context) LoadBalancerLoadBalancerStickyCookiePolicyOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerLoadBalancerStickyCookiePolicyOutput) -} - -// LoadBalancerLoadBalancerStickyCookiePolicyArrayInput is an input type that accepts LoadBalancerLoadBalancerStickyCookiePolicyArray and LoadBalancerLoadBalancerStickyCookiePolicyArrayOutput values. -// You can construct a concrete instance of `LoadBalancerLoadBalancerStickyCookiePolicyArrayInput` via: -// -// LoadBalancerLoadBalancerStickyCookiePolicyArray{ LoadBalancerLoadBalancerStickyCookiePolicyArgs{...} } -type LoadBalancerLoadBalancerStickyCookiePolicyArrayInput interface { - pulumi.Input - - ToLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput() LoadBalancerLoadBalancerStickyCookiePolicyArrayOutput - ToLoadBalancerLoadBalancerStickyCookiePolicyArrayOutputWithContext(context.Context) LoadBalancerLoadBalancerStickyCookiePolicyArrayOutput -} - -type LoadBalancerLoadBalancerStickyCookiePolicyArray []LoadBalancerLoadBalancerStickyCookiePolicyInput - -func (LoadBalancerLoadBalancerStickyCookiePolicyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerLoadBalancerStickyCookiePolicy)(nil)).Elem() -} - -func (i LoadBalancerLoadBalancerStickyCookiePolicyArray) ToLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput() LoadBalancerLoadBalancerStickyCookiePolicyArrayOutput { - return i.ToLoadBalancerLoadBalancerStickyCookiePolicyArrayOutputWithContext(context.Background()) -} - -func (i LoadBalancerLoadBalancerStickyCookiePolicyArray) ToLoadBalancerLoadBalancerStickyCookiePolicyArrayOutputWithContext(ctx context.Context) LoadBalancerLoadBalancerStickyCookiePolicyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerLoadBalancerStickyCookiePolicyArrayOutput) -} - -type LoadBalancerLoadBalancerStickyCookiePolicyOutput struct{ *pulumi.OutputState } - -func (LoadBalancerLoadBalancerStickyCookiePolicyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerLoadBalancerStickyCookiePolicy)(nil)).Elem() -} - -func (o LoadBalancerLoadBalancerStickyCookiePolicyOutput) ToLoadBalancerLoadBalancerStickyCookiePolicyOutput() LoadBalancerLoadBalancerStickyCookiePolicyOutput { - return o -} - -func (o LoadBalancerLoadBalancerStickyCookiePolicyOutput) ToLoadBalancerLoadBalancerStickyCookiePolicyOutputWithContext(ctx context.Context) LoadBalancerLoadBalancerStickyCookiePolicyOutput { - return o -} - -// The name of the stickiness policy. -func (o LoadBalancerLoadBalancerStickyCookiePolicyOutput) PolicyName() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerLoadBalancerStickyCookiePolicy) *string { return v.PolicyName }).(pulumi.StringPtrOutput) -} - -type LoadBalancerLoadBalancerStickyCookiePolicyArrayOutput struct{ *pulumi.OutputState } - -func (LoadBalancerLoadBalancerStickyCookiePolicyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerLoadBalancerStickyCookiePolicy)(nil)).Elem() -} - -func (o LoadBalancerLoadBalancerStickyCookiePolicyArrayOutput) ToLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput() LoadBalancerLoadBalancerStickyCookiePolicyArrayOutput { - return o -} - -func (o LoadBalancerLoadBalancerStickyCookiePolicyArrayOutput) ToLoadBalancerLoadBalancerStickyCookiePolicyArrayOutputWithContext(ctx context.Context) LoadBalancerLoadBalancerStickyCookiePolicyArrayOutput { - return o -} - -func (o LoadBalancerLoadBalancerStickyCookiePolicyArrayOutput) Index(i pulumi.IntInput) LoadBalancerLoadBalancerStickyCookiePolicyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) LoadBalancerLoadBalancerStickyCookiePolicy { - return vs[0].([]LoadBalancerLoadBalancerStickyCookiePolicy)[vs[1].(int)] - }).(LoadBalancerLoadBalancerStickyCookiePolicyOutput) -} - -type LoadBalancerPolicyAccessLog struct { - // If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osuBucketName` parameter is required. - IsEnabled *bool `pulumi:"isEnabled"` - // The name of the OOS bucket for the access logs. - OsuBucketName *string `pulumi:"osuBucketName"` - // The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - OsuBucketPrefix *string `pulumi:"osuBucketPrefix"` - // The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - PublicationInterval *int `pulumi:"publicationInterval"` -} - -// LoadBalancerPolicyAccessLogInput is an input type that accepts LoadBalancerPolicyAccessLogArgs and LoadBalancerPolicyAccessLogOutput values. -// You can construct a concrete instance of `LoadBalancerPolicyAccessLogInput` via: -// -// LoadBalancerPolicyAccessLogArgs{...} -type LoadBalancerPolicyAccessLogInput interface { - pulumi.Input - - ToLoadBalancerPolicyAccessLogOutput() LoadBalancerPolicyAccessLogOutput - ToLoadBalancerPolicyAccessLogOutputWithContext(context.Context) LoadBalancerPolicyAccessLogOutput -} - -type LoadBalancerPolicyAccessLogArgs struct { - // If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osuBucketName` parameter is required. - IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` - // The name of the OOS bucket for the access logs. - OsuBucketName pulumi.StringPtrInput `pulumi:"osuBucketName"` - // The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - OsuBucketPrefix pulumi.StringPtrInput `pulumi:"osuBucketPrefix"` - // The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - PublicationInterval pulumi.IntPtrInput `pulumi:"publicationInterval"` -} - -func (LoadBalancerPolicyAccessLogArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerPolicyAccessLog)(nil)).Elem() -} - -func (i LoadBalancerPolicyAccessLogArgs) ToLoadBalancerPolicyAccessLogOutput() LoadBalancerPolicyAccessLogOutput { - return i.ToLoadBalancerPolicyAccessLogOutputWithContext(context.Background()) -} - -func (i LoadBalancerPolicyAccessLogArgs) ToLoadBalancerPolicyAccessLogOutputWithContext(ctx context.Context) LoadBalancerPolicyAccessLogOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerPolicyAccessLogOutput) -} - -// LoadBalancerPolicyAccessLogArrayInput is an input type that accepts LoadBalancerPolicyAccessLogArray and LoadBalancerPolicyAccessLogArrayOutput values. -// You can construct a concrete instance of `LoadBalancerPolicyAccessLogArrayInput` via: -// -// LoadBalancerPolicyAccessLogArray{ LoadBalancerPolicyAccessLogArgs{...} } -type LoadBalancerPolicyAccessLogArrayInput interface { - pulumi.Input - - ToLoadBalancerPolicyAccessLogArrayOutput() LoadBalancerPolicyAccessLogArrayOutput - ToLoadBalancerPolicyAccessLogArrayOutputWithContext(context.Context) LoadBalancerPolicyAccessLogArrayOutput -} - -type LoadBalancerPolicyAccessLogArray []LoadBalancerPolicyAccessLogInput - -func (LoadBalancerPolicyAccessLogArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerPolicyAccessLog)(nil)).Elem() -} - -func (i LoadBalancerPolicyAccessLogArray) ToLoadBalancerPolicyAccessLogArrayOutput() LoadBalancerPolicyAccessLogArrayOutput { - return i.ToLoadBalancerPolicyAccessLogArrayOutputWithContext(context.Background()) -} - -func (i LoadBalancerPolicyAccessLogArray) ToLoadBalancerPolicyAccessLogArrayOutputWithContext(ctx context.Context) LoadBalancerPolicyAccessLogArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerPolicyAccessLogArrayOutput) -} - -type LoadBalancerPolicyAccessLogOutput struct{ *pulumi.OutputState } - -func (LoadBalancerPolicyAccessLogOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerPolicyAccessLog)(nil)).Elem() -} - -func (o LoadBalancerPolicyAccessLogOutput) ToLoadBalancerPolicyAccessLogOutput() LoadBalancerPolicyAccessLogOutput { - return o -} - -func (o LoadBalancerPolicyAccessLogOutput) ToLoadBalancerPolicyAccessLogOutputWithContext(ctx context.Context) LoadBalancerPolicyAccessLogOutput { - return o -} - -// If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osuBucketName` parameter is required. -func (o LoadBalancerPolicyAccessLogOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LoadBalancerPolicyAccessLog) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) -} - -// The name of the OOS bucket for the access logs. -func (o LoadBalancerPolicyAccessLogOutput) OsuBucketName() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerPolicyAccessLog) *string { return v.OsuBucketName }).(pulumi.StringPtrOutput) -} - -// The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). -func (o LoadBalancerPolicyAccessLogOutput) OsuBucketPrefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerPolicyAccessLog) *string { return v.OsuBucketPrefix }).(pulumi.StringPtrOutput) -} - -// The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). -func (o LoadBalancerPolicyAccessLogOutput) PublicationInterval() pulumi.IntPtrOutput { - return o.ApplyT(func(v LoadBalancerPolicyAccessLog) *int { return v.PublicationInterval }).(pulumi.IntPtrOutput) -} - -type LoadBalancerPolicyAccessLogArrayOutput struct{ *pulumi.OutputState } - -func (LoadBalancerPolicyAccessLogArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerPolicyAccessLog)(nil)).Elem() -} - -func (o LoadBalancerPolicyAccessLogArrayOutput) ToLoadBalancerPolicyAccessLogArrayOutput() LoadBalancerPolicyAccessLogArrayOutput { - return o -} - -func (o LoadBalancerPolicyAccessLogArrayOutput) ToLoadBalancerPolicyAccessLogArrayOutputWithContext(ctx context.Context) LoadBalancerPolicyAccessLogArrayOutput { - return o -} - -func (o LoadBalancerPolicyAccessLogArrayOutput) Index(i pulumi.IntInput) LoadBalancerPolicyAccessLogOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) LoadBalancerPolicyAccessLog { - return vs[0].([]LoadBalancerPolicyAccessLog)[vs[1].(int)] - }).(LoadBalancerPolicyAccessLogOutput) -} - -type LoadBalancerPolicyApplicationStickyCookiePolicy struct { - // The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie. - CookieName *string `pulumi:"cookieName"` - // The name of the policy. This name must be unique and consist of alphanumeric characters and dashes (-). - PolicyName *string `pulumi:"policyName"` -} - -// LoadBalancerPolicyApplicationStickyCookiePolicyInput is an input type that accepts LoadBalancerPolicyApplicationStickyCookiePolicyArgs and LoadBalancerPolicyApplicationStickyCookiePolicyOutput values. -// You can construct a concrete instance of `LoadBalancerPolicyApplicationStickyCookiePolicyInput` via: -// -// LoadBalancerPolicyApplicationStickyCookiePolicyArgs{...} -type LoadBalancerPolicyApplicationStickyCookiePolicyInput interface { - pulumi.Input - - ToLoadBalancerPolicyApplicationStickyCookiePolicyOutput() LoadBalancerPolicyApplicationStickyCookiePolicyOutput - ToLoadBalancerPolicyApplicationStickyCookiePolicyOutputWithContext(context.Context) LoadBalancerPolicyApplicationStickyCookiePolicyOutput -} - -type LoadBalancerPolicyApplicationStickyCookiePolicyArgs struct { - // The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie. - CookieName pulumi.StringPtrInput `pulumi:"cookieName"` - // The name of the policy. This name must be unique and consist of alphanumeric characters and dashes (-). - PolicyName pulumi.StringPtrInput `pulumi:"policyName"` -} - -func (LoadBalancerPolicyApplicationStickyCookiePolicyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerPolicyApplicationStickyCookiePolicy)(nil)).Elem() -} - -func (i LoadBalancerPolicyApplicationStickyCookiePolicyArgs) ToLoadBalancerPolicyApplicationStickyCookiePolicyOutput() LoadBalancerPolicyApplicationStickyCookiePolicyOutput { - return i.ToLoadBalancerPolicyApplicationStickyCookiePolicyOutputWithContext(context.Background()) -} - -func (i LoadBalancerPolicyApplicationStickyCookiePolicyArgs) ToLoadBalancerPolicyApplicationStickyCookiePolicyOutputWithContext(ctx context.Context) LoadBalancerPolicyApplicationStickyCookiePolicyOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerPolicyApplicationStickyCookiePolicyOutput) -} - -// LoadBalancerPolicyApplicationStickyCookiePolicyArrayInput is an input type that accepts LoadBalancerPolicyApplicationStickyCookiePolicyArray and LoadBalancerPolicyApplicationStickyCookiePolicyArrayOutput values. -// You can construct a concrete instance of `LoadBalancerPolicyApplicationStickyCookiePolicyArrayInput` via: -// -// LoadBalancerPolicyApplicationStickyCookiePolicyArray{ LoadBalancerPolicyApplicationStickyCookiePolicyArgs{...} } -type LoadBalancerPolicyApplicationStickyCookiePolicyArrayInput interface { - pulumi.Input - - ToLoadBalancerPolicyApplicationStickyCookiePolicyArrayOutput() LoadBalancerPolicyApplicationStickyCookiePolicyArrayOutput - ToLoadBalancerPolicyApplicationStickyCookiePolicyArrayOutputWithContext(context.Context) LoadBalancerPolicyApplicationStickyCookiePolicyArrayOutput -} - -type LoadBalancerPolicyApplicationStickyCookiePolicyArray []LoadBalancerPolicyApplicationStickyCookiePolicyInput - -func (LoadBalancerPolicyApplicationStickyCookiePolicyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerPolicyApplicationStickyCookiePolicy)(nil)).Elem() -} - -func (i LoadBalancerPolicyApplicationStickyCookiePolicyArray) ToLoadBalancerPolicyApplicationStickyCookiePolicyArrayOutput() LoadBalancerPolicyApplicationStickyCookiePolicyArrayOutput { - return i.ToLoadBalancerPolicyApplicationStickyCookiePolicyArrayOutputWithContext(context.Background()) -} - -func (i LoadBalancerPolicyApplicationStickyCookiePolicyArray) ToLoadBalancerPolicyApplicationStickyCookiePolicyArrayOutputWithContext(ctx context.Context) LoadBalancerPolicyApplicationStickyCookiePolicyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerPolicyApplicationStickyCookiePolicyArrayOutput) -} - -type LoadBalancerPolicyApplicationStickyCookiePolicyOutput struct{ *pulumi.OutputState } - -func (LoadBalancerPolicyApplicationStickyCookiePolicyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerPolicyApplicationStickyCookiePolicy)(nil)).Elem() -} - -func (o LoadBalancerPolicyApplicationStickyCookiePolicyOutput) ToLoadBalancerPolicyApplicationStickyCookiePolicyOutput() LoadBalancerPolicyApplicationStickyCookiePolicyOutput { - return o -} - -func (o LoadBalancerPolicyApplicationStickyCookiePolicyOutput) ToLoadBalancerPolicyApplicationStickyCookiePolicyOutputWithContext(ctx context.Context) LoadBalancerPolicyApplicationStickyCookiePolicyOutput { - return o -} - -// The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie. -func (o LoadBalancerPolicyApplicationStickyCookiePolicyOutput) CookieName() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerPolicyApplicationStickyCookiePolicy) *string { return v.CookieName }).(pulumi.StringPtrOutput) -} - -// The name of the policy. This name must be unique and consist of alphanumeric characters and dashes (-). -func (o LoadBalancerPolicyApplicationStickyCookiePolicyOutput) PolicyName() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerPolicyApplicationStickyCookiePolicy) *string { return v.PolicyName }).(pulumi.StringPtrOutput) -} - -type LoadBalancerPolicyApplicationStickyCookiePolicyArrayOutput struct{ *pulumi.OutputState } - -func (LoadBalancerPolicyApplicationStickyCookiePolicyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerPolicyApplicationStickyCookiePolicy)(nil)).Elem() -} - -func (o LoadBalancerPolicyApplicationStickyCookiePolicyArrayOutput) ToLoadBalancerPolicyApplicationStickyCookiePolicyArrayOutput() LoadBalancerPolicyApplicationStickyCookiePolicyArrayOutput { - return o -} - -func (o LoadBalancerPolicyApplicationStickyCookiePolicyArrayOutput) ToLoadBalancerPolicyApplicationStickyCookiePolicyArrayOutputWithContext(ctx context.Context) LoadBalancerPolicyApplicationStickyCookiePolicyArrayOutput { - return o -} - -func (o LoadBalancerPolicyApplicationStickyCookiePolicyArrayOutput) Index(i pulumi.IntInput) LoadBalancerPolicyApplicationStickyCookiePolicyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) LoadBalancerPolicyApplicationStickyCookiePolicy { - return vs[0].([]LoadBalancerPolicyApplicationStickyCookiePolicy)[vs[1].(int)] - }).(LoadBalancerPolicyApplicationStickyCookiePolicyOutput) -} - -type LoadBalancerPolicyHealthCheck struct { - // The number of seconds between two pings (between `5` and `600` both included). - CheckInterval *int `pulumi:"checkInterval"` - // The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - HealthyThreshold *int `pulumi:"healthyThreshold"` - // If you use the HTTP or HTTPS protocols, the ping path. - Path *string `pulumi:"path"` - // The port number (between `1` and `65535`, both included). - Port *int `pulumi:"port"` - // The protocol for the URL of the VM (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - Protocol *string `pulumi:"protocol"` - // The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - Timeout *int `pulumi:"timeout"` - // The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - UnhealthyThreshold *int `pulumi:"unhealthyThreshold"` -} - -// LoadBalancerPolicyHealthCheckInput is an input type that accepts LoadBalancerPolicyHealthCheckArgs and LoadBalancerPolicyHealthCheckOutput values. -// You can construct a concrete instance of `LoadBalancerPolicyHealthCheckInput` via: -// -// LoadBalancerPolicyHealthCheckArgs{...} -type LoadBalancerPolicyHealthCheckInput interface { - pulumi.Input - - ToLoadBalancerPolicyHealthCheckOutput() LoadBalancerPolicyHealthCheckOutput - ToLoadBalancerPolicyHealthCheckOutputWithContext(context.Context) LoadBalancerPolicyHealthCheckOutput -} - -type LoadBalancerPolicyHealthCheckArgs struct { - // The number of seconds between two pings (between `5` and `600` both included). - CheckInterval pulumi.IntPtrInput `pulumi:"checkInterval"` - // The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - HealthyThreshold pulumi.IntPtrInput `pulumi:"healthyThreshold"` - // If you use the HTTP or HTTPS protocols, the ping path. - Path pulumi.StringPtrInput `pulumi:"path"` - // The port number (between `1` and `65535`, both included). - Port pulumi.IntPtrInput `pulumi:"port"` - // The protocol for the URL of the VM (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - Protocol pulumi.StringPtrInput `pulumi:"protocol"` - // The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - Timeout pulumi.IntPtrInput `pulumi:"timeout"` - // The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - UnhealthyThreshold pulumi.IntPtrInput `pulumi:"unhealthyThreshold"` -} - -func (LoadBalancerPolicyHealthCheckArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerPolicyHealthCheck)(nil)).Elem() -} - -func (i LoadBalancerPolicyHealthCheckArgs) ToLoadBalancerPolicyHealthCheckOutput() LoadBalancerPolicyHealthCheckOutput { - return i.ToLoadBalancerPolicyHealthCheckOutputWithContext(context.Background()) -} - -func (i LoadBalancerPolicyHealthCheckArgs) ToLoadBalancerPolicyHealthCheckOutputWithContext(ctx context.Context) LoadBalancerPolicyHealthCheckOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerPolicyHealthCheckOutput) -} - -// LoadBalancerPolicyHealthCheckArrayInput is an input type that accepts LoadBalancerPolicyHealthCheckArray and LoadBalancerPolicyHealthCheckArrayOutput values. -// You can construct a concrete instance of `LoadBalancerPolicyHealthCheckArrayInput` via: -// -// LoadBalancerPolicyHealthCheckArray{ LoadBalancerPolicyHealthCheckArgs{...} } -type LoadBalancerPolicyHealthCheckArrayInput interface { - pulumi.Input - - ToLoadBalancerPolicyHealthCheckArrayOutput() LoadBalancerPolicyHealthCheckArrayOutput - ToLoadBalancerPolicyHealthCheckArrayOutputWithContext(context.Context) LoadBalancerPolicyHealthCheckArrayOutput -} - -type LoadBalancerPolicyHealthCheckArray []LoadBalancerPolicyHealthCheckInput - -func (LoadBalancerPolicyHealthCheckArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerPolicyHealthCheck)(nil)).Elem() -} - -func (i LoadBalancerPolicyHealthCheckArray) ToLoadBalancerPolicyHealthCheckArrayOutput() LoadBalancerPolicyHealthCheckArrayOutput { - return i.ToLoadBalancerPolicyHealthCheckArrayOutputWithContext(context.Background()) -} - -func (i LoadBalancerPolicyHealthCheckArray) ToLoadBalancerPolicyHealthCheckArrayOutputWithContext(ctx context.Context) LoadBalancerPolicyHealthCheckArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerPolicyHealthCheckArrayOutput) -} - -type LoadBalancerPolicyHealthCheckOutput struct{ *pulumi.OutputState } - -func (LoadBalancerPolicyHealthCheckOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerPolicyHealthCheck)(nil)).Elem() -} - -func (o LoadBalancerPolicyHealthCheckOutput) ToLoadBalancerPolicyHealthCheckOutput() LoadBalancerPolicyHealthCheckOutput { - return o -} - -func (o LoadBalancerPolicyHealthCheckOutput) ToLoadBalancerPolicyHealthCheckOutputWithContext(ctx context.Context) LoadBalancerPolicyHealthCheckOutput { - return o -} - -// The number of seconds between two pings (between `5` and `600` both included). -func (o LoadBalancerPolicyHealthCheckOutput) CheckInterval() pulumi.IntPtrOutput { - return o.ApplyT(func(v LoadBalancerPolicyHealthCheck) *int { return v.CheckInterval }).(pulumi.IntPtrOutput) -} - -// The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). -func (o LoadBalancerPolicyHealthCheckOutput) HealthyThreshold() pulumi.IntPtrOutput { - return o.ApplyT(func(v LoadBalancerPolicyHealthCheck) *int { return v.HealthyThreshold }).(pulumi.IntPtrOutput) -} - -// If you use the HTTP or HTTPS protocols, the ping path. -func (o LoadBalancerPolicyHealthCheckOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerPolicyHealthCheck) *string { return v.Path }).(pulumi.StringPtrOutput) -} - -// The port number (between `1` and `65535`, both included). -func (o LoadBalancerPolicyHealthCheckOutput) Port() pulumi.IntPtrOutput { - return o.ApplyT(func(v LoadBalancerPolicyHealthCheck) *int { return v.Port }).(pulumi.IntPtrOutput) -} - -// The protocol for the URL of the VM (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). -func (o LoadBalancerPolicyHealthCheckOutput) Protocol() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerPolicyHealthCheck) *string { return v.Protocol }).(pulumi.StringPtrOutput) -} - -// The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). -func (o LoadBalancerPolicyHealthCheckOutput) Timeout() pulumi.IntPtrOutput { - return o.ApplyT(func(v LoadBalancerPolicyHealthCheck) *int { return v.Timeout }).(pulumi.IntPtrOutput) -} - -// The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). -func (o LoadBalancerPolicyHealthCheckOutput) UnhealthyThreshold() pulumi.IntPtrOutput { - return o.ApplyT(func(v LoadBalancerPolicyHealthCheck) *int { return v.UnhealthyThreshold }).(pulumi.IntPtrOutput) -} - -type LoadBalancerPolicyHealthCheckArrayOutput struct{ *pulumi.OutputState } - -func (LoadBalancerPolicyHealthCheckArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerPolicyHealthCheck)(nil)).Elem() -} - -func (o LoadBalancerPolicyHealthCheckArrayOutput) ToLoadBalancerPolicyHealthCheckArrayOutput() LoadBalancerPolicyHealthCheckArrayOutput { - return o -} - -func (o LoadBalancerPolicyHealthCheckArrayOutput) ToLoadBalancerPolicyHealthCheckArrayOutputWithContext(ctx context.Context) LoadBalancerPolicyHealthCheckArrayOutput { - return o -} - -func (o LoadBalancerPolicyHealthCheckArrayOutput) Index(i pulumi.IntInput) LoadBalancerPolicyHealthCheckOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) LoadBalancerPolicyHealthCheck { - return vs[0].([]LoadBalancerPolicyHealthCheck)[vs[1].(int)] - }).(LoadBalancerPolicyHealthCheckOutput) -} - -type LoadBalancerPolicyListener struct { - // The port on which the back-end VM is listening (between `1` and `65535`, both included). - BackendPort *int `pulumi:"backendPort"` - // The protocol for routing traffic to back-end VMs (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - BackendProtocol *string `pulumi:"backendProtocol"` - // The port on which the load balancer is listening (between `1` and `65535`, both included). - LoadBalancerPort *int `pulumi:"loadBalancerPort"` - // The routing protocol (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - LoadBalancerProtocol *string `pulumi:"loadBalancerProtocol"` - // The names of the policies. If there are no policies enabled, the list is empty. - PolicyNames []string `pulumi:"policyNames"` - // The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > OUTSCALE Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - ServerCertificateId *string `pulumi:"serverCertificateId"` -} - -// LoadBalancerPolicyListenerInput is an input type that accepts LoadBalancerPolicyListenerArgs and LoadBalancerPolicyListenerOutput values. -// You can construct a concrete instance of `LoadBalancerPolicyListenerInput` via: -// -// LoadBalancerPolicyListenerArgs{...} -type LoadBalancerPolicyListenerInput interface { - pulumi.Input - - ToLoadBalancerPolicyListenerOutput() LoadBalancerPolicyListenerOutput - ToLoadBalancerPolicyListenerOutputWithContext(context.Context) LoadBalancerPolicyListenerOutput -} - -type LoadBalancerPolicyListenerArgs struct { - // The port on which the back-end VM is listening (between `1` and `65535`, both included). - BackendPort pulumi.IntPtrInput `pulumi:"backendPort"` - // The protocol for routing traffic to back-end VMs (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - BackendProtocol pulumi.StringPtrInput `pulumi:"backendProtocol"` - // The port on which the load balancer is listening (between `1` and `65535`, both included). - LoadBalancerPort pulumi.IntPtrInput `pulumi:"loadBalancerPort"` - // The routing protocol (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - LoadBalancerProtocol pulumi.StringPtrInput `pulumi:"loadBalancerProtocol"` - // The names of the policies. If there are no policies enabled, the list is empty. - PolicyNames pulumi.StringArrayInput `pulumi:"policyNames"` - // The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > OUTSCALE Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - ServerCertificateId pulumi.StringPtrInput `pulumi:"serverCertificateId"` -} - -func (LoadBalancerPolicyListenerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerPolicyListener)(nil)).Elem() -} - -func (i LoadBalancerPolicyListenerArgs) ToLoadBalancerPolicyListenerOutput() LoadBalancerPolicyListenerOutput { - return i.ToLoadBalancerPolicyListenerOutputWithContext(context.Background()) -} - -func (i LoadBalancerPolicyListenerArgs) ToLoadBalancerPolicyListenerOutputWithContext(ctx context.Context) LoadBalancerPolicyListenerOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerPolicyListenerOutput) -} - -// LoadBalancerPolicyListenerArrayInput is an input type that accepts LoadBalancerPolicyListenerArray and LoadBalancerPolicyListenerArrayOutput values. -// You can construct a concrete instance of `LoadBalancerPolicyListenerArrayInput` via: -// -// LoadBalancerPolicyListenerArray{ LoadBalancerPolicyListenerArgs{...} } -type LoadBalancerPolicyListenerArrayInput interface { - pulumi.Input - - ToLoadBalancerPolicyListenerArrayOutput() LoadBalancerPolicyListenerArrayOutput - ToLoadBalancerPolicyListenerArrayOutputWithContext(context.Context) LoadBalancerPolicyListenerArrayOutput -} - -type LoadBalancerPolicyListenerArray []LoadBalancerPolicyListenerInput - -func (LoadBalancerPolicyListenerArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerPolicyListener)(nil)).Elem() -} - -func (i LoadBalancerPolicyListenerArray) ToLoadBalancerPolicyListenerArrayOutput() LoadBalancerPolicyListenerArrayOutput { - return i.ToLoadBalancerPolicyListenerArrayOutputWithContext(context.Background()) -} - -func (i LoadBalancerPolicyListenerArray) ToLoadBalancerPolicyListenerArrayOutputWithContext(ctx context.Context) LoadBalancerPolicyListenerArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerPolicyListenerArrayOutput) -} - -type LoadBalancerPolicyListenerOutput struct{ *pulumi.OutputState } - -func (LoadBalancerPolicyListenerOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerPolicyListener)(nil)).Elem() -} - -func (o LoadBalancerPolicyListenerOutput) ToLoadBalancerPolicyListenerOutput() LoadBalancerPolicyListenerOutput { - return o -} - -func (o LoadBalancerPolicyListenerOutput) ToLoadBalancerPolicyListenerOutputWithContext(ctx context.Context) LoadBalancerPolicyListenerOutput { - return o -} - -// The port on which the back-end VM is listening (between `1` and `65535`, both included). -func (o LoadBalancerPolicyListenerOutput) BackendPort() pulumi.IntPtrOutput { - return o.ApplyT(func(v LoadBalancerPolicyListener) *int { return v.BackendPort }).(pulumi.IntPtrOutput) -} - -// The protocol for routing traffic to back-end VMs (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). -func (o LoadBalancerPolicyListenerOutput) BackendProtocol() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerPolicyListener) *string { return v.BackendProtocol }).(pulumi.StringPtrOutput) -} - -// The port on which the load balancer is listening (between `1` and `65535`, both included). -func (o LoadBalancerPolicyListenerOutput) LoadBalancerPort() pulumi.IntPtrOutput { - return o.ApplyT(func(v LoadBalancerPolicyListener) *int { return v.LoadBalancerPort }).(pulumi.IntPtrOutput) -} - -// The routing protocol (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). -func (o LoadBalancerPolicyListenerOutput) LoadBalancerProtocol() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerPolicyListener) *string { return v.LoadBalancerProtocol }).(pulumi.StringPtrOutput) -} - -// The names of the policies. If there are no policies enabled, the list is empty. -func (o LoadBalancerPolicyListenerOutput) PolicyNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v LoadBalancerPolicyListener) []string { return v.PolicyNames }).(pulumi.StringArrayOutput) -} - -// The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > OUTSCALE Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). -func (o LoadBalancerPolicyListenerOutput) ServerCertificateId() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerPolicyListener) *string { return v.ServerCertificateId }).(pulumi.StringPtrOutput) -} - -type LoadBalancerPolicyListenerArrayOutput struct{ *pulumi.OutputState } - -func (LoadBalancerPolicyListenerArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerPolicyListener)(nil)).Elem() -} - -func (o LoadBalancerPolicyListenerArrayOutput) ToLoadBalancerPolicyListenerArrayOutput() LoadBalancerPolicyListenerArrayOutput { - return o -} - -func (o LoadBalancerPolicyListenerArrayOutput) ToLoadBalancerPolicyListenerArrayOutputWithContext(ctx context.Context) LoadBalancerPolicyListenerArrayOutput { - return o -} - -func (o LoadBalancerPolicyListenerArrayOutput) Index(i pulumi.IntInput) LoadBalancerPolicyListenerOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) LoadBalancerPolicyListener { - return vs[0].([]LoadBalancerPolicyListener)[vs[1].(int)] - }).(LoadBalancerPolicyListenerOutput) -} - -type LoadBalancerPolicyLoadBalancerStickyCookiePolicy struct { - // The name of the policy. This name must be unique and consist of alphanumeric characters and dashes (-). - PolicyName *string `pulumi:"policyName"` -} - -// LoadBalancerPolicyLoadBalancerStickyCookiePolicyInput is an input type that accepts LoadBalancerPolicyLoadBalancerStickyCookiePolicyArgs and LoadBalancerPolicyLoadBalancerStickyCookiePolicyOutput values. -// You can construct a concrete instance of `LoadBalancerPolicyLoadBalancerStickyCookiePolicyInput` via: -// -// LoadBalancerPolicyLoadBalancerStickyCookiePolicyArgs{...} -type LoadBalancerPolicyLoadBalancerStickyCookiePolicyInput interface { - pulumi.Input - - ToLoadBalancerPolicyLoadBalancerStickyCookiePolicyOutput() LoadBalancerPolicyLoadBalancerStickyCookiePolicyOutput - ToLoadBalancerPolicyLoadBalancerStickyCookiePolicyOutputWithContext(context.Context) LoadBalancerPolicyLoadBalancerStickyCookiePolicyOutput -} - -type LoadBalancerPolicyLoadBalancerStickyCookiePolicyArgs struct { - // The name of the policy. This name must be unique and consist of alphanumeric characters and dashes (-). - PolicyName pulumi.StringPtrInput `pulumi:"policyName"` -} - -func (LoadBalancerPolicyLoadBalancerStickyCookiePolicyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerPolicyLoadBalancerStickyCookiePolicy)(nil)).Elem() -} - -func (i LoadBalancerPolicyLoadBalancerStickyCookiePolicyArgs) ToLoadBalancerPolicyLoadBalancerStickyCookiePolicyOutput() LoadBalancerPolicyLoadBalancerStickyCookiePolicyOutput { - return i.ToLoadBalancerPolicyLoadBalancerStickyCookiePolicyOutputWithContext(context.Background()) -} - -func (i LoadBalancerPolicyLoadBalancerStickyCookiePolicyArgs) ToLoadBalancerPolicyLoadBalancerStickyCookiePolicyOutputWithContext(ctx context.Context) LoadBalancerPolicyLoadBalancerStickyCookiePolicyOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerPolicyLoadBalancerStickyCookiePolicyOutput) -} - -// LoadBalancerPolicyLoadBalancerStickyCookiePolicyArrayInput is an input type that accepts LoadBalancerPolicyLoadBalancerStickyCookiePolicyArray and LoadBalancerPolicyLoadBalancerStickyCookiePolicyArrayOutput values. -// You can construct a concrete instance of `LoadBalancerPolicyLoadBalancerStickyCookiePolicyArrayInput` via: -// -// LoadBalancerPolicyLoadBalancerStickyCookiePolicyArray{ LoadBalancerPolicyLoadBalancerStickyCookiePolicyArgs{...} } -type LoadBalancerPolicyLoadBalancerStickyCookiePolicyArrayInput interface { - pulumi.Input - - ToLoadBalancerPolicyLoadBalancerStickyCookiePolicyArrayOutput() LoadBalancerPolicyLoadBalancerStickyCookiePolicyArrayOutput - ToLoadBalancerPolicyLoadBalancerStickyCookiePolicyArrayOutputWithContext(context.Context) LoadBalancerPolicyLoadBalancerStickyCookiePolicyArrayOutput -} - -type LoadBalancerPolicyLoadBalancerStickyCookiePolicyArray []LoadBalancerPolicyLoadBalancerStickyCookiePolicyInput - -func (LoadBalancerPolicyLoadBalancerStickyCookiePolicyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerPolicyLoadBalancerStickyCookiePolicy)(nil)).Elem() -} - -func (i LoadBalancerPolicyLoadBalancerStickyCookiePolicyArray) ToLoadBalancerPolicyLoadBalancerStickyCookiePolicyArrayOutput() LoadBalancerPolicyLoadBalancerStickyCookiePolicyArrayOutput { - return i.ToLoadBalancerPolicyLoadBalancerStickyCookiePolicyArrayOutputWithContext(context.Background()) -} - -func (i LoadBalancerPolicyLoadBalancerStickyCookiePolicyArray) ToLoadBalancerPolicyLoadBalancerStickyCookiePolicyArrayOutputWithContext(ctx context.Context) LoadBalancerPolicyLoadBalancerStickyCookiePolicyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerPolicyLoadBalancerStickyCookiePolicyArrayOutput) -} - -type LoadBalancerPolicyLoadBalancerStickyCookiePolicyOutput struct{ *pulumi.OutputState } - -func (LoadBalancerPolicyLoadBalancerStickyCookiePolicyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerPolicyLoadBalancerStickyCookiePolicy)(nil)).Elem() -} - -func (o LoadBalancerPolicyLoadBalancerStickyCookiePolicyOutput) ToLoadBalancerPolicyLoadBalancerStickyCookiePolicyOutput() LoadBalancerPolicyLoadBalancerStickyCookiePolicyOutput { - return o -} - -func (o LoadBalancerPolicyLoadBalancerStickyCookiePolicyOutput) ToLoadBalancerPolicyLoadBalancerStickyCookiePolicyOutputWithContext(ctx context.Context) LoadBalancerPolicyLoadBalancerStickyCookiePolicyOutput { - return o -} - -// The name of the policy. This name must be unique and consist of alphanumeric characters and dashes (-). -func (o LoadBalancerPolicyLoadBalancerStickyCookiePolicyOutput) PolicyName() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerPolicyLoadBalancerStickyCookiePolicy) *string { return v.PolicyName }).(pulumi.StringPtrOutput) -} - -type LoadBalancerPolicyLoadBalancerStickyCookiePolicyArrayOutput struct{ *pulumi.OutputState } - -func (LoadBalancerPolicyLoadBalancerStickyCookiePolicyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerPolicyLoadBalancerStickyCookiePolicy)(nil)).Elem() -} - -func (o LoadBalancerPolicyLoadBalancerStickyCookiePolicyArrayOutput) ToLoadBalancerPolicyLoadBalancerStickyCookiePolicyArrayOutput() LoadBalancerPolicyLoadBalancerStickyCookiePolicyArrayOutput { - return o -} - -func (o LoadBalancerPolicyLoadBalancerStickyCookiePolicyArrayOutput) ToLoadBalancerPolicyLoadBalancerStickyCookiePolicyArrayOutputWithContext(ctx context.Context) LoadBalancerPolicyLoadBalancerStickyCookiePolicyArrayOutput { - return o -} - -func (o LoadBalancerPolicyLoadBalancerStickyCookiePolicyArrayOutput) Index(i pulumi.IntInput) LoadBalancerPolicyLoadBalancerStickyCookiePolicyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) LoadBalancerPolicyLoadBalancerStickyCookiePolicy { - return vs[0].([]LoadBalancerPolicyLoadBalancerStickyCookiePolicy)[vs[1].(int)] - }).(LoadBalancerPolicyLoadBalancerStickyCookiePolicyOutput) -} - -type LoadBalancerPolicySourceSecurityGroup struct { - // The account ID of the owner of the security group. - SecurityGroupAccountId *string `pulumi:"securityGroupAccountId"` - // The name of the security group. - SecurityGroupName *string `pulumi:"securityGroupName"` -} - -// LoadBalancerPolicySourceSecurityGroupInput is an input type that accepts LoadBalancerPolicySourceSecurityGroupArgs and LoadBalancerPolicySourceSecurityGroupOutput values. -// You can construct a concrete instance of `LoadBalancerPolicySourceSecurityGroupInput` via: -// -// LoadBalancerPolicySourceSecurityGroupArgs{...} -type LoadBalancerPolicySourceSecurityGroupInput interface { - pulumi.Input - - ToLoadBalancerPolicySourceSecurityGroupOutput() LoadBalancerPolicySourceSecurityGroupOutput - ToLoadBalancerPolicySourceSecurityGroupOutputWithContext(context.Context) LoadBalancerPolicySourceSecurityGroupOutput -} - -type LoadBalancerPolicySourceSecurityGroupArgs struct { - // The account ID of the owner of the security group. - SecurityGroupAccountId pulumi.StringPtrInput `pulumi:"securityGroupAccountId"` - // The name of the security group. - SecurityGroupName pulumi.StringPtrInput `pulumi:"securityGroupName"` -} - -func (LoadBalancerPolicySourceSecurityGroupArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerPolicySourceSecurityGroup)(nil)).Elem() -} - -func (i LoadBalancerPolicySourceSecurityGroupArgs) ToLoadBalancerPolicySourceSecurityGroupOutput() LoadBalancerPolicySourceSecurityGroupOutput { - return i.ToLoadBalancerPolicySourceSecurityGroupOutputWithContext(context.Background()) -} - -func (i LoadBalancerPolicySourceSecurityGroupArgs) ToLoadBalancerPolicySourceSecurityGroupOutputWithContext(ctx context.Context) LoadBalancerPolicySourceSecurityGroupOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerPolicySourceSecurityGroupOutput) -} - -// LoadBalancerPolicySourceSecurityGroupArrayInput is an input type that accepts LoadBalancerPolicySourceSecurityGroupArray and LoadBalancerPolicySourceSecurityGroupArrayOutput values. -// You can construct a concrete instance of `LoadBalancerPolicySourceSecurityGroupArrayInput` via: -// -// LoadBalancerPolicySourceSecurityGroupArray{ LoadBalancerPolicySourceSecurityGroupArgs{...} } -type LoadBalancerPolicySourceSecurityGroupArrayInput interface { - pulumi.Input - - ToLoadBalancerPolicySourceSecurityGroupArrayOutput() LoadBalancerPolicySourceSecurityGroupArrayOutput - ToLoadBalancerPolicySourceSecurityGroupArrayOutputWithContext(context.Context) LoadBalancerPolicySourceSecurityGroupArrayOutput -} - -type LoadBalancerPolicySourceSecurityGroupArray []LoadBalancerPolicySourceSecurityGroupInput - -func (LoadBalancerPolicySourceSecurityGroupArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerPolicySourceSecurityGroup)(nil)).Elem() -} - -func (i LoadBalancerPolicySourceSecurityGroupArray) ToLoadBalancerPolicySourceSecurityGroupArrayOutput() LoadBalancerPolicySourceSecurityGroupArrayOutput { - return i.ToLoadBalancerPolicySourceSecurityGroupArrayOutputWithContext(context.Background()) -} - -func (i LoadBalancerPolicySourceSecurityGroupArray) ToLoadBalancerPolicySourceSecurityGroupArrayOutputWithContext(ctx context.Context) LoadBalancerPolicySourceSecurityGroupArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerPolicySourceSecurityGroupArrayOutput) -} - -type LoadBalancerPolicySourceSecurityGroupOutput struct{ *pulumi.OutputState } - -func (LoadBalancerPolicySourceSecurityGroupOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerPolicySourceSecurityGroup)(nil)).Elem() -} - -func (o LoadBalancerPolicySourceSecurityGroupOutput) ToLoadBalancerPolicySourceSecurityGroupOutput() LoadBalancerPolicySourceSecurityGroupOutput { - return o -} - -func (o LoadBalancerPolicySourceSecurityGroupOutput) ToLoadBalancerPolicySourceSecurityGroupOutputWithContext(ctx context.Context) LoadBalancerPolicySourceSecurityGroupOutput { - return o -} - -// The account ID of the owner of the security group. -func (o LoadBalancerPolicySourceSecurityGroupOutput) SecurityGroupAccountId() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerPolicySourceSecurityGroup) *string { return v.SecurityGroupAccountId }).(pulumi.StringPtrOutput) -} - -// The name of the security group. -func (o LoadBalancerPolicySourceSecurityGroupOutput) SecurityGroupName() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerPolicySourceSecurityGroup) *string { return v.SecurityGroupName }).(pulumi.StringPtrOutput) -} - -type LoadBalancerPolicySourceSecurityGroupArrayOutput struct{ *pulumi.OutputState } - -func (LoadBalancerPolicySourceSecurityGroupArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerPolicySourceSecurityGroup)(nil)).Elem() -} - -func (o LoadBalancerPolicySourceSecurityGroupArrayOutput) ToLoadBalancerPolicySourceSecurityGroupArrayOutput() LoadBalancerPolicySourceSecurityGroupArrayOutput { - return o -} - -func (o LoadBalancerPolicySourceSecurityGroupArrayOutput) ToLoadBalancerPolicySourceSecurityGroupArrayOutputWithContext(ctx context.Context) LoadBalancerPolicySourceSecurityGroupArrayOutput { - return o -} - -func (o LoadBalancerPolicySourceSecurityGroupArrayOutput) Index(i pulumi.IntInput) LoadBalancerPolicySourceSecurityGroupOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) LoadBalancerPolicySourceSecurityGroup { - return vs[0].([]LoadBalancerPolicySourceSecurityGroup)[vs[1].(int)] - }).(LoadBalancerPolicySourceSecurityGroupOutput) -} - -type LoadBalancerPolicyTag struct { - // The key of the tag, with a minimum of 1 character. - Key *string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value *string `pulumi:"value"` -} - -// LoadBalancerPolicyTagInput is an input type that accepts LoadBalancerPolicyTagArgs and LoadBalancerPolicyTagOutput values. -// You can construct a concrete instance of `LoadBalancerPolicyTagInput` via: -// -// LoadBalancerPolicyTagArgs{...} -type LoadBalancerPolicyTagInput interface { - pulumi.Input - - ToLoadBalancerPolicyTagOutput() LoadBalancerPolicyTagOutput - ToLoadBalancerPolicyTagOutputWithContext(context.Context) LoadBalancerPolicyTagOutput -} - -type LoadBalancerPolicyTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringPtrInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringPtrInput `pulumi:"value"` -} - -func (LoadBalancerPolicyTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerPolicyTag)(nil)).Elem() -} - -func (i LoadBalancerPolicyTagArgs) ToLoadBalancerPolicyTagOutput() LoadBalancerPolicyTagOutput { - return i.ToLoadBalancerPolicyTagOutputWithContext(context.Background()) -} - -func (i LoadBalancerPolicyTagArgs) ToLoadBalancerPolicyTagOutputWithContext(ctx context.Context) LoadBalancerPolicyTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerPolicyTagOutput) -} - -// LoadBalancerPolicyTagArrayInput is an input type that accepts LoadBalancerPolicyTagArray and LoadBalancerPolicyTagArrayOutput values. -// You can construct a concrete instance of `LoadBalancerPolicyTagArrayInput` via: -// -// LoadBalancerPolicyTagArray{ LoadBalancerPolicyTagArgs{...} } -type LoadBalancerPolicyTagArrayInput interface { - pulumi.Input - - ToLoadBalancerPolicyTagArrayOutput() LoadBalancerPolicyTagArrayOutput - ToLoadBalancerPolicyTagArrayOutputWithContext(context.Context) LoadBalancerPolicyTagArrayOutput -} - -type LoadBalancerPolicyTagArray []LoadBalancerPolicyTagInput - -func (LoadBalancerPolicyTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerPolicyTag)(nil)).Elem() -} - -func (i LoadBalancerPolicyTagArray) ToLoadBalancerPolicyTagArrayOutput() LoadBalancerPolicyTagArrayOutput { - return i.ToLoadBalancerPolicyTagArrayOutputWithContext(context.Background()) -} - -func (i LoadBalancerPolicyTagArray) ToLoadBalancerPolicyTagArrayOutputWithContext(ctx context.Context) LoadBalancerPolicyTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerPolicyTagArrayOutput) -} - -type LoadBalancerPolicyTagOutput struct{ *pulumi.OutputState } - -func (LoadBalancerPolicyTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerPolicyTag)(nil)).Elem() -} - -func (o LoadBalancerPolicyTagOutput) ToLoadBalancerPolicyTagOutput() LoadBalancerPolicyTagOutput { - return o -} - -func (o LoadBalancerPolicyTagOutput) ToLoadBalancerPolicyTagOutputWithContext(ctx context.Context) LoadBalancerPolicyTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o LoadBalancerPolicyTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerPolicyTag) *string { return v.Key }).(pulumi.StringPtrOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o LoadBalancerPolicyTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerPolicyTag) *string { return v.Value }).(pulumi.StringPtrOutput) -} - -type LoadBalancerPolicyTagArrayOutput struct{ *pulumi.OutputState } - -func (LoadBalancerPolicyTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerPolicyTag)(nil)).Elem() -} - -func (o LoadBalancerPolicyTagArrayOutput) ToLoadBalancerPolicyTagArrayOutput() LoadBalancerPolicyTagArrayOutput { - return o -} - -func (o LoadBalancerPolicyTagArrayOutput) ToLoadBalancerPolicyTagArrayOutputWithContext(ctx context.Context) LoadBalancerPolicyTagArrayOutput { - return o -} - -func (o LoadBalancerPolicyTagArrayOutput) Index(i pulumi.IntInput) LoadBalancerPolicyTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) LoadBalancerPolicyTag { - return vs[0].([]LoadBalancerPolicyTag)[vs[1].(int)] - }).(LoadBalancerPolicyTagOutput) -} - -type LoadBalancerSourceSecurityGroup struct { - // The account ID of the owner of the security group. - SecurityGroupAccountId *string `pulumi:"securityGroupAccountId"` - // The name of the security group. - SecurityGroupName *string `pulumi:"securityGroupName"` -} - -// LoadBalancerSourceSecurityGroupInput is an input type that accepts LoadBalancerSourceSecurityGroupArgs and LoadBalancerSourceSecurityGroupOutput values. -// You can construct a concrete instance of `LoadBalancerSourceSecurityGroupInput` via: -// -// LoadBalancerSourceSecurityGroupArgs{...} -type LoadBalancerSourceSecurityGroupInput interface { - pulumi.Input - - ToLoadBalancerSourceSecurityGroupOutput() LoadBalancerSourceSecurityGroupOutput - ToLoadBalancerSourceSecurityGroupOutputWithContext(context.Context) LoadBalancerSourceSecurityGroupOutput -} - -type LoadBalancerSourceSecurityGroupArgs struct { - // The account ID of the owner of the security group. - SecurityGroupAccountId pulumi.StringPtrInput `pulumi:"securityGroupAccountId"` - // The name of the security group. - SecurityGroupName pulumi.StringPtrInput `pulumi:"securityGroupName"` -} - -func (LoadBalancerSourceSecurityGroupArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerSourceSecurityGroup)(nil)).Elem() -} - -func (i LoadBalancerSourceSecurityGroupArgs) ToLoadBalancerSourceSecurityGroupOutput() LoadBalancerSourceSecurityGroupOutput { - return i.ToLoadBalancerSourceSecurityGroupOutputWithContext(context.Background()) -} - -func (i LoadBalancerSourceSecurityGroupArgs) ToLoadBalancerSourceSecurityGroupOutputWithContext(ctx context.Context) LoadBalancerSourceSecurityGroupOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerSourceSecurityGroupOutput) -} - -// LoadBalancerSourceSecurityGroupArrayInput is an input type that accepts LoadBalancerSourceSecurityGroupArray and LoadBalancerSourceSecurityGroupArrayOutput values. -// You can construct a concrete instance of `LoadBalancerSourceSecurityGroupArrayInput` via: -// -// LoadBalancerSourceSecurityGroupArray{ LoadBalancerSourceSecurityGroupArgs{...} } -type LoadBalancerSourceSecurityGroupArrayInput interface { - pulumi.Input - - ToLoadBalancerSourceSecurityGroupArrayOutput() LoadBalancerSourceSecurityGroupArrayOutput - ToLoadBalancerSourceSecurityGroupArrayOutputWithContext(context.Context) LoadBalancerSourceSecurityGroupArrayOutput -} - -type LoadBalancerSourceSecurityGroupArray []LoadBalancerSourceSecurityGroupInput - -func (LoadBalancerSourceSecurityGroupArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerSourceSecurityGroup)(nil)).Elem() -} - -func (i LoadBalancerSourceSecurityGroupArray) ToLoadBalancerSourceSecurityGroupArrayOutput() LoadBalancerSourceSecurityGroupArrayOutput { - return i.ToLoadBalancerSourceSecurityGroupArrayOutputWithContext(context.Background()) -} - -func (i LoadBalancerSourceSecurityGroupArray) ToLoadBalancerSourceSecurityGroupArrayOutputWithContext(ctx context.Context) LoadBalancerSourceSecurityGroupArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerSourceSecurityGroupArrayOutput) -} - -type LoadBalancerSourceSecurityGroupOutput struct{ *pulumi.OutputState } - -func (LoadBalancerSourceSecurityGroupOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerSourceSecurityGroup)(nil)).Elem() -} - -func (o LoadBalancerSourceSecurityGroupOutput) ToLoadBalancerSourceSecurityGroupOutput() LoadBalancerSourceSecurityGroupOutput { - return o -} - -func (o LoadBalancerSourceSecurityGroupOutput) ToLoadBalancerSourceSecurityGroupOutputWithContext(ctx context.Context) LoadBalancerSourceSecurityGroupOutput { - return o -} - -// The account ID of the owner of the security group. -func (o LoadBalancerSourceSecurityGroupOutput) SecurityGroupAccountId() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerSourceSecurityGroup) *string { return v.SecurityGroupAccountId }).(pulumi.StringPtrOutput) -} - -// The name of the security group. -func (o LoadBalancerSourceSecurityGroupOutput) SecurityGroupName() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerSourceSecurityGroup) *string { return v.SecurityGroupName }).(pulumi.StringPtrOutput) -} - -type LoadBalancerSourceSecurityGroupArrayOutput struct{ *pulumi.OutputState } - -func (LoadBalancerSourceSecurityGroupArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerSourceSecurityGroup)(nil)).Elem() -} - -func (o LoadBalancerSourceSecurityGroupArrayOutput) ToLoadBalancerSourceSecurityGroupArrayOutput() LoadBalancerSourceSecurityGroupArrayOutput { - return o -} - -func (o LoadBalancerSourceSecurityGroupArrayOutput) ToLoadBalancerSourceSecurityGroupArrayOutputWithContext(ctx context.Context) LoadBalancerSourceSecurityGroupArrayOutput { - return o -} - -func (o LoadBalancerSourceSecurityGroupArrayOutput) Index(i pulumi.IntInput) LoadBalancerSourceSecurityGroupOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) LoadBalancerSourceSecurityGroup { - return vs[0].([]LoadBalancerSourceSecurityGroup)[vs[1].(int)] - }).(LoadBalancerSourceSecurityGroupOutput) -} - -type LoadBalancerTag struct { - // The key of the tag, with a minimum of 1 character. - Key *string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value *string `pulumi:"value"` -} - -// LoadBalancerTagInput is an input type that accepts LoadBalancerTagArgs and LoadBalancerTagOutput values. -// You can construct a concrete instance of `LoadBalancerTagInput` via: -// -// LoadBalancerTagArgs{...} -type LoadBalancerTagInput interface { - pulumi.Input - - ToLoadBalancerTagOutput() LoadBalancerTagOutput - ToLoadBalancerTagOutputWithContext(context.Context) LoadBalancerTagOutput -} - -type LoadBalancerTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringPtrInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringPtrInput `pulumi:"value"` -} - -func (LoadBalancerTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerTag)(nil)).Elem() -} - -func (i LoadBalancerTagArgs) ToLoadBalancerTagOutput() LoadBalancerTagOutput { - return i.ToLoadBalancerTagOutputWithContext(context.Background()) -} - -func (i LoadBalancerTagArgs) ToLoadBalancerTagOutputWithContext(ctx context.Context) LoadBalancerTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerTagOutput) -} - -// LoadBalancerTagArrayInput is an input type that accepts LoadBalancerTagArray and LoadBalancerTagArrayOutput values. -// You can construct a concrete instance of `LoadBalancerTagArrayInput` via: -// -// LoadBalancerTagArray{ LoadBalancerTagArgs{...} } -type LoadBalancerTagArrayInput interface { - pulumi.Input - - ToLoadBalancerTagArrayOutput() LoadBalancerTagArrayOutput - ToLoadBalancerTagArrayOutputWithContext(context.Context) LoadBalancerTagArrayOutput -} - -type LoadBalancerTagArray []LoadBalancerTagInput - -func (LoadBalancerTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerTag)(nil)).Elem() -} - -func (i LoadBalancerTagArray) ToLoadBalancerTagArrayOutput() LoadBalancerTagArrayOutput { - return i.ToLoadBalancerTagArrayOutputWithContext(context.Background()) -} - -func (i LoadBalancerTagArray) ToLoadBalancerTagArrayOutputWithContext(ctx context.Context) LoadBalancerTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerTagArrayOutput) -} - -type LoadBalancerTagOutput struct{ *pulumi.OutputState } - -func (LoadBalancerTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LoadBalancerTag)(nil)).Elem() -} - -func (o LoadBalancerTagOutput) ToLoadBalancerTagOutput() LoadBalancerTagOutput { - return o -} - -func (o LoadBalancerTagOutput) ToLoadBalancerTagOutputWithContext(ctx context.Context) LoadBalancerTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o LoadBalancerTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerTag) *string { return v.Key }).(pulumi.StringPtrOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o LoadBalancerTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v LoadBalancerTag) *string { return v.Value }).(pulumi.StringPtrOutput) -} - -type LoadBalancerTagArrayOutput struct{ *pulumi.OutputState } - -func (LoadBalancerTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]LoadBalancerTag)(nil)).Elem() -} - -func (o LoadBalancerTagArrayOutput) ToLoadBalancerTagArrayOutput() LoadBalancerTagArrayOutput { - return o -} - -func (o LoadBalancerTagArrayOutput) ToLoadBalancerTagArrayOutputWithContext(ctx context.Context) LoadBalancerTagArrayOutput { - return o -} - -func (o LoadBalancerTagArrayOutput) Index(i pulumi.IntInput) LoadBalancerTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) LoadBalancerTag { - return vs[0].([]LoadBalancerTag)[vs[1].(int)] - }).(LoadBalancerTagOutput) -} - -type NatServicePublicIp struct { - // The public IP associated with the NAT service. - PublicIp *string `pulumi:"publicIp"` - // The allocation ID of the public IP to associate with the NAT service.
- // If the public IP is already associated with another resource, you must first disassociate it. - PublicIpId *string `pulumi:"publicIpId"` -} - -// NatServicePublicIpInput is an input type that accepts NatServicePublicIpArgs and NatServicePublicIpOutput values. -// You can construct a concrete instance of `NatServicePublicIpInput` via: -// -// NatServicePublicIpArgs{...} -type NatServicePublicIpInput interface { - pulumi.Input - - ToNatServicePublicIpOutput() NatServicePublicIpOutput - ToNatServicePublicIpOutputWithContext(context.Context) NatServicePublicIpOutput -} - -type NatServicePublicIpArgs struct { - // The public IP associated with the NAT service. - PublicIp pulumi.StringPtrInput `pulumi:"publicIp"` - // The allocation ID of the public IP to associate with the NAT service.
- // If the public IP is already associated with another resource, you must first disassociate it. - PublicIpId pulumi.StringPtrInput `pulumi:"publicIpId"` -} - -func (NatServicePublicIpArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NatServicePublicIp)(nil)).Elem() -} - -func (i NatServicePublicIpArgs) ToNatServicePublicIpOutput() NatServicePublicIpOutput { - return i.ToNatServicePublicIpOutputWithContext(context.Background()) -} - -func (i NatServicePublicIpArgs) ToNatServicePublicIpOutputWithContext(ctx context.Context) NatServicePublicIpOutput { - return pulumi.ToOutputWithContext(ctx, i).(NatServicePublicIpOutput) -} - -// NatServicePublicIpArrayInput is an input type that accepts NatServicePublicIpArray and NatServicePublicIpArrayOutput values. -// You can construct a concrete instance of `NatServicePublicIpArrayInput` via: -// -// NatServicePublicIpArray{ NatServicePublicIpArgs{...} } -type NatServicePublicIpArrayInput interface { - pulumi.Input - - ToNatServicePublicIpArrayOutput() NatServicePublicIpArrayOutput - ToNatServicePublicIpArrayOutputWithContext(context.Context) NatServicePublicIpArrayOutput -} - -type NatServicePublicIpArray []NatServicePublicIpInput - -func (NatServicePublicIpArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]NatServicePublicIp)(nil)).Elem() -} - -func (i NatServicePublicIpArray) ToNatServicePublicIpArrayOutput() NatServicePublicIpArrayOutput { - return i.ToNatServicePublicIpArrayOutputWithContext(context.Background()) -} - -func (i NatServicePublicIpArray) ToNatServicePublicIpArrayOutputWithContext(ctx context.Context) NatServicePublicIpArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(NatServicePublicIpArrayOutput) -} - -type NatServicePublicIpOutput struct{ *pulumi.OutputState } - -func (NatServicePublicIpOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NatServicePublicIp)(nil)).Elem() -} - -func (o NatServicePublicIpOutput) ToNatServicePublicIpOutput() NatServicePublicIpOutput { - return o -} - -func (o NatServicePublicIpOutput) ToNatServicePublicIpOutputWithContext(ctx context.Context) NatServicePublicIpOutput { - return o -} - -// The public IP associated with the NAT service. -func (o NatServicePublicIpOutput) PublicIp() pulumi.StringPtrOutput { - return o.ApplyT(func(v NatServicePublicIp) *string { return v.PublicIp }).(pulumi.StringPtrOutput) -} - -// The allocation ID of the public IP to associate with the NAT service.
-// If the public IP is already associated with another resource, you must first disassociate it. -func (o NatServicePublicIpOutput) PublicIpId() pulumi.StringPtrOutput { - return o.ApplyT(func(v NatServicePublicIp) *string { return v.PublicIpId }).(pulumi.StringPtrOutput) -} - -type NatServicePublicIpArrayOutput struct{ *pulumi.OutputState } - -func (NatServicePublicIpArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]NatServicePublicIp)(nil)).Elem() -} - -func (o NatServicePublicIpArrayOutput) ToNatServicePublicIpArrayOutput() NatServicePublicIpArrayOutput { - return o -} - -func (o NatServicePublicIpArrayOutput) ToNatServicePublicIpArrayOutputWithContext(ctx context.Context) NatServicePublicIpArrayOutput { - return o -} - -func (o NatServicePublicIpArrayOutput) Index(i pulumi.IntInput) NatServicePublicIpOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) NatServicePublicIp { - return vs[0].([]NatServicePublicIp)[vs[1].(int)] - }).(NatServicePublicIpOutput) -} - -type NatServiceTag struct { - // The key of the tag, with a minimum of 1 character. - Key *string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value *string `pulumi:"value"` -} - -// NatServiceTagInput is an input type that accepts NatServiceTagArgs and NatServiceTagOutput values. -// You can construct a concrete instance of `NatServiceTagInput` via: -// -// NatServiceTagArgs{...} -type NatServiceTagInput interface { - pulumi.Input - - ToNatServiceTagOutput() NatServiceTagOutput - ToNatServiceTagOutputWithContext(context.Context) NatServiceTagOutput -} - -type NatServiceTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringPtrInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringPtrInput `pulumi:"value"` -} - -func (NatServiceTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NatServiceTag)(nil)).Elem() -} - -func (i NatServiceTagArgs) ToNatServiceTagOutput() NatServiceTagOutput { - return i.ToNatServiceTagOutputWithContext(context.Background()) -} - -func (i NatServiceTagArgs) ToNatServiceTagOutputWithContext(ctx context.Context) NatServiceTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(NatServiceTagOutput) -} - -// NatServiceTagArrayInput is an input type that accepts NatServiceTagArray and NatServiceTagArrayOutput values. -// You can construct a concrete instance of `NatServiceTagArrayInput` via: -// -// NatServiceTagArray{ NatServiceTagArgs{...} } -type NatServiceTagArrayInput interface { - pulumi.Input - - ToNatServiceTagArrayOutput() NatServiceTagArrayOutput - ToNatServiceTagArrayOutputWithContext(context.Context) NatServiceTagArrayOutput -} - -type NatServiceTagArray []NatServiceTagInput - -func (NatServiceTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]NatServiceTag)(nil)).Elem() -} - -func (i NatServiceTagArray) ToNatServiceTagArrayOutput() NatServiceTagArrayOutput { - return i.ToNatServiceTagArrayOutputWithContext(context.Background()) -} - -func (i NatServiceTagArray) ToNatServiceTagArrayOutputWithContext(ctx context.Context) NatServiceTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(NatServiceTagArrayOutput) -} - -type NatServiceTagOutput struct{ *pulumi.OutputState } - -func (NatServiceTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NatServiceTag)(nil)).Elem() -} - -func (o NatServiceTagOutput) ToNatServiceTagOutput() NatServiceTagOutput { - return o -} - -func (o NatServiceTagOutput) ToNatServiceTagOutputWithContext(ctx context.Context) NatServiceTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o NatServiceTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v NatServiceTag) *string { return v.Key }).(pulumi.StringPtrOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o NatServiceTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v NatServiceTag) *string { return v.Value }).(pulumi.StringPtrOutput) -} - -type NatServiceTagArrayOutput struct{ *pulumi.OutputState } - -func (NatServiceTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]NatServiceTag)(nil)).Elem() -} - -func (o NatServiceTagArrayOutput) ToNatServiceTagArrayOutput() NatServiceTagArrayOutput { - return o -} - -func (o NatServiceTagArrayOutput) ToNatServiceTagArrayOutputWithContext(ctx context.Context) NatServiceTagArrayOutput { - return o -} - -func (o NatServiceTagArrayOutput) Index(i pulumi.IntInput) NatServiceTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) NatServiceTag { - return vs[0].([]NatServiceTag)[vs[1].(int)] - }).(NatServiceTagOutput) -} - -type NetAccessPointTag struct { - // The key of the tag, with a minimum of 1 character. - Key *string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value *string `pulumi:"value"` -} - -// NetAccessPointTagInput is an input type that accepts NetAccessPointTagArgs and NetAccessPointTagOutput values. -// You can construct a concrete instance of `NetAccessPointTagInput` via: -// -// NetAccessPointTagArgs{...} -type NetAccessPointTagInput interface { - pulumi.Input - - ToNetAccessPointTagOutput() NetAccessPointTagOutput - ToNetAccessPointTagOutputWithContext(context.Context) NetAccessPointTagOutput -} - -type NetAccessPointTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringPtrInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringPtrInput `pulumi:"value"` -} - -func (NetAccessPointTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NetAccessPointTag)(nil)).Elem() -} - -func (i NetAccessPointTagArgs) ToNetAccessPointTagOutput() NetAccessPointTagOutput { - return i.ToNetAccessPointTagOutputWithContext(context.Background()) -} - -func (i NetAccessPointTagArgs) ToNetAccessPointTagOutputWithContext(ctx context.Context) NetAccessPointTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetAccessPointTagOutput) -} - -// NetAccessPointTagArrayInput is an input type that accepts NetAccessPointTagArray and NetAccessPointTagArrayOutput values. -// You can construct a concrete instance of `NetAccessPointTagArrayInput` via: -// -// NetAccessPointTagArray{ NetAccessPointTagArgs{...} } -type NetAccessPointTagArrayInput interface { - pulumi.Input - - ToNetAccessPointTagArrayOutput() NetAccessPointTagArrayOutput - ToNetAccessPointTagArrayOutputWithContext(context.Context) NetAccessPointTagArrayOutput -} - -type NetAccessPointTagArray []NetAccessPointTagInput - -func (NetAccessPointTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]NetAccessPointTag)(nil)).Elem() -} - -func (i NetAccessPointTagArray) ToNetAccessPointTagArrayOutput() NetAccessPointTagArrayOutput { - return i.ToNetAccessPointTagArrayOutputWithContext(context.Background()) -} - -func (i NetAccessPointTagArray) ToNetAccessPointTagArrayOutputWithContext(ctx context.Context) NetAccessPointTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetAccessPointTagArrayOutput) -} - -type NetAccessPointTagOutput struct{ *pulumi.OutputState } - -func (NetAccessPointTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NetAccessPointTag)(nil)).Elem() -} - -func (o NetAccessPointTagOutput) ToNetAccessPointTagOutput() NetAccessPointTagOutput { - return o -} - -func (o NetAccessPointTagOutput) ToNetAccessPointTagOutputWithContext(ctx context.Context) NetAccessPointTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o NetAccessPointTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v NetAccessPointTag) *string { return v.Key }).(pulumi.StringPtrOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o NetAccessPointTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v NetAccessPointTag) *string { return v.Value }).(pulumi.StringPtrOutput) -} - -type NetAccessPointTagArrayOutput struct{ *pulumi.OutputState } - -func (NetAccessPointTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]NetAccessPointTag)(nil)).Elem() -} - -func (o NetAccessPointTagArrayOutput) ToNetAccessPointTagArrayOutput() NetAccessPointTagArrayOutput { - return o -} - -func (o NetAccessPointTagArrayOutput) ToNetAccessPointTagArrayOutputWithContext(ctx context.Context) NetAccessPointTagArrayOutput { - return o -} - -func (o NetAccessPointTagArrayOutput) Index(i pulumi.IntInput) NetAccessPointTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetAccessPointTag { - return vs[0].([]NetAccessPointTag)[vs[1].(int)] - }).(NetAccessPointTagOutput) -} - -type NetAttributesTag struct { - // The key of the tag, with a minimum of 1 character. - Key *string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value *string `pulumi:"value"` -} - -// NetAttributesTagInput is an input type that accepts NetAttributesTagArgs and NetAttributesTagOutput values. -// You can construct a concrete instance of `NetAttributesTagInput` via: -// -// NetAttributesTagArgs{...} -type NetAttributesTagInput interface { - pulumi.Input - - ToNetAttributesTagOutput() NetAttributesTagOutput - ToNetAttributesTagOutputWithContext(context.Context) NetAttributesTagOutput -} - -type NetAttributesTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringPtrInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringPtrInput `pulumi:"value"` -} - -func (NetAttributesTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NetAttributesTag)(nil)).Elem() -} - -func (i NetAttributesTagArgs) ToNetAttributesTagOutput() NetAttributesTagOutput { - return i.ToNetAttributesTagOutputWithContext(context.Background()) -} - -func (i NetAttributesTagArgs) ToNetAttributesTagOutputWithContext(ctx context.Context) NetAttributesTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetAttributesTagOutput) -} - -// NetAttributesTagArrayInput is an input type that accepts NetAttributesTagArray and NetAttributesTagArrayOutput values. -// You can construct a concrete instance of `NetAttributesTagArrayInput` via: -// -// NetAttributesTagArray{ NetAttributesTagArgs{...} } -type NetAttributesTagArrayInput interface { - pulumi.Input - - ToNetAttributesTagArrayOutput() NetAttributesTagArrayOutput - ToNetAttributesTagArrayOutputWithContext(context.Context) NetAttributesTagArrayOutput -} - -type NetAttributesTagArray []NetAttributesTagInput - -func (NetAttributesTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]NetAttributesTag)(nil)).Elem() -} - -func (i NetAttributesTagArray) ToNetAttributesTagArrayOutput() NetAttributesTagArrayOutput { - return i.ToNetAttributesTagArrayOutputWithContext(context.Background()) -} - -func (i NetAttributesTagArray) ToNetAttributesTagArrayOutputWithContext(ctx context.Context) NetAttributesTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetAttributesTagArrayOutput) -} - -type NetAttributesTagOutput struct{ *pulumi.OutputState } - -func (NetAttributesTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NetAttributesTag)(nil)).Elem() -} - -func (o NetAttributesTagOutput) ToNetAttributesTagOutput() NetAttributesTagOutput { - return o -} - -func (o NetAttributesTagOutput) ToNetAttributesTagOutputWithContext(ctx context.Context) NetAttributesTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o NetAttributesTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v NetAttributesTag) *string { return v.Key }).(pulumi.StringPtrOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o NetAttributesTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v NetAttributesTag) *string { return v.Value }).(pulumi.StringPtrOutput) -} - -type NetAttributesTagArrayOutput struct{ *pulumi.OutputState } - -func (NetAttributesTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]NetAttributesTag)(nil)).Elem() -} - -func (o NetAttributesTagArrayOutput) ToNetAttributesTagArrayOutput() NetAttributesTagArrayOutput { - return o -} - -func (o NetAttributesTagArrayOutput) ToNetAttributesTagArrayOutputWithContext(ctx context.Context) NetAttributesTagArrayOutput { - return o -} - -func (o NetAttributesTagArrayOutput) Index(i pulumi.IntInput) NetAttributesTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetAttributesTag { - return vs[0].([]NetAttributesTag)[vs[1].(int)] - }).(NetAttributesTagOutput) -} - -type NetPeeringAccepterNet struct { - // The account ID of the owner of the source Net. - AccountId *string `pulumi:"accountId"` - // The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - IpRange *string `pulumi:"ipRange"` - // The ID of the source Net. - NetId *string `pulumi:"netId"` -} - -// NetPeeringAccepterNetInput is an input type that accepts NetPeeringAccepterNetArgs and NetPeeringAccepterNetOutput values. -// You can construct a concrete instance of `NetPeeringAccepterNetInput` via: -// -// NetPeeringAccepterNetArgs{...} -type NetPeeringAccepterNetInput interface { - pulumi.Input - - ToNetPeeringAccepterNetOutput() NetPeeringAccepterNetOutput - ToNetPeeringAccepterNetOutputWithContext(context.Context) NetPeeringAccepterNetOutput -} - -type NetPeeringAccepterNetArgs struct { - // The account ID of the owner of the source Net. - AccountId pulumi.StringPtrInput `pulumi:"accountId"` - // The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - IpRange pulumi.StringPtrInput `pulumi:"ipRange"` - // The ID of the source Net. - NetId pulumi.StringPtrInput `pulumi:"netId"` -} - -func (NetPeeringAccepterNetArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NetPeeringAccepterNet)(nil)).Elem() -} - -func (i NetPeeringAccepterNetArgs) ToNetPeeringAccepterNetOutput() NetPeeringAccepterNetOutput { - return i.ToNetPeeringAccepterNetOutputWithContext(context.Background()) -} - -func (i NetPeeringAccepterNetArgs) ToNetPeeringAccepterNetOutputWithContext(ctx context.Context) NetPeeringAccepterNetOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetPeeringAccepterNetOutput) -} - -// NetPeeringAccepterNetArrayInput is an input type that accepts NetPeeringAccepterNetArray and NetPeeringAccepterNetArrayOutput values. -// You can construct a concrete instance of `NetPeeringAccepterNetArrayInput` via: -// -// NetPeeringAccepterNetArray{ NetPeeringAccepterNetArgs{...} } -type NetPeeringAccepterNetArrayInput interface { - pulumi.Input - - ToNetPeeringAccepterNetArrayOutput() NetPeeringAccepterNetArrayOutput - ToNetPeeringAccepterNetArrayOutputWithContext(context.Context) NetPeeringAccepterNetArrayOutput -} - -type NetPeeringAccepterNetArray []NetPeeringAccepterNetInput - -func (NetPeeringAccepterNetArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]NetPeeringAccepterNet)(nil)).Elem() -} - -func (i NetPeeringAccepterNetArray) ToNetPeeringAccepterNetArrayOutput() NetPeeringAccepterNetArrayOutput { - return i.ToNetPeeringAccepterNetArrayOutputWithContext(context.Background()) -} - -func (i NetPeeringAccepterNetArray) ToNetPeeringAccepterNetArrayOutputWithContext(ctx context.Context) NetPeeringAccepterNetArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetPeeringAccepterNetArrayOutput) -} - -type NetPeeringAccepterNetOutput struct{ *pulumi.OutputState } - -func (NetPeeringAccepterNetOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NetPeeringAccepterNet)(nil)).Elem() -} - -func (o NetPeeringAccepterNetOutput) ToNetPeeringAccepterNetOutput() NetPeeringAccepterNetOutput { - return o -} - -func (o NetPeeringAccepterNetOutput) ToNetPeeringAccepterNetOutputWithContext(ctx context.Context) NetPeeringAccepterNetOutput { - return o -} - -// The account ID of the owner of the source Net. -func (o NetPeeringAccepterNetOutput) AccountId() pulumi.StringPtrOutput { - return o.ApplyT(func(v NetPeeringAccepterNet) *string { return v.AccountId }).(pulumi.StringPtrOutput) -} - -// The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). -func (o NetPeeringAccepterNetOutput) IpRange() pulumi.StringPtrOutput { - return o.ApplyT(func(v NetPeeringAccepterNet) *string { return v.IpRange }).(pulumi.StringPtrOutput) -} - -// The ID of the source Net. -func (o NetPeeringAccepterNetOutput) NetId() pulumi.StringPtrOutput { - return o.ApplyT(func(v NetPeeringAccepterNet) *string { return v.NetId }).(pulumi.StringPtrOutput) -} - -type NetPeeringAccepterNetArrayOutput struct{ *pulumi.OutputState } - -func (NetPeeringAccepterNetArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]NetPeeringAccepterNet)(nil)).Elem() -} - -func (o NetPeeringAccepterNetArrayOutput) ToNetPeeringAccepterNetArrayOutput() NetPeeringAccepterNetArrayOutput { - return o -} - -func (o NetPeeringAccepterNetArrayOutput) ToNetPeeringAccepterNetArrayOutputWithContext(ctx context.Context) NetPeeringAccepterNetArrayOutput { - return o -} - -func (o NetPeeringAccepterNetArrayOutput) Index(i pulumi.IntInput) NetPeeringAccepterNetOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetPeeringAccepterNet { - return vs[0].([]NetPeeringAccepterNet)[vs[1].(int)] - }).(NetPeeringAccepterNetOutput) -} - -type NetPeeringAcceptionAccepterNet struct { - // The account ID of the owner of the source Net. - AccountId *string `pulumi:"accountId"` - // The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - IpRange *string `pulumi:"ipRange"` - // The ID of the source Net. - NetId *string `pulumi:"netId"` -} - -// NetPeeringAcceptionAccepterNetInput is an input type that accepts NetPeeringAcceptionAccepterNetArgs and NetPeeringAcceptionAccepterNetOutput values. -// You can construct a concrete instance of `NetPeeringAcceptionAccepterNetInput` via: -// -// NetPeeringAcceptionAccepterNetArgs{...} -type NetPeeringAcceptionAccepterNetInput interface { - pulumi.Input - - ToNetPeeringAcceptionAccepterNetOutput() NetPeeringAcceptionAccepterNetOutput - ToNetPeeringAcceptionAccepterNetOutputWithContext(context.Context) NetPeeringAcceptionAccepterNetOutput -} - -type NetPeeringAcceptionAccepterNetArgs struct { - // The account ID of the owner of the source Net. - AccountId pulumi.StringPtrInput `pulumi:"accountId"` - // The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - IpRange pulumi.StringPtrInput `pulumi:"ipRange"` - // The ID of the source Net. - NetId pulumi.StringPtrInput `pulumi:"netId"` -} - -func (NetPeeringAcceptionAccepterNetArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NetPeeringAcceptionAccepterNet)(nil)).Elem() -} - -func (i NetPeeringAcceptionAccepterNetArgs) ToNetPeeringAcceptionAccepterNetOutput() NetPeeringAcceptionAccepterNetOutput { - return i.ToNetPeeringAcceptionAccepterNetOutputWithContext(context.Background()) -} - -func (i NetPeeringAcceptionAccepterNetArgs) ToNetPeeringAcceptionAccepterNetOutputWithContext(ctx context.Context) NetPeeringAcceptionAccepterNetOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetPeeringAcceptionAccepterNetOutput) -} - -// NetPeeringAcceptionAccepterNetArrayInput is an input type that accepts NetPeeringAcceptionAccepterNetArray and NetPeeringAcceptionAccepterNetArrayOutput values. -// You can construct a concrete instance of `NetPeeringAcceptionAccepterNetArrayInput` via: -// -// NetPeeringAcceptionAccepterNetArray{ NetPeeringAcceptionAccepterNetArgs{...} } -type NetPeeringAcceptionAccepterNetArrayInput interface { - pulumi.Input - - ToNetPeeringAcceptionAccepterNetArrayOutput() NetPeeringAcceptionAccepterNetArrayOutput - ToNetPeeringAcceptionAccepterNetArrayOutputWithContext(context.Context) NetPeeringAcceptionAccepterNetArrayOutput -} - -type NetPeeringAcceptionAccepterNetArray []NetPeeringAcceptionAccepterNetInput - -func (NetPeeringAcceptionAccepterNetArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]NetPeeringAcceptionAccepterNet)(nil)).Elem() -} - -func (i NetPeeringAcceptionAccepterNetArray) ToNetPeeringAcceptionAccepterNetArrayOutput() NetPeeringAcceptionAccepterNetArrayOutput { - return i.ToNetPeeringAcceptionAccepterNetArrayOutputWithContext(context.Background()) -} - -func (i NetPeeringAcceptionAccepterNetArray) ToNetPeeringAcceptionAccepterNetArrayOutputWithContext(ctx context.Context) NetPeeringAcceptionAccepterNetArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetPeeringAcceptionAccepterNetArrayOutput) -} - -type NetPeeringAcceptionAccepterNetOutput struct{ *pulumi.OutputState } - -func (NetPeeringAcceptionAccepterNetOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NetPeeringAcceptionAccepterNet)(nil)).Elem() -} - -func (o NetPeeringAcceptionAccepterNetOutput) ToNetPeeringAcceptionAccepterNetOutput() NetPeeringAcceptionAccepterNetOutput { - return o -} - -func (o NetPeeringAcceptionAccepterNetOutput) ToNetPeeringAcceptionAccepterNetOutputWithContext(ctx context.Context) NetPeeringAcceptionAccepterNetOutput { - return o -} - -// The account ID of the owner of the source Net. -func (o NetPeeringAcceptionAccepterNetOutput) AccountId() pulumi.StringPtrOutput { - return o.ApplyT(func(v NetPeeringAcceptionAccepterNet) *string { return v.AccountId }).(pulumi.StringPtrOutput) -} - -// The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). -func (o NetPeeringAcceptionAccepterNetOutput) IpRange() pulumi.StringPtrOutput { - return o.ApplyT(func(v NetPeeringAcceptionAccepterNet) *string { return v.IpRange }).(pulumi.StringPtrOutput) -} - -// The ID of the source Net. -func (o NetPeeringAcceptionAccepterNetOutput) NetId() pulumi.StringPtrOutput { - return o.ApplyT(func(v NetPeeringAcceptionAccepterNet) *string { return v.NetId }).(pulumi.StringPtrOutput) -} - -type NetPeeringAcceptionAccepterNetArrayOutput struct{ *pulumi.OutputState } - -func (NetPeeringAcceptionAccepterNetArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]NetPeeringAcceptionAccepterNet)(nil)).Elem() -} - -func (o NetPeeringAcceptionAccepterNetArrayOutput) ToNetPeeringAcceptionAccepterNetArrayOutput() NetPeeringAcceptionAccepterNetArrayOutput { - return o -} - -func (o NetPeeringAcceptionAccepterNetArrayOutput) ToNetPeeringAcceptionAccepterNetArrayOutputWithContext(ctx context.Context) NetPeeringAcceptionAccepterNetArrayOutput { - return o -} - -func (o NetPeeringAcceptionAccepterNetArrayOutput) Index(i pulumi.IntInput) NetPeeringAcceptionAccepterNetOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetPeeringAcceptionAccepterNet { - return vs[0].([]NetPeeringAcceptionAccepterNet)[vs[1].(int)] - }).(NetPeeringAcceptionAccepterNetOutput) -} - -type NetPeeringAcceptionSourceNet struct { - // The account ID of the owner of the source Net. - AccountId *string `pulumi:"accountId"` - // The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - IpRange *string `pulumi:"ipRange"` - // The ID of the source Net. - NetId *string `pulumi:"netId"` -} - -// NetPeeringAcceptionSourceNetInput is an input type that accepts NetPeeringAcceptionSourceNetArgs and NetPeeringAcceptionSourceNetOutput values. -// You can construct a concrete instance of `NetPeeringAcceptionSourceNetInput` via: -// -// NetPeeringAcceptionSourceNetArgs{...} -type NetPeeringAcceptionSourceNetInput interface { - pulumi.Input - - ToNetPeeringAcceptionSourceNetOutput() NetPeeringAcceptionSourceNetOutput - ToNetPeeringAcceptionSourceNetOutputWithContext(context.Context) NetPeeringAcceptionSourceNetOutput -} - -type NetPeeringAcceptionSourceNetArgs struct { - // The account ID of the owner of the source Net. - AccountId pulumi.StringPtrInput `pulumi:"accountId"` - // The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - IpRange pulumi.StringPtrInput `pulumi:"ipRange"` - // The ID of the source Net. - NetId pulumi.StringPtrInput `pulumi:"netId"` -} - -func (NetPeeringAcceptionSourceNetArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NetPeeringAcceptionSourceNet)(nil)).Elem() -} - -func (i NetPeeringAcceptionSourceNetArgs) ToNetPeeringAcceptionSourceNetOutput() NetPeeringAcceptionSourceNetOutput { - return i.ToNetPeeringAcceptionSourceNetOutputWithContext(context.Background()) -} - -func (i NetPeeringAcceptionSourceNetArgs) ToNetPeeringAcceptionSourceNetOutputWithContext(ctx context.Context) NetPeeringAcceptionSourceNetOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetPeeringAcceptionSourceNetOutput) -} - -// NetPeeringAcceptionSourceNetArrayInput is an input type that accepts NetPeeringAcceptionSourceNetArray and NetPeeringAcceptionSourceNetArrayOutput values. -// You can construct a concrete instance of `NetPeeringAcceptionSourceNetArrayInput` via: -// -// NetPeeringAcceptionSourceNetArray{ NetPeeringAcceptionSourceNetArgs{...} } -type NetPeeringAcceptionSourceNetArrayInput interface { - pulumi.Input - - ToNetPeeringAcceptionSourceNetArrayOutput() NetPeeringAcceptionSourceNetArrayOutput - ToNetPeeringAcceptionSourceNetArrayOutputWithContext(context.Context) NetPeeringAcceptionSourceNetArrayOutput -} - -type NetPeeringAcceptionSourceNetArray []NetPeeringAcceptionSourceNetInput - -func (NetPeeringAcceptionSourceNetArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]NetPeeringAcceptionSourceNet)(nil)).Elem() -} - -func (i NetPeeringAcceptionSourceNetArray) ToNetPeeringAcceptionSourceNetArrayOutput() NetPeeringAcceptionSourceNetArrayOutput { - return i.ToNetPeeringAcceptionSourceNetArrayOutputWithContext(context.Background()) -} - -func (i NetPeeringAcceptionSourceNetArray) ToNetPeeringAcceptionSourceNetArrayOutputWithContext(ctx context.Context) NetPeeringAcceptionSourceNetArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetPeeringAcceptionSourceNetArrayOutput) -} - -type NetPeeringAcceptionSourceNetOutput struct{ *pulumi.OutputState } - -func (NetPeeringAcceptionSourceNetOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NetPeeringAcceptionSourceNet)(nil)).Elem() -} - -func (o NetPeeringAcceptionSourceNetOutput) ToNetPeeringAcceptionSourceNetOutput() NetPeeringAcceptionSourceNetOutput { - return o -} - -func (o NetPeeringAcceptionSourceNetOutput) ToNetPeeringAcceptionSourceNetOutputWithContext(ctx context.Context) NetPeeringAcceptionSourceNetOutput { - return o -} - -// The account ID of the owner of the source Net. -func (o NetPeeringAcceptionSourceNetOutput) AccountId() pulumi.StringPtrOutput { - return o.ApplyT(func(v NetPeeringAcceptionSourceNet) *string { return v.AccountId }).(pulumi.StringPtrOutput) -} - -// The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). -func (o NetPeeringAcceptionSourceNetOutput) IpRange() pulumi.StringPtrOutput { - return o.ApplyT(func(v NetPeeringAcceptionSourceNet) *string { return v.IpRange }).(pulumi.StringPtrOutput) -} - -// The ID of the source Net. -func (o NetPeeringAcceptionSourceNetOutput) NetId() pulumi.StringPtrOutput { - return o.ApplyT(func(v NetPeeringAcceptionSourceNet) *string { return v.NetId }).(pulumi.StringPtrOutput) -} - -type NetPeeringAcceptionSourceNetArrayOutput struct{ *pulumi.OutputState } - -func (NetPeeringAcceptionSourceNetArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]NetPeeringAcceptionSourceNet)(nil)).Elem() -} - -func (o NetPeeringAcceptionSourceNetArrayOutput) ToNetPeeringAcceptionSourceNetArrayOutput() NetPeeringAcceptionSourceNetArrayOutput { - return o -} - -func (o NetPeeringAcceptionSourceNetArrayOutput) ToNetPeeringAcceptionSourceNetArrayOutputWithContext(ctx context.Context) NetPeeringAcceptionSourceNetArrayOutput { - return o -} - -func (o NetPeeringAcceptionSourceNetArrayOutput) Index(i pulumi.IntInput) NetPeeringAcceptionSourceNetOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetPeeringAcceptionSourceNet { - return vs[0].([]NetPeeringAcceptionSourceNet)[vs[1].(int)] - }).(NetPeeringAcceptionSourceNetOutput) -} - -type NetPeeringAcceptionStateType struct { - // Additional information about the state of the Net peering. - Message *string `pulumi:"message"` - // The state of the Net peering (`pending-acceptance` \| `active` \| `rejected` \| `failed` \| `expired` \| `deleted`). - Name *string `pulumi:"name"` -} - -// NetPeeringAcceptionStateTypeInput is an input type that accepts NetPeeringAcceptionStateTypeArgs and NetPeeringAcceptionStateTypeOutput values. -// You can construct a concrete instance of `NetPeeringAcceptionStateTypeInput` via: -// -// NetPeeringAcceptionStateTypeArgs{...} -type NetPeeringAcceptionStateTypeInput interface { - pulumi.Input - - ToNetPeeringAcceptionStateTypeOutput() NetPeeringAcceptionStateTypeOutput - ToNetPeeringAcceptionStateTypeOutputWithContext(context.Context) NetPeeringAcceptionStateTypeOutput -} - -type NetPeeringAcceptionStateTypeArgs struct { - // Additional information about the state of the Net peering. - Message pulumi.StringPtrInput `pulumi:"message"` - // The state of the Net peering (`pending-acceptance` \| `active` \| `rejected` \| `failed` \| `expired` \| `deleted`). - Name pulumi.StringPtrInput `pulumi:"name"` -} - -func (NetPeeringAcceptionStateTypeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NetPeeringAcceptionStateType)(nil)).Elem() -} - -func (i NetPeeringAcceptionStateTypeArgs) ToNetPeeringAcceptionStateTypeOutput() NetPeeringAcceptionStateTypeOutput { - return i.ToNetPeeringAcceptionStateTypeOutputWithContext(context.Background()) -} - -func (i NetPeeringAcceptionStateTypeArgs) ToNetPeeringAcceptionStateTypeOutputWithContext(ctx context.Context) NetPeeringAcceptionStateTypeOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetPeeringAcceptionStateTypeOutput) -} - -// NetPeeringAcceptionStateTypeArrayInput is an input type that accepts NetPeeringAcceptionStateTypeArray and NetPeeringAcceptionStateTypeArrayOutput values. -// You can construct a concrete instance of `NetPeeringAcceptionStateTypeArrayInput` via: -// -// NetPeeringAcceptionStateTypeArray{ NetPeeringAcceptionStateTypeArgs{...} } -type NetPeeringAcceptionStateTypeArrayInput interface { - pulumi.Input - - ToNetPeeringAcceptionStateTypeArrayOutput() NetPeeringAcceptionStateTypeArrayOutput - ToNetPeeringAcceptionStateTypeArrayOutputWithContext(context.Context) NetPeeringAcceptionStateTypeArrayOutput -} - -type NetPeeringAcceptionStateTypeArray []NetPeeringAcceptionStateTypeInput - -func (NetPeeringAcceptionStateTypeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]NetPeeringAcceptionStateType)(nil)).Elem() -} - -func (i NetPeeringAcceptionStateTypeArray) ToNetPeeringAcceptionStateTypeArrayOutput() NetPeeringAcceptionStateTypeArrayOutput { - return i.ToNetPeeringAcceptionStateTypeArrayOutputWithContext(context.Background()) -} - -func (i NetPeeringAcceptionStateTypeArray) ToNetPeeringAcceptionStateTypeArrayOutputWithContext(ctx context.Context) NetPeeringAcceptionStateTypeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetPeeringAcceptionStateTypeArrayOutput) -} - -type NetPeeringAcceptionStateTypeOutput struct{ *pulumi.OutputState } - -func (NetPeeringAcceptionStateTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NetPeeringAcceptionStateType)(nil)).Elem() -} - -func (o NetPeeringAcceptionStateTypeOutput) ToNetPeeringAcceptionStateTypeOutput() NetPeeringAcceptionStateTypeOutput { - return o -} - -func (o NetPeeringAcceptionStateTypeOutput) ToNetPeeringAcceptionStateTypeOutputWithContext(ctx context.Context) NetPeeringAcceptionStateTypeOutput { - return o -} - -// Additional information about the state of the Net peering. -func (o NetPeeringAcceptionStateTypeOutput) Message() pulumi.StringPtrOutput { - return o.ApplyT(func(v NetPeeringAcceptionStateType) *string { return v.Message }).(pulumi.StringPtrOutput) -} - -// The state of the Net peering (`pending-acceptance` \| `active` \| `rejected` \| `failed` \| `expired` \| `deleted`). -func (o NetPeeringAcceptionStateTypeOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v NetPeeringAcceptionStateType) *string { return v.Name }).(pulumi.StringPtrOutput) -} - -type NetPeeringAcceptionStateTypeArrayOutput struct{ *pulumi.OutputState } - -func (NetPeeringAcceptionStateTypeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]NetPeeringAcceptionStateType)(nil)).Elem() -} - -func (o NetPeeringAcceptionStateTypeArrayOutput) ToNetPeeringAcceptionStateTypeArrayOutput() NetPeeringAcceptionStateTypeArrayOutput { - return o -} - -func (o NetPeeringAcceptionStateTypeArrayOutput) ToNetPeeringAcceptionStateTypeArrayOutputWithContext(ctx context.Context) NetPeeringAcceptionStateTypeArrayOutput { - return o -} - -func (o NetPeeringAcceptionStateTypeArrayOutput) Index(i pulumi.IntInput) NetPeeringAcceptionStateTypeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetPeeringAcceptionStateType { - return vs[0].([]NetPeeringAcceptionStateType)[vs[1].(int)] - }).(NetPeeringAcceptionStateTypeOutput) -} - -type NetPeeringAcceptionTag struct { - // The key of the tag, with a minimum of 1 character. - Key *string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value *string `pulumi:"value"` -} - -// NetPeeringAcceptionTagInput is an input type that accepts NetPeeringAcceptionTagArgs and NetPeeringAcceptionTagOutput values. -// You can construct a concrete instance of `NetPeeringAcceptionTagInput` via: -// -// NetPeeringAcceptionTagArgs{...} -type NetPeeringAcceptionTagInput interface { - pulumi.Input - - ToNetPeeringAcceptionTagOutput() NetPeeringAcceptionTagOutput - ToNetPeeringAcceptionTagOutputWithContext(context.Context) NetPeeringAcceptionTagOutput -} - -type NetPeeringAcceptionTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringPtrInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringPtrInput `pulumi:"value"` -} - -func (NetPeeringAcceptionTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NetPeeringAcceptionTag)(nil)).Elem() -} - -func (i NetPeeringAcceptionTagArgs) ToNetPeeringAcceptionTagOutput() NetPeeringAcceptionTagOutput { - return i.ToNetPeeringAcceptionTagOutputWithContext(context.Background()) -} - -func (i NetPeeringAcceptionTagArgs) ToNetPeeringAcceptionTagOutputWithContext(ctx context.Context) NetPeeringAcceptionTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetPeeringAcceptionTagOutput) -} - -// NetPeeringAcceptionTagArrayInput is an input type that accepts NetPeeringAcceptionTagArray and NetPeeringAcceptionTagArrayOutput values. -// You can construct a concrete instance of `NetPeeringAcceptionTagArrayInput` via: -// -// NetPeeringAcceptionTagArray{ NetPeeringAcceptionTagArgs{...} } -type NetPeeringAcceptionTagArrayInput interface { - pulumi.Input - - ToNetPeeringAcceptionTagArrayOutput() NetPeeringAcceptionTagArrayOutput - ToNetPeeringAcceptionTagArrayOutputWithContext(context.Context) NetPeeringAcceptionTagArrayOutput -} - -type NetPeeringAcceptionTagArray []NetPeeringAcceptionTagInput - -func (NetPeeringAcceptionTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]NetPeeringAcceptionTag)(nil)).Elem() -} - -func (i NetPeeringAcceptionTagArray) ToNetPeeringAcceptionTagArrayOutput() NetPeeringAcceptionTagArrayOutput { - return i.ToNetPeeringAcceptionTagArrayOutputWithContext(context.Background()) -} - -func (i NetPeeringAcceptionTagArray) ToNetPeeringAcceptionTagArrayOutputWithContext(ctx context.Context) NetPeeringAcceptionTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetPeeringAcceptionTagArrayOutput) -} - -type NetPeeringAcceptionTagOutput struct{ *pulumi.OutputState } - -func (NetPeeringAcceptionTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NetPeeringAcceptionTag)(nil)).Elem() -} - -func (o NetPeeringAcceptionTagOutput) ToNetPeeringAcceptionTagOutput() NetPeeringAcceptionTagOutput { - return o -} - -func (o NetPeeringAcceptionTagOutput) ToNetPeeringAcceptionTagOutputWithContext(ctx context.Context) NetPeeringAcceptionTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o NetPeeringAcceptionTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v NetPeeringAcceptionTag) *string { return v.Key }).(pulumi.StringPtrOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o NetPeeringAcceptionTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v NetPeeringAcceptionTag) *string { return v.Value }).(pulumi.StringPtrOutput) -} - -type NetPeeringAcceptionTagArrayOutput struct{ *pulumi.OutputState } - -func (NetPeeringAcceptionTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]NetPeeringAcceptionTag)(nil)).Elem() -} - -func (o NetPeeringAcceptionTagArrayOutput) ToNetPeeringAcceptionTagArrayOutput() NetPeeringAcceptionTagArrayOutput { - return o -} - -func (o NetPeeringAcceptionTagArrayOutput) ToNetPeeringAcceptionTagArrayOutputWithContext(ctx context.Context) NetPeeringAcceptionTagArrayOutput { - return o -} - -func (o NetPeeringAcceptionTagArrayOutput) Index(i pulumi.IntInput) NetPeeringAcceptionTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetPeeringAcceptionTag { - return vs[0].([]NetPeeringAcceptionTag)[vs[1].(int)] - }).(NetPeeringAcceptionTagOutput) -} - -type NetPeeringSourceNet struct { - // The account ID of the owner of the source Net. - AccountId *string `pulumi:"accountId"` - // The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - IpRange *string `pulumi:"ipRange"` - // The ID of the source Net. - NetId *string `pulumi:"netId"` -} - -// NetPeeringSourceNetInput is an input type that accepts NetPeeringSourceNetArgs and NetPeeringSourceNetOutput values. -// You can construct a concrete instance of `NetPeeringSourceNetInput` via: -// -// NetPeeringSourceNetArgs{...} -type NetPeeringSourceNetInput interface { - pulumi.Input - - ToNetPeeringSourceNetOutput() NetPeeringSourceNetOutput - ToNetPeeringSourceNetOutputWithContext(context.Context) NetPeeringSourceNetOutput -} - -type NetPeeringSourceNetArgs struct { - // The account ID of the owner of the source Net. - AccountId pulumi.StringPtrInput `pulumi:"accountId"` - // The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - IpRange pulumi.StringPtrInput `pulumi:"ipRange"` - // The ID of the source Net. - NetId pulumi.StringPtrInput `pulumi:"netId"` -} - -func (NetPeeringSourceNetArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NetPeeringSourceNet)(nil)).Elem() -} - -func (i NetPeeringSourceNetArgs) ToNetPeeringSourceNetOutput() NetPeeringSourceNetOutput { - return i.ToNetPeeringSourceNetOutputWithContext(context.Background()) -} - -func (i NetPeeringSourceNetArgs) ToNetPeeringSourceNetOutputWithContext(ctx context.Context) NetPeeringSourceNetOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetPeeringSourceNetOutput) -} - -// NetPeeringSourceNetArrayInput is an input type that accepts NetPeeringSourceNetArray and NetPeeringSourceNetArrayOutput values. -// You can construct a concrete instance of `NetPeeringSourceNetArrayInput` via: -// -// NetPeeringSourceNetArray{ NetPeeringSourceNetArgs{...} } -type NetPeeringSourceNetArrayInput interface { - pulumi.Input - - ToNetPeeringSourceNetArrayOutput() NetPeeringSourceNetArrayOutput - ToNetPeeringSourceNetArrayOutputWithContext(context.Context) NetPeeringSourceNetArrayOutput -} - -type NetPeeringSourceNetArray []NetPeeringSourceNetInput - -func (NetPeeringSourceNetArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]NetPeeringSourceNet)(nil)).Elem() -} - -func (i NetPeeringSourceNetArray) ToNetPeeringSourceNetArrayOutput() NetPeeringSourceNetArrayOutput { - return i.ToNetPeeringSourceNetArrayOutputWithContext(context.Background()) -} - -func (i NetPeeringSourceNetArray) ToNetPeeringSourceNetArrayOutputWithContext(ctx context.Context) NetPeeringSourceNetArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetPeeringSourceNetArrayOutput) -} - -type NetPeeringSourceNetOutput struct{ *pulumi.OutputState } - -func (NetPeeringSourceNetOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NetPeeringSourceNet)(nil)).Elem() -} - -func (o NetPeeringSourceNetOutput) ToNetPeeringSourceNetOutput() NetPeeringSourceNetOutput { - return o -} - -func (o NetPeeringSourceNetOutput) ToNetPeeringSourceNetOutputWithContext(ctx context.Context) NetPeeringSourceNetOutput { - return o -} - -// The account ID of the owner of the source Net. -func (o NetPeeringSourceNetOutput) AccountId() pulumi.StringPtrOutput { - return o.ApplyT(func(v NetPeeringSourceNet) *string { return v.AccountId }).(pulumi.StringPtrOutput) -} - -// The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). -func (o NetPeeringSourceNetOutput) IpRange() pulumi.StringPtrOutput { - return o.ApplyT(func(v NetPeeringSourceNet) *string { return v.IpRange }).(pulumi.StringPtrOutput) -} - -// The ID of the source Net. -func (o NetPeeringSourceNetOutput) NetId() pulumi.StringPtrOutput { - return o.ApplyT(func(v NetPeeringSourceNet) *string { return v.NetId }).(pulumi.StringPtrOutput) -} - -type NetPeeringSourceNetArrayOutput struct{ *pulumi.OutputState } - -func (NetPeeringSourceNetArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]NetPeeringSourceNet)(nil)).Elem() -} - -func (o NetPeeringSourceNetArrayOutput) ToNetPeeringSourceNetArrayOutput() NetPeeringSourceNetArrayOutput { - return o -} - -func (o NetPeeringSourceNetArrayOutput) ToNetPeeringSourceNetArrayOutputWithContext(ctx context.Context) NetPeeringSourceNetArrayOutput { - return o -} - -func (o NetPeeringSourceNetArrayOutput) Index(i pulumi.IntInput) NetPeeringSourceNetOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetPeeringSourceNet { - return vs[0].([]NetPeeringSourceNet)[vs[1].(int)] - }).(NetPeeringSourceNetOutput) -} - -type NetPeeringStateType struct { - // Additional information about the state of the Net peering. - Message *string `pulumi:"message"` - // The state of the Net peering (`pending-acceptance` \| `active` \| `rejected` \| `failed` \| `expired` \| `deleted`). - Name *string `pulumi:"name"` -} - -// NetPeeringStateTypeInput is an input type that accepts NetPeeringStateTypeArgs and NetPeeringStateTypeOutput values. -// You can construct a concrete instance of `NetPeeringStateTypeInput` via: -// -// NetPeeringStateTypeArgs{...} -type NetPeeringStateTypeInput interface { - pulumi.Input - - ToNetPeeringStateTypeOutput() NetPeeringStateTypeOutput - ToNetPeeringStateTypeOutputWithContext(context.Context) NetPeeringStateTypeOutput -} - -type NetPeeringStateTypeArgs struct { - // Additional information about the state of the Net peering. - Message pulumi.StringPtrInput `pulumi:"message"` - // The state of the Net peering (`pending-acceptance` \| `active` \| `rejected` \| `failed` \| `expired` \| `deleted`). - Name pulumi.StringPtrInput `pulumi:"name"` -} - -func (NetPeeringStateTypeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NetPeeringStateType)(nil)).Elem() -} - -func (i NetPeeringStateTypeArgs) ToNetPeeringStateTypeOutput() NetPeeringStateTypeOutput { - return i.ToNetPeeringStateTypeOutputWithContext(context.Background()) -} - -func (i NetPeeringStateTypeArgs) ToNetPeeringStateTypeOutputWithContext(ctx context.Context) NetPeeringStateTypeOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetPeeringStateTypeOutput) -} - -// NetPeeringStateTypeArrayInput is an input type that accepts NetPeeringStateTypeArray and NetPeeringStateTypeArrayOutput values. -// You can construct a concrete instance of `NetPeeringStateTypeArrayInput` via: -// -// NetPeeringStateTypeArray{ NetPeeringStateTypeArgs{...} } -type NetPeeringStateTypeArrayInput interface { - pulumi.Input - - ToNetPeeringStateTypeArrayOutput() NetPeeringStateTypeArrayOutput - ToNetPeeringStateTypeArrayOutputWithContext(context.Context) NetPeeringStateTypeArrayOutput -} - -type NetPeeringStateTypeArray []NetPeeringStateTypeInput - -func (NetPeeringStateTypeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]NetPeeringStateType)(nil)).Elem() -} - -func (i NetPeeringStateTypeArray) ToNetPeeringStateTypeArrayOutput() NetPeeringStateTypeArrayOutput { - return i.ToNetPeeringStateTypeArrayOutputWithContext(context.Background()) -} - -func (i NetPeeringStateTypeArray) ToNetPeeringStateTypeArrayOutputWithContext(ctx context.Context) NetPeeringStateTypeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetPeeringStateTypeArrayOutput) -} - -type NetPeeringStateTypeOutput struct{ *pulumi.OutputState } - -func (NetPeeringStateTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NetPeeringStateType)(nil)).Elem() -} - -func (o NetPeeringStateTypeOutput) ToNetPeeringStateTypeOutput() NetPeeringStateTypeOutput { - return o -} - -func (o NetPeeringStateTypeOutput) ToNetPeeringStateTypeOutputWithContext(ctx context.Context) NetPeeringStateTypeOutput { - return o -} - -// Additional information about the state of the Net peering. -func (o NetPeeringStateTypeOutput) Message() pulumi.StringPtrOutput { - return o.ApplyT(func(v NetPeeringStateType) *string { return v.Message }).(pulumi.StringPtrOutput) -} - -// The state of the Net peering (`pending-acceptance` \| `active` \| `rejected` \| `failed` \| `expired` \| `deleted`). -func (o NetPeeringStateTypeOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v NetPeeringStateType) *string { return v.Name }).(pulumi.StringPtrOutput) -} - -type NetPeeringStateTypeArrayOutput struct{ *pulumi.OutputState } - -func (NetPeeringStateTypeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]NetPeeringStateType)(nil)).Elem() -} - -func (o NetPeeringStateTypeArrayOutput) ToNetPeeringStateTypeArrayOutput() NetPeeringStateTypeArrayOutput { - return o -} - -func (o NetPeeringStateTypeArrayOutput) ToNetPeeringStateTypeArrayOutputWithContext(ctx context.Context) NetPeeringStateTypeArrayOutput { - return o -} - -func (o NetPeeringStateTypeArrayOutput) Index(i pulumi.IntInput) NetPeeringStateTypeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetPeeringStateType { - return vs[0].([]NetPeeringStateType)[vs[1].(int)] - }).(NetPeeringStateTypeOutput) -} - -type NetPeeringTag struct { - // The key of the tag, with a minimum of 1 character. - Key *string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value *string `pulumi:"value"` -} - -// NetPeeringTagInput is an input type that accepts NetPeeringTagArgs and NetPeeringTagOutput values. -// You can construct a concrete instance of `NetPeeringTagInput` via: -// -// NetPeeringTagArgs{...} -type NetPeeringTagInput interface { - pulumi.Input - - ToNetPeeringTagOutput() NetPeeringTagOutput - ToNetPeeringTagOutputWithContext(context.Context) NetPeeringTagOutput -} - -type NetPeeringTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringPtrInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringPtrInput `pulumi:"value"` -} - -func (NetPeeringTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NetPeeringTag)(nil)).Elem() -} - -func (i NetPeeringTagArgs) ToNetPeeringTagOutput() NetPeeringTagOutput { - return i.ToNetPeeringTagOutputWithContext(context.Background()) -} - -func (i NetPeeringTagArgs) ToNetPeeringTagOutputWithContext(ctx context.Context) NetPeeringTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetPeeringTagOutput) -} - -// NetPeeringTagArrayInput is an input type that accepts NetPeeringTagArray and NetPeeringTagArrayOutput values. -// You can construct a concrete instance of `NetPeeringTagArrayInput` via: -// -// NetPeeringTagArray{ NetPeeringTagArgs{...} } -type NetPeeringTagArrayInput interface { - pulumi.Input - - ToNetPeeringTagArrayOutput() NetPeeringTagArrayOutput - ToNetPeeringTagArrayOutputWithContext(context.Context) NetPeeringTagArrayOutput -} - -type NetPeeringTagArray []NetPeeringTagInput - -func (NetPeeringTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]NetPeeringTag)(nil)).Elem() -} - -func (i NetPeeringTagArray) ToNetPeeringTagArrayOutput() NetPeeringTagArrayOutput { - return i.ToNetPeeringTagArrayOutputWithContext(context.Background()) -} - -func (i NetPeeringTagArray) ToNetPeeringTagArrayOutputWithContext(ctx context.Context) NetPeeringTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetPeeringTagArrayOutput) -} - -type NetPeeringTagOutput struct{ *pulumi.OutputState } - -func (NetPeeringTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NetPeeringTag)(nil)).Elem() -} - -func (o NetPeeringTagOutput) ToNetPeeringTagOutput() NetPeeringTagOutput { - return o -} - -func (o NetPeeringTagOutput) ToNetPeeringTagOutputWithContext(ctx context.Context) NetPeeringTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o NetPeeringTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v NetPeeringTag) *string { return v.Key }).(pulumi.StringPtrOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o NetPeeringTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v NetPeeringTag) *string { return v.Value }).(pulumi.StringPtrOutput) -} - -type NetPeeringTagArrayOutput struct{ *pulumi.OutputState } - -func (NetPeeringTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]NetPeeringTag)(nil)).Elem() -} - -func (o NetPeeringTagArrayOutput) ToNetPeeringTagArrayOutput() NetPeeringTagArrayOutput { - return o -} - -func (o NetPeeringTagArrayOutput) ToNetPeeringTagArrayOutputWithContext(ctx context.Context) NetPeeringTagArrayOutput { - return o -} - -func (o NetPeeringTagArrayOutput) Index(i pulumi.IntInput) NetPeeringTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetPeeringTag { - return vs[0].([]NetPeeringTag)[vs[1].(int)] - }).(NetPeeringTagOutput) -} - -type NetTag struct { - // The key of the tag, with a minimum of 1 character. - Key *string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value *string `pulumi:"value"` -} - -// NetTagInput is an input type that accepts NetTagArgs and NetTagOutput values. -// You can construct a concrete instance of `NetTagInput` via: -// -// NetTagArgs{...} -type NetTagInput interface { - pulumi.Input - - ToNetTagOutput() NetTagOutput - ToNetTagOutputWithContext(context.Context) NetTagOutput -} - -type NetTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringPtrInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringPtrInput `pulumi:"value"` -} - -func (NetTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NetTag)(nil)).Elem() -} - -func (i NetTagArgs) ToNetTagOutput() NetTagOutput { - return i.ToNetTagOutputWithContext(context.Background()) -} - -func (i NetTagArgs) ToNetTagOutputWithContext(ctx context.Context) NetTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetTagOutput) -} - -// NetTagArrayInput is an input type that accepts NetTagArray and NetTagArrayOutput values. -// You can construct a concrete instance of `NetTagArrayInput` via: -// -// NetTagArray{ NetTagArgs{...} } -type NetTagArrayInput interface { - pulumi.Input - - ToNetTagArrayOutput() NetTagArrayOutput - ToNetTagArrayOutputWithContext(context.Context) NetTagArrayOutput -} - -type NetTagArray []NetTagInput - -func (NetTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]NetTag)(nil)).Elem() -} - -func (i NetTagArray) ToNetTagArrayOutput() NetTagArrayOutput { - return i.ToNetTagArrayOutputWithContext(context.Background()) -} - -func (i NetTagArray) ToNetTagArrayOutputWithContext(ctx context.Context) NetTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(NetTagArrayOutput) -} - -type NetTagOutput struct{ *pulumi.OutputState } - -func (NetTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NetTag)(nil)).Elem() -} - -func (o NetTagOutput) ToNetTagOutput() NetTagOutput { - return o -} - -func (o NetTagOutput) ToNetTagOutputWithContext(ctx context.Context) NetTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o NetTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v NetTag) *string { return v.Key }).(pulumi.StringPtrOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o NetTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v NetTag) *string { return v.Value }).(pulumi.StringPtrOutput) -} - -type NetTagArrayOutput struct{ *pulumi.OutputState } - -func (NetTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]NetTag)(nil)).Elem() -} - -func (o NetTagArrayOutput) ToNetTagArrayOutput() NetTagArrayOutput { - return o -} - -func (o NetTagArrayOutput) ToNetTagArrayOutputWithContext(ctx context.Context) NetTagArrayOutput { - return o -} - -func (o NetTagArrayOutput) Index(i pulumi.IntInput) NetTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetTag { - return vs[0].([]NetTag)[vs[1].(int)] - }).(NetTagOutput) -} - -type NicLinkNic struct { - // If true, the NIC is deleted when the VM is terminated. - DeleteOnVmDeletion *string `pulumi:"deleteOnVmDeletion"` - // The device index for the NIC attachment (between `1` and `7`, both included). - DeviceNumber *int `pulumi:"deviceNumber"` - // The ID of the NIC to attach. - LinkNicId *string `pulumi:"linkNicId"` - // The state of the NIC (`available` \| `attaching` \| `in-use` \| `detaching`). - State *string `pulumi:"state"` - // The account ID of the owner of the VM. - VmAccountId *string `pulumi:"vmAccountId"` - // The ID of the VM. - VmId *string `pulumi:"vmId"` -} - -// NicLinkNicInput is an input type that accepts NicLinkNicArgs and NicLinkNicOutput values. -// You can construct a concrete instance of `NicLinkNicInput` via: -// -// NicLinkNicArgs{...} -type NicLinkNicInput interface { - pulumi.Input - - ToNicLinkNicOutput() NicLinkNicOutput - ToNicLinkNicOutputWithContext(context.Context) NicLinkNicOutput -} - -type NicLinkNicArgs struct { - // If true, the NIC is deleted when the VM is terminated. - DeleteOnVmDeletion pulumi.StringPtrInput `pulumi:"deleteOnVmDeletion"` - // The device index for the NIC attachment (between `1` and `7`, both included). - DeviceNumber pulumi.IntPtrInput `pulumi:"deviceNumber"` - // The ID of the NIC to attach. - LinkNicId pulumi.StringPtrInput `pulumi:"linkNicId"` - // The state of the NIC (`available` \| `attaching` \| `in-use` \| `detaching`). - State pulumi.StringPtrInput `pulumi:"state"` - // The account ID of the owner of the VM. - VmAccountId pulumi.StringPtrInput `pulumi:"vmAccountId"` - // The ID of the VM. - VmId pulumi.StringPtrInput `pulumi:"vmId"` -} - -func (NicLinkNicArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NicLinkNic)(nil)).Elem() -} - -func (i NicLinkNicArgs) ToNicLinkNicOutput() NicLinkNicOutput { - return i.ToNicLinkNicOutputWithContext(context.Background()) -} - -func (i NicLinkNicArgs) ToNicLinkNicOutputWithContext(ctx context.Context) NicLinkNicOutput { - return pulumi.ToOutputWithContext(ctx, i).(NicLinkNicOutput) -} - -// NicLinkNicArrayInput is an input type that accepts NicLinkNicArray and NicLinkNicArrayOutput values. -// You can construct a concrete instance of `NicLinkNicArrayInput` via: -// -// NicLinkNicArray{ NicLinkNicArgs{...} } -type NicLinkNicArrayInput interface { - pulumi.Input - - ToNicLinkNicArrayOutput() NicLinkNicArrayOutput - ToNicLinkNicArrayOutputWithContext(context.Context) NicLinkNicArrayOutput -} - -type NicLinkNicArray []NicLinkNicInput - -func (NicLinkNicArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]NicLinkNic)(nil)).Elem() -} - -func (i NicLinkNicArray) ToNicLinkNicArrayOutput() NicLinkNicArrayOutput { - return i.ToNicLinkNicArrayOutputWithContext(context.Background()) -} - -func (i NicLinkNicArray) ToNicLinkNicArrayOutputWithContext(ctx context.Context) NicLinkNicArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(NicLinkNicArrayOutput) -} - -type NicLinkNicOutput struct{ *pulumi.OutputState } - -func (NicLinkNicOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NicLinkNic)(nil)).Elem() -} - -func (o NicLinkNicOutput) ToNicLinkNicOutput() NicLinkNicOutput { - return o -} - -func (o NicLinkNicOutput) ToNicLinkNicOutputWithContext(ctx context.Context) NicLinkNicOutput { - return o -} - -// If true, the NIC is deleted when the VM is terminated. -func (o NicLinkNicOutput) DeleteOnVmDeletion() pulumi.StringPtrOutput { - return o.ApplyT(func(v NicLinkNic) *string { return v.DeleteOnVmDeletion }).(pulumi.StringPtrOutput) -} - -// The device index for the NIC attachment (between `1` and `7`, both included). -func (o NicLinkNicOutput) DeviceNumber() pulumi.IntPtrOutput { - return o.ApplyT(func(v NicLinkNic) *int { return v.DeviceNumber }).(pulumi.IntPtrOutput) -} - -// The ID of the NIC to attach. -func (o NicLinkNicOutput) LinkNicId() pulumi.StringPtrOutput { - return o.ApplyT(func(v NicLinkNic) *string { return v.LinkNicId }).(pulumi.StringPtrOutput) -} - -// The state of the NIC (`available` \| `attaching` \| `in-use` \| `detaching`). -func (o NicLinkNicOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v NicLinkNic) *string { return v.State }).(pulumi.StringPtrOutput) -} - -// The account ID of the owner of the VM. -func (o NicLinkNicOutput) VmAccountId() pulumi.StringPtrOutput { - return o.ApplyT(func(v NicLinkNic) *string { return v.VmAccountId }).(pulumi.StringPtrOutput) -} - -// The ID of the VM. -func (o NicLinkNicOutput) VmId() pulumi.StringPtrOutput { - return o.ApplyT(func(v NicLinkNic) *string { return v.VmId }).(pulumi.StringPtrOutput) -} - -type NicLinkNicArrayOutput struct{ *pulumi.OutputState } - -func (NicLinkNicArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]NicLinkNic)(nil)).Elem() -} - -func (o NicLinkNicArrayOutput) ToNicLinkNicArrayOutput() NicLinkNicArrayOutput { - return o -} - -func (o NicLinkNicArrayOutput) ToNicLinkNicArrayOutputWithContext(ctx context.Context) NicLinkNicArrayOutput { - return o -} - -func (o NicLinkNicArrayOutput) Index(i pulumi.IntInput) NicLinkNicOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) NicLinkNic { - return vs[0].([]NicLinkNic)[vs[1].(int)] - }).(NicLinkNicOutput) -} - -type NicLinkPublicIp struct { - // (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - LinkPublicIpId *string `pulumi:"linkPublicIpId"` - // The name of the public DNS. - PublicDnsName *string `pulumi:"publicDnsName"` - // The public IP associated with the NIC. - PublicIp *string `pulumi:"publicIp"` - // The account ID of the owner of the public IP. - PublicIpAccountId *string `pulumi:"publicIpAccountId"` - // The allocation ID of the public IP. - PublicIpId *string `pulumi:"publicIpId"` -} - -// NicLinkPublicIpInput is an input type that accepts NicLinkPublicIpArgs and NicLinkPublicIpOutput values. -// You can construct a concrete instance of `NicLinkPublicIpInput` via: -// -// NicLinkPublicIpArgs{...} -type NicLinkPublicIpInput interface { - pulumi.Input - - ToNicLinkPublicIpOutput() NicLinkPublicIpOutput - ToNicLinkPublicIpOutputWithContext(context.Context) NicLinkPublicIpOutput -} - -type NicLinkPublicIpArgs struct { - // (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - LinkPublicIpId pulumi.StringPtrInput `pulumi:"linkPublicIpId"` - // The name of the public DNS. - PublicDnsName pulumi.StringPtrInput `pulumi:"publicDnsName"` - // The public IP associated with the NIC. - PublicIp pulumi.StringPtrInput `pulumi:"publicIp"` - // The account ID of the owner of the public IP. - PublicIpAccountId pulumi.StringPtrInput `pulumi:"publicIpAccountId"` - // The allocation ID of the public IP. - PublicIpId pulumi.StringPtrInput `pulumi:"publicIpId"` -} - -func (NicLinkPublicIpArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NicLinkPublicIp)(nil)).Elem() -} - -func (i NicLinkPublicIpArgs) ToNicLinkPublicIpOutput() NicLinkPublicIpOutput { - return i.ToNicLinkPublicIpOutputWithContext(context.Background()) -} - -func (i NicLinkPublicIpArgs) ToNicLinkPublicIpOutputWithContext(ctx context.Context) NicLinkPublicIpOutput { - return pulumi.ToOutputWithContext(ctx, i).(NicLinkPublicIpOutput) -} - -// NicLinkPublicIpArrayInput is an input type that accepts NicLinkPublicIpArray and NicLinkPublicIpArrayOutput values. -// You can construct a concrete instance of `NicLinkPublicIpArrayInput` via: -// -// NicLinkPublicIpArray{ NicLinkPublicIpArgs{...} } -type NicLinkPublicIpArrayInput interface { - pulumi.Input - - ToNicLinkPublicIpArrayOutput() NicLinkPublicIpArrayOutput - ToNicLinkPublicIpArrayOutputWithContext(context.Context) NicLinkPublicIpArrayOutput -} - -type NicLinkPublicIpArray []NicLinkPublicIpInput - -func (NicLinkPublicIpArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]NicLinkPublicIp)(nil)).Elem() -} - -func (i NicLinkPublicIpArray) ToNicLinkPublicIpArrayOutput() NicLinkPublicIpArrayOutput { - return i.ToNicLinkPublicIpArrayOutputWithContext(context.Background()) -} - -func (i NicLinkPublicIpArray) ToNicLinkPublicIpArrayOutputWithContext(ctx context.Context) NicLinkPublicIpArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(NicLinkPublicIpArrayOutput) -} - -type NicLinkPublicIpOutput struct{ *pulumi.OutputState } - -func (NicLinkPublicIpOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NicLinkPublicIp)(nil)).Elem() -} - -func (o NicLinkPublicIpOutput) ToNicLinkPublicIpOutput() NicLinkPublicIpOutput { - return o -} - -func (o NicLinkPublicIpOutput) ToNicLinkPublicIpOutputWithContext(ctx context.Context) NicLinkPublicIpOutput { - return o -} - -// (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. -func (o NicLinkPublicIpOutput) LinkPublicIpId() pulumi.StringPtrOutput { - return o.ApplyT(func(v NicLinkPublicIp) *string { return v.LinkPublicIpId }).(pulumi.StringPtrOutput) -} - -// The name of the public DNS. -func (o NicLinkPublicIpOutput) PublicDnsName() pulumi.StringPtrOutput { - return o.ApplyT(func(v NicLinkPublicIp) *string { return v.PublicDnsName }).(pulumi.StringPtrOutput) -} - -// The public IP associated with the NIC. -func (o NicLinkPublicIpOutput) PublicIp() pulumi.StringPtrOutput { - return o.ApplyT(func(v NicLinkPublicIp) *string { return v.PublicIp }).(pulumi.StringPtrOutput) -} - -// The account ID of the owner of the public IP. -func (o NicLinkPublicIpOutput) PublicIpAccountId() pulumi.StringPtrOutput { - return o.ApplyT(func(v NicLinkPublicIp) *string { return v.PublicIpAccountId }).(pulumi.StringPtrOutput) -} - -// The allocation ID of the public IP. -func (o NicLinkPublicIpOutput) PublicIpId() pulumi.StringPtrOutput { - return o.ApplyT(func(v NicLinkPublicIp) *string { return v.PublicIpId }).(pulumi.StringPtrOutput) -} - -type NicLinkPublicIpArrayOutput struct{ *pulumi.OutputState } - -func (NicLinkPublicIpArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]NicLinkPublicIp)(nil)).Elem() -} - -func (o NicLinkPublicIpArrayOutput) ToNicLinkPublicIpArrayOutput() NicLinkPublicIpArrayOutput { - return o -} - -func (o NicLinkPublicIpArrayOutput) ToNicLinkPublicIpArrayOutputWithContext(ctx context.Context) NicLinkPublicIpArrayOutput { - return o -} - -func (o NicLinkPublicIpArrayOutput) Index(i pulumi.IntInput) NicLinkPublicIpOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) NicLinkPublicIp { - return vs[0].([]NicLinkPublicIp)[vs[1].(int)] - }).(NicLinkPublicIpOutput) -} - -type NicPrivateIpType struct { - // If true, the IP is the primary private IP of the NIC. - IsPrimary *bool `pulumi:"isPrimary"` - // Information about the public IP association. - LinkPublicIps []NicPrivateIpLinkPublicIp `pulumi:"linkPublicIps"` - // The name of the private DNS. - PrivateDnsName *string `pulumi:"privateDnsName"` - // The private IP of the NIC. - PrivateIp *string `pulumi:"privateIp"` -} - -// NicPrivateIpTypeInput is an input type that accepts NicPrivateIpTypeArgs and NicPrivateIpTypeOutput values. -// You can construct a concrete instance of `NicPrivateIpTypeInput` via: -// -// NicPrivateIpTypeArgs{...} -type NicPrivateIpTypeInput interface { - pulumi.Input - - ToNicPrivateIpTypeOutput() NicPrivateIpTypeOutput - ToNicPrivateIpTypeOutputWithContext(context.Context) NicPrivateIpTypeOutput -} - -type NicPrivateIpTypeArgs struct { - // If true, the IP is the primary private IP of the NIC. - IsPrimary pulumi.BoolPtrInput `pulumi:"isPrimary"` - // Information about the public IP association. - LinkPublicIps NicPrivateIpLinkPublicIpArrayInput `pulumi:"linkPublicIps"` - // The name of the private DNS. - PrivateDnsName pulumi.StringPtrInput `pulumi:"privateDnsName"` - // The private IP of the NIC. - PrivateIp pulumi.StringPtrInput `pulumi:"privateIp"` -} - -func (NicPrivateIpTypeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NicPrivateIpType)(nil)).Elem() -} - -func (i NicPrivateIpTypeArgs) ToNicPrivateIpTypeOutput() NicPrivateIpTypeOutput { - return i.ToNicPrivateIpTypeOutputWithContext(context.Background()) -} - -func (i NicPrivateIpTypeArgs) ToNicPrivateIpTypeOutputWithContext(ctx context.Context) NicPrivateIpTypeOutput { - return pulumi.ToOutputWithContext(ctx, i).(NicPrivateIpTypeOutput) -} - -// NicPrivateIpTypeArrayInput is an input type that accepts NicPrivateIpTypeArray and NicPrivateIpTypeArrayOutput values. -// You can construct a concrete instance of `NicPrivateIpTypeArrayInput` via: -// -// NicPrivateIpTypeArray{ NicPrivateIpTypeArgs{...} } -type NicPrivateIpTypeArrayInput interface { - pulumi.Input - - ToNicPrivateIpTypeArrayOutput() NicPrivateIpTypeArrayOutput - ToNicPrivateIpTypeArrayOutputWithContext(context.Context) NicPrivateIpTypeArrayOutput -} - -type NicPrivateIpTypeArray []NicPrivateIpTypeInput - -func (NicPrivateIpTypeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]NicPrivateIpType)(nil)).Elem() -} - -func (i NicPrivateIpTypeArray) ToNicPrivateIpTypeArrayOutput() NicPrivateIpTypeArrayOutput { - return i.ToNicPrivateIpTypeArrayOutputWithContext(context.Background()) -} - -func (i NicPrivateIpTypeArray) ToNicPrivateIpTypeArrayOutputWithContext(ctx context.Context) NicPrivateIpTypeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(NicPrivateIpTypeArrayOutput) -} - -type NicPrivateIpTypeOutput struct{ *pulumi.OutputState } - -func (NicPrivateIpTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NicPrivateIpType)(nil)).Elem() -} - -func (o NicPrivateIpTypeOutput) ToNicPrivateIpTypeOutput() NicPrivateIpTypeOutput { - return o -} - -func (o NicPrivateIpTypeOutput) ToNicPrivateIpTypeOutputWithContext(ctx context.Context) NicPrivateIpTypeOutput { - return o -} - -// If true, the IP is the primary private IP of the NIC. -func (o NicPrivateIpTypeOutput) IsPrimary() pulumi.BoolPtrOutput { - return o.ApplyT(func(v NicPrivateIpType) *bool { return v.IsPrimary }).(pulumi.BoolPtrOutput) -} - -// Information about the public IP association. -func (o NicPrivateIpTypeOutput) LinkPublicIps() NicPrivateIpLinkPublicIpArrayOutput { - return o.ApplyT(func(v NicPrivateIpType) []NicPrivateIpLinkPublicIp { return v.LinkPublicIps }).(NicPrivateIpLinkPublicIpArrayOutput) -} - -// The name of the private DNS. -func (o NicPrivateIpTypeOutput) PrivateDnsName() pulumi.StringPtrOutput { - return o.ApplyT(func(v NicPrivateIpType) *string { return v.PrivateDnsName }).(pulumi.StringPtrOutput) -} - -// The private IP of the NIC. -func (o NicPrivateIpTypeOutput) PrivateIp() pulumi.StringPtrOutput { - return o.ApplyT(func(v NicPrivateIpType) *string { return v.PrivateIp }).(pulumi.StringPtrOutput) -} - -type NicPrivateIpTypeArrayOutput struct{ *pulumi.OutputState } - -func (NicPrivateIpTypeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]NicPrivateIpType)(nil)).Elem() -} - -func (o NicPrivateIpTypeArrayOutput) ToNicPrivateIpTypeArrayOutput() NicPrivateIpTypeArrayOutput { - return o -} - -func (o NicPrivateIpTypeArrayOutput) ToNicPrivateIpTypeArrayOutputWithContext(ctx context.Context) NicPrivateIpTypeArrayOutput { - return o -} - -func (o NicPrivateIpTypeArrayOutput) Index(i pulumi.IntInput) NicPrivateIpTypeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) NicPrivateIpType { - return vs[0].([]NicPrivateIpType)[vs[1].(int)] - }).(NicPrivateIpTypeOutput) -} - -type NicPrivateIpLinkPublicIp struct { - // (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - LinkPublicIpId *string `pulumi:"linkPublicIpId"` - // The name of the public DNS. - PublicDnsName *string `pulumi:"publicDnsName"` - // The public IP associated with the NIC. - PublicIp *string `pulumi:"publicIp"` - // The account ID of the owner of the public IP. - PublicIpAccountId *string `pulumi:"publicIpAccountId"` - // The allocation ID of the public IP. - PublicIpId *string `pulumi:"publicIpId"` -} - -// NicPrivateIpLinkPublicIpInput is an input type that accepts NicPrivateIpLinkPublicIpArgs and NicPrivateIpLinkPublicIpOutput values. -// You can construct a concrete instance of `NicPrivateIpLinkPublicIpInput` via: -// -// NicPrivateIpLinkPublicIpArgs{...} -type NicPrivateIpLinkPublicIpInput interface { - pulumi.Input - - ToNicPrivateIpLinkPublicIpOutput() NicPrivateIpLinkPublicIpOutput - ToNicPrivateIpLinkPublicIpOutputWithContext(context.Context) NicPrivateIpLinkPublicIpOutput -} - -type NicPrivateIpLinkPublicIpArgs struct { - // (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - LinkPublicIpId pulumi.StringPtrInput `pulumi:"linkPublicIpId"` - // The name of the public DNS. - PublicDnsName pulumi.StringPtrInput `pulumi:"publicDnsName"` - // The public IP associated with the NIC. - PublicIp pulumi.StringPtrInput `pulumi:"publicIp"` - // The account ID of the owner of the public IP. - PublicIpAccountId pulumi.StringPtrInput `pulumi:"publicIpAccountId"` - // The allocation ID of the public IP. - PublicIpId pulumi.StringPtrInput `pulumi:"publicIpId"` -} - -func (NicPrivateIpLinkPublicIpArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NicPrivateIpLinkPublicIp)(nil)).Elem() -} - -func (i NicPrivateIpLinkPublicIpArgs) ToNicPrivateIpLinkPublicIpOutput() NicPrivateIpLinkPublicIpOutput { - return i.ToNicPrivateIpLinkPublicIpOutputWithContext(context.Background()) -} - -func (i NicPrivateIpLinkPublicIpArgs) ToNicPrivateIpLinkPublicIpOutputWithContext(ctx context.Context) NicPrivateIpLinkPublicIpOutput { - return pulumi.ToOutputWithContext(ctx, i).(NicPrivateIpLinkPublicIpOutput) -} - -// NicPrivateIpLinkPublicIpArrayInput is an input type that accepts NicPrivateIpLinkPublicIpArray and NicPrivateIpLinkPublicIpArrayOutput values. -// You can construct a concrete instance of `NicPrivateIpLinkPublicIpArrayInput` via: -// -// NicPrivateIpLinkPublicIpArray{ NicPrivateIpLinkPublicIpArgs{...} } -type NicPrivateIpLinkPublicIpArrayInput interface { - pulumi.Input - - ToNicPrivateIpLinkPublicIpArrayOutput() NicPrivateIpLinkPublicIpArrayOutput - ToNicPrivateIpLinkPublicIpArrayOutputWithContext(context.Context) NicPrivateIpLinkPublicIpArrayOutput -} - -type NicPrivateIpLinkPublicIpArray []NicPrivateIpLinkPublicIpInput - -func (NicPrivateIpLinkPublicIpArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]NicPrivateIpLinkPublicIp)(nil)).Elem() -} - -func (i NicPrivateIpLinkPublicIpArray) ToNicPrivateIpLinkPublicIpArrayOutput() NicPrivateIpLinkPublicIpArrayOutput { - return i.ToNicPrivateIpLinkPublicIpArrayOutputWithContext(context.Background()) -} - -func (i NicPrivateIpLinkPublicIpArray) ToNicPrivateIpLinkPublicIpArrayOutputWithContext(ctx context.Context) NicPrivateIpLinkPublicIpArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(NicPrivateIpLinkPublicIpArrayOutput) -} - -type NicPrivateIpLinkPublicIpOutput struct{ *pulumi.OutputState } - -func (NicPrivateIpLinkPublicIpOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NicPrivateIpLinkPublicIp)(nil)).Elem() -} - -func (o NicPrivateIpLinkPublicIpOutput) ToNicPrivateIpLinkPublicIpOutput() NicPrivateIpLinkPublicIpOutput { - return o -} - -func (o NicPrivateIpLinkPublicIpOutput) ToNicPrivateIpLinkPublicIpOutputWithContext(ctx context.Context) NicPrivateIpLinkPublicIpOutput { - return o -} - -// (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. -func (o NicPrivateIpLinkPublicIpOutput) LinkPublicIpId() pulumi.StringPtrOutput { - return o.ApplyT(func(v NicPrivateIpLinkPublicIp) *string { return v.LinkPublicIpId }).(pulumi.StringPtrOutput) -} - -// The name of the public DNS. -func (o NicPrivateIpLinkPublicIpOutput) PublicDnsName() pulumi.StringPtrOutput { - return o.ApplyT(func(v NicPrivateIpLinkPublicIp) *string { return v.PublicDnsName }).(pulumi.StringPtrOutput) -} - -// The public IP associated with the NIC. -func (o NicPrivateIpLinkPublicIpOutput) PublicIp() pulumi.StringPtrOutput { - return o.ApplyT(func(v NicPrivateIpLinkPublicIp) *string { return v.PublicIp }).(pulumi.StringPtrOutput) -} - -// The account ID of the owner of the public IP. -func (o NicPrivateIpLinkPublicIpOutput) PublicIpAccountId() pulumi.StringPtrOutput { - return o.ApplyT(func(v NicPrivateIpLinkPublicIp) *string { return v.PublicIpAccountId }).(pulumi.StringPtrOutput) -} - -// The allocation ID of the public IP. -func (o NicPrivateIpLinkPublicIpOutput) PublicIpId() pulumi.StringPtrOutput { - return o.ApplyT(func(v NicPrivateIpLinkPublicIp) *string { return v.PublicIpId }).(pulumi.StringPtrOutput) -} - -type NicPrivateIpLinkPublicIpArrayOutput struct{ *pulumi.OutputState } - -func (NicPrivateIpLinkPublicIpArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]NicPrivateIpLinkPublicIp)(nil)).Elem() -} - -func (o NicPrivateIpLinkPublicIpArrayOutput) ToNicPrivateIpLinkPublicIpArrayOutput() NicPrivateIpLinkPublicIpArrayOutput { - return o -} - -func (o NicPrivateIpLinkPublicIpArrayOutput) ToNicPrivateIpLinkPublicIpArrayOutputWithContext(ctx context.Context) NicPrivateIpLinkPublicIpArrayOutput { - return o -} - -func (o NicPrivateIpLinkPublicIpArrayOutput) Index(i pulumi.IntInput) NicPrivateIpLinkPublicIpOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) NicPrivateIpLinkPublicIp { - return vs[0].([]NicPrivateIpLinkPublicIp)[vs[1].(int)] - }).(NicPrivateIpLinkPublicIpOutput) -} - -type NicSecurityGroup struct { - // The ID of the security group. - SecurityGroupId *string `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName *string `pulumi:"securityGroupName"` -} - -// NicSecurityGroupInput is an input type that accepts NicSecurityGroupArgs and NicSecurityGroupOutput values. -// You can construct a concrete instance of `NicSecurityGroupInput` via: -// -// NicSecurityGroupArgs{...} -type NicSecurityGroupInput interface { - pulumi.Input - - ToNicSecurityGroupOutput() NicSecurityGroupOutput - ToNicSecurityGroupOutputWithContext(context.Context) NicSecurityGroupOutput -} - -type NicSecurityGroupArgs struct { - // The ID of the security group. - SecurityGroupId pulumi.StringPtrInput `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName pulumi.StringPtrInput `pulumi:"securityGroupName"` -} - -func (NicSecurityGroupArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NicSecurityGroup)(nil)).Elem() -} - -func (i NicSecurityGroupArgs) ToNicSecurityGroupOutput() NicSecurityGroupOutput { - return i.ToNicSecurityGroupOutputWithContext(context.Background()) -} - -func (i NicSecurityGroupArgs) ToNicSecurityGroupOutputWithContext(ctx context.Context) NicSecurityGroupOutput { - return pulumi.ToOutputWithContext(ctx, i).(NicSecurityGroupOutput) -} - -// NicSecurityGroupArrayInput is an input type that accepts NicSecurityGroupArray and NicSecurityGroupArrayOutput values. -// You can construct a concrete instance of `NicSecurityGroupArrayInput` via: -// -// NicSecurityGroupArray{ NicSecurityGroupArgs{...} } -type NicSecurityGroupArrayInput interface { - pulumi.Input - - ToNicSecurityGroupArrayOutput() NicSecurityGroupArrayOutput - ToNicSecurityGroupArrayOutputWithContext(context.Context) NicSecurityGroupArrayOutput -} - -type NicSecurityGroupArray []NicSecurityGroupInput - -func (NicSecurityGroupArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]NicSecurityGroup)(nil)).Elem() -} - -func (i NicSecurityGroupArray) ToNicSecurityGroupArrayOutput() NicSecurityGroupArrayOutput { - return i.ToNicSecurityGroupArrayOutputWithContext(context.Background()) -} - -func (i NicSecurityGroupArray) ToNicSecurityGroupArrayOutputWithContext(ctx context.Context) NicSecurityGroupArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(NicSecurityGroupArrayOutput) -} - -type NicSecurityGroupOutput struct{ *pulumi.OutputState } - -func (NicSecurityGroupOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NicSecurityGroup)(nil)).Elem() -} - -func (o NicSecurityGroupOutput) ToNicSecurityGroupOutput() NicSecurityGroupOutput { - return o -} - -func (o NicSecurityGroupOutput) ToNicSecurityGroupOutputWithContext(ctx context.Context) NicSecurityGroupOutput { - return o -} - -// The ID of the security group. -func (o NicSecurityGroupOutput) SecurityGroupId() pulumi.StringPtrOutput { - return o.ApplyT(func(v NicSecurityGroup) *string { return v.SecurityGroupId }).(pulumi.StringPtrOutput) -} - -// The name of the security group. -func (o NicSecurityGroupOutput) SecurityGroupName() pulumi.StringPtrOutput { - return o.ApplyT(func(v NicSecurityGroup) *string { return v.SecurityGroupName }).(pulumi.StringPtrOutput) -} - -type NicSecurityGroupArrayOutput struct{ *pulumi.OutputState } - -func (NicSecurityGroupArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]NicSecurityGroup)(nil)).Elem() -} - -func (o NicSecurityGroupArrayOutput) ToNicSecurityGroupArrayOutput() NicSecurityGroupArrayOutput { - return o -} - -func (o NicSecurityGroupArrayOutput) ToNicSecurityGroupArrayOutputWithContext(ctx context.Context) NicSecurityGroupArrayOutput { - return o -} - -func (o NicSecurityGroupArrayOutput) Index(i pulumi.IntInput) NicSecurityGroupOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) NicSecurityGroup { - return vs[0].([]NicSecurityGroup)[vs[1].(int)] - }).(NicSecurityGroupOutput) -} - -type NicTag struct { - // The key of the tag, with a minimum of 1 character. - Key *string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value *string `pulumi:"value"` -} - -// NicTagInput is an input type that accepts NicTagArgs and NicTagOutput values. -// You can construct a concrete instance of `NicTagInput` via: -// -// NicTagArgs{...} -type NicTagInput interface { - pulumi.Input - - ToNicTagOutput() NicTagOutput - ToNicTagOutputWithContext(context.Context) NicTagOutput -} - -type NicTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringPtrInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringPtrInput `pulumi:"value"` -} - -func (NicTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NicTag)(nil)).Elem() -} - -func (i NicTagArgs) ToNicTagOutput() NicTagOutput { - return i.ToNicTagOutputWithContext(context.Background()) -} - -func (i NicTagArgs) ToNicTagOutputWithContext(ctx context.Context) NicTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(NicTagOutput) -} - -// NicTagArrayInput is an input type that accepts NicTagArray and NicTagArrayOutput values. -// You can construct a concrete instance of `NicTagArrayInput` via: -// -// NicTagArray{ NicTagArgs{...} } -type NicTagArrayInput interface { - pulumi.Input - - ToNicTagArrayOutput() NicTagArrayOutput - ToNicTagArrayOutputWithContext(context.Context) NicTagArrayOutput -} - -type NicTagArray []NicTagInput - -func (NicTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]NicTag)(nil)).Elem() -} - -func (i NicTagArray) ToNicTagArrayOutput() NicTagArrayOutput { - return i.ToNicTagArrayOutputWithContext(context.Background()) -} - -func (i NicTagArray) ToNicTagArrayOutputWithContext(ctx context.Context) NicTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(NicTagArrayOutput) -} - -type NicTagOutput struct{ *pulumi.OutputState } - -func (NicTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NicTag)(nil)).Elem() -} - -func (o NicTagOutput) ToNicTagOutput() NicTagOutput { - return o -} - -func (o NicTagOutput) ToNicTagOutputWithContext(ctx context.Context) NicTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o NicTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v NicTag) *string { return v.Key }).(pulumi.StringPtrOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o NicTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v NicTag) *string { return v.Value }).(pulumi.StringPtrOutput) -} - -type NicTagArrayOutput struct{ *pulumi.OutputState } - -func (NicTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]NicTag)(nil)).Elem() -} - -func (o NicTagArrayOutput) ToNicTagArrayOutput() NicTagArrayOutput { - return o -} - -func (o NicTagArrayOutput) ToNicTagArrayOutputWithContext(ctx context.Context) NicTagArrayOutput { - return o -} - -func (o NicTagArrayOutput) Index(i pulumi.IntInput) NicTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) NicTag { - return vs[0].([]NicTag)[vs[1].(int)] - }).(NicTagOutput) -} - -type OutboundRuleRule struct { - FromPortRange *int `pulumi:"fromPortRange"` - IpProtocol *string `pulumi:"ipProtocol"` - IpRanges []string `pulumi:"ipRanges"` - SecurityGroupsMembers []OutboundRuleRuleSecurityGroupsMember `pulumi:"securityGroupsMembers"` - ServiceIds []string `pulumi:"serviceIds"` - ToPortRange *int `pulumi:"toPortRange"` -} - -// OutboundRuleRuleInput is an input type that accepts OutboundRuleRuleArgs and OutboundRuleRuleOutput values. -// You can construct a concrete instance of `OutboundRuleRuleInput` via: -// -// OutboundRuleRuleArgs{...} -type OutboundRuleRuleInput interface { - pulumi.Input - - ToOutboundRuleRuleOutput() OutboundRuleRuleOutput - ToOutboundRuleRuleOutputWithContext(context.Context) OutboundRuleRuleOutput -} - -type OutboundRuleRuleArgs struct { - FromPortRange pulumi.IntPtrInput `pulumi:"fromPortRange"` - IpProtocol pulumi.StringPtrInput `pulumi:"ipProtocol"` - IpRanges pulumi.StringArrayInput `pulumi:"ipRanges"` - SecurityGroupsMembers OutboundRuleRuleSecurityGroupsMemberArrayInput `pulumi:"securityGroupsMembers"` - ServiceIds pulumi.StringArrayInput `pulumi:"serviceIds"` - ToPortRange pulumi.IntPtrInput `pulumi:"toPortRange"` -} - -func (OutboundRuleRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*OutboundRuleRule)(nil)).Elem() -} - -func (i OutboundRuleRuleArgs) ToOutboundRuleRuleOutput() OutboundRuleRuleOutput { - return i.ToOutboundRuleRuleOutputWithContext(context.Background()) -} - -func (i OutboundRuleRuleArgs) ToOutboundRuleRuleOutputWithContext(ctx context.Context) OutboundRuleRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(OutboundRuleRuleOutput) -} - -// OutboundRuleRuleArrayInput is an input type that accepts OutboundRuleRuleArray and OutboundRuleRuleArrayOutput values. -// You can construct a concrete instance of `OutboundRuleRuleArrayInput` via: -// -// OutboundRuleRuleArray{ OutboundRuleRuleArgs{...} } -type OutboundRuleRuleArrayInput interface { - pulumi.Input - - ToOutboundRuleRuleArrayOutput() OutboundRuleRuleArrayOutput - ToOutboundRuleRuleArrayOutputWithContext(context.Context) OutboundRuleRuleArrayOutput -} - -type OutboundRuleRuleArray []OutboundRuleRuleInput - -func (OutboundRuleRuleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]OutboundRuleRule)(nil)).Elem() -} - -func (i OutboundRuleRuleArray) ToOutboundRuleRuleArrayOutput() OutboundRuleRuleArrayOutput { - return i.ToOutboundRuleRuleArrayOutputWithContext(context.Background()) -} - -func (i OutboundRuleRuleArray) ToOutboundRuleRuleArrayOutputWithContext(ctx context.Context) OutboundRuleRuleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(OutboundRuleRuleArrayOutput) -} - -type OutboundRuleRuleOutput struct{ *pulumi.OutputState } - -func (OutboundRuleRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*OutboundRuleRule)(nil)).Elem() -} - -func (o OutboundRuleRuleOutput) ToOutboundRuleRuleOutput() OutboundRuleRuleOutput { - return o -} - -func (o OutboundRuleRuleOutput) ToOutboundRuleRuleOutputWithContext(ctx context.Context) OutboundRuleRuleOutput { - return o -} - -func (o OutboundRuleRuleOutput) FromPortRange() pulumi.IntPtrOutput { - return o.ApplyT(func(v OutboundRuleRule) *int { return v.FromPortRange }).(pulumi.IntPtrOutput) -} - -func (o OutboundRuleRuleOutput) IpProtocol() pulumi.StringPtrOutput { - return o.ApplyT(func(v OutboundRuleRule) *string { return v.IpProtocol }).(pulumi.StringPtrOutput) -} - -func (o OutboundRuleRuleOutput) IpRanges() pulumi.StringArrayOutput { - return o.ApplyT(func(v OutboundRuleRule) []string { return v.IpRanges }).(pulumi.StringArrayOutput) -} - -func (o OutboundRuleRuleOutput) SecurityGroupsMembers() OutboundRuleRuleSecurityGroupsMemberArrayOutput { - return o.ApplyT(func(v OutboundRuleRule) []OutboundRuleRuleSecurityGroupsMember { return v.SecurityGroupsMembers }).(OutboundRuleRuleSecurityGroupsMemberArrayOutput) -} - -func (o OutboundRuleRuleOutput) ServiceIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v OutboundRuleRule) []string { return v.ServiceIds }).(pulumi.StringArrayOutput) -} - -func (o OutboundRuleRuleOutput) ToPortRange() pulumi.IntPtrOutput { - return o.ApplyT(func(v OutboundRuleRule) *int { return v.ToPortRange }).(pulumi.IntPtrOutput) -} - -type OutboundRuleRuleArrayOutput struct{ *pulumi.OutputState } - -func (OutboundRuleRuleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]OutboundRuleRule)(nil)).Elem() -} - -func (o OutboundRuleRuleArrayOutput) ToOutboundRuleRuleArrayOutput() OutboundRuleRuleArrayOutput { - return o -} - -func (o OutboundRuleRuleArrayOutput) ToOutboundRuleRuleArrayOutputWithContext(ctx context.Context) OutboundRuleRuleArrayOutput { - return o -} - -func (o OutboundRuleRuleArrayOutput) Index(i pulumi.IntInput) OutboundRuleRuleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) OutboundRuleRule { - return vs[0].([]OutboundRuleRule)[vs[1].(int)] - }).(OutboundRuleRuleOutput) -} - -type OutboundRuleRuleSecurityGroupsMember struct { - AccountId *string `pulumi:"accountId"` - SecurityGroupId *string `pulumi:"securityGroupId"` - SecurityGroupName *string `pulumi:"securityGroupName"` -} - -// OutboundRuleRuleSecurityGroupsMemberInput is an input type that accepts OutboundRuleRuleSecurityGroupsMemberArgs and OutboundRuleRuleSecurityGroupsMemberOutput values. -// You can construct a concrete instance of `OutboundRuleRuleSecurityGroupsMemberInput` via: -// -// OutboundRuleRuleSecurityGroupsMemberArgs{...} -type OutboundRuleRuleSecurityGroupsMemberInput interface { - pulumi.Input - - ToOutboundRuleRuleSecurityGroupsMemberOutput() OutboundRuleRuleSecurityGroupsMemberOutput - ToOutboundRuleRuleSecurityGroupsMemberOutputWithContext(context.Context) OutboundRuleRuleSecurityGroupsMemberOutput -} - -type OutboundRuleRuleSecurityGroupsMemberArgs struct { - AccountId pulumi.StringPtrInput `pulumi:"accountId"` - SecurityGroupId pulumi.StringPtrInput `pulumi:"securityGroupId"` - SecurityGroupName pulumi.StringPtrInput `pulumi:"securityGroupName"` -} - -func (OutboundRuleRuleSecurityGroupsMemberArgs) ElementType() reflect.Type { - return reflect.TypeOf((*OutboundRuleRuleSecurityGroupsMember)(nil)).Elem() -} - -func (i OutboundRuleRuleSecurityGroupsMemberArgs) ToOutboundRuleRuleSecurityGroupsMemberOutput() OutboundRuleRuleSecurityGroupsMemberOutput { - return i.ToOutboundRuleRuleSecurityGroupsMemberOutputWithContext(context.Background()) -} - -func (i OutboundRuleRuleSecurityGroupsMemberArgs) ToOutboundRuleRuleSecurityGroupsMemberOutputWithContext(ctx context.Context) OutboundRuleRuleSecurityGroupsMemberOutput { - return pulumi.ToOutputWithContext(ctx, i).(OutboundRuleRuleSecurityGroupsMemberOutput) -} - -// OutboundRuleRuleSecurityGroupsMemberArrayInput is an input type that accepts OutboundRuleRuleSecurityGroupsMemberArray and OutboundRuleRuleSecurityGroupsMemberArrayOutput values. -// You can construct a concrete instance of `OutboundRuleRuleSecurityGroupsMemberArrayInput` via: -// -// OutboundRuleRuleSecurityGroupsMemberArray{ OutboundRuleRuleSecurityGroupsMemberArgs{...} } -type OutboundRuleRuleSecurityGroupsMemberArrayInput interface { - pulumi.Input - - ToOutboundRuleRuleSecurityGroupsMemberArrayOutput() OutboundRuleRuleSecurityGroupsMemberArrayOutput - ToOutboundRuleRuleSecurityGroupsMemberArrayOutputWithContext(context.Context) OutboundRuleRuleSecurityGroupsMemberArrayOutput -} - -type OutboundRuleRuleSecurityGroupsMemberArray []OutboundRuleRuleSecurityGroupsMemberInput - -func (OutboundRuleRuleSecurityGroupsMemberArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]OutboundRuleRuleSecurityGroupsMember)(nil)).Elem() -} - -func (i OutboundRuleRuleSecurityGroupsMemberArray) ToOutboundRuleRuleSecurityGroupsMemberArrayOutput() OutboundRuleRuleSecurityGroupsMemberArrayOutput { - return i.ToOutboundRuleRuleSecurityGroupsMemberArrayOutputWithContext(context.Background()) -} - -func (i OutboundRuleRuleSecurityGroupsMemberArray) ToOutboundRuleRuleSecurityGroupsMemberArrayOutputWithContext(ctx context.Context) OutboundRuleRuleSecurityGroupsMemberArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(OutboundRuleRuleSecurityGroupsMemberArrayOutput) -} - -type OutboundRuleRuleSecurityGroupsMemberOutput struct{ *pulumi.OutputState } - -func (OutboundRuleRuleSecurityGroupsMemberOutput) ElementType() reflect.Type { - return reflect.TypeOf((*OutboundRuleRuleSecurityGroupsMember)(nil)).Elem() -} - -func (o OutboundRuleRuleSecurityGroupsMemberOutput) ToOutboundRuleRuleSecurityGroupsMemberOutput() OutboundRuleRuleSecurityGroupsMemberOutput { - return o -} - -func (o OutboundRuleRuleSecurityGroupsMemberOutput) ToOutboundRuleRuleSecurityGroupsMemberOutputWithContext(ctx context.Context) OutboundRuleRuleSecurityGroupsMemberOutput { - return o -} - -func (o OutboundRuleRuleSecurityGroupsMemberOutput) AccountId() pulumi.StringPtrOutput { - return o.ApplyT(func(v OutboundRuleRuleSecurityGroupsMember) *string { return v.AccountId }).(pulumi.StringPtrOutput) -} - -func (o OutboundRuleRuleSecurityGroupsMemberOutput) SecurityGroupId() pulumi.StringPtrOutput { - return o.ApplyT(func(v OutboundRuleRuleSecurityGroupsMember) *string { return v.SecurityGroupId }).(pulumi.StringPtrOutput) -} - -func (o OutboundRuleRuleSecurityGroupsMemberOutput) SecurityGroupName() pulumi.StringPtrOutput { - return o.ApplyT(func(v OutboundRuleRuleSecurityGroupsMember) *string { return v.SecurityGroupName }).(pulumi.StringPtrOutput) -} - -type OutboundRuleRuleSecurityGroupsMemberArrayOutput struct{ *pulumi.OutputState } - -func (OutboundRuleRuleSecurityGroupsMemberArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]OutboundRuleRuleSecurityGroupsMember)(nil)).Elem() -} - -func (o OutboundRuleRuleSecurityGroupsMemberArrayOutput) ToOutboundRuleRuleSecurityGroupsMemberArrayOutput() OutboundRuleRuleSecurityGroupsMemberArrayOutput { - return o -} - -func (o OutboundRuleRuleSecurityGroupsMemberArrayOutput) ToOutboundRuleRuleSecurityGroupsMemberArrayOutputWithContext(ctx context.Context) OutboundRuleRuleSecurityGroupsMemberArrayOutput { - return o -} - -func (o OutboundRuleRuleSecurityGroupsMemberArrayOutput) Index(i pulumi.IntInput) OutboundRuleRuleSecurityGroupsMemberOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) OutboundRuleRuleSecurityGroupsMember { - return vs[0].([]OutboundRuleRuleSecurityGroupsMember)[vs[1].(int)] - }).(OutboundRuleRuleSecurityGroupsMemberOutput) -} - -type ProviderEndpoint struct { - Api *string `pulumi:"api"` -} - -// ProviderEndpointInput is an input type that accepts ProviderEndpointArgs and ProviderEndpointOutput values. -// You can construct a concrete instance of `ProviderEndpointInput` via: -// -// ProviderEndpointArgs{...} -type ProviderEndpointInput interface { - pulumi.Input - - ToProviderEndpointOutput() ProviderEndpointOutput - ToProviderEndpointOutputWithContext(context.Context) ProviderEndpointOutput -} - -type ProviderEndpointArgs struct { - Api pulumi.StringPtrInput `pulumi:"api"` -} - -func (ProviderEndpointArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ProviderEndpoint)(nil)).Elem() -} - -func (i ProviderEndpointArgs) ToProviderEndpointOutput() ProviderEndpointOutput { - return i.ToProviderEndpointOutputWithContext(context.Background()) -} - -func (i ProviderEndpointArgs) ToProviderEndpointOutputWithContext(ctx context.Context) ProviderEndpointOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProviderEndpointOutput) -} - -// ProviderEndpointArrayInput is an input type that accepts ProviderEndpointArray and ProviderEndpointArrayOutput values. -// You can construct a concrete instance of `ProviderEndpointArrayInput` via: -// -// ProviderEndpointArray{ ProviderEndpointArgs{...} } -type ProviderEndpointArrayInput interface { - pulumi.Input - - ToProviderEndpointArrayOutput() ProviderEndpointArrayOutput - ToProviderEndpointArrayOutputWithContext(context.Context) ProviderEndpointArrayOutput -} - -type ProviderEndpointArray []ProviderEndpointInput - -func (ProviderEndpointArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ProviderEndpoint)(nil)).Elem() -} - -func (i ProviderEndpointArray) ToProviderEndpointArrayOutput() ProviderEndpointArrayOutput { - return i.ToProviderEndpointArrayOutputWithContext(context.Background()) -} - -func (i ProviderEndpointArray) ToProviderEndpointArrayOutputWithContext(ctx context.Context) ProviderEndpointArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProviderEndpointArrayOutput) -} - -type ProviderEndpointOutput struct{ *pulumi.OutputState } - -func (ProviderEndpointOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ProviderEndpoint)(nil)).Elem() -} - -func (o ProviderEndpointOutput) ToProviderEndpointOutput() ProviderEndpointOutput { - return o -} - -func (o ProviderEndpointOutput) ToProviderEndpointOutputWithContext(ctx context.Context) ProviderEndpointOutput { - return o -} - -func (o ProviderEndpointOutput) Api() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProviderEndpoint) *string { return v.Api }).(pulumi.StringPtrOutput) -} - -type ProviderEndpointArrayOutput struct{ *pulumi.OutputState } - -func (ProviderEndpointArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ProviderEndpoint)(nil)).Elem() -} - -func (o ProviderEndpointArrayOutput) ToProviderEndpointArrayOutput() ProviderEndpointArrayOutput { - return o -} - -func (o ProviderEndpointArrayOutput) ToProviderEndpointArrayOutputWithContext(ctx context.Context) ProviderEndpointArrayOutput { - return o -} - -func (o ProviderEndpointArrayOutput) Index(i pulumi.IntInput) ProviderEndpointOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ProviderEndpoint { - return vs[0].([]ProviderEndpoint)[vs[1].(int)] - }).(ProviderEndpointOutput) -} - -type PublicIpLinkTag struct { - Key *string `pulumi:"key"` - Value *string `pulumi:"value"` -} - -// PublicIpLinkTagInput is an input type that accepts PublicIpLinkTagArgs and PublicIpLinkTagOutput values. -// You can construct a concrete instance of `PublicIpLinkTagInput` via: -// -// PublicIpLinkTagArgs{...} -type PublicIpLinkTagInput interface { - pulumi.Input - - ToPublicIpLinkTagOutput() PublicIpLinkTagOutput - ToPublicIpLinkTagOutputWithContext(context.Context) PublicIpLinkTagOutput -} - -type PublicIpLinkTagArgs struct { - Key pulumi.StringPtrInput `pulumi:"key"` - Value pulumi.StringPtrInput `pulumi:"value"` -} - -func (PublicIpLinkTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PublicIpLinkTag)(nil)).Elem() -} - -func (i PublicIpLinkTagArgs) ToPublicIpLinkTagOutput() PublicIpLinkTagOutput { - return i.ToPublicIpLinkTagOutputWithContext(context.Background()) -} - -func (i PublicIpLinkTagArgs) ToPublicIpLinkTagOutputWithContext(ctx context.Context) PublicIpLinkTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(PublicIpLinkTagOutput) -} - -// PublicIpLinkTagArrayInput is an input type that accepts PublicIpLinkTagArray and PublicIpLinkTagArrayOutput values. -// You can construct a concrete instance of `PublicIpLinkTagArrayInput` via: -// -// PublicIpLinkTagArray{ PublicIpLinkTagArgs{...} } -type PublicIpLinkTagArrayInput interface { - pulumi.Input - - ToPublicIpLinkTagArrayOutput() PublicIpLinkTagArrayOutput - ToPublicIpLinkTagArrayOutputWithContext(context.Context) PublicIpLinkTagArrayOutput -} - -type PublicIpLinkTagArray []PublicIpLinkTagInput - -func (PublicIpLinkTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PublicIpLinkTag)(nil)).Elem() -} - -func (i PublicIpLinkTagArray) ToPublicIpLinkTagArrayOutput() PublicIpLinkTagArrayOutput { - return i.ToPublicIpLinkTagArrayOutputWithContext(context.Background()) -} - -func (i PublicIpLinkTagArray) ToPublicIpLinkTagArrayOutputWithContext(ctx context.Context) PublicIpLinkTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PublicIpLinkTagArrayOutput) -} - -type PublicIpLinkTagOutput struct{ *pulumi.OutputState } - -func (PublicIpLinkTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PublicIpLinkTag)(nil)).Elem() -} - -func (o PublicIpLinkTagOutput) ToPublicIpLinkTagOutput() PublicIpLinkTagOutput { - return o -} - -func (o PublicIpLinkTagOutput) ToPublicIpLinkTagOutputWithContext(ctx context.Context) PublicIpLinkTagOutput { - return o -} - -func (o PublicIpLinkTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v PublicIpLinkTag) *string { return v.Key }).(pulumi.StringPtrOutput) -} - -func (o PublicIpLinkTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v PublicIpLinkTag) *string { return v.Value }).(pulumi.StringPtrOutput) -} - -type PublicIpLinkTagArrayOutput struct{ *pulumi.OutputState } - -func (PublicIpLinkTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PublicIpLinkTag)(nil)).Elem() -} - -func (o PublicIpLinkTagArrayOutput) ToPublicIpLinkTagArrayOutput() PublicIpLinkTagArrayOutput { - return o -} - -func (o PublicIpLinkTagArrayOutput) ToPublicIpLinkTagArrayOutputWithContext(ctx context.Context) PublicIpLinkTagArrayOutput { - return o -} - -func (o PublicIpLinkTagArrayOutput) Index(i pulumi.IntInput) PublicIpLinkTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PublicIpLinkTag { - return vs[0].([]PublicIpLinkTag)[vs[1].(int)] - }).(PublicIpLinkTagOutput) -} - -type PublicIpTag struct { - // The key of the tag, with a minimum of 1 character. - Key *string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value *string `pulumi:"value"` -} - -// PublicIpTagInput is an input type that accepts PublicIpTagArgs and PublicIpTagOutput values. -// You can construct a concrete instance of `PublicIpTagInput` via: -// -// PublicIpTagArgs{...} -type PublicIpTagInput interface { - pulumi.Input - - ToPublicIpTagOutput() PublicIpTagOutput - ToPublicIpTagOutputWithContext(context.Context) PublicIpTagOutput -} - -type PublicIpTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringPtrInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringPtrInput `pulumi:"value"` -} - -func (PublicIpTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PublicIpTag)(nil)).Elem() -} - -func (i PublicIpTagArgs) ToPublicIpTagOutput() PublicIpTagOutput { - return i.ToPublicIpTagOutputWithContext(context.Background()) -} - -func (i PublicIpTagArgs) ToPublicIpTagOutputWithContext(ctx context.Context) PublicIpTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(PublicIpTagOutput) -} - -// PublicIpTagArrayInput is an input type that accepts PublicIpTagArray and PublicIpTagArrayOutput values. -// You can construct a concrete instance of `PublicIpTagArrayInput` via: -// -// PublicIpTagArray{ PublicIpTagArgs{...} } -type PublicIpTagArrayInput interface { - pulumi.Input - - ToPublicIpTagArrayOutput() PublicIpTagArrayOutput - ToPublicIpTagArrayOutputWithContext(context.Context) PublicIpTagArrayOutput -} - -type PublicIpTagArray []PublicIpTagInput - -func (PublicIpTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PublicIpTag)(nil)).Elem() -} - -func (i PublicIpTagArray) ToPublicIpTagArrayOutput() PublicIpTagArrayOutput { - return i.ToPublicIpTagArrayOutputWithContext(context.Background()) -} - -func (i PublicIpTagArray) ToPublicIpTagArrayOutputWithContext(ctx context.Context) PublicIpTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PublicIpTagArrayOutput) -} - -type PublicIpTagOutput struct{ *pulumi.OutputState } - -func (PublicIpTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PublicIpTag)(nil)).Elem() -} - -func (o PublicIpTagOutput) ToPublicIpTagOutput() PublicIpTagOutput { - return o -} - -func (o PublicIpTagOutput) ToPublicIpTagOutputWithContext(ctx context.Context) PublicIpTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o PublicIpTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v PublicIpTag) *string { return v.Key }).(pulumi.StringPtrOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o PublicIpTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v PublicIpTag) *string { return v.Value }).(pulumi.StringPtrOutput) -} - -type PublicIpTagArrayOutput struct{ *pulumi.OutputState } - -func (PublicIpTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PublicIpTag)(nil)).Elem() -} - -func (o PublicIpTagArrayOutput) ToPublicIpTagArrayOutput() PublicIpTagArrayOutput { - return o -} - -func (o PublicIpTagArrayOutput) ToPublicIpTagArrayOutputWithContext(ctx context.Context) PublicIpTagArrayOutput { - return o -} - -func (o PublicIpTagArrayOutput) Index(i pulumi.IntInput) PublicIpTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PublicIpTag { - return vs[0].([]PublicIpTag)[vs[1].(int)] - }).(PublicIpTagOutput) -} - -type RouteTableLinkRouteTable struct { - // The ID of the association between the route table and the Subnet. - LinkRouteTableId *string `pulumi:"linkRouteTableId"` - // If true, the route table is the main one. - Main *bool `pulumi:"main"` - // The ID of the route table. - RouteTableId *string `pulumi:"routeTableId"` - RouteTableToSubnetLinkId *string `pulumi:"routeTableToSubnetLinkId"` - // The ID of the Subnet. - SubnetId *string `pulumi:"subnetId"` -} - -// RouteTableLinkRouteTableInput is an input type that accepts RouteTableLinkRouteTableArgs and RouteTableLinkRouteTableOutput values. -// You can construct a concrete instance of `RouteTableLinkRouteTableInput` via: -// -// RouteTableLinkRouteTableArgs{...} -type RouteTableLinkRouteTableInput interface { - pulumi.Input - - ToRouteTableLinkRouteTableOutput() RouteTableLinkRouteTableOutput - ToRouteTableLinkRouteTableOutputWithContext(context.Context) RouteTableLinkRouteTableOutput -} - -type RouteTableLinkRouteTableArgs struct { - // The ID of the association between the route table and the Subnet. - LinkRouteTableId pulumi.StringPtrInput `pulumi:"linkRouteTableId"` - // If true, the route table is the main one. - Main pulumi.BoolPtrInput `pulumi:"main"` - // The ID of the route table. - RouteTableId pulumi.StringPtrInput `pulumi:"routeTableId"` - RouteTableToSubnetLinkId pulumi.StringPtrInput `pulumi:"routeTableToSubnetLinkId"` - // The ID of the Subnet. - SubnetId pulumi.StringPtrInput `pulumi:"subnetId"` -} - -func (RouteTableLinkRouteTableArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RouteTableLinkRouteTable)(nil)).Elem() -} - -func (i RouteTableLinkRouteTableArgs) ToRouteTableLinkRouteTableOutput() RouteTableLinkRouteTableOutput { - return i.ToRouteTableLinkRouteTableOutputWithContext(context.Background()) -} - -func (i RouteTableLinkRouteTableArgs) ToRouteTableLinkRouteTableOutputWithContext(ctx context.Context) RouteTableLinkRouteTableOutput { - return pulumi.ToOutputWithContext(ctx, i).(RouteTableLinkRouteTableOutput) -} - -// RouteTableLinkRouteTableArrayInput is an input type that accepts RouteTableLinkRouteTableArray and RouteTableLinkRouteTableArrayOutput values. -// You can construct a concrete instance of `RouteTableLinkRouteTableArrayInput` via: -// -// RouteTableLinkRouteTableArray{ RouteTableLinkRouteTableArgs{...} } -type RouteTableLinkRouteTableArrayInput interface { - pulumi.Input - - ToRouteTableLinkRouteTableArrayOutput() RouteTableLinkRouteTableArrayOutput - ToRouteTableLinkRouteTableArrayOutputWithContext(context.Context) RouteTableLinkRouteTableArrayOutput -} - -type RouteTableLinkRouteTableArray []RouteTableLinkRouteTableInput - -func (RouteTableLinkRouteTableArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]RouteTableLinkRouteTable)(nil)).Elem() -} - -func (i RouteTableLinkRouteTableArray) ToRouteTableLinkRouteTableArrayOutput() RouteTableLinkRouteTableArrayOutput { - return i.ToRouteTableLinkRouteTableArrayOutputWithContext(context.Background()) -} - -func (i RouteTableLinkRouteTableArray) ToRouteTableLinkRouteTableArrayOutputWithContext(ctx context.Context) RouteTableLinkRouteTableArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(RouteTableLinkRouteTableArrayOutput) -} - -type RouteTableLinkRouteTableOutput struct{ *pulumi.OutputState } - -func (RouteTableLinkRouteTableOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RouteTableLinkRouteTable)(nil)).Elem() -} - -func (o RouteTableLinkRouteTableOutput) ToRouteTableLinkRouteTableOutput() RouteTableLinkRouteTableOutput { - return o -} - -func (o RouteTableLinkRouteTableOutput) ToRouteTableLinkRouteTableOutputWithContext(ctx context.Context) RouteTableLinkRouteTableOutput { - return o -} - -// The ID of the association between the route table and the Subnet. -func (o RouteTableLinkRouteTableOutput) LinkRouteTableId() pulumi.StringPtrOutput { - return o.ApplyT(func(v RouteTableLinkRouteTable) *string { return v.LinkRouteTableId }).(pulumi.StringPtrOutput) -} - -// If true, the route table is the main one. -func (o RouteTableLinkRouteTableOutput) Main() pulumi.BoolPtrOutput { - return o.ApplyT(func(v RouteTableLinkRouteTable) *bool { return v.Main }).(pulumi.BoolPtrOutput) -} - -// The ID of the route table. -func (o RouteTableLinkRouteTableOutput) RouteTableId() pulumi.StringPtrOutput { - return o.ApplyT(func(v RouteTableLinkRouteTable) *string { return v.RouteTableId }).(pulumi.StringPtrOutput) -} - -func (o RouteTableLinkRouteTableOutput) RouteTableToSubnetLinkId() pulumi.StringPtrOutput { - return o.ApplyT(func(v RouteTableLinkRouteTable) *string { return v.RouteTableToSubnetLinkId }).(pulumi.StringPtrOutput) -} - -// The ID of the Subnet. -func (o RouteTableLinkRouteTableOutput) SubnetId() pulumi.StringPtrOutput { - return o.ApplyT(func(v RouteTableLinkRouteTable) *string { return v.SubnetId }).(pulumi.StringPtrOutput) -} - -type RouteTableLinkRouteTableArrayOutput struct{ *pulumi.OutputState } - -func (RouteTableLinkRouteTableArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]RouteTableLinkRouteTable)(nil)).Elem() -} - -func (o RouteTableLinkRouteTableArrayOutput) ToRouteTableLinkRouteTableArrayOutput() RouteTableLinkRouteTableArrayOutput { - return o -} - -func (o RouteTableLinkRouteTableArrayOutput) ToRouteTableLinkRouteTableArrayOutputWithContext(ctx context.Context) RouteTableLinkRouteTableArrayOutput { - return o -} - -func (o RouteTableLinkRouteTableArrayOutput) Index(i pulumi.IntInput) RouteTableLinkRouteTableOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouteTableLinkRouteTable { - return vs[0].([]RouteTableLinkRouteTable)[vs[1].(int)] - }).(RouteTableLinkRouteTableOutput) -} - -type RouteTableRoute struct { - // The method used to create the route. - CreationMethod *string `pulumi:"creationMethod"` - // The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - DestinationIpRange *string `pulumi:"destinationIpRange"` - // The ID of the OUTSCALE service. - DestinationServiceId *string `pulumi:"destinationServiceId"` - // The ID of the Internet service or virtual gateway attached to the Net. - GatewayId *string `pulumi:"gatewayId"` - // The ID of a NAT service attached to the Net. - NatServiceId *string `pulumi:"natServiceId"` - // The ID of the Net access point. - NetAccessPointId *string `pulumi:"netAccessPointId"` - // The ID of the Net peering. - NetPeeringId *string `pulumi:"netPeeringId"` - // The ID of the NIC. - NicId *string `pulumi:"nicId"` - // The state of a route in the route table (always `active`). - State *string `pulumi:"state"` - // The account ID of the owner of the VM. - VmAccountId *string `pulumi:"vmAccountId"` - // The ID of a VM specified in a route in the table. - VmId *string `pulumi:"vmId"` -} - -// RouteTableRouteInput is an input type that accepts RouteTableRouteArgs and RouteTableRouteOutput values. -// You can construct a concrete instance of `RouteTableRouteInput` via: -// -// RouteTableRouteArgs{...} -type RouteTableRouteInput interface { - pulumi.Input - - ToRouteTableRouteOutput() RouteTableRouteOutput - ToRouteTableRouteOutputWithContext(context.Context) RouteTableRouteOutput -} - -type RouteTableRouteArgs struct { - // The method used to create the route. - CreationMethod pulumi.StringPtrInput `pulumi:"creationMethod"` - // The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - DestinationIpRange pulumi.StringPtrInput `pulumi:"destinationIpRange"` - // The ID of the OUTSCALE service. - DestinationServiceId pulumi.StringPtrInput `pulumi:"destinationServiceId"` - // The ID of the Internet service or virtual gateway attached to the Net. - GatewayId pulumi.StringPtrInput `pulumi:"gatewayId"` - // The ID of a NAT service attached to the Net. - NatServiceId pulumi.StringPtrInput `pulumi:"natServiceId"` - // The ID of the Net access point. - NetAccessPointId pulumi.StringPtrInput `pulumi:"netAccessPointId"` - // The ID of the Net peering. - NetPeeringId pulumi.StringPtrInput `pulumi:"netPeeringId"` - // The ID of the NIC. - NicId pulumi.StringPtrInput `pulumi:"nicId"` - // The state of a route in the route table (always `active`). - State pulumi.StringPtrInput `pulumi:"state"` - // The account ID of the owner of the VM. - VmAccountId pulumi.StringPtrInput `pulumi:"vmAccountId"` - // The ID of a VM specified in a route in the table. - VmId pulumi.StringPtrInput `pulumi:"vmId"` -} - -func (RouteTableRouteArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RouteTableRoute)(nil)).Elem() -} - -func (i RouteTableRouteArgs) ToRouteTableRouteOutput() RouteTableRouteOutput { - return i.ToRouteTableRouteOutputWithContext(context.Background()) -} - -func (i RouteTableRouteArgs) ToRouteTableRouteOutputWithContext(ctx context.Context) RouteTableRouteOutput { - return pulumi.ToOutputWithContext(ctx, i).(RouteTableRouteOutput) -} - -// RouteTableRouteArrayInput is an input type that accepts RouteTableRouteArray and RouteTableRouteArrayOutput values. -// You can construct a concrete instance of `RouteTableRouteArrayInput` via: -// -// RouteTableRouteArray{ RouteTableRouteArgs{...} } -type RouteTableRouteArrayInput interface { - pulumi.Input - - ToRouteTableRouteArrayOutput() RouteTableRouteArrayOutput - ToRouteTableRouteArrayOutputWithContext(context.Context) RouteTableRouteArrayOutput -} - -type RouteTableRouteArray []RouteTableRouteInput - -func (RouteTableRouteArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]RouteTableRoute)(nil)).Elem() -} - -func (i RouteTableRouteArray) ToRouteTableRouteArrayOutput() RouteTableRouteArrayOutput { - return i.ToRouteTableRouteArrayOutputWithContext(context.Background()) -} - -func (i RouteTableRouteArray) ToRouteTableRouteArrayOutputWithContext(ctx context.Context) RouteTableRouteArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(RouteTableRouteArrayOutput) -} - -type RouteTableRouteOutput struct{ *pulumi.OutputState } - -func (RouteTableRouteOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RouteTableRoute)(nil)).Elem() -} - -func (o RouteTableRouteOutput) ToRouteTableRouteOutput() RouteTableRouteOutput { - return o -} - -func (o RouteTableRouteOutput) ToRouteTableRouteOutputWithContext(ctx context.Context) RouteTableRouteOutput { - return o -} - -// The method used to create the route. -func (o RouteTableRouteOutput) CreationMethod() pulumi.StringPtrOutput { - return o.ApplyT(func(v RouteTableRoute) *string { return v.CreationMethod }).(pulumi.StringPtrOutput) -} - -// The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). -func (o RouteTableRouteOutput) DestinationIpRange() pulumi.StringPtrOutput { - return o.ApplyT(func(v RouteTableRoute) *string { return v.DestinationIpRange }).(pulumi.StringPtrOutput) -} - -// The ID of the OUTSCALE service. -func (o RouteTableRouteOutput) DestinationServiceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v RouteTableRoute) *string { return v.DestinationServiceId }).(pulumi.StringPtrOutput) -} - -// The ID of the Internet service or virtual gateway attached to the Net. -func (o RouteTableRouteOutput) GatewayId() pulumi.StringPtrOutput { - return o.ApplyT(func(v RouteTableRoute) *string { return v.GatewayId }).(pulumi.StringPtrOutput) -} - -// The ID of a NAT service attached to the Net. -func (o RouteTableRouteOutput) NatServiceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v RouteTableRoute) *string { return v.NatServiceId }).(pulumi.StringPtrOutput) -} - -// The ID of the Net access point. -func (o RouteTableRouteOutput) NetAccessPointId() pulumi.StringPtrOutput { - return o.ApplyT(func(v RouteTableRoute) *string { return v.NetAccessPointId }).(pulumi.StringPtrOutput) -} - -// The ID of the Net peering. -func (o RouteTableRouteOutput) NetPeeringId() pulumi.StringPtrOutput { - return o.ApplyT(func(v RouteTableRoute) *string { return v.NetPeeringId }).(pulumi.StringPtrOutput) -} - -// The ID of the NIC. -func (o RouteTableRouteOutput) NicId() pulumi.StringPtrOutput { - return o.ApplyT(func(v RouteTableRoute) *string { return v.NicId }).(pulumi.StringPtrOutput) -} - -// The state of a route in the route table (always `active`). -func (o RouteTableRouteOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v RouteTableRoute) *string { return v.State }).(pulumi.StringPtrOutput) -} - -// The account ID of the owner of the VM. -func (o RouteTableRouteOutput) VmAccountId() pulumi.StringPtrOutput { - return o.ApplyT(func(v RouteTableRoute) *string { return v.VmAccountId }).(pulumi.StringPtrOutput) -} - -// The ID of a VM specified in a route in the table. -func (o RouteTableRouteOutput) VmId() pulumi.StringPtrOutput { - return o.ApplyT(func(v RouteTableRoute) *string { return v.VmId }).(pulumi.StringPtrOutput) -} - -type RouteTableRouteArrayOutput struct{ *pulumi.OutputState } - -func (RouteTableRouteArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]RouteTableRoute)(nil)).Elem() -} - -func (o RouteTableRouteArrayOutput) ToRouteTableRouteArrayOutput() RouteTableRouteArrayOutput { - return o -} - -func (o RouteTableRouteArrayOutput) ToRouteTableRouteArrayOutputWithContext(ctx context.Context) RouteTableRouteArrayOutput { - return o -} - -func (o RouteTableRouteArrayOutput) Index(i pulumi.IntInput) RouteTableRouteOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouteTableRoute { - return vs[0].([]RouteTableRoute)[vs[1].(int)] - }).(RouteTableRouteOutput) -} - -type RouteTableRoutePropagatingVirtualGateway struct { - // The ID of the virtual gateway. - VirtualGatewayId *string `pulumi:"virtualGatewayId"` -} - -// RouteTableRoutePropagatingVirtualGatewayInput is an input type that accepts RouteTableRoutePropagatingVirtualGatewayArgs and RouteTableRoutePropagatingVirtualGatewayOutput values. -// You can construct a concrete instance of `RouteTableRoutePropagatingVirtualGatewayInput` via: -// -// RouteTableRoutePropagatingVirtualGatewayArgs{...} -type RouteTableRoutePropagatingVirtualGatewayInput interface { - pulumi.Input - - ToRouteTableRoutePropagatingVirtualGatewayOutput() RouteTableRoutePropagatingVirtualGatewayOutput - ToRouteTableRoutePropagatingVirtualGatewayOutputWithContext(context.Context) RouteTableRoutePropagatingVirtualGatewayOutput -} - -type RouteTableRoutePropagatingVirtualGatewayArgs struct { - // The ID of the virtual gateway. - VirtualGatewayId pulumi.StringPtrInput `pulumi:"virtualGatewayId"` -} - -func (RouteTableRoutePropagatingVirtualGatewayArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RouteTableRoutePropagatingVirtualGateway)(nil)).Elem() -} - -func (i RouteTableRoutePropagatingVirtualGatewayArgs) ToRouteTableRoutePropagatingVirtualGatewayOutput() RouteTableRoutePropagatingVirtualGatewayOutput { - return i.ToRouteTableRoutePropagatingVirtualGatewayOutputWithContext(context.Background()) -} - -func (i RouteTableRoutePropagatingVirtualGatewayArgs) ToRouteTableRoutePropagatingVirtualGatewayOutputWithContext(ctx context.Context) RouteTableRoutePropagatingVirtualGatewayOutput { - return pulumi.ToOutputWithContext(ctx, i).(RouteTableRoutePropagatingVirtualGatewayOutput) -} - -// RouteTableRoutePropagatingVirtualGatewayArrayInput is an input type that accepts RouteTableRoutePropagatingVirtualGatewayArray and RouteTableRoutePropagatingVirtualGatewayArrayOutput values. -// You can construct a concrete instance of `RouteTableRoutePropagatingVirtualGatewayArrayInput` via: -// -// RouteTableRoutePropagatingVirtualGatewayArray{ RouteTableRoutePropagatingVirtualGatewayArgs{...} } -type RouteTableRoutePropagatingVirtualGatewayArrayInput interface { - pulumi.Input - - ToRouteTableRoutePropagatingVirtualGatewayArrayOutput() RouteTableRoutePropagatingVirtualGatewayArrayOutput - ToRouteTableRoutePropagatingVirtualGatewayArrayOutputWithContext(context.Context) RouteTableRoutePropagatingVirtualGatewayArrayOutput -} - -type RouteTableRoutePropagatingVirtualGatewayArray []RouteTableRoutePropagatingVirtualGatewayInput - -func (RouteTableRoutePropagatingVirtualGatewayArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]RouteTableRoutePropagatingVirtualGateway)(nil)).Elem() -} - -func (i RouteTableRoutePropagatingVirtualGatewayArray) ToRouteTableRoutePropagatingVirtualGatewayArrayOutput() RouteTableRoutePropagatingVirtualGatewayArrayOutput { - return i.ToRouteTableRoutePropagatingVirtualGatewayArrayOutputWithContext(context.Background()) -} - -func (i RouteTableRoutePropagatingVirtualGatewayArray) ToRouteTableRoutePropagatingVirtualGatewayArrayOutputWithContext(ctx context.Context) RouteTableRoutePropagatingVirtualGatewayArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(RouteTableRoutePropagatingVirtualGatewayArrayOutput) -} - -type RouteTableRoutePropagatingVirtualGatewayOutput struct{ *pulumi.OutputState } - -func (RouteTableRoutePropagatingVirtualGatewayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RouteTableRoutePropagatingVirtualGateway)(nil)).Elem() -} - -func (o RouteTableRoutePropagatingVirtualGatewayOutput) ToRouteTableRoutePropagatingVirtualGatewayOutput() RouteTableRoutePropagatingVirtualGatewayOutput { - return o -} - -func (o RouteTableRoutePropagatingVirtualGatewayOutput) ToRouteTableRoutePropagatingVirtualGatewayOutputWithContext(ctx context.Context) RouteTableRoutePropagatingVirtualGatewayOutput { - return o -} - -// The ID of the virtual gateway. -func (o RouteTableRoutePropagatingVirtualGatewayOutput) VirtualGatewayId() pulumi.StringPtrOutput { - return o.ApplyT(func(v RouteTableRoutePropagatingVirtualGateway) *string { return v.VirtualGatewayId }).(pulumi.StringPtrOutput) -} - -type RouteTableRoutePropagatingVirtualGatewayArrayOutput struct{ *pulumi.OutputState } - -func (RouteTableRoutePropagatingVirtualGatewayArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]RouteTableRoutePropagatingVirtualGateway)(nil)).Elem() -} - -func (o RouteTableRoutePropagatingVirtualGatewayArrayOutput) ToRouteTableRoutePropagatingVirtualGatewayArrayOutput() RouteTableRoutePropagatingVirtualGatewayArrayOutput { - return o -} - -func (o RouteTableRoutePropagatingVirtualGatewayArrayOutput) ToRouteTableRoutePropagatingVirtualGatewayArrayOutputWithContext(ctx context.Context) RouteTableRoutePropagatingVirtualGatewayArrayOutput { - return o -} - -func (o RouteTableRoutePropagatingVirtualGatewayArrayOutput) Index(i pulumi.IntInput) RouteTableRoutePropagatingVirtualGatewayOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouteTableRoutePropagatingVirtualGateway { - return vs[0].([]RouteTableRoutePropagatingVirtualGateway)[vs[1].(int)] - }).(RouteTableRoutePropagatingVirtualGatewayOutput) -} - -type RouteTableTag struct { - // The key of the tag, with a minimum of 1 character. - Key *string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value *string `pulumi:"value"` -} - -// RouteTableTagInput is an input type that accepts RouteTableTagArgs and RouteTableTagOutput values. -// You can construct a concrete instance of `RouteTableTagInput` via: -// -// RouteTableTagArgs{...} -type RouteTableTagInput interface { - pulumi.Input - - ToRouteTableTagOutput() RouteTableTagOutput - ToRouteTableTagOutputWithContext(context.Context) RouteTableTagOutput -} - -type RouteTableTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringPtrInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringPtrInput `pulumi:"value"` -} - -func (RouteTableTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RouteTableTag)(nil)).Elem() -} - -func (i RouteTableTagArgs) ToRouteTableTagOutput() RouteTableTagOutput { - return i.ToRouteTableTagOutputWithContext(context.Background()) -} - -func (i RouteTableTagArgs) ToRouteTableTagOutputWithContext(ctx context.Context) RouteTableTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(RouteTableTagOutput) -} - -// RouteTableTagArrayInput is an input type that accepts RouteTableTagArray and RouteTableTagArrayOutput values. -// You can construct a concrete instance of `RouteTableTagArrayInput` via: -// -// RouteTableTagArray{ RouteTableTagArgs{...} } -type RouteTableTagArrayInput interface { - pulumi.Input - - ToRouteTableTagArrayOutput() RouteTableTagArrayOutput - ToRouteTableTagArrayOutputWithContext(context.Context) RouteTableTagArrayOutput -} - -type RouteTableTagArray []RouteTableTagInput - -func (RouteTableTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]RouteTableTag)(nil)).Elem() -} - -func (i RouteTableTagArray) ToRouteTableTagArrayOutput() RouteTableTagArrayOutput { - return i.ToRouteTableTagArrayOutputWithContext(context.Background()) -} - -func (i RouteTableTagArray) ToRouteTableTagArrayOutputWithContext(ctx context.Context) RouteTableTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(RouteTableTagArrayOutput) -} - -type RouteTableTagOutput struct{ *pulumi.OutputState } - -func (RouteTableTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RouteTableTag)(nil)).Elem() -} - -func (o RouteTableTagOutput) ToRouteTableTagOutput() RouteTableTagOutput { - return o -} - -func (o RouteTableTagOutput) ToRouteTableTagOutputWithContext(ctx context.Context) RouteTableTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o RouteTableTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v RouteTableTag) *string { return v.Key }).(pulumi.StringPtrOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o RouteTableTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v RouteTableTag) *string { return v.Value }).(pulumi.StringPtrOutput) -} - -type RouteTableTagArrayOutput struct{ *pulumi.OutputState } - -func (RouteTableTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]RouteTableTag)(nil)).Elem() -} - -func (o RouteTableTagArrayOutput) ToRouteTableTagArrayOutput() RouteTableTagArrayOutput { - return o -} - -func (o RouteTableTagArrayOutput) ToRouteTableTagArrayOutputWithContext(ctx context.Context) RouteTableTagArrayOutput { - return o -} - -func (o RouteTableTagArrayOutput) Index(i pulumi.IntInput) RouteTableTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouteTableTag { - return vs[0].([]RouteTableTag)[vs[1].(int)] - }).(RouteTableTagOutput) -} - -type SecurityGroupInboundRule struct { - // The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - FromPortRange *int `pulumi:"fromPortRange"` - // The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - IpProtocol *string `pulumi:"ipProtocol"` - // One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - IpRanges []string `pulumi:"ipRanges"` - // Information about one or more source or destination security groups. - SecurityGroupsMembers []map[string]interface{} `pulumi:"securityGroupsMembers"` - // The end of the port range for the TCP and UDP protocols, or an ICMP code number. - ToPortRange *int `pulumi:"toPortRange"` -} - -// SecurityGroupInboundRuleInput is an input type that accepts SecurityGroupInboundRuleArgs and SecurityGroupInboundRuleOutput values. -// You can construct a concrete instance of `SecurityGroupInboundRuleInput` via: -// -// SecurityGroupInboundRuleArgs{...} -type SecurityGroupInboundRuleInput interface { - pulumi.Input - - ToSecurityGroupInboundRuleOutput() SecurityGroupInboundRuleOutput - ToSecurityGroupInboundRuleOutputWithContext(context.Context) SecurityGroupInboundRuleOutput -} - -type SecurityGroupInboundRuleArgs struct { - // The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - FromPortRange pulumi.IntPtrInput `pulumi:"fromPortRange"` - // The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - IpProtocol pulumi.StringPtrInput `pulumi:"ipProtocol"` - // One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - IpRanges pulumi.StringArrayInput `pulumi:"ipRanges"` - // Information about one or more source or destination security groups. - SecurityGroupsMembers pulumi.MapArrayInput `pulumi:"securityGroupsMembers"` - // The end of the port range for the TCP and UDP protocols, or an ICMP code number. - ToPortRange pulumi.IntPtrInput `pulumi:"toPortRange"` -} - -func (SecurityGroupInboundRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityGroupInboundRule)(nil)).Elem() -} - -func (i SecurityGroupInboundRuleArgs) ToSecurityGroupInboundRuleOutput() SecurityGroupInboundRuleOutput { - return i.ToSecurityGroupInboundRuleOutputWithContext(context.Background()) -} - -func (i SecurityGroupInboundRuleArgs) ToSecurityGroupInboundRuleOutputWithContext(ctx context.Context) SecurityGroupInboundRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityGroupInboundRuleOutput) -} - -// SecurityGroupInboundRuleArrayInput is an input type that accepts SecurityGroupInboundRuleArray and SecurityGroupInboundRuleArrayOutput values. -// You can construct a concrete instance of `SecurityGroupInboundRuleArrayInput` via: -// -// SecurityGroupInboundRuleArray{ SecurityGroupInboundRuleArgs{...} } -type SecurityGroupInboundRuleArrayInput interface { - pulumi.Input - - ToSecurityGroupInboundRuleArrayOutput() SecurityGroupInboundRuleArrayOutput - ToSecurityGroupInboundRuleArrayOutputWithContext(context.Context) SecurityGroupInboundRuleArrayOutput -} - -type SecurityGroupInboundRuleArray []SecurityGroupInboundRuleInput - -func (SecurityGroupInboundRuleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SecurityGroupInboundRule)(nil)).Elem() -} - -func (i SecurityGroupInboundRuleArray) ToSecurityGroupInboundRuleArrayOutput() SecurityGroupInboundRuleArrayOutput { - return i.ToSecurityGroupInboundRuleArrayOutputWithContext(context.Background()) -} - -func (i SecurityGroupInboundRuleArray) ToSecurityGroupInboundRuleArrayOutputWithContext(ctx context.Context) SecurityGroupInboundRuleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityGroupInboundRuleArrayOutput) -} - -type SecurityGroupInboundRuleOutput struct{ *pulumi.OutputState } - -func (SecurityGroupInboundRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityGroupInboundRule)(nil)).Elem() -} - -func (o SecurityGroupInboundRuleOutput) ToSecurityGroupInboundRuleOutput() SecurityGroupInboundRuleOutput { - return o -} - -func (o SecurityGroupInboundRuleOutput) ToSecurityGroupInboundRuleOutputWithContext(ctx context.Context) SecurityGroupInboundRuleOutput { - return o -} - -// The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. -func (o SecurityGroupInboundRuleOutput) FromPortRange() pulumi.IntPtrOutput { - return o.ApplyT(func(v SecurityGroupInboundRule) *int { return v.FromPortRange }).(pulumi.IntPtrOutput) -} - -// The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). -func (o SecurityGroupInboundRuleOutput) IpProtocol() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecurityGroupInboundRule) *string { return v.IpProtocol }).(pulumi.StringPtrOutput) -} - -// One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). -func (o SecurityGroupInboundRuleOutput) IpRanges() pulumi.StringArrayOutput { - return o.ApplyT(func(v SecurityGroupInboundRule) []string { return v.IpRanges }).(pulumi.StringArrayOutput) -} - -// Information about one or more source or destination security groups. -func (o SecurityGroupInboundRuleOutput) SecurityGroupsMembers() pulumi.MapArrayOutput { - return o.ApplyT(func(v SecurityGroupInboundRule) []map[string]interface{} { return v.SecurityGroupsMembers }).(pulumi.MapArrayOutput) -} - -// The end of the port range for the TCP and UDP protocols, or an ICMP code number. -func (o SecurityGroupInboundRuleOutput) ToPortRange() pulumi.IntPtrOutput { - return o.ApplyT(func(v SecurityGroupInboundRule) *int { return v.ToPortRange }).(pulumi.IntPtrOutput) -} - -type SecurityGroupInboundRuleArrayOutput struct{ *pulumi.OutputState } - -func (SecurityGroupInboundRuleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SecurityGroupInboundRule)(nil)).Elem() -} - -func (o SecurityGroupInboundRuleArrayOutput) ToSecurityGroupInboundRuleArrayOutput() SecurityGroupInboundRuleArrayOutput { - return o -} - -func (o SecurityGroupInboundRuleArrayOutput) ToSecurityGroupInboundRuleArrayOutputWithContext(ctx context.Context) SecurityGroupInboundRuleArrayOutput { - return o -} - -func (o SecurityGroupInboundRuleArrayOutput) Index(i pulumi.IntInput) SecurityGroupInboundRuleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityGroupInboundRule { - return vs[0].([]SecurityGroupInboundRule)[vs[1].(int)] - }).(SecurityGroupInboundRuleOutput) -} - -type SecurityGroupOutboundRule struct { - // The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - FromPortRange *int `pulumi:"fromPortRange"` - // The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - IpProtocol *string `pulumi:"ipProtocol"` - // One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - IpRanges []string `pulumi:"ipRanges"` - // Information about one or more source or destination security groups. - SecurityGroupsMembers []map[string]interface{} `pulumi:"securityGroupsMembers"` - // The end of the port range for the TCP and UDP protocols, or an ICMP code number. - ToPortRange *int `pulumi:"toPortRange"` -} - -// SecurityGroupOutboundRuleInput is an input type that accepts SecurityGroupOutboundRuleArgs and SecurityGroupOutboundRuleOutput values. -// You can construct a concrete instance of `SecurityGroupOutboundRuleInput` via: -// -// SecurityGroupOutboundRuleArgs{...} -type SecurityGroupOutboundRuleInput interface { - pulumi.Input - - ToSecurityGroupOutboundRuleOutput() SecurityGroupOutboundRuleOutput - ToSecurityGroupOutboundRuleOutputWithContext(context.Context) SecurityGroupOutboundRuleOutput -} - -type SecurityGroupOutboundRuleArgs struct { - // The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - FromPortRange pulumi.IntPtrInput `pulumi:"fromPortRange"` - // The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - IpProtocol pulumi.StringPtrInput `pulumi:"ipProtocol"` - // One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - IpRanges pulumi.StringArrayInput `pulumi:"ipRanges"` - // Information about one or more source or destination security groups. - SecurityGroupsMembers pulumi.MapArrayInput `pulumi:"securityGroupsMembers"` - // The end of the port range for the TCP and UDP protocols, or an ICMP code number. - ToPortRange pulumi.IntPtrInput `pulumi:"toPortRange"` -} - -func (SecurityGroupOutboundRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityGroupOutboundRule)(nil)).Elem() -} - -func (i SecurityGroupOutboundRuleArgs) ToSecurityGroupOutboundRuleOutput() SecurityGroupOutboundRuleOutput { - return i.ToSecurityGroupOutboundRuleOutputWithContext(context.Background()) -} - -func (i SecurityGroupOutboundRuleArgs) ToSecurityGroupOutboundRuleOutputWithContext(ctx context.Context) SecurityGroupOutboundRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityGroupOutboundRuleOutput) -} - -// SecurityGroupOutboundRuleArrayInput is an input type that accepts SecurityGroupOutboundRuleArray and SecurityGroupOutboundRuleArrayOutput values. -// You can construct a concrete instance of `SecurityGroupOutboundRuleArrayInput` via: -// -// SecurityGroupOutboundRuleArray{ SecurityGroupOutboundRuleArgs{...} } -type SecurityGroupOutboundRuleArrayInput interface { - pulumi.Input - - ToSecurityGroupOutboundRuleArrayOutput() SecurityGroupOutboundRuleArrayOutput - ToSecurityGroupOutboundRuleArrayOutputWithContext(context.Context) SecurityGroupOutboundRuleArrayOutput -} - -type SecurityGroupOutboundRuleArray []SecurityGroupOutboundRuleInput - -func (SecurityGroupOutboundRuleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SecurityGroupOutboundRule)(nil)).Elem() -} - -func (i SecurityGroupOutboundRuleArray) ToSecurityGroupOutboundRuleArrayOutput() SecurityGroupOutboundRuleArrayOutput { - return i.ToSecurityGroupOutboundRuleArrayOutputWithContext(context.Background()) -} - -func (i SecurityGroupOutboundRuleArray) ToSecurityGroupOutboundRuleArrayOutputWithContext(ctx context.Context) SecurityGroupOutboundRuleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityGroupOutboundRuleArrayOutput) -} - -type SecurityGroupOutboundRuleOutput struct{ *pulumi.OutputState } - -func (SecurityGroupOutboundRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityGroupOutboundRule)(nil)).Elem() -} - -func (o SecurityGroupOutboundRuleOutput) ToSecurityGroupOutboundRuleOutput() SecurityGroupOutboundRuleOutput { - return o -} - -func (o SecurityGroupOutboundRuleOutput) ToSecurityGroupOutboundRuleOutputWithContext(ctx context.Context) SecurityGroupOutboundRuleOutput { - return o -} - -// The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. -func (o SecurityGroupOutboundRuleOutput) FromPortRange() pulumi.IntPtrOutput { - return o.ApplyT(func(v SecurityGroupOutboundRule) *int { return v.FromPortRange }).(pulumi.IntPtrOutput) -} - -// The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). -func (o SecurityGroupOutboundRuleOutput) IpProtocol() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecurityGroupOutboundRule) *string { return v.IpProtocol }).(pulumi.StringPtrOutput) -} - -// One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). -func (o SecurityGroupOutboundRuleOutput) IpRanges() pulumi.StringArrayOutput { - return o.ApplyT(func(v SecurityGroupOutboundRule) []string { return v.IpRanges }).(pulumi.StringArrayOutput) -} - -// Information about one or more source or destination security groups. -func (o SecurityGroupOutboundRuleOutput) SecurityGroupsMembers() pulumi.MapArrayOutput { - return o.ApplyT(func(v SecurityGroupOutboundRule) []map[string]interface{} { return v.SecurityGroupsMembers }).(pulumi.MapArrayOutput) -} - -// The end of the port range for the TCP and UDP protocols, or an ICMP code number. -func (o SecurityGroupOutboundRuleOutput) ToPortRange() pulumi.IntPtrOutput { - return o.ApplyT(func(v SecurityGroupOutboundRule) *int { return v.ToPortRange }).(pulumi.IntPtrOutput) -} - -type SecurityGroupOutboundRuleArrayOutput struct{ *pulumi.OutputState } - -func (SecurityGroupOutboundRuleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SecurityGroupOutboundRule)(nil)).Elem() -} - -func (o SecurityGroupOutboundRuleArrayOutput) ToSecurityGroupOutboundRuleArrayOutput() SecurityGroupOutboundRuleArrayOutput { - return o -} - -func (o SecurityGroupOutboundRuleArrayOutput) ToSecurityGroupOutboundRuleArrayOutputWithContext(ctx context.Context) SecurityGroupOutboundRuleArrayOutput { - return o -} - -func (o SecurityGroupOutboundRuleArrayOutput) Index(i pulumi.IntInput) SecurityGroupOutboundRuleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityGroupOutboundRule { - return vs[0].([]SecurityGroupOutboundRule)[vs[1].(int)] - }).(SecurityGroupOutboundRuleOutput) -} - -type SecurityGroupRuleRule struct { - // The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - FromPortRange *int `pulumi:"fromPortRange"` - // The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - IpProtocol *string `pulumi:"ipProtocol"` - // One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - IpRanges []string `pulumi:"ipRanges"` - // Information about one or more source or destination security groups. - SecurityGroupsMembers []SecurityGroupRuleRuleSecurityGroupsMember `pulumi:"securityGroupsMembers"` - // One or more service IDs to allow traffic from a Net to access the corresponding OUTSCALE services. For more information, see [ReadNetAccessPointServices](https://docs.outscale.com/api#readnetaccesspointservices). - ServiceIds []string `pulumi:"serviceIds"` - // The end of the port range for the TCP and UDP protocols, or an ICMP code number. If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - ToPortRange *int `pulumi:"toPortRange"` -} - -// SecurityGroupRuleRuleInput is an input type that accepts SecurityGroupRuleRuleArgs and SecurityGroupRuleRuleOutput values. -// You can construct a concrete instance of `SecurityGroupRuleRuleInput` via: -// -// SecurityGroupRuleRuleArgs{...} -type SecurityGroupRuleRuleInput interface { - pulumi.Input - - ToSecurityGroupRuleRuleOutput() SecurityGroupRuleRuleOutput - ToSecurityGroupRuleRuleOutputWithContext(context.Context) SecurityGroupRuleRuleOutput -} - -type SecurityGroupRuleRuleArgs struct { - // The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - FromPortRange pulumi.IntPtrInput `pulumi:"fromPortRange"` - // The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - IpProtocol pulumi.StringPtrInput `pulumi:"ipProtocol"` - // One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - IpRanges pulumi.StringArrayInput `pulumi:"ipRanges"` - // Information about one or more source or destination security groups. - SecurityGroupsMembers SecurityGroupRuleRuleSecurityGroupsMemberArrayInput `pulumi:"securityGroupsMembers"` - // One or more service IDs to allow traffic from a Net to access the corresponding OUTSCALE services. For more information, see [ReadNetAccessPointServices](https://docs.outscale.com/api#readnetaccesspointservices). - ServiceIds pulumi.StringArrayInput `pulumi:"serviceIds"` - // The end of the port range for the TCP and UDP protocols, or an ICMP code number. If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - ToPortRange pulumi.IntPtrInput `pulumi:"toPortRange"` -} - -func (SecurityGroupRuleRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityGroupRuleRule)(nil)).Elem() -} - -func (i SecurityGroupRuleRuleArgs) ToSecurityGroupRuleRuleOutput() SecurityGroupRuleRuleOutput { - return i.ToSecurityGroupRuleRuleOutputWithContext(context.Background()) -} - -func (i SecurityGroupRuleRuleArgs) ToSecurityGroupRuleRuleOutputWithContext(ctx context.Context) SecurityGroupRuleRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityGroupRuleRuleOutput) -} - -// SecurityGroupRuleRuleArrayInput is an input type that accepts SecurityGroupRuleRuleArray and SecurityGroupRuleRuleArrayOutput values. -// You can construct a concrete instance of `SecurityGroupRuleRuleArrayInput` via: -// -// SecurityGroupRuleRuleArray{ SecurityGroupRuleRuleArgs{...} } -type SecurityGroupRuleRuleArrayInput interface { - pulumi.Input - - ToSecurityGroupRuleRuleArrayOutput() SecurityGroupRuleRuleArrayOutput - ToSecurityGroupRuleRuleArrayOutputWithContext(context.Context) SecurityGroupRuleRuleArrayOutput -} - -type SecurityGroupRuleRuleArray []SecurityGroupRuleRuleInput - -func (SecurityGroupRuleRuleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SecurityGroupRuleRule)(nil)).Elem() -} - -func (i SecurityGroupRuleRuleArray) ToSecurityGroupRuleRuleArrayOutput() SecurityGroupRuleRuleArrayOutput { - return i.ToSecurityGroupRuleRuleArrayOutputWithContext(context.Background()) -} - -func (i SecurityGroupRuleRuleArray) ToSecurityGroupRuleRuleArrayOutputWithContext(ctx context.Context) SecurityGroupRuleRuleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityGroupRuleRuleArrayOutput) -} - -type SecurityGroupRuleRuleOutput struct{ *pulumi.OutputState } - -func (SecurityGroupRuleRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityGroupRuleRule)(nil)).Elem() -} - -func (o SecurityGroupRuleRuleOutput) ToSecurityGroupRuleRuleOutput() SecurityGroupRuleRuleOutput { - return o -} - -func (o SecurityGroupRuleRuleOutput) ToSecurityGroupRuleRuleOutputWithContext(ctx context.Context) SecurityGroupRuleRuleOutput { - return o -} - -// The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. -func (o SecurityGroupRuleRuleOutput) FromPortRange() pulumi.IntPtrOutput { - return o.ApplyT(func(v SecurityGroupRuleRule) *int { return v.FromPortRange }).(pulumi.IntPtrOutput) -} - -// The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). -func (o SecurityGroupRuleRuleOutput) IpProtocol() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecurityGroupRuleRule) *string { return v.IpProtocol }).(pulumi.StringPtrOutput) -} - -// One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). -func (o SecurityGroupRuleRuleOutput) IpRanges() pulumi.StringArrayOutput { - return o.ApplyT(func(v SecurityGroupRuleRule) []string { return v.IpRanges }).(pulumi.StringArrayOutput) -} - -// Information about one or more source or destination security groups. -func (o SecurityGroupRuleRuleOutput) SecurityGroupsMembers() SecurityGroupRuleRuleSecurityGroupsMemberArrayOutput { - return o.ApplyT(func(v SecurityGroupRuleRule) []SecurityGroupRuleRuleSecurityGroupsMember { - return v.SecurityGroupsMembers - }).(SecurityGroupRuleRuleSecurityGroupsMemberArrayOutput) -} - -// One or more service IDs to allow traffic from a Net to access the corresponding OUTSCALE services. For more information, see [ReadNetAccessPointServices](https://docs.outscale.com/api#readnetaccesspointservices). -func (o SecurityGroupRuleRuleOutput) ServiceIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v SecurityGroupRuleRule) []string { return v.ServiceIds }).(pulumi.StringArrayOutput) -} - -// The end of the port range for the TCP and UDP protocols, or an ICMP code number. If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. -func (o SecurityGroupRuleRuleOutput) ToPortRange() pulumi.IntPtrOutput { - return o.ApplyT(func(v SecurityGroupRuleRule) *int { return v.ToPortRange }).(pulumi.IntPtrOutput) -} - -type SecurityGroupRuleRuleArrayOutput struct{ *pulumi.OutputState } - -func (SecurityGroupRuleRuleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SecurityGroupRuleRule)(nil)).Elem() -} - -func (o SecurityGroupRuleRuleArrayOutput) ToSecurityGroupRuleRuleArrayOutput() SecurityGroupRuleRuleArrayOutput { - return o -} - -func (o SecurityGroupRuleRuleArrayOutput) ToSecurityGroupRuleRuleArrayOutputWithContext(ctx context.Context) SecurityGroupRuleRuleArrayOutput { - return o -} - -func (o SecurityGroupRuleRuleArrayOutput) Index(i pulumi.IntInput) SecurityGroupRuleRuleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityGroupRuleRule { - return vs[0].([]SecurityGroupRuleRule)[vs[1].(int)] - }).(SecurityGroupRuleRuleOutput) -} - -type SecurityGroupRuleRuleSecurityGroupsMember struct { - // The account ID that owns the source or destination security group. - AccountId *string `pulumi:"accountId"` - // The ID of the security group for which you want to create a rule. - SecurityGroupId *string `pulumi:"securityGroupId"` - // (Public Cloud only) The name of a source or destination security group that you want to link to the security group of the rule. - SecurityGroupName *string `pulumi:"securityGroupName"` -} - -// SecurityGroupRuleRuleSecurityGroupsMemberInput is an input type that accepts SecurityGroupRuleRuleSecurityGroupsMemberArgs and SecurityGroupRuleRuleSecurityGroupsMemberOutput values. -// You can construct a concrete instance of `SecurityGroupRuleRuleSecurityGroupsMemberInput` via: -// -// SecurityGroupRuleRuleSecurityGroupsMemberArgs{...} -type SecurityGroupRuleRuleSecurityGroupsMemberInput interface { - pulumi.Input - - ToSecurityGroupRuleRuleSecurityGroupsMemberOutput() SecurityGroupRuleRuleSecurityGroupsMemberOutput - ToSecurityGroupRuleRuleSecurityGroupsMemberOutputWithContext(context.Context) SecurityGroupRuleRuleSecurityGroupsMemberOutput -} - -type SecurityGroupRuleRuleSecurityGroupsMemberArgs struct { - // The account ID that owns the source or destination security group. - AccountId pulumi.StringPtrInput `pulumi:"accountId"` - // The ID of the security group for which you want to create a rule. - SecurityGroupId pulumi.StringPtrInput `pulumi:"securityGroupId"` - // (Public Cloud only) The name of a source or destination security group that you want to link to the security group of the rule. - SecurityGroupName pulumi.StringPtrInput `pulumi:"securityGroupName"` -} - -func (SecurityGroupRuleRuleSecurityGroupsMemberArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityGroupRuleRuleSecurityGroupsMember)(nil)).Elem() -} - -func (i SecurityGroupRuleRuleSecurityGroupsMemberArgs) ToSecurityGroupRuleRuleSecurityGroupsMemberOutput() SecurityGroupRuleRuleSecurityGroupsMemberOutput { - return i.ToSecurityGroupRuleRuleSecurityGroupsMemberOutputWithContext(context.Background()) -} - -func (i SecurityGroupRuleRuleSecurityGroupsMemberArgs) ToSecurityGroupRuleRuleSecurityGroupsMemberOutputWithContext(ctx context.Context) SecurityGroupRuleRuleSecurityGroupsMemberOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityGroupRuleRuleSecurityGroupsMemberOutput) -} - -// SecurityGroupRuleRuleSecurityGroupsMemberArrayInput is an input type that accepts SecurityGroupRuleRuleSecurityGroupsMemberArray and SecurityGroupRuleRuleSecurityGroupsMemberArrayOutput values. -// You can construct a concrete instance of `SecurityGroupRuleRuleSecurityGroupsMemberArrayInput` via: -// -// SecurityGroupRuleRuleSecurityGroupsMemberArray{ SecurityGroupRuleRuleSecurityGroupsMemberArgs{...} } -type SecurityGroupRuleRuleSecurityGroupsMemberArrayInput interface { - pulumi.Input - - ToSecurityGroupRuleRuleSecurityGroupsMemberArrayOutput() SecurityGroupRuleRuleSecurityGroupsMemberArrayOutput - ToSecurityGroupRuleRuleSecurityGroupsMemberArrayOutputWithContext(context.Context) SecurityGroupRuleRuleSecurityGroupsMemberArrayOutput -} - -type SecurityGroupRuleRuleSecurityGroupsMemberArray []SecurityGroupRuleRuleSecurityGroupsMemberInput - -func (SecurityGroupRuleRuleSecurityGroupsMemberArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SecurityGroupRuleRuleSecurityGroupsMember)(nil)).Elem() -} - -func (i SecurityGroupRuleRuleSecurityGroupsMemberArray) ToSecurityGroupRuleRuleSecurityGroupsMemberArrayOutput() SecurityGroupRuleRuleSecurityGroupsMemberArrayOutput { - return i.ToSecurityGroupRuleRuleSecurityGroupsMemberArrayOutputWithContext(context.Background()) -} - -func (i SecurityGroupRuleRuleSecurityGroupsMemberArray) ToSecurityGroupRuleRuleSecurityGroupsMemberArrayOutputWithContext(ctx context.Context) SecurityGroupRuleRuleSecurityGroupsMemberArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityGroupRuleRuleSecurityGroupsMemberArrayOutput) -} - -type SecurityGroupRuleRuleSecurityGroupsMemberOutput struct{ *pulumi.OutputState } - -func (SecurityGroupRuleRuleSecurityGroupsMemberOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityGroupRuleRuleSecurityGroupsMember)(nil)).Elem() -} - -func (o SecurityGroupRuleRuleSecurityGroupsMemberOutput) ToSecurityGroupRuleRuleSecurityGroupsMemberOutput() SecurityGroupRuleRuleSecurityGroupsMemberOutput { - return o -} - -func (o SecurityGroupRuleRuleSecurityGroupsMemberOutput) ToSecurityGroupRuleRuleSecurityGroupsMemberOutputWithContext(ctx context.Context) SecurityGroupRuleRuleSecurityGroupsMemberOutput { - return o -} - -// The account ID that owns the source or destination security group. -func (o SecurityGroupRuleRuleSecurityGroupsMemberOutput) AccountId() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecurityGroupRuleRuleSecurityGroupsMember) *string { return v.AccountId }).(pulumi.StringPtrOutput) -} - -// The ID of the security group for which you want to create a rule. -func (o SecurityGroupRuleRuleSecurityGroupsMemberOutput) SecurityGroupId() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecurityGroupRuleRuleSecurityGroupsMember) *string { return v.SecurityGroupId }).(pulumi.StringPtrOutput) -} - -// (Public Cloud only) The name of a source or destination security group that you want to link to the security group of the rule. -func (o SecurityGroupRuleRuleSecurityGroupsMemberOutput) SecurityGroupName() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecurityGroupRuleRuleSecurityGroupsMember) *string { return v.SecurityGroupName }).(pulumi.StringPtrOutput) -} - -type SecurityGroupRuleRuleSecurityGroupsMemberArrayOutput struct{ *pulumi.OutputState } - -func (SecurityGroupRuleRuleSecurityGroupsMemberArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SecurityGroupRuleRuleSecurityGroupsMember)(nil)).Elem() -} - -func (o SecurityGroupRuleRuleSecurityGroupsMemberArrayOutput) ToSecurityGroupRuleRuleSecurityGroupsMemberArrayOutput() SecurityGroupRuleRuleSecurityGroupsMemberArrayOutput { - return o -} - -func (o SecurityGroupRuleRuleSecurityGroupsMemberArrayOutput) ToSecurityGroupRuleRuleSecurityGroupsMemberArrayOutputWithContext(ctx context.Context) SecurityGroupRuleRuleSecurityGroupsMemberArrayOutput { - return o -} - -func (o SecurityGroupRuleRuleSecurityGroupsMemberArrayOutput) Index(i pulumi.IntInput) SecurityGroupRuleRuleSecurityGroupsMemberOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityGroupRuleRuleSecurityGroupsMember { - return vs[0].([]SecurityGroupRuleRuleSecurityGroupsMember)[vs[1].(int)] - }).(SecurityGroupRuleRuleSecurityGroupsMemberOutput) -} - -type SecurityGroupTag struct { - // The key of the tag, with a minimum of 1 character. - Key *string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value *string `pulumi:"value"` -} - -// SecurityGroupTagInput is an input type that accepts SecurityGroupTagArgs and SecurityGroupTagOutput values. -// You can construct a concrete instance of `SecurityGroupTagInput` via: -// -// SecurityGroupTagArgs{...} -type SecurityGroupTagInput interface { - pulumi.Input - - ToSecurityGroupTagOutput() SecurityGroupTagOutput - ToSecurityGroupTagOutputWithContext(context.Context) SecurityGroupTagOutput -} - -type SecurityGroupTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringPtrInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringPtrInput `pulumi:"value"` -} - -func (SecurityGroupTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityGroupTag)(nil)).Elem() -} - -func (i SecurityGroupTagArgs) ToSecurityGroupTagOutput() SecurityGroupTagOutput { - return i.ToSecurityGroupTagOutputWithContext(context.Background()) -} - -func (i SecurityGroupTagArgs) ToSecurityGroupTagOutputWithContext(ctx context.Context) SecurityGroupTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityGroupTagOutput) -} - -// SecurityGroupTagArrayInput is an input type that accepts SecurityGroupTagArray and SecurityGroupTagArrayOutput values. -// You can construct a concrete instance of `SecurityGroupTagArrayInput` via: -// -// SecurityGroupTagArray{ SecurityGroupTagArgs{...} } -type SecurityGroupTagArrayInput interface { - pulumi.Input - - ToSecurityGroupTagArrayOutput() SecurityGroupTagArrayOutput - ToSecurityGroupTagArrayOutputWithContext(context.Context) SecurityGroupTagArrayOutput -} - -type SecurityGroupTagArray []SecurityGroupTagInput - -func (SecurityGroupTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SecurityGroupTag)(nil)).Elem() -} - -func (i SecurityGroupTagArray) ToSecurityGroupTagArrayOutput() SecurityGroupTagArrayOutput { - return i.ToSecurityGroupTagArrayOutputWithContext(context.Background()) -} - -func (i SecurityGroupTagArray) ToSecurityGroupTagArrayOutputWithContext(ctx context.Context) SecurityGroupTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityGroupTagArrayOutput) -} - -type SecurityGroupTagOutput struct{ *pulumi.OutputState } - -func (SecurityGroupTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityGroupTag)(nil)).Elem() -} - -func (o SecurityGroupTagOutput) ToSecurityGroupTagOutput() SecurityGroupTagOutput { - return o -} - -func (o SecurityGroupTagOutput) ToSecurityGroupTagOutputWithContext(ctx context.Context) SecurityGroupTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o SecurityGroupTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecurityGroupTag) *string { return v.Key }).(pulumi.StringPtrOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o SecurityGroupTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecurityGroupTag) *string { return v.Value }).(pulumi.StringPtrOutput) -} - -type SecurityGroupTagArrayOutput struct{ *pulumi.OutputState } - -func (SecurityGroupTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SecurityGroupTag)(nil)).Elem() -} - -func (o SecurityGroupTagArrayOutput) ToSecurityGroupTagArrayOutput() SecurityGroupTagArrayOutput { - return o -} - -func (o SecurityGroupTagArrayOutput) ToSecurityGroupTagArrayOutputWithContext(ctx context.Context) SecurityGroupTagArrayOutput { - return o -} - -func (o SecurityGroupTagArrayOutput) Index(i pulumi.IntInput) SecurityGroupTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityGroupTag { - return vs[0].([]SecurityGroupTag)[vs[1].(int)] - }).(SecurityGroupTagOutput) -} - -type SnapshotAttributesPermissionsToCreateVolumeAdditions struct { - // The account ID of one or more users from whom you want to remove permissions. - AccountIds []string `pulumi:"accountIds"` - // If true, the resource is public. If false, the resource is private. - GlobalPermission *bool `pulumi:"globalPermission"` -} - -// SnapshotAttributesPermissionsToCreateVolumeAdditionsInput is an input type that accepts SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs and SnapshotAttributesPermissionsToCreateVolumeAdditionsOutput values. -// You can construct a concrete instance of `SnapshotAttributesPermissionsToCreateVolumeAdditionsInput` via: -// -// SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs{...} -type SnapshotAttributesPermissionsToCreateVolumeAdditionsInput interface { - pulumi.Input - - ToSnapshotAttributesPermissionsToCreateVolumeAdditionsOutput() SnapshotAttributesPermissionsToCreateVolumeAdditionsOutput - ToSnapshotAttributesPermissionsToCreateVolumeAdditionsOutputWithContext(context.Context) SnapshotAttributesPermissionsToCreateVolumeAdditionsOutput -} - -type SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs struct { - // The account ID of one or more users from whom you want to remove permissions. - AccountIds pulumi.StringArrayInput `pulumi:"accountIds"` - // If true, the resource is public. If false, the resource is private. - GlobalPermission pulumi.BoolPtrInput `pulumi:"globalPermission"` -} - -func (SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SnapshotAttributesPermissionsToCreateVolumeAdditions)(nil)).Elem() -} - -func (i SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs) ToSnapshotAttributesPermissionsToCreateVolumeAdditionsOutput() SnapshotAttributesPermissionsToCreateVolumeAdditionsOutput { - return i.ToSnapshotAttributesPermissionsToCreateVolumeAdditionsOutputWithContext(context.Background()) -} - -func (i SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs) ToSnapshotAttributesPermissionsToCreateVolumeAdditionsOutputWithContext(ctx context.Context) SnapshotAttributesPermissionsToCreateVolumeAdditionsOutput { - return pulumi.ToOutputWithContext(ctx, i).(SnapshotAttributesPermissionsToCreateVolumeAdditionsOutput) -} - -func (i SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs) ToSnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutput() SnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutput { - return i.ToSnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutputWithContext(context.Background()) -} - -func (i SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs) ToSnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutputWithContext(ctx context.Context) SnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SnapshotAttributesPermissionsToCreateVolumeAdditionsOutput).ToSnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutputWithContext(ctx) -} - -// SnapshotAttributesPermissionsToCreateVolumeAdditionsPtrInput is an input type that accepts SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs, SnapshotAttributesPermissionsToCreateVolumeAdditionsPtr and SnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutput values. -// You can construct a concrete instance of `SnapshotAttributesPermissionsToCreateVolumeAdditionsPtrInput` via: -// -// SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs{...} -// -// or: -// -// nil -type SnapshotAttributesPermissionsToCreateVolumeAdditionsPtrInput interface { - pulumi.Input - - ToSnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutput() SnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutput - ToSnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutputWithContext(context.Context) SnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutput -} - -type snapshotAttributesPermissionsToCreateVolumeAdditionsPtrType SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs - -func SnapshotAttributesPermissionsToCreateVolumeAdditionsPtr(v *SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs) SnapshotAttributesPermissionsToCreateVolumeAdditionsPtrInput { - return (*snapshotAttributesPermissionsToCreateVolumeAdditionsPtrType)(v) -} - -func (*snapshotAttributesPermissionsToCreateVolumeAdditionsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SnapshotAttributesPermissionsToCreateVolumeAdditions)(nil)).Elem() -} - -func (i *snapshotAttributesPermissionsToCreateVolumeAdditionsPtrType) ToSnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutput() SnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutput { - return i.ToSnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutputWithContext(context.Background()) -} - -func (i *snapshotAttributesPermissionsToCreateVolumeAdditionsPtrType) ToSnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutputWithContext(ctx context.Context) SnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutput) -} - -type SnapshotAttributesPermissionsToCreateVolumeAdditionsOutput struct{ *pulumi.OutputState } - -func (SnapshotAttributesPermissionsToCreateVolumeAdditionsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SnapshotAttributesPermissionsToCreateVolumeAdditions)(nil)).Elem() -} - -func (o SnapshotAttributesPermissionsToCreateVolumeAdditionsOutput) ToSnapshotAttributesPermissionsToCreateVolumeAdditionsOutput() SnapshotAttributesPermissionsToCreateVolumeAdditionsOutput { - return o -} - -func (o SnapshotAttributesPermissionsToCreateVolumeAdditionsOutput) ToSnapshotAttributesPermissionsToCreateVolumeAdditionsOutputWithContext(ctx context.Context) SnapshotAttributesPermissionsToCreateVolumeAdditionsOutput { - return o -} - -func (o SnapshotAttributesPermissionsToCreateVolumeAdditionsOutput) ToSnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutput() SnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutput { - return o.ToSnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutputWithContext(context.Background()) -} - -func (o SnapshotAttributesPermissionsToCreateVolumeAdditionsOutput) ToSnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutputWithContext(ctx context.Context) SnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SnapshotAttributesPermissionsToCreateVolumeAdditions) *SnapshotAttributesPermissionsToCreateVolumeAdditions { - return &v - }).(SnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutput) -} - -// The account ID of one or more users from whom you want to remove permissions. -func (o SnapshotAttributesPermissionsToCreateVolumeAdditionsOutput) AccountIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v SnapshotAttributesPermissionsToCreateVolumeAdditions) []string { return v.AccountIds }).(pulumi.StringArrayOutput) -} - -// If true, the resource is public. If false, the resource is private. -func (o SnapshotAttributesPermissionsToCreateVolumeAdditionsOutput) GlobalPermission() pulumi.BoolPtrOutput { - return o.ApplyT(func(v SnapshotAttributesPermissionsToCreateVolumeAdditions) *bool { return v.GlobalPermission }).(pulumi.BoolPtrOutput) -} - -type SnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutput struct{ *pulumi.OutputState } - -func (SnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SnapshotAttributesPermissionsToCreateVolumeAdditions)(nil)).Elem() -} - -func (o SnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutput) ToSnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutput() SnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutput { - return o -} - -func (o SnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutput) ToSnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutputWithContext(ctx context.Context) SnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutput { - return o -} - -func (o SnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutput) Elem() SnapshotAttributesPermissionsToCreateVolumeAdditionsOutput { - return o.ApplyT(func(v *SnapshotAttributesPermissionsToCreateVolumeAdditions) SnapshotAttributesPermissionsToCreateVolumeAdditions { - if v != nil { - return *v - } - var ret SnapshotAttributesPermissionsToCreateVolumeAdditions - return ret - }).(SnapshotAttributesPermissionsToCreateVolumeAdditionsOutput) -} - -// The account ID of one or more users from whom you want to remove permissions. -func (o SnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutput) AccountIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v *SnapshotAttributesPermissionsToCreateVolumeAdditions) []string { - if v == nil { - return nil - } - return v.AccountIds - }).(pulumi.StringArrayOutput) -} - -// If true, the resource is public. If false, the resource is private. -func (o SnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutput) GlobalPermission() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *SnapshotAttributesPermissionsToCreateVolumeAdditions) *bool { - if v == nil { - return nil - } - return v.GlobalPermission - }).(pulumi.BoolPtrOutput) -} - -type SnapshotAttributesPermissionsToCreateVolumeRemoval struct { - // The account ID of one or more users from whom you want to remove permissions. - AccountIds []string `pulumi:"accountIds"` - // If true, the resource is public. If false, the resource is private. - GlobalPermission *bool `pulumi:"globalPermission"` -} - -// SnapshotAttributesPermissionsToCreateVolumeRemovalInput is an input type that accepts SnapshotAttributesPermissionsToCreateVolumeRemovalArgs and SnapshotAttributesPermissionsToCreateVolumeRemovalOutput values. -// You can construct a concrete instance of `SnapshotAttributesPermissionsToCreateVolumeRemovalInput` via: -// -// SnapshotAttributesPermissionsToCreateVolumeRemovalArgs{...} -type SnapshotAttributesPermissionsToCreateVolumeRemovalInput interface { - pulumi.Input - - ToSnapshotAttributesPermissionsToCreateVolumeRemovalOutput() SnapshotAttributesPermissionsToCreateVolumeRemovalOutput - ToSnapshotAttributesPermissionsToCreateVolumeRemovalOutputWithContext(context.Context) SnapshotAttributesPermissionsToCreateVolumeRemovalOutput -} - -type SnapshotAttributesPermissionsToCreateVolumeRemovalArgs struct { - // The account ID of one or more users from whom you want to remove permissions. - AccountIds pulumi.StringArrayInput `pulumi:"accountIds"` - // If true, the resource is public. If false, the resource is private. - GlobalPermission pulumi.BoolPtrInput `pulumi:"globalPermission"` -} - -func (SnapshotAttributesPermissionsToCreateVolumeRemovalArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SnapshotAttributesPermissionsToCreateVolumeRemoval)(nil)).Elem() -} - -func (i SnapshotAttributesPermissionsToCreateVolumeRemovalArgs) ToSnapshotAttributesPermissionsToCreateVolumeRemovalOutput() SnapshotAttributesPermissionsToCreateVolumeRemovalOutput { - return i.ToSnapshotAttributesPermissionsToCreateVolumeRemovalOutputWithContext(context.Background()) -} - -func (i SnapshotAttributesPermissionsToCreateVolumeRemovalArgs) ToSnapshotAttributesPermissionsToCreateVolumeRemovalOutputWithContext(ctx context.Context) SnapshotAttributesPermissionsToCreateVolumeRemovalOutput { - return pulumi.ToOutputWithContext(ctx, i).(SnapshotAttributesPermissionsToCreateVolumeRemovalOutput) -} - -// SnapshotAttributesPermissionsToCreateVolumeRemovalArrayInput is an input type that accepts SnapshotAttributesPermissionsToCreateVolumeRemovalArray and SnapshotAttributesPermissionsToCreateVolumeRemovalArrayOutput values. -// You can construct a concrete instance of `SnapshotAttributesPermissionsToCreateVolumeRemovalArrayInput` via: -// -// SnapshotAttributesPermissionsToCreateVolumeRemovalArray{ SnapshotAttributesPermissionsToCreateVolumeRemovalArgs{...} } -type SnapshotAttributesPermissionsToCreateVolumeRemovalArrayInput interface { - pulumi.Input - - ToSnapshotAttributesPermissionsToCreateVolumeRemovalArrayOutput() SnapshotAttributesPermissionsToCreateVolumeRemovalArrayOutput - ToSnapshotAttributesPermissionsToCreateVolumeRemovalArrayOutputWithContext(context.Context) SnapshotAttributesPermissionsToCreateVolumeRemovalArrayOutput -} - -type SnapshotAttributesPermissionsToCreateVolumeRemovalArray []SnapshotAttributesPermissionsToCreateVolumeRemovalInput - -func (SnapshotAttributesPermissionsToCreateVolumeRemovalArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SnapshotAttributesPermissionsToCreateVolumeRemoval)(nil)).Elem() -} - -func (i SnapshotAttributesPermissionsToCreateVolumeRemovalArray) ToSnapshotAttributesPermissionsToCreateVolumeRemovalArrayOutput() SnapshotAttributesPermissionsToCreateVolumeRemovalArrayOutput { - return i.ToSnapshotAttributesPermissionsToCreateVolumeRemovalArrayOutputWithContext(context.Background()) -} - -func (i SnapshotAttributesPermissionsToCreateVolumeRemovalArray) ToSnapshotAttributesPermissionsToCreateVolumeRemovalArrayOutputWithContext(ctx context.Context) SnapshotAttributesPermissionsToCreateVolumeRemovalArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SnapshotAttributesPermissionsToCreateVolumeRemovalArrayOutput) -} - -type SnapshotAttributesPermissionsToCreateVolumeRemovalOutput struct{ *pulumi.OutputState } - -func (SnapshotAttributesPermissionsToCreateVolumeRemovalOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SnapshotAttributesPermissionsToCreateVolumeRemoval)(nil)).Elem() -} - -func (o SnapshotAttributesPermissionsToCreateVolumeRemovalOutput) ToSnapshotAttributesPermissionsToCreateVolumeRemovalOutput() SnapshotAttributesPermissionsToCreateVolumeRemovalOutput { - return o -} - -func (o SnapshotAttributesPermissionsToCreateVolumeRemovalOutput) ToSnapshotAttributesPermissionsToCreateVolumeRemovalOutputWithContext(ctx context.Context) SnapshotAttributesPermissionsToCreateVolumeRemovalOutput { - return o -} - -// The account ID of one or more users from whom you want to remove permissions. -func (o SnapshotAttributesPermissionsToCreateVolumeRemovalOutput) AccountIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v SnapshotAttributesPermissionsToCreateVolumeRemoval) []string { return v.AccountIds }).(pulumi.StringArrayOutput) -} - -// If true, the resource is public. If false, the resource is private. -func (o SnapshotAttributesPermissionsToCreateVolumeRemovalOutput) GlobalPermission() pulumi.BoolPtrOutput { - return o.ApplyT(func(v SnapshotAttributesPermissionsToCreateVolumeRemoval) *bool { return v.GlobalPermission }).(pulumi.BoolPtrOutput) -} - -type SnapshotAttributesPermissionsToCreateVolumeRemovalArrayOutput struct{ *pulumi.OutputState } - -func (SnapshotAttributesPermissionsToCreateVolumeRemovalArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SnapshotAttributesPermissionsToCreateVolumeRemoval)(nil)).Elem() -} - -func (o SnapshotAttributesPermissionsToCreateVolumeRemovalArrayOutput) ToSnapshotAttributesPermissionsToCreateVolumeRemovalArrayOutput() SnapshotAttributesPermissionsToCreateVolumeRemovalArrayOutput { - return o -} - -func (o SnapshotAttributesPermissionsToCreateVolumeRemovalArrayOutput) ToSnapshotAttributesPermissionsToCreateVolumeRemovalArrayOutputWithContext(ctx context.Context) SnapshotAttributesPermissionsToCreateVolumeRemovalArrayOutput { - return o -} - -func (o SnapshotAttributesPermissionsToCreateVolumeRemovalArrayOutput) Index(i pulumi.IntInput) SnapshotAttributesPermissionsToCreateVolumeRemovalOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) SnapshotAttributesPermissionsToCreateVolumeRemoval { - return vs[0].([]SnapshotAttributesPermissionsToCreateVolumeRemoval)[vs[1].(int)] - }).(SnapshotAttributesPermissionsToCreateVolumeRemovalOutput) -} - -type SnapshotExportTaskOsuExport struct { - // The format of the export disk (`qcow2` \| `raw`). - DiskImageFormat string `pulumi:"diskImageFormat"` - // Information about the OOS API key. - OsuApiKeys []SnapshotExportTaskOsuExportOsuApiKey `pulumi:"osuApiKeys"` - // The name of the OOS bucket where you want to export the object. - OsuBucket string `pulumi:"osuBucket"` - // The prefix for the key of the OOS object. - OsuPrefix *string `pulumi:"osuPrefix"` -} - -// SnapshotExportTaskOsuExportInput is an input type that accepts SnapshotExportTaskOsuExportArgs and SnapshotExportTaskOsuExportOutput values. -// You can construct a concrete instance of `SnapshotExportTaskOsuExportInput` via: -// -// SnapshotExportTaskOsuExportArgs{...} -type SnapshotExportTaskOsuExportInput interface { - pulumi.Input - - ToSnapshotExportTaskOsuExportOutput() SnapshotExportTaskOsuExportOutput - ToSnapshotExportTaskOsuExportOutputWithContext(context.Context) SnapshotExportTaskOsuExportOutput -} - -type SnapshotExportTaskOsuExportArgs struct { - // The format of the export disk (`qcow2` \| `raw`). - DiskImageFormat pulumi.StringInput `pulumi:"diskImageFormat"` - // Information about the OOS API key. - OsuApiKeys SnapshotExportTaskOsuExportOsuApiKeyArrayInput `pulumi:"osuApiKeys"` - // The name of the OOS bucket where you want to export the object. - OsuBucket pulumi.StringInput `pulumi:"osuBucket"` - // The prefix for the key of the OOS object. - OsuPrefix pulumi.StringPtrInput `pulumi:"osuPrefix"` -} - -func (SnapshotExportTaskOsuExportArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SnapshotExportTaskOsuExport)(nil)).Elem() -} - -func (i SnapshotExportTaskOsuExportArgs) ToSnapshotExportTaskOsuExportOutput() SnapshotExportTaskOsuExportOutput { - return i.ToSnapshotExportTaskOsuExportOutputWithContext(context.Background()) -} - -func (i SnapshotExportTaskOsuExportArgs) ToSnapshotExportTaskOsuExportOutputWithContext(ctx context.Context) SnapshotExportTaskOsuExportOutput { - return pulumi.ToOutputWithContext(ctx, i).(SnapshotExportTaskOsuExportOutput) -} - -// SnapshotExportTaskOsuExportArrayInput is an input type that accepts SnapshotExportTaskOsuExportArray and SnapshotExportTaskOsuExportArrayOutput values. -// You can construct a concrete instance of `SnapshotExportTaskOsuExportArrayInput` via: -// -// SnapshotExportTaskOsuExportArray{ SnapshotExportTaskOsuExportArgs{...} } -type SnapshotExportTaskOsuExportArrayInput interface { - pulumi.Input - - ToSnapshotExportTaskOsuExportArrayOutput() SnapshotExportTaskOsuExportArrayOutput - ToSnapshotExportTaskOsuExportArrayOutputWithContext(context.Context) SnapshotExportTaskOsuExportArrayOutput -} - -type SnapshotExportTaskOsuExportArray []SnapshotExportTaskOsuExportInput - -func (SnapshotExportTaskOsuExportArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SnapshotExportTaskOsuExport)(nil)).Elem() -} - -func (i SnapshotExportTaskOsuExportArray) ToSnapshotExportTaskOsuExportArrayOutput() SnapshotExportTaskOsuExportArrayOutput { - return i.ToSnapshotExportTaskOsuExportArrayOutputWithContext(context.Background()) -} - -func (i SnapshotExportTaskOsuExportArray) ToSnapshotExportTaskOsuExportArrayOutputWithContext(ctx context.Context) SnapshotExportTaskOsuExportArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SnapshotExportTaskOsuExportArrayOutput) -} - -type SnapshotExportTaskOsuExportOutput struct{ *pulumi.OutputState } - -func (SnapshotExportTaskOsuExportOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SnapshotExportTaskOsuExport)(nil)).Elem() -} - -func (o SnapshotExportTaskOsuExportOutput) ToSnapshotExportTaskOsuExportOutput() SnapshotExportTaskOsuExportOutput { - return o -} - -func (o SnapshotExportTaskOsuExportOutput) ToSnapshotExportTaskOsuExportOutputWithContext(ctx context.Context) SnapshotExportTaskOsuExportOutput { - return o -} - -// The format of the export disk (`qcow2` \| `raw`). -func (o SnapshotExportTaskOsuExportOutput) DiskImageFormat() pulumi.StringOutput { - return o.ApplyT(func(v SnapshotExportTaskOsuExport) string { return v.DiskImageFormat }).(pulumi.StringOutput) -} - -// Information about the OOS API key. -func (o SnapshotExportTaskOsuExportOutput) OsuApiKeys() SnapshotExportTaskOsuExportOsuApiKeyArrayOutput { - return o.ApplyT(func(v SnapshotExportTaskOsuExport) []SnapshotExportTaskOsuExportOsuApiKey { return v.OsuApiKeys }).(SnapshotExportTaskOsuExportOsuApiKeyArrayOutput) -} - -// The name of the OOS bucket where you want to export the object. -func (o SnapshotExportTaskOsuExportOutput) OsuBucket() pulumi.StringOutput { - return o.ApplyT(func(v SnapshotExportTaskOsuExport) string { return v.OsuBucket }).(pulumi.StringOutput) -} - -// The prefix for the key of the OOS object. -func (o SnapshotExportTaskOsuExportOutput) OsuPrefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v SnapshotExportTaskOsuExport) *string { return v.OsuPrefix }).(pulumi.StringPtrOutput) -} - -type SnapshotExportTaskOsuExportArrayOutput struct{ *pulumi.OutputState } - -func (SnapshotExportTaskOsuExportArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SnapshotExportTaskOsuExport)(nil)).Elem() -} - -func (o SnapshotExportTaskOsuExportArrayOutput) ToSnapshotExportTaskOsuExportArrayOutput() SnapshotExportTaskOsuExportArrayOutput { - return o -} - -func (o SnapshotExportTaskOsuExportArrayOutput) ToSnapshotExportTaskOsuExportArrayOutputWithContext(ctx context.Context) SnapshotExportTaskOsuExportArrayOutput { - return o -} - -func (o SnapshotExportTaskOsuExportArrayOutput) Index(i pulumi.IntInput) SnapshotExportTaskOsuExportOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) SnapshotExportTaskOsuExport { - return vs[0].([]SnapshotExportTaskOsuExport)[vs[1].(int)] - }).(SnapshotExportTaskOsuExportOutput) -} - -type SnapshotExportTaskOsuExportOsuApiKey struct { - // The API key of the OOS account that enables you to access the bucket. - ApiKeyId string `pulumi:"apiKeyId"` - // The secret key of the OOS account that enables you to access the bucket. - SecretKey string `pulumi:"secretKey"` -} - -// SnapshotExportTaskOsuExportOsuApiKeyInput is an input type that accepts SnapshotExportTaskOsuExportOsuApiKeyArgs and SnapshotExportTaskOsuExportOsuApiKeyOutput values. -// You can construct a concrete instance of `SnapshotExportTaskOsuExportOsuApiKeyInput` via: -// -// SnapshotExportTaskOsuExportOsuApiKeyArgs{...} -type SnapshotExportTaskOsuExportOsuApiKeyInput interface { - pulumi.Input - - ToSnapshotExportTaskOsuExportOsuApiKeyOutput() SnapshotExportTaskOsuExportOsuApiKeyOutput - ToSnapshotExportTaskOsuExportOsuApiKeyOutputWithContext(context.Context) SnapshotExportTaskOsuExportOsuApiKeyOutput -} - -type SnapshotExportTaskOsuExportOsuApiKeyArgs struct { - // The API key of the OOS account that enables you to access the bucket. - ApiKeyId pulumi.StringInput `pulumi:"apiKeyId"` - // The secret key of the OOS account that enables you to access the bucket. - SecretKey pulumi.StringInput `pulumi:"secretKey"` -} - -func (SnapshotExportTaskOsuExportOsuApiKeyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SnapshotExportTaskOsuExportOsuApiKey)(nil)).Elem() -} - -func (i SnapshotExportTaskOsuExportOsuApiKeyArgs) ToSnapshotExportTaskOsuExportOsuApiKeyOutput() SnapshotExportTaskOsuExportOsuApiKeyOutput { - return i.ToSnapshotExportTaskOsuExportOsuApiKeyOutputWithContext(context.Background()) -} - -func (i SnapshotExportTaskOsuExportOsuApiKeyArgs) ToSnapshotExportTaskOsuExportOsuApiKeyOutputWithContext(ctx context.Context) SnapshotExportTaskOsuExportOsuApiKeyOutput { - return pulumi.ToOutputWithContext(ctx, i).(SnapshotExportTaskOsuExportOsuApiKeyOutput) -} - -// SnapshotExportTaskOsuExportOsuApiKeyArrayInput is an input type that accepts SnapshotExportTaskOsuExportOsuApiKeyArray and SnapshotExportTaskOsuExportOsuApiKeyArrayOutput values. -// You can construct a concrete instance of `SnapshotExportTaskOsuExportOsuApiKeyArrayInput` via: -// -// SnapshotExportTaskOsuExportOsuApiKeyArray{ SnapshotExportTaskOsuExportOsuApiKeyArgs{...} } -type SnapshotExportTaskOsuExportOsuApiKeyArrayInput interface { - pulumi.Input - - ToSnapshotExportTaskOsuExportOsuApiKeyArrayOutput() SnapshotExportTaskOsuExportOsuApiKeyArrayOutput - ToSnapshotExportTaskOsuExportOsuApiKeyArrayOutputWithContext(context.Context) SnapshotExportTaskOsuExportOsuApiKeyArrayOutput -} - -type SnapshotExportTaskOsuExportOsuApiKeyArray []SnapshotExportTaskOsuExportOsuApiKeyInput - -func (SnapshotExportTaskOsuExportOsuApiKeyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SnapshotExportTaskOsuExportOsuApiKey)(nil)).Elem() -} - -func (i SnapshotExportTaskOsuExportOsuApiKeyArray) ToSnapshotExportTaskOsuExportOsuApiKeyArrayOutput() SnapshotExportTaskOsuExportOsuApiKeyArrayOutput { - return i.ToSnapshotExportTaskOsuExportOsuApiKeyArrayOutputWithContext(context.Background()) -} - -func (i SnapshotExportTaskOsuExportOsuApiKeyArray) ToSnapshotExportTaskOsuExportOsuApiKeyArrayOutputWithContext(ctx context.Context) SnapshotExportTaskOsuExportOsuApiKeyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SnapshotExportTaskOsuExportOsuApiKeyArrayOutput) -} - -type SnapshotExportTaskOsuExportOsuApiKeyOutput struct{ *pulumi.OutputState } - -func (SnapshotExportTaskOsuExportOsuApiKeyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SnapshotExportTaskOsuExportOsuApiKey)(nil)).Elem() -} - -func (o SnapshotExportTaskOsuExportOsuApiKeyOutput) ToSnapshotExportTaskOsuExportOsuApiKeyOutput() SnapshotExportTaskOsuExportOsuApiKeyOutput { - return o -} - -func (o SnapshotExportTaskOsuExportOsuApiKeyOutput) ToSnapshotExportTaskOsuExportOsuApiKeyOutputWithContext(ctx context.Context) SnapshotExportTaskOsuExportOsuApiKeyOutput { - return o -} - -// The API key of the OOS account that enables you to access the bucket. -func (o SnapshotExportTaskOsuExportOsuApiKeyOutput) ApiKeyId() pulumi.StringOutput { - return o.ApplyT(func(v SnapshotExportTaskOsuExportOsuApiKey) string { return v.ApiKeyId }).(pulumi.StringOutput) -} - -// The secret key of the OOS account that enables you to access the bucket. -func (o SnapshotExportTaskOsuExportOsuApiKeyOutput) SecretKey() pulumi.StringOutput { - return o.ApplyT(func(v SnapshotExportTaskOsuExportOsuApiKey) string { return v.SecretKey }).(pulumi.StringOutput) -} - -type SnapshotExportTaskOsuExportOsuApiKeyArrayOutput struct{ *pulumi.OutputState } - -func (SnapshotExportTaskOsuExportOsuApiKeyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SnapshotExportTaskOsuExportOsuApiKey)(nil)).Elem() -} - -func (o SnapshotExportTaskOsuExportOsuApiKeyArrayOutput) ToSnapshotExportTaskOsuExportOsuApiKeyArrayOutput() SnapshotExportTaskOsuExportOsuApiKeyArrayOutput { - return o -} - -func (o SnapshotExportTaskOsuExportOsuApiKeyArrayOutput) ToSnapshotExportTaskOsuExportOsuApiKeyArrayOutputWithContext(ctx context.Context) SnapshotExportTaskOsuExportOsuApiKeyArrayOutput { - return o -} - -func (o SnapshotExportTaskOsuExportOsuApiKeyArrayOutput) Index(i pulumi.IntInput) SnapshotExportTaskOsuExportOsuApiKeyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) SnapshotExportTaskOsuExportOsuApiKey { - return vs[0].([]SnapshotExportTaskOsuExportOsuApiKey)[vs[1].(int)] - }).(SnapshotExportTaskOsuExportOsuApiKeyOutput) -} - -type SnapshotExportTaskTag struct { - // The key of the tag, with a minimum of 1 character. - Key *string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value *string `pulumi:"value"` -} - -// SnapshotExportTaskTagInput is an input type that accepts SnapshotExportTaskTagArgs and SnapshotExportTaskTagOutput values. -// You can construct a concrete instance of `SnapshotExportTaskTagInput` via: -// -// SnapshotExportTaskTagArgs{...} -type SnapshotExportTaskTagInput interface { - pulumi.Input - - ToSnapshotExportTaskTagOutput() SnapshotExportTaskTagOutput - ToSnapshotExportTaskTagOutputWithContext(context.Context) SnapshotExportTaskTagOutput -} - -type SnapshotExportTaskTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringPtrInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringPtrInput `pulumi:"value"` -} - -func (SnapshotExportTaskTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SnapshotExportTaskTag)(nil)).Elem() -} - -func (i SnapshotExportTaskTagArgs) ToSnapshotExportTaskTagOutput() SnapshotExportTaskTagOutput { - return i.ToSnapshotExportTaskTagOutputWithContext(context.Background()) -} - -func (i SnapshotExportTaskTagArgs) ToSnapshotExportTaskTagOutputWithContext(ctx context.Context) SnapshotExportTaskTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(SnapshotExportTaskTagOutput) -} - -// SnapshotExportTaskTagArrayInput is an input type that accepts SnapshotExportTaskTagArray and SnapshotExportTaskTagArrayOutput values. -// You can construct a concrete instance of `SnapshotExportTaskTagArrayInput` via: -// -// SnapshotExportTaskTagArray{ SnapshotExportTaskTagArgs{...} } -type SnapshotExportTaskTagArrayInput interface { - pulumi.Input - - ToSnapshotExportTaskTagArrayOutput() SnapshotExportTaskTagArrayOutput - ToSnapshotExportTaskTagArrayOutputWithContext(context.Context) SnapshotExportTaskTagArrayOutput -} - -type SnapshotExportTaskTagArray []SnapshotExportTaskTagInput - -func (SnapshotExportTaskTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SnapshotExportTaskTag)(nil)).Elem() -} - -func (i SnapshotExportTaskTagArray) ToSnapshotExportTaskTagArrayOutput() SnapshotExportTaskTagArrayOutput { - return i.ToSnapshotExportTaskTagArrayOutputWithContext(context.Background()) -} - -func (i SnapshotExportTaskTagArray) ToSnapshotExportTaskTagArrayOutputWithContext(ctx context.Context) SnapshotExportTaskTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SnapshotExportTaskTagArrayOutput) -} - -type SnapshotExportTaskTagOutput struct{ *pulumi.OutputState } - -func (SnapshotExportTaskTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SnapshotExportTaskTag)(nil)).Elem() -} - -func (o SnapshotExportTaskTagOutput) ToSnapshotExportTaskTagOutput() SnapshotExportTaskTagOutput { - return o -} - -func (o SnapshotExportTaskTagOutput) ToSnapshotExportTaskTagOutputWithContext(ctx context.Context) SnapshotExportTaskTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o SnapshotExportTaskTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v SnapshotExportTaskTag) *string { return v.Key }).(pulumi.StringPtrOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o SnapshotExportTaskTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v SnapshotExportTaskTag) *string { return v.Value }).(pulumi.StringPtrOutput) -} - -type SnapshotExportTaskTagArrayOutput struct{ *pulumi.OutputState } - -func (SnapshotExportTaskTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SnapshotExportTaskTag)(nil)).Elem() -} - -func (o SnapshotExportTaskTagArrayOutput) ToSnapshotExportTaskTagArrayOutput() SnapshotExportTaskTagArrayOutput { - return o -} - -func (o SnapshotExportTaskTagArrayOutput) ToSnapshotExportTaskTagArrayOutputWithContext(ctx context.Context) SnapshotExportTaskTagArrayOutput { - return o -} - -func (o SnapshotExportTaskTagArrayOutput) Index(i pulumi.IntInput) SnapshotExportTaskTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) SnapshotExportTaskTag { - return vs[0].([]SnapshotExportTaskTag)[vs[1].(int)] - }).(SnapshotExportTaskTagOutput) -} - -type SnapshotPermissionsToCreateVolume struct { - // The account ID of the owner of the snapshot. - AccountId *string `pulumi:"accountId"` - // A global permission for all accounts.
- // (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).
- // (Response) If true, the resource is public. If false, the resource is private. - GlobalPermission *bool `pulumi:"globalPermission"` -} - -// SnapshotPermissionsToCreateVolumeInput is an input type that accepts SnapshotPermissionsToCreateVolumeArgs and SnapshotPermissionsToCreateVolumeOutput values. -// You can construct a concrete instance of `SnapshotPermissionsToCreateVolumeInput` via: -// -// SnapshotPermissionsToCreateVolumeArgs{...} -type SnapshotPermissionsToCreateVolumeInput interface { - pulumi.Input - - ToSnapshotPermissionsToCreateVolumeOutput() SnapshotPermissionsToCreateVolumeOutput - ToSnapshotPermissionsToCreateVolumeOutputWithContext(context.Context) SnapshotPermissionsToCreateVolumeOutput -} - -type SnapshotPermissionsToCreateVolumeArgs struct { - // The account ID of the owner of the snapshot. - AccountId pulumi.StringPtrInput `pulumi:"accountId"` - // A global permission for all accounts.
- // (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).
- // (Response) If true, the resource is public. If false, the resource is private. - GlobalPermission pulumi.BoolPtrInput `pulumi:"globalPermission"` -} - -func (SnapshotPermissionsToCreateVolumeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SnapshotPermissionsToCreateVolume)(nil)).Elem() -} - -func (i SnapshotPermissionsToCreateVolumeArgs) ToSnapshotPermissionsToCreateVolumeOutput() SnapshotPermissionsToCreateVolumeOutput { - return i.ToSnapshotPermissionsToCreateVolumeOutputWithContext(context.Background()) -} - -func (i SnapshotPermissionsToCreateVolumeArgs) ToSnapshotPermissionsToCreateVolumeOutputWithContext(ctx context.Context) SnapshotPermissionsToCreateVolumeOutput { - return pulumi.ToOutputWithContext(ctx, i).(SnapshotPermissionsToCreateVolumeOutput) -} - -// SnapshotPermissionsToCreateVolumeArrayInput is an input type that accepts SnapshotPermissionsToCreateVolumeArray and SnapshotPermissionsToCreateVolumeArrayOutput values. -// You can construct a concrete instance of `SnapshotPermissionsToCreateVolumeArrayInput` via: -// -// SnapshotPermissionsToCreateVolumeArray{ SnapshotPermissionsToCreateVolumeArgs{...} } -type SnapshotPermissionsToCreateVolumeArrayInput interface { - pulumi.Input - - ToSnapshotPermissionsToCreateVolumeArrayOutput() SnapshotPermissionsToCreateVolumeArrayOutput - ToSnapshotPermissionsToCreateVolumeArrayOutputWithContext(context.Context) SnapshotPermissionsToCreateVolumeArrayOutput -} - -type SnapshotPermissionsToCreateVolumeArray []SnapshotPermissionsToCreateVolumeInput - -func (SnapshotPermissionsToCreateVolumeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SnapshotPermissionsToCreateVolume)(nil)).Elem() -} - -func (i SnapshotPermissionsToCreateVolumeArray) ToSnapshotPermissionsToCreateVolumeArrayOutput() SnapshotPermissionsToCreateVolumeArrayOutput { - return i.ToSnapshotPermissionsToCreateVolumeArrayOutputWithContext(context.Background()) -} - -func (i SnapshotPermissionsToCreateVolumeArray) ToSnapshotPermissionsToCreateVolumeArrayOutputWithContext(ctx context.Context) SnapshotPermissionsToCreateVolumeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SnapshotPermissionsToCreateVolumeArrayOutput) -} - -type SnapshotPermissionsToCreateVolumeOutput struct{ *pulumi.OutputState } - -func (SnapshotPermissionsToCreateVolumeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SnapshotPermissionsToCreateVolume)(nil)).Elem() -} - -func (o SnapshotPermissionsToCreateVolumeOutput) ToSnapshotPermissionsToCreateVolumeOutput() SnapshotPermissionsToCreateVolumeOutput { - return o -} - -func (o SnapshotPermissionsToCreateVolumeOutput) ToSnapshotPermissionsToCreateVolumeOutputWithContext(ctx context.Context) SnapshotPermissionsToCreateVolumeOutput { - return o -} - -// The account ID of the owner of the snapshot. -func (o SnapshotPermissionsToCreateVolumeOutput) AccountId() pulumi.StringPtrOutput { - return o.ApplyT(func(v SnapshotPermissionsToCreateVolume) *string { return v.AccountId }).(pulumi.StringPtrOutput) -} - -// A global permission for all accounts.
-// (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).
-// (Response) If true, the resource is public. If false, the resource is private. -func (o SnapshotPermissionsToCreateVolumeOutput) GlobalPermission() pulumi.BoolPtrOutput { - return o.ApplyT(func(v SnapshotPermissionsToCreateVolume) *bool { return v.GlobalPermission }).(pulumi.BoolPtrOutput) -} - -type SnapshotPermissionsToCreateVolumeArrayOutput struct{ *pulumi.OutputState } - -func (SnapshotPermissionsToCreateVolumeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SnapshotPermissionsToCreateVolume)(nil)).Elem() -} - -func (o SnapshotPermissionsToCreateVolumeArrayOutput) ToSnapshotPermissionsToCreateVolumeArrayOutput() SnapshotPermissionsToCreateVolumeArrayOutput { - return o -} - -func (o SnapshotPermissionsToCreateVolumeArrayOutput) ToSnapshotPermissionsToCreateVolumeArrayOutputWithContext(ctx context.Context) SnapshotPermissionsToCreateVolumeArrayOutput { - return o -} - -func (o SnapshotPermissionsToCreateVolumeArrayOutput) Index(i pulumi.IntInput) SnapshotPermissionsToCreateVolumeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) SnapshotPermissionsToCreateVolume { - return vs[0].([]SnapshotPermissionsToCreateVolume)[vs[1].(int)] - }).(SnapshotPermissionsToCreateVolumeOutput) -} - -type SnapshotTag struct { - // The key of the tag, with a minimum of 1 character. - Key *string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value *string `pulumi:"value"` -} - -// SnapshotTagInput is an input type that accepts SnapshotTagArgs and SnapshotTagOutput values. -// You can construct a concrete instance of `SnapshotTagInput` via: -// -// SnapshotTagArgs{...} -type SnapshotTagInput interface { - pulumi.Input - - ToSnapshotTagOutput() SnapshotTagOutput - ToSnapshotTagOutputWithContext(context.Context) SnapshotTagOutput -} - -type SnapshotTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringPtrInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringPtrInput `pulumi:"value"` -} - -func (SnapshotTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SnapshotTag)(nil)).Elem() -} - -func (i SnapshotTagArgs) ToSnapshotTagOutput() SnapshotTagOutput { - return i.ToSnapshotTagOutputWithContext(context.Background()) -} - -func (i SnapshotTagArgs) ToSnapshotTagOutputWithContext(ctx context.Context) SnapshotTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(SnapshotTagOutput) -} - -// SnapshotTagArrayInput is an input type that accepts SnapshotTagArray and SnapshotTagArrayOutput values. -// You can construct a concrete instance of `SnapshotTagArrayInput` via: -// -// SnapshotTagArray{ SnapshotTagArgs{...} } -type SnapshotTagArrayInput interface { - pulumi.Input - - ToSnapshotTagArrayOutput() SnapshotTagArrayOutput - ToSnapshotTagArrayOutputWithContext(context.Context) SnapshotTagArrayOutput -} - -type SnapshotTagArray []SnapshotTagInput - -func (SnapshotTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SnapshotTag)(nil)).Elem() -} - -func (i SnapshotTagArray) ToSnapshotTagArrayOutput() SnapshotTagArrayOutput { - return i.ToSnapshotTagArrayOutputWithContext(context.Background()) -} - -func (i SnapshotTagArray) ToSnapshotTagArrayOutputWithContext(ctx context.Context) SnapshotTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SnapshotTagArrayOutput) -} - -type SnapshotTagOutput struct{ *pulumi.OutputState } - -func (SnapshotTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SnapshotTag)(nil)).Elem() -} - -func (o SnapshotTagOutput) ToSnapshotTagOutput() SnapshotTagOutput { - return o -} - -func (o SnapshotTagOutput) ToSnapshotTagOutputWithContext(ctx context.Context) SnapshotTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o SnapshotTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v SnapshotTag) *string { return v.Key }).(pulumi.StringPtrOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o SnapshotTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v SnapshotTag) *string { return v.Value }).(pulumi.StringPtrOutput) -} - -type SnapshotTagArrayOutput struct{ *pulumi.OutputState } - -func (SnapshotTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SnapshotTag)(nil)).Elem() -} - -func (o SnapshotTagArrayOutput) ToSnapshotTagArrayOutput() SnapshotTagArrayOutput { - return o -} - -func (o SnapshotTagArrayOutput) ToSnapshotTagArrayOutputWithContext(ctx context.Context) SnapshotTagArrayOutput { - return o -} - -func (o SnapshotTagArrayOutput) Index(i pulumi.IntInput) SnapshotTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) SnapshotTag { - return vs[0].([]SnapshotTag)[vs[1].(int)] - }).(SnapshotTagOutput) -} - -type SubnetTag struct { - // The key of the tag, with a minimum of 1 character. - Key *string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value *string `pulumi:"value"` -} - -// SubnetTagInput is an input type that accepts SubnetTagArgs and SubnetTagOutput values. -// You can construct a concrete instance of `SubnetTagInput` via: -// -// SubnetTagArgs{...} -type SubnetTagInput interface { - pulumi.Input - - ToSubnetTagOutput() SubnetTagOutput - ToSubnetTagOutputWithContext(context.Context) SubnetTagOutput -} - -type SubnetTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringPtrInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringPtrInput `pulumi:"value"` -} - -func (SubnetTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SubnetTag)(nil)).Elem() -} - -func (i SubnetTagArgs) ToSubnetTagOutput() SubnetTagOutput { - return i.ToSubnetTagOutputWithContext(context.Background()) -} - -func (i SubnetTagArgs) ToSubnetTagOutputWithContext(ctx context.Context) SubnetTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(SubnetTagOutput) -} - -// SubnetTagArrayInput is an input type that accepts SubnetTagArray and SubnetTagArrayOutput values. -// You can construct a concrete instance of `SubnetTagArrayInput` via: -// -// SubnetTagArray{ SubnetTagArgs{...} } -type SubnetTagArrayInput interface { - pulumi.Input - - ToSubnetTagArrayOutput() SubnetTagArrayOutput - ToSubnetTagArrayOutputWithContext(context.Context) SubnetTagArrayOutput -} - -type SubnetTagArray []SubnetTagInput - -func (SubnetTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SubnetTag)(nil)).Elem() -} - -func (i SubnetTagArray) ToSubnetTagArrayOutput() SubnetTagArrayOutput { - return i.ToSubnetTagArrayOutputWithContext(context.Background()) -} - -func (i SubnetTagArray) ToSubnetTagArrayOutputWithContext(ctx context.Context) SubnetTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SubnetTagArrayOutput) -} - -type SubnetTagOutput struct{ *pulumi.OutputState } - -func (SubnetTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SubnetTag)(nil)).Elem() -} - -func (o SubnetTagOutput) ToSubnetTagOutput() SubnetTagOutput { - return o -} - -func (o SubnetTagOutput) ToSubnetTagOutputWithContext(ctx context.Context) SubnetTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o SubnetTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v SubnetTag) *string { return v.Key }).(pulumi.StringPtrOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o SubnetTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v SubnetTag) *string { return v.Value }).(pulumi.StringPtrOutput) -} - -type SubnetTagArrayOutput struct{ *pulumi.OutputState } - -func (SubnetTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SubnetTag)(nil)).Elem() -} - -func (o SubnetTagArrayOutput) ToSubnetTagArrayOutput() SubnetTagArrayOutput { - return o -} - -func (o SubnetTagArrayOutput) ToSubnetTagArrayOutputWithContext(ctx context.Context) SubnetTagArrayOutput { - return o -} - -func (o SubnetTagArrayOutput) Index(i pulumi.IntInput) SubnetTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) SubnetTag { - return vs[0].([]SubnetTag)[vs[1].(int)] - }).(SubnetTagOutput) -} - -type TagTag struct { - Key *string `pulumi:"key"` - ResourceId *string `pulumi:"resourceId"` - ResourceType *string `pulumi:"resourceType"` - Value *string `pulumi:"value"` -} - -// TagTagInput is an input type that accepts TagTagArgs and TagTagOutput values. -// You can construct a concrete instance of `TagTagInput` via: -// -// TagTagArgs{...} -type TagTagInput interface { - pulumi.Input - - ToTagTagOutput() TagTagOutput - ToTagTagOutputWithContext(context.Context) TagTagOutput -} - -type TagTagArgs struct { - Key pulumi.StringPtrInput `pulumi:"key"` - ResourceId pulumi.StringPtrInput `pulumi:"resourceId"` - ResourceType pulumi.StringPtrInput `pulumi:"resourceType"` - Value pulumi.StringPtrInput `pulumi:"value"` -} - -func (TagTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*TagTag)(nil)).Elem() -} - -func (i TagTagArgs) ToTagTagOutput() TagTagOutput { - return i.ToTagTagOutputWithContext(context.Background()) -} - -func (i TagTagArgs) ToTagTagOutputWithContext(ctx context.Context) TagTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(TagTagOutput) -} - -// TagTagArrayInput is an input type that accepts TagTagArray and TagTagArrayOutput values. -// You can construct a concrete instance of `TagTagArrayInput` via: -// -// TagTagArray{ TagTagArgs{...} } -type TagTagArrayInput interface { - pulumi.Input - - ToTagTagArrayOutput() TagTagArrayOutput - ToTagTagArrayOutputWithContext(context.Context) TagTagArrayOutput -} - -type TagTagArray []TagTagInput - -func (TagTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]TagTag)(nil)).Elem() -} - -func (i TagTagArray) ToTagTagArrayOutput() TagTagArrayOutput { - return i.ToTagTagArrayOutputWithContext(context.Background()) -} - -func (i TagTagArray) ToTagTagArrayOutputWithContext(ctx context.Context) TagTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(TagTagArrayOutput) -} - -type TagTagOutput struct{ *pulumi.OutputState } - -func (TagTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*TagTag)(nil)).Elem() -} - -func (o TagTagOutput) ToTagTagOutput() TagTagOutput { - return o -} - -func (o TagTagOutput) ToTagTagOutputWithContext(ctx context.Context) TagTagOutput { - return o -} - -func (o TagTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v TagTag) *string { return v.Key }).(pulumi.StringPtrOutput) -} - -func (o TagTagOutput) ResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v TagTag) *string { return v.ResourceId }).(pulumi.StringPtrOutput) -} - -func (o TagTagOutput) ResourceType() pulumi.StringPtrOutput { - return o.ApplyT(func(v TagTag) *string { return v.ResourceType }).(pulumi.StringPtrOutput) -} - -func (o TagTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v TagTag) *string { return v.Value }).(pulumi.StringPtrOutput) -} - -type TagTagArrayOutput struct{ *pulumi.OutputState } - -func (TagTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]TagTag)(nil)).Elem() -} - -func (o TagTagArrayOutput) ToTagTagArrayOutput() TagTagArrayOutput { - return o -} - -func (o TagTagArrayOutput) ToTagTagArrayOutputWithContext(ctx context.Context) TagTagArrayOutput { - return o -} - -func (o TagTagArrayOutput) Index(i pulumi.IntInput) TagTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) TagTag { - return vs[0].([]TagTag)[vs[1].(int)] - }).(TagTagOutput) -} - -type VirtualGatewayLinkNetToVirtualGatewayLink struct { - // The ID of the Net to which you want to attach the virtual gateway. - NetId *string `pulumi:"netId"` - // The state of the attachment (`attaching` \| `attached` \| `detaching` \| `detached`). - State *string `pulumi:"state"` -} - -// VirtualGatewayLinkNetToVirtualGatewayLinkInput is an input type that accepts VirtualGatewayLinkNetToVirtualGatewayLinkArgs and VirtualGatewayLinkNetToVirtualGatewayLinkOutput values. -// You can construct a concrete instance of `VirtualGatewayLinkNetToVirtualGatewayLinkInput` via: -// -// VirtualGatewayLinkNetToVirtualGatewayLinkArgs{...} -type VirtualGatewayLinkNetToVirtualGatewayLinkInput interface { - pulumi.Input - - ToVirtualGatewayLinkNetToVirtualGatewayLinkOutput() VirtualGatewayLinkNetToVirtualGatewayLinkOutput - ToVirtualGatewayLinkNetToVirtualGatewayLinkOutputWithContext(context.Context) VirtualGatewayLinkNetToVirtualGatewayLinkOutput -} - -type VirtualGatewayLinkNetToVirtualGatewayLinkArgs struct { - // The ID of the Net to which you want to attach the virtual gateway. - NetId pulumi.StringPtrInput `pulumi:"netId"` - // The state of the attachment (`attaching` \| `attached` \| `detaching` \| `detached`). - State pulumi.StringPtrInput `pulumi:"state"` -} - -func (VirtualGatewayLinkNetToVirtualGatewayLinkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VirtualGatewayLinkNetToVirtualGatewayLink)(nil)).Elem() -} - -func (i VirtualGatewayLinkNetToVirtualGatewayLinkArgs) ToVirtualGatewayLinkNetToVirtualGatewayLinkOutput() VirtualGatewayLinkNetToVirtualGatewayLinkOutput { - return i.ToVirtualGatewayLinkNetToVirtualGatewayLinkOutputWithContext(context.Background()) -} - -func (i VirtualGatewayLinkNetToVirtualGatewayLinkArgs) ToVirtualGatewayLinkNetToVirtualGatewayLinkOutputWithContext(ctx context.Context) VirtualGatewayLinkNetToVirtualGatewayLinkOutput { - return pulumi.ToOutputWithContext(ctx, i).(VirtualGatewayLinkNetToVirtualGatewayLinkOutput) -} - -// VirtualGatewayLinkNetToVirtualGatewayLinkArrayInput is an input type that accepts VirtualGatewayLinkNetToVirtualGatewayLinkArray and VirtualGatewayLinkNetToVirtualGatewayLinkArrayOutput values. -// You can construct a concrete instance of `VirtualGatewayLinkNetToVirtualGatewayLinkArrayInput` via: -// -// VirtualGatewayLinkNetToVirtualGatewayLinkArray{ VirtualGatewayLinkNetToVirtualGatewayLinkArgs{...} } -type VirtualGatewayLinkNetToVirtualGatewayLinkArrayInput interface { - pulumi.Input - - ToVirtualGatewayLinkNetToVirtualGatewayLinkArrayOutput() VirtualGatewayLinkNetToVirtualGatewayLinkArrayOutput - ToVirtualGatewayLinkNetToVirtualGatewayLinkArrayOutputWithContext(context.Context) VirtualGatewayLinkNetToVirtualGatewayLinkArrayOutput -} - -type VirtualGatewayLinkNetToVirtualGatewayLinkArray []VirtualGatewayLinkNetToVirtualGatewayLinkInput - -func (VirtualGatewayLinkNetToVirtualGatewayLinkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VirtualGatewayLinkNetToVirtualGatewayLink)(nil)).Elem() -} - -func (i VirtualGatewayLinkNetToVirtualGatewayLinkArray) ToVirtualGatewayLinkNetToVirtualGatewayLinkArrayOutput() VirtualGatewayLinkNetToVirtualGatewayLinkArrayOutput { - return i.ToVirtualGatewayLinkNetToVirtualGatewayLinkArrayOutputWithContext(context.Background()) -} - -func (i VirtualGatewayLinkNetToVirtualGatewayLinkArray) ToVirtualGatewayLinkNetToVirtualGatewayLinkArrayOutputWithContext(ctx context.Context) VirtualGatewayLinkNetToVirtualGatewayLinkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VirtualGatewayLinkNetToVirtualGatewayLinkArrayOutput) -} - -type VirtualGatewayLinkNetToVirtualGatewayLinkOutput struct{ *pulumi.OutputState } - -func (VirtualGatewayLinkNetToVirtualGatewayLinkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VirtualGatewayLinkNetToVirtualGatewayLink)(nil)).Elem() -} - -func (o VirtualGatewayLinkNetToVirtualGatewayLinkOutput) ToVirtualGatewayLinkNetToVirtualGatewayLinkOutput() VirtualGatewayLinkNetToVirtualGatewayLinkOutput { - return o -} - -func (o VirtualGatewayLinkNetToVirtualGatewayLinkOutput) ToVirtualGatewayLinkNetToVirtualGatewayLinkOutputWithContext(ctx context.Context) VirtualGatewayLinkNetToVirtualGatewayLinkOutput { - return o -} - -// The ID of the Net to which you want to attach the virtual gateway. -func (o VirtualGatewayLinkNetToVirtualGatewayLinkOutput) NetId() pulumi.StringPtrOutput { - return o.ApplyT(func(v VirtualGatewayLinkNetToVirtualGatewayLink) *string { return v.NetId }).(pulumi.StringPtrOutput) -} - -// The state of the attachment (`attaching` \| `attached` \| `detaching` \| `detached`). -func (o VirtualGatewayLinkNetToVirtualGatewayLinkOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v VirtualGatewayLinkNetToVirtualGatewayLink) *string { return v.State }).(pulumi.StringPtrOutput) -} - -type VirtualGatewayLinkNetToVirtualGatewayLinkArrayOutput struct{ *pulumi.OutputState } - -func (VirtualGatewayLinkNetToVirtualGatewayLinkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VirtualGatewayLinkNetToVirtualGatewayLink)(nil)).Elem() -} - -func (o VirtualGatewayLinkNetToVirtualGatewayLinkArrayOutput) ToVirtualGatewayLinkNetToVirtualGatewayLinkArrayOutput() VirtualGatewayLinkNetToVirtualGatewayLinkArrayOutput { - return o -} - -func (o VirtualGatewayLinkNetToVirtualGatewayLinkArrayOutput) ToVirtualGatewayLinkNetToVirtualGatewayLinkArrayOutputWithContext(ctx context.Context) VirtualGatewayLinkNetToVirtualGatewayLinkArrayOutput { - return o -} - -func (o VirtualGatewayLinkNetToVirtualGatewayLinkArrayOutput) Index(i pulumi.IntInput) VirtualGatewayLinkNetToVirtualGatewayLinkOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualGatewayLinkNetToVirtualGatewayLink { - return vs[0].([]VirtualGatewayLinkNetToVirtualGatewayLink)[vs[1].(int)] - }).(VirtualGatewayLinkNetToVirtualGatewayLinkOutput) -} - -type VirtualGatewayNetToVirtualGatewayLink struct { - // The ID of the Net to which the virtual gateway is attached. - NetId *string `pulumi:"netId"` - // The state of the virtual gateway (`pending` \| `available` \| `deleting` \| `deleted`). - State *string `pulumi:"state"` -} - -// VirtualGatewayNetToVirtualGatewayLinkInput is an input type that accepts VirtualGatewayNetToVirtualGatewayLinkArgs and VirtualGatewayNetToVirtualGatewayLinkOutput values. -// You can construct a concrete instance of `VirtualGatewayNetToVirtualGatewayLinkInput` via: -// -// VirtualGatewayNetToVirtualGatewayLinkArgs{...} -type VirtualGatewayNetToVirtualGatewayLinkInput interface { - pulumi.Input - - ToVirtualGatewayNetToVirtualGatewayLinkOutput() VirtualGatewayNetToVirtualGatewayLinkOutput - ToVirtualGatewayNetToVirtualGatewayLinkOutputWithContext(context.Context) VirtualGatewayNetToVirtualGatewayLinkOutput -} - -type VirtualGatewayNetToVirtualGatewayLinkArgs struct { - // The ID of the Net to which the virtual gateway is attached. - NetId pulumi.StringPtrInput `pulumi:"netId"` - // The state of the virtual gateway (`pending` \| `available` \| `deleting` \| `deleted`). - State pulumi.StringPtrInput `pulumi:"state"` -} - -func (VirtualGatewayNetToVirtualGatewayLinkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VirtualGatewayNetToVirtualGatewayLink)(nil)).Elem() -} - -func (i VirtualGatewayNetToVirtualGatewayLinkArgs) ToVirtualGatewayNetToVirtualGatewayLinkOutput() VirtualGatewayNetToVirtualGatewayLinkOutput { - return i.ToVirtualGatewayNetToVirtualGatewayLinkOutputWithContext(context.Background()) -} - -func (i VirtualGatewayNetToVirtualGatewayLinkArgs) ToVirtualGatewayNetToVirtualGatewayLinkOutputWithContext(ctx context.Context) VirtualGatewayNetToVirtualGatewayLinkOutput { - return pulumi.ToOutputWithContext(ctx, i).(VirtualGatewayNetToVirtualGatewayLinkOutput) -} - -// VirtualGatewayNetToVirtualGatewayLinkArrayInput is an input type that accepts VirtualGatewayNetToVirtualGatewayLinkArray and VirtualGatewayNetToVirtualGatewayLinkArrayOutput values. -// You can construct a concrete instance of `VirtualGatewayNetToVirtualGatewayLinkArrayInput` via: -// -// VirtualGatewayNetToVirtualGatewayLinkArray{ VirtualGatewayNetToVirtualGatewayLinkArgs{...} } -type VirtualGatewayNetToVirtualGatewayLinkArrayInput interface { - pulumi.Input - - ToVirtualGatewayNetToVirtualGatewayLinkArrayOutput() VirtualGatewayNetToVirtualGatewayLinkArrayOutput - ToVirtualGatewayNetToVirtualGatewayLinkArrayOutputWithContext(context.Context) VirtualGatewayNetToVirtualGatewayLinkArrayOutput -} - -type VirtualGatewayNetToVirtualGatewayLinkArray []VirtualGatewayNetToVirtualGatewayLinkInput - -func (VirtualGatewayNetToVirtualGatewayLinkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VirtualGatewayNetToVirtualGatewayLink)(nil)).Elem() -} - -func (i VirtualGatewayNetToVirtualGatewayLinkArray) ToVirtualGatewayNetToVirtualGatewayLinkArrayOutput() VirtualGatewayNetToVirtualGatewayLinkArrayOutput { - return i.ToVirtualGatewayNetToVirtualGatewayLinkArrayOutputWithContext(context.Background()) -} - -func (i VirtualGatewayNetToVirtualGatewayLinkArray) ToVirtualGatewayNetToVirtualGatewayLinkArrayOutputWithContext(ctx context.Context) VirtualGatewayNetToVirtualGatewayLinkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VirtualGatewayNetToVirtualGatewayLinkArrayOutput) -} - -type VirtualGatewayNetToVirtualGatewayLinkOutput struct{ *pulumi.OutputState } - -func (VirtualGatewayNetToVirtualGatewayLinkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VirtualGatewayNetToVirtualGatewayLink)(nil)).Elem() -} - -func (o VirtualGatewayNetToVirtualGatewayLinkOutput) ToVirtualGatewayNetToVirtualGatewayLinkOutput() VirtualGatewayNetToVirtualGatewayLinkOutput { - return o -} - -func (o VirtualGatewayNetToVirtualGatewayLinkOutput) ToVirtualGatewayNetToVirtualGatewayLinkOutputWithContext(ctx context.Context) VirtualGatewayNetToVirtualGatewayLinkOutput { - return o -} - -// The ID of the Net to which the virtual gateway is attached. -func (o VirtualGatewayNetToVirtualGatewayLinkOutput) NetId() pulumi.StringPtrOutput { - return o.ApplyT(func(v VirtualGatewayNetToVirtualGatewayLink) *string { return v.NetId }).(pulumi.StringPtrOutput) -} - -// The state of the virtual gateway (`pending` \| `available` \| `deleting` \| `deleted`). -func (o VirtualGatewayNetToVirtualGatewayLinkOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v VirtualGatewayNetToVirtualGatewayLink) *string { return v.State }).(pulumi.StringPtrOutput) -} - -type VirtualGatewayNetToVirtualGatewayLinkArrayOutput struct{ *pulumi.OutputState } - -func (VirtualGatewayNetToVirtualGatewayLinkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VirtualGatewayNetToVirtualGatewayLink)(nil)).Elem() -} - -func (o VirtualGatewayNetToVirtualGatewayLinkArrayOutput) ToVirtualGatewayNetToVirtualGatewayLinkArrayOutput() VirtualGatewayNetToVirtualGatewayLinkArrayOutput { - return o -} - -func (o VirtualGatewayNetToVirtualGatewayLinkArrayOutput) ToVirtualGatewayNetToVirtualGatewayLinkArrayOutputWithContext(ctx context.Context) VirtualGatewayNetToVirtualGatewayLinkArrayOutput { - return o -} - -func (o VirtualGatewayNetToVirtualGatewayLinkArrayOutput) Index(i pulumi.IntInput) VirtualGatewayNetToVirtualGatewayLinkOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualGatewayNetToVirtualGatewayLink { - return vs[0].([]VirtualGatewayNetToVirtualGatewayLink)[vs[1].(int)] - }).(VirtualGatewayNetToVirtualGatewayLinkOutput) -} - -type VirtualGatewayTag struct { - // The key of the tag, with a minimum of 1 character. - Key *string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value *string `pulumi:"value"` -} - -// VirtualGatewayTagInput is an input type that accepts VirtualGatewayTagArgs and VirtualGatewayTagOutput values. -// You can construct a concrete instance of `VirtualGatewayTagInput` via: -// -// VirtualGatewayTagArgs{...} -type VirtualGatewayTagInput interface { - pulumi.Input - - ToVirtualGatewayTagOutput() VirtualGatewayTagOutput - ToVirtualGatewayTagOutputWithContext(context.Context) VirtualGatewayTagOutput -} - -type VirtualGatewayTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringPtrInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringPtrInput `pulumi:"value"` -} - -func (VirtualGatewayTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VirtualGatewayTag)(nil)).Elem() -} - -func (i VirtualGatewayTagArgs) ToVirtualGatewayTagOutput() VirtualGatewayTagOutput { - return i.ToVirtualGatewayTagOutputWithContext(context.Background()) -} - -func (i VirtualGatewayTagArgs) ToVirtualGatewayTagOutputWithContext(ctx context.Context) VirtualGatewayTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(VirtualGatewayTagOutput) -} - -// VirtualGatewayTagArrayInput is an input type that accepts VirtualGatewayTagArray and VirtualGatewayTagArrayOutput values. -// You can construct a concrete instance of `VirtualGatewayTagArrayInput` via: -// -// VirtualGatewayTagArray{ VirtualGatewayTagArgs{...} } -type VirtualGatewayTagArrayInput interface { - pulumi.Input - - ToVirtualGatewayTagArrayOutput() VirtualGatewayTagArrayOutput - ToVirtualGatewayTagArrayOutputWithContext(context.Context) VirtualGatewayTagArrayOutput -} - -type VirtualGatewayTagArray []VirtualGatewayTagInput - -func (VirtualGatewayTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VirtualGatewayTag)(nil)).Elem() -} - -func (i VirtualGatewayTagArray) ToVirtualGatewayTagArrayOutput() VirtualGatewayTagArrayOutput { - return i.ToVirtualGatewayTagArrayOutputWithContext(context.Background()) -} - -func (i VirtualGatewayTagArray) ToVirtualGatewayTagArrayOutputWithContext(ctx context.Context) VirtualGatewayTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VirtualGatewayTagArrayOutput) -} - -type VirtualGatewayTagOutput struct{ *pulumi.OutputState } - -func (VirtualGatewayTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VirtualGatewayTag)(nil)).Elem() -} - -func (o VirtualGatewayTagOutput) ToVirtualGatewayTagOutput() VirtualGatewayTagOutput { - return o -} - -func (o VirtualGatewayTagOutput) ToVirtualGatewayTagOutputWithContext(ctx context.Context) VirtualGatewayTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o VirtualGatewayTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v VirtualGatewayTag) *string { return v.Key }).(pulumi.StringPtrOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o VirtualGatewayTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v VirtualGatewayTag) *string { return v.Value }).(pulumi.StringPtrOutput) -} - -type VirtualGatewayTagArrayOutput struct{ *pulumi.OutputState } - -func (VirtualGatewayTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VirtualGatewayTag)(nil)).Elem() -} - -func (o VirtualGatewayTagArrayOutput) ToVirtualGatewayTagArrayOutput() VirtualGatewayTagArrayOutput { - return o -} - -func (o VirtualGatewayTagArrayOutput) ToVirtualGatewayTagArrayOutputWithContext(ctx context.Context) VirtualGatewayTagArrayOutput { - return o -} - -func (o VirtualGatewayTagArrayOutput) Index(i pulumi.IntInput) VirtualGatewayTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualGatewayTag { - return vs[0].([]VirtualGatewayTag)[vs[1].(int)] - }).(VirtualGatewayTagOutput) -} - -type VmBlockDeviceMapping struct { - // Information about the BSU volume to create. - Bsu *VmBlockDeviceMappingBsu `pulumi:"bsu"` - // The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - DeviceName *string `pulumi:"deviceName"` - // Removes the device which is included in the block device mapping of the OMI. - NoDevice *string `pulumi:"noDevice"` - // The name of the virtual device (`ephemeralN`). - VirtualDeviceName *string `pulumi:"virtualDeviceName"` -} - -// VmBlockDeviceMappingInput is an input type that accepts VmBlockDeviceMappingArgs and VmBlockDeviceMappingOutput values. -// You can construct a concrete instance of `VmBlockDeviceMappingInput` via: -// -// VmBlockDeviceMappingArgs{...} -type VmBlockDeviceMappingInput interface { - pulumi.Input - - ToVmBlockDeviceMappingOutput() VmBlockDeviceMappingOutput - ToVmBlockDeviceMappingOutputWithContext(context.Context) VmBlockDeviceMappingOutput -} - -type VmBlockDeviceMappingArgs struct { - // Information about the BSU volume to create. - Bsu VmBlockDeviceMappingBsuPtrInput `pulumi:"bsu"` - // The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - DeviceName pulumi.StringPtrInput `pulumi:"deviceName"` - // Removes the device which is included in the block device mapping of the OMI. - NoDevice pulumi.StringPtrInput `pulumi:"noDevice"` - // The name of the virtual device (`ephemeralN`). - VirtualDeviceName pulumi.StringPtrInput `pulumi:"virtualDeviceName"` -} - -func (VmBlockDeviceMappingArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VmBlockDeviceMapping)(nil)).Elem() -} - -func (i VmBlockDeviceMappingArgs) ToVmBlockDeviceMappingOutput() VmBlockDeviceMappingOutput { - return i.ToVmBlockDeviceMappingOutputWithContext(context.Background()) -} - -func (i VmBlockDeviceMappingArgs) ToVmBlockDeviceMappingOutputWithContext(ctx context.Context) VmBlockDeviceMappingOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmBlockDeviceMappingOutput) -} - -// VmBlockDeviceMappingArrayInput is an input type that accepts VmBlockDeviceMappingArray and VmBlockDeviceMappingArrayOutput values. -// You can construct a concrete instance of `VmBlockDeviceMappingArrayInput` via: -// -// VmBlockDeviceMappingArray{ VmBlockDeviceMappingArgs{...} } -type VmBlockDeviceMappingArrayInput interface { - pulumi.Input - - ToVmBlockDeviceMappingArrayOutput() VmBlockDeviceMappingArrayOutput - ToVmBlockDeviceMappingArrayOutputWithContext(context.Context) VmBlockDeviceMappingArrayOutput -} - -type VmBlockDeviceMappingArray []VmBlockDeviceMappingInput - -func (VmBlockDeviceMappingArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmBlockDeviceMapping)(nil)).Elem() -} - -func (i VmBlockDeviceMappingArray) ToVmBlockDeviceMappingArrayOutput() VmBlockDeviceMappingArrayOutput { - return i.ToVmBlockDeviceMappingArrayOutputWithContext(context.Background()) -} - -func (i VmBlockDeviceMappingArray) ToVmBlockDeviceMappingArrayOutputWithContext(ctx context.Context) VmBlockDeviceMappingArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmBlockDeviceMappingArrayOutput) -} - -type VmBlockDeviceMappingOutput struct{ *pulumi.OutputState } - -func (VmBlockDeviceMappingOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VmBlockDeviceMapping)(nil)).Elem() -} - -func (o VmBlockDeviceMappingOutput) ToVmBlockDeviceMappingOutput() VmBlockDeviceMappingOutput { - return o -} - -func (o VmBlockDeviceMappingOutput) ToVmBlockDeviceMappingOutputWithContext(ctx context.Context) VmBlockDeviceMappingOutput { - return o -} - -// Information about the BSU volume to create. -func (o VmBlockDeviceMappingOutput) Bsu() VmBlockDeviceMappingBsuPtrOutput { - return o.ApplyT(func(v VmBlockDeviceMapping) *VmBlockDeviceMappingBsu { return v.Bsu }).(VmBlockDeviceMappingBsuPtrOutput) -} - -// The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). -func (o VmBlockDeviceMappingOutput) DeviceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmBlockDeviceMapping) *string { return v.DeviceName }).(pulumi.StringPtrOutput) -} - -// Removes the device which is included in the block device mapping of the OMI. -func (o VmBlockDeviceMappingOutput) NoDevice() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmBlockDeviceMapping) *string { return v.NoDevice }).(pulumi.StringPtrOutput) -} - -// The name of the virtual device (`ephemeralN`). -func (o VmBlockDeviceMappingOutput) VirtualDeviceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmBlockDeviceMapping) *string { return v.VirtualDeviceName }).(pulumi.StringPtrOutput) -} - -type VmBlockDeviceMappingArrayOutput struct{ *pulumi.OutputState } - -func (VmBlockDeviceMappingArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmBlockDeviceMapping)(nil)).Elem() -} - -func (o VmBlockDeviceMappingArrayOutput) ToVmBlockDeviceMappingArrayOutput() VmBlockDeviceMappingArrayOutput { - return o -} - -func (o VmBlockDeviceMappingArrayOutput) ToVmBlockDeviceMappingArrayOutputWithContext(ctx context.Context) VmBlockDeviceMappingArrayOutput { - return o -} - -func (o VmBlockDeviceMappingArrayOutput) Index(i pulumi.IntInput) VmBlockDeviceMappingOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) VmBlockDeviceMapping { - return vs[0].([]VmBlockDeviceMapping)[vs[1].(int)] - }).(VmBlockDeviceMappingOutput) -} - -type VmBlockDeviceMappingBsu struct { - // If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - DeleteOnVmDeletion *bool `pulumi:"deleteOnVmDeletion"` - // The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - Iops *int `pulumi:"iops"` - // The ID of the snapshot used to create the volume. - SnapshotId *string `pulumi:"snapshotId"` - // A tag to add to this resource. You can specify this argument several times. - Tags []VmBlockDeviceMappingBsuTag `pulumi:"tags"` - // The size of the volume, in gibibytes (GiB).
- // If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.
- // If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. - VolumeSize *int `pulumi:"volumeSize"` - // The type of the volume (`standard` \| `io1` \| `gp2`). If not specified in the request, a `standard` volume is created.
- // For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - VolumeType *string `pulumi:"volumeType"` -} - -// VmBlockDeviceMappingBsuInput is an input type that accepts VmBlockDeviceMappingBsuArgs and VmBlockDeviceMappingBsuOutput values. -// You can construct a concrete instance of `VmBlockDeviceMappingBsuInput` via: -// -// VmBlockDeviceMappingBsuArgs{...} -type VmBlockDeviceMappingBsuInput interface { - pulumi.Input - - ToVmBlockDeviceMappingBsuOutput() VmBlockDeviceMappingBsuOutput - ToVmBlockDeviceMappingBsuOutputWithContext(context.Context) VmBlockDeviceMappingBsuOutput -} - -type VmBlockDeviceMappingBsuArgs struct { - // If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - DeleteOnVmDeletion pulumi.BoolPtrInput `pulumi:"deleteOnVmDeletion"` - // The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - Iops pulumi.IntPtrInput `pulumi:"iops"` - // The ID of the snapshot used to create the volume. - SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"` - // A tag to add to this resource. You can specify this argument several times. - Tags VmBlockDeviceMappingBsuTagArrayInput `pulumi:"tags"` - // The size of the volume, in gibibytes (GiB).
- // If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.
- // If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. - VolumeSize pulumi.IntPtrInput `pulumi:"volumeSize"` - // The type of the volume (`standard` \| `io1` \| `gp2`). If not specified in the request, a `standard` volume is created.
- // For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - VolumeType pulumi.StringPtrInput `pulumi:"volumeType"` -} - -func (VmBlockDeviceMappingBsuArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VmBlockDeviceMappingBsu)(nil)).Elem() -} - -func (i VmBlockDeviceMappingBsuArgs) ToVmBlockDeviceMappingBsuOutput() VmBlockDeviceMappingBsuOutput { - return i.ToVmBlockDeviceMappingBsuOutputWithContext(context.Background()) -} - -func (i VmBlockDeviceMappingBsuArgs) ToVmBlockDeviceMappingBsuOutputWithContext(ctx context.Context) VmBlockDeviceMappingBsuOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmBlockDeviceMappingBsuOutput) -} - -func (i VmBlockDeviceMappingBsuArgs) ToVmBlockDeviceMappingBsuPtrOutput() VmBlockDeviceMappingBsuPtrOutput { - return i.ToVmBlockDeviceMappingBsuPtrOutputWithContext(context.Background()) -} - -func (i VmBlockDeviceMappingBsuArgs) ToVmBlockDeviceMappingBsuPtrOutputWithContext(ctx context.Context) VmBlockDeviceMappingBsuPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmBlockDeviceMappingBsuOutput).ToVmBlockDeviceMappingBsuPtrOutputWithContext(ctx) -} - -// VmBlockDeviceMappingBsuPtrInput is an input type that accepts VmBlockDeviceMappingBsuArgs, VmBlockDeviceMappingBsuPtr and VmBlockDeviceMappingBsuPtrOutput values. -// You can construct a concrete instance of `VmBlockDeviceMappingBsuPtrInput` via: -// -// VmBlockDeviceMappingBsuArgs{...} -// -// or: -// -// nil -type VmBlockDeviceMappingBsuPtrInput interface { - pulumi.Input - - ToVmBlockDeviceMappingBsuPtrOutput() VmBlockDeviceMappingBsuPtrOutput - ToVmBlockDeviceMappingBsuPtrOutputWithContext(context.Context) VmBlockDeviceMappingBsuPtrOutput -} - -type vmBlockDeviceMappingBsuPtrType VmBlockDeviceMappingBsuArgs - -func VmBlockDeviceMappingBsuPtr(v *VmBlockDeviceMappingBsuArgs) VmBlockDeviceMappingBsuPtrInput { - return (*vmBlockDeviceMappingBsuPtrType)(v) -} - -func (*vmBlockDeviceMappingBsuPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**VmBlockDeviceMappingBsu)(nil)).Elem() -} - -func (i *vmBlockDeviceMappingBsuPtrType) ToVmBlockDeviceMappingBsuPtrOutput() VmBlockDeviceMappingBsuPtrOutput { - return i.ToVmBlockDeviceMappingBsuPtrOutputWithContext(context.Background()) -} - -func (i *vmBlockDeviceMappingBsuPtrType) ToVmBlockDeviceMappingBsuPtrOutputWithContext(ctx context.Context) VmBlockDeviceMappingBsuPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmBlockDeviceMappingBsuPtrOutput) -} - -type VmBlockDeviceMappingBsuOutput struct{ *pulumi.OutputState } - -func (VmBlockDeviceMappingBsuOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VmBlockDeviceMappingBsu)(nil)).Elem() -} - -func (o VmBlockDeviceMappingBsuOutput) ToVmBlockDeviceMappingBsuOutput() VmBlockDeviceMappingBsuOutput { - return o -} - -func (o VmBlockDeviceMappingBsuOutput) ToVmBlockDeviceMappingBsuOutputWithContext(ctx context.Context) VmBlockDeviceMappingBsuOutput { - return o -} - -func (o VmBlockDeviceMappingBsuOutput) ToVmBlockDeviceMappingBsuPtrOutput() VmBlockDeviceMappingBsuPtrOutput { - return o.ToVmBlockDeviceMappingBsuPtrOutputWithContext(context.Background()) -} - -func (o VmBlockDeviceMappingBsuOutput) ToVmBlockDeviceMappingBsuPtrOutputWithContext(ctx context.Context) VmBlockDeviceMappingBsuPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v VmBlockDeviceMappingBsu) *VmBlockDeviceMappingBsu { - return &v - }).(VmBlockDeviceMappingBsuPtrOutput) -} - -// If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). -func (o VmBlockDeviceMappingBsuOutput) DeleteOnVmDeletion() pulumi.BoolPtrOutput { - return o.ApplyT(func(v VmBlockDeviceMappingBsu) *bool { return v.DeleteOnVmDeletion }).(pulumi.BoolPtrOutput) -} - -// The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. -func (o VmBlockDeviceMappingBsuOutput) Iops() pulumi.IntPtrOutput { - return o.ApplyT(func(v VmBlockDeviceMappingBsu) *int { return v.Iops }).(pulumi.IntPtrOutput) -} - -// The ID of the snapshot used to create the volume. -func (o VmBlockDeviceMappingBsuOutput) SnapshotId() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmBlockDeviceMappingBsu) *string { return v.SnapshotId }).(pulumi.StringPtrOutput) -} - -// A tag to add to this resource. You can specify this argument several times. -func (o VmBlockDeviceMappingBsuOutput) Tags() VmBlockDeviceMappingBsuTagArrayOutput { - return o.ApplyT(func(v VmBlockDeviceMappingBsu) []VmBlockDeviceMappingBsuTag { return v.Tags }).(VmBlockDeviceMappingBsuTagArrayOutput) -} - -// The size of the volume, in gibibytes (GiB).
-// If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.
-// If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. -func (o VmBlockDeviceMappingBsuOutput) VolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v VmBlockDeviceMappingBsu) *int { return v.VolumeSize }).(pulumi.IntPtrOutput) -} - -// The type of the volume (`standard` \| `io1` \| `gp2`). If not specified in the request, a `standard` volume is created.
-// For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). -func (o VmBlockDeviceMappingBsuOutput) VolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmBlockDeviceMappingBsu) *string { return v.VolumeType }).(pulumi.StringPtrOutput) -} - -type VmBlockDeviceMappingBsuPtrOutput struct{ *pulumi.OutputState } - -func (VmBlockDeviceMappingBsuPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**VmBlockDeviceMappingBsu)(nil)).Elem() -} - -func (o VmBlockDeviceMappingBsuPtrOutput) ToVmBlockDeviceMappingBsuPtrOutput() VmBlockDeviceMappingBsuPtrOutput { - return o -} - -func (o VmBlockDeviceMappingBsuPtrOutput) ToVmBlockDeviceMappingBsuPtrOutputWithContext(ctx context.Context) VmBlockDeviceMappingBsuPtrOutput { - return o -} - -func (o VmBlockDeviceMappingBsuPtrOutput) Elem() VmBlockDeviceMappingBsuOutput { - return o.ApplyT(func(v *VmBlockDeviceMappingBsu) VmBlockDeviceMappingBsu { - if v != nil { - return *v - } - var ret VmBlockDeviceMappingBsu - return ret - }).(VmBlockDeviceMappingBsuOutput) -} - -// If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). -func (o VmBlockDeviceMappingBsuPtrOutput) DeleteOnVmDeletion() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *VmBlockDeviceMappingBsu) *bool { - if v == nil { - return nil - } - return v.DeleteOnVmDeletion - }).(pulumi.BoolPtrOutput) -} - -// The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. -func (o VmBlockDeviceMappingBsuPtrOutput) Iops() pulumi.IntPtrOutput { - return o.ApplyT(func(v *VmBlockDeviceMappingBsu) *int { - if v == nil { - return nil - } - return v.Iops - }).(pulumi.IntPtrOutput) -} - -// The ID of the snapshot used to create the volume. -func (o VmBlockDeviceMappingBsuPtrOutput) SnapshotId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *VmBlockDeviceMappingBsu) *string { - if v == nil { - return nil - } - return v.SnapshotId - }).(pulumi.StringPtrOutput) -} - -// A tag to add to this resource. You can specify this argument several times. -func (o VmBlockDeviceMappingBsuPtrOutput) Tags() VmBlockDeviceMappingBsuTagArrayOutput { - return o.ApplyT(func(v *VmBlockDeviceMappingBsu) []VmBlockDeviceMappingBsuTag { - if v == nil { - return nil - } - return v.Tags - }).(VmBlockDeviceMappingBsuTagArrayOutput) -} - -// The size of the volume, in gibibytes (GiB).
-// If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.
-// If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. -func (o VmBlockDeviceMappingBsuPtrOutput) VolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *VmBlockDeviceMappingBsu) *int { - if v == nil { - return nil - } - return v.VolumeSize - }).(pulumi.IntPtrOutput) -} - -// The type of the volume (`standard` \| `io1` \| `gp2`). If not specified in the request, a `standard` volume is created.
-// For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). -func (o VmBlockDeviceMappingBsuPtrOutput) VolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *VmBlockDeviceMappingBsu) *string { - if v == nil { - return nil - } - return v.VolumeType - }).(pulumi.StringPtrOutput) -} - -type VmBlockDeviceMappingBsuTag struct { - // The key of the tag, with a minimum of 1 character. - Key *string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value *string `pulumi:"value"` -} - -// VmBlockDeviceMappingBsuTagInput is an input type that accepts VmBlockDeviceMappingBsuTagArgs and VmBlockDeviceMappingBsuTagOutput values. -// You can construct a concrete instance of `VmBlockDeviceMappingBsuTagInput` via: -// -// VmBlockDeviceMappingBsuTagArgs{...} -type VmBlockDeviceMappingBsuTagInput interface { - pulumi.Input - - ToVmBlockDeviceMappingBsuTagOutput() VmBlockDeviceMappingBsuTagOutput - ToVmBlockDeviceMappingBsuTagOutputWithContext(context.Context) VmBlockDeviceMappingBsuTagOutput -} - -type VmBlockDeviceMappingBsuTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringPtrInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringPtrInput `pulumi:"value"` -} - -func (VmBlockDeviceMappingBsuTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VmBlockDeviceMappingBsuTag)(nil)).Elem() -} - -func (i VmBlockDeviceMappingBsuTagArgs) ToVmBlockDeviceMappingBsuTagOutput() VmBlockDeviceMappingBsuTagOutput { - return i.ToVmBlockDeviceMappingBsuTagOutputWithContext(context.Background()) -} - -func (i VmBlockDeviceMappingBsuTagArgs) ToVmBlockDeviceMappingBsuTagOutputWithContext(ctx context.Context) VmBlockDeviceMappingBsuTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmBlockDeviceMappingBsuTagOutput) -} - -// VmBlockDeviceMappingBsuTagArrayInput is an input type that accepts VmBlockDeviceMappingBsuTagArray and VmBlockDeviceMappingBsuTagArrayOutput values. -// You can construct a concrete instance of `VmBlockDeviceMappingBsuTagArrayInput` via: -// -// VmBlockDeviceMappingBsuTagArray{ VmBlockDeviceMappingBsuTagArgs{...} } -type VmBlockDeviceMappingBsuTagArrayInput interface { - pulumi.Input - - ToVmBlockDeviceMappingBsuTagArrayOutput() VmBlockDeviceMappingBsuTagArrayOutput - ToVmBlockDeviceMappingBsuTagArrayOutputWithContext(context.Context) VmBlockDeviceMappingBsuTagArrayOutput -} - -type VmBlockDeviceMappingBsuTagArray []VmBlockDeviceMappingBsuTagInput - -func (VmBlockDeviceMappingBsuTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmBlockDeviceMappingBsuTag)(nil)).Elem() -} - -func (i VmBlockDeviceMappingBsuTagArray) ToVmBlockDeviceMappingBsuTagArrayOutput() VmBlockDeviceMappingBsuTagArrayOutput { - return i.ToVmBlockDeviceMappingBsuTagArrayOutputWithContext(context.Background()) -} - -func (i VmBlockDeviceMappingBsuTagArray) ToVmBlockDeviceMappingBsuTagArrayOutputWithContext(ctx context.Context) VmBlockDeviceMappingBsuTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmBlockDeviceMappingBsuTagArrayOutput) -} - -type VmBlockDeviceMappingBsuTagOutput struct{ *pulumi.OutputState } - -func (VmBlockDeviceMappingBsuTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VmBlockDeviceMappingBsuTag)(nil)).Elem() -} - -func (o VmBlockDeviceMappingBsuTagOutput) ToVmBlockDeviceMappingBsuTagOutput() VmBlockDeviceMappingBsuTagOutput { - return o -} - -func (o VmBlockDeviceMappingBsuTagOutput) ToVmBlockDeviceMappingBsuTagOutputWithContext(ctx context.Context) VmBlockDeviceMappingBsuTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o VmBlockDeviceMappingBsuTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmBlockDeviceMappingBsuTag) *string { return v.Key }).(pulumi.StringPtrOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o VmBlockDeviceMappingBsuTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmBlockDeviceMappingBsuTag) *string { return v.Value }).(pulumi.StringPtrOutput) -} - -type VmBlockDeviceMappingBsuTagArrayOutput struct{ *pulumi.OutputState } - -func (VmBlockDeviceMappingBsuTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmBlockDeviceMappingBsuTag)(nil)).Elem() -} - -func (o VmBlockDeviceMappingBsuTagArrayOutput) ToVmBlockDeviceMappingBsuTagArrayOutput() VmBlockDeviceMappingBsuTagArrayOutput { - return o -} - -func (o VmBlockDeviceMappingBsuTagArrayOutput) ToVmBlockDeviceMappingBsuTagArrayOutputWithContext(ctx context.Context) VmBlockDeviceMappingBsuTagArrayOutput { - return o -} - -func (o VmBlockDeviceMappingBsuTagArrayOutput) Index(i pulumi.IntInput) VmBlockDeviceMappingBsuTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) VmBlockDeviceMappingBsuTag { - return vs[0].([]VmBlockDeviceMappingBsuTag)[vs[1].(int)] - }).(VmBlockDeviceMappingBsuTagOutput) -} - -type VmBlockDeviceMappingsCreated struct { - // Information about the BSU volume to create. - Bsus []VmBlockDeviceMappingsCreatedBsus `pulumi:"bsus"` - // The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - DeviceName *string `pulumi:"deviceName"` -} - -// VmBlockDeviceMappingsCreatedInput is an input type that accepts VmBlockDeviceMappingsCreatedArgs and VmBlockDeviceMappingsCreatedOutput values. -// You can construct a concrete instance of `VmBlockDeviceMappingsCreatedInput` via: -// -// VmBlockDeviceMappingsCreatedArgs{...} -type VmBlockDeviceMappingsCreatedInput interface { - pulumi.Input - - ToVmBlockDeviceMappingsCreatedOutput() VmBlockDeviceMappingsCreatedOutput - ToVmBlockDeviceMappingsCreatedOutputWithContext(context.Context) VmBlockDeviceMappingsCreatedOutput -} - -type VmBlockDeviceMappingsCreatedArgs struct { - // Information about the BSU volume to create. - Bsus VmBlockDeviceMappingsCreatedBsusArrayInput `pulumi:"bsus"` - // The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - DeviceName pulumi.StringPtrInput `pulumi:"deviceName"` -} - -func (VmBlockDeviceMappingsCreatedArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VmBlockDeviceMappingsCreated)(nil)).Elem() -} - -func (i VmBlockDeviceMappingsCreatedArgs) ToVmBlockDeviceMappingsCreatedOutput() VmBlockDeviceMappingsCreatedOutput { - return i.ToVmBlockDeviceMappingsCreatedOutputWithContext(context.Background()) -} - -func (i VmBlockDeviceMappingsCreatedArgs) ToVmBlockDeviceMappingsCreatedOutputWithContext(ctx context.Context) VmBlockDeviceMappingsCreatedOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmBlockDeviceMappingsCreatedOutput) -} - -// VmBlockDeviceMappingsCreatedArrayInput is an input type that accepts VmBlockDeviceMappingsCreatedArray and VmBlockDeviceMappingsCreatedArrayOutput values. -// You can construct a concrete instance of `VmBlockDeviceMappingsCreatedArrayInput` via: -// -// VmBlockDeviceMappingsCreatedArray{ VmBlockDeviceMappingsCreatedArgs{...} } -type VmBlockDeviceMappingsCreatedArrayInput interface { - pulumi.Input - - ToVmBlockDeviceMappingsCreatedArrayOutput() VmBlockDeviceMappingsCreatedArrayOutput - ToVmBlockDeviceMappingsCreatedArrayOutputWithContext(context.Context) VmBlockDeviceMappingsCreatedArrayOutput -} - -type VmBlockDeviceMappingsCreatedArray []VmBlockDeviceMappingsCreatedInput - -func (VmBlockDeviceMappingsCreatedArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmBlockDeviceMappingsCreated)(nil)).Elem() -} - -func (i VmBlockDeviceMappingsCreatedArray) ToVmBlockDeviceMappingsCreatedArrayOutput() VmBlockDeviceMappingsCreatedArrayOutput { - return i.ToVmBlockDeviceMappingsCreatedArrayOutputWithContext(context.Background()) -} - -func (i VmBlockDeviceMappingsCreatedArray) ToVmBlockDeviceMappingsCreatedArrayOutputWithContext(ctx context.Context) VmBlockDeviceMappingsCreatedArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmBlockDeviceMappingsCreatedArrayOutput) -} - -type VmBlockDeviceMappingsCreatedOutput struct{ *pulumi.OutputState } - -func (VmBlockDeviceMappingsCreatedOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VmBlockDeviceMappingsCreated)(nil)).Elem() -} - -func (o VmBlockDeviceMappingsCreatedOutput) ToVmBlockDeviceMappingsCreatedOutput() VmBlockDeviceMappingsCreatedOutput { - return o -} - -func (o VmBlockDeviceMappingsCreatedOutput) ToVmBlockDeviceMappingsCreatedOutputWithContext(ctx context.Context) VmBlockDeviceMappingsCreatedOutput { - return o -} - -// Information about the BSU volume to create. -func (o VmBlockDeviceMappingsCreatedOutput) Bsus() VmBlockDeviceMappingsCreatedBsusArrayOutput { - return o.ApplyT(func(v VmBlockDeviceMappingsCreated) []VmBlockDeviceMappingsCreatedBsus { return v.Bsus }).(VmBlockDeviceMappingsCreatedBsusArrayOutput) -} - -// The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). -func (o VmBlockDeviceMappingsCreatedOutput) DeviceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmBlockDeviceMappingsCreated) *string { return v.DeviceName }).(pulumi.StringPtrOutput) -} - -type VmBlockDeviceMappingsCreatedArrayOutput struct{ *pulumi.OutputState } - -func (VmBlockDeviceMappingsCreatedArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmBlockDeviceMappingsCreated)(nil)).Elem() -} - -func (o VmBlockDeviceMappingsCreatedArrayOutput) ToVmBlockDeviceMappingsCreatedArrayOutput() VmBlockDeviceMappingsCreatedArrayOutput { - return o -} - -func (o VmBlockDeviceMappingsCreatedArrayOutput) ToVmBlockDeviceMappingsCreatedArrayOutputWithContext(ctx context.Context) VmBlockDeviceMappingsCreatedArrayOutput { - return o -} - -func (o VmBlockDeviceMappingsCreatedArrayOutput) Index(i pulumi.IntInput) VmBlockDeviceMappingsCreatedOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) VmBlockDeviceMappingsCreated { - return vs[0].([]VmBlockDeviceMappingsCreated)[vs[1].(int)] - }).(VmBlockDeviceMappingsCreatedOutput) -} - -type VmBlockDeviceMappingsCreatedBsus struct { - // If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - DeleteOnVmDeletion *bool `pulumi:"deleteOnVmDeletion"` - // The date and time of attachment of the volume to the VM, in ISO 8601 date-time format. - LinkDate *string `pulumi:"linkDate"` - // The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vmInitiatedShutdownBehavior` argument. - State *string `pulumi:"state"` - // A tag to add to this resource. You can specify this argument several times. - Tags []VmBlockDeviceMappingsCreatedBsusTag `pulumi:"tags"` - // The ID of the volume. - VolumeId *string `pulumi:"volumeId"` -} - -// VmBlockDeviceMappingsCreatedBsusInput is an input type that accepts VmBlockDeviceMappingsCreatedBsusArgs and VmBlockDeviceMappingsCreatedBsusOutput values. -// You can construct a concrete instance of `VmBlockDeviceMappingsCreatedBsusInput` via: -// -// VmBlockDeviceMappingsCreatedBsusArgs{...} -type VmBlockDeviceMappingsCreatedBsusInput interface { - pulumi.Input - - ToVmBlockDeviceMappingsCreatedBsusOutput() VmBlockDeviceMappingsCreatedBsusOutput - ToVmBlockDeviceMappingsCreatedBsusOutputWithContext(context.Context) VmBlockDeviceMappingsCreatedBsusOutput -} - -type VmBlockDeviceMappingsCreatedBsusArgs struct { - // If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - DeleteOnVmDeletion pulumi.BoolPtrInput `pulumi:"deleteOnVmDeletion"` - // The date and time of attachment of the volume to the VM, in ISO 8601 date-time format. - LinkDate pulumi.StringPtrInput `pulumi:"linkDate"` - // The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vmInitiatedShutdownBehavior` argument. - State pulumi.StringPtrInput `pulumi:"state"` - // A tag to add to this resource. You can specify this argument several times. - Tags VmBlockDeviceMappingsCreatedBsusTagArrayInput `pulumi:"tags"` - // The ID of the volume. - VolumeId pulumi.StringPtrInput `pulumi:"volumeId"` -} - -func (VmBlockDeviceMappingsCreatedBsusArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VmBlockDeviceMappingsCreatedBsus)(nil)).Elem() -} - -func (i VmBlockDeviceMappingsCreatedBsusArgs) ToVmBlockDeviceMappingsCreatedBsusOutput() VmBlockDeviceMappingsCreatedBsusOutput { - return i.ToVmBlockDeviceMappingsCreatedBsusOutputWithContext(context.Background()) -} - -func (i VmBlockDeviceMappingsCreatedBsusArgs) ToVmBlockDeviceMappingsCreatedBsusOutputWithContext(ctx context.Context) VmBlockDeviceMappingsCreatedBsusOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmBlockDeviceMappingsCreatedBsusOutput) -} - -// VmBlockDeviceMappingsCreatedBsusArrayInput is an input type that accepts VmBlockDeviceMappingsCreatedBsusArray and VmBlockDeviceMappingsCreatedBsusArrayOutput values. -// You can construct a concrete instance of `VmBlockDeviceMappingsCreatedBsusArrayInput` via: -// -// VmBlockDeviceMappingsCreatedBsusArray{ VmBlockDeviceMappingsCreatedBsusArgs{...} } -type VmBlockDeviceMappingsCreatedBsusArrayInput interface { - pulumi.Input - - ToVmBlockDeviceMappingsCreatedBsusArrayOutput() VmBlockDeviceMappingsCreatedBsusArrayOutput - ToVmBlockDeviceMappingsCreatedBsusArrayOutputWithContext(context.Context) VmBlockDeviceMappingsCreatedBsusArrayOutput -} - -type VmBlockDeviceMappingsCreatedBsusArray []VmBlockDeviceMappingsCreatedBsusInput - -func (VmBlockDeviceMappingsCreatedBsusArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmBlockDeviceMappingsCreatedBsus)(nil)).Elem() -} - -func (i VmBlockDeviceMappingsCreatedBsusArray) ToVmBlockDeviceMappingsCreatedBsusArrayOutput() VmBlockDeviceMappingsCreatedBsusArrayOutput { - return i.ToVmBlockDeviceMappingsCreatedBsusArrayOutputWithContext(context.Background()) -} - -func (i VmBlockDeviceMappingsCreatedBsusArray) ToVmBlockDeviceMappingsCreatedBsusArrayOutputWithContext(ctx context.Context) VmBlockDeviceMappingsCreatedBsusArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmBlockDeviceMappingsCreatedBsusArrayOutput) -} - -type VmBlockDeviceMappingsCreatedBsusOutput struct{ *pulumi.OutputState } - -func (VmBlockDeviceMappingsCreatedBsusOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VmBlockDeviceMappingsCreatedBsus)(nil)).Elem() -} - -func (o VmBlockDeviceMappingsCreatedBsusOutput) ToVmBlockDeviceMappingsCreatedBsusOutput() VmBlockDeviceMappingsCreatedBsusOutput { - return o -} - -func (o VmBlockDeviceMappingsCreatedBsusOutput) ToVmBlockDeviceMappingsCreatedBsusOutputWithContext(ctx context.Context) VmBlockDeviceMappingsCreatedBsusOutput { - return o -} - -// If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). -func (o VmBlockDeviceMappingsCreatedBsusOutput) DeleteOnVmDeletion() pulumi.BoolPtrOutput { - return o.ApplyT(func(v VmBlockDeviceMappingsCreatedBsus) *bool { return v.DeleteOnVmDeletion }).(pulumi.BoolPtrOutput) -} - -// The date and time of attachment of the volume to the VM, in ISO 8601 date-time format. -func (o VmBlockDeviceMappingsCreatedBsusOutput) LinkDate() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmBlockDeviceMappingsCreatedBsus) *string { return v.LinkDate }).(pulumi.StringPtrOutput) -} - -// The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vmInitiatedShutdownBehavior` argument. -func (o VmBlockDeviceMappingsCreatedBsusOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmBlockDeviceMappingsCreatedBsus) *string { return v.State }).(pulumi.StringPtrOutput) -} - -// A tag to add to this resource. You can specify this argument several times. -func (o VmBlockDeviceMappingsCreatedBsusOutput) Tags() VmBlockDeviceMappingsCreatedBsusTagArrayOutput { - return o.ApplyT(func(v VmBlockDeviceMappingsCreatedBsus) []VmBlockDeviceMappingsCreatedBsusTag { return v.Tags }).(VmBlockDeviceMappingsCreatedBsusTagArrayOutput) -} - -// The ID of the volume. -func (o VmBlockDeviceMappingsCreatedBsusOutput) VolumeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmBlockDeviceMappingsCreatedBsus) *string { return v.VolumeId }).(pulumi.StringPtrOutput) -} - -type VmBlockDeviceMappingsCreatedBsusArrayOutput struct{ *pulumi.OutputState } - -func (VmBlockDeviceMappingsCreatedBsusArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmBlockDeviceMappingsCreatedBsus)(nil)).Elem() -} - -func (o VmBlockDeviceMappingsCreatedBsusArrayOutput) ToVmBlockDeviceMappingsCreatedBsusArrayOutput() VmBlockDeviceMappingsCreatedBsusArrayOutput { - return o -} - -func (o VmBlockDeviceMappingsCreatedBsusArrayOutput) ToVmBlockDeviceMappingsCreatedBsusArrayOutputWithContext(ctx context.Context) VmBlockDeviceMappingsCreatedBsusArrayOutput { - return o -} - -func (o VmBlockDeviceMappingsCreatedBsusArrayOutput) Index(i pulumi.IntInput) VmBlockDeviceMappingsCreatedBsusOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) VmBlockDeviceMappingsCreatedBsus { - return vs[0].([]VmBlockDeviceMappingsCreatedBsus)[vs[1].(int)] - }).(VmBlockDeviceMappingsCreatedBsusOutput) -} - -type VmBlockDeviceMappingsCreatedBsusTag struct { - // The key of the tag, with a minimum of 1 character. - Key *string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value *string `pulumi:"value"` -} - -// VmBlockDeviceMappingsCreatedBsusTagInput is an input type that accepts VmBlockDeviceMappingsCreatedBsusTagArgs and VmBlockDeviceMappingsCreatedBsusTagOutput values. -// You can construct a concrete instance of `VmBlockDeviceMappingsCreatedBsusTagInput` via: -// -// VmBlockDeviceMappingsCreatedBsusTagArgs{...} -type VmBlockDeviceMappingsCreatedBsusTagInput interface { - pulumi.Input - - ToVmBlockDeviceMappingsCreatedBsusTagOutput() VmBlockDeviceMappingsCreatedBsusTagOutput - ToVmBlockDeviceMappingsCreatedBsusTagOutputWithContext(context.Context) VmBlockDeviceMappingsCreatedBsusTagOutput -} - -type VmBlockDeviceMappingsCreatedBsusTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringPtrInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringPtrInput `pulumi:"value"` -} - -func (VmBlockDeviceMappingsCreatedBsusTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VmBlockDeviceMappingsCreatedBsusTag)(nil)).Elem() -} - -func (i VmBlockDeviceMappingsCreatedBsusTagArgs) ToVmBlockDeviceMappingsCreatedBsusTagOutput() VmBlockDeviceMappingsCreatedBsusTagOutput { - return i.ToVmBlockDeviceMappingsCreatedBsusTagOutputWithContext(context.Background()) -} - -func (i VmBlockDeviceMappingsCreatedBsusTagArgs) ToVmBlockDeviceMappingsCreatedBsusTagOutputWithContext(ctx context.Context) VmBlockDeviceMappingsCreatedBsusTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmBlockDeviceMappingsCreatedBsusTagOutput) -} - -// VmBlockDeviceMappingsCreatedBsusTagArrayInput is an input type that accepts VmBlockDeviceMappingsCreatedBsusTagArray and VmBlockDeviceMappingsCreatedBsusTagArrayOutput values. -// You can construct a concrete instance of `VmBlockDeviceMappingsCreatedBsusTagArrayInput` via: -// -// VmBlockDeviceMappingsCreatedBsusTagArray{ VmBlockDeviceMappingsCreatedBsusTagArgs{...} } -type VmBlockDeviceMappingsCreatedBsusTagArrayInput interface { - pulumi.Input - - ToVmBlockDeviceMappingsCreatedBsusTagArrayOutput() VmBlockDeviceMappingsCreatedBsusTagArrayOutput - ToVmBlockDeviceMappingsCreatedBsusTagArrayOutputWithContext(context.Context) VmBlockDeviceMappingsCreatedBsusTagArrayOutput -} - -type VmBlockDeviceMappingsCreatedBsusTagArray []VmBlockDeviceMappingsCreatedBsusTagInput - -func (VmBlockDeviceMappingsCreatedBsusTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmBlockDeviceMappingsCreatedBsusTag)(nil)).Elem() -} - -func (i VmBlockDeviceMappingsCreatedBsusTagArray) ToVmBlockDeviceMappingsCreatedBsusTagArrayOutput() VmBlockDeviceMappingsCreatedBsusTagArrayOutput { - return i.ToVmBlockDeviceMappingsCreatedBsusTagArrayOutputWithContext(context.Background()) -} - -func (i VmBlockDeviceMappingsCreatedBsusTagArray) ToVmBlockDeviceMappingsCreatedBsusTagArrayOutputWithContext(ctx context.Context) VmBlockDeviceMappingsCreatedBsusTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmBlockDeviceMappingsCreatedBsusTagArrayOutput) -} - -type VmBlockDeviceMappingsCreatedBsusTagOutput struct{ *pulumi.OutputState } - -func (VmBlockDeviceMappingsCreatedBsusTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VmBlockDeviceMappingsCreatedBsusTag)(nil)).Elem() -} - -func (o VmBlockDeviceMappingsCreatedBsusTagOutput) ToVmBlockDeviceMappingsCreatedBsusTagOutput() VmBlockDeviceMappingsCreatedBsusTagOutput { - return o -} - -func (o VmBlockDeviceMappingsCreatedBsusTagOutput) ToVmBlockDeviceMappingsCreatedBsusTagOutputWithContext(ctx context.Context) VmBlockDeviceMappingsCreatedBsusTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o VmBlockDeviceMappingsCreatedBsusTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmBlockDeviceMappingsCreatedBsusTag) *string { return v.Key }).(pulumi.StringPtrOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o VmBlockDeviceMappingsCreatedBsusTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmBlockDeviceMappingsCreatedBsusTag) *string { return v.Value }).(pulumi.StringPtrOutput) -} - -type VmBlockDeviceMappingsCreatedBsusTagArrayOutput struct{ *pulumi.OutputState } - -func (VmBlockDeviceMappingsCreatedBsusTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmBlockDeviceMappingsCreatedBsusTag)(nil)).Elem() -} - -func (o VmBlockDeviceMappingsCreatedBsusTagArrayOutput) ToVmBlockDeviceMappingsCreatedBsusTagArrayOutput() VmBlockDeviceMappingsCreatedBsusTagArrayOutput { - return o -} - -func (o VmBlockDeviceMappingsCreatedBsusTagArrayOutput) ToVmBlockDeviceMappingsCreatedBsusTagArrayOutputWithContext(ctx context.Context) VmBlockDeviceMappingsCreatedBsusTagArrayOutput { - return o -} - -func (o VmBlockDeviceMappingsCreatedBsusTagArrayOutput) Index(i pulumi.IntInput) VmBlockDeviceMappingsCreatedBsusTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) VmBlockDeviceMappingsCreatedBsusTag { - return vs[0].([]VmBlockDeviceMappingsCreatedBsusTag)[vs[1].(int)] - }).(VmBlockDeviceMappingsCreatedBsusTagOutput) -} - -type VmNic struct { - // The account ID of the owner of the NIC. - AccountId *string `pulumi:"accountId"` - // If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - DeleteOnVmDeletion *bool `pulumi:"deleteOnVmDeletion"` - // The description of the NIC, if you are creating a NIC when creating the VM. - Description *string `pulumi:"description"` - // The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. - DeviceNumber int `pulumi:"deviceNumber"` - // (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - IsSourceDestChecked *bool `pulumi:"isSourceDestChecked"` - // Information about the network interface card (NIC). - LinkNics []VmNicLinkNic `pulumi:"linkNics"` - // Information about the public IP associated with the NIC. - LinkPublicIps []VmNicLinkPublicIp `pulumi:"linkPublicIps"` - // The Media Access Control (MAC) address of the NIC. - MacAddress *string `pulumi:"macAddress"` - // The ID of the Net for the NIC. - NetId *string `pulumi:"netId"` - // The ID of the NIC, if you are attaching an existing NIC when creating a VM. - NicId *string `pulumi:"nicId"` - // The name of the private DNS. - PrivateDnsName *string `pulumi:"privateDnsName"` - // One or more private IPs of the VM. - PrivateIps []VmNicPrivateIp `pulumi:"privateIps"` - // The number of secondary private IPs, if you create a NIC when creating a VM. This parameter cannot be specified if you specified more than one private IP in the `privateIps` parameter. - SecondaryPrivateIpCount *int `pulumi:"secondaryPrivateIpCount"` - // One or more IDs of security group for the VMs. - SecurityGroupIds []string `pulumi:"securityGroupIds"` - // One or more security groups associated with the VM. - SecurityGroups []VmNicSecurityGroup `pulumi:"securityGroups"` - // The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vmInitiatedShutdownBehavior` argument. - State *string `pulumi:"state"` - // The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `nics` parameter. - SubnetId *string `pulumi:"subnetId"` -} - -// VmNicInput is an input type that accepts VmNicArgs and VmNicOutput values. -// You can construct a concrete instance of `VmNicInput` via: -// -// VmNicArgs{...} -type VmNicInput interface { - pulumi.Input - - ToVmNicOutput() VmNicOutput - ToVmNicOutputWithContext(context.Context) VmNicOutput -} - -type VmNicArgs struct { - // The account ID of the owner of the NIC. - AccountId pulumi.StringPtrInput `pulumi:"accountId"` - // If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - DeleteOnVmDeletion pulumi.BoolPtrInput `pulumi:"deleteOnVmDeletion"` - // The description of the NIC, if you are creating a NIC when creating the VM. - Description pulumi.StringPtrInput `pulumi:"description"` - // The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. - DeviceNumber pulumi.IntInput `pulumi:"deviceNumber"` - // (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - IsSourceDestChecked pulumi.BoolPtrInput `pulumi:"isSourceDestChecked"` - // Information about the network interface card (NIC). - LinkNics VmNicLinkNicArrayInput `pulumi:"linkNics"` - // Information about the public IP associated with the NIC. - LinkPublicIps VmNicLinkPublicIpArrayInput `pulumi:"linkPublicIps"` - // The Media Access Control (MAC) address of the NIC. - MacAddress pulumi.StringPtrInput `pulumi:"macAddress"` - // The ID of the Net for the NIC. - NetId pulumi.StringPtrInput `pulumi:"netId"` - // The ID of the NIC, if you are attaching an existing NIC when creating a VM. - NicId pulumi.StringPtrInput `pulumi:"nicId"` - // The name of the private DNS. - PrivateDnsName pulumi.StringPtrInput `pulumi:"privateDnsName"` - // One or more private IPs of the VM. - PrivateIps VmNicPrivateIpArrayInput `pulumi:"privateIps"` - // The number of secondary private IPs, if you create a NIC when creating a VM. This parameter cannot be specified if you specified more than one private IP in the `privateIps` parameter. - SecondaryPrivateIpCount pulumi.IntPtrInput `pulumi:"secondaryPrivateIpCount"` - // One or more IDs of security group for the VMs. - SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"` - // One or more security groups associated with the VM. - SecurityGroups VmNicSecurityGroupArrayInput `pulumi:"securityGroups"` - // The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vmInitiatedShutdownBehavior` argument. - State pulumi.StringPtrInput `pulumi:"state"` - // The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `nics` parameter. - SubnetId pulumi.StringPtrInput `pulumi:"subnetId"` -} - -func (VmNicArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VmNic)(nil)).Elem() -} - -func (i VmNicArgs) ToVmNicOutput() VmNicOutput { - return i.ToVmNicOutputWithContext(context.Background()) -} - -func (i VmNicArgs) ToVmNicOutputWithContext(ctx context.Context) VmNicOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmNicOutput) -} - -// VmNicArrayInput is an input type that accepts VmNicArray and VmNicArrayOutput values. -// You can construct a concrete instance of `VmNicArrayInput` via: -// -// VmNicArray{ VmNicArgs{...} } -type VmNicArrayInput interface { - pulumi.Input - - ToVmNicArrayOutput() VmNicArrayOutput - ToVmNicArrayOutputWithContext(context.Context) VmNicArrayOutput -} - -type VmNicArray []VmNicInput - -func (VmNicArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmNic)(nil)).Elem() -} - -func (i VmNicArray) ToVmNicArrayOutput() VmNicArrayOutput { - return i.ToVmNicArrayOutputWithContext(context.Background()) -} - -func (i VmNicArray) ToVmNicArrayOutputWithContext(ctx context.Context) VmNicArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmNicArrayOutput) -} - -type VmNicOutput struct{ *pulumi.OutputState } - -func (VmNicOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VmNic)(nil)).Elem() -} - -func (o VmNicOutput) ToVmNicOutput() VmNicOutput { - return o -} - -func (o VmNicOutput) ToVmNicOutputWithContext(ctx context.Context) VmNicOutput { - return o -} - -// The account ID of the owner of the NIC. -func (o VmNicOutput) AccountId() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmNic) *string { return v.AccountId }).(pulumi.StringPtrOutput) -} - -// If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). -func (o VmNicOutput) DeleteOnVmDeletion() pulumi.BoolPtrOutput { - return o.ApplyT(func(v VmNic) *bool { return v.DeleteOnVmDeletion }).(pulumi.BoolPtrOutput) -} - -// The description of the NIC, if you are creating a NIC when creating the VM. -func (o VmNicOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmNic) *string { return v.Description }).(pulumi.StringPtrOutput) -} - -// The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. -func (o VmNicOutput) DeviceNumber() pulumi.IntOutput { - return o.ApplyT(func(v VmNic) int { return v.DeviceNumber }).(pulumi.IntOutput) -} - -// (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. -func (o VmNicOutput) IsSourceDestChecked() pulumi.BoolPtrOutput { - return o.ApplyT(func(v VmNic) *bool { return v.IsSourceDestChecked }).(pulumi.BoolPtrOutput) -} - -// Information about the network interface card (NIC). -func (o VmNicOutput) LinkNics() VmNicLinkNicArrayOutput { - return o.ApplyT(func(v VmNic) []VmNicLinkNic { return v.LinkNics }).(VmNicLinkNicArrayOutput) -} - -// Information about the public IP associated with the NIC. -func (o VmNicOutput) LinkPublicIps() VmNicLinkPublicIpArrayOutput { - return o.ApplyT(func(v VmNic) []VmNicLinkPublicIp { return v.LinkPublicIps }).(VmNicLinkPublicIpArrayOutput) -} - -// The Media Access Control (MAC) address of the NIC. -func (o VmNicOutput) MacAddress() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmNic) *string { return v.MacAddress }).(pulumi.StringPtrOutput) -} - -// The ID of the Net for the NIC. -func (o VmNicOutput) NetId() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmNic) *string { return v.NetId }).(pulumi.StringPtrOutput) -} - -// The ID of the NIC, if you are attaching an existing NIC when creating a VM. -func (o VmNicOutput) NicId() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmNic) *string { return v.NicId }).(pulumi.StringPtrOutput) -} - -// The name of the private DNS. -func (o VmNicOutput) PrivateDnsName() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmNic) *string { return v.PrivateDnsName }).(pulumi.StringPtrOutput) -} - -// One or more private IPs of the VM. -func (o VmNicOutput) PrivateIps() VmNicPrivateIpArrayOutput { - return o.ApplyT(func(v VmNic) []VmNicPrivateIp { return v.PrivateIps }).(VmNicPrivateIpArrayOutput) -} - -// The number of secondary private IPs, if you create a NIC when creating a VM. This parameter cannot be specified if you specified more than one private IP in the `privateIps` parameter. -func (o VmNicOutput) SecondaryPrivateIpCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v VmNic) *int { return v.SecondaryPrivateIpCount }).(pulumi.IntPtrOutput) -} - -// One or more IDs of security group for the VMs. -func (o VmNicOutput) SecurityGroupIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v VmNic) []string { return v.SecurityGroupIds }).(pulumi.StringArrayOutput) -} - -// One or more security groups associated with the VM. -func (o VmNicOutput) SecurityGroups() VmNicSecurityGroupArrayOutput { - return o.ApplyT(func(v VmNic) []VmNicSecurityGroup { return v.SecurityGroups }).(VmNicSecurityGroupArrayOutput) -} - -// The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vmInitiatedShutdownBehavior` argument. -func (o VmNicOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmNic) *string { return v.State }).(pulumi.StringPtrOutput) -} - -// The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `nics` parameter. -func (o VmNicOutput) SubnetId() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmNic) *string { return v.SubnetId }).(pulumi.StringPtrOutput) -} - -type VmNicArrayOutput struct{ *pulumi.OutputState } - -func (VmNicArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmNic)(nil)).Elem() -} - -func (o VmNicArrayOutput) ToVmNicArrayOutput() VmNicArrayOutput { - return o -} - -func (o VmNicArrayOutput) ToVmNicArrayOutputWithContext(ctx context.Context) VmNicArrayOutput { - return o -} - -func (o VmNicArrayOutput) Index(i pulumi.IntInput) VmNicOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) VmNic { - return vs[0].([]VmNic)[vs[1].(int)] - }).(VmNicOutput) -} - -type VmNicLinkNic struct { - // If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - DeleteOnVmDeletion *bool `pulumi:"deleteOnVmDeletion"` - // The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. - DeviceNumber *string `pulumi:"deviceNumber"` - // The ID of the NIC to attach. - LinkNicId *string `pulumi:"linkNicId"` - // The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vmInitiatedShutdownBehavior` argument. - State *string `pulumi:"state"` -} - -// VmNicLinkNicInput is an input type that accepts VmNicLinkNicArgs and VmNicLinkNicOutput values. -// You can construct a concrete instance of `VmNicLinkNicInput` via: -// -// VmNicLinkNicArgs{...} -type VmNicLinkNicInput interface { - pulumi.Input - - ToVmNicLinkNicOutput() VmNicLinkNicOutput - ToVmNicLinkNicOutputWithContext(context.Context) VmNicLinkNicOutput -} - -type VmNicLinkNicArgs struct { - // If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - DeleteOnVmDeletion pulumi.BoolPtrInput `pulumi:"deleteOnVmDeletion"` - // The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. - DeviceNumber pulumi.StringPtrInput `pulumi:"deviceNumber"` - // The ID of the NIC to attach. - LinkNicId pulumi.StringPtrInput `pulumi:"linkNicId"` - // The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vmInitiatedShutdownBehavior` argument. - State pulumi.StringPtrInput `pulumi:"state"` -} - -func (VmNicLinkNicArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VmNicLinkNic)(nil)).Elem() -} - -func (i VmNicLinkNicArgs) ToVmNicLinkNicOutput() VmNicLinkNicOutput { - return i.ToVmNicLinkNicOutputWithContext(context.Background()) -} - -func (i VmNicLinkNicArgs) ToVmNicLinkNicOutputWithContext(ctx context.Context) VmNicLinkNicOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmNicLinkNicOutput) -} - -// VmNicLinkNicArrayInput is an input type that accepts VmNicLinkNicArray and VmNicLinkNicArrayOutput values. -// You can construct a concrete instance of `VmNicLinkNicArrayInput` via: -// -// VmNicLinkNicArray{ VmNicLinkNicArgs{...} } -type VmNicLinkNicArrayInput interface { - pulumi.Input - - ToVmNicLinkNicArrayOutput() VmNicLinkNicArrayOutput - ToVmNicLinkNicArrayOutputWithContext(context.Context) VmNicLinkNicArrayOutput -} - -type VmNicLinkNicArray []VmNicLinkNicInput - -func (VmNicLinkNicArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmNicLinkNic)(nil)).Elem() -} - -func (i VmNicLinkNicArray) ToVmNicLinkNicArrayOutput() VmNicLinkNicArrayOutput { - return i.ToVmNicLinkNicArrayOutputWithContext(context.Background()) -} - -func (i VmNicLinkNicArray) ToVmNicLinkNicArrayOutputWithContext(ctx context.Context) VmNicLinkNicArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmNicLinkNicArrayOutput) -} - -type VmNicLinkNicOutput struct{ *pulumi.OutputState } - -func (VmNicLinkNicOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VmNicLinkNic)(nil)).Elem() -} - -func (o VmNicLinkNicOutput) ToVmNicLinkNicOutput() VmNicLinkNicOutput { - return o -} - -func (o VmNicLinkNicOutput) ToVmNicLinkNicOutputWithContext(ctx context.Context) VmNicLinkNicOutput { - return o -} - -// If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). -func (o VmNicLinkNicOutput) DeleteOnVmDeletion() pulumi.BoolPtrOutput { - return o.ApplyT(func(v VmNicLinkNic) *bool { return v.DeleteOnVmDeletion }).(pulumi.BoolPtrOutput) -} - -// The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. -func (o VmNicLinkNicOutput) DeviceNumber() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmNicLinkNic) *string { return v.DeviceNumber }).(pulumi.StringPtrOutput) -} - -// The ID of the NIC to attach. -func (o VmNicLinkNicOutput) LinkNicId() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmNicLinkNic) *string { return v.LinkNicId }).(pulumi.StringPtrOutput) -} - -// The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vmInitiatedShutdownBehavior` argument. -func (o VmNicLinkNicOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmNicLinkNic) *string { return v.State }).(pulumi.StringPtrOutput) -} - -type VmNicLinkNicArrayOutput struct{ *pulumi.OutputState } - -func (VmNicLinkNicArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmNicLinkNic)(nil)).Elem() -} - -func (o VmNicLinkNicArrayOutput) ToVmNicLinkNicArrayOutput() VmNicLinkNicArrayOutput { - return o -} - -func (o VmNicLinkNicArrayOutput) ToVmNicLinkNicArrayOutputWithContext(ctx context.Context) VmNicLinkNicArrayOutput { - return o -} - -func (o VmNicLinkNicArrayOutput) Index(i pulumi.IntInput) VmNicLinkNicOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) VmNicLinkNic { - return vs[0].([]VmNicLinkNic)[vs[1].(int)] - }).(VmNicLinkNicOutput) -} - -type VmNicLinkPublicIp struct { - // The name of the public DNS. - PublicDnsName *string `pulumi:"publicDnsName"` - // The public IP of the VM. - PublicIp *string `pulumi:"publicIp"` - // The account ID of the owner of the public IP. - PublicIpAccountId *string `pulumi:"publicIpAccountId"` -} - -// VmNicLinkPublicIpInput is an input type that accepts VmNicLinkPublicIpArgs and VmNicLinkPublicIpOutput values. -// You can construct a concrete instance of `VmNicLinkPublicIpInput` via: -// -// VmNicLinkPublicIpArgs{...} -type VmNicLinkPublicIpInput interface { - pulumi.Input - - ToVmNicLinkPublicIpOutput() VmNicLinkPublicIpOutput - ToVmNicLinkPublicIpOutputWithContext(context.Context) VmNicLinkPublicIpOutput -} - -type VmNicLinkPublicIpArgs struct { - // The name of the public DNS. - PublicDnsName pulumi.StringPtrInput `pulumi:"publicDnsName"` - // The public IP of the VM. - PublicIp pulumi.StringPtrInput `pulumi:"publicIp"` - // The account ID of the owner of the public IP. - PublicIpAccountId pulumi.StringPtrInput `pulumi:"publicIpAccountId"` -} - -func (VmNicLinkPublicIpArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VmNicLinkPublicIp)(nil)).Elem() -} - -func (i VmNicLinkPublicIpArgs) ToVmNicLinkPublicIpOutput() VmNicLinkPublicIpOutput { - return i.ToVmNicLinkPublicIpOutputWithContext(context.Background()) -} - -func (i VmNicLinkPublicIpArgs) ToVmNicLinkPublicIpOutputWithContext(ctx context.Context) VmNicLinkPublicIpOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmNicLinkPublicIpOutput) -} - -// VmNicLinkPublicIpArrayInput is an input type that accepts VmNicLinkPublicIpArray and VmNicLinkPublicIpArrayOutput values. -// You can construct a concrete instance of `VmNicLinkPublicIpArrayInput` via: -// -// VmNicLinkPublicIpArray{ VmNicLinkPublicIpArgs{...} } -type VmNicLinkPublicIpArrayInput interface { - pulumi.Input - - ToVmNicLinkPublicIpArrayOutput() VmNicLinkPublicIpArrayOutput - ToVmNicLinkPublicIpArrayOutputWithContext(context.Context) VmNicLinkPublicIpArrayOutput -} - -type VmNicLinkPublicIpArray []VmNicLinkPublicIpInput - -func (VmNicLinkPublicIpArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmNicLinkPublicIp)(nil)).Elem() -} - -func (i VmNicLinkPublicIpArray) ToVmNicLinkPublicIpArrayOutput() VmNicLinkPublicIpArrayOutput { - return i.ToVmNicLinkPublicIpArrayOutputWithContext(context.Background()) -} - -func (i VmNicLinkPublicIpArray) ToVmNicLinkPublicIpArrayOutputWithContext(ctx context.Context) VmNicLinkPublicIpArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmNicLinkPublicIpArrayOutput) -} - -type VmNicLinkPublicIpOutput struct{ *pulumi.OutputState } - -func (VmNicLinkPublicIpOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VmNicLinkPublicIp)(nil)).Elem() -} - -func (o VmNicLinkPublicIpOutput) ToVmNicLinkPublicIpOutput() VmNicLinkPublicIpOutput { - return o -} - -func (o VmNicLinkPublicIpOutput) ToVmNicLinkPublicIpOutputWithContext(ctx context.Context) VmNicLinkPublicIpOutput { - return o -} - -// The name of the public DNS. -func (o VmNicLinkPublicIpOutput) PublicDnsName() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmNicLinkPublicIp) *string { return v.PublicDnsName }).(pulumi.StringPtrOutput) -} - -// The public IP of the VM. -func (o VmNicLinkPublicIpOutput) PublicIp() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmNicLinkPublicIp) *string { return v.PublicIp }).(pulumi.StringPtrOutput) -} - -// The account ID of the owner of the public IP. -func (o VmNicLinkPublicIpOutput) PublicIpAccountId() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmNicLinkPublicIp) *string { return v.PublicIpAccountId }).(pulumi.StringPtrOutput) -} - -type VmNicLinkPublicIpArrayOutput struct{ *pulumi.OutputState } - -func (VmNicLinkPublicIpArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmNicLinkPublicIp)(nil)).Elem() -} - -func (o VmNicLinkPublicIpArrayOutput) ToVmNicLinkPublicIpArrayOutput() VmNicLinkPublicIpArrayOutput { - return o -} - -func (o VmNicLinkPublicIpArrayOutput) ToVmNicLinkPublicIpArrayOutputWithContext(ctx context.Context) VmNicLinkPublicIpArrayOutput { - return o -} - -func (o VmNicLinkPublicIpArrayOutput) Index(i pulumi.IntInput) VmNicLinkPublicIpOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) VmNicLinkPublicIp { - return vs[0].([]VmNicLinkPublicIp)[vs[1].(int)] - }).(VmNicLinkPublicIpOutput) -} - -type VmNicPrivateIp struct { - // If true, the IP is the primary private IP of the NIC. - IsPrimary *bool `pulumi:"isPrimary"` - // Information about the public IP associated with the NIC. - LinkPublicIps []VmNicPrivateIpLinkPublicIp `pulumi:"linkPublicIps"` - // The name of the private DNS. - PrivateDnsName *string `pulumi:"privateDnsName"` - // The private IP of the NIC. - PrivateIp *string `pulumi:"privateIp"` -} - -// VmNicPrivateIpInput is an input type that accepts VmNicPrivateIpArgs and VmNicPrivateIpOutput values. -// You can construct a concrete instance of `VmNicPrivateIpInput` via: -// -// VmNicPrivateIpArgs{...} -type VmNicPrivateIpInput interface { - pulumi.Input - - ToVmNicPrivateIpOutput() VmNicPrivateIpOutput - ToVmNicPrivateIpOutputWithContext(context.Context) VmNicPrivateIpOutput -} - -type VmNicPrivateIpArgs struct { - // If true, the IP is the primary private IP of the NIC. - IsPrimary pulumi.BoolPtrInput `pulumi:"isPrimary"` - // Information about the public IP associated with the NIC. - LinkPublicIps VmNicPrivateIpLinkPublicIpArrayInput `pulumi:"linkPublicIps"` - // The name of the private DNS. - PrivateDnsName pulumi.StringPtrInput `pulumi:"privateDnsName"` - // The private IP of the NIC. - PrivateIp pulumi.StringPtrInput `pulumi:"privateIp"` -} - -func (VmNicPrivateIpArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VmNicPrivateIp)(nil)).Elem() -} - -func (i VmNicPrivateIpArgs) ToVmNicPrivateIpOutput() VmNicPrivateIpOutput { - return i.ToVmNicPrivateIpOutputWithContext(context.Background()) -} - -func (i VmNicPrivateIpArgs) ToVmNicPrivateIpOutputWithContext(ctx context.Context) VmNicPrivateIpOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmNicPrivateIpOutput) -} - -// VmNicPrivateIpArrayInput is an input type that accepts VmNicPrivateIpArray and VmNicPrivateIpArrayOutput values. -// You can construct a concrete instance of `VmNicPrivateIpArrayInput` via: -// -// VmNicPrivateIpArray{ VmNicPrivateIpArgs{...} } -type VmNicPrivateIpArrayInput interface { - pulumi.Input - - ToVmNicPrivateIpArrayOutput() VmNicPrivateIpArrayOutput - ToVmNicPrivateIpArrayOutputWithContext(context.Context) VmNicPrivateIpArrayOutput -} - -type VmNicPrivateIpArray []VmNicPrivateIpInput - -func (VmNicPrivateIpArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmNicPrivateIp)(nil)).Elem() -} - -func (i VmNicPrivateIpArray) ToVmNicPrivateIpArrayOutput() VmNicPrivateIpArrayOutput { - return i.ToVmNicPrivateIpArrayOutputWithContext(context.Background()) -} - -func (i VmNicPrivateIpArray) ToVmNicPrivateIpArrayOutputWithContext(ctx context.Context) VmNicPrivateIpArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmNicPrivateIpArrayOutput) -} - -type VmNicPrivateIpOutput struct{ *pulumi.OutputState } - -func (VmNicPrivateIpOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VmNicPrivateIp)(nil)).Elem() -} - -func (o VmNicPrivateIpOutput) ToVmNicPrivateIpOutput() VmNicPrivateIpOutput { - return o -} - -func (o VmNicPrivateIpOutput) ToVmNicPrivateIpOutputWithContext(ctx context.Context) VmNicPrivateIpOutput { - return o -} - -// If true, the IP is the primary private IP of the NIC. -func (o VmNicPrivateIpOutput) IsPrimary() pulumi.BoolPtrOutput { - return o.ApplyT(func(v VmNicPrivateIp) *bool { return v.IsPrimary }).(pulumi.BoolPtrOutput) -} - -// Information about the public IP associated with the NIC. -func (o VmNicPrivateIpOutput) LinkPublicIps() VmNicPrivateIpLinkPublicIpArrayOutput { - return o.ApplyT(func(v VmNicPrivateIp) []VmNicPrivateIpLinkPublicIp { return v.LinkPublicIps }).(VmNicPrivateIpLinkPublicIpArrayOutput) -} - -// The name of the private DNS. -func (o VmNicPrivateIpOutput) PrivateDnsName() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmNicPrivateIp) *string { return v.PrivateDnsName }).(pulumi.StringPtrOutput) -} - -// The private IP of the NIC. -func (o VmNicPrivateIpOutput) PrivateIp() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmNicPrivateIp) *string { return v.PrivateIp }).(pulumi.StringPtrOutput) -} - -type VmNicPrivateIpArrayOutput struct{ *pulumi.OutputState } - -func (VmNicPrivateIpArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmNicPrivateIp)(nil)).Elem() -} - -func (o VmNicPrivateIpArrayOutput) ToVmNicPrivateIpArrayOutput() VmNicPrivateIpArrayOutput { - return o -} - -func (o VmNicPrivateIpArrayOutput) ToVmNicPrivateIpArrayOutputWithContext(ctx context.Context) VmNicPrivateIpArrayOutput { - return o -} - -func (o VmNicPrivateIpArrayOutput) Index(i pulumi.IntInput) VmNicPrivateIpOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) VmNicPrivateIp { - return vs[0].([]VmNicPrivateIp)[vs[1].(int)] - }).(VmNicPrivateIpOutput) -} - -type VmNicPrivateIpLinkPublicIp struct { - // The name of the public DNS. - PublicDnsName *string `pulumi:"publicDnsName"` - // The public IP of the VM. - PublicIp *string `pulumi:"publicIp"` - // The account ID of the owner of the public IP. - PublicIpAccountId *string `pulumi:"publicIpAccountId"` -} - -// VmNicPrivateIpLinkPublicIpInput is an input type that accepts VmNicPrivateIpLinkPublicIpArgs and VmNicPrivateIpLinkPublicIpOutput values. -// You can construct a concrete instance of `VmNicPrivateIpLinkPublicIpInput` via: -// -// VmNicPrivateIpLinkPublicIpArgs{...} -type VmNicPrivateIpLinkPublicIpInput interface { - pulumi.Input - - ToVmNicPrivateIpLinkPublicIpOutput() VmNicPrivateIpLinkPublicIpOutput - ToVmNicPrivateIpLinkPublicIpOutputWithContext(context.Context) VmNicPrivateIpLinkPublicIpOutput -} - -type VmNicPrivateIpLinkPublicIpArgs struct { - // The name of the public DNS. - PublicDnsName pulumi.StringPtrInput `pulumi:"publicDnsName"` - // The public IP of the VM. - PublicIp pulumi.StringPtrInput `pulumi:"publicIp"` - // The account ID of the owner of the public IP. - PublicIpAccountId pulumi.StringPtrInput `pulumi:"publicIpAccountId"` -} - -func (VmNicPrivateIpLinkPublicIpArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VmNicPrivateIpLinkPublicIp)(nil)).Elem() -} - -func (i VmNicPrivateIpLinkPublicIpArgs) ToVmNicPrivateIpLinkPublicIpOutput() VmNicPrivateIpLinkPublicIpOutput { - return i.ToVmNicPrivateIpLinkPublicIpOutputWithContext(context.Background()) -} - -func (i VmNicPrivateIpLinkPublicIpArgs) ToVmNicPrivateIpLinkPublicIpOutputWithContext(ctx context.Context) VmNicPrivateIpLinkPublicIpOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmNicPrivateIpLinkPublicIpOutput) -} - -// VmNicPrivateIpLinkPublicIpArrayInput is an input type that accepts VmNicPrivateIpLinkPublicIpArray and VmNicPrivateIpLinkPublicIpArrayOutput values. -// You can construct a concrete instance of `VmNicPrivateIpLinkPublicIpArrayInput` via: -// -// VmNicPrivateIpLinkPublicIpArray{ VmNicPrivateIpLinkPublicIpArgs{...} } -type VmNicPrivateIpLinkPublicIpArrayInput interface { - pulumi.Input - - ToVmNicPrivateIpLinkPublicIpArrayOutput() VmNicPrivateIpLinkPublicIpArrayOutput - ToVmNicPrivateIpLinkPublicIpArrayOutputWithContext(context.Context) VmNicPrivateIpLinkPublicIpArrayOutput -} - -type VmNicPrivateIpLinkPublicIpArray []VmNicPrivateIpLinkPublicIpInput - -func (VmNicPrivateIpLinkPublicIpArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmNicPrivateIpLinkPublicIp)(nil)).Elem() -} - -func (i VmNicPrivateIpLinkPublicIpArray) ToVmNicPrivateIpLinkPublicIpArrayOutput() VmNicPrivateIpLinkPublicIpArrayOutput { - return i.ToVmNicPrivateIpLinkPublicIpArrayOutputWithContext(context.Background()) -} - -func (i VmNicPrivateIpLinkPublicIpArray) ToVmNicPrivateIpLinkPublicIpArrayOutputWithContext(ctx context.Context) VmNicPrivateIpLinkPublicIpArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmNicPrivateIpLinkPublicIpArrayOutput) -} - -type VmNicPrivateIpLinkPublicIpOutput struct{ *pulumi.OutputState } - -func (VmNicPrivateIpLinkPublicIpOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VmNicPrivateIpLinkPublicIp)(nil)).Elem() -} - -func (o VmNicPrivateIpLinkPublicIpOutput) ToVmNicPrivateIpLinkPublicIpOutput() VmNicPrivateIpLinkPublicIpOutput { - return o -} - -func (o VmNicPrivateIpLinkPublicIpOutput) ToVmNicPrivateIpLinkPublicIpOutputWithContext(ctx context.Context) VmNicPrivateIpLinkPublicIpOutput { - return o -} - -// The name of the public DNS. -func (o VmNicPrivateIpLinkPublicIpOutput) PublicDnsName() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmNicPrivateIpLinkPublicIp) *string { return v.PublicDnsName }).(pulumi.StringPtrOutput) -} - -// The public IP of the VM. -func (o VmNicPrivateIpLinkPublicIpOutput) PublicIp() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmNicPrivateIpLinkPublicIp) *string { return v.PublicIp }).(pulumi.StringPtrOutput) -} - -// The account ID of the owner of the public IP. -func (o VmNicPrivateIpLinkPublicIpOutput) PublicIpAccountId() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmNicPrivateIpLinkPublicIp) *string { return v.PublicIpAccountId }).(pulumi.StringPtrOutput) -} - -type VmNicPrivateIpLinkPublicIpArrayOutput struct{ *pulumi.OutputState } - -func (VmNicPrivateIpLinkPublicIpArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmNicPrivateIpLinkPublicIp)(nil)).Elem() -} - -func (o VmNicPrivateIpLinkPublicIpArrayOutput) ToVmNicPrivateIpLinkPublicIpArrayOutput() VmNicPrivateIpLinkPublicIpArrayOutput { - return o -} - -func (o VmNicPrivateIpLinkPublicIpArrayOutput) ToVmNicPrivateIpLinkPublicIpArrayOutputWithContext(ctx context.Context) VmNicPrivateIpLinkPublicIpArrayOutput { - return o -} - -func (o VmNicPrivateIpLinkPublicIpArrayOutput) Index(i pulumi.IntInput) VmNicPrivateIpLinkPublicIpOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) VmNicPrivateIpLinkPublicIp { - return vs[0].([]VmNicPrivateIpLinkPublicIp)[vs[1].(int)] - }).(VmNicPrivateIpLinkPublicIpOutput) -} - -type VmNicSecurityGroup struct { - // The ID of the security group. - SecurityGroupId *string `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName *string `pulumi:"securityGroupName"` -} - -// VmNicSecurityGroupInput is an input type that accepts VmNicSecurityGroupArgs and VmNicSecurityGroupOutput values. -// You can construct a concrete instance of `VmNicSecurityGroupInput` via: -// -// VmNicSecurityGroupArgs{...} -type VmNicSecurityGroupInput interface { - pulumi.Input - - ToVmNicSecurityGroupOutput() VmNicSecurityGroupOutput - ToVmNicSecurityGroupOutputWithContext(context.Context) VmNicSecurityGroupOutput -} - -type VmNicSecurityGroupArgs struct { - // The ID of the security group. - SecurityGroupId pulumi.StringPtrInput `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName pulumi.StringPtrInput `pulumi:"securityGroupName"` -} - -func (VmNicSecurityGroupArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VmNicSecurityGroup)(nil)).Elem() -} - -func (i VmNicSecurityGroupArgs) ToVmNicSecurityGroupOutput() VmNicSecurityGroupOutput { - return i.ToVmNicSecurityGroupOutputWithContext(context.Background()) -} - -func (i VmNicSecurityGroupArgs) ToVmNicSecurityGroupOutputWithContext(ctx context.Context) VmNicSecurityGroupOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmNicSecurityGroupOutput) -} - -// VmNicSecurityGroupArrayInput is an input type that accepts VmNicSecurityGroupArray and VmNicSecurityGroupArrayOutput values. -// You can construct a concrete instance of `VmNicSecurityGroupArrayInput` via: -// -// VmNicSecurityGroupArray{ VmNicSecurityGroupArgs{...} } -type VmNicSecurityGroupArrayInput interface { - pulumi.Input - - ToVmNicSecurityGroupArrayOutput() VmNicSecurityGroupArrayOutput - ToVmNicSecurityGroupArrayOutputWithContext(context.Context) VmNicSecurityGroupArrayOutput -} - -type VmNicSecurityGroupArray []VmNicSecurityGroupInput - -func (VmNicSecurityGroupArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmNicSecurityGroup)(nil)).Elem() -} - -func (i VmNicSecurityGroupArray) ToVmNicSecurityGroupArrayOutput() VmNicSecurityGroupArrayOutput { - return i.ToVmNicSecurityGroupArrayOutputWithContext(context.Background()) -} - -func (i VmNicSecurityGroupArray) ToVmNicSecurityGroupArrayOutputWithContext(ctx context.Context) VmNicSecurityGroupArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmNicSecurityGroupArrayOutput) -} - -type VmNicSecurityGroupOutput struct{ *pulumi.OutputState } - -func (VmNicSecurityGroupOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VmNicSecurityGroup)(nil)).Elem() -} - -func (o VmNicSecurityGroupOutput) ToVmNicSecurityGroupOutput() VmNicSecurityGroupOutput { - return o -} - -func (o VmNicSecurityGroupOutput) ToVmNicSecurityGroupOutputWithContext(ctx context.Context) VmNicSecurityGroupOutput { - return o -} - -// The ID of the security group. -func (o VmNicSecurityGroupOutput) SecurityGroupId() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmNicSecurityGroup) *string { return v.SecurityGroupId }).(pulumi.StringPtrOutput) -} - -// The name of the security group. -func (o VmNicSecurityGroupOutput) SecurityGroupName() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmNicSecurityGroup) *string { return v.SecurityGroupName }).(pulumi.StringPtrOutput) -} - -type VmNicSecurityGroupArrayOutput struct{ *pulumi.OutputState } - -func (VmNicSecurityGroupArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmNicSecurityGroup)(nil)).Elem() -} - -func (o VmNicSecurityGroupArrayOutput) ToVmNicSecurityGroupArrayOutput() VmNicSecurityGroupArrayOutput { - return o -} - -func (o VmNicSecurityGroupArrayOutput) ToVmNicSecurityGroupArrayOutputWithContext(ctx context.Context) VmNicSecurityGroupArrayOutput { - return o -} - -func (o VmNicSecurityGroupArrayOutput) Index(i pulumi.IntInput) VmNicSecurityGroupOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) VmNicSecurityGroup { - return vs[0].([]VmNicSecurityGroup)[vs[1].(int)] - }).(VmNicSecurityGroupOutput) -} - -type VmPrimaryNic struct { - // The account ID of the owner of the NIC. - AccountId *string `pulumi:"accountId"` - // If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - DeleteOnVmDeletion *bool `pulumi:"deleteOnVmDeletion"` - // The description of the NIC, if you are creating a NIC when creating the VM. - Description *string `pulumi:"description"` - // The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. - DeviceNumber int `pulumi:"deviceNumber"` - // (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - IsSourceDestChecked *bool `pulumi:"isSourceDestChecked"` - // Information about the network interface card (NIC). - LinkNics []VmPrimaryNicLinkNic `pulumi:"linkNics"` - // Information about the public IP associated with the NIC. - LinkPublicIps []VmPrimaryNicLinkPublicIp `pulumi:"linkPublicIps"` - // The Media Access Control (MAC) address of the NIC. - MacAddress *string `pulumi:"macAddress"` - // The ID of the Net for the NIC. - NetId *string `pulumi:"netId"` - // The ID of the NIC, if you are attaching an existing NIC when creating a VM. - NicId *string `pulumi:"nicId"` - // The name of the private DNS. - PrivateDnsName *string `pulumi:"privateDnsName"` - // One or more private IPs of the VM. - PrivateIps []VmPrimaryNicPrivateIp `pulumi:"privateIps"` - // The number of secondary private IPs, if you create a NIC when creating a VM. This parameter cannot be specified if you specified more than one private IP in the `privateIps` parameter. - SecondaryPrivateIpCount *int `pulumi:"secondaryPrivateIpCount"` - // One or more IDs of security group for the VMs. - SecurityGroupIds []string `pulumi:"securityGroupIds"` - // One or more security groups associated with the VM. - SecurityGroups []VmPrimaryNicSecurityGroup `pulumi:"securityGroups"` - // The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vmInitiatedShutdownBehavior` argument. - State *string `pulumi:"state"` - // The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `nics` parameter. - SubnetId *string `pulumi:"subnetId"` -} - -// VmPrimaryNicInput is an input type that accepts VmPrimaryNicArgs and VmPrimaryNicOutput values. -// You can construct a concrete instance of `VmPrimaryNicInput` via: -// -// VmPrimaryNicArgs{...} -type VmPrimaryNicInput interface { - pulumi.Input - - ToVmPrimaryNicOutput() VmPrimaryNicOutput - ToVmPrimaryNicOutputWithContext(context.Context) VmPrimaryNicOutput -} - -type VmPrimaryNicArgs struct { - // The account ID of the owner of the NIC. - AccountId pulumi.StringPtrInput `pulumi:"accountId"` - // If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - DeleteOnVmDeletion pulumi.BoolPtrInput `pulumi:"deleteOnVmDeletion"` - // The description of the NIC, if you are creating a NIC when creating the VM. - Description pulumi.StringPtrInput `pulumi:"description"` - // The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. - DeviceNumber pulumi.IntInput `pulumi:"deviceNumber"` - // (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - IsSourceDestChecked pulumi.BoolPtrInput `pulumi:"isSourceDestChecked"` - // Information about the network interface card (NIC). - LinkNics VmPrimaryNicLinkNicArrayInput `pulumi:"linkNics"` - // Information about the public IP associated with the NIC. - LinkPublicIps VmPrimaryNicLinkPublicIpArrayInput `pulumi:"linkPublicIps"` - // The Media Access Control (MAC) address of the NIC. - MacAddress pulumi.StringPtrInput `pulumi:"macAddress"` - // The ID of the Net for the NIC. - NetId pulumi.StringPtrInput `pulumi:"netId"` - // The ID of the NIC, if you are attaching an existing NIC when creating a VM. - NicId pulumi.StringPtrInput `pulumi:"nicId"` - // The name of the private DNS. - PrivateDnsName pulumi.StringPtrInput `pulumi:"privateDnsName"` - // One or more private IPs of the VM. - PrivateIps VmPrimaryNicPrivateIpArrayInput `pulumi:"privateIps"` - // The number of secondary private IPs, if you create a NIC when creating a VM. This parameter cannot be specified if you specified more than one private IP in the `privateIps` parameter. - SecondaryPrivateIpCount pulumi.IntPtrInput `pulumi:"secondaryPrivateIpCount"` - // One or more IDs of security group for the VMs. - SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"` - // One or more security groups associated with the VM. - SecurityGroups VmPrimaryNicSecurityGroupArrayInput `pulumi:"securityGroups"` - // The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vmInitiatedShutdownBehavior` argument. - State pulumi.StringPtrInput `pulumi:"state"` - // The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `nics` parameter. - SubnetId pulumi.StringPtrInput `pulumi:"subnetId"` -} - -func (VmPrimaryNicArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VmPrimaryNic)(nil)).Elem() -} - -func (i VmPrimaryNicArgs) ToVmPrimaryNicOutput() VmPrimaryNicOutput { - return i.ToVmPrimaryNicOutputWithContext(context.Background()) -} - -func (i VmPrimaryNicArgs) ToVmPrimaryNicOutputWithContext(ctx context.Context) VmPrimaryNicOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmPrimaryNicOutput) -} - -// VmPrimaryNicArrayInput is an input type that accepts VmPrimaryNicArray and VmPrimaryNicArrayOutput values. -// You can construct a concrete instance of `VmPrimaryNicArrayInput` via: -// -// VmPrimaryNicArray{ VmPrimaryNicArgs{...} } -type VmPrimaryNicArrayInput interface { - pulumi.Input - - ToVmPrimaryNicArrayOutput() VmPrimaryNicArrayOutput - ToVmPrimaryNicArrayOutputWithContext(context.Context) VmPrimaryNicArrayOutput -} - -type VmPrimaryNicArray []VmPrimaryNicInput - -func (VmPrimaryNicArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmPrimaryNic)(nil)).Elem() -} - -func (i VmPrimaryNicArray) ToVmPrimaryNicArrayOutput() VmPrimaryNicArrayOutput { - return i.ToVmPrimaryNicArrayOutputWithContext(context.Background()) -} - -func (i VmPrimaryNicArray) ToVmPrimaryNicArrayOutputWithContext(ctx context.Context) VmPrimaryNicArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmPrimaryNicArrayOutput) -} - -type VmPrimaryNicOutput struct{ *pulumi.OutputState } - -func (VmPrimaryNicOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VmPrimaryNic)(nil)).Elem() -} - -func (o VmPrimaryNicOutput) ToVmPrimaryNicOutput() VmPrimaryNicOutput { - return o -} - -func (o VmPrimaryNicOutput) ToVmPrimaryNicOutputWithContext(ctx context.Context) VmPrimaryNicOutput { - return o -} - -// The account ID of the owner of the NIC. -func (o VmPrimaryNicOutput) AccountId() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmPrimaryNic) *string { return v.AccountId }).(pulumi.StringPtrOutput) -} - -// If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). -func (o VmPrimaryNicOutput) DeleteOnVmDeletion() pulumi.BoolPtrOutput { - return o.ApplyT(func(v VmPrimaryNic) *bool { return v.DeleteOnVmDeletion }).(pulumi.BoolPtrOutput) -} - -// The description of the NIC, if you are creating a NIC when creating the VM. -func (o VmPrimaryNicOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmPrimaryNic) *string { return v.Description }).(pulumi.StringPtrOutput) -} - -// The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. -func (o VmPrimaryNicOutput) DeviceNumber() pulumi.IntOutput { - return o.ApplyT(func(v VmPrimaryNic) int { return v.DeviceNumber }).(pulumi.IntOutput) -} - -// (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. -func (o VmPrimaryNicOutput) IsSourceDestChecked() pulumi.BoolPtrOutput { - return o.ApplyT(func(v VmPrimaryNic) *bool { return v.IsSourceDestChecked }).(pulumi.BoolPtrOutput) -} - -// Information about the network interface card (NIC). -func (o VmPrimaryNicOutput) LinkNics() VmPrimaryNicLinkNicArrayOutput { - return o.ApplyT(func(v VmPrimaryNic) []VmPrimaryNicLinkNic { return v.LinkNics }).(VmPrimaryNicLinkNicArrayOutput) -} - -// Information about the public IP associated with the NIC. -func (o VmPrimaryNicOutput) LinkPublicIps() VmPrimaryNicLinkPublicIpArrayOutput { - return o.ApplyT(func(v VmPrimaryNic) []VmPrimaryNicLinkPublicIp { return v.LinkPublicIps }).(VmPrimaryNicLinkPublicIpArrayOutput) -} - -// The Media Access Control (MAC) address of the NIC. -func (o VmPrimaryNicOutput) MacAddress() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmPrimaryNic) *string { return v.MacAddress }).(pulumi.StringPtrOutput) -} - -// The ID of the Net for the NIC. -func (o VmPrimaryNicOutput) NetId() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmPrimaryNic) *string { return v.NetId }).(pulumi.StringPtrOutput) -} - -// The ID of the NIC, if you are attaching an existing NIC when creating a VM. -func (o VmPrimaryNicOutput) NicId() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmPrimaryNic) *string { return v.NicId }).(pulumi.StringPtrOutput) -} - -// The name of the private DNS. -func (o VmPrimaryNicOutput) PrivateDnsName() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmPrimaryNic) *string { return v.PrivateDnsName }).(pulumi.StringPtrOutput) -} - -// One or more private IPs of the VM. -func (o VmPrimaryNicOutput) PrivateIps() VmPrimaryNicPrivateIpArrayOutput { - return o.ApplyT(func(v VmPrimaryNic) []VmPrimaryNicPrivateIp { return v.PrivateIps }).(VmPrimaryNicPrivateIpArrayOutput) -} - -// The number of secondary private IPs, if you create a NIC when creating a VM. This parameter cannot be specified if you specified more than one private IP in the `privateIps` parameter. -func (o VmPrimaryNicOutput) SecondaryPrivateIpCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v VmPrimaryNic) *int { return v.SecondaryPrivateIpCount }).(pulumi.IntPtrOutput) -} - -// One or more IDs of security group for the VMs. -func (o VmPrimaryNicOutput) SecurityGroupIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v VmPrimaryNic) []string { return v.SecurityGroupIds }).(pulumi.StringArrayOutput) -} - -// One or more security groups associated with the VM. -func (o VmPrimaryNicOutput) SecurityGroups() VmPrimaryNicSecurityGroupArrayOutput { - return o.ApplyT(func(v VmPrimaryNic) []VmPrimaryNicSecurityGroup { return v.SecurityGroups }).(VmPrimaryNicSecurityGroupArrayOutput) -} - -// The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vmInitiatedShutdownBehavior` argument. -func (o VmPrimaryNicOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmPrimaryNic) *string { return v.State }).(pulumi.StringPtrOutput) -} - -// The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `nics` parameter. -func (o VmPrimaryNicOutput) SubnetId() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmPrimaryNic) *string { return v.SubnetId }).(pulumi.StringPtrOutput) -} - -type VmPrimaryNicArrayOutput struct{ *pulumi.OutputState } - -func (VmPrimaryNicArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmPrimaryNic)(nil)).Elem() -} - -func (o VmPrimaryNicArrayOutput) ToVmPrimaryNicArrayOutput() VmPrimaryNicArrayOutput { - return o -} - -func (o VmPrimaryNicArrayOutput) ToVmPrimaryNicArrayOutputWithContext(ctx context.Context) VmPrimaryNicArrayOutput { - return o -} - -func (o VmPrimaryNicArrayOutput) Index(i pulumi.IntInput) VmPrimaryNicOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) VmPrimaryNic { - return vs[0].([]VmPrimaryNic)[vs[1].(int)] - }).(VmPrimaryNicOutput) -} - -type VmPrimaryNicLinkNic struct { - // If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - DeleteOnVmDeletion *bool `pulumi:"deleteOnVmDeletion"` - // The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. - DeviceNumber *string `pulumi:"deviceNumber"` - // The ID of the NIC to attach. - LinkNicId *string `pulumi:"linkNicId"` - // The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vmInitiatedShutdownBehavior` argument. - State *string `pulumi:"state"` -} - -// VmPrimaryNicLinkNicInput is an input type that accepts VmPrimaryNicLinkNicArgs and VmPrimaryNicLinkNicOutput values. -// You can construct a concrete instance of `VmPrimaryNicLinkNicInput` via: -// -// VmPrimaryNicLinkNicArgs{...} -type VmPrimaryNicLinkNicInput interface { - pulumi.Input - - ToVmPrimaryNicLinkNicOutput() VmPrimaryNicLinkNicOutput - ToVmPrimaryNicLinkNicOutputWithContext(context.Context) VmPrimaryNicLinkNicOutput -} - -type VmPrimaryNicLinkNicArgs struct { - // If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - DeleteOnVmDeletion pulumi.BoolPtrInput `pulumi:"deleteOnVmDeletion"` - // The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. - DeviceNumber pulumi.StringPtrInput `pulumi:"deviceNumber"` - // The ID of the NIC to attach. - LinkNicId pulumi.StringPtrInput `pulumi:"linkNicId"` - // The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vmInitiatedShutdownBehavior` argument. - State pulumi.StringPtrInput `pulumi:"state"` -} - -func (VmPrimaryNicLinkNicArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VmPrimaryNicLinkNic)(nil)).Elem() -} - -func (i VmPrimaryNicLinkNicArgs) ToVmPrimaryNicLinkNicOutput() VmPrimaryNicLinkNicOutput { - return i.ToVmPrimaryNicLinkNicOutputWithContext(context.Background()) -} - -func (i VmPrimaryNicLinkNicArgs) ToVmPrimaryNicLinkNicOutputWithContext(ctx context.Context) VmPrimaryNicLinkNicOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmPrimaryNicLinkNicOutput) -} - -// VmPrimaryNicLinkNicArrayInput is an input type that accepts VmPrimaryNicLinkNicArray and VmPrimaryNicLinkNicArrayOutput values. -// You can construct a concrete instance of `VmPrimaryNicLinkNicArrayInput` via: -// -// VmPrimaryNicLinkNicArray{ VmPrimaryNicLinkNicArgs{...} } -type VmPrimaryNicLinkNicArrayInput interface { - pulumi.Input - - ToVmPrimaryNicLinkNicArrayOutput() VmPrimaryNicLinkNicArrayOutput - ToVmPrimaryNicLinkNicArrayOutputWithContext(context.Context) VmPrimaryNicLinkNicArrayOutput -} - -type VmPrimaryNicLinkNicArray []VmPrimaryNicLinkNicInput - -func (VmPrimaryNicLinkNicArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmPrimaryNicLinkNic)(nil)).Elem() -} - -func (i VmPrimaryNicLinkNicArray) ToVmPrimaryNicLinkNicArrayOutput() VmPrimaryNicLinkNicArrayOutput { - return i.ToVmPrimaryNicLinkNicArrayOutputWithContext(context.Background()) -} - -func (i VmPrimaryNicLinkNicArray) ToVmPrimaryNicLinkNicArrayOutputWithContext(ctx context.Context) VmPrimaryNicLinkNicArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmPrimaryNicLinkNicArrayOutput) -} - -type VmPrimaryNicLinkNicOutput struct{ *pulumi.OutputState } - -func (VmPrimaryNicLinkNicOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VmPrimaryNicLinkNic)(nil)).Elem() -} - -func (o VmPrimaryNicLinkNicOutput) ToVmPrimaryNicLinkNicOutput() VmPrimaryNicLinkNicOutput { - return o -} - -func (o VmPrimaryNicLinkNicOutput) ToVmPrimaryNicLinkNicOutputWithContext(ctx context.Context) VmPrimaryNicLinkNicOutput { - return o -} - -// If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). -func (o VmPrimaryNicLinkNicOutput) DeleteOnVmDeletion() pulumi.BoolPtrOutput { - return o.ApplyT(func(v VmPrimaryNicLinkNic) *bool { return v.DeleteOnVmDeletion }).(pulumi.BoolPtrOutput) -} - -// The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. -func (o VmPrimaryNicLinkNicOutput) DeviceNumber() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmPrimaryNicLinkNic) *string { return v.DeviceNumber }).(pulumi.StringPtrOutput) -} - -// The ID of the NIC to attach. -func (o VmPrimaryNicLinkNicOutput) LinkNicId() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmPrimaryNicLinkNic) *string { return v.LinkNicId }).(pulumi.StringPtrOutput) -} - -// The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vmInitiatedShutdownBehavior` argument. -func (o VmPrimaryNicLinkNicOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmPrimaryNicLinkNic) *string { return v.State }).(pulumi.StringPtrOutput) -} - -type VmPrimaryNicLinkNicArrayOutput struct{ *pulumi.OutputState } - -func (VmPrimaryNicLinkNicArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmPrimaryNicLinkNic)(nil)).Elem() -} - -func (o VmPrimaryNicLinkNicArrayOutput) ToVmPrimaryNicLinkNicArrayOutput() VmPrimaryNicLinkNicArrayOutput { - return o -} - -func (o VmPrimaryNicLinkNicArrayOutput) ToVmPrimaryNicLinkNicArrayOutputWithContext(ctx context.Context) VmPrimaryNicLinkNicArrayOutput { - return o -} - -func (o VmPrimaryNicLinkNicArrayOutput) Index(i pulumi.IntInput) VmPrimaryNicLinkNicOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) VmPrimaryNicLinkNic { - return vs[0].([]VmPrimaryNicLinkNic)[vs[1].(int)] - }).(VmPrimaryNicLinkNicOutput) -} - -type VmPrimaryNicLinkPublicIp struct { - // The name of the public DNS. - PublicDnsName *string `pulumi:"publicDnsName"` - // The public IP of the VM. - PublicIp *string `pulumi:"publicIp"` - // The account ID of the owner of the public IP. - PublicIpAccountId *string `pulumi:"publicIpAccountId"` -} - -// VmPrimaryNicLinkPublicIpInput is an input type that accepts VmPrimaryNicLinkPublicIpArgs and VmPrimaryNicLinkPublicIpOutput values. -// You can construct a concrete instance of `VmPrimaryNicLinkPublicIpInput` via: -// -// VmPrimaryNicLinkPublicIpArgs{...} -type VmPrimaryNicLinkPublicIpInput interface { - pulumi.Input - - ToVmPrimaryNicLinkPublicIpOutput() VmPrimaryNicLinkPublicIpOutput - ToVmPrimaryNicLinkPublicIpOutputWithContext(context.Context) VmPrimaryNicLinkPublicIpOutput -} - -type VmPrimaryNicLinkPublicIpArgs struct { - // The name of the public DNS. - PublicDnsName pulumi.StringPtrInput `pulumi:"publicDnsName"` - // The public IP of the VM. - PublicIp pulumi.StringPtrInput `pulumi:"publicIp"` - // The account ID of the owner of the public IP. - PublicIpAccountId pulumi.StringPtrInput `pulumi:"publicIpAccountId"` -} - -func (VmPrimaryNicLinkPublicIpArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VmPrimaryNicLinkPublicIp)(nil)).Elem() -} - -func (i VmPrimaryNicLinkPublicIpArgs) ToVmPrimaryNicLinkPublicIpOutput() VmPrimaryNicLinkPublicIpOutput { - return i.ToVmPrimaryNicLinkPublicIpOutputWithContext(context.Background()) -} - -func (i VmPrimaryNicLinkPublicIpArgs) ToVmPrimaryNicLinkPublicIpOutputWithContext(ctx context.Context) VmPrimaryNicLinkPublicIpOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmPrimaryNicLinkPublicIpOutput) -} - -// VmPrimaryNicLinkPublicIpArrayInput is an input type that accepts VmPrimaryNicLinkPublicIpArray and VmPrimaryNicLinkPublicIpArrayOutput values. -// You can construct a concrete instance of `VmPrimaryNicLinkPublicIpArrayInput` via: -// -// VmPrimaryNicLinkPublicIpArray{ VmPrimaryNicLinkPublicIpArgs{...} } -type VmPrimaryNicLinkPublicIpArrayInput interface { - pulumi.Input - - ToVmPrimaryNicLinkPublicIpArrayOutput() VmPrimaryNicLinkPublicIpArrayOutput - ToVmPrimaryNicLinkPublicIpArrayOutputWithContext(context.Context) VmPrimaryNicLinkPublicIpArrayOutput -} - -type VmPrimaryNicLinkPublicIpArray []VmPrimaryNicLinkPublicIpInput - -func (VmPrimaryNicLinkPublicIpArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmPrimaryNicLinkPublicIp)(nil)).Elem() -} - -func (i VmPrimaryNicLinkPublicIpArray) ToVmPrimaryNicLinkPublicIpArrayOutput() VmPrimaryNicLinkPublicIpArrayOutput { - return i.ToVmPrimaryNicLinkPublicIpArrayOutputWithContext(context.Background()) -} - -func (i VmPrimaryNicLinkPublicIpArray) ToVmPrimaryNicLinkPublicIpArrayOutputWithContext(ctx context.Context) VmPrimaryNicLinkPublicIpArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmPrimaryNicLinkPublicIpArrayOutput) -} - -type VmPrimaryNicLinkPublicIpOutput struct{ *pulumi.OutputState } - -func (VmPrimaryNicLinkPublicIpOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VmPrimaryNicLinkPublicIp)(nil)).Elem() -} - -func (o VmPrimaryNicLinkPublicIpOutput) ToVmPrimaryNicLinkPublicIpOutput() VmPrimaryNicLinkPublicIpOutput { - return o -} - -func (o VmPrimaryNicLinkPublicIpOutput) ToVmPrimaryNicLinkPublicIpOutputWithContext(ctx context.Context) VmPrimaryNicLinkPublicIpOutput { - return o -} - -// The name of the public DNS. -func (o VmPrimaryNicLinkPublicIpOutput) PublicDnsName() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmPrimaryNicLinkPublicIp) *string { return v.PublicDnsName }).(pulumi.StringPtrOutput) -} - -// The public IP of the VM. -func (o VmPrimaryNicLinkPublicIpOutput) PublicIp() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmPrimaryNicLinkPublicIp) *string { return v.PublicIp }).(pulumi.StringPtrOutput) -} - -// The account ID of the owner of the public IP. -func (o VmPrimaryNicLinkPublicIpOutput) PublicIpAccountId() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmPrimaryNicLinkPublicIp) *string { return v.PublicIpAccountId }).(pulumi.StringPtrOutput) -} - -type VmPrimaryNicLinkPublicIpArrayOutput struct{ *pulumi.OutputState } - -func (VmPrimaryNicLinkPublicIpArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmPrimaryNicLinkPublicIp)(nil)).Elem() -} - -func (o VmPrimaryNicLinkPublicIpArrayOutput) ToVmPrimaryNicLinkPublicIpArrayOutput() VmPrimaryNicLinkPublicIpArrayOutput { - return o -} - -func (o VmPrimaryNicLinkPublicIpArrayOutput) ToVmPrimaryNicLinkPublicIpArrayOutputWithContext(ctx context.Context) VmPrimaryNicLinkPublicIpArrayOutput { - return o -} - -func (o VmPrimaryNicLinkPublicIpArrayOutput) Index(i pulumi.IntInput) VmPrimaryNicLinkPublicIpOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) VmPrimaryNicLinkPublicIp { - return vs[0].([]VmPrimaryNicLinkPublicIp)[vs[1].(int)] - }).(VmPrimaryNicLinkPublicIpOutput) -} - -type VmPrimaryNicPrivateIp struct { - // If true, the IP is the primary private IP of the NIC. - IsPrimary *bool `pulumi:"isPrimary"` - // Information about the public IP associated with the NIC. - LinkPublicIps []VmPrimaryNicPrivateIpLinkPublicIp `pulumi:"linkPublicIps"` - // The name of the private DNS. - PrivateDnsName *string `pulumi:"privateDnsName"` - // The private IP of the NIC. - PrivateIp *string `pulumi:"privateIp"` -} - -// VmPrimaryNicPrivateIpInput is an input type that accepts VmPrimaryNicPrivateIpArgs and VmPrimaryNicPrivateIpOutput values. -// You can construct a concrete instance of `VmPrimaryNicPrivateIpInput` via: -// -// VmPrimaryNicPrivateIpArgs{...} -type VmPrimaryNicPrivateIpInput interface { - pulumi.Input - - ToVmPrimaryNicPrivateIpOutput() VmPrimaryNicPrivateIpOutput - ToVmPrimaryNicPrivateIpOutputWithContext(context.Context) VmPrimaryNicPrivateIpOutput -} - -type VmPrimaryNicPrivateIpArgs struct { - // If true, the IP is the primary private IP of the NIC. - IsPrimary pulumi.BoolPtrInput `pulumi:"isPrimary"` - // Information about the public IP associated with the NIC. - LinkPublicIps VmPrimaryNicPrivateIpLinkPublicIpArrayInput `pulumi:"linkPublicIps"` - // The name of the private DNS. - PrivateDnsName pulumi.StringPtrInput `pulumi:"privateDnsName"` - // The private IP of the NIC. - PrivateIp pulumi.StringPtrInput `pulumi:"privateIp"` -} - -func (VmPrimaryNicPrivateIpArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VmPrimaryNicPrivateIp)(nil)).Elem() -} - -func (i VmPrimaryNicPrivateIpArgs) ToVmPrimaryNicPrivateIpOutput() VmPrimaryNicPrivateIpOutput { - return i.ToVmPrimaryNicPrivateIpOutputWithContext(context.Background()) -} - -func (i VmPrimaryNicPrivateIpArgs) ToVmPrimaryNicPrivateIpOutputWithContext(ctx context.Context) VmPrimaryNicPrivateIpOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmPrimaryNicPrivateIpOutput) -} - -// VmPrimaryNicPrivateIpArrayInput is an input type that accepts VmPrimaryNicPrivateIpArray and VmPrimaryNicPrivateIpArrayOutput values. -// You can construct a concrete instance of `VmPrimaryNicPrivateIpArrayInput` via: -// -// VmPrimaryNicPrivateIpArray{ VmPrimaryNicPrivateIpArgs{...} } -type VmPrimaryNicPrivateIpArrayInput interface { - pulumi.Input - - ToVmPrimaryNicPrivateIpArrayOutput() VmPrimaryNicPrivateIpArrayOutput - ToVmPrimaryNicPrivateIpArrayOutputWithContext(context.Context) VmPrimaryNicPrivateIpArrayOutput -} - -type VmPrimaryNicPrivateIpArray []VmPrimaryNicPrivateIpInput - -func (VmPrimaryNicPrivateIpArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmPrimaryNicPrivateIp)(nil)).Elem() -} - -func (i VmPrimaryNicPrivateIpArray) ToVmPrimaryNicPrivateIpArrayOutput() VmPrimaryNicPrivateIpArrayOutput { - return i.ToVmPrimaryNicPrivateIpArrayOutputWithContext(context.Background()) -} - -func (i VmPrimaryNicPrivateIpArray) ToVmPrimaryNicPrivateIpArrayOutputWithContext(ctx context.Context) VmPrimaryNicPrivateIpArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmPrimaryNicPrivateIpArrayOutput) -} - -type VmPrimaryNicPrivateIpOutput struct{ *pulumi.OutputState } - -func (VmPrimaryNicPrivateIpOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VmPrimaryNicPrivateIp)(nil)).Elem() -} - -func (o VmPrimaryNicPrivateIpOutput) ToVmPrimaryNicPrivateIpOutput() VmPrimaryNicPrivateIpOutput { - return o -} - -func (o VmPrimaryNicPrivateIpOutput) ToVmPrimaryNicPrivateIpOutputWithContext(ctx context.Context) VmPrimaryNicPrivateIpOutput { - return o -} - -// If true, the IP is the primary private IP of the NIC. -func (o VmPrimaryNicPrivateIpOutput) IsPrimary() pulumi.BoolPtrOutput { - return o.ApplyT(func(v VmPrimaryNicPrivateIp) *bool { return v.IsPrimary }).(pulumi.BoolPtrOutput) -} - -// Information about the public IP associated with the NIC. -func (o VmPrimaryNicPrivateIpOutput) LinkPublicIps() VmPrimaryNicPrivateIpLinkPublicIpArrayOutput { - return o.ApplyT(func(v VmPrimaryNicPrivateIp) []VmPrimaryNicPrivateIpLinkPublicIp { return v.LinkPublicIps }).(VmPrimaryNicPrivateIpLinkPublicIpArrayOutput) -} - -// The name of the private DNS. -func (o VmPrimaryNicPrivateIpOutput) PrivateDnsName() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmPrimaryNicPrivateIp) *string { return v.PrivateDnsName }).(pulumi.StringPtrOutput) -} - -// The private IP of the NIC. -func (o VmPrimaryNicPrivateIpOutput) PrivateIp() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmPrimaryNicPrivateIp) *string { return v.PrivateIp }).(pulumi.StringPtrOutput) -} - -type VmPrimaryNicPrivateIpArrayOutput struct{ *pulumi.OutputState } - -func (VmPrimaryNicPrivateIpArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmPrimaryNicPrivateIp)(nil)).Elem() -} - -func (o VmPrimaryNicPrivateIpArrayOutput) ToVmPrimaryNicPrivateIpArrayOutput() VmPrimaryNicPrivateIpArrayOutput { - return o -} - -func (o VmPrimaryNicPrivateIpArrayOutput) ToVmPrimaryNicPrivateIpArrayOutputWithContext(ctx context.Context) VmPrimaryNicPrivateIpArrayOutput { - return o -} - -func (o VmPrimaryNicPrivateIpArrayOutput) Index(i pulumi.IntInput) VmPrimaryNicPrivateIpOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) VmPrimaryNicPrivateIp { - return vs[0].([]VmPrimaryNicPrivateIp)[vs[1].(int)] - }).(VmPrimaryNicPrivateIpOutput) -} - -type VmPrimaryNicPrivateIpLinkPublicIp struct { - // The name of the public DNS. - PublicDnsName *string `pulumi:"publicDnsName"` - // The public IP of the VM. - PublicIp *string `pulumi:"publicIp"` - // The account ID of the owner of the public IP. - PublicIpAccountId *string `pulumi:"publicIpAccountId"` -} - -// VmPrimaryNicPrivateIpLinkPublicIpInput is an input type that accepts VmPrimaryNicPrivateIpLinkPublicIpArgs and VmPrimaryNicPrivateIpLinkPublicIpOutput values. -// You can construct a concrete instance of `VmPrimaryNicPrivateIpLinkPublicIpInput` via: -// -// VmPrimaryNicPrivateIpLinkPublicIpArgs{...} -type VmPrimaryNicPrivateIpLinkPublicIpInput interface { - pulumi.Input - - ToVmPrimaryNicPrivateIpLinkPublicIpOutput() VmPrimaryNicPrivateIpLinkPublicIpOutput - ToVmPrimaryNicPrivateIpLinkPublicIpOutputWithContext(context.Context) VmPrimaryNicPrivateIpLinkPublicIpOutput -} - -type VmPrimaryNicPrivateIpLinkPublicIpArgs struct { - // The name of the public DNS. - PublicDnsName pulumi.StringPtrInput `pulumi:"publicDnsName"` - // The public IP of the VM. - PublicIp pulumi.StringPtrInput `pulumi:"publicIp"` - // The account ID of the owner of the public IP. - PublicIpAccountId pulumi.StringPtrInput `pulumi:"publicIpAccountId"` -} - -func (VmPrimaryNicPrivateIpLinkPublicIpArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VmPrimaryNicPrivateIpLinkPublicIp)(nil)).Elem() -} - -func (i VmPrimaryNicPrivateIpLinkPublicIpArgs) ToVmPrimaryNicPrivateIpLinkPublicIpOutput() VmPrimaryNicPrivateIpLinkPublicIpOutput { - return i.ToVmPrimaryNicPrivateIpLinkPublicIpOutputWithContext(context.Background()) -} - -func (i VmPrimaryNicPrivateIpLinkPublicIpArgs) ToVmPrimaryNicPrivateIpLinkPublicIpOutputWithContext(ctx context.Context) VmPrimaryNicPrivateIpLinkPublicIpOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmPrimaryNicPrivateIpLinkPublicIpOutput) -} - -// VmPrimaryNicPrivateIpLinkPublicIpArrayInput is an input type that accepts VmPrimaryNicPrivateIpLinkPublicIpArray and VmPrimaryNicPrivateIpLinkPublicIpArrayOutput values. -// You can construct a concrete instance of `VmPrimaryNicPrivateIpLinkPublicIpArrayInput` via: -// -// VmPrimaryNicPrivateIpLinkPublicIpArray{ VmPrimaryNicPrivateIpLinkPublicIpArgs{...} } -type VmPrimaryNicPrivateIpLinkPublicIpArrayInput interface { - pulumi.Input - - ToVmPrimaryNicPrivateIpLinkPublicIpArrayOutput() VmPrimaryNicPrivateIpLinkPublicIpArrayOutput - ToVmPrimaryNicPrivateIpLinkPublicIpArrayOutputWithContext(context.Context) VmPrimaryNicPrivateIpLinkPublicIpArrayOutput -} - -type VmPrimaryNicPrivateIpLinkPublicIpArray []VmPrimaryNicPrivateIpLinkPublicIpInput - -func (VmPrimaryNicPrivateIpLinkPublicIpArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmPrimaryNicPrivateIpLinkPublicIp)(nil)).Elem() -} - -func (i VmPrimaryNicPrivateIpLinkPublicIpArray) ToVmPrimaryNicPrivateIpLinkPublicIpArrayOutput() VmPrimaryNicPrivateIpLinkPublicIpArrayOutput { - return i.ToVmPrimaryNicPrivateIpLinkPublicIpArrayOutputWithContext(context.Background()) -} - -func (i VmPrimaryNicPrivateIpLinkPublicIpArray) ToVmPrimaryNicPrivateIpLinkPublicIpArrayOutputWithContext(ctx context.Context) VmPrimaryNicPrivateIpLinkPublicIpArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmPrimaryNicPrivateIpLinkPublicIpArrayOutput) -} - -type VmPrimaryNicPrivateIpLinkPublicIpOutput struct{ *pulumi.OutputState } - -func (VmPrimaryNicPrivateIpLinkPublicIpOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VmPrimaryNicPrivateIpLinkPublicIp)(nil)).Elem() -} - -func (o VmPrimaryNicPrivateIpLinkPublicIpOutput) ToVmPrimaryNicPrivateIpLinkPublicIpOutput() VmPrimaryNicPrivateIpLinkPublicIpOutput { - return o -} - -func (o VmPrimaryNicPrivateIpLinkPublicIpOutput) ToVmPrimaryNicPrivateIpLinkPublicIpOutputWithContext(ctx context.Context) VmPrimaryNicPrivateIpLinkPublicIpOutput { - return o -} - -// The name of the public DNS. -func (o VmPrimaryNicPrivateIpLinkPublicIpOutput) PublicDnsName() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmPrimaryNicPrivateIpLinkPublicIp) *string { return v.PublicDnsName }).(pulumi.StringPtrOutput) -} - -// The public IP of the VM. -func (o VmPrimaryNicPrivateIpLinkPublicIpOutput) PublicIp() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmPrimaryNicPrivateIpLinkPublicIp) *string { return v.PublicIp }).(pulumi.StringPtrOutput) -} - -// The account ID of the owner of the public IP. -func (o VmPrimaryNicPrivateIpLinkPublicIpOutput) PublicIpAccountId() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmPrimaryNicPrivateIpLinkPublicIp) *string { return v.PublicIpAccountId }).(pulumi.StringPtrOutput) -} - -type VmPrimaryNicPrivateIpLinkPublicIpArrayOutput struct{ *pulumi.OutputState } - -func (VmPrimaryNicPrivateIpLinkPublicIpArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmPrimaryNicPrivateIpLinkPublicIp)(nil)).Elem() -} - -func (o VmPrimaryNicPrivateIpLinkPublicIpArrayOutput) ToVmPrimaryNicPrivateIpLinkPublicIpArrayOutput() VmPrimaryNicPrivateIpLinkPublicIpArrayOutput { - return o -} - -func (o VmPrimaryNicPrivateIpLinkPublicIpArrayOutput) ToVmPrimaryNicPrivateIpLinkPublicIpArrayOutputWithContext(ctx context.Context) VmPrimaryNicPrivateIpLinkPublicIpArrayOutput { - return o -} - -func (o VmPrimaryNicPrivateIpLinkPublicIpArrayOutput) Index(i pulumi.IntInput) VmPrimaryNicPrivateIpLinkPublicIpOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) VmPrimaryNicPrivateIpLinkPublicIp { - return vs[0].([]VmPrimaryNicPrivateIpLinkPublicIp)[vs[1].(int)] - }).(VmPrimaryNicPrivateIpLinkPublicIpOutput) -} - -type VmPrimaryNicSecurityGroup struct { - // The ID of the security group. - SecurityGroupId *string `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName *string `pulumi:"securityGroupName"` -} - -// VmPrimaryNicSecurityGroupInput is an input type that accepts VmPrimaryNicSecurityGroupArgs and VmPrimaryNicSecurityGroupOutput values. -// You can construct a concrete instance of `VmPrimaryNicSecurityGroupInput` via: -// -// VmPrimaryNicSecurityGroupArgs{...} -type VmPrimaryNicSecurityGroupInput interface { - pulumi.Input - - ToVmPrimaryNicSecurityGroupOutput() VmPrimaryNicSecurityGroupOutput - ToVmPrimaryNicSecurityGroupOutputWithContext(context.Context) VmPrimaryNicSecurityGroupOutput -} - -type VmPrimaryNicSecurityGroupArgs struct { - // The ID of the security group. - SecurityGroupId pulumi.StringPtrInput `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName pulumi.StringPtrInput `pulumi:"securityGroupName"` -} - -func (VmPrimaryNicSecurityGroupArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VmPrimaryNicSecurityGroup)(nil)).Elem() -} - -func (i VmPrimaryNicSecurityGroupArgs) ToVmPrimaryNicSecurityGroupOutput() VmPrimaryNicSecurityGroupOutput { - return i.ToVmPrimaryNicSecurityGroupOutputWithContext(context.Background()) -} - -func (i VmPrimaryNicSecurityGroupArgs) ToVmPrimaryNicSecurityGroupOutputWithContext(ctx context.Context) VmPrimaryNicSecurityGroupOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmPrimaryNicSecurityGroupOutput) -} - -// VmPrimaryNicSecurityGroupArrayInput is an input type that accepts VmPrimaryNicSecurityGroupArray and VmPrimaryNicSecurityGroupArrayOutput values. -// You can construct a concrete instance of `VmPrimaryNicSecurityGroupArrayInput` via: -// -// VmPrimaryNicSecurityGroupArray{ VmPrimaryNicSecurityGroupArgs{...} } -type VmPrimaryNicSecurityGroupArrayInput interface { - pulumi.Input - - ToVmPrimaryNicSecurityGroupArrayOutput() VmPrimaryNicSecurityGroupArrayOutput - ToVmPrimaryNicSecurityGroupArrayOutputWithContext(context.Context) VmPrimaryNicSecurityGroupArrayOutput -} - -type VmPrimaryNicSecurityGroupArray []VmPrimaryNicSecurityGroupInput - -func (VmPrimaryNicSecurityGroupArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmPrimaryNicSecurityGroup)(nil)).Elem() -} - -func (i VmPrimaryNicSecurityGroupArray) ToVmPrimaryNicSecurityGroupArrayOutput() VmPrimaryNicSecurityGroupArrayOutput { - return i.ToVmPrimaryNicSecurityGroupArrayOutputWithContext(context.Background()) -} - -func (i VmPrimaryNicSecurityGroupArray) ToVmPrimaryNicSecurityGroupArrayOutputWithContext(ctx context.Context) VmPrimaryNicSecurityGroupArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmPrimaryNicSecurityGroupArrayOutput) -} - -type VmPrimaryNicSecurityGroupOutput struct{ *pulumi.OutputState } - -func (VmPrimaryNicSecurityGroupOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VmPrimaryNicSecurityGroup)(nil)).Elem() -} - -func (o VmPrimaryNicSecurityGroupOutput) ToVmPrimaryNicSecurityGroupOutput() VmPrimaryNicSecurityGroupOutput { - return o -} - -func (o VmPrimaryNicSecurityGroupOutput) ToVmPrimaryNicSecurityGroupOutputWithContext(ctx context.Context) VmPrimaryNicSecurityGroupOutput { - return o -} - -// The ID of the security group. -func (o VmPrimaryNicSecurityGroupOutput) SecurityGroupId() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmPrimaryNicSecurityGroup) *string { return v.SecurityGroupId }).(pulumi.StringPtrOutput) -} - -// The name of the security group. -func (o VmPrimaryNicSecurityGroupOutput) SecurityGroupName() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmPrimaryNicSecurityGroup) *string { return v.SecurityGroupName }).(pulumi.StringPtrOutput) -} - -type VmPrimaryNicSecurityGroupArrayOutput struct{ *pulumi.OutputState } - -func (VmPrimaryNicSecurityGroupArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmPrimaryNicSecurityGroup)(nil)).Elem() -} - -func (o VmPrimaryNicSecurityGroupArrayOutput) ToVmPrimaryNicSecurityGroupArrayOutput() VmPrimaryNicSecurityGroupArrayOutput { - return o -} - -func (o VmPrimaryNicSecurityGroupArrayOutput) ToVmPrimaryNicSecurityGroupArrayOutputWithContext(ctx context.Context) VmPrimaryNicSecurityGroupArrayOutput { - return o -} - -func (o VmPrimaryNicSecurityGroupArrayOutput) Index(i pulumi.IntInput) VmPrimaryNicSecurityGroupOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) VmPrimaryNicSecurityGroup { - return vs[0].([]VmPrimaryNicSecurityGroup)[vs[1].(int)] - }).(VmPrimaryNicSecurityGroupOutput) -} - -type VmSecurityGroup struct { - // The ID of the security group. - SecurityGroupId *string `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName *string `pulumi:"securityGroupName"` -} - -// VmSecurityGroupInput is an input type that accepts VmSecurityGroupArgs and VmSecurityGroupOutput values. -// You can construct a concrete instance of `VmSecurityGroupInput` via: -// -// VmSecurityGroupArgs{...} -type VmSecurityGroupInput interface { - pulumi.Input - - ToVmSecurityGroupOutput() VmSecurityGroupOutput - ToVmSecurityGroupOutputWithContext(context.Context) VmSecurityGroupOutput -} - -type VmSecurityGroupArgs struct { - // The ID of the security group. - SecurityGroupId pulumi.StringPtrInput `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName pulumi.StringPtrInput `pulumi:"securityGroupName"` -} - -func (VmSecurityGroupArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VmSecurityGroup)(nil)).Elem() -} - -func (i VmSecurityGroupArgs) ToVmSecurityGroupOutput() VmSecurityGroupOutput { - return i.ToVmSecurityGroupOutputWithContext(context.Background()) -} - -func (i VmSecurityGroupArgs) ToVmSecurityGroupOutputWithContext(ctx context.Context) VmSecurityGroupOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmSecurityGroupOutput) -} - -// VmSecurityGroupArrayInput is an input type that accepts VmSecurityGroupArray and VmSecurityGroupArrayOutput values. -// You can construct a concrete instance of `VmSecurityGroupArrayInput` via: -// -// VmSecurityGroupArray{ VmSecurityGroupArgs{...} } -type VmSecurityGroupArrayInput interface { - pulumi.Input - - ToVmSecurityGroupArrayOutput() VmSecurityGroupArrayOutput - ToVmSecurityGroupArrayOutputWithContext(context.Context) VmSecurityGroupArrayOutput -} - -type VmSecurityGroupArray []VmSecurityGroupInput - -func (VmSecurityGroupArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmSecurityGroup)(nil)).Elem() -} - -func (i VmSecurityGroupArray) ToVmSecurityGroupArrayOutput() VmSecurityGroupArrayOutput { - return i.ToVmSecurityGroupArrayOutputWithContext(context.Background()) -} - -func (i VmSecurityGroupArray) ToVmSecurityGroupArrayOutputWithContext(ctx context.Context) VmSecurityGroupArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmSecurityGroupArrayOutput) -} - -type VmSecurityGroupOutput struct{ *pulumi.OutputState } - -func (VmSecurityGroupOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VmSecurityGroup)(nil)).Elem() -} - -func (o VmSecurityGroupOutput) ToVmSecurityGroupOutput() VmSecurityGroupOutput { - return o -} - -func (o VmSecurityGroupOutput) ToVmSecurityGroupOutputWithContext(ctx context.Context) VmSecurityGroupOutput { - return o -} - -// The ID of the security group. -func (o VmSecurityGroupOutput) SecurityGroupId() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmSecurityGroup) *string { return v.SecurityGroupId }).(pulumi.StringPtrOutput) -} - -// The name of the security group. -func (o VmSecurityGroupOutput) SecurityGroupName() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmSecurityGroup) *string { return v.SecurityGroupName }).(pulumi.StringPtrOutput) -} - -type VmSecurityGroupArrayOutput struct{ *pulumi.OutputState } - -func (VmSecurityGroupArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmSecurityGroup)(nil)).Elem() -} - -func (o VmSecurityGroupArrayOutput) ToVmSecurityGroupArrayOutput() VmSecurityGroupArrayOutput { - return o -} - -func (o VmSecurityGroupArrayOutput) ToVmSecurityGroupArrayOutputWithContext(ctx context.Context) VmSecurityGroupArrayOutput { - return o -} - -func (o VmSecurityGroupArrayOutput) Index(i pulumi.IntInput) VmSecurityGroupOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) VmSecurityGroup { - return vs[0].([]VmSecurityGroup)[vs[1].(int)] - }).(VmSecurityGroupOutput) -} - -type VmTag struct { - // The key of the tag, with a minimum of 1 character. - Key *string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value *string `pulumi:"value"` -} - -// VmTagInput is an input type that accepts VmTagArgs and VmTagOutput values. -// You can construct a concrete instance of `VmTagInput` via: -// -// VmTagArgs{...} -type VmTagInput interface { - pulumi.Input - - ToVmTagOutput() VmTagOutput - ToVmTagOutputWithContext(context.Context) VmTagOutput -} - -type VmTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringPtrInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringPtrInput `pulumi:"value"` -} - -func (VmTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VmTag)(nil)).Elem() -} - -func (i VmTagArgs) ToVmTagOutput() VmTagOutput { - return i.ToVmTagOutputWithContext(context.Background()) -} - -func (i VmTagArgs) ToVmTagOutputWithContext(ctx context.Context) VmTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmTagOutput) -} - -// VmTagArrayInput is an input type that accepts VmTagArray and VmTagArrayOutput values. -// You can construct a concrete instance of `VmTagArrayInput` via: -// -// VmTagArray{ VmTagArgs{...} } -type VmTagArrayInput interface { - pulumi.Input - - ToVmTagArrayOutput() VmTagArrayOutput - ToVmTagArrayOutputWithContext(context.Context) VmTagArrayOutput -} - -type VmTagArray []VmTagInput - -func (VmTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmTag)(nil)).Elem() -} - -func (i VmTagArray) ToVmTagArrayOutput() VmTagArrayOutput { - return i.ToVmTagArrayOutputWithContext(context.Background()) -} - -func (i VmTagArray) ToVmTagArrayOutputWithContext(ctx context.Context) VmTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmTagArrayOutput) -} - -type VmTagOutput struct{ *pulumi.OutputState } - -func (VmTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VmTag)(nil)).Elem() -} - -func (o VmTagOutput) ToVmTagOutput() VmTagOutput { - return o -} - -func (o VmTagOutput) ToVmTagOutputWithContext(ctx context.Context) VmTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o VmTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmTag) *string { return v.Key }).(pulumi.StringPtrOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o VmTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v VmTag) *string { return v.Value }).(pulumi.StringPtrOutput) -} - -type VmTagArrayOutput struct{ *pulumi.OutputState } - -func (VmTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VmTag)(nil)).Elem() -} - -func (o VmTagArrayOutput) ToVmTagArrayOutput() VmTagArrayOutput { - return o -} - -func (o VmTagArrayOutput) ToVmTagArrayOutputWithContext(ctx context.Context) VmTagArrayOutput { - return o -} - -func (o VmTagArrayOutput) Index(i pulumi.IntInput) VmTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) VmTag { - return vs[0].([]VmTag)[vs[1].(int)] - }).(VmTagOutput) -} - -type VolumeLinkedVolume struct { - // If true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - DeleteOnVmDeletion *bool `pulumi:"deleteOnVmDeletion"` - // The name of the device. - DeviceName *string `pulumi:"deviceName"` - // The state of the volume (`creating` \| `available` \| `in-use` \| `updating` \| `deleting` \| `error`). - State *string `pulumi:"state"` - // The ID of the VM. - VmId *string `pulumi:"vmId"` - // The ID of the volume. - VolumeId *string `pulumi:"volumeId"` -} - -// VolumeLinkedVolumeInput is an input type that accepts VolumeLinkedVolumeArgs and VolumeLinkedVolumeOutput values. -// You can construct a concrete instance of `VolumeLinkedVolumeInput` via: -// -// VolumeLinkedVolumeArgs{...} -type VolumeLinkedVolumeInput interface { - pulumi.Input - - ToVolumeLinkedVolumeOutput() VolumeLinkedVolumeOutput - ToVolumeLinkedVolumeOutputWithContext(context.Context) VolumeLinkedVolumeOutput -} - -type VolumeLinkedVolumeArgs struct { - // If true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - DeleteOnVmDeletion pulumi.BoolPtrInput `pulumi:"deleteOnVmDeletion"` - // The name of the device. - DeviceName pulumi.StringPtrInput `pulumi:"deviceName"` - // The state of the volume (`creating` \| `available` \| `in-use` \| `updating` \| `deleting` \| `error`). - State pulumi.StringPtrInput `pulumi:"state"` - // The ID of the VM. - VmId pulumi.StringPtrInput `pulumi:"vmId"` - // The ID of the volume. - VolumeId pulumi.StringPtrInput `pulumi:"volumeId"` -} - -func (VolumeLinkedVolumeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VolumeLinkedVolume)(nil)).Elem() -} - -func (i VolumeLinkedVolumeArgs) ToVolumeLinkedVolumeOutput() VolumeLinkedVolumeOutput { - return i.ToVolumeLinkedVolumeOutputWithContext(context.Background()) -} - -func (i VolumeLinkedVolumeArgs) ToVolumeLinkedVolumeOutputWithContext(ctx context.Context) VolumeLinkedVolumeOutput { - return pulumi.ToOutputWithContext(ctx, i).(VolumeLinkedVolumeOutput) -} - -// VolumeLinkedVolumeArrayInput is an input type that accepts VolumeLinkedVolumeArray and VolumeLinkedVolumeArrayOutput values. -// You can construct a concrete instance of `VolumeLinkedVolumeArrayInput` via: -// -// VolumeLinkedVolumeArray{ VolumeLinkedVolumeArgs{...} } -type VolumeLinkedVolumeArrayInput interface { - pulumi.Input - - ToVolumeLinkedVolumeArrayOutput() VolumeLinkedVolumeArrayOutput - ToVolumeLinkedVolumeArrayOutputWithContext(context.Context) VolumeLinkedVolumeArrayOutput -} - -type VolumeLinkedVolumeArray []VolumeLinkedVolumeInput - -func (VolumeLinkedVolumeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VolumeLinkedVolume)(nil)).Elem() -} - -func (i VolumeLinkedVolumeArray) ToVolumeLinkedVolumeArrayOutput() VolumeLinkedVolumeArrayOutput { - return i.ToVolumeLinkedVolumeArrayOutputWithContext(context.Background()) -} - -func (i VolumeLinkedVolumeArray) ToVolumeLinkedVolumeArrayOutputWithContext(ctx context.Context) VolumeLinkedVolumeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VolumeLinkedVolumeArrayOutput) -} - -type VolumeLinkedVolumeOutput struct{ *pulumi.OutputState } - -func (VolumeLinkedVolumeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VolumeLinkedVolume)(nil)).Elem() -} - -func (o VolumeLinkedVolumeOutput) ToVolumeLinkedVolumeOutput() VolumeLinkedVolumeOutput { - return o -} - -func (o VolumeLinkedVolumeOutput) ToVolumeLinkedVolumeOutputWithContext(ctx context.Context) VolumeLinkedVolumeOutput { - return o -} - -// If true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. -func (o VolumeLinkedVolumeOutput) DeleteOnVmDeletion() pulumi.BoolPtrOutput { - return o.ApplyT(func(v VolumeLinkedVolume) *bool { return v.DeleteOnVmDeletion }).(pulumi.BoolPtrOutput) -} - -// The name of the device. -func (o VolumeLinkedVolumeOutput) DeviceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v VolumeLinkedVolume) *string { return v.DeviceName }).(pulumi.StringPtrOutput) -} - -// The state of the volume (`creating` \| `available` \| `in-use` \| `updating` \| `deleting` \| `error`). -func (o VolumeLinkedVolumeOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v VolumeLinkedVolume) *string { return v.State }).(pulumi.StringPtrOutput) -} - -// The ID of the VM. -func (o VolumeLinkedVolumeOutput) VmId() pulumi.StringPtrOutput { - return o.ApplyT(func(v VolumeLinkedVolume) *string { return v.VmId }).(pulumi.StringPtrOutput) -} - -// The ID of the volume. -func (o VolumeLinkedVolumeOutput) VolumeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v VolumeLinkedVolume) *string { return v.VolumeId }).(pulumi.StringPtrOutput) -} - -type VolumeLinkedVolumeArrayOutput struct{ *pulumi.OutputState } - -func (VolumeLinkedVolumeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VolumeLinkedVolume)(nil)).Elem() -} - -func (o VolumeLinkedVolumeArrayOutput) ToVolumeLinkedVolumeArrayOutput() VolumeLinkedVolumeArrayOutput { - return o -} - -func (o VolumeLinkedVolumeArrayOutput) ToVolumeLinkedVolumeArrayOutputWithContext(ctx context.Context) VolumeLinkedVolumeArrayOutput { - return o -} - -func (o VolumeLinkedVolumeArrayOutput) Index(i pulumi.IntInput) VolumeLinkedVolumeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) VolumeLinkedVolume { - return vs[0].([]VolumeLinkedVolume)[vs[1].(int)] - }).(VolumeLinkedVolumeOutput) -} - -type VolumeTag struct { - // The key of the tag, with a minimum of 1 character. - Key *string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value *string `pulumi:"value"` -} - -// VolumeTagInput is an input type that accepts VolumeTagArgs and VolumeTagOutput values. -// You can construct a concrete instance of `VolumeTagInput` via: -// -// VolumeTagArgs{...} -type VolumeTagInput interface { - pulumi.Input - - ToVolumeTagOutput() VolumeTagOutput - ToVolumeTagOutputWithContext(context.Context) VolumeTagOutput -} - -type VolumeTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringPtrInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringPtrInput `pulumi:"value"` -} - -func (VolumeTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VolumeTag)(nil)).Elem() -} - -func (i VolumeTagArgs) ToVolumeTagOutput() VolumeTagOutput { - return i.ToVolumeTagOutputWithContext(context.Background()) -} - -func (i VolumeTagArgs) ToVolumeTagOutputWithContext(ctx context.Context) VolumeTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(VolumeTagOutput) -} - -// VolumeTagArrayInput is an input type that accepts VolumeTagArray and VolumeTagArrayOutput values. -// You can construct a concrete instance of `VolumeTagArrayInput` via: -// -// VolumeTagArray{ VolumeTagArgs{...} } -type VolumeTagArrayInput interface { - pulumi.Input - - ToVolumeTagArrayOutput() VolumeTagArrayOutput - ToVolumeTagArrayOutputWithContext(context.Context) VolumeTagArrayOutput -} - -type VolumeTagArray []VolumeTagInput - -func (VolumeTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VolumeTag)(nil)).Elem() -} - -func (i VolumeTagArray) ToVolumeTagArrayOutput() VolumeTagArrayOutput { - return i.ToVolumeTagArrayOutputWithContext(context.Background()) -} - -func (i VolumeTagArray) ToVolumeTagArrayOutputWithContext(ctx context.Context) VolumeTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VolumeTagArrayOutput) -} - -type VolumeTagOutput struct{ *pulumi.OutputState } - -func (VolumeTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VolumeTag)(nil)).Elem() -} - -func (o VolumeTagOutput) ToVolumeTagOutput() VolumeTagOutput { - return o -} - -func (o VolumeTagOutput) ToVolumeTagOutputWithContext(ctx context.Context) VolumeTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o VolumeTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v VolumeTag) *string { return v.Key }).(pulumi.StringPtrOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o VolumeTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v VolumeTag) *string { return v.Value }).(pulumi.StringPtrOutput) -} - -type VolumeTagArrayOutput struct{ *pulumi.OutputState } - -func (VolumeTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VolumeTag)(nil)).Elem() -} - -func (o VolumeTagArrayOutput) ToVolumeTagArrayOutput() VolumeTagArrayOutput { - return o -} - -func (o VolumeTagArrayOutput) ToVolumeTagArrayOutputWithContext(ctx context.Context) VolumeTagArrayOutput { - return o -} - -func (o VolumeTagArrayOutput) Index(i pulumi.IntInput) VolumeTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) VolumeTag { - return vs[0].([]VolumeTag)[vs[1].(int)] - }).(VolumeTagOutput) -} - -type VpnConnectionRouteType struct { - // The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - DestinationIpRange *string `pulumi:"destinationIpRange"` - // The type of route (always `static`). - RouteType *string `pulumi:"routeType"` - // The state of the IPSEC tunnel (`UP` \| `DOWN`). - State *string `pulumi:"state"` -} - -// VpnConnectionRouteTypeInput is an input type that accepts VpnConnectionRouteTypeArgs and VpnConnectionRouteTypeOutput values. -// You can construct a concrete instance of `VpnConnectionRouteTypeInput` via: -// -// VpnConnectionRouteTypeArgs{...} -type VpnConnectionRouteTypeInput interface { - pulumi.Input - - ToVpnConnectionRouteTypeOutput() VpnConnectionRouteTypeOutput - ToVpnConnectionRouteTypeOutputWithContext(context.Context) VpnConnectionRouteTypeOutput -} - -type VpnConnectionRouteTypeArgs struct { - // The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - DestinationIpRange pulumi.StringPtrInput `pulumi:"destinationIpRange"` - // The type of route (always `static`). - RouteType pulumi.StringPtrInput `pulumi:"routeType"` - // The state of the IPSEC tunnel (`UP` \| `DOWN`). - State pulumi.StringPtrInput `pulumi:"state"` -} - -func (VpnConnectionRouteTypeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VpnConnectionRouteType)(nil)).Elem() -} - -func (i VpnConnectionRouteTypeArgs) ToVpnConnectionRouteTypeOutput() VpnConnectionRouteTypeOutput { - return i.ToVpnConnectionRouteTypeOutputWithContext(context.Background()) -} - -func (i VpnConnectionRouteTypeArgs) ToVpnConnectionRouteTypeOutputWithContext(ctx context.Context) VpnConnectionRouteTypeOutput { - return pulumi.ToOutputWithContext(ctx, i).(VpnConnectionRouteTypeOutput) -} - -// VpnConnectionRouteTypeArrayInput is an input type that accepts VpnConnectionRouteTypeArray and VpnConnectionRouteTypeArrayOutput values. -// You can construct a concrete instance of `VpnConnectionRouteTypeArrayInput` via: -// -// VpnConnectionRouteTypeArray{ VpnConnectionRouteTypeArgs{...} } -type VpnConnectionRouteTypeArrayInput interface { - pulumi.Input - - ToVpnConnectionRouteTypeArrayOutput() VpnConnectionRouteTypeArrayOutput - ToVpnConnectionRouteTypeArrayOutputWithContext(context.Context) VpnConnectionRouteTypeArrayOutput -} - -type VpnConnectionRouteTypeArray []VpnConnectionRouteTypeInput - -func (VpnConnectionRouteTypeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VpnConnectionRouteType)(nil)).Elem() -} - -func (i VpnConnectionRouteTypeArray) ToVpnConnectionRouteTypeArrayOutput() VpnConnectionRouteTypeArrayOutput { - return i.ToVpnConnectionRouteTypeArrayOutputWithContext(context.Background()) -} - -func (i VpnConnectionRouteTypeArray) ToVpnConnectionRouteTypeArrayOutputWithContext(ctx context.Context) VpnConnectionRouteTypeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VpnConnectionRouteTypeArrayOutput) -} - -type VpnConnectionRouteTypeOutput struct{ *pulumi.OutputState } - -func (VpnConnectionRouteTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VpnConnectionRouteType)(nil)).Elem() -} - -func (o VpnConnectionRouteTypeOutput) ToVpnConnectionRouteTypeOutput() VpnConnectionRouteTypeOutput { - return o -} - -func (o VpnConnectionRouteTypeOutput) ToVpnConnectionRouteTypeOutputWithContext(ctx context.Context) VpnConnectionRouteTypeOutput { - return o -} - -// The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). -func (o VpnConnectionRouteTypeOutput) DestinationIpRange() pulumi.StringPtrOutput { - return o.ApplyT(func(v VpnConnectionRouteType) *string { return v.DestinationIpRange }).(pulumi.StringPtrOutput) -} - -// The type of route (always `static`). -func (o VpnConnectionRouteTypeOutput) RouteType() pulumi.StringPtrOutput { - return o.ApplyT(func(v VpnConnectionRouteType) *string { return v.RouteType }).(pulumi.StringPtrOutput) -} - -// The state of the IPSEC tunnel (`UP` \| `DOWN`). -func (o VpnConnectionRouteTypeOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v VpnConnectionRouteType) *string { return v.State }).(pulumi.StringPtrOutput) -} - -type VpnConnectionRouteTypeArrayOutput struct{ *pulumi.OutputState } - -func (VpnConnectionRouteTypeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VpnConnectionRouteType)(nil)).Elem() -} - -func (o VpnConnectionRouteTypeArrayOutput) ToVpnConnectionRouteTypeArrayOutput() VpnConnectionRouteTypeArrayOutput { - return o -} - -func (o VpnConnectionRouteTypeArrayOutput) ToVpnConnectionRouteTypeArrayOutputWithContext(ctx context.Context) VpnConnectionRouteTypeArrayOutput { - return o -} - -func (o VpnConnectionRouteTypeArrayOutput) Index(i pulumi.IntInput) VpnConnectionRouteTypeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) VpnConnectionRouteType { - return vs[0].([]VpnConnectionRouteType)[vs[1].(int)] - }).(VpnConnectionRouteTypeOutput) -} - -type VpnConnectionTag struct { - // The key of the tag, with a minimum of 1 character. - Key *string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value *string `pulumi:"value"` -} - -// VpnConnectionTagInput is an input type that accepts VpnConnectionTagArgs and VpnConnectionTagOutput values. -// You can construct a concrete instance of `VpnConnectionTagInput` via: -// -// VpnConnectionTagArgs{...} -type VpnConnectionTagInput interface { - pulumi.Input - - ToVpnConnectionTagOutput() VpnConnectionTagOutput - ToVpnConnectionTagOutputWithContext(context.Context) VpnConnectionTagOutput -} - -type VpnConnectionTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringPtrInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringPtrInput `pulumi:"value"` -} - -func (VpnConnectionTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VpnConnectionTag)(nil)).Elem() -} - -func (i VpnConnectionTagArgs) ToVpnConnectionTagOutput() VpnConnectionTagOutput { - return i.ToVpnConnectionTagOutputWithContext(context.Background()) -} - -func (i VpnConnectionTagArgs) ToVpnConnectionTagOutputWithContext(ctx context.Context) VpnConnectionTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(VpnConnectionTagOutput) -} - -// VpnConnectionTagArrayInput is an input type that accepts VpnConnectionTagArray and VpnConnectionTagArrayOutput values. -// You can construct a concrete instance of `VpnConnectionTagArrayInput` via: -// -// VpnConnectionTagArray{ VpnConnectionTagArgs{...} } -type VpnConnectionTagArrayInput interface { - pulumi.Input - - ToVpnConnectionTagArrayOutput() VpnConnectionTagArrayOutput - ToVpnConnectionTagArrayOutputWithContext(context.Context) VpnConnectionTagArrayOutput -} - -type VpnConnectionTagArray []VpnConnectionTagInput - -func (VpnConnectionTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VpnConnectionTag)(nil)).Elem() -} - -func (i VpnConnectionTagArray) ToVpnConnectionTagArrayOutput() VpnConnectionTagArrayOutput { - return i.ToVpnConnectionTagArrayOutputWithContext(context.Background()) -} - -func (i VpnConnectionTagArray) ToVpnConnectionTagArrayOutputWithContext(ctx context.Context) VpnConnectionTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VpnConnectionTagArrayOutput) -} - -type VpnConnectionTagOutput struct{ *pulumi.OutputState } - -func (VpnConnectionTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VpnConnectionTag)(nil)).Elem() -} - -func (o VpnConnectionTagOutput) ToVpnConnectionTagOutput() VpnConnectionTagOutput { - return o -} - -func (o VpnConnectionTagOutput) ToVpnConnectionTagOutputWithContext(ctx context.Context) VpnConnectionTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o VpnConnectionTagOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v VpnConnectionTag) *string { return v.Key }).(pulumi.StringPtrOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o VpnConnectionTagOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v VpnConnectionTag) *string { return v.Value }).(pulumi.StringPtrOutput) -} - -type VpnConnectionTagArrayOutput struct{ *pulumi.OutputState } - -func (VpnConnectionTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VpnConnectionTag)(nil)).Elem() -} - -func (o VpnConnectionTagArrayOutput) ToVpnConnectionTagArrayOutput() VpnConnectionTagArrayOutput { - return o -} - -func (o VpnConnectionTagArrayOutput) ToVpnConnectionTagArrayOutputWithContext(ctx context.Context) VpnConnectionTagArrayOutput { - return o -} - -func (o VpnConnectionTagArrayOutput) Index(i pulumi.IntInput) VpnConnectionTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) VpnConnectionTag { - return vs[0].([]VpnConnectionTag)[vs[1].(int)] - }).(VpnConnectionTagOutput) -} - -type VpnConnectionVgwTelemetry struct { - // The number of routes accepted through BGP (Border Gateway Protocol) route exchanges. - AcceptedRouteCount *int `pulumi:"acceptedRouteCount"` - // The date and time (UTC) of the latest state update. - LastStateChangeDate *string `pulumi:"lastStateChangeDate"` - // The IP on the OUTSCALE side of the tunnel. - OutsideIpAddress *string `pulumi:"outsideIpAddress"` - // The state of the IPSEC tunnel (`UP` \| `DOWN`). - State *string `pulumi:"state"` - // A description of the current state of the tunnel. - StateDescription *string `pulumi:"stateDescription"` -} - -// VpnConnectionVgwTelemetryInput is an input type that accepts VpnConnectionVgwTelemetryArgs and VpnConnectionVgwTelemetryOutput values. -// You can construct a concrete instance of `VpnConnectionVgwTelemetryInput` via: -// -// VpnConnectionVgwTelemetryArgs{...} -type VpnConnectionVgwTelemetryInput interface { - pulumi.Input - - ToVpnConnectionVgwTelemetryOutput() VpnConnectionVgwTelemetryOutput - ToVpnConnectionVgwTelemetryOutputWithContext(context.Context) VpnConnectionVgwTelemetryOutput -} - -type VpnConnectionVgwTelemetryArgs struct { - // The number of routes accepted through BGP (Border Gateway Protocol) route exchanges. - AcceptedRouteCount pulumi.IntPtrInput `pulumi:"acceptedRouteCount"` - // The date and time (UTC) of the latest state update. - LastStateChangeDate pulumi.StringPtrInput `pulumi:"lastStateChangeDate"` - // The IP on the OUTSCALE side of the tunnel. - OutsideIpAddress pulumi.StringPtrInput `pulumi:"outsideIpAddress"` - // The state of the IPSEC tunnel (`UP` \| `DOWN`). - State pulumi.StringPtrInput `pulumi:"state"` - // A description of the current state of the tunnel. - StateDescription pulumi.StringPtrInput `pulumi:"stateDescription"` -} - -func (VpnConnectionVgwTelemetryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VpnConnectionVgwTelemetry)(nil)).Elem() -} - -func (i VpnConnectionVgwTelemetryArgs) ToVpnConnectionVgwTelemetryOutput() VpnConnectionVgwTelemetryOutput { - return i.ToVpnConnectionVgwTelemetryOutputWithContext(context.Background()) -} - -func (i VpnConnectionVgwTelemetryArgs) ToVpnConnectionVgwTelemetryOutputWithContext(ctx context.Context) VpnConnectionVgwTelemetryOutput { - return pulumi.ToOutputWithContext(ctx, i).(VpnConnectionVgwTelemetryOutput) -} - -// VpnConnectionVgwTelemetryArrayInput is an input type that accepts VpnConnectionVgwTelemetryArray and VpnConnectionVgwTelemetryArrayOutput values. -// You can construct a concrete instance of `VpnConnectionVgwTelemetryArrayInput` via: -// -// VpnConnectionVgwTelemetryArray{ VpnConnectionVgwTelemetryArgs{...} } -type VpnConnectionVgwTelemetryArrayInput interface { - pulumi.Input - - ToVpnConnectionVgwTelemetryArrayOutput() VpnConnectionVgwTelemetryArrayOutput - ToVpnConnectionVgwTelemetryArrayOutputWithContext(context.Context) VpnConnectionVgwTelemetryArrayOutput -} - -type VpnConnectionVgwTelemetryArray []VpnConnectionVgwTelemetryInput - -func (VpnConnectionVgwTelemetryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VpnConnectionVgwTelemetry)(nil)).Elem() -} - -func (i VpnConnectionVgwTelemetryArray) ToVpnConnectionVgwTelemetryArrayOutput() VpnConnectionVgwTelemetryArrayOutput { - return i.ToVpnConnectionVgwTelemetryArrayOutputWithContext(context.Background()) -} - -func (i VpnConnectionVgwTelemetryArray) ToVpnConnectionVgwTelemetryArrayOutputWithContext(ctx context.Context) VpnConnectionVgwTelemetryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VpnConnectionVgwTelemetryArrayOutput) -} - -type VpnConnectionVgwTelemetryOutput struct{ *pulumi.OutputState } - -func (VpnConnectionVgwTelemetryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VpnConnectionVgwTelemetry)(nil)).Elem() -} - -func (o VpnConnectionVgwTelemetryOutput) ToVpnConnectionVgwTelemetryOutput() VpnConnectionVgwTelemetryOutput { - return o -} - -func (o VpnConnectionVgwTelemetryOutput) ToVpnConnectionVgwTelemetryOutputWithContext(ctx context.Context) VpnConnectionVgwTelemetryOutput { - return o -} - -// The number of routes accepted through BGP (Border Gateway Protocol) route exchanges. -func (o VpnConnectionVgwTelemetryOutput) AcceptedRouteCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v VpnConnectionVgwTelemetry) *int { return v.AcceptedRouteCount }).(pulumi.IntPtrOutput) -} - -// The date and time (UTC) of the latest state update. -func (o VpnConnectionVgwTelemetryOutput) LastStateChangeDate() pulumi.StringPtrOutput { - return o.ApplyT(func(v VpnConnectionVgwTelemetry) *string { return v.LastStateChangeDate }).(pulumi.StringPtrOutput) -} - -// The IP on the OUTSCALE side of the tunnel. -func (o VpnConnectionVgwTelemetryOutput) OutsideIpAddress() pulumi.StringPtrOutput { - return o.ApplyT(func(v VpnConnectionVgwTelemetry) *string { return v.OutsideIpAddress }).(pulumi.StringPtrOutput) -} - -// The state of the IPSEC tunnel (`UP` \| `DOWN`). -func (o VpnConnectionVgwTelemetryOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v VpnConnectionVgwTelemetry) *string { return v.State }).(pulumi.StringPtrOutput) -} - -// A description of the current state of the tunnel. -func (o VpnConnectionVgwTelemetryOutput) StateDescription() pulumi.StringPtrOutput { - return o.ApplyT(func(v VpnConnectionVgwTelemetry) *string { return v.StateDescription }).(pulumi.StringPtrOutput) -} - -type VpnConnectionVgwTelemetryArrayOutput struct{ *pulumi.OutputState } - -func (VpnConnectionVgwTelemetryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VpnConnectionVgwTelemetry)(nil)).Elem() -} - -func (o VpnConnectionVgwTelemetryArrayOutput) ToVpnConnectionVgwTelemetryArrayOutput() VpnConnectionVgwTelemetryArrayOutput { - return o -} - -func (o VpnConnectionVgwTelemetryArrayOutput) ToVpnConnectionVgwTelemetryArrayOutputWithContext(ctx context.Context) VpnConnectionVgwTelemetryArrayOutput { - return o -} - -func (o VpnConnectionVgwTelemetryArrayOutput) Index(i pulumi.IntInput) VpnConnectionVgwTelemetryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) VpnConnectionVgwTelemetry { - return vs[0].([]VpnConnectionVgwTelemetry)[vs[1].(int)] - }).(VpnConnectionVgwTelemetryOutput) -} - -type GetAccessKeyFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetAccessKeyFilterInput is an input type that accepts GetAccessKeyFilterArgs and GetAccessKeyFilterOutput values. -// You can construct a concrete instance of `GetAccessKeyFilterInput` via: -// -// GetAccessKeyFilterArgs{...} -type GetAccessKeyFilterInput interface { - pulumi.Input - - ToGetAccessKeyFilterOutput() GetAccessKeyFilterOutput - ToGetAccessKeyFilterOutputWithContext(context.Context) GetAccessKeyFilterOutput -} - -type GetAccessKeyFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetAccessKeyFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetAccessKeyFilter)(nil)).Elem() -} - -func (i GetAccessKeyFilterArgs) ToGetAccessKeyFilterOutput() GetAccessKeyFilterOutput { - return i.ToGetAccessKeyFilterOutputWithContext(context.Background()) -} - -func (i GetAccessKeyFilterArgs) ToGetAccessKeyFilterOutputWithContext(ctx context.Context) GetAccessKeyFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetAccessKeyFilterOutput) -} - -// GetAccessKeyFilterArrayInput is an input type that accepts GetAccessKeyFilterArray and GetAccessKeyFilterArrayOutput values. -// You can construct a concrete instance of `GetAccessKeyFilterArrayInput` via: -// -// GetAccessKeyFilterArray{ GetAccessKeyFilterArgs{...} } -type GetAccessKeyFilterArrayInput interface { - pulumi.Input - - ToGetAccessKeyFilterArrayOutput() GetAccessKeyFilterArrayOutput - ToGetAccessKeyFilterArrayOutputWithContext(context.Context) GetAccessKeyFilterArrayOutput -} - -type GetAccessKeyFilterArray []GetAccessKeyFilterInput - -func (GetAccessKeyFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetAccessKeyFilter)(nil)).Elem() -} - -func (i GetAccessKeyFilterArray) ToGetAccessKeyFilterArrayOutput() GetAccessKeyFilterArrayOutput { - return i.ToGetAccessKeyFilterArrayOutputWithContext(context.Background()) -} - -func (i GetAccessKeyFilterArray) ToGetAccessKeyFilterArrayOutputWithContext(ctx context.Context) GetAccessKeyFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetAccessKeyFilterArrayOutput) -} - -type GetAccessKeyFilterOutput struct{ *pulumi.OutputState } - -func (GetAccessKeyFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetAccessKeyFilter)(nil)).Elem() -} - -func (o GetAccessKeyFilterOutput) ToGetAccessKeyFilterOutput() GetAccessKeyFilterOutput { - return o -} - -func (o GetAccessKeyFilterOutput) ToGetAccessKeyFilterOutputWithContext(ctx context.Context) GetAccessKeyFilterOutput { - return o -} - -func (o GetAccessKeyFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetAccessKeyFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetAccessKeyFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetAccessKeyFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetAccessKeyFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetAccessKeyFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetAccessKeyFilter)(nil)).Elem() -} - -func (o GetAccessKeyFilterArrayOutput) ToGetAccessKeyFilterArrayOutput() GetAccessKeyFilterArrayOutput { - return o -} - -func (o GetAccessKeyFilterArrayOutput) ToGetAccessKeyFilterArrayOutputWithContext(ctx context.Context) GetAccessKeyFilterArrayOutput { - return o -} - -func (o GetAccessKeyFilterArrayOutput) Index(i pulumi.IntInput) GetAccessKeyFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAccessKeyFilter { - return vs[0].([]GetAccessKeyFilter)[vs[1].(int)] - }).(GetAccessKeyFilterOutput) -} - -type GetAccessKeysAccessKey struct { - // The ID of the access key. - AccessKeyId string `pulumi:"accessKeyId"` - // The date and time (UTC) of creation of the access key. - CreationDate string `pulumi:"creationDate"` - // The date (UTC) at which the access key expires. - ExpirationDate string `pulumi:"expirationDate"` - // The date and time (UTC) of the last modification of the access key. - LastModificationDate string `pulumi:"lastModificationDate"` - // The state of the access key (`ACTIVE` if the key is valid for API calls, or `INACTIVE` if not). - State string `pulumi:"state"` -} - -// GetAccessKeysAccessKeyInput is an input type that accepts GetAccessKeysAccessKeyArgs and GetAccessKeysAccessKeyOutput values. -// You can construct a concrete instance of `GetAccessKeysAccessKeyInput` via: -// -// GetAccessKeysAccessKeyArgs{...} -type GetAccessKeysAccessKeyInput interface { - pulumi.Input - - ToGetAccessKeysAccessKeyOutput() GetAccessKeysAccessKeyOutput - ToGetAccessKeysAccessKeyOutputWithContext(context.Context) GetAccessKeysAccessKeyOutput -} - -type GetAccessKeysAccessKeyArgs struct { - // The ID of the access key. - AccessKeyId pulumi.StringInput `pulumi:"accessKeyId"` - // The date and time (UTC) of creation of the access key. - CreationDate pulumi.StringInput `pulumi:"creationDate"` - // The date (UTC) at which the access key expires. - ExpirationDate pulumi.StringInput `pulumi:"expirationDate"` - // The date and time (UTC) of the last modification of the access key. - LastModificationDate pulumi.StringInput `pulumi:"lastModificationDate"` - // The state of the access key (`ACTIVE` if the key is valid for API calls, or `INACTIVE` if not). - State pulumi.StringInput `pulumi:"state"` -} - -func (GetAccessKeysAccessKeyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetAccessKeysAccessKey)(nil)).Elem() -} - -func (i GetAccessKeysAccessKeyArgs) ToGetAccessKeysAccessKeyOutput() GetAccessKeysAccessKeyOutput { - return i.ToGetAccessKeysAccessKeyOutputWithContext(context.Background()) -} - -func (i GetAccessKeysAccessKeyArgs) ToGetAccessKeysAccessKeyOutputWithContext(ctx context.Context) GetAccessKeysAccessKeyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetAccessKeysAccessKeyOutput) -} - -// GetAccessKeysAccessKeyArrayInput is an input type that accepts GetAccessKeysAccessKeyArray and GetAccessKeysAccessKeyArrayOutput values. -// You can construct a concrete instance of `GetAccessKeysAccessKeyArrayInput` via: -// -// GetAccessKeysAccessKeyArray{ GetAccessKeysAccessKeyArgs{...} } -type GetAccessKeysAccessKeyArrayInput interface { - pulumi.Input - - ToGetAccessKeysAccessKeyArrayOutput() GetAccessKeysAccessKeyArrayOutput - ToGetAccessKeysAccessKeyArrayOutputWithContext(context.Context) GetAccessKeysAccessKeyArrayOutput -} - -type GetAccessKeysAccessKeyArray []GetAccessKeysAccessKeyInput - -func (GetAccessKeysAccessKeyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetAccessKeysAccessKey)(nil)).Elem() -} - -func (i GetAccessKeysAccessKeyArray) ToGetAccessKeysAccessKeyArrayOutput() GetAccessKeysAccessKeyArrayOutput { - return i.ToGetAccessKeysAccessKeyArrayOutputWithContext(context.Background()) -} - -func (i GetAccessKeysAccessKeyArray) ToGetAccessKeysAccessKeyArrayOutputWithContext(ctx context.Context) GetAccessKeysAccessKeyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetAccessKeysAccessKeyArrayOutput) -} - -type GetAccessKeysAccessKeyOutput struct{ *pulumi.OutputState } - -func (GetAccessKeysAccessKeyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetAccessKeysAccessKey)(nil)).Elem() -} - -func (o GetAccessKeysAccessKeyOutput) ToGetAccessKeysAccessKeyOutput() GetAccessKeysAccessKeyOutput { - return o -} - -func (o GetAccessKeysAccessKeyOutput) ToGetAccessKeysAccessKeyOutputWithContext(ctx context.Context) GetAccessKeysAccessKeyOutput { - return o -} - -// The ID of the access key. -func (o GetAccessKeysAccessKeyOutput) AccessKeyId() pulumi.StringOutput { - return o.ApplyT(func(v GetAccessKeysAccessKey) string { return v.AccessKeyId }).(pulumi.StringOutput) -} - -// The date and time (UTC) of creation of the access key. -func (o GetAccessKeysAccessKeyOutput) CreationDate() pulumi.StringOutput { - return o.ApplyT(func(v GetAccessKeysAccessKey) string { return v.CreationDate }).(pulumi.StringOutput) -} - -// The date (UTC) at which the access key expires. -func (o GetAccessKeysAccessKeyOutput) ExpirationDate() pulumi.StringOutput { - return o.ApplyT(func(v GetAccessKeysAccessKey) string { return v.ExpirationDate }).(pulumi.StringOutput) -} - -// The date and time (UTC) of the last modification of the access key. -func (o GetAccessKeysAccessKeyOutput) LastModificationDate() pulumi.StringOutput { - return o.ApplyT(func(v GetAccessKeysAccessKey) string { return v.LastModificationDate }).(pulumi.StringOutput) -} - -// The state of the access key (`ACTIVE` if the key is valid for API calls, or `INACTIVE` if not). -func (o GetAccessKeysAccessKeyOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetAccessKeysAccessKey) string { return v.State }).(pulumi.StringOutput) -} - -type GetAccessKeysAccessKeyArrayOutput struct{ *pulumi.OutputState } - -func (GetAccessKeysAccessKeyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetAccessKeysAccessKey)(nil)).Elem() -} - -func (o GetAccessKeysAccessKeyArrayOutput) ToGetAccessKeysAccessKeyArrayOutput() GetAccessKeysAccessKeyArrayOutput { - return o -} - -func (o GetAccessKeysAccessKeyArrayOutput) ToGetAccessKeysAccessKeyArrayOutputWithContext(ctx context.Context) GetAccessKeysAccessKeyArrayOutput { - return o -} - -func (o GetAccessKeysAccessKeyArrayOutput) Index(i pulumi.IntInput) GetAccessKeysAccessKeyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAccessKeysAccessKey { - return vs[0].([]GetAccessKeysAccessKey)[vs[1].(int)] - }).(GetAccessKeysAccessKeyOutput) -} - -type GetAccessKeysFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetAccessKeysFilterInput is an input type that accepts GetAccessKeysFilterArgs and GetAccessKeysFilterOutput values. -// You can construct a concrete instance of `GetAccessKeysFilterInput` via: -// -// GetAccessKeysFilterArgs{...} -type GetAccessKeysFilterInput interface { - pulumi.Input - - ToGetAccessKeysFilterOutput() GetAccessKeysFilterOutput - ToGetAccessKeysFilterOutputWithContext(context.Context) GetAccessKeysFilterOutput -} - -type GetAccessKeysFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetAccessKeysFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetAccessKeysFilter)(nil)).Elem() -} - -func (i GetAccessKeysFilterArgs) ToGetAccessKeysFilterOutput() GetAccessKeysFilterOutput { - return i.ToGetAccessKeysFilterOutputWithContext(context.Background()) -} - -func (i GetAccessKeysFilterArgs) ToGetAccessKeysFilterOutputWithContext(ctx context.Context) GetAccessKeysFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetAccessKeysFilterOutput) -} - -// GetAccessKeysFilterArrayInput is an input type that accepts GetAccessKeysFilterArray and GetAccessKeysFilterArrayOutput values. -// You can construct a concrete instance of `GetAccessKeysFilterArrayInput` via: -// -// GetAccessKeysFilterArray{ GetAccessKeysFilterArgs{...} } -type GetAccessKeysFilterArrayInput interface { - pulumi.Input - - ToGetAccessKeysFilterArrayOutput() GetAccessKeysFilterArrayOutput - ToGetAccessKeysFilterArrayOutputWithContext(context.Context) GetAccessKeysFilterArrayOutput -} - -type GetAccessKeysFilterArray []GetAccessKeysFilterInput - -func (GetAccessKeysFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetAccessKeysFilter)(nil)).Elem() -} - -func (i GetAccessKeysFilterArray) ToGetAccessKeysFilterArrayOutput() GetAccessKeysFilterArrayOutput { - return i.ToGetAccessKeysFilterArrayOutputWithContext(context.Background()) -} - -func (i GetAccessKeysFilterArray) ToGetAccessKeysFilterArrayOutputWithContext(ctx context.Context) GetAccessKeysFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetAccessKeysFilterArrayOutput) -} - -type GetAccessKeysFilterOutput struct{ *pulumi.OutputState } - -func (GetAccessKeysFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetAccessKeysFilter)(nil)).Elem() -} - -func (o GetAccessKeysFilterOutput) ToGetAccessKeysFilterOutput() GetAccessKeysFilterOutput { - return o -} - -func (o GetAccessKeysFilterOutput) ToGetAccessKeysFilterOutputWithContext(ctx context.Context) GetAccessKeysFilterOutput { - return o -} - -func (o GetAccessKeysFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetAccessKeysFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetAccessKeysFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetAccessKeysFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetAccessKeysFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetAccessKeysFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetAccessKeysFilter)(nil)).Elem() -} - -func (o GetAccessKeysFilterArrayOutput) ToGetAccessKeysFilterArrayOutput() GetAccessKeysFilterArrayOutput { - return o -} - -func (o GetAccessKeysFilterArrayOutput) ToGetAccessKeysFilterArrayOutputWithContext(ctx context.Context) GetAccessKeysFilterArrayOutput { - return o -} - -func (o GetAccessKeysFilterArrayOutput) Index(i pulumi.IntInput) GetAccessKeysFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAccessKeysFilter { - return vs[0].([]GetAccessKeysFilter)[vs[1].(int)] - }).(GetAccessKeysFilterOutput) -} - -type GetAccountsAccount struct { - // The ID of the account. - AccountId string `pulumi:"accountId"` - // One or more additional email addresses for the account. These addresses are used for notifications only. - AdditionalEmails []string `pulumi:"additionalEmails"` - // The city of the account owner. - City string `pulumi:"city"` - // The name of the company for the account. - CompanyName string `pulumi:"companyName"` - // The country of the account owner. - Country string `pulumi:"country"` - // The ID of the customer. - CustomerId string `pulumi:"customerId"` - // The main email address for the account. This address is used for your credentials and for notifications. - Email string `pulumi:"email"` - // The first name of the account owner. - FirstName string `pulumi:"firstName"` - // The job title of the account owner. - JobTitle string `pulumi:"jobTitle"` - // The last name of the account owner. - LastName string `pulumi:"lastName"` - // The mobile phone number of the account owner. - MobileNumber string `pulumi:"mobileNumber"` - // The landline phone number of the account owner. - PhoneNumber string `pulumi:"phoneNumber"` - // The state/province of the account. - StateProvince string `pulumi:"stateProvince"` - // The value added tax (VAT) number for the account. - VatNumber string `pulumi:"vatNumber"` - // The ZIP code of the city. - ZipCode string `pulumi:"zipCode"` -} - -// GetAccountsAccountInput is an input type that accepts GetAccountsAccountArgs and GetAccountsAccountOutput values. -// You can construct a concrete instance of `GetAccountsAccountInput` via: -// -// GetAccountsAccountArgs{...} -type GetAccountsAccountInput interface { - pulumi.Input - - ToGetAccountsAccountOutput() GetAccountsAccountOutput - ToGetAccountsAccountOutputWithContext(context.Context) GetAccountsAccountOutput -} - -type GetAccountsAccountArgs struct { - // The ID of the account. - AccountId pulumi.StringInput `pulumi:"accountId"` - // One or more additional email addresses for the account. These addresses are used for notifications only. - AdditionalEmails pulumi.StringArrayInput `pulumi:"additionalEmails"` - // The city of the account owner. - City pulumi.StringInput `pulumi:"city"` - // The name of the company for the account. - CompanyName pulumi.StringInput `pulumi:"companyName"` - // The country of the account owner. - Country pulumi.StringInput `pulumi:"country"` - // The ID of the customer. - CustomerId pulumi.StringInput `pulumi:"customerId"` - // The main email address for the account. This address is used for your credentials and for notifications. - Email pulumi.StringInput `pulumi:"email"` - // The first name of the account owner. - FirstName pulumi.StringInput `pulumi:"firstName"` - // The job title of the account owner. - JobTitle pulumi.StringInput `pulumi:"jobTitle"` - // The last name of the account owner. - LastName pulumi.StringInput `pulumi:"lastName"` - // The mobile phone number of the account owner. - MobileNumber pulumi.StringInput `pulumi:"mobileNumber"` - // The landline phone number of the account owner. - PhoneNumber pulumi.StringInput `pulumi:"phoneNumber"` - // The state/province of the account. - StateProvince pulumi.StringInput `pulumi:"stateProvince"` - // The value added tax (VAT) number for the account. - VatNumber pulumi.StringInput `pulumi:"vatNumber"` - // The ZIP code of the city. - ZipCode pulumi.StringInput `pulumi:"zipCode"` -} - -func (GetAccountsAccountArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetAccountsAccount)(nil)).Elem() -} - -func (i GetAccountsAccountArgs) ToGetAccountsAccountOutput() GetAccountsAccountOutput { - return i.ToGetAccountsAccountOutputWithContext(context.Background()) -} - -func (i GetAccountsAccountArgs) ToGetAccountsAccountOutputWithContext(ctx context.Context) GetAccountsAccountOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetAccountsAccountOutput) -} - -// GetAccountsAccountArrayInput is an input type that accepts GetAccountsAccountArray and GetAccountsAccountArrayOutput values. -// You can construct a concrete instance of `GetAccountsAccountArrayInput` via: -// -// GetAccountsAccountArray{ GetAccountsAccountArgs{...} } -type GetAccountsAccountArrayInput interface { - pulumi.Input - - ToGetAccountsAccountArrayOutput() GetAccountsAccountArrayOutput - ToGetAccountsAccountArrayOutputWithContext(context.Context) GetAccountsAccountArrayOutput -} - -type GetAccountsAccountArray []GetAccountsAccountInput - -func (GetAccountsAccountArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetAccountsAccount)(nil)).Elem() -} - -func (i GetAccountsAccountArray) ToGetAccountsAccountArrayOutput() GetAccountsAccountArrayOutput { - return i.ToGetAccountsAccountArrayOutputWithContext(context.Background()) -} - -func (i GetAccountsAccountArray) ToGetAccountsAccountArrayOutputWithContext(ctx context.Context) GetAccountsAccountArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetAccountsAccountArrayOutput) -} - -type GetAccountsAccountOutput struct{ *pulumi.OutputState } - -func (GetAccountsAccountOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetAccountsAccount)(nil)).Elem() -} - -func (o GetAccountsAccountOutput) ToGetAccountsAccountOutput() GetAccountsAccountOutput { - return o -} - -func (o GetAccountsAccountOutput) ToGetAccountsAccountOutputWithContext(ctx context.Context) GetAccountsAccountOutput { - return o -} - -// The ID of the account. -func (o GetAccountsAccountOutput) AccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetAccountsAccount) string { return v.AccountId }).(pulumi.StringOutput) -} - -// One or more additional email addresses for the account. These addresses are used for notifications only. -func (o GetAccountsAccountOutput) AdditionalEmails() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetAccountsAccount) []string { return v.AdditionalEmails }).(pulumi.StringArrayOutput) -} - -// The city of the account owner. -func (o GetAccountsAccountOutput) City() pulumi.StringOutput { - return o.ApplyT(func(v GetAccountsAccount) string { return v.City }).(pulumi.StringOutput) -} - -// The name of the company for the account. -func (o GetAccountsAccountOutput) CompanyName() pulumi.StringOutput { - return o.ApplyT(func(v GetAccountsAccount) string { return v.CompanyName }).(pulumi.StringOutput) -} - -// The country of the account owner. -func (o GetAccountsAccountOutput) Country() pulumi.StringOutput { - return o.ApplyT(func(v GetAccountsAccount) string { return v.Country }).(pulumi.StringOutput) -} - -// The ID of the customer. -func (o GetAccountsAccountOutput) CustomerId() pulumi.StringOutput { - return o.ApplyT(func(v GetAccountsAccount) string { return v.CustomerId }).(pulumi.StringOutput) -} - -// The main email address for the account. This address is used for your credentials and for notifications. -func (o GetAccountsAccountOutput) Email() pulumi.StringOutput { - return o.ApplyT(func(v GetAccountsAccount) string { return v.Email }).(pulumi.StringOutput) -} - -// The first name of the account owner. -func (o GetAccountsAccountOutput) FirstName() pulumi.StringOutput { - return o.ApplyT(func(v GetAccountsAccount) string { return v.FirstName }).(pulumi.StringOutput) -} - -// The job title of the account owner. -func (o GetAccountsAccountOutput) JobTitle() pulumi.StringOutput { - return o.ApplyT(func(v GetAccountsAccount) string { return v.JobTitle }).(pulumi.StringOutput) -} - -// The last name of the account owner. -func (o GetAccountsAccountOutput) LastName() pulumi.StringOutput { - return o.ApplyT(func(v GetAccountsAccount) string { return v.LastName }).(pulumi.StringOutput) -} - -// The mobile phone number of the account owner. -func (o GetAccountsAccountOutput) MobileNumber() pulumi.StringOutput { - return o.ApplyT(func(v GetAccountsAccount) string { return v.MobileNumber }).(pulumi.StringOutput) -} - -// The landline phone number of the account owner. -func (o GetAccountsAccountOutput) PhoneNumber() pulumi.StringOutput { - return o.ApplyT(func(v GetAccountsAccount) string { return v.PhoneNumber }).(pulumi.StringOutput) -} - -// The state/province of the account. -func (o GetAccountsAccountOutput) StateProvince() pulumi.StringOutput { - return o.ApplyT(func(v GetAccountsAccount) string { return v.StateProvince }).(pulumi.StringOutput) -} - -// The value added tax (VAT) number for the account. -func (o GetAccountsAccountOutput) VatNumber() pulumi.StringOutput { - return o.ApplyT(func(v GetAccountsAccount) string { return v.VatNumber }).(pulumi.StringOutput) -} - -// The ZIP code of the city. -func (o GetAccountsAccountOutput) ZipCode() pulumi.StringOutput { - return o.ApplyT(func(v GetAccountsAccount) string { return v.ZipCode }).(pulumi.StringOutput) -} - -type GetAccountsAccountArrayOutput struct{ *pulumi.OutputState } - -func (GetAccountsAccountArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetAccountsAccount)(nil)).Elem() -} - -func (o GetAccountsAccountArrayOutput) ToGetAccountsAccountArrayOutput() GetAccountsAccountArrayOutput { - return o -} - -func (o GetAccountsAccountArrayOutput) ToGetAccountsAccountArrayOutputWithContext(ctx context.Context) GetAccountsAccountArrayOutput { - return o -} - -func (o GetAccountsAccountArrayOutput) Index(i pulumi.IntInput) GetAccountsAccountOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAccountsAccount { - return vs[0].([]GetAccountsAccount)[vs[1].(int)] - }).(GetAccountsAccountOutput) -} - -type GetApiAccessRuleFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetApiAccessRuleFilterInput is an input type that accepts GetApiAccessRuleFilterArgs and GetApiAccessRuleFilterOutput values. -// You can construct a concrete instance of `GetApiAccessRuleFilterInput` via: -// -// GetApiAccessRuleFilterArgs{...} -type GetApiAccessRuleFilterInput interface { - pulumi.Input - - ToGetApiAccessRuleFilterOutput() GetApiAccessRuleFilterOutput - ToGetApiAccessRuleFilterOutputWithContext(context.Context) GetApiAccessRuleFilterOutput -} - -type GetApiAccessRuleFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetApiAccessRuleFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetApiAccessRuleFilter)(nil)).Elem() -} - -func (i GetApiAccessRuleFilterArgs) ToGetApiAccessRuleFilterOutput() GetApiAccessRuleFilterOutput { - return i.ToGetApiAccessRuleFilterOutputWithContext(context.Background()) -} - -func (i GetApiAccessRuleFilterArgs) ToGetApiAccessRuleFilterOutputWithContext(ctx context.Context) GetApiAccessRuleFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetApiAccessRuleFilterOutput) -} - -// GetApiAccessRuleFilterArrayInput is an input type that accepts GetApiAccessRuleFilterArray and GetApiAccessRuleFilterArrayOutput values. -// You can construct a concrete instance of `GetApiAccessRuleFilterArrayInput` via: -// -// GetApiAccessRuleFilterArray{ GetApiAccessRuleFilterArgs{...} } -type GetApiAccessRuleFilterArrayInput interface { - pulumi.Input - - ToGetApiAccessRuleFilterArrayOutput() GetApiAccessRuleFilterArrayOutput - ToGetApiAccessRuleFilterArrayOutputWithContext(context.Context) GetApiAccessRuleFilterArrayOutput -} - -type GetApiAccessRuleFilterArray []GetApiAccessRuleFilterInput - -func (GetApiAccessRuleFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetApiAccessRuleFilter)(nil)).Elem() -} - -func (i GetApiAccessRuleFilterArray) ToGetApiAccessRuleFilterArrayOutput() GetApiAccessRuleFilterArrayOutput { - return i.ToGetApiAccessRuleFilterArrayOutputWithContext(context.Background()) -} - -func (i GetApiAccessRuleFilterArray) ToGetApiAccessRuleFilterArrayOutputWithContext(ctx context.Context) GetApiAccessRuleFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetApiAccessRuleFilterArrayOutput) -} - -type GetApiAccessRuleFilterOutput struct{ *pulumi.OutputState } - -func (GetApiAccessRuleFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetApiAccessRuleFilter)(nil)).Elem() -} - -func (o GetApiAccessRuleFilterOutput) ToGetApiAccessRuleFilterOutput() GetApiAccessRuleFilterOutput { - return o -} - -func (o GetApiAccessRuleFilterOutput) ToGetApiAccessRuleFilterOutputWithContext(ctx context.Context) GetApiAccessRuleFilterOutput { - return o -} - -func (o GetApiAccessRuleFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetApiAccessRuleFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetApiAccessRuleFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetApiAccessRuleFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetApiAccessRuleFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetApiAccessRuleFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetApiAccessRuleFilter)(nil)).Elem() -} - -func (o GetApiAccessRuleFilterArrayOutput) ToGetApiAccessRuleFilterArrayOutput() GetApiAccessRuleFilterArrayOutput { - return o -} - -func (o GetApiAccessRuleFilterArrayOutput) ToGetApiAccessRuleFilterArrayOutputWithContext(ctx context.Context) GetApiAccessRuleFilterArrayOutput { - return o -} - -func (o GetApiAccessRuleFilterArrayOutput) Index(i pulumi.IntInput) GetApiAccessRuleFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetApiAccessRuleFilter { - return vs[0].([]GetApiAccessRuleFilter)[vs[1].(int)] - }).(GetApiAccessRuleFilterOutput) -} - -type GetApiAccessRulesApiAccessRule struct { - // The ID of the API access rule. - ApiAccessRuleId string `pulumi:"apiAccessRuleId"` - // One or more IDs of Client Certificate Authorities (CAs). - CaIds []string `pulumi:"caIds"` - // One or more Client Certificate Common Names (CNs). - Cns []string `pulumi:"cns"` - // The description of the API access rule. - Description string `pulumi:"description"` - // One or more IP addresses or CIDR blocks (for example, `192.0.2.0/16`). - IpRanges []string `pulumi:"ipRanges"` -} - -// GetApiAccessRulesApiAccessRuleInput is an input type that accepts GetApiAccessRulesApiAccessRuleArgs and GetApiAccessRulesApiAccessRuleOutput values. -// You can construct a concrete instance of `GetApiAccessRulesApiAccessRuleInput` via: -// -// GetApiAccessRulesApiAccessRuleArgs{...} -type GetApiAccessRulesApiAccessRuleInput interface { - pulumi.Input - - ToGetApiAccessRulesApiAccessRuleOutput() GetApiAccessRulesApiAccessRuleOutput - ToGetApiAccessRulesApiAccessRuleOutputWithContext(context.Context) GetApiAccessRulesApiAccessRuleOutput -} - -type GetApiAccessRulesApiAccessRuleArgs struct { - // The ID of the API access rule. - ApiAccessRuleId pulumi.StringInput `pulumi:"apiAccessRuleId"` - // One or more IDs of Client Certificate Authorities (CAs). - CaIds pulumi.StringArrayInput `pulumi:"caIds"` - // One or more Client Certificate Common Names (CNs). - Cns pulumi.StringArrayInput `pulumi:"cns"` - // The description of the API access rule. - Description pulumi.StringInput `pulumi:"description"` - // One or more IP addresses or CIDR blocks (for example, `192.0.2.0/16`). - IpRanges pulumi.StringArrayInput `pulumi:"ipRanges"` -} - -func (GetApiAccessRulesApiAccessRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetApiAccessRulesApiAccessRule)(nil)).Elem() -} - -func (i GetApiAccessRulesApiAccessRuleArgs) ToGetApiAccessRulesApiAccessRuleOutput() GetApiAccessRulesApiAccessRuleOutput { - return i.ToGetApiAccessRulesApiAccessRuleOutputWithContext(context.Background()) -} - -func (i GetApiAccessRulesApiAccessRuleArgs) ToGetApiAccessRulesApiAccessRuleOutputWithContext(ctx context.Context) GetApiAccessRulesApiAccessRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetApiAccessRulesApiAccessRuleOutput) -} - -// GetApiAccessRulesApiAccessRuleArrayInput is an input type that accepts GetApiAccessRulesApiAccessRuleArray and GetApiAccessRulesApiAccessRuleArrayOutput values. -// You can construct a concrete instance of `GetApiAccessRulesApiAccessRuleArrayInput` via: -// -// GetApiAccessRulesApiAccessRuleArray{ GetApiAccessRulesApiAccessRuleArgs{...} } -type GetApiAccessRulesApiAccessRuleArrayInput interface { - pulumi.Input - - ToGetApiAccessRulesApiAccessRuleArrayOutput() GetApiAccessRulesApiAccessRuleArrayOutput - ToGetApiAccessRulesApiAccessRuleArrayOutputWithContext(context.Context) GetApiAccessRulesApiAccessRuleArrayOutput -} - -type GetApiAccessRulesApiAccessRuleArray []GetApiAccessRulesApiAccessRuleInput - -func (GetApiAccessRulesApiAccessRuleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetApiAccessRulesApiAccessRule)(nil)).Elem() -} - -func (i GetApiAccessRulesApiAccessRuleArray) ToGetApiAccessRulesApiAccessRuleArrayOutput() GetApiAccessRulesApiAccessRuleArrayOutput { - return i.ToGetApiAccessRulesApiAccessRuleArrayOutputWithContext(context.Background()) -} - -func (i GetApiAccessRulesApiAccessRuleArray) ToGetApiAccessRulesApiAccessRuleArrayOutputWithContext(ctx context.Context) GetApiAccessRulesApiAccessRuleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetApiAccessRulesApiAccessRuleArrayOutput) -} - -type GetApiAccessRulesApiAccessRuleOutput struct{ *pulumi.OutputState } - -func (GetApiAccessRulesApiAccessRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetApiAccessRulesApiAccessRule)(nil)).Elem() -} - -func (o GetApiAccessRulesApiAccessRuleOutput) ToGetApiAccessRulesApiAccessRuleOutput() GetApiAccessRulesApiAccessRuleOutput { - return o -} - -func (o GetApiAccessRulesApiAccessRuleOutput) ToGetApiAccessRulesApiAccessRuleOutputWithContext(ctx context.Context) GetApiAccessRulesApiAccessRuleOutput { - return o -} - -// The ID of the API access rule. -func (o GetApiAccessRulesApiAccessRuleOutput) ApiAccessRuleId() pulumi.StringOutput { - return o.ApplyT(func(v GetApiAccessRulesApiAccessRule) string { return v.ApiAccessRuleId }).(pulumi.StringOutput) -} - -// One or more IDs of Client Certificate Authorities (CAs). -func (o GetApiAccessRulesApiAccessRuleOutput) CaIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetApiAccessRulesApiAccessRule) []string { return v.CaIds }).(pulumi.StringArrayOutput) -} - -// One or more Client Certificate Common Names (CNs). -func (o GetApiAccessRulesApiAccessRuleOutput) Cns() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetApiAccessRulesApiAccessRule) []string { return v.Cns }).(pulumi.StringArrayOutput) -} - -// The description of the API access rule. -func (o GetApiAccessRulesApiAccessRuleOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetApiAccessRulesApiAccessRule) string { return v.Description }).(pulumi.StringOutput) -} - -// One or more IP addresses or CIDR blocks (for example, `192.0.2.0/16`). -func (o GetApiAccessRulesApiAccessRuleOutput) IpRanges() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetApiAccessRulesApiAccessRule) []string { return v.IpRanges }).(pulumi.StringArrayOutput) -} - -type GetApiAccessRulesApiAccessRuleArrayOutput struct{ *pulumi.OutputState } - -func (GetApiAccessRulesApiAccessRuleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetApiAccessRulesApiAccessRule)(nil)).Elem() -} - -func (o GetApiAccessRulesApiAccessRuleArrayOutput) ToGetApiAccessRulesApiAccessRuleArrayOutput() GetApiAccessRulesApiAccessRuleArrayOutput { - return o -} - -func (o GetApiAccessRulesApiAccessRuleArrayOutput) ToGetApiAccessRulesApiAccessRuleArrayOutputWithContext(ctx context.Context) GetApiAccessRulesApiAccessRuleArrayOutput { - return o -} - -func (o GetApiAccessRulesApiAccessRuleArrayOutput) Index(i pulumi.IntInput) GetApiAccessRulesApiAccessRuleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetApiAccessRulesApiAccessRule { - return vs[0].([]GetApiAccessRulesApiAccessRule)[vs[1].(int)] - }).(GetApiAccessRulesApiAccessRuleOutput) -} - -type GetApiAccessRulesFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetApiAccessRulesFilterInput is an input type that accepts GetApiAccessRulesFilterArgs and GetApiAccessRulesFilterOutput values. -// You can construct a concrete instance of `GetApiAccessRulesFilterInput` via: -// -// GetApiAccessRulesFilterArgs{...} -type GetApiAccessRulesFilterInput interface { - pulumi.Input - - ToGetApiAccessRulesFilterOutput() GetApiAccessRulesFilterOutput - ToGetApiAccessRulesFilterOutputWithContext(context.Context) GetApiAccessRulesFilterOutput -} - -type GetApiAccessRulesFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetApiAccessRulesFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetApiAccessRulesFilter)(nil)).Elem() -} - -func (i GetApiAccessRulesFilterArgs) ToGetApiAccessRulesFilterOutput() GetApiAccessRulesFilterOutput { - return i.ToGetApiAccessRulesFilterOutputWithContext(context.Background()) -} - -func (i GetApiAccessRulesFilterArgs) ToGetApiAccessRulesFilterOutputWithContext(ctx context.Context) GetApiAccessRulesFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetApiAccessRulesFilterOutput) -} - -// GetApiAccessRulesFilterArrayInput is an input type that accepts GetApiAccessRulesFilterArray and GetApiAccessRulesFilterArrayOutput values. -// You can construct a concrete instance of `GetApiAccessRulesFilterArrayInput` via: -// -// GetApiAccessRulesFilterArray{ GetApiAccessRulesFilterArgs{...} } -type GetApiAccessRulesFilterArrayInput interface { - pulumi.Input - - ToGetApiAccessRulesFilterArrayOutput() GetApiAccessRulesFilterArrayOutput - ToGetApiAccessRulesFilterArrayOutputWithContext(context.Context) GetApiAccessRulesFilterArrayOutput -} - -type GetApiAccessRulesFilterArray []GetApiAccessRulesFilterInput - -func (GetApiAccessRulesFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetApiAccessRulesFilter)(nil)).Elem() -} - -func (i GetApiAccessRulesFilterArray) ToGetApiAccessRulesFilterArrayOutput() GetApiAccessRulesFilterArrayOutput { - return i.ToGetApiAccessRulesFilterArrayOutputWithContext(context.Background()) -} - -func (i GetApiAccessRulesFilterArray) ToGetApiAccessRulesFilterArrayOutputWithContext(ctx context.Context) GetApiAccessRulesFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetApiAccessRulesFilterArrayOutput) -} - -type GetApiAccessRulesFilterOutput struct{ *pulumi.OutputState } - -func (GetApiAccessRulesFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetApiAccessRulesFilter)(nil)).Elem() -} - -func (o GetApiAccessRulesFilterOutput) ToGetApiAccessRulesFilterOutput() GetApiAccessRulesFilterOutput { - return o -} - -func (o GetApiAccessRulesFilterOutput) ToGetApiAccessRulesFilterOutputWithContext(ctx context.Context) GetApiAccessRulesFilterOutput { - return o -} - -func (o GetApiAccessRulesFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetApiAccessRulesFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetApiAccessRulesFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetApiAccessRulesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetApiAccessRulesFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetApiAccessRulesFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetApiAccessRulesFilter)(nil)).Elem() -} - -func (o GetApiAccessRulesFilterArrayOutput) ToGetApiAccessRulesFilterArrayOutput() GetApiAccessRulesFilterArrayOutput { - return o -} - -func (o GetApiAccessRulesFilterArrayOutput) ToGetApiAccessRulesFilterArrayOutputWithContext(ctx context.Context) GetApiAccessRulesFilterArrayOutput { - return o -} - -func (o GetApiAccessRulesFilterArrayOutput) Index(i pulumi.IntInput) GetApiAccessRulesFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetApiAccessRulesFilter { - return vs[0].([]GetApiAccessRulesFilter)[vs[1].(int)] - }).(GetApiAccessRulesFilterOutput) -} - -type GetCaFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetCaFilterInput is an input type that accepts GetCaFilterArgs and GetCaFilterOutput values. -// You can construct a concrete instance of `GetCaFilterInput` via: -// -// GetCaFilterArgs{...} -type GetCaFilterInput interface { - pulumi.Input - - ToGetCaFilterOutput() GetCaFilterOutput - ToGetCaFilterOutputWithContext(context.Context) GetCaFilterOutput -} - -type GetCaFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetCaFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetCaFilter)(nil)).Elem() -} - -func (i GetCaFilterArgs) ToGetCaFilterOutput() GetCaFilterOutput { - return i.ToGetCaFilterOutputWithContext(context.Background()) -} - -func (i GetCaFilterArgs) ToGetCaFilterOutputWithContext(ctx context.Context) GetCaFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetCaFilterOutput) -} - -// GetCaFilterArrayInput is an input type that accepts GetCaFilterArray and GetCaFilterArrayOutput values. -// You can construct a concrete instance of `GetCaFilterArrayInput` via: -// -// GetCaFilterArray{ GetCaFilterArgs{...} } -type GetCaFilterArrayInput interface { - pulumi.Input - - ToGetCaFilterArrayOutput() GetCaFilterArrayOutput - ToGetCaFilterArrayOutputWithContext(context.Context) GetCaFilterArrayOutput -} - -type GetCaFilterArray []GetCaFilterInput - -func (GetCaFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetCaFilter)(nil)).Elem() -} - -func (i GetCaFilterArray) ToGetCaFilterArrayOutput() GetCaFilterArrayOutput { - return i.ToGetCaFilterArrayOutputWithContext(context.Background()) -} - -func (i GetCaFilterArray) ToGetCaFilterArrayOutputWithContext(ctx context.Context) GetCaFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetCaFilterArrayOutput) -} - -type GetCaFilterOutput struct{ *pulumi.OutputState } - -func (GetCaFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetCaFilter)(nil)).Elem() -} - -func (o GetCaFilterOutput) ToGetCaFilterOutput() GetCaFilterOutput { - return o -} - -func (o GetCaFilterOutput) ToGetCaFilterOutputWithContext(ctx context.Context) GetCaFilterOutput { - return o -} - -func (o GetCaFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetCaFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetCaFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetCaFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetCaFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetCaFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetCaFilter)(nil)).Elem() -} - -func (o GetCaFilterArrayOutput) ToGetCaFilterArrayOutput() GetCaFilterArrayOutput { - return o -} - -func (o GetCaFilterArrayOutput) ToGetCaFilterArrayOutputWithContext(ctx context.Context) GetCaFilterArrayOutput { - return o -} - -func (o GetCaFilterArrayOutput) Index(i pulumi.IntInput) GetCaFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCaFilter { - return vs[0].([]GetCaFilter)[vs[1].(int)] - }).(GetCaFilterOutput) -} - -type GetCasCa struct { - // The fingerprint of the CA. - CaFingerprint string `pulumi:"caFingerprint"` - // The ID of the CA. - CaId string `pulumi:"caId"` - // The description of the CA. - Description string `pulumi:"description"` -} - -// GetCasCaInput is an input type that accepts GetCasCaArgs and GetCasCaOutput values. -// You can construct a concrete instance of `GetCasCaInput` via: -// -// GetCasCaArgs{...} -type GetCasCaInput interface { - pulumi.Input - - ToGetCasCaOutput() GetCasCaOutput - ToGetCasCaOutputWithContext(context.Context) GetCasCaOutput -} - -type GetCasCaArgs struct { - // The fingerprint of the CA. - CaFingerprint pulumi.StringInput `pulumi:"caFingerprint"` - // The ID of the CA. - CaId pulumi.StringInput `pulumi:"caId"` - // The description of the CA. - Description pulumi.StringInput `pulumi:"description"` -} - -func (GetCasCaArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetCasCa)(nil)).Elem() -} - -func (i GetCasCaArgs) ToGetCasCaOutput() GetCasCaOutput { - return i.ToGetCasCaOutputWithContext(context.Background()) -} - -func (i GetCasCaArgs) ToGetCasCaOutputWithContext(ctx context.Context) GetCasCaOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetCasCaOutput) -} - -// GetCasCaArrayInput is an input type that accepts GetCasCaArray and GetCasCaArrayOutput values. -// You can construct a concrete instance of `GetCasCaArrayInput` via: -// -// GetCasCaArray{ GetCasCaArgs{...} } -type GetCasCaArrayInput interface { - pulumi.Input - - ToGetCasCaArrayOutput() GetCasCaArrayOutput - ToGetCasCaArrayOutputWithContext(context.Context) GetCasCaArrayOutput -} - -type GetCasCaArray []GetCasCaInput - -func (GetCasCaArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetCasCa)(nil)).Elem() -} - -func (i GetCasCaArray) ToGetCasCaArrayOutput() GetCasCaArrayOutput { - return i.ToGetCasCaArrayOutputWithContext(context.Background()) -} - -func (i GetCasCaArray) ToGetCasCaArrayOutputWithContext(ctx context.Context) GetCasCaArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetCasCaArrayOutput) -} - -type GetCasCaOutput struct{ *pulumi.OutputState } - -func (GetCasCaOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetCasCa)(nil)).Elem() -} - -func (o GetCasCaOutput) ToGetCasCaOutput() GetCasCaOutput { - return o -} - -func (o GetCasCaOutput) ToGetCasCaOutputWithContext(ctx context.Context) GetCasCaOutput { - return o -} - -// The fingerprint of the CA. -func (o GetCasCaOutput) CaFingerprint() pulumi.StringOutput { - return o.ApplyT(func(v GetCasCa) string { return v.CaFingerprint }).(pulumi.StringOutput) -} - -// The ID of the CA. -func (o GetCasCaOutput) CaId() pulumi.StringOutput { - return o.ApplyT(func(v GetCasCa) string { return v.CaId }).(pulumi.StringOutput) -} - -// The description of the CA. -func (o GetCasCaOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetCasCa) string { return v.Description }).(pulumi.StringOutput) -} - -type GetCasCaArrayOutput struct{ *pulumi.OutputState } - -func (GetCasCaArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetCasCa)(nil)).Elem() -} - -func (o GetCasCaArrayOutput) ToGetCasCaArrayOutput() GetCasCaArrayOutput { - return o -} - -func (o GetCasCaArrayOutput) ToGetCasCaArrayOutputWithContext(ctx context.Context) GetCasCaArrayOutput { - return o -} - -func (o GetCasCaArrayOutput) Index(i pulumi.IntInput) GetCasCaOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCasCa { - return vs[0].([]GetCasCa)[vs[1].(int)] - }).(GetCasCaOutput) -} - -type GetCasFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetCasFilterInput is an input type that accepts GetCasFilterArgs and GetCasFilterOutput values. -// You can construct a concrete instance of `GetCasFilterInput` via: -// -// GetCasFilterArgs{...} -type GetCasFilterInput interface { - pulumi.Input - - ToGetCasFilterOutput() GetCasFilterOutput - ToGetCasFilterOutputWithContext(context.Context) GetCasFilterOutput -} - -type GetCasFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetCasFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetCasFilter)(nil)).Elem() -} - -func (i GetCasFilterArgs) ToGetCasFilterOutput() GetCasFilterOutput { - return i.ToGetCasFilterOutputWithContext(context.Background()) -} - -func (i GetCasFilterArgs) ToGetCasFilterOutputWithContext(ctx context.Context) GetCasFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetCasFilterOutput) -} - -// GetCasFilterArrayInput is an input type that accepts GetCasFilterArray and GetCasFilterArrayOutput values. -// You can construct a concrete instance of `GetCasFilterArrayInput` via: -// -// GetCasFilterArray{ GetCasFilterArgs{...} } -type GetCasFilterArrayInput interface { - pulumi.Input - - ToGetCasFilterArrayOutput() GetCasFilterArrayOutput - ToGetCasFilterArrayOutputWithContext(context.Context) GetCasFilterArrayOutput -} - -type GetCasFilterArray []GetCasFilterInput - -func (GetCasFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetCasFilter)(nil)).Elem() -} - -func (i GetCasFilterArray) ToGetCasFilterArrayOutput() GetCasFilterArrayOutput { - return i.ToGetCasFilterArrayOutputWithContext(context.Background()) -} - -func (i GetCasFilterArray) ToGetCasFilterArrayOutputWithContext(ctx context.Context) GetCasFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetCasFilterArrayOutput) -} - -type GetCasFilterOutput struct{ *pulumi.OutputState } - -func (GetCasFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetCasFilter)(nil)).Elem() -} - -func (o GetCasFilterOutput) ToGetCasFilterOutput() GetCasFilterOutput { - return o -} - -func (o GetCasFilterOutput) ToGetCasFilterOutputWithContext(ctx context.Context) GetCasFilterOutput { - return o -} - -func (o GetCasFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetCasFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetCasFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetCasFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetCasFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetCasFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetCasFilter)(nil)).Elem() -} - -func (o GetCasFilterArrayOutput) ToGetCasFilterArrayOutput() GetCasFilterArrayOutput { - return o -} - -func (o GetCasFilterArrayOutput) ToGetCasFilterArrayOutputWithContext(ctx context.Context) GetCasFilterArrayOutput { - return o -} - -func (o GetCasFilterArrayOutput) Index(i pulumi.IntInput) GetCasFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCasFilter { - return vs[0].([]GetCasFilter)[vs[1].(int)] - }).(GetCasFilterOutput) -} - -type GetClientGatewayFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetClientGatewayFilterInput is an input type that accepts GetClientGatewayFilterArgs and GetClientGatewayFilterOutput values. -// You can construct a concrete instance of `GetClientGatewayFilterInput` via: -// -// GetClientGatewayFilterArgs{...} -type GetClientGatewayFilterInput interface { - pulumi.Input - - ToGetClientGatewayFilterOutput() GetClientGatewayFilterOutput - ToGetClientGatewayFilterOutputWithContext(context.Context) GetClientGatewayFilterOutput -} - -type GetClientGatewayFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetClientGatewayFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClientGatewayFilter)(nil)).Elem() -} - -func (i GetClientGatewayFilterArgs) ToGetClientGatewayFilterOutput() GetClientGatewayFilterOutput { - return i.ToGetClientGatewayFilterOutputWithContext(context.Background()) -} - -func (i GetClientGatewayFilterArgs) ToGetClientGatewayFilterOutputWithContext(ctx context.Context) GetClientGatewayFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClientGatewayFilterOutput) -} - -// GetClientGatewayFilterArrayInput is an input type that accepts GetClientGatewayFilterArray and GetClientGatewayFilterArrayOutput values. -// You can construct a concrete instance of `GetClientGatewayFilterArrayInput` via: -// -// GetClientGatewayFilterArray{ GetClientGatewayFilterArgs{...} } -type GetClientGatewayFilterArrayInput interface { - pulumi.Input - - ToGetClientGatewayFilterArrayOutput() GetClientGatewayFilterArrayOutput - ToGetClientGatewayFilterArrayOutputWithContext(context.Context) GetClientGatewayFilterArrayOutput -} - -type GetClientGatewayFilterArray []GetClientGatewayFilterInput - -func (GetClientGatewayFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClientGatewayFilter)(nil)).Elem() -} - -func (i GetClientGatewayFilterArray) ToGetClientGatewayFilterArrayOutput() GetClientGatewayFilterArrayOutput { - return i.ToGetClientGatewayFilterArrayOutputWithContext(context.Background()) -} - -func (i GetClientGatewayFilterArray) ToGetClientGatewayFilterArrayOutputWithContext(ctx context.Context) GetClientGatewayFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClientGatewayFilterArrayOutput) -} - -type GetClientGatewayFilterOutput struct{ *pulumi.OutputState } - -func (GetClientGatewayFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClientGatewayFilter)(nil)).Elem() -} - -func (o GetClientGatewayFilterOutput) ToGetClientGatewayFilterOutput() GetClientGatewayFilterOutput { - return o -} - -func (o GetClientGatewayFilterOutput) ToGetClientGatewayFilterOutputWithContext(ctx context.Context) GetClientGatewayFilterOutput { - return o -} - -func (o GetClientGatewayFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetClientGatewayFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetClientGatewayFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClientGatewayFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetClientGatewayFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetClientGatewayFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClientGatewayFilter)(nil)).Elem() -} - -func (o GetClientGatewayFilterArrayOutput) ToGetClientGatewayFilterArrayOutput() GetClientGatewayFilterArrayOutput { - return o -} - -func (o GetClientGatewayFilterArrayOutput) ToGetClientGatewayFilterArrayOutputWithContext(ctx context.Context) GetClientGatewayFilterArrayOutput { - return o -} - -func (o GetClientGatewayFilterArrayOutput) Index(i pulumi.IntInput) GetClientGatewayFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClientGatewayFilter { - return vs[0].([]GetClientGatewayFilter)[vs[1].(int)] - }).(GetClientGatewayFilterOutput) -} - -type GetClientGatewayTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetClientGatewayTagInput is an input type that accepts GetClientGatewayTagArgs and GetClientGatewayTagOutput values. -// You can construct a concrete instance of `GetClientGatewayTagInput` via: -// -// GetClientGatewayTagArgs{...} -type GetClientGatewayTagInput interface { - pulumi.Input - - ToGetClientGatewayTagOutput() GetClientGatewayTagOutput - ToGetClientGatewayTagOutputWithContext(context.Context) GetClientGatewayTagOutput -} - -type GetClientGatewayTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetClientGatewayTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClientGatewayTag)(nil)).Elem() -} - -func (i GetClientGatewayTagArgs) ToGetClientGatewayTagOutput() GetClientGatewayTagOutput { - return i.ToGetClientGatewayTagOutputWithContext(context.Background()) -} - -func (i GetClientGatewayTagArgs) ToGetClientGatewayTagOutputWithContext(ctx context.Context) GetClientGatewayTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClientGatewayTagOutput) -} - -// GetClientGatewayTagArrayInput is an input type that accepts GetClientGatewayTagArray and GetClientGatewayTagArrayOutput values. -// You can construct a concrete instance of `GetClientGatewayTagArrayInput` via: -// -// GetClientGatewayTagArray{ GetClientGatewayTagArgs{...} } -type GetClientGatewayTagArrayInput interface { - pulumi.Input - - ToGetClientGatewayTagArrayOutput() GetClientGatewayTagArrayOutput - ToGetClientGatewayTagArrayOutputWithContext(context.Context) GetClientGatewayTagArrayOutput -} - -type GetClientGatewayTagArray []GetClientGatewayTagInput - -func (GetClientGatewayTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClientGatewayTag)(nil)).Elem() -} - -func (i GetClientGatewayTagArray) ToGetClientGatewayTagArrayOutput() GetClientGatewayTagArrayOutput { - return i.ToGetClientGatewayTagArrayOutputWithContext(context.Background()) -} - -func (i GetClientGatewayTagArray) ToGetClientGatewayTagArrayOutputWithContext(ctx context.Context) GetClientGatewayTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClientGatewayTagArrayOutput) -} - -type GetClientGatewayTagOutput struct{ *pulumi.OutputState } - -func (GetClientGatewayTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClientGatewayTag)(nil)).Elem() -} - -func (o GetClientGatewayTagOutput) ToGetClientGatewayTagOutput() GetClientGatewayTagOutput { - return o -} - -func (o GetClientGatewayTagOutput) ToGetClientGatewayTagOutputWithContext(ctx context.Context) GetClientGatewayTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetClientGatewayTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetClientGatewayTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetClientGatewayTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetClientGatewayTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetClientGatewayTagArrayOutput struct{ *pulumi.OutputState } - -func (GetClientGatewayTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClientGatewayTag)(nil)).Elem() -} - -func (o GetClientGatewayTagArrayOutput) ToGetClientGatewayTagArrayOutput() GetClientGatewayTagArrayOutput { - return o -} - -func (o GetClientGatewayTagArrayOutput) ToGetClientGatewayTagArrayOutputWithContext(ctx context.Context) GetClientGatewayTagArrayOutput { - return o -} - -func (o GetClientGatewayTagArrayOutput) Index(i pulumi.IntInput) GetClientGatewayTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClientGatewayTag { - return vs[0].([]GetClientGatewayTag)[vs[1].(int)] - }).(GetClientGatewayTagOutput) -} - -type GetClientGatewaysClientGateway struct { - // The Autonomous System Number (ASN) used by the Border Gateway Protocol (BGP) to find the path to your client gateway through the Internet. - BgpAsn int `pulumi:"bgpAsn"` - // The ID of the client gateway. - ClientGatewayId *string `pulumi:"clientGatewayId"` - // The type of communication tunnel used by the client gateway (only `ipsec.1` is supported). - ConnectionType string `pulumi:"connectionType"` - // The public IPv4 address of the client gateway (must be a fixed address into a NATed network). - PublicIp string `pulumi:"publicIp"` - // The state of the client gateway (`pending` \| `available` \| `deleting` \| `deleted`). - State string `pulumi:"state"` - // The key/value combinations of the tags associated with the client gateways, in the following format: `TAGKEY=TAGVALUE`. - Tags []GetClientGatewaysClientGatewayTag `pulumi:"tags"` -} - -// GetClientGatewaysClientGatewayInput is an input type that accepts GetClientGatewaysClientGatewayArgs and GetClientGatewaysClientGatewayOutput values. -// You can construct a concrete instance of `GetClientGatewaysClientGatewayInput` via: -// -// GetClientGatewaysClientGatewayArgs{...} -type GetClientGatewaysClientGatewayInput interface { - pulumi.Input - - ToGetClientGatewaysClientGatewayOutput() GetClientGatewaysClientGatewayOutput - ToGetClientGatewaysClientGatewayOutputWithContext(context.Context) GetClientGatewaysClientGatewayOutput -} - -type GetClientGatewaysClientGatewayArgs struct { - // The Autonomous System Number (ASN) used by the Border Gateway Protocol (BGP) to find the path to your client gateway through the Internet. - BgpAsn pulumi.IntInput `pulumi:"bgpAsn"` - // The ID of the client gateway. - ClientGatewayId pulumi.StringPtrInput `pulumi:"clientGatewayId"` - // The type of communication tunnel used by the client gateway (only `ipsec.1` is supported). - ConnectionType pulumi.StringInput `pulumi:"connectionType"` - // The public IPv4 address of the client gateway (must be a fixed address into a NATed network). - PublicIp pulumi.StringInput `pulumi:"publicIp"` - // The state of the client gateway (`pending` \| `available` \| `deleting` \| `deleted`). - State pulumi.StringInput `pulumi:"state"` - // The key/value combinations of the tags associated with the client gateways, in the following format: `TAGKEY=TAGVALUE`. - Tags GetClientGatewaysClientGatewayTagArrayInput `pulumi:"tags"` -} - -func (GetClientGatewaysClientGatewayArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClientGatewaysClientGateway)(nil)).Elem() -} - -func (i GetClientGatewaysClientGatewayArgs) ToGetClientGatewaysClientGatewayOutput() GetClientGatewaysClientGatewayOutput { - return i.ToGetClientGatewaysClientGatewayOutputWithContext(context.Background()) -} - -func (i GetClientGatewaysClientGatewayArgs) ToGetClientGatewaysClientGatewayOutputWithContext(ctx context.Context) GetClientGatewaysClientGatewayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClientGatewaysClientGatewayOutput) -} - -// GetClientGatewaysClientGatewayArrayInput is an input type that accepts GetClientGatewaysClientGatewayArray and GetClientGatewaysClientGatewayArrayOutput values. -// You can construct a concrete instance of `GetClientGatewaysClientGatewayArrayInput` via: -// -// GetClientGatewaysClientGatewayArray{ GetClientGatewaysClientGatewayArgs{...} } -type GetClientGatewaysClientGatewayArrayInput interface { - pulumi.Input - - ToGetClientGatewaysClientGatewayArrayOutput() GetClientGatewaysClientGatewayArrayOutput - ToGetClientGatewaysClientGatewayArrayOutputWithContext(context.Context) GetClientGatewaysClientGatewayArrayOutput -} - -type GetClientGatewaysClientGatewayArray []GetClientGatewaysClientGatewayInput - -func (GetClientGatewaysClientGatewayArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClientGatewaysClientGateway)(nil)).Elem() -} - -func (i GetClientGatewaysClientGatewayArray) ToGetClientGatewaysClientGatewayArrayOutput() GetClientGatewaysClientGatewayArrayOutput { - return i.ToGetClientGatewaysClientGatewayArrayOutputWithContext(context.Background()) -} - -func (i GetClientGatewaysClientGatewayArray) ToGetClientGatewaysClientGatewayArrayOutputWithContext(ctx context.Context) GetClientGatewaysClientGatewayArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClientGatewaysClientGatewayArrayOutput) -} - -type GetClientGatewaysClientGatewayOutput struct{ *pulumi.OutputState } - -func (GetClientGatewaysClientGatewayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClientGatewaysClientGateway)(nil)).Elem() -} - -func (o GetClientGatewaysClientGatewayOutput) ToGetClientGatewaysClientGatewayOutput() GetClientGatewaysClientGatewayOutput { - return o -} - -func (o GetClientGatewaysClientGatewayOutput) ToGetClientGatewaysClientGatewayOutputWithContext(ctx context.Context) GetClientGatewaysClientGatewayOutput { - return o -} - -// The Autonomous System Number (ASN) used by the Border Gateway Protocol (BGP) to find the path to your client gateway through the Internet. -func (o GetClientGatewaysClientGatewayOutput) BgpAsn() pulumi.IntOutput { - return o.ApplyT(func(v GetClientGatewaysClientGateway) int { return v.BgpAsn }).(pulumi.IntOutput) -} - -// The ID of the client gateway. -func (o GetClientGatewaysClientGatewayOutput) ClientGatewayId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClientGatewaysClientGateway) *string { return v.ClientGatewayId }).(pulumi.StringPtrOutput) -} - -// The type of communication tunnel used by the client gateway (only `ipsec.1` is supported). -func (o GetClientGatewaysClientGatewayOutput) ConnectionType() pulumi.StringOutput { - return o.ApplyT(func(v GetClientGatewaysClientGateway) string { return v.ConnectionType }).(pulumi.StringOutput) -} - -// The public IPv4 address of the client gateway (must be a fixed address into a NATed network). -func (o GetClientGatewaysClientGatewayOutput) PublicIp() pulumi.StringOutput { - return o.ApplyT(func(v GetClientGatewaysClientGateway) string { return v.PublicIp }).(pulumi.StringOutput) -} - -// The state of the client gateway (`pending` \| `available` \| `deleting` \| `deleted`). -func (o GetClientGatewaysClientGatewayOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetClientGatewaysClientGateway) string { return v.State }).(pulumi.StringOutput) -} - -// The key/value combinations of the tags associated with the client gateways, in the following format: `TAGKEY=TAGVALUE`. -func (o GetClientGatewaysClientGatewayOutput) Tags() GetClientGatewaysClientGatewayTagArrayOutput { - return o.ApplyT(func(v GetClientGatewaysClientGateway) []GetClientGatewaysClientGatewayTag { return v.Tags }).(GetClientGatewaysClientGatewayTagArrayOutput) -} - -type GetClientGatewaysClientGatewayArrayOutput struct{ *pulumi.OutputState } - -func (GetClientGatewaysClientGatewayArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClientGatewaysClientGateway)(nil)).Elem() -} - -func (o GetClientGatewaysClientGatewayArrayOutput) ToGetClientGatewaysClientGatewayArrayOutput() GetClientGatewaysClientGatewayArrayOutput { - return o -} - -func (o GetClientGatewaysClientGatewayArrayOutput) ToGetClientGatewaysClientGatewayArrayOutputWithContext(ctx context.Context) GetClientGatewaysClientGatewayArrayOutput { - return o -} - -func (o GetClientGatewaysClientGatewayArrayOutput) Index(i pulumi.IntInput) GetClientGatewaysClientGatewayOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClientGatewaysClientGateway { - return vs[0].([]GetClientGatewaysClientGateway)[vs[1].(int)] - }).(GetClientGatewaysClientGatewayOutput) -} - -type GetClientGatewaysClientGatewayTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetClientGatewaysClientGatewayTagInput is an input type that accepts GetClientGatewaysClientGatewayTagArgs and GetClientGatewaysClientGatewayTagOutput values. -// You can construct a concrete instance of `GetClientGatewaysClientGatewayTagInput` via: -// -// GetClientGatewaysClientGatewayTagArgs{...} -type GetClientGatewaysClientGatewayTagInput interface { - pulumi.Input - - ToGetClientGatewaysClientGatewayTagOutput() GetClientGatewaysClientGatewayTagOutput - ToGetClientGatewaysClientGatewayTagOutputWithContext(context.Context) GetClientGatewaysClientGatewayTagOutput -} - -type GetClientGatewaysClientGatewayTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetClientGatewaysClientGatewayTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClientGatewaysClientGatewayTag)(nil)).Elem() -} - -func (i GetClientGatewaysClientGatewayTagArgs) ToGetClientGatewaysClientGatewayTagOutput() GetClientGatewaysClientGatewayTagOutput { - return i.ToGetClientGatewaysClientGatewayTagOutputWithContext(context.Background()) -} - -func (i GetClientGatewaysClientGatewayTagArgs) ToGetClientGatewaysClientGatewayTagOutputWithContext(ctx context.Context) GetClientGatewaysClientGatewayTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClientGatewaysClientGatewayTagOutput) -} - -// GetClientGatewaysClientGatewayTagArrayInput is an input type that accepts GetClientGatewaysClientGatewayTagArray and GetClientGatewaysClientGatewayTagArrayOutput values. -// You can construct a concrete instance of `GetClientGatewaysClientGatewayTagArrayInput` via: -// -// GetClientGatewaysClientGatewayTagArray{ GetClientGatewaysClientGatewayTagArgs{...} } -type GetClientGatewaysClientGatewayTagArrayInput interface { - pulumi.Input - - ToGetClientGatewaysClientGatewayTagArrayOutput() GetClientGatewaysClientGatewayTagArrayOutput - ToGetClientGatewaysClientGatewayTagArrayOutputWithContext(context.Context) GetClientGatewaysClientGatewayTagArrayOutput -} - -type GetClientGatewaysClientGatewayTagArray []GetClientGatewaysClientGatewayTagInput - -func (GetClientGatewaysClientGatewayTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClientGatewaysClientGatewayTag)(nil)).Elem() -} - -func (i GetClientGatewaysClientGatewayTagArray) ToGetClientGatewaysClientGatewayTagArrayOutput() GetClientGatewaysClientGatewayTagArrayOutput { - return i.ToGetClientGatewaysClientGatewayTagArrayOutputWithContext(context.Background()) -} - -func (i GetClientGatewaysClientGatewayTagArray) ToGetClientGatewaysClientGatewayTagArrayOutputWithContext(ctx context.Context) GetClientGatewaysClientGatewayTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClientGatewaysClientGatewayTagArrayOutput) -} - -type GetClientGatewaysClientGatewayTagOutput struct{ *pulumi.OutputState } - -func (GetClientGatewaysClientGatewayTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClientGatewaysClientGatewayTag)(nil)).Elem() -} - -func (o GetClientGatewaysClientGatewayTagOutput) ToGetClientGatewaysClientGatewayTagOutput() GetClientGatewaysClientGatewayTagOutput { - return o -} - -func (o GetClientGatewaysClientGatewayTagOutput) ToGetClientGatewaysClientGatewayTagOutputWithContext(ctx context.Context) GetClientGatewaysClientGatewayTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetClientGatewaysClientGatewayTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetClientGatewaysClientGatewayTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetClientGatewaysClientGatewayTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetClientGatewaysClientGatewayTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetClientGatewaysClientGatewayTagArrayOutput struct{ *pulumi.OutputState } - -func (GetClientGatewaysClientGatewayTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClientGatewaysClientGatewayTag)(nil)).Elem() -} - -func (o GetClientGatewaysClientGatewayTagArrayOutput) ToGetClientGatewaysClientGatewayTagArrayOutput() GetClientGatewaysClientGatewayTagArrayOutput { - return o -} - -func (o GetClientGatewaysClientGatewayTagArrayOutput) ToGetClientGatewaysClientGatewayTagArrayOutputWithContext(ctx context.Context) GetClientGatewaysClientGatewayTagArrayOutput { - return o -} - -func (o GetClientGatewaysClientGatewayTagArrayOutput) Index(i pulumi.IntInput) GetClientGatewaysClientGatewayTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClientGatewaysClientGatewayTag { - return vs[0].([]GetClientGatewaysClientGatewayTag)[vs[1].(int)] - }).(GetClientGatewaysClientGatewayTagOutput) -} - -type GetClientGatewaysFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetClientGatewaysFilterInput is an input type that accepts GetClientGatewaysFilterArgs and GetClientGatewaysFilterOutput values. -// You can construct a concrete instance of `GetClientGatewaysFilterInput` via: -// -// GetClientGatewaysFilterArgs{...} -type GetClientGatewaysFilterInput interface { - pulumi.Input - - ToGetClientGatewaysFilterOutput() GetClientGatewaysFilterOutput - ToGetClientGatewaysFilterOutputWithContext(context.Context) GetClientGatewaysFilterOutput -} - -type GetClientGatewaysFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetClientGatewaysFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClientGatewaysFilter)(nil)).Elem() -} - -func (i GetClientGatewaysFilterArgs) ToGetClientGatewaysFilterOutput() GetClientGatewaysFilterOutput { - return i.ToGetClientGatewaysFilterOutputWithContext(context.Background()) -} - -func (i GetClientGatewaysFilterArgs) ToGetClientGatewaysFilterOutputWithContext(ctx context.Context) GetClientGatewaysFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClientGatewaysFilterOutput) -} - -// GetClientGatewaysFilterArrayInput is an input type that accepts GetClientGatewaysFilterArray and GetClientGatewaysFilterArrayOutput values. -// You can construct a concrete instance of `GetClientGatewaysFilterArrayInput` via: -// -// GetClientGatewaysFilterArray{ GetClientGatewaysFilterArgs{...} } -type GetClientGatewaysFilterArrayInput interface { - pulumi.Input - - ToGetClientGatewaysFilterArrayOutput() GetClientGatewaysFilterArrayOutput - ToGetClientGatewaysFilterArrayOutputWithContext(context.Context) GetClientGatewaysFilterArrayOutput -} - -type GetClientGatewaysFilterArray []GetClientGatewaysFilterInput - -func (GetClientGatewaysFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClientGatewaysFilter)(nil)).Elem() -} - -func (i GetClientGatewaysFilterArray) ToGetClientGatewaysFilterArrayOutput() GetClientGatewaysFilterArrayOutput { - return i.ToGetClientGatewaysFilterArrayOutputWithContext(context.Background()) -} - -func (i GetClientGatewaysFilterArray) ToGetClientGatewaysFilterArrayOutputWithContext(ctx context.Context) GetClientGatewaysFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClientGatewaysFilterArrayOutput) -} - -type GetClientGatewaysFilterOutput struct{ *pulumi.OutputState } - -func (GetClientGatewaysFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClientGatewaysFilter)(nil)).Elem() -} - -func (o GetClientGatewaysFilterOutput) ToGetClientGatewaysFilterOutput() GetClientGatewaysFilterOutput { - return o -} - -func (o GetClientGatewaysFilterOutput) ToGetClientGatewaysFilterOutputWithContext(ctx context.Context) GetClientGatewaysFilterOutput { - return o -} - -func (o GetClientGatewaysFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetClientGatewaysFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetClientGatewaysFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClientGatewaysFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetClientGatewaysFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetClientGatewaysFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClientGatewaysFilter)(nil)).Elem() -} - -func (o GetClientGatewaysFilterArrayOutput) ToGetClientGatewaysFilterArrayOutput() GetClientGatewaysFilterArrayOutput { - return o -} - -func (o GetClientGatewaysFilterArrayOutput) ToGetClientGatewaysFilterArrayOutputWithContext(ctx context.Context) GetClientGatewaysFilterArrayOutput { - return o -} - -func (o GetClientGatewaysFilterArrayOutput) Index(i pulumi.IntInput) GetClientGatewaysFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClientGatewaysFilter { - return vs[0].([]GetClientGatewaysFilter)[vs[1].(int)] - }).(GetClientGatewaysFilterOutput) -} - -type GetDhcpOptionFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetDhcpOptionFilterInput is an input type that accepts GetDhcpOptionFilterArgs and GetDhcpOptionFilterOutput values. -// You can construct a concrete instance of `GetDhcpOptionFilterInput` via: -// -// GetDhcpOptionFilterArgs{...} -type GetDhcpOptionFilterInput interface { - pulumi.Input - - ToGetDhcpOptionFilterOutput() GetDhcpOptionFilterOutput - ToGetDhcpOptionFilterOutputWithContext(context.Context) GetDhcpOptionFilterOutput -} - -type GetDhcpOptionFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetDhcpOptionFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDhcpOptionFilter)(nil)).Elem() -} - -func (i GetDhcpOptionFilterArgs) ToGetDhcpOptionFilterOutput() GetDhcpOptionFilterOutput { - return i.ToGetDhcpOptionFilterOutputWithContext(context.Background()) -} - -func (i GetDhcpOptionFilterArgs) ToGetDhcpOptionFilterOutputWithContext(ctx context.Context) GetDhcpOptionFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDhcpOptionFilterOutput) -} - -// GetDhcpOptionFilterArrayInput is an input type that accepts GetDhcpOptionFilterArray and GetDhcpOptionFilterArrayOutput values. -// You can construct a concrete instance of `GetDhcpOptionFilterArrayInput` via: -// -// GetDhcpOptionFilterArray{ GetDhcpOptionFilterArgs{...} } -type GetDhcpOptionFilterArrayInput interface { - pulumi.Input - - ToGetDhcpOptionFilterArrayOutput() GetDhcpOptionFilterArrayOutput - ToGetDhcpOptionFilterArrayOutputWithContext(context.Context) GetDhcpOptionFilterArrayOutput -} - -type GetDhcpOptionFilterArray []GetDhcpOptionFilterInput - -func (GetDhcpOptionFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDhcpOptionFilter)(nil)).Elem() -} - -func (i GetDhcpOptionFilterArray) ToGetDhcpOptionFilterArrayOutput() GetDhcpOptionFilterArrayOutput { - return i.ToGetDhcpOptionFilterArrayOutputWithContext(context.Background()) -} - -func (i GetDhcpOptionFilterArray) ToGetDhcpOptionFilterArrayOutputWithContext(ctx context.Context) GetDhcpOptionFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDhcpOptionFilterArrayOutput) -} - -type GetDhcpOptionFilterOutput struct{ *pulumi.OutputState } - -func (GetDhcpOptionFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDhcpOptionFilter)(nil)).Elem() -} - -func (o GetDhcpOptionFilterOutput) ToGetDhcpOptionFilterOutput() GetDhcpOptionFilterOutput { - return o -} - -func (o GetDhcpOptionFilterOutput) ToGetDhcpOptionFilterOutputWithContext(ctx context.Context) GetDhcpOptionFilterOutput { - return o -} - -func (o GetDhcpOptionFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetDhcpOptionFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetDhcpOptionFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetDhcpOptionFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetDhcpOptionFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetDhcpOptionFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDhcpOptionFilter)(nil)).Elem() -} - -func (o GetDhcpOptionFilterArrayOutput) ToGetDhcpOptionFilterArrayOutput() GetDhcpOptionFilterArrayOutput { - return o -} - -func (o GetDhcpOptionFilterArrayOutput) ToGetDhcpOptionFilterArrayOutputWithContext(ctx context.Context) GetDhcpOptionFilterArrayOutput { - return o -} - -func (o GetDhcpOptionFilterArrayOutput) Index(i pulumi.IntInput) GetDhcpOptionFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDhcpOptionFilter { - return vs[0].([]GetDhcpOptionFilter)[vs[1].(int)] - }).(GetDhcpOptionFilterOutput) -} - -type GetDhcpOptionTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetDhcpOptionTagInput is an input type that accepts GetDhcpOptionTagArgs and GetDhcpOptionTagOutput values. -// You can construct a concrete instance of `GetDhcpOptionTagInput` via: -// -// GetDhcpOptionTagArgs{...} -type GetDhcpOptionTagInput interface { - pulumi.Input - - ToGetDhcpOptionTagOutput() GetDhcpOptionTagOutput - ToGetDhcpOptionTagOutputWithContext(context.Context) GetDhcpOptionTagOutput -} - -type GetDhcpOptionTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetDhcpOptionTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDhcpOptionTag)(nil)).Elem() -} - -func (i GetDhcpOptionTagArgs) ToGetDhcpOptionTagOutput() GetDhcpOptionTagOutput { - return i.ToGetDhcpOptionTagOutputWithContext(context.Background()) -} - -func (i GetDhcpOptionTagArgs) ToGetDhcpOptionTagOutputWithContext(ctx context.Context) GetDhcpOptionTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDhcpOptionTagOutput) -} - -// GetDhcpOptionTagArrayInput is an input type that accepts GetDhcpOptionTagArray and GetDhcpOptionTagArrayOutput values. -// You can construct a concrete instance of `GetDhcpOptionTagArrayInput` via: -// -// GetDhcpOptionTagArray{ GetDhcpOptionTagArgs{...} } -type GetDhcpOptionTagArrayInput interface { - pulumi.Input - - ToGetDhcpOptionTagArrayOutput() GetDhcpOptionTagArrayOutput - ToGetDhcpOptionTagArrayOutputWithContext(context.Context) GetDhcpOptionTagArrayOutput -} - -type GetDhcpOptionTagArray []GetDhcpOptionTagInput - -func (GetDhcpOptionTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDhcpOptionTag)(nil)).Elem() -} - -func (i GetDhcpOptionTagArray) ToGetDhcpOptionTagArrayOutput() GetDhcpOptionTagArrayOutput { - return i.ToGetDhcpOptionTagArrayOutputWithContext(context.Background()) -} - -func (i GetDhcpOptionTagArray) ToGetDhcpOptionTagArrayOutputWithContext(ctx context.Context) GetDhcpOptionTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDhcpOptionTagArrayOutput) -} - -type GetDhcpOptionTagOutput struct{ *pulumi.OutputState } - -func (GetDhcpOptionTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDhcpOptionTag)(nil)).Elem() -} - -func (o GetDhcpOptionTagOutput) ToGetDhcpOptionTagOutput() GetDhcpOptionTagOutput { - return o -} - -func (o GetDhcpOptionTagOutput) ToGetDhcpOptionTagOutputWithContext(ctx context.Context) GetDhcpOptionTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetDhcpOptionTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetDhcpOptionTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetDhcpOptionTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetDhcpOptionTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetDhcpOptionTagArrayOutput struct{ *pulumi.OutputState } - -func (GetDhcpOptionTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDhcpOptionTag)(nil)).Elem() -} - -func (o GetDhcpOptionTagArrayOutput) ToGetDhcpOptionTagArrayOutput() GetDhcpOptionTagArrayOutput { - return o -} - -func (o GetDhcpOptionTagArrayOutput) ToGetDhcpOptionTagArrayOutputWithContext(ctx context.Context) GetDhcpOptionTagArrayOutput { - return o -} - -func (o GetDhcpOptionTagArrayOutput) Index(i pulumi.IntInput) GetDhcpOptionTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDhcpOptionTag { - return vs[0].([]GetDhcpOptionTag)[vs[1].(int)] - }).(GetDhcpOptionTagOutput) -} - -type GetDhcpOptionsDhcpOption struct { - // If true, lists all default DHCP options set. If false, lists all non-default DHCP options set. - Default bool `pulumi:"default"` - // The ID of the DHCP options set. - DhcpOptionsSetId string `pulumi:"dhcpOptionsSetId"` - // The domain name. - DomainName string `pulumi:"domainName"` - // The IPs of the domain name servers used for the DHCP options sets. - DomainNameServers []string `pulumi:"domainNameServers"` - // The IPs of the log servers used for the DHCP options sets. - LogServers []string `pulumi:"logServers"` - // The IPs of the Network Time Protocol (NTP) servers used for the DHCP options sets. - NtpServers []string `pulumi:"ntpServers"` - // The key/value combinations of the tags associated with the DHCP options sets, in the following format: `TAGKEY=TAGVALUE`. - Tags []GetDhcpOptionsDhcpOptionTag `pulumi:"tags"` -} - -// GetDhcpOptionsDhcpOptionInput is an input type that accepts GetDhcpOptionsDhcpOptionArgs and GetDhcpOptionsDhcpOptionOutput values. -// You can construct a concrete instance of `GetDhcpOptionsDhcpOptionInput` via: -// -// GetDhcpOptionsDhcpOptionArgs{...} -type GetDhcpOptionsDhcpOptionInput interface { - pulumi.Input - - ToGetDhcpOptionsDhcpOptionOutput() GetDhcpOptionsDhcpOptionOutput - ToGetDhcpOptionsDhcpOptionOutputWithContext(context.Context) GetDhcpOptionsDhcpOptionOutput -} - -type GetDhcpOptionsDhcpOptionArgs struct { - // If true, lists all default DHCP options set. If false, lists all non-default DHCP options set. - Default pulumi.BoolInput `pulumi:"default"` - // The ID of the DHCP options set. - DhcpOptionsSetId pulumi.StringInput `pulumi:"dhcpOptionsSetId"` - // The domain name. - DomainName pulumi.StringInput `pulumi:"domainName"` - // The IPs of the domain name servers used for the DHCP options sets. - DomainNameServers pulumi.StringArrayInput `pulumi:"domainNameServers"` - // The IPs of the log servers used for the DHCP options sets. - LogServers pulumi.StringArrayInput `pulumi:"logServers"` - // The IPs of the Network Time Protocol (NTP) servers used for the DHCP options sets. - NtpServers pulumi.StringArrayInput `pulumi:"ntpServers"` - // The key/value combinations of the tags associated with the DHCP options sets, in the following format: `TAGKEY=TAGVALUE`. - Tags GetDhcpOptionsDhcpOptionTagArrayInput `pulumi:"tags"` -} - -func (GetDhcpOptionsDhcpOptionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDhcpOptionsDhcpOption)(nil)).Elem() -} - -func (i GetDhcpOptionsDhcpOptionArgs) ToGetDhcpOptionsDhcpOptionOutput() GetDhcpOptionsDhcpOptionOutput { - return i.ToGetDhcpOptionsDhcpOptionOutputWithContext(context.Background()) -} - -func (i GetDhcpOptionsDhcpOptionArgs) ToGetDhcpOptionsDhcpOptionOutputWithContext(ctx context.Context) GetDhcpOptionsDhcpOptionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDhcpOptionsDhcpOptionOutput) -} - -// GetDhcpOptionsDhcpOptionArrayInput is an input type that accepts GetDhcpOptionsDhcpOptionArray and GetDhcpOptionsDhcpOptionArrayOutput values. -// You can construct a concrete instance of `GetDhcpOptionsDhcpOptionArrayInput` via: -// -// GetDhcpOptionsDhcpOptionArray{ GetDhcpOptionsDhcpOptionArgs{...} } -type GetDhcpOptionsDhcpOptionArrayInput interface { - pulumi.Input - - ToGetDhcpOptionsDhcpOptionArrayOutput() GetDhcpOptionsDhcpOptionArrayOutput - ToGetDhcpOptionsDhcpOptionArrayOutputWithContext(context.Context) GetDhcpOptionsDhcpOptionArrayOutput -} - -type GetDhcpOptionsDhcpOptionArray []GetDhcpOptionsDhcpOptionInput - -func (GetDhcpOptionsDhcpOptionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDhcpOptionsDhcpOption)(nil)).Elem() -} - -func (i GetDhcpOptionsDhcpOptionArray) ToGetDhcpOptionsDhcpOptionArrayOutput() GetDhcpOptionsDhcpOptionArrayOutput { - return i.ToGetDhcpOptionsDhcpOptionArrayOutputWithContext(context.Background()) -} - -func (i GetDhcpOptionsDhcpOptionArray) ToGetDhcpOptionsDhcpOptionArrayOutputWithContext(ctx context.Context) GetDhcpOptionsDhcpOptionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDhcpOptionsDhcpOptionArrayOutput) -} - -type GetDhcpOptionsDhcpOptionOutput struct{ *pulumi.OutputState } - -func (GetDhcpOptionsDhcpOptionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDhcpOptionsDhcpOption)(nil)).Elem() -} - -func (o GetDhcpOptionsDhcpOptionOutput) ToGetDhcpOptionsDhcpOptionOutput() GetDhcpOptionsDhcpOptionOutput { - return o -} - -func (o GetDhcpOptionsDhcpOptionOutput) ToGetDhcpOptionsDhcpOptionOutputWithContext(ctx context.Context) GetDhcpOptionsDhcpOptionOutput { - return o -} - -// If true, lists all default DHCP options set. If false, lists all non-default DHCP options set. -func (o GetDhcpOptionsDhcpOptionOutput) Default() pulumi.BoolOutput { - return o.ApplyT(func(v GetDhcpOptionsDhcpOption) bool { return v.Default }).(pulumi.BoolOutput) -} - -// The ID of the DHCP options set. -func (o GetDhcpOptionsDhcpOptionOutput) DhcpOptionsSetId() pulumi.StringOutput { - return o.ApplyT(func(v GetDhcpOptionsDhcpOption) string { return v.DhcpOptionsSetId }).(pulumi.StringOutput) -} - -// The domain name. -func (o GetDhcpOptionsDhcpOptionOutput) DomainName() pulumi.StringOutput { - return o.ApplyT(func(v GetDhcpOptionsDhcpOption) string { return v.DomainName }).(pulumi.StringOutput) -} - -// The IPs of the domain name servers used for the DHCP options sets. -func (o GetDhcpOptionsDhcpOptionOutput) DomainNameServers() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetDhcpOptionsDhcpOption) []string { return v.DomainNameServers }).(pulumi.StringArrayOutput) -} - -// The IPs of the log servers used for the DHCP options sets. -func (o GetDhcpOptionsDhcpOptionOutput) LogServers() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetDhcpOptionsDhcpOption) []string { return v.LogServers }).(pulumi.StringArrayOutput) -} - -// The IPs of the Network Time Protocol (NTP) servers used for the DHCP options sets. -func (o GetDhcpOptionsDhcpOptionOutput) NtpServers() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetDhcpOptionsDhcpOption) []string { return v.NtpServers }).(pulumi.StringArrayOutput) -} - -// The key/value combinations of the tags associated with the DHCP options sets, in the following format: `TAGKEY=TAGVALUE`. -func (o GetDhcpOptionsDhcpOptionOutput) Tags() GetDhcpOptionsDhcpOptionTagArrayOutput { - return o.ApplyT(func(v GetDhcpOptionsDhcpOption) []GetDhcpOptionsDhcpOptionTag { return v.Tags }).(GetDhcpOptionsDhcpOptionTagArrayOutput) -} - -type GetDhcpOptionsDhcpOptionArrayOutput struct{ *pulumi.OutputState } - -func (GetDhcpOptionsDhcpOptionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDhcpOptionsDhcpOption)(nil)).Elem() -} - -func (o GetDhcpOptionsDhcpOptionArrayOutput) ToGetDhcpOptionsDhcpOptionArrayOutput() GetDhcpOptionsDhcpOptionArrayOutput { - return o -} - -func (o GetDhcpOptionsDhcpOptionArrayOutput) ToGetDhcpOptionsDhcpOptionArrayOutputWithContext(ctx context.Context) GetDhcpOptionsDhcpOptionArrayOutput { - return o -} - -func (o GetDhcpOptionsDhcpOptionArrayOutput) Index(i pulumi.IntInput) GetDhcpOptionsDhcpOptionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDhcpOptionsDhcpOption { - return vs[0].([]GetDhcpOptionsDhcpOption)[vs[1].(int)] - }).(GetDhcpOptionsDhcpOptionOutput) -} - -type GetDhcpOptionsDhcpOptionTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetDhcpOptionsDhcpOptionTagInput is an input type that accepts GetDhcpOptionsDhcpOptionTagArgs and GetDhcpOptionsDhcpOptionTagOutput values. -// You can construct a concrete instance of `GetDhcpOptionsDhcpOptionTagInput` via: -// -// GetDhcpOptionsDhcpOptionTagArgs{...} -type GetDhcpOptionsDhcpOptionTagInput interface { - pulumi.Input - - ToGetDhcpOptionsDhcpOptionTagOutput() GetDhcpOptionsDhcpOptionTagOutput - ToGetDhcpOptionsDhcpOptionTagOutputWithContext(context.Context) GetDhcpOptionsDhcpOptionTagOutput -} - -type GetDhcpOptionsDhcpOptionTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetDhcpOptionsDhcpOptionTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDhcpOptionsDhcpOptionTag)(nil)).Elem() -} - -func (i GetDhcpOptionsDhcpOptionTagArgs) ToGetDhcpOptionsDhcpOptionTagOutput() GetDhcpOptionsDhcpOptionTagOutput { - return i.ToGetDhcpOptionsDhcpOptionTagOutputWithContext(context.Background()) -} - -func (i GetDhcpOptionsDhcpOptionTagArgs) ToGetDhcpOptionsDhcpOptionTagOutputWithContext(ctx context.Context) GetDhcpOptionsDhcpOptionTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDhcpOptionsDhcpOptionTagOutput) -} - -// GetDhcpOptionsDhcpOptionTagArrayInput is an input type that accepts GetDhcpOptionsDhcpOptionTagArray and GetDhcpOptionsDhcpOptionTagArrayOutput values. -// You can construct a concrete instance of `GetDhcpOptionsDhcpOptionTagArrayInput` via: -// -// GetDhcpOptionsDhcpOptionTagArray{ GetDhcpOptionsDhcpOptionTagArgs{...} } -type GetDhcpOptionsDhcpOptionTagArrayInput interface { - pulumi.Input - - ToGetDhcpOptionsDhcpOptionTagArrayOutput() GetDhcpOptionsDhcpOptionTagArrayOutput - ToGetDhcpOptionsDhcpOptionTagArrayOutputWithContext(context.Context) GetDhcpOptionsDhcpOptionTagArrayOutput -} - -type GetDhcpOptionsDhcpOptionTagArray []GetDhcpOptionsDhcpOptionTagInput - -func (GetDhcpOptionsDhcpOptionTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDhcpOptionsDhcpOptionTag)(nil)).Elem() -} - -func (i GetDhcpOptionsDhcpOptionTagArray) ToGetDhcpOptionsDhcpOptionTagArrayOutput() GetDhcpOptionsDhcpOptionTagArrayOutput { - return i.ToGetDhcpOptionsDhcpOptionTagArrayOutputWithContext(context.Background()) -} - -func (i GetDhcpOptionsDhcpOptionTagArray) ToGetDhcpOptionsDhcpOptionTagArrayOutputWithContext(ctx context.Context) GetDhcpOptionsDhcpOptionTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDhcpOptionsDhcpOptionTagArrayOutput) -} - -type GetDhcpOptionsDhcpOptionTagOutput struct{ *pulumi.OutputState } - -func (GetDhcpOptionsDhcpOptionTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDhcpOptionsDhcpOptionTag)(nil)).Elem() -} - -func (o GetDhcpOptionsDhcpOptionTagOutput) ToGetDhcpOptionsDhcpOptionTagOutput() GetDhcpOptionsDhcpOptionTagOutput { - return o -} - -func (o GetDhcpOptionsDhcpOptionTagOutput) ToGetDhcpOptionsDhcpOptionTagOutputWithContext(ctx context.Context) GetDhcpOptionsDhcpOptionTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetDhcpOptionsDhcpOptionTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetDhcpOptionsDhcpOptionTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetDhcpOptionsDhcpOptionTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetDhcpOptionsDhcpOptionTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetDhcpOptionsDhcpOptionTagArrayOutput struct{ *pulumi.OutputState } - -func (GetDhcpOptionsDhcpOptionTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDhcpOptionsDhcpOptionTag)(nil)).Elem() -} - -func (o GetDhcpOptionsDhcpOptionTagArrayOutput) ToGetDhcpOptionsDhcpOptionTagArrayOutput() GetDhcpOptionsDhcpOptionTagArrayOutput { - return o -} - -func (o GetDhcpOptionsDhcpOptionTagArrayOutput) ToGetDhcpOptionsDhcpOptionTagArrayOutputWithContext(ctx context.Context) GetDhcpOptionsDhcpOptionTagArrayOutput { - return o -} - -func (o GetDhcpOptionsDhcpOptionTagArrayOutput) Index(i pulumi.IntInput) GetDhcpOptionsDhcpOptionTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDhcpOptionsDhcpOptionTag { - return vs[0].([]GetDhcpOptionsDhcpOptionTag)[vs[1].(int)] - }).(GetDhcpOptionsDhcpOptionTagOutput) -} - -type GetDhcpOptionsFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetDhcpOptionsFilterInput is an input type that accepts GetDhcpOptionsFilterArgs and GetDhcpOptionsFilterOutput values. -// You can construct a concrete instance of `GetDhcpOptionsFilterInput` via: -// -// GetDhcpOptionsFilterArgs{...} -type GetDhcpOptionsFilterInput interface { - pulumi.Input - - ToGetDhcpOptionsFilterOutput() GetDhcpOptionsFilterOutput - ToGetDhcpOptionsFilterOutputWithContext(context.Context) GetDhcpOptionsFilterOutput -} - -type GetDhcpOptionsFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetDhcpOptionsFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetDhcpOptionsFilter)(nil)).Elem() -} - -func (i GetDhcpOptionsFilterArgs) ToGetDhcpOptionsFilterOutput() GetDhcpOptionsFilterOutput { - return i.ToGetDhcpOptionsFilterOutputWithContext(context.Background()) -} - -func (i GetDhcpOptionsFilterArgs) ToGetDhcpOptionsFilterOutputWithContext(ctx context.Context) GetDhcpOptionsFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDhcpOptionsFilterOutput) -} - -// GetDhcpOptionsFilterArrayInput is an input type that accepts GetDhcpOptionsFilterArray and GetDhcpOptionsFilterArrayOutput values. -// You can construct a concrete instance of `GetDhcpOptionsFilterArrayInput` via: -// -// GetDhcpOptionsFilterArray{ GetDhcpOptionsFilterArgs{...} } -type GetDhcpOptionsFilterArrayInput interface { - pulumi.Input - - ToGetDhcpOptionsFilterArrayOutput() GetDhcpOptionsFilterArrayOutput - ToGetDhcpOptionsFilterArrayOutputWithContext(context.Context) GetDhcpOptionsFilterArrayOutput -} - -type GetDhcpOptionsFilterArray []GetDhcpOptionsFilterInput - -func (GetDhcpOptionsFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDhcpOptionsFilter)(nil)).Elem() -} - -func (i GetDhcpOptionsFilterArray) ToGetDhcpOptionsFilterArrayOutput() GetDhcpOptionsFilterArrayOutput { - return i.ToGetDhcpOptionsFilterArrayOutputWithContext(context.Background()) -} - -func (i GetDhcpOptionsFilterArray) ToGetDhcpOptionsFilterArrayOutputWithContext(ctx context.Context) GetDhcpOptionsFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetDhcpOptionsFilterArrayOutput) -} - -type GetDhcpOptionsFilterOutput struct{ *pulumi.OutputState } - -func (GetDhcpOptionsFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetDhcpOptionsFilter)(nil)).Elem() -} - -func (o GetDhcpOptionsFilterOutput) ToGetDhcpOptionsFilterOutput() GetDhcpOptionsFilterOutput { - return o -} - -func (o GetDhcpOptionsFilterOutput) ToGetDhcpOptionsFilterOutputWithContext(ctx context.Context) GetDhcpOptionsFilterOutput { - return o -} - -func (o GetDhcpOptionsFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetDhcpOptionsFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetDhcpOptionsFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetDhcpOptionsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetDhcpOptionsFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetDhcpOptionsFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetDhcpOptionsFilter)(nil)).Elem() -} - -func (o GetDhcpOptionsFilterArrayOutput) ToGetDhcpOptionsFilterArrayOutput() GetDhcpOptionsFilterArrayOutput { - return o -} - -func (o GetDhcpOptionsFilterArrayOutput) ToGetDhcpOptionsFilterArrayOutputWithContext(ctx context.Context) GetDhcpOptionsFilterArrayOutput { - return o -} - -func (o GetDhcpOptionsFilterArrayOutput) Index(i pulumi.IntInput) GetDhcpOptionsFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDhcpOptionsFilter { - return vs[0].([]GetDhcpOptionsFilter)[vs[1].(int)] - }).(GetDhcpOptionsFilterOutput) -} - -type GetFlexibleGpuCatalogFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetFlexibleGpuCatalogFilterInput is an input type that accepts GetFlexibleGpuCatalogFilterArgs and GetFlexibleGpuCatalogFilterOutput values. -// You can construct a concrete instance of `GetFlexibleGpuCatalogFilterInput` via: -// -// GetFlexibleGpuCatalogFilterArgs{...} -type GetFlexibleGpuCatalogFilterInput interface { - pulumi.Input - - ToGetFlexibleGpuCatalogFilterOutput() GetFlexibleGpuCatalogFilterOutput - ToGetFlexibleGpuCatalogFilterOutputWithContext(context.Context) GetFlexibleGpuCatalogFilterOutput -} - -type GetFlexibleGpuCatalogFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetFlexibleGpuCatalogFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFlexibleGpuCatalogFilter)(nil)).Elem() -} - -func (i GetFlexibleGpuCatalogFilterArgs) ToGetFlexibleGpuCatalogFilterOutput() GetFlexibleGpuCatalogFilterOutput { - return i.ToGetFlexibleGpuCatalogFilterOutputWithContext(context.Background()) -} - -func (i GetFlexibleGpuCatalogFilterArgs) ToGetFlexibleGpuCatalogFilterOutputWithContext(ctx context.Context) GetFlexibleGpuCatalogFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFlexibleGpuCatalogFilterOutput) -} - -// GetFlexibleGpuCatalogFilterArrayInput is an input type that accepts GetFlexibleGpuCatalogFilterArray and GetFlexibleGpuCatalogFilterArrayOutput values. -// You can construct a concrete instance of `GetFlexibleGpuCatalogFilterArrayInput` via: -// -// GetFlexibleGpuCatalogFilterArray{ GetFlexibleGpuCatalogFilterArgs{...} } -type GetFlexibleGpuCatalogFilterArrayInput interface { - pulumi.Input - - ToGetFlexibleGpuCatalogFilterArrayOutput() GetFlexibleGpuCatalogFilterArrayOutput - ToGetFlexibleGpuCatalogFilterArrayOutputWithContext(context.Context) GetFlexibleGpuCatalogFilterArrayOutput -} - -type GetFlexibleGpuCatalogFilterArray []GetFlexibleGpuCatalogFilterInput - -func (GetFlexibleGpuCatalogFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFlexibleGpuCatalogFilter)(nil)).Elem() -} - -func (i GetFlexibleGpuCatalogFilterArray) ToGetFlexibleGpuCatalogFilterArrayOutput() GetFlexibleGpuCatalogFilterArrayOutput { - return i.ToGetFlexibleGpuCatalogFilterArrayOutputWithContext(context.Background()) -} - -func (i GetFlexibleGpuCatalogFilterArray) ToGetFlexibleGpuCatalogFilterArrayOutputWithContext(ctx context.Context) GetFlexibleGpuCatalogFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFlexibleGpuCatalogFilterArrayOutput) -} - -type GetFlexibleGpuCatalogFilterOutput struct{ *pulumi.OutputState } - -func (GetFlexibleGpuCatalogFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFlexibleGpuCatalogFilter)(nil)).Elem() -} - -func (o GetFlexibleGpuCatalogFilterOutput) ToGetFlexibleGpuCatalogFilterOutput() GetFlexibleGpuCatalogFilterOutput { - return o -} - -func (o GetFlexibleGpuCatalogFilterOutput) ToGetFlexibleGpuCatalogFilterOutputWithContext(ctx context.Context) GetFlexibleGpuCatalogFilterOutput { - return o -} - -func (o GetFlexibleGpuCatalogFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetFlexibleGpuCatalogFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetFlexibleGpuCatalogFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetFlexibleGpuCatalogFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetFlexibleGpuCatalogFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetFlexibleGpuCatalogFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFlexibleGpuCatalogFilter)(nil)).Elem() -} - -func (o GetFlexibleGpuCatalogFilterArrayOutput) ToGetFlexibleGpuCatalogFilterArrayOutput() GetFlexibleGpuCatalogFilterArrayOutput { - return o -} - -func (o GetFlexibleGpuCatalogFilterArrayOutput) ToGetFlexibleGpuCatalogFilterArrayOutputWithContext(ctx context.Context) GetFlexibleGpuCatalogFilterArrayOutput { - return o -} - -func (o GetFlexibleGpuCatalogFilterArrayOutput) Index(i pulumi.IntInput) GetFlexibleGpuCatalogFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFlexibleGpuCatalogFilter { - return vs[0].([]GetFlexibleGpuCatalogFilter)[vs[1].(int)] - }).(GetFlexibleGpuCatalogFilterOutput) -} - -type GetFlexibleGpuCatalogFlexibleGpuCatalog struct { - // The generations of VMs that the fGPU is compatible with. - Generations []string `pulumi:"generations"` - // The maximum number of VM vCores that the fGPU is compatible with. - MaxCpu int `pulumi:"maxCpu"` - // The maximum amount of VM memory that the fGPU is compatible with. - MaxRam int `pulumi:"maxRam"` - // The model of fGPU. - ModelName string `pulumi:"modelName"` - // The amount of video RAM (VRAM) of the fGPU. - VRam int `pulumi:"vRam"` -} - -// GetFlexibleGpuCatalogFlexibleGpuCatalogInput is an input type that accepts GetFlexibleGpuCatalogFlexibleGpuCatalogArgs and GetFlexibleGpuCatalogFlexibleGpuCatalogOutput values. -// You can construct a concrete instance of `GetFlexibleGpuCatalogFlexibleGpuCatalogInput` via: -// -// GetFlexibleGpuCatalogFlexibleGpuCatalogArgs{...} -type GetFlexibleGpuCatalogFlexibleGpuCatalogInput interface { - pulumi.Input - - ToGetFlexibleGpuCatalogFlexibleGpuCatalogOutput() GetFlexibleGpuCatalogFlexibleGpuCatalogOutput - ToGetFlexibleGpuCatalogFlexibleGpuCatalogOutputWithContext(context.Context) GetFlexibleGpuCatalogFlexibleGpuCatalogOutput -} - -type GetFlexibleGpuCatalogFlexibleGpuCatalogArgs struct { - // The generations of VMs that the fGPU is compatible with. - Generations pulumi.StringArrayInput `pulumi:"generations"` - // The maximum number of VM vCores that the fGPU is compatible with. - MaxCpu pulumi.IntInput `pulumi:"maxCpu"` - // The maximum amount of VM memory that the fGPU is compatible with. - MaxRam pulumi.IntInput `pulumi:"maxRam"` - // The model of fGPU. - ModelName pulumi.StringInput `pulumi:"modelName"` - // The amount of video RAM (VRAM) of the fGPU. - VRam pulumi.IntInput `pulumi:"vRam"` -} - -func (GetFlexibleGpuCatalogFlexibleGpuCatalogArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFlexibleGpuCatalogFlexibleGpuCatalog)(nil)).Elem() -} - -func (i GetFlexibleGpuCatalogFlexibleGpuCatalogArgs) ToGetFlexibleGpuCatalogFlexibleGpuCatalogOutput() GetFlexibleGpuCatalogFlexibleGpuCatalogOutput { - return i.ToGetFlexibleGpuCatalogFlexibleGpuCatalogOutputWithContext(context.Background()) -} - -func (i GetFlexibleGpuCatalogFlexibleGpuCatalogArgs) ToGetFlexibleGpuCatalogFlexibleGpuCatalogOutputWithContext(ctx context.Context) GetFlexibleGpuCatalogFlexibleGpuCatalogOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFlexibleGpuCatalogFlexibleGpuCatalogOutput) -} - -// GetFlexibleGpuCatalogFlexibleGpuCatalogArrayInput is an input type that accepts GetFlexibleGpuCatalogFlexibleGpuCatalogArray and GetFlexibleGpuCatalogFlexibleGpuCatalogArrayOutput values. -// You can construct a concrete instance of `GetFlexibleGpuCatalogFlexibleGpuCatalogArrayInput` via: -// -// GetFlexibleGpuCatalogFlexibleGpuCatalogArray{ GetFlexibleGpuCatalogFlexibleGpuCatalogArgs{...} } -type GetFlexibleGpuCatalogFlexibleGpuCatalogArrayInput interface { - pulumi.Input - - ToGetFlexibleGpuCatalogFlexibleGpuCatalogArrayOutput() GetFlexibleGpuCatalogFlexibleGpuCatalogArrayOutput - ToGetFlexibleGpuCatalogFlexibleGpuCatalogArrayOutputWithContext(context.Context) GetFlexibleGpuCatalogFlexibleGpuCatalogArrayOutput -} - -type GetFlexibleGpuCatalogFlexibleGpuCatalogArray []GetFlexibleGpuCatalogFlexibleGpuCatalogInput - -func (GetFlexibleGpuCatalogFlexibleGpuCatalogArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFlexibleGpuCatalogFlexibleGpuCatalog)(nil)).Elem() -} - -func (i GetFlexibleGpuCatalogFlexibleGpuCatalogArray) ToGetFlexibleGpuCatalogFlexibleGpuCatalogArrayOutput() GetFlexibleGpuCatalogFlexibleGpuCatalogArrayOutput { - return i.ToGetFlexibleGpuCatalogFlexibleGpuCatalogArrayOutputWithContext(context.Background()) -} - -func (i GetFlexibleGpuCatalogFlexibleGpuCatalogArray) ToGetFlexibleGpuCatalogFlexibleGpuCatalogArrayOutputWithContext(ctx context.Context) GetFlexibleGpuCatalogFlexibleGpuCatalogArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFlexibleGpuCatalogFlexibleGpuCatalogArrayOutput) -} - -type GetFlexibleGpuCatalogFlexibleGpuCatalogOutput struct{ *pulumi.OutputState } - -func (GetFlexibleGpuCatalogFlexibleGpuCatalogOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFlexibleGpuCatalogFlexibleGpuCatalog)(nil)).Elem() -} - -func (o GetFlexibleGpuCatalogFlexibleGpuCatalogOutput) ToGetFlexibleGpuCatalogFlexibleGpuCatalogOutput() GetFlexibleGpuCatalogFlexibleGpuCatalogOutput { - return o -} - -func (o GetFlexibleGpuCatalogFlexibleGpuCatalogOutput) ToGetFlexibleGpuCatalogFlexibleGpuCatalogOutputWithContext(ctx context.Context) GetFlexibleGpuCatalogFlexibleGpuCatalogOutput { - return o -} - -// The generations of VMs that the fGPU is compatible with. -func (o GetFlexibleGpuCatalogFlexibleGpuCatalogOutput) Generations() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetFlexibleGpuCatalogFlexibleGpuCatalog) []string { return v.Generations }).(pulumi.StringArrayOutput) -} - -// The maximum number of VM vCores that the fGPU is compatible with. -func (o GetFlexibleGpuCatalogFlexibleGpuCatalogOutput) MaxCpu() pulumi.IntOutput { - return o.ApplyT(func(v GetFlexibleGpuCatalogFlexibleGpuCatalog) int { return v.MaxCpu }).(pulumi.IntOutput) -} - -// The maximum amount of VM memory that the fGPU is compatible with. -func (o GetFlexibleGpuCatalogFlexibleGpuCatalogOutput) MaxRam() pulumi.IntOutput { - return o.ApplyT(func(v GetFlexibleGpuCatalogFlexibleGpuCatalog) int { return v.MaxRam }).(pulumi.IntOutput) -} - -// The model of fGPU. -func (o GetFlexibleGpuCatalogFlexibleGpuCatalogOutput) ModelName() pulumi.StringOutput { - return o.ApplyT(func(v GetFlexibleGpuCatalogFlexibleGpuCatalog) string { return v.ModelName }).(pulumi.StringOutput) -} - -// The amount of video RAM (VRAM) of the fGPU. -func (o GetFlexibleGpuCatalogFlexibleGpuCatalogOutput) VRam() pulumi.IntOutput { - return o.ApplyT(func(v GetFlexibleGpuCatalogFlexibleGpuCatalog) int { return v.VRam }).(pulumi.IntOutput) -} - -type GetFlexibleGpuCatalogFlexibleGpuCatalogArrayOutput struct{ *pulumi.OutputState } - -func (GetFlexibleGpuCatalogFlexibleGpuCatalogArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFlexibleGpuCatalogFlexibleGpuCatalog)(nil)).Elem() -} - -func (o GetFlexibleGpuCatalogFlexibleGpuCatalogArrayOutput) ToGetFlexibleGpuCatalogFlexibleGpuCatalogArrayOutput() GetFlexibleGpuCatalogFlexibleGpuCatalogArrayOutput { - return o -} - -func (o GetFlexibleGpuCatalogFlexibleGpuCatalogArrayOutput) ToGetFlexibleGpuCatalogFlexibleGpuCatalogArrayOutputWithContext(ctx context.Context) GetFlexibleGpuCatalogFlexibleGpuCatalogArrayOutput { - return o -} - -func (o GetFlexibleGpuCatalogFlexibleGpuCatalogArrayOutput) Index(i pulumi.IntInput) GetFlexibleGpuCatalogFlexibleGpuCatalogOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFlexibleGpuCatalogFlexibleGpuCatalog { - return vs[0].([]GetFlexibleGpuCatalogFlexibleGpuCatalog)[vs[1].(int)] - }).(GetFlexibleGpuCatalogFlexibleGpuCatalogOutput) -} - -type GetFlexibleGpuFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetFlexibleGpuFilterInput is an input type that accepts GetFlexibleGpuFilterArgs and GetFlexibleGpuFilterOutput values. -// You can construct a concrete instance of `GetFlexibleGpuFilterInput` via: -// -// GetFlexibleGpuFilterArgs{...} -type GetFlexibleGpuFilterInput interface { - pulumi.Input - - ToGetFlexibleGpuFilterOutput() GetFlexibleGpuFilterOutput - ToGetFlexibleGpuFilterOutputWithContext(context.Context) GetFlexibleGpuFilterOutput -} - -type GetFlexibleGpuFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetFlexibleGpuFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFlexibleGpuFilter)(nil)).Elem() -} - -func (i GetFlexibleGpuFilterArgs) ToGetFlexibleGpuFilterOutput() GetFlexibleGpuFilterOutput { - return i.ToGetFlexibleGpuFilterOutputWithContext(context.Background()) -} - -func (i GetFlexibleGpuFilterArgs) ToGetFlexibleGpuFilterOutputWithContext(ctx context.Context) GetFlexibleGpuFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFlexibleGpuFilterOutput) -} - -// GetFlexibleGpuFilterArrayInput is an input type that accepts GetFlexibleGpuFilterArray and GetFlexibleGpuFilterArrayOutput values. -// You can construct a concrete instance of `GetFlexibleGpuFilterArrayInput` via: -// -// GetFlexibleGpuFilterArray{ GetFlexibleGpuFilterArgs{...} } -type GetFlexibleGpuFilterArrayInput interface { - pulumi.Input - - ToGetFlexibleGpuFilterArrayOutput() GetFlexibleGpuFilterArrayOutput - ToGetFlexibleGpuFilterArrayOutputWithContext(context.Context) GetFlexibleGpuFilterArrayOutput -} - -type GetFlexibleGpuFilterArray []GetFlexibleGpuFilterInput - -func (GetFlexibleGpuFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFlexibleGpuFilter)(nil)).Elem() -} - -func (i GetFlexibleGpuFilterArray) ToGetFlexibleGpuFilterArrayOutput() GetFlexibleGpuFilterArrayOutput { - return i.ToGetFlexibleGpuFilterArrayOutputWithContext(context.Background()) -} - -func (i GetFlexibleGpuFilterArray) ToGetFlexibleGpuFilterArrayOutputWithContext(ctx context.Context) GetFlexibleGpuFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFlexibleGpuFilterArrayOutput) -} - -type GetFlexibleGpuFilterOutput struct{ *pulumi.OutputState } - -func (GetFlexibleGpuFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFlexibleGpuFilter)(nil)).Elem() -} - -func (o GetFlexibleGpuFilterOutput) ToGetFlexibleGpuFilterOutput() GetFlexibleGpuFilterOutput { - return o -} - -func (o GetFlexibleGpuFilterOutput) ToGetFlexibleGpuFilterOutputWithContext(ctx context.Context) GetFlexibleGpuFilterOutput { - return o -} - -func (o GetFlexibleGpuFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetFlexibleGpuFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetFlexibleGpuFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetFlexibleGpuFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetFlexibleGpuFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetFlexibleGpuFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFlexibleGpuFilter)(nil)).Elem() -} - -func (o GetFlexibleGpuFilterArrayOutput) ToGetFlexibleGpuFilterArrayOutput() GetFlexibleGpuFilterArrayOutput { - return o -} - -func (o GetFlexibleGpuFilterArrayOutput) ToGetFlexibleGpuFilterArrayOutputWithContext(ctx context.Context) GetFlexibleGpuFilterArrayOutput { - return o -} - -func (o GetFlexibleGpuFilterArrayOutput) Index(i pulumi.IntInput) GetFlexibleGpuFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFlexibleGpuFilter { - return vs[0].([]GetFlexibleGpuFilter)[vs[1].(int)] - }).(GetFlexibleGpuFilterOutput) -} - -type GetFlexibleGpusFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetFlexibleGpusFilterInput is an input type that accepts GetFlexibleGpusFilterArgs and GetFlexibleGpusFilterOutput values. -// You can construct a concrete instance of `GetFlexibleGpusFilterInput` via: -// -// GetFlexibleGpusFilterArgs{...} -type GetFlexibleGpusFilterInput interface { - pulumi.Input - - ToGetFlexibleGpusFilterOutput() GetFlexibleGpusFilterOutput - ToGetFlexibleGpusFilterOutputWithContext(context.Context) GetFlexibleGpusFilterOutput -} - -type GetFlexibleGpusFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetFlexibleGpusFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFlexibleGpusFilter)(nil)).Elem() -} - -func (i GetFlexibleGpusFilterArgs) ToGetFlexibleGpusFilterOutput() GetFlexibleGpusFilterOutput { - return i.ToGetFlexibleGpusFilterOutputWithContext(context.Background()) -} - -func (i GetFlexibleGpusFilterArgs) ToGetFlexibleGpusFilterOutputWithContext(ctx context.Context) GetFlexibleGpusFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFlexibleGpusFilterOutput) -} - -// GetFlexibleGpusFilterArrayInput is an input type that accepts GetFlexibleGpusFilterArray and GetFlexibleGpusFilterArrayOutput values. -// You can construct a concrete instance of `GetFlexibleGpusFilterArrayInput` via: -// -// GetFlexibleGpusFilterArray{ GetFlexibleGpusFilterArgs{...} } -type GetFlexibleGpusFilterArrayInput interface { - pulumi.Input - - ToGetFlexibleGpusFilterArrayOutput() GetFlexibleGpusFilterArrayOutput - ToGetFlexibleGpusFilterArrayOutputWithContext(context.Context) GetFlexibleGpusFilterArrayOutput -} - -type GetFlexibleGpusFilterArray []GetFlexibleGpusFilterInput - -func (GetFlexibleGpusFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFlexibleGpusFilter)(nil)).Elem() -} - -func (i GetFlexibleGpusFilterArray) ToGetFlexibleGpusFilterArrayOutput() GetFlexibleGpusFilterArrayOutput { - return i.ToGetFlexibleGpusFilterArrayOutputWithContext(context.Background()) -} - -func (i GetFlexibleGpusFilterArray) ToGetFlexibleGpusFilterArrayOutputWithContext(ctx context.Context) GetFlexibleGpusFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFlexibleGpusFilterArrayOutput) -} - -type GetFlexibleGpusFilterOutput struct{ *pulumi.OutputState } - -func (GetFlexibleGpusFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFlexibleGpusFilter)(nil)).Elem() -} - -func (o GetFlexibleGpusFilterOutput) ToGetFlexibleGpusFilterOutput() GetFlexibleGpusFilterOutput { - return o -} - -func (o GetFlexibleGpusFilterOutput) ToGetFlexibleGpusFilterOutputWithContext(ctx context.Context) GetFlexibleGpusFilterOutput { - return o -} - -func (o GetFlexibleGpusFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetFlexibleGpusFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetFlexibleGpusFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetFlexibleGpusFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetFlexibleGpusFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetFlexibleGpusFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFlexibleGpusFilter)(nil)).Elem() -} - -func (o GetFlexibleGpusFilterArrayOutput) ToGetFlexibleGpusFilterArrayOutput() GetFlexibleGpusFilterArrayOutput { - return o -} - -func (o GetFlexibleGpusFilterArrayOutput) ToGetFlexibleGpusFilterArrayOutputWithContext(ctx context.Context) GetFlexibleGpusFilterArrayOutput { - return o -} - -func (o GetFlexibleGpusFilterArrayOutput) Index(i pulumi.IntInput) GetFlexibleGpusFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFlexibleGpusFilter { - return vs[0].([]GetFlexibleGpusFilter)[vs[1].(int)] - }).(GetFlexibleGpusFilterOutput) -} - -type GetFlexibleGpusFlexibleGpus struct { - // Indicates whether the fGPU is deleted when terminating the VM. - DeleteOnVmDeletion bool `pulumi:"deleteOnVmDeletion"` - // The ID of the fGPU. - FlexibleGpuId string `pulumi:"flexibleGpuId"` - // The compatible processor generation. - Generation string `pulumi:"generation"` - // The model of fGPU. For more information, see [About Flexible GPUs](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html). - ModelName string `pulumi:"modelName"` - // The state of the fGPU (`allocated` \| `attaching` \| `attached` \| `detaching`). - State string `pulumi:"state"` - // The Subregion where the fGPU is located. - SubregionName string `pulumi:"subregionName"` - // The ID of the VM the fGPU is attached to, if any. - VmId string `pulumi:"vmId"` -} - -// GetFlexibleGpusFlexibleGpusInput is an input type that accepts GetFlexibleGpusFlexibleGpusArgs and GetFlexibleGpusFlexibleGpusOutput values. -// You can construct a concrete instance of `GetFlexibleGpusFlexibleGpusInput` via: -// -// GetFlexibleGpusFlexibleGpusArgs{...} -type GetFlexibleGpusFlexibleGpusInput interface { - pulumi.Input - - ToGetFlexibleGpusFlexibleGpusOutput() GetFlexibleGpusFlexibleGpusOutput - ToGetFlexibleGpusFlexibleGpusOutputWithContext(context.Context) GetFlexibleGpusFlexibleGpusOutput -} - -type GetFlexibleGpusFlexibleGpusArgs struct { - // Indicates whether the fGPU is deleted when terminating the VM. - DeleteOnVmDeletion pulumi.BoolInput `pulumi:"deleteOnVmDeletion"` - // The ID of the fGPU. - FlexibleGpuId pulumi.StringInput `pulumi:"flexibleGpuId"` - // The compatible processor generation. - Generation pulumi.StringInput `pulumi:"generation"` - // The model of fGPU. For more information, see [About Flexible GPUs](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html). - ModelName pulumi.StringInput `pulumi:"modelName"` - // The state of the fGPU (`allocated` \| `attaching` \| `attached` \| `detaching`). - State pulumi.StringInput `pulumi:"state"` - // The Subregion where the fGPU is located. - SubregionName pulumi.StringInput `pulumi:"subregionName"` - // The ID of the VM the fGPU is attached to, if any. - VmId pulumi.StringInput `pulumi:"vmId"` -} - -func (GetFlexibleGpusFlexibleGpusArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFlexibleGpusFlexibleGpus)(nil)).Elem() -} - -func (i GetFlexibleGpusFlexibleGpusArgs) ToGetFlexibleGpusFlexibleGpusOutput() GetFlexibleGpusFlexibleGpusOutput { - return i.ToGetFlexibleGpusFlexibleGpusOutputWithContext(context.Background()) -} - -func (i GetFlexibleGpusFlexibleGpusArgs) ToGetFlexibleGpusFlexibleGpusOutputWithContext(ctx context.Context) GetFlexibleGpusFlexibleGpusOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFlexibleGpusFlexibleGpusOutput) -} - -// GetFlexibleGpusFlexibleGpusArrayInput is an input type that accepts GetFlexibleGpusFlexibleGpusArray and GetFlexibleGpusFlexibleGpusArrayOutput values. -// You can construct a concrete instance of `GetFlexibleGpusFlexibleGpusArrayInput` via: -// -// GetFlexibleGpusFlexibleGpusArray{ GetFlexibleGpusFlexibleGpusArgs{...} } -type GetFlexibleGpusFlexibleGpusArrayInput interface { - pulumi.Input - - ToGetFlexibleGpusFlexibleGpusArrayOutput() GetFlexibleGpusFlexibleGpusArrayOutput - ToGetFlexibleGpusFlexibleGpusArrayOutputWithContext(context.Context) GetFlexibleGpusFlexibleGpusArrayOutput -} - -type GetFlexibleGpusFlexibleGpusArray []GetFlexibleGpusFlexibleGpusInput - -func (GetFlexibleGpusFlexibleGpusArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFlexibleGpusFlexibleGpus)(nil)).Elem() -} - -func (i GetFlexibleGpusFlexibleGpusArray) ToGetFlexibleGpusFlexibleGpusArrayOutput() GetFlexibleGpusFlexibleGpusArrayOutput { - return i.ToGetFlexibleGpusFlexibleGpusArrayOutputWithContext(context.Background()) -} - -func (i GetFlexibleGpusFlexibleGpusArray) ToGetFlexibleGpusFlexibleGpusArrayOutputWithContext(ctx context.Context) GetFlexibleGpusFlexibleGpusArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFlexibleGpusFlexibleGpusArrayOutput) -} - -type GetFlexibleGpusFlexibleGpusOutput struct{ *pulumi.OutputState } - -func (GetFlexibleGpusFlexibleGpusOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFlexibleGpusFlexibleGpus)(nil)).Elem() -} - -func (o GetFlexibleGpusFlexibleGpusOutput) ToGetFlexibleGpusFlexibleGpusOutput() GetFlexibleGpusFlexibleGpusOutput { - return o -} - -func (o GetFlexibleGpusFlexibleGpusOutput) ToGetFlexibleGpusFlexibleGpusOutputWithContext(ctx context.Context) GetFlexibleGpusFlexibleGpusOutput { - return o -} - -// Indicates whether the fGPU is deleted when terminating the VM. -func (o GetFlexibleGpusFlexibleGpusOutput) DeleteOnVmDeletion() pulumi.BoolOutput { - return o.ApplyT(func(v GetFlexibleGpusFlexibleGpus) bool { return v.DeleteOnVmDeletion }).(pulumi.BoolOutput) -} - -// The ID of the fGPU. -func (o GetFlexibleGpusFlexibleGpusOutput) FlexibleGpuId() pulumi.StringOutput { - return o.ApplyT(func(v GetFlexibleGpusFlexibleGpus) string { return v.FlexibleGpuId }).(pulumi.StringOutput) -} - -// The compatible processor generation. -func (o GetFlexibleGpusFlexibleGpusOutput) Generation() pulumi.StringOutput { - return o.ApplyT(func(v GetFlexibleGpusFlexibleGpus) string { return v.Generation }).(pulumi.StringOutput) -} - -// The model of fGPU. For more information, see [About Flexible GPUs](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html). -func (o GetFlexibleGpusFlexibleGpusOutput) ModelName() pulumi.StringOutput { - return o.ApplyT(func(v GetFlexibleGpusFlexibleGpus) string { return v.ModelName }).(pulumi.StringOutput) -} - -// The state of the fGPU (`allocated` \| `attaching` \| `attached` \| `detaching`). -func (o GetFlexibleGpusFlexibleGpusOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetFlexibleGpusFlexibleGpus) string { return v.State }).(pulumi.StringOutput) -} - -// The Subregion where the fGPU is located. -func (o GetFlexibleGpusFlexibleGpusOutput) SubregionName() pulumi.StringOutput { - return o.ApplyT(func(v GetFlexibleGpusFlexibleGpus) string { return v.SubregionName }).(pulumi.StringOutput) -} - -// The ID of the VM the fGPU is attached to, if any. -func (o GetFlexibleGpusFlexibleGpusOutput) VmId() pulumi.StringOutput { - return o.ApplyT(func(v GetFlexibleGpusFlexibleGpus) string { return v.VmId }).(pulumi.StringOutput) -} - -type GetFlexibleGpusFlexibleGpusArrayOutput struct{ *pulumi.OutputState } - -func (GetFlexibleGpusFlexibleGpusArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFlexibleGpusFlexibleGpus)(nil)).Elem() -} - -func (o GetFlexibleGpusFlexibleGpusArrayOutput) ToGetFlexibleGpusFlexibleGpusArrayOutput() GetFlexibleGpusFlexibleGpusArrayOutput { - return o -} - -func (o GetFlexibleGpusFlexibleGpusArrayOutput) ToGetFlexibleGpusFlexibleGpusArrayOutputWithContext(ctx context.Context) GetFlexibleGpusFlexibleGpusArrayOutput { - return o -} - -func (o GetFlexibleGpusFlexibleGpusArrayOutput) Index(i pulumi.IntInput) GetFlexibleGpusFlexibleGpusOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFlexibleGpusFlexibleGpus { - return vs[0].([]GetFlexibleGpusFlexibleGpus)[vs[1].(int)] - }).(GetFlexibleGpusFlexibleGpusOutput) -} - -type GetImageBlockDeviceMapping struct { - // Information about the BSU volume to create. - Bsus []GetImageBlockDeviceMappingBsus `pulumi:"bsus"` - // The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - DeviceName string `pulumi:"deviceName"` - // The name of the virtual device (`ephemeralN`). - VirtualDeviceName string `pulumi:"virtualDeviceName"` -} - -// GetImageBlockDeviceMappingInput is an input type that accepts GetImageBlockDeviceMappingArgs and GetImageBlockDeviceMappingOutput values. -// You can construct a concrete instance of `GetImageBlockDeviceMappingInput` via: -// -// GetImageBlockDeviceMappingArgs{...} -type GetImageBlockDeviceMappingInput interface { - pulumi.Input - - ToGetImageBlockDeviceMappingOutput() GetImageBlockDeviceMappingOutput - ToGetImageBlockDeviceMappingOutputWithContext(context.Context) GetImageBlockDeviceMappingOutput -} - -type GetImageBlockDeviceMappingArgs struct { - // Information about the BSU volume to create. - Bsus GetImageBlockDeviceMappingBsusArrayInput `pulumi:"bsus"` - // The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - DeviceName pulumi.StringInput `pulumi:"deviceName"` - // The name of the virtual device (`ephemeralN`). - VirtualDeviceName pulumi.StringInput `pulumi:"virtualDeviceName"` -} - -func (GetImageBlockDeviceMappingArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetImageBlockDeviceMapping)(nil)).Elem() -} - -func (i GetImageBlockDeviceMappingArgs) ToGetImageBlockDeviceMappingOutput() GetImageBlockDeviceMappingOutput { - return i.ToGetImageBlockDeviceMappingOutputWithContext(context.Background()) -} - -func (i GetImageBlockDeviceMappingArgs) ToGetImageBlockDeviceMappingOutputWithContext(ctx context.Context) GetImageBlockDeviceMappingOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImageBlockDeviceMappingOutput) -} - -// GetImageBlockDeviceMappingArrayInput is an input type that accepts GetImageBlockDeviceMappingArray and GetImageBlockDeviceMappingArrayOutput values. -// You can construct a concrete instance of `GetImageBlockDeviceMappingArrayInput` via: -// -// GetImageBlockDeviceMappingArray{ GetImageBlockDeviceMappingArgs{...} } -type GetImageBlockDeviceMappingArrayInput interface { - pulumi.Input - - ToGetImageBlockDeviceMappingArrayOutput() GetImageBlockDeviceMappingArrayOutput - ToGetImageBlockDeviceMappingArrayOutputWithContext(context.Context) GetImageBlockDeviceMappingArrayOutput -} - -type GetImageBlockDeviceMappingArray []GetImageBlockDeviceMappingInput - -func (GetImageBlockDeviceMappingArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImageBlockDeviceMapping)(nil)).Elem() -} - -func (i GetImageBlockDeviceMappingArray) ToGetImageBlockDeviceMappingArrayOutput() GetImageBlockDeviceMappingArrayOutput { - return i.ToGetImageBlockDeviceMappingArrayOutputWithContext(context.Background()) -} - -func (i GetImageBlockDeviceMappingArray) ToGetImageBlockDeviceMappingArrayOutputWithContext(ctx context.Context) GetImageBlockDeviceMappingArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImageBlockDeviceMappingArrayOutput) -} - -type GetImageBlockDeviceMappingOutput struct{ *pulumi.OutputState } - -func (GetImageBlockDeviceMappingOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetImageBlockDeviceMapping)(nil)).Elem() -} - -func (o GetImageBlockDeviceMappingOutput) ToGetImageBlockDeviceMappingOutput() GetImageBlockDeviceMappingOutput { - return o -} - -func (o GetImageBlockDeviceMappingOutput) ToGetImageBlockDeviceMappingOutputWithContext(ctx context.Context) GetImageBlockDeviceMappingOutput { - return o -} - -// Information about the BSU volume to create. -func (o GetImageBlockDeviceMappingOutput) Bsus() GetImageBlockDeviceMappingBsusArrayOutput { - return o.ApplyT(func(v GetImageBlockDeviceMapping) []GetImageBlockDeviceMappingBsus { return v.Bsus }).(GetImageBlockDeviceMappingBsusArrayOutput) -} - -// The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). -func (o GetImageBlockDeviceMappingOutput) DeviceName() pulumi.StringOutput { - return o.ApplyT(func(v GetImageBlockDeviceMapping) string { return v.DeviceName }).(pulumi.StringOutput) -} - -// The name of the virtual device (`ephemeralN`). -func (o GetImageBlockDeviceMappingOutput) VirtualDeviceName() pulumi.StringOutput { - return o.ApplyT(func(v GetImageBlockDeviceMapping) string { return v.VirtualDeviceName }).(pulumi.StringOutput) -} - -type GetImageBlockDeviceMappingArrayOutput struct{ *pulumi.OutputState } - -func (GetImageBlockDeviceMappingArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImageBlockDeviceMapping)(nil)).Elem() -} - -func (o GetImageBlockDeviceMappingArrayOutput) ToGetImageBlockDeviceMappingArrayOutput() GetImageBlockDeviceMappingArrayOutput { - return o -} - -func (o GetImageBlockDeviceMappingArrayOutput) ToGetImageBlockDeviceMappingArrayOutputWithContext(ctx context.Context) GetImageBlockDeviceMappingArrayOutput { - return o -} - -func (o GetImageBlockDeviceMappingArrayOutput) Index(i pulumi.IntInput) GetImageBlockDeviceMappingOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetImageBlockDeviceMapping { - return vs[0].([]GetImageBlockDeviceMapping)[vs[1].(int)] - }).(GetImageBlockDeviceMappingOutput) -} - -type GetImageBlockDeviceMappingBsus struct { - // By default or if set to true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - DeleteOnVmDeletion bool `pulumi:"deleteOnVmDeletion"` - // The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - Iops int `pulumi:"iops"` - // The ID of the snapshot used to create the volume. - SnapshotId string `pulumi:"snapshotId"` - // The size of the volume, in gibibytes (GiB).
- // If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.
- // If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. - VolumeSize int `pulumi:"volumeSize"` - // The type of the volume (`standard` \| `io1` \| `gp2`). If not specified in the request, a `standard` volume is created.
- // For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - VolumeType string `pulumi:"volumeType"` -} - -// GetImageBlockDeviceMappingBsusInput is an input type that accepts GetImageBlockDeviceMappingBsusArgs and GetImageBlockDeviceMappingBsusOutput values. -// You can construct a concrete instance of `GetImageBlockDeviceMappingBsusInput` via: -// -// GetImageBlockDeviceMappingBsusArgs{...} -type GetImageBlockDeviceMappingBsusInput interface { - pulumi.Input - - ToGetImageBlockDeviceMappingBsusOutput() GetImageBlockDeviceMappingBsusOutput - ToGetImageBlockDeviceMappingBsusOutputWithContext(context.Context) GetImageBlockDeviceMappingBsusOutput -} - -type GetImageBlockDeviceMappingBsusArgs struct { - // By default or if set to true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - DeleteOnVmDeletion pulumi.BoolInput `pulumi:"deleteOnVmDeletion"` - // The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - Iops pulumi.IntInput `pulumi:"iops"` - // The ID of the snapshot used to create the volume. - SnapshotId pulumi.StringInput `pulumi:"snapshotId"` - // The size of the volume, in gibibytes (GiB).
- // If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.
- // If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. - VolumeSize pulumi.IntInput `pulumi:"volumeSize"` - // The type of the volume (`standard` \| `io1` \| `gp2`). If not specified in the request, a `standard` volume is created.
- // For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - VolumeType pulumi.StringInput `pulumi:"volumeType"` -} - -func (GetImageBlockDeviceMappingBsusArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetImageBlockDeviceMappingBsus)(nil)).Elem() -} - -func (i GetImageBlockDeviceMappingBsusArgs) ToGetImageBlockDeviceMappingBsusOutput() GetImageBlockDeviceMappingBsusOutput { - return i.ToGetImageBlockDeviceMappingBsusOutputWithContext(context.Background()) -} - -func (i GetImageBlockDeviceMappingBsusArgs) ToGetImageBlockDeviceMappingBsusOutputWithContext(ctx context.Context) GetImageBlockDeviceMappingBsusOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImageBlockDeviceMappingBsusOutput) -} - -// GetImageBlockDeviceMappingBsusArrayInput is an input type that accepts GetImageBlockDeviceMappingBsusArray and GetImageBlockDeviceMappingBsusArrayOutput values. -// You can construct a concrete instance of `GetImageBlockDeviceMappingBsusArrayInput` via: -// -// GetImageBlockDeviceMappingBsusArray{ GetImageBlockDeviceMappingBsusArgs{...} } -type GetImageBlockDeviceMappingBsusArrayInput interface { - pulumi.Input - - ToGetImageBlockDeviceMappingBsusArrayOutput() GetImageBlockDeviceMappingBsusArrayOutput - ToGetImageBlockDeviceMappingBsusArrayOutputWithContext(context.Context) GetImageBlockDeviceMappingBsusArrayOutput -} - -type GetImageBlockDeviceMappingBsusArray []GetImageBlockDeviceMappingBsusInput - -func (GetImageBlockDeviceMappingBsusArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImageBlockDeviceMappingBsus)(nil)).Elem() -} - -func (i GetImageBlockDeviceMappingBsusArray) ToGetImageBlockDeviceMappingBsusArrayOutput() GetImageBlockDeviceMappingBsusArrayOutput { - return i.ToGetImageBlockDeviceMappingBsusArrayOutputWithContext(context.Background()) -} - -func (i GetImageBlockDeviceMappingBsusArray) ToGetImageBlockDeviceMappingBsusArrayOutputWithContext(ctx context.Context) GetImageBlockDeviceMappingBsusArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImageBlockDeviceMappingBsusArrayOutput) -} - -type GetImageBlockDeviceMappingBsusOutput struct{ *pulumi.OutputState } - -func (GetImageBlockDeviceMappingBsusOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetImageBlockDeviceMappingBsus)(nil)).Elem() -} - -func (o GetImageBlockDeviceMappingBsusOutput) ToGetImageBlockDeviceMappingBsusOutput() GetImageBlockDeviceMappingBsusOutput { - return o -} - -func (o GetImageBlockDeviceMappingBsusOutput) ToGetImageBlockDeviceMappingBsusOutputWithContext(ctx context.Context) GetImageBlockDeviceMappingBsusOutput { - return o -} - -// By default or if set to true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. -func (o GetImageBlockDeviceMappingBsusOutput) DeleteOnVmDeletion() pulumi.BoolOutput { - return o.ApplyT(func(v GetImageBlockDeviceMappingBsus) bool { return v.DeleteOnVmDeletion }).(pulumi.BoolOutput) -} - -// The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. -func (o GetImageBlockDeviceMappingBsusOutput) Iops() pulumi.IntOutput { - return o.ApplyT(func(v GetImageBlockDeviceMappingBsus) int { return v.Iops }).(pulumi.IntOutput) -} - -// The ID of the snapshot used to create the volume. -func (o GetImageBlockDeviceMappingBsusOutput) SnapshotId() pulumi.StringOutput { - return o.ApplyT(func(v GetImageBlockDeviceMappingBsus) string { return v.SnapshotId }).(pulumi.StringOutput) -} - -// The size of the volume, in gibibytes (GiB).
-// If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.
-// If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. -func (o GetImageBlockDeviceMappingBsusOutput) VolumeSize() pulumi.IntOutput { - return o.ApplyT(func(v GetImageBlockDeviceMappingBsus) int { return v.VolumeSize }).(pulumi.IntOutput) -} - -// The type of the volume (`standard` \| `io1` \| `gp2`). If not specified in the request, a `standard` volume is created.
-// For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). -func (o GetImageBlockDeviceMappingBsusOutput) VolumeType() pulumi.StringOutput { - return o.ApplyT(func(v GetImageBlockDeviceMappingBsus) string { return v.VolumeType }).(pulumi.StringOutput) -} - -type GetImageBlockDeviceMappingBsusArrayOutput struct{ *pulumi.OutputState } - -func (GetImageBlockDeviceMappingBsusArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImageBlockDeviceMappingBsus)(nil)).Elem() -} - -func (o GetImageBlockDeviceMappingBsusArrayOutput) ToGetImageBlockDeviceMappingBsusArrayOutput() GetImageBlockDeviceMappingBsusArrayOutput { - return o -} - -func (o GetImageBlockDeviceMappingBsusArrayOutput) ToGetImageBlockDeviceMappingBsusArrayOutputWithContext(ctx context.Context) GetImageBlockDeviceMappingBsusArrayOutput { - return o -} - -func (o GetImageBlockDeviceMappingBsusArrayOutput) Index(i pulumi.IntInput) GetImageBlockDeviceMappingBsusOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetImageBlockDeviceMappingBsus { - return vs[0].([]GetImageBlockDeviceMappingBsus)[vs[1].(int)] - }).(GetImageBlockDeviceMappingBsusOutput) -} - -type GetImageExportTaskFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetImageExportTaskFilterInput is an input type that accepts GetImageExportTaskFilterArgs and GetImageExportTaskFilterOutput values. -// You can construct a concrete instance of `GetImageExportTaskFilterInput` via: -// -// GetImageExportTaskFilterArgs{...} -type GetImageExportTaskFilterInput interface { - pulumi.Input - - ToGetImageExportTaskFilterOutput() GetImageExportTaskFilterOutput - ToGetImageExportTaskFilterOutputWithContext(context.Context) GetImageExportTaskFilterOutput -} - -type GetImageExportTaskFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetImageExportTaskFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetImageExportTaskFilter)(nil)).Elem() -} - -func (i GetImageExportTaskFilterArgs) ToGetImageExportTaskFilterOutput() GetImageExportTaskFilterOutput { - return i.ToGetImageExportTaskFilterOutputWithContext(context.Background()) -} - -func (i GetImageExportTaskFilterArgs) ToGetImageExportTaskFilterOutputWithContext(ctx context.Context) GetImageExportTaskFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImageExportTaskFilterOutput) -} - -// GetImageExportTaskFilterArrayInput is an input type that accepts GetImageExportTaskFilterArray and GetImageExportTaskFilterArrayOutput values. -// You can construct a concrete instance of `GetImageExportTaskFilterArrayInput` via: -// -// GetImageExportTaskFilterArray{ GetImageExportTaskFilterArgs{...} } -type GetImageExportTaskFilterArrayInput interface { - pulumi.Input - - ToGetImageExportTaskFilterArrayOutput() GetImageExportTaskFilterArrayOutput - ToGetImageExportTaskFilterArrayOutputWithContext(context.Context) GetImageExportTaskFilterArrayOutput -} - -type GetImageExportTaskFilterArray []GetImageExportTaskFilterInput - -func (GetImageExportTaskFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImageExportTaskFilter)(nil)).Elem() -} - -func (i GetImageExportTaskFilterArray) ToGetImageExportTaskFilterArrayOutput() GetImageExportTaskFilterArrayOutput { - return i.ToGetImageExportTaskFilterArrayOutputWithContext(context.Background()) -} - -func (i GetImageExportTaskFilterArray) ToGetImageExportTaskFilterArrayOutputWithContext(ctx context.Context) GetImageExportTaskFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImageExportTaskFilterArrayOutput) -} - -type GetImageExportTaskFilterOutput struct{ *pulumi.OutputState } - -func (GetImageExportTaskFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetImageExportTaskFilter)(nil)).Elem() -} - -func (o GetImageExportTaskFilterOutput) ToGetImageExportTaskFilterOutput() GetImageExportTaskFilterOutput { - return o -} - -func (o GetImageExportTaskFilterOutput) ToGetImageExportTaskFilterOutputWithContext(ctx context.Context) GetImageExportTaskFilterOutput { - return o -} - -func (o GetImageExportTaskFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetImageExportTaskFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetImageExportTaskFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetImageExportTaskFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetImageExportTaskFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetImageExportTaskFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImageExportTaskFilter)(nil)).Elem() -} - -func (o GetImageExportTaskFilterArrayOutput) ToGetImageExportTaskFilterArrayOutput() GetImageExportTaskFilterArrayOutput { - return o -} - -func (o GetImageExportTaskFilterArrayOutput) ToGetImageExportTaskFilterArrayOutputWithContext(ctx context.Context) GetImageExportTaskFilterArrayOutput { - return o -} - -func (o GetImageExportTaskFilterArrayOutput) Index(i pulumi.IntInput) GetImageExportTaskFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetImageExportTaskFilter { - return vs[0].([]GetImageExportTaskFilter)[vs[1].(int)] - }).(GetImageExportTaskFilterOutput) -} - -type GetImageExportTaskOsuExport struct { - // The format of the export disk (`qcow2` \| `raw`). - DiskImageFormat string `pulumi:"diskImageFormat"` - // The name of the OOS bucket the OMI is exported to. - OsuBucket string `pulumi:"osuBucket"` - // The URL of the manifest file. - OsuManifestUrl string `pulumi:"osuManifestUrl"` - // The prefix for the key of the OOS object corresponding to the image. - OsuPrefix string `pulumi:"osuPrefix"` -} - -// GetImageExportTaskOsuExportInput is an input type that accepts GetImageExportTaskOsuExportArgs and GetImageExportTaskOsuExportOutput values. -// You can construct a concrete instance of `GetImageExportTaskOsuExportInput` via: -// -// GetImageExportTaskOsuExportArgs{...} -type GetImageExportTaskOsuExportInput interface { - pulumi.Input - - ToGetImageExportTaskOsuExportOutput() GetImageExportTaskOsuExportOutput - ToGetImageExportTaskOsuExportOutputWithContext(context.Context) GetImageExportTaskOsuExportOutput -} - -type GetImageExportTaskOsuExportArgs struct { - // The format of the export disk (`qcow2` \| `raw`). - DiskImageFormat pulumi.StringInput `pulumi:"diskImageFormat"` - // The name of the OOS bucket the OMI is exported to. - OsuBucket pulumi.StringInput `pulumi:"osuBucket"` - // The URL of the manifest file. - OsuManifestUrl pulumi.StringInput `pulumi:"osuManifestUrl"` - // The prefix for the key of the OOS object corresponding to the image. - OsuPrefix pulumi.StringInput `pulumi:"osuPrefix"` -} - -func (GetImageExportTaskOsuExportArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetImageExportTaskOsuExport)(nil)).Elem() -} - -func (i GetImageExportTaskOsuExportArgs) ToGetImageExportTaskOsuExportOutput() GetImageExportTaskOsuExportOutput { - return i.ToGetImageExportTaskOsuExportOutputWithContext(context.Background()) -} - -func (i GetImageExportTaskOsuExportArgs) ToGetImageExportTaskOsuExportOutputWithContext(ctx context.Context) GetImageExportTaskOsuExportOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImageExportTaskOsuExportOutput) -} - -// GetImageExportTaskOsuExportArrayInput is an input type that accepts GetImageExportTaskOsuExportArray and GetImageExportTaskOsuExportArrayOutput values. -// You can construct a concrete instance of `GetImageExportTaskOsuExportArrayInput` via: -// -// GetImageExportTaskOsuExportArray{ GetImageExportTaskOsuExportArgs{...} } -type GetImageExportTaskOsuExportArrayInput interface { - pulumi.Input - - ToGetImageExportTaskOsuExportArrayOutput() GetImageExportTaskOsuExportArrayOutput - ToGetImageExportTaskOsuExportArrayOutputWithContext(context.Context) GetImageExportTaskOsuExportArrayOutput -} - -type GetImageExportTaskOsuExportArray []GetImageExportTaskOsuExportInput - -func (GetImageExportTaskOsuExportArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImageExportTaskOsuExport)(nil)).Elem() -} - -func (i GetImageExportTaskOsuExportArray) ToGetImageExportTaskOsuExportArrayOutput() GetImageExportTaskOsuExportArrayOutput { - return i.ToGetImageExportTaskOsuExportArrayOutputWithContext(context.Background()) -} - -func (i GetImageExportTaskOsuExportArray) ToGetImageExportTaskOsuExportArrayOutputWithContext(ctx context.Context) GetImageExportTaskOsuExportArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImageExportTaskOsuExportArrayOutput) -} - -type GetImageExportTaskOsuExportOutput struct{ *pulumi.OutputState } - -func (GetImageExportTaskOsuExportOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetImageExportTaskOsuExport)(nil)).Elem() -} - -func (o GetImageExportTaskOsuExportOutput) ToGetImageExportTaskOsuExportOutput() GetImageExportTaskOsuExportOutput { - return o -} - -func (o GetImageExportTaskOsuExportOutput) ToGetImageExportTaskOsuExportOutputWithContext(ctx context.Context) GetImageExportTaskOsuExportOutput { - return o -} - -// The format of the export disk (`qcow2` \| `raw`). -func (o GetImageExportTaskOsuExportOutput) DiskImageFormat() pulumi.StringOutput { - return o.ApplyT(func(v GetImageExportTaskOsuExport) string { return v.DiskImageFormat }).(pulumi.StringOutput) -} - -// The name of the OOS bucket the OMI is exported to. -func (o GetImageExportTaskOsuExportOutput) OsuBucket() pulumi.StringOutput { - return o.ApplyT(func(v GetImageExportTaskOsuExport) string { return v.OsuBucket }).(pulumi.StringOutput) -} - -// The URL of the manifest file. -func (o GetImageExportTaskOsuExportOutput) OsuManifestUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetImageExportTaskOsuExport) string { return v.OsuManifestUrl }).(pulumi.StringOutput) -} - -// The prefix for the key of the OOS object corresponding to the image. -func (o GetImageExportTaskOsuExportOutput) OsuPrefix() pulumi.StringOutput { - return o.ApplyT(func(v GetImageExportTaskOsuExport) string { return v.OsuPrefix }).(pulumi.StringOutput) -} - -type GetImageExportTaskOsuExportArrayOutput struct{ *pulumi.OutputState } - -func (GetImageExportTaskOsuExportArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImageExportTaskOsuExport)(nil)).Elem() -} - -func (o GetImageExportTaskOsuExportArrayOutput) ToGetImageExportTaskOsuExportArrayOutput() GetImageExportTaskOsuExportArrayOutput { - return o -} - -func (o GetImageExportTaskOsuExportArrayOutput) ToGetImageExportTaskOsuExportArrayOutputWithContext(ctx context.Context) GetImageExportTaskOsuExportArrayOutput { - return o -} - -func (o GetImageExportTaskOsuExportArrayOutput) Index(i pulumi.IntInput) GetImageExportTaskOsuExportOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetImageExportTaskOsuExport { - return vs[0].([]GetImageExportTaskOsuExport)[vs[1].(int)] - }).(GetImageExportTaskOsuExportOutput) -} - -type GetImageExportTaskTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetImageExportTaskTagInput is an input type that accepts GetImageExportTaskTagArgs and GetImageExportTaskTagOutput values. -// You can construct a concrete instance of `GetImageExportTaskTagInput` via: -// -// GetImageExportTaskTagArgs{...} -type GetImageExportTaskTagInput interface { - pulumi.Input - - ToGetImageExportTaskTagOutput() GetImageExportTaskTagOutput - ToGetImageExportTaskTagOutputWithContext(context.Context) GetImageExportTaskTagOutput -} - -type GetImageExportTaskTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetImageExportTaskTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetImageExportTaskTag)(nil)).Elem() -} - -func (i GetImageExportTaskTagArgs) ToGetImageExportTaskTagOutput() GetImageExportTaskTagOutput { - return i.ToGetImageExportTaskTagOutputWithContext(context.Background()) -} - -func (i GetImageExportTaskTagArgs) ToGetImageExportTaskTagOutputWithContext(ctx context.Context) GetImageExportTaskTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImageExportTaskTagOutput) -} - -// GetImageExportTaskTagArrayInput is an input type that accepts GetImageExportTaskTagArray and GetImageExportTaskTagArrayOutput values. -// You can construct a concrete instance of `GetImageExportTaskTagArrayInput` via: -// -// GetImageExportTaskTagArray{ GetImageExportTaskTagArgs{...} } -type GetImageExportTaskTagArrayInput interface { - pulumi.Input - - ToGetImageExportTaskTagArrayOutput() GetImageExportTaskTagArrayOutput - ToGetImageExportTaskTagArrayOutputWithContext(context.Context) GetImageExportTaskTagArrayOutput -} - -type GetImageExportTaskTagArray []GetImageExportTaskTagInput - -func (GetImageExportTaskTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImageExportTaskTag)(nil)).Elem() -} - -func (i GetImageExportTaskTagArray) ToGetImageExportTaskTagArrayOutput() GetImageExportTaskTagArrayOutput { - return i.ToGetImageExportTaskTagArrayOutputWithContext(context.Background()) -} - -func (i GetImageExportTaskTagArray) ToGetImageExportTaskTagArrayOutputWithContext(ctx context.Context) GetImageExportTaskTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImageExportTaskTagArrayOutput) -} - -type GetImageExportTaskTagOutput struct{ *pulumi.OutputState } - -func (GetImageExportTaskTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetImageExportTaskTag)(nil)).Elem() -} - -func (o GetImageExportTaskTagOutput) ToGetImageExportTaskTagOutput() GetImageExportTaskTagOutput { - return o -} - -func (o GetImageExportTaskTagOutput) ToGetImageExportTaskTagOutputWithContext(ctx context.Context) GetImageExportTaskTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetImageExportTaskTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetImageExportTaskTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetImageExportTaskTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetImageExportTaskTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetImageExportTaskTagArrayOutput struct{ *pulumi.OutputState } - -func (GetImageExportTaskTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImageExportTaskTag)(nil)).Elem() -} - -func (o GetImageExportTaskTagArrayOutput) ToGetImageExportTaskTagArrayOutput() GetImageExportTaskTagArrayOutput { - return o -} - -func (o GetImageExportTaskTagArrayOutput) ToGetImageExportTaskTagArrayOutputWithContext(ctx context.Context) GetImageExportTaskTagArrayOutput { - return o -} - -func (o GetImageExportTaskTagArrayOutput) Index(i pulumi.IntInput) GetImageExportTaskTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetImageExportTaskTag { - return vs[0].([]GetImageExportTaskTag)[vs[1].(int)] - }).(GetImageExportTaskTagOutput) -} - -type GetImageExportTasksFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetImageExportTasksFilterInput is an input type that accepts GetImageExportTasksFilterArgs and GetImageExportTasksFilterOutput values. -// You can construct a concrete instance of `GetImageExportTasksFilterInput` via: -// -// GetImageExportTasksFilterArgs{...} -type GetImageExportTasksFilterInput interface { - pulumi.Input - - ToGetImageExportTasksFilterOutput() GetImageExportTasksFilterOutput - ToGetImageExportTasksFilterOutputWithContext(context.Context) GetImageExportTasksFilterOutput -} - -type GetImageExportTasksFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetImageExportTasksFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetImageExportTasksFilter)(nil)).Elem() -} - -func (i GetImageExportTasksFilterArgs) ToGetImageExportTasksFilterOutput() GetImageExportTasksFilterOutput { - return i.ToGetImageExportTasksFilterOutputWithContext(context.Background()) -} - -func (i GetImageExportTasksFilterArgs) ToGetImageExportTasksFilterOutputWithContext(ctx context.Context) GetImageExportTasksFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImageExportTasksFilterOutput) -} - -// GetImageExportTasksFilterArrayInput is an input type that accepts GetImageExportTasksFilterArray and GetImageExportTasksFilterArrayOutput values. -// You can construct a concrete instance of `GetImageExportTasksFilterArrayInput` via: -// -// GetImageExportTasksFilterArray{ GetImageExportTasksFilterArgs{...} } -type GetImageExportTasksFilterArrayInput interface { - pulumi.Input - - ToGetImageExportTasksFilterArrayOutput() GetImageExportTasksFilterArrayOutput - ToGetImageExportTasksFilterArrayOutputWithContext(context.Context) GetImageExportTasksFilterArrayOutput -} - -type GetImageExportTasksFilterArray []GetImageExportTasksFilterInput - -func (GetImageExportTasksFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImageExportTasksFilter)(nil)).Elem() -} - -func (i GetImageExportTasksFilterArray) ToGetImageExportTasksFilterArrayOutput() GetImageExportTasksFilterArrayOutput { - return i.ToGetImageExportTasksFilterArrayOutputWithContext(context.Background()) -} - -func (i GetImageExportTasksFilterArray) ToGetImageExportTasksFilterArrayOutputWithContext(ctx context.Context) GetImageExportTasksFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImageExportTasksFilterArrayOutput) -} - -type GetImageExportTasksFilterOutput struct{ *pulumi.OutputState } - -func (GetImageExportTasksFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetImageExportTasksFilter)(nil)).Elem() -} - -func (o GetImageExportTasksFilterOutput) ToGetImageExportTasksFilterOutput() GetImageExportTasksFilterOutput { - return o -} - -func (o GetImageExportTasksFilterOutput) ToGetImageExportTasksFilterOutputWithContext(ctx context.Context) GetImageExportTasksFilterOutput { - return o -} - -func (o GetImageExportTasksFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetImageExportTasksFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetImageExportTasksFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetImageExportTasksFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetImageExportTasksFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetImageExportTasksFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImageExportTasksFilter)(nil)).Elem() -} - -func (o GetImageExportTasksFilterArrayOutput) ToGetImageExportTasksFilterArrayOutput() GetImageExportTasksFilterArrayOutput { - return o -} - -func (o GetImageExportTasksFilterArrayOutput) ToGetImageExportTasksFilterArrayOutputWithContext(ctx context.Context) GetImageExportTasksFilterArrayOutput { - return o -} - -func (o GetImageExportTasksFilterArrayOutput) Index(i pulumi.IntInput) GetImageExportTasksFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetImageExportTasksFilter { - return vs[0].([]GetImageExportTasksFilter)[vs[1].(int)] - }).(GetImageExportTasksFilterOutput) -} - -type GetImageExportTasksImageExportTask struct { - // If the OMI export task fails, an error message appears. - Comment string `pulumi:"comment"` - // The ID of the OMI to be exported. - ImageId string `pulumi:"imageId"` - // Information about the OMI export task. - OsuExports []GetImageExportTasksImageExportTaskOsuExport `pulumi:"osuExports"` - // The progress of the OMI export task, as a percentage. - Progress int `pulumi:"progress"` - // The state of the OMI export task (`pending/queued` \| `pending` \| `completed` \| `failed` \| `cancelled`). - State string `pulumi:"state"` - // One or more tags associated with the image export task. - Tags []GetImageExportTasksImageExportTaskTag `pulumi:"tags"` - // The ID of the OMI export task. - TaskId string `pulumi:"taskId"` -} - -// GetImageExportTasksImageExportTaskInput is an input type that accepts GetImageExportTasksImageExportTaskArgs and GetImageExportTasksImageExportTaskOutput values. -// You can construct a concrete instance of `GetImageExportTasksImageExportTaskInput` via: -// -// GetImageExportTasksImageExportTaskArgs{...} -type GetImageExportTasksImageExportTaskInput interface { - pulumi.Input - - ToGetImageExportTasksImageExportTaskOutput() GetImageExportTasksImageExportTaskOutput - ToGetImageExportTasksImageExportTaskOutputWithContext(context.Context) GetImageExportTasksImageExportTaskOutput -} - -type GetImageExportTasksImageExportTaskArgs struct { - // If the OMI export task fails, an error message appears. - Comment pulumi.StringInput `pulumi:"comment"` - // The ID of the OMI to be exported. - ImageId pulumi.StringInput `pulumi:"imageId"` - // Information about the OMI export task. - OsuExports GetImageExportTasksImageExportTaskOsuExportArrayInput `pulumi:"osuExports"` - // The progress of the OMI export task, as a percentage. - Progress pulumi.IntInput `pulumi:"progress"` - // The state of the OMI export task (`pending/queued` \| `pending` \| `completed` \| `failed` \| `cancelled`). - State pulumi.StringInput `pulumi:"state"` - // One or more tags associated with the image export task. - Tags GetImageExportTasksImageExportTaskTagArrayInput `pulumi:"tags"` - // The ID of the OMI export task. - TaskId pulumi.StringInput `pulumi:"taskId"` -} - -func (GetImageExportTasksImageExportTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetImageExportTasksImageExportTask)(nil)).Elem() -} - -func (i GetImageExportTasksImageExportTaskArgs) ToGetImageExportTasksImageExportTaskOutput() GetImageExportTasksImageExportTaskOutput { - return i.ToGetImageExportTasksImageExportTaskOutputWithContext(context.Background()) -} - -func (i GetImageExportTasksImageExportTaskArgs) ToGetImageExportTasksImageExportTaskOutputWithContext(ctx context.Context) GetImageExportTasksImageExportTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImageExportTasksImageExportTaskOutput) -} - -// GetImageExportTasksImageExportTaskArrayInput is an input type that accepts GetImageExportTasksImageExportTaskArray and GetImageExportTasksImageExportTaskArrayOutput values. -// You can construct a concrete instance of `GetImageExportTasksImageExportTaskArrayInput` via: -// -// GetImageExportTasksImageExportTaskArray{ GetImageExportTasksImageExportTaskArgs{...} } -type GetImageExportTasksImageExportTaskArrayInput interface { - pulumi.Input - - ToGetImageExportTasksImageExportTaskArrayOutput() GetImageExportTasksImageExportTaskArrayOutput - ToGetImageExportTasksImageExportTaskArrayOutputWithContext(context.Context) GetImageExportTasksImageExportTaskArrayOutput -} - -type GetImageExportTasksImageExportTaskArray []GetImageExportTasksImageExportTaskInput - -func (GetImageExportTasksImageExportTaskArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImageExportTasksImageExportTask)(nil)).Elem() -} - -func (i GetImageExportTasksImageExportTaskArray) ToGetImageExportTasksImageExportTaskArrayOutput() GetImageExportTasksImageExportTaskArrayOutput { - return i.ToGetImageExportTasksImageExportTaskArrayOutputWithContext(context.Background()) -} - -func (i GetImageExportTasksImageExportTaskArray) ToGetImageExportTasksImageExportTaskArrayOutputWithContext(ctx context.Context) GetImageExportTasksImageExportTaskArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImageExportTasksImageExportTaskArrayOutput) -} - -type GetImageExportTasksImageExportTaskOutput struct{ *pulumi.OutputState } - -func (GetImageExportTasksImageExportTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetImageExportTasksImageExportTask)(nil)).Elem() -} - -func (o GetImageExportTasksImageExportTaskOutput) ToGetImageExportTasksImageExportTaskOutput() GetImageExportTasksImageExportTaskOutput { - return o -} - -func (o GetImageExportTasksImageExportTaskOutput) ToGetImageExportTasksImageExportTaskOutputWithContext(ctx context.Context) GetImageExportTasksImageExportTaskOutput { - return o -} - -// If the OMI export task fails, an error message appears. -func (o GetImageExportTasksImageExportTaskOutput) Comment() pulumi.StringOutput { - return o.ApplyT(func(v GetImageExportTasksImageExportTask) string { return v.Comment }).(pulumi.StringOutput) -} - -// The ID of the OMI to be exported. -func (o GetImageExportTasksImageExportTaskOutput) ImageId() pulumi.StringOutput { - return o.ApplyT(func(v GetImageExportTasksImageExportTask) string { return v.ImageId }).(pulumi.StringOutput) -} - -// Information about the OMI export task. -func (o GetImageExportTasksImageExportTaskOutput) OsuExports() GetImageExportTasksImageExportTaskOsuExportArrayOutput { - return o.ApplyT(func(v GetImageExportTasksImageExportTask) []GetImageExportTasksImageExportTaskOsuExport { - return v.OsuExports - }).(GetImageExportTasksImageExportTaskOsuExportArrayOutput) -} - -// The progress of the OMI export task, as a percentage. -func (o GetImageExportTasksImageExportTaskOutput) Progress() pulumi.IntOutput { - return o.ApplyT(func(v GetImageExportTasksImageExportTask) int { return v.Progress }).(pulumi.IntOutput) -} - -// The state of the OMI export task (`pending/queued` \| `pending` \| `completed` \| `failed` \| `cancelled`). -func (o GetImageExportTasksImageExportTaskOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetImageExportTasksImageExportTask) string { return v.State }).(pulumi.StringOutput) -} - -// One or more tags associated with the image export task. -func (o GetImageExportTasksImageExportTaskOutput) Tags() GetImageExportTasksImageExportTaskTagArrayOutput { - return o.ApplyT(func(v GetImageExportTasksImageExportTask) []GetImageExportTasksImageExportTaskTag { return v.Tags }).(GetImageExportTasksImageExportTaskTagArrayOutput) -} - -// The ID of the OMI export task. -func (o GetImageExportTasksImageExportTaskOutput) TaskId() pulumi.StringOutput { - return o.ApplyT(func(v GetImageExportTasksImageExportTask) string { return v.TaskId }).(pulumi.StringOutput) -} - -type GetImageExportTasksImageExportTaskArrayOutput struct{ *pulumi.OutputState } - -func (GetImageExportTasksImageExportTaskArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImageExportTasksImageExportTask)(nil)).Elem() -} - -func (o GetImageExportTasksImageExportTaskArrayOutput) ToGetImageExportTasksImageExportTaskArrayOutput() GetImageExportTasksImageExportTaskArrayOutput { - return o -} - -func (o GetImageExportTasksImageExportTaskArrayOutput) ToGetImageExportTasksImageExportTaskArrayOutputWithContext(ctx context.Context) GetImageExportTasksImageExportTaskArrayOutput { - return o -} - -func (o GetImageExportTasksImageExportTaskArrayOutput) Index(i pulumi.IntInput) GetImageExportTasksImageExportTaskOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetImageExportTasksImageExportTask { - return vs[0].([]GetImageExportTasksImageExportTask)[vs[1].(int)] - }).(GetImageExportTasksImageExportTaskOutput) -} - -type GetImageExportTasksImageExportTaskOsuExport struct { - // The format of the export disk (`qcow2` \| `raw`). - DiskImageFormat string `pulumi:"diskImageFormat"` - // The name of the OOS bucket the OMI is exported to. - OsuBucket string `pulumi:"osuBucket"` - // The URL of the manifest file. - OsuManifestUrl string `pulumi:"osuManifestUrl"` - // The prefix for the key of the OOS object corresponding to the image. - OsuPrefix string `pulumi:"osuPrefix"` -} - -// GetImageExportTasksImageExportTaskOsuExportInput is an input type that accepts GetImageExportTasksImageExportTaskOsuExportArgs and GetImageExportTasksImageExportTaskOsuExportOutput values. -// You can construct a concrete instance of `GetImageExportTasksImageExportTaskOsuExportInput` via: -// -// GetImageExportTasksImageExportTaskOsuExportArgs{...} -type GetImageExportTasksImageExportTaskOsuExportInput interface { - pulumi.Input - - ToGetImageExportTasksImageExportTaskOsuExportOutput() GetImageExportTasksImageExportTaskOsuExportOutput - ToGetImageExportTasksImageExportTaskOsuExportOutputWithContext(context.Context) GetImageExportTasksImageExportTaskOsuExportOutput -} - -type GetImageExportTasksImageExportTaskOsuExportArgs struct { - // The format of the export disk (`qcow2` \| `raw`). - DiskImageFormat pulumi.StringInput `pulumi:"diskImageFormat"` - // The name of the OOS bucket the OMI is exported to. - OsuBucket pulumi.StringInput `pulumi:"osuBucket"` - // The URL of the manifest file. - OsuManifestUrl pulumi.StringInput `pulumi:"osuManifestUrl"` - // The prefix for the key of the OOS object corresponding to the image. - OsuPrefix pulumi.StringInput `pulumi:"osuPrefix"` -} - -func (GetImageExportTasksImageExportTaskOsuExportArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetImageExportTasksImageExportTaskOsuExport)(nil)).Elem() -} - -func (i GetImageExportTasksImageExportTaskOsuExportArgs) ToGetImageExportTasksImageExportTaskOsuExportOutput() GetImageExportTasksImageExportTaskOsuExportOutput { - return i.ToGetImageExportTasksImageExportTaskOsuExportOutputWithContext(context.Background()) -} - -func (i GetImageExportTasksImageExportTaskOsuExportArgs) ToGetImageExportTasksImageExportTaskOsuExportOutputWithContext(ctx context.Context) GetImageExportTasksImageExportTaskOsuExportOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImageExportTasksImageExportTaskOsuExportOutput) -} - -// GetImageExportTasksImageExportTaskOsuExportArrayInput is an input type that accepts GetImageExportTasksImageExportTaskOsuExportArray and GetImageExportTasksImageExportTaskOsuExportArrayOutput values. -// You can construct a concrete instance of `GetImageExportTasksImageExportTaskOsuExportArrayInput` via: -// -// GetImageExportTasksImageExportTaskOsuExportArray{ GetImageExportTasksImageExportTaskOsuExportArgs{...} } -type GetImageExportTasksImageExportTaskOsuExportArrayInput interface { - pulumi.Input - - ToGetImageExportTasksImageExportTaskOsuExportArrayOutput() GetImageExportTasksImageExportTaskOsuExportArrayOutput - ToGetImageExportTasksImageExportTaskOsuExportArrayOutputWithContext(context.Context) GetImageExportTasksImageExportTaskOsuExportArrayOutput -} - -type GetImageExportTasksImageExportTaskOsuExportArray []GetImageExportTasksImageExportTaskOsuExportInput - -func (GetImageExportTasksImageExportTaskOsuExportArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImageExportTasksImageExportTaskOsuExport)(nil)).Elem() -} - -func (i GetImageExportTasksImageExportTaskOsuExportArray) ToGetImageExportTasksImageExportTaskOsuExportArrayOutput() GetImageExportTasksImageExportTaskOsuExportArrayOutput { - return i.ToGetImageExportTasksImageExportTaskOsuExportArrayOutputWithContext(context.Background()) -} - -func (i GetImageExportTasksImageExportTaskOsuExportArray) ToGetImageExportTasksImageExportTaskOsuExportArrayOutputWithContext(ctx context.Context) GetImageExportTasksImageExportTaskOsuExportArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImageExportTasksImageExportTaskOsuExportArrayOutput) -} - -type GetImageExportTasksImageExportTaskOsuExportOutput struct{ *pulumi.OutputState } - -func (GetImageExportTasksImageExportTaskOsuExportOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetImageExportTasksImageExportTaskOsuExport)(nil)).Elem() -} - -func (o GetImageExportTasksImageExportTaskOsuExportOutput) ToGetImageExportTasksImageExportTaskOsuExportOutput() GetImageExportTasksImageExportTaskOsuExportOutput { - return o -} - -func (o GetImageExportTasksImageExportTaskOsuExportOutput) ToGetImageExportTasksImageExportTaskOsuExportOutputWithContext(ctx context.Context) GetImageExportTasksImageExportTaskOsuExportOutput { - return o -} - -// The format of the export disk (`qcow2` \| `raw`). -func (o GetImageExportTasksImageExportTaskOsuExportOutput) DiskImageFormat() pulumi.StringOutput { - return o.ApplyT(func(v GetImageExportTasksImageExportTaskOsuExport) string { return v.DiskImageFormat }).(pulumi.StringOutput) -} - -// The name of the OOS bucket the OMI is exported to. -func (o GetImageExportTasksImageExportTaskOsuExportOutput) OsuBucket() pulumi.StringOutput { - return o.ApplyT(func(v GetImageExportTasksImageExportTaskOsuExport) string { return v.OsuBucket }).(pulumi.StringOutput) -} - -// The URL of the manifest file. -func (o GetImageExportTasksImageExportTaskOsuExportOutput) OsuManifestUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetImageExportTasksImageExportTaskOsuExport) string { return v.OsuManifestUrl }).(pulumi.StringOutput) -} - -// The prefix for the key of the OOS object corresponding to the image. -func (o GetImageExportTasksImageExportTaskOsuExportOutput) OsuPrefix() pulumi.StringOutput { - return o.ApplyT(func(v GetImageExportTasksImageExportTaskOsuExport) string { return v.OsuPrefix }).(pulumi.StringOutput) -} - -type GetImageExportTasksImageExportTaskOsuExportArrayOutput struct{ *pulumi.OutputState } - -func (GetImageExportTasksImageExportTaskOsuExportArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImageExportTasksImageExportTaskOsuExport)(nil)).Elem() -} - -func (o GetImageExportTasksImageExportTaskOsuExportArrayOutput) ToGetImageExportTasksImageExportTaskOsuExportArrayOutput() GetImageExportTasksImageExportTaskOsuExportArrayOutput { - return o -} - -func (o GetImageExportTasksImageExportTaskOsuExportArrayOutput) ToGetImageExportTasksImageExportTaskOsuExportArrayOutputWithContext(ctx context.Context) GetImageExportTasksImageExportTaskOsuExportArrayOutput { - return o -} - -func (o GetImageExportTasksImageExportTaskOsuExportArrayOutput) Index(i pulumi.IntInput) GetImageExportTasksImageExportTaskOsuExportOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetImageExportTasksImageExportTaskOsuExport { - return vs[0].([]GetImageExportTasksImageExportTaskOsuExport)[vs[1].(int)] - }).(GetImageExportTasksImageExportTaskOsuExportOutput) -} - -type GetImageExportTasksImageExportTaskTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetImageExportTasksImageExportTaskTagInput is an input type that accepts GetImageExportTasksImageExportTaskTagArgs and GetImageExportTasksImageExportTaskTagOutput values. -// You can construct a concrete instance of `GetImageExportTasksImageExportTaskTagInput` via: -// -// GetImageExportTasksImageExportTaskTagArgs{...} -type GetImageExportTasksImageExportTaskTagInput interface { - pulumi.Input - - ToGetImageExportTasksImageExportTaskTagOutput() GetImageExportTasksImageExportTaskTagOutput - ToGetImageExportTasksImageExportTaskTagOutputWithContext(context.Context) GetImageExportTasksImageExportTaskTagOutput -} - -type GetImageExportTasksImageExportTaskTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetImageExportTasksImageExportTaskTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetImageExportTasksImageExportTaskTag)(nil)).Elem() -} - -func (i GetImageExportTasksImageExportTaskTagArgs) ToGetImageExportTasksImageExportTaskTagOutput() GetImageExportTasksImageExportTaskTagOutput { - return i.ToGetImageExportTasksImageExportTaskTagOutputWithContext(context.Background()) -} - -func (i GetImageExportTasksImageExportTaskTagArgs) ToGetImageExportTasksImageExportTaskTagOutputWithContext(ctx context.Context) GetImageExportTasksImageExportTaskTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImageExportTasksImageExportTaskTagOutput) -} - -// GetImageExportTasksImageExportTaskTagArrayInput is an input type that accepts GetImageExportTasksImageExportTaskTagArray and GetImageExportTasksImageExportTaskTagArrayOutput values. -// You can construct a concrete instance of `GetImageExportTasksImageExportTaskTagArrayInput` via: -// -// GetImageExportTasksImageExportTaskTagArray{ GetImageExportTasksImageExportTaskTagArgs{...} } -type GetImageExportTasksImageExportTaskTagArrayInput interface { - pulumi.Input - - ToGetImageExportTasksImageExportTaskTagArrayOutput() GetImageExportTasksImageExportTaskTagArrayOutput - ToGetImageExportTasksImageExportTaskTagArrayOutputWithContext(context.Context) GetImageExportTasksImageExportTaskTagArrayOutput -} - -type GetImageExportTasksImageExportTaskTagArray []GetImageExportTasksImageExportTaskTagInput - -func (GetImageExportTasksImageExportTaskTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImageExportTasksImageExportTaskTag)(nil)).Elem() -} - -func (i GetImageExportTasksImageExportTaskTagArray) ToGetImageExportTasksImageExportTaskTagArrayOutput() GetImageExportTasksImageExportTaskTagArrayOutput { - return i.ToGetImageExportTasksImageExportTaskTagArrayOutputWithContext(context.Background()) -} - -func (i GetImageExportTasksImageExportTaskTagArray) ToGetImageExportTasksImageExportTaskTagArrayOutputWithContext(ctx context.Context) GetImageExportTasksImageExportTaskTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImageExportTasksImageExportTaskTagArrayOutput) -} - -type GetImageExportTasksImageExportTaskTagOutput struct{ *pulumi.OutputState } - -func (GetImageExportTasksImageExportTaskTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetImageExportTasksImageExportTaskTag)(nil)).Elem() -} - -func (o GetImageExportTasksImageExportTaskTagOutput) ToGetImageExportTasksImageExportTaskTagOutput() GetImageExportTasksImageExportTaskTagOutput { - return o -} - -func (o GetImageExportTasksImageExportTaskTagOutput) ToGetImageExportTasksImageExportTaskTagOutputWithContext(ctx context.Context) GetImageExportTasksImageExportTaskTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetImageExportTasksImageExportTaskTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetImageExportTasksImageExportTaskTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetImageExportTasksImageExportTaskTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetImageExportTasksImageExportTaskTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetImageExportTasksImageExportTaskTagArrayOutput struct{ *pulumi.OutputState } - -func (GetImageExportTasksImageExportTaskTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImageExportTasksImageExportTaskTag)(nil)).Elem() -} - -func (o GetImageExportTasksImageExportTaskTagArrayOutput) ToGetImageExportTasksImageExportTaskTagArrayOutput() GetImageExportTasksImageExportTaskTagArrayOutput { - return o -} - -func (o GetImageExportTasksImageExportTaskTagArrayOutput) ToGetImageExportTasksImageExportTaskTagArrayOutputWithContext(ctx context.Context) GetImageExportTasksImageExportTaskTagArrayOutput { - return o -} - -func (o GetImageExportTasksImageExportTaskTagArrayOutput) Index(i pulumi.IntInput) GetImageExportTasksImageExportTaskTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetImageExportTasksImageExportTaskTag { - return vs[0].([]GetImageExportTasksImageExportTaskTag)[vs[1].(int)] - }).(GetImageExportTasksImageExportTaskTagOutput) -} - -type GetImageFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetImageFilterInput is an input type that accepts GetImageFilterArgs and GetImageFilterOutput values. -// You can construct a concrete instance of `GetImageFilterInput` via: -// -// GetImageFilterArgs{...} -type GetImageFilterInput interface { - pulumi.Input - - ToGetImageFilterOutput() GetImageFilterOutput - ToGetImageFilterOutputWithContext(context.Context) GetImageFilterOutput -} - -type GetImageFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetImageFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetImageFilter)(nil)).Elem() -} - -func (i GetImageFilterArgs) ToGetImageFilterOutput() GetImageFilterOutput { - return i.ToGetImageFilterOutputWithContext(context.Background()) -} - -func (i GetImageFilterArgs) ToGetImageFilterOutputWithContext(ctx context.Context) GetImageFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImageFilterOutput) -} - -// GetImageFilterArrayInput is an input type that accepts GetImageFilterArray and GetImageFilterArrayOutput values. -// You can construct a concrete instance of `GetImageFilterArrayInput` via: -// -// GetImageFilterArray{ GetImageFilterArgs{...} } -type GetImageFilterArrayInput interface { - pulumi.Input - - ToGetImageFilterArrayOutput() GetImageFilterArrayOutput - ToGetImageFilterArrayOutputWithContext(context.Context) GetImageFilterArrayOutput -} - -type GetImageFilterArray []GetImageFilterInput - -func (GetImageFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImageFilter)(nil)).Elem() -} - -func (i GetImageFilterArray) ToGetImageFilterArrayOutput() GetImageFilterArrayOutput { - return i.ToGetImageFilterArrayOutputWithContext(context.Background()) -} - -func (i GetImageFilterArray) ToGetImageFilterArrayOutputWithContext(ctx context.Context) GetImageFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImageFilterArrayOutput) -} - -type GetImageFilterOutput struct{ *pulumi.OutputState } - -func (GetImageFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetImageFilter)(nil)).Elem() -} - -func (o GetImageFilterOutput) ToGetImageFilterOutput() GetImageFilterOutput { - return o -} - -func (o GetImageFilterOutput) ToGetImageFilterOutputWithContext(ctx context.Context) GetImageFilterOutput { - return o -} - -func (o GetImageFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetImageFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetImageFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetImageFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetImageFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetImageFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImageFilter)(nil)).Elem() -} - -func (o GetImageFilterArrayOutput) ToGetImageFilterArrayOutput() GetImageFilterArrayOutput { - return o -} - -func (o GetImageFilterArrayOutput) ToGetImageFilterArrayOutputWithContext(ctx context.Context) GetImageFilterArrayOutput { - return o -} - -func (o GetImageFilterArrayOutput) Index(i pulumi.IntInput) GetImageFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetImageFilter { - return vs[0].([]GetImageFilter)[vs[1].(int)] - }).(GetImageFilterOutput) -} - -type GetImagePermissionsToLaunch struct { - // The account ID of the owner of the OMI. - AccountId string `pulumi:"accountId"` - // A global permission for all accounts.
- // (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).
- // (Response) If true, the resource is public. If false, the resource is private. - GlobalPermission bool `pulumi:"globalPermission"` -} - -// GetImagePermissionsToLaunchInput is an input type that accepts GetImagePermissionsToLaunchArgs and GetImagePermissionsToLaunchOutput values. -// You can construct a concrete instance of `GetImagePermissionsToLaunchInput` via: -// -// GetImagePermissionsToLaunchArgs{...} -type GetImagePermissionsToLaunchInput interface { - pulumi.Input - - ToGetImagePermissionsToLaunchOutput() GetImagePermissionsToLaunchOutput - ToGetImagePermissionsToLaunchOutputWithContext(context.Context) GetImagePermissionsToLaunchOutput -} - -type GetImagePermissionsToLaunchArgs struct { - // The account ID of the owner of the OMI. - AccountId pulumi.StringInput `pulumi:"accountId"` - // A global permission for all accounts.
- // (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).
- // (Response) If true, the resource is public. If false, the resource is private. - GlobalPermission pulumi.BoolInput `pulumi:"globalPermission"` -} - -func (GetImagePermissionsToLaunchArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetImagePermissionsToLaunch)(nil)).Elem() -} - -func (i GetImagePermissionsToLaunchArgs) ToGetImagePermissionsToLaunchOutput() GetImagePermissionsToLaunchOutput { - return i.ToGetImagePermissionsToLaunchOutputWithContext(context.Background()) -} - -func (i GetImagePermissionsToLaunchArgs) ToGetImagePermissionsToLaunchOutputWithContext(ctx context.Context) GetImagePermissionsToLaunchOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImagePermissionsToLaunchOutput) -} - -// GetImagePermissionsToLaunchArrayInput is an input type that accepts GetImagePermissionsToLaunchArray and GetImagePermissionsToLaunchArrayOutput values. -// You can construct a concrete instance of `GetImagePermissionsToLaunchArrayInput` via: -// -// GetImagePermissionsToLaunchArray{ GetImagePermissionsToLaunchArgs{...} } -type GetImagePermissionsToLaunchArrayInput interface { - pulumi.Input - - ToGetImagePermissionsToLaunchArrayOutput() GetImagePermissionsToLaunchArrayOutput - ToGetImagePermissionsToLaunchArrayOutputWithContext(context.Context) GetImagePermissionsToLaunchArrayOutput -} - -type GetImagePermissionsToLaunchArray []GetImagePermissionsToLaunchInput - -func (GetImagePermissionsToLaunchArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImagePermissionsToLaunch)(nil)).Elem() -} - -func (i GetImagePermissionsToLaunchArray) ToGetImagePermissionsToLaunchArrayOutput() GetImagePermissionsToLaunchArrayOutput { - return i.ToGetImagePermissionsToLaunchArrayOutputWithContext(context.Background()) -} - -func (i GetImagePermissionsToLaunchArray) ToGetImagePermissionsToLaunchArrayOutputWithContext(ctx context.Context) GetImagePermissionsToLaunchArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImagePermissionsToLaunchArrayOutput) -} - -type GetImagePermissionsToLaunchOutput struct{ *pulumi.OutputState } - -func (GetImagePermissionsToLaunchOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetImagePermissionsToLaunch)(nil)).Elem() -} - -func (o GetImagePermissionsToLaunchOutput) ToGetImagePermissionsToLaunchOutput() GetImagePermissionsToLaunchOutput { - return o -} - -func (o GetImagePermissionsToLaunchOutput) ToGetImagePermissionsToLaunchOutputWithContext(ctx context.Context) GetImagePermissionsToLaunchOutput { - return o -} - -// The account ID of the owner of the OMI. -func (o GetImagePermissionsToLaunchOutput) AccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetImagePermissionsToLaunch) string { return v.AccountId }).(pulumi.StringOutput) -} - -// A global permission for all accounts.
-// (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).
-// (Response) If true, the resource is public. If false, the resource is private. -func (o GetImagePermissionsToLaunchOutput) GlobalPermission() pulumi.BoolOutput { - return o.ApplyT(func(v GetImagePermissionsToLaunch) bool { return v.GlobalPermission }).(pulumi.BoolOutput) -} - -type GetImagePermissionsToLaunchArrayOutput struct{ *pulumi.OutputState } - -func (GetImagePermissionsToLaunchArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImagePermissionsToLaunch)(nil)).Elem() -} - -func (o GetImagePermissionsToLaunchArrayOutput) ToGetImagePermissionsToLaunchArrayOutput() GetImagePermissionsToLaunchArrayOutput { - return o -} - -func (o GetImagePermissionsToLaunchArrayOutput) ToGetImagePermissionsToLaunchArrayOutputWithContext(ctx context.Context) GetImagePermissionsToLaunchArrayOutput { - return o -} - -func (o GetImagePermissionsToLaunchArrayOutput) Index(i pulumi.IntInput) GetImagePermissionsToLaunchOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetImagePermissionsToLaunch { - return vs[0].([]GetImagePermissionsToLaunch)[vs[1].(int)] - }).(GetImagePermissionsToLaunchOutput) -} - -type GetImageStateComment struct { - // The code of the change of state. - StateCode string `pulumi:"stateCode"` - // A message explaining the change of state. - StateMessage string `pulumi:"stateMessage"` -} - -// GetImageStateCommentInput is an input type that accepts GetImageStateCommentArgs and GetImageStateCommentOutput values. -// You can construct a concrete instance of `GetImageStateCommentInput` via: -// -// GetImageStateCommentArgs{...} -type GetImageStateCommentInput interface { - pulumi.Input - - ToGetImageStateCommentOutput() GetImageStateCommentOutput - ToGetImageStateCommentOutputWithContext(context.Context) GetImageStateCommentOutput -} - -type GetImageStateCommentArgs struct { - // The code of the change of state. - StateCode pulumi.StringInput `pulumi:"stateCode"` - // A message explaining the change of state. - StateMessage pulumi.StringInput `pulumi:"stateMessage"` -} - -func (GetImageStateCommentArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetImageStateComment)(nil)).Elem() -} - -func (i GetImageStateCommentArgs) ToGetImageStateCommentOutput() GetImageStateCommentOutput { - return i.ToGetImageStateCommentOutputWithContext(context.Background()) -} - -func (i GetImageStateCommentArgs) ToGetImageStateCommentOutputWithContext(ctx context.Context) GetImageStateCommentOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImageStateCommentOutput) -} - -// GetImageStateCommentArrayInput is an input type that accepts GetImageStateCommentArray and GetImageStateCommentArrayOutput values. -// You can construct a concrete instance of `GetImageStateCommentArrayInput` via: -// -// GetImageStateCommentArray{ GetImageStateCommentArgs{...} } -type GetImageStateCommentArrayInput interface { - pulumi.Input - - ToGetImageStateCommentArrayOutput() GetImageStateCommentArrayOutput - ToGetImageStateCommentArrayOutputWithContext(context.Context) GetImageStateCommentArrayOutput -} - -type GetImageStateCommentArray []GetImageStateCommentInput - -func (GetImageStateCommentArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImageStateComment)(nil)).Elem() -} - -func (i GetImageStateCommentArray) ToGetImageStateCommentArrayOutput() GetImageStateCommentArrayOutput { - return i.ToGetImageStateCommentArrayOutputWithContext(context.Background()) -} - -func (i GetImageStateCommentArray) ToGetImageStateCommentArrayOutputWithContext(ctx context.Context) GetImageStateCommentArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImageStateCommentArrayOutput) -} - -type GetImageStateCommentOutput struct{ *pulumi.OutputState } - -func (GetImageStateCommentOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetImageStateComment)(nil)).Elem() -} - -func (o GetImageStateCommentOutput) ToGetImageStateCommentOutput() GetImageStateCommentOutput { - return o -} - -func (o GetImageStateCommentOutput) ToGetImageStateCommentOutputWithContext(ctx context.Context) GetImageStateCommentOutput { - return o -} - -// The code of the change of state. -func (o GetImageStateCommentOutput) StateCode() pulumi.StringOutput { - return o.ApplyT(func(v GetImageStateComment) string { return v.StateCode }).(pulumi.StringOutput) -} - -// A message explaining the change of state. -func (o GetImageStateCommentOutput) StateMessage() pulumi.StringOutput { - return o.ApplyT(func(v GetImageStateComment) string { return v.StateMessage }).(pulumi.StringOutput) -} - -type GetImageStateCommentArrayOutput struct{ *pulumi.OutputState } - -func (GetImageStateCommentArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImageStateComment)(nil)).Elem() -} - -func (o GetImageStateCommentArrayOutput) ToGetImageStateCommentArrayOutput() GetImageStateCommentArrayOutput { - return o -} - -func (o GetImageStateCommentArrayOutput) ToGetImageStateCommentArrayOutputWithContext(ctx context.Context) GetImageStateCommentArrayOutput { - return o -} - -func (o GetImageStateCommentArrayOutput) Index(i pulumi.IntInput) GetImageStateCommentOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetImageStateComment { - return vs[0].([]GetImageStateComment)[vs[1].(int)] - }).(GetImageStateCommentOutput) -} - -type GetImageTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetImageTagInput is an input type that accepts GetImageTagArgs and GetImageTagOutput values. -// You can construct a concrete instance of `GetImageTagInput` via: -// -// GetImageTagArgs{...} -type GetImageTagInput interface { - pulumi.Input - - ToGetImageTagOutput() GetImageTagOutput - ToGetImageTagOutputWithContext(context.Context) GetImageTagOutput -} - -type GetImageTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetImageTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetImageTag)(nil)).Elem() -} - -func (i GetImageTagArgs) ToGetImageTagOutput() GetImageTagOutput { - return i.ToGetImageTagOutputWithContext(context.Background()) -} - -func (i GetImageTagArgs) ToGetImageTagOutputWithContext(ctx context.Context) GetImageTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImageTagOutput) -} - -// GetImageTagArrayInput is an input type that accepts GetImageTagArray and GetImageTagArrayOutput values. -// You can construct a concrete instance of `GetImageTagArrayInput` via: -// -// GetImageTagArray{ GetImageTagArgs{...} } -type GetImageTagArrayInput interface { - pulumi.Input - - ToGetImageTagArrayOutput() GetImageTagArrayOutput - ToGetImageTagArrayOutputWithContext(context.Context) GetImageTagArrayOutput -} - -type GetImageTagArray []GetImageTagInput - -func (GetImageTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImageTag)(nil)).Elem() -} - -func (i GetImageTagArray) ToGetImageTagArrayOutput() GetImageTagArrayOutput { - return i.ToGetImageTagArrayOutputWithContext(context.Background()) -} - -func (i GetImageTagArray) ToGetImageTagArrayOutputWithContext(ctx context.Context) GetImageTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImageTagArrayOutput) -} - -type GetImageTagOutput struct{ *pulumi.OutputState } - -func (GetImageTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetImageTag)(nil)).Elem() -} - -func (o GetImageTagOutput) ToGetImageTagOutput() GetImageTagOutput { - return o -} - -func (o GetImageTagOutput) ToGetImageTagOutputWithContext(ctx context.Context) GetImageTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetImageTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetImageTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetImageTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetImageTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetImageTagArrayOutput struct{ *pulumi.OutputState } - -func (GetImageTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImageTag)(nil)).Elem() -} - -func (o GetImageTagArrayOutput) ToGetImageTagArrayOutput() GetImageTagArrayOutput { - return o -} - -func (o GetImageTagArrayOutput) ToGetImageTagArrayOutputWithContext(ctx context.Context) GetImageTagArrayOutput { - return o -} - -func (o GetImageTagArrayOutput) Index(i pulumi.IntInput) GetImageTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetImageTag { - return vs[0].([]GetImageTag)[vs[1].(int)] - }).(GetImageTagOutput) -} - -type GetImagesFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetImagesFilterInput is an input type that accepts GetImagesFilterArgs and GetImagesFilterOutput values. -// You can construct a concrete instance of `GetImagesFilterInput` via: -// -// GetImagesFilterArgs{...} -type GetImagesFilterInput interface { - pulumi.Input - - ToGetImagesFilterOutput() GetImagesFilterOutput - ToGetImagesFilterOutputWithContext(context.Context) GetImagesFilterOutput -} - -type GetImagesFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetImagesFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetImagesFilter)(nil)).Elem() -} - -func (i GetImagesFilterArgs) ToGetImagesFilterOutput() GetImagesFilterOutput { - return i.ToGetImagesFilterOutputWithContext(context.Background()) -} - -func (i GetImagesFilterArgs) ToGetImagesFilterOutputWithContext(ctx context.Context) GetImagesFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImagesFilterOutput) -} - -// GetImagesFilterArrayInput is an input type that accepts GetImagesFilterArray and GetImagesFilterArrayOutput values. -// You can construct a concrete instance of `GetImagesFilterArrayInput` via: -// -// GetImagesFilterArray{ GetImagesFilterArgs{...} } -type GetImagesFilterArrayInput interface { - pulumi.Input - - ToGetImagesFilterArrayOutput() GetImagesFilterArrayOutput - ToGetImagesFilterArrayOutputWithContext(context.Context) GetImagesFilterArrayOutput -} - -type GetImagesFilterArray []GetImagesFilterInput - -func (GetImagesFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImagesFilter)(nil)).Elem() -} - -func (i GetImagesFilterArray) ToGetImagesFilterArrayOutput() GetImagesFilterArrayOutput { - return i.ToGetImagesFilterArrayOutputWithContext(context.Background()) -} - -func (i GetImagesFilterArray) ToGetImagesFilterArrayOutputWithContext(ctx context.Context) GetImagesFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImagesFilterArrayOutput) -} - -type GetImagesFilterOutput struct{ *pulumi.OutputState } - -func (GetImagesFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetImagesFilter)(nil)).Elem() -} - -func (o GetImagesFilterOutput) ToGetImagesFilterOutput() GetImagesFilterOutput { - return o -} - -func (o GetImagesFilterOutput) ToGetImagesFilterOutputWithContext(ctx context.Context) GetImagesFilterOutput { - return o -} - -func (o GetImagesFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetImagesFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetImagesFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetImagesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetImagesFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetImagesFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImagesFilter)(nil)).Elem() -} - -func (o GetImagesFilterArrayOutput) ToGetImagesFilterArrayOutput() GetImagesFilterArrayOutput { - return o -} - -func (o GetImagesFilterArrayOutput) ToGetImagesFilterArrayOutputWithContext(ctx context.Context) GetImagesFilterArrayOutput { - return o -} - -func (o GetImagesFilterArrayOutput) Index(i pulumi.IntInput) GetImagesFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetImagesFilter { - return vs[0].([]GetImagesFilter)[vs[1].(int)] - }).(GetImagesFilterOutput) -} - -type GetImagesImage struct { - // The account alias of the owner of the OMI. - AccountAlias string `pulumi:"accountAlias"` - // The account ID of the owner of the OMI. - AccountId string `pulumi:"accountId"` - // The architecture of the OMI (by default, `i386`). - Architecture string `pulumi:"architecture"` - // One or more block device mappings. - BlockDeviceMappings []GetImagesImageBlockDeviceMapping `pulumi:"blockDeviceMappings"` - // The date and time of creation of the OMI, in ISO 8601 date-time format. - CreationDate string `pulumi:"creationDate"` - // The description of the OMI. - Description string `pulumi:"description"` - // The location of the bucket where the OMI files are stored. - FileLocation string `pulumi:"fileLocation"` - // The ID of the OMI. - ImageId string `pulumi:"imageId"` - // The name of the OMI. - ImageName string `pulumi:"imageName"` - // The type of the OMI. - ImageType string `pulumi:"imageType"` - // Permissions for the resource. - PermissionsToLaunches []GetImagesImagePermissionsToLaunch `pulumi:"permissionsToLaunches"` - // The product codes associated with the OMI. - ProductCodes []string `pulumi:"productCodes"` - // The name of the root device. - RootDeviceName string `pulumi:"rootDeviceName"` - // The type of root device used by the OMI (always `bsu`). - RootDeviceType string `pulumi:"rootDeviceType"` - // The state of the OMI (`pending` \| `available` \| `failed`). - State string `pulumi:"state"` - // Information about the change of state. - StateComments []GetImagesImageStateComment `pulumi:"stateComments"` - // The key/value combinations of the tags associated with the OMIs, in the following format: `TAGKEY=TAGVALUE`. - Tags []GetImagesImageTag `pulumi:"tags"` -} - -// GetImagesImageInput is an input type that accepts GetImagesImageArgs and GetImagesImageOutput values. -// You can construct a concrete instance of `GetImagesImageInput` via: -// -// GetImagesImageArgs{...} -type GetImagesImageInput interface { - pulumi.Input - - ToGetImagesImageOutput() GetImagesImageOutput - ToGetImagesImageOutputWithContext(context.Context) GetImagesImageOutput -} - -type GetImagesImageArgs struct { - // The account alias of the owner of the OMI. - AccountAlias pulumi.StringInput `pulumi:"accountAlias"` - // The account ID of the owner of the OMI. - AccountId pulumi.StringInput `pulumi:"accountId"` - // The architecture of the OMI (by default, `i386`). - Architecture pulumi.StringInput `pulumi:"architecture"` - // One or more block device mappings. - BlockDeviceMappings GetImagesImageBlockDeviceMappingArrayInput `pulumi:"blockDeviceMappings"` - // The date and time of creation of the OMI, in ISO 8601 date-time format. - CreationDate pulumi.StringInput `pulumi:"creationDate"` - // The description of the OMI. - Description pulumi.StringInput `pulumi:"description"` - // The location of the bucket where the OMI files are stored. - FileLocation pulumi.StringInput `pulumi:"fileLocation"` - // The ID of the OMI. - ImageId pulumi.StringInput `pulumi:"imageId"` - // The name of the OMI. - ImageName pulumi.StringInput `pulumi:"imageName"` - // The type of the OMI. - ImageType pulumi.StringInput `pulumi:"imageType"` - // Permissions for the resource. - PermissionsToLaunches GetImagesImagePermissionsToLaunchArrayInput `pulumi:"permissionsToLaunches"` - // The product codes associated with the OMI. - ProductCodes pulumi.StringArrayInput `pulumi:"productCodes"` - // The name of the root device. - RootDeviceName pulumi.StringInput `pulumi:"rootDeviceName"` - // The type of root device used by the OMI (always `bsu`). - RootDeviceType pulumi.StringInput `pulumi:"rootDeviceType"` - // The state of the OMI (`pending` \| `available` \| `failed`). - State pulumi.StringInput `pulumi:"state"` - // Information about the change of state. - StateComments GetImagesImageStateCommentArrayInput `pulumi:"stateComments"` - // The key/value combinations of the tags associated with the OMIs, in the following format: `TAGKEY=TAGVALUE`. - Tags GetImagesImageTagArrayInput `pulumi:"tags"` -} - -func (GetImagesImageArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetImagesImage)(nil)).Elem() -} - -func (i GetImagesImageArgs) ToGetImagesImageOutput() GetImagesImageOutput { - return i.ToGetImagesImageOutputWithContext(context.Background()) -} - -func (i GetImagesImageArgs) ToGetImagesImageOutputWithContext(ctx context.Context) GetImagesImageOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImagesImageOutput) -} - -// GetImagesImageArrayInput is an input type that accepts GetImagesImageArray and GetImagesImageArrayOutput values. -// You can construct a concrete instance of `GetImagesImageArrayInput` via: -// -// GetImagesImageArray{ GetImagesImageArgs{...} } -type GetImagesImageArrayInput interface { - pulumi.Input - - ToGetImagesImageArrayOutput() GetImagesImageArrayOutput - ToGetImagesImageArrayOutputWithContext(context.Context) GetImagesImageArrayOutput -} - -type GetImagesImageArray []GetImagesImageInput - -func (GetImagesImageArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImagesImage)(nil)).Elem() -} - -func (i GetImagesImageArray) ToGetImagesImageArrayOutput() GetImagesImageArrayOutput { - return i.ToGetImagesImageArrayOutputWithContext(context.Background()) -} - -func (i GetImagesImageArray) ToGetImagesImageArrayOutputWithContext(ctx context.Context) GetImagesImageArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImagesImageArrayOutput) -} - -type GetImagesImageOutput struct{ *pulumi.OutputState } - -func (GetImagesImageOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetImagesImage)(nil)).Elem() -} - -func (o GetImagesImageOutput) ToGetImagesImageOutput() GetImagesImageOutput { - return o -} - -func (o GetImagesImageOutput) ToGetImagesImageOutputWithContext(ctx context.Context) GetImagesImageOutput { - return o -} - -// The account alias of the owner of the OMI. -func (o GetImagesImageOutput) AccountAlias() pulumi.StringOutput { - return o.ApplyT(func(v GetImagesImage) string { return v.AccountAlias }).(pulumi.StringOutput) -} - -// The account ID of the owner of the OMI. -func (o GetImagesImageOutput) AccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetImagesImage) string { return v.AccountId }).(pulumi.StringOutput) -} - -// The architecture of the OMI (by default, `i386`). -func (o GetImagesImageOutput) Architecture() pulumi.StringOutput { - return o.ApplyT(func(v GetImagesImage) string { return v.Architecture }).(pulumi.StringOutput) -} - -// One or more block device mappings. -func (o GetImagesImageOutput) BlockDeviceMappings() GetImagesImageBlockDeviceMappingArrayOutput { - return o.ApplyT(func(v GetImagesImage) []GetImagesImageBlockDeviceMapping { return v.BlockDeviceMappings }).(GetImagesImageBlockDeviceMappingArrayOutput) -} - -// The date and time of creation of the OMI, in ISO 8601 date-time format. -func (o GetImagesImageOutput) CreationDate() pulumi.StringOutput { - return o.ApplyT(func(v GetImagesImage) string { return v.CreationDate }).(pulumi.StringOutput) -} - -// The description of the OMI. -func (o GetImagesImageOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetImagesImage) string { return v.Description }).(pulumi.StringOutput) -} - -// The location of the bucket where the OMI files are stored. -func (o GetImagesImageOutput) FileLocation() pulumi.StringOutput { - return o.ApplyT(func(v GetImagesImage) string { return v.FileLocation }).(pulumi.StringOutput) -} - -// The ID of the OMI. -func (o GetImagesImageOutput) ImageId() pulumi.StringOutput { - return o.ApplyT(func(v GetImagesImage) string { return v.ImageId }).(pulumi.StringOutput) -} - -// The name of the OMI. -func (o GetImagesImageOutput) ImageName() pulumi.StringOutput { - return o.ApplyT(func(v GetImagesImage) string { return v.ImageName }).(pulumi.StringOutput) -} - -// The type of the OMI. -func (o GetImagesImageOutput) ImageType() pulumi.StringOutput { - return o.ApplyT(func(v GetImagesImage) string { return v.ImageType }).(pulumi.StringOutput) -} - -// Permissions for the resource. -func (o GetImagesImageOutput) PermissionsToLaunches() GetImagesImagePermissionsToLaunchArrayOutput { - return o.ApplyT(func(v GetImagesImage) []GetImagesImagePermissionsToLaunch { return v.PermissionsToLaunches }).(GetImagesImagePermissionsToLaunchArrayOutput) -} - -// The product codes associated with the OMI. -func (o GetImagesImageOutput) ProductCodes() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetImagesImage) []string { return v.ProductCodes }).(pulumi.StringArrayOutput) -} - -// The name of the root device. -func (o GetImagesImageOutput) RootDeviceName() pulumi.StringOutput { - return o.ApplyT(func(v GetImagesImage) string { return v.RootDeviceName }).(pulumi.StringOutput) -} - -// The type of root device used by the OMI (always `bsu`). -func (o GetImagesImageOutput) RootDeviceType() pulumi.StringOutput { - return o.ApplyT(func(v GetImagesImage) string { return v.RootDeviceType }).(pulumi.StringOutput) -} - -// The state of the OMI (`pending` \| `available` \| `failed`). -func (o GetImagesImageOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetImagesImage) string { return v.State }).(pulumi.StringOutput) -} - -// Information about the change of state. -func (o GetImagesImageOutput) StateComments() GetImagesImageStateCommentArrayOutput { - return o.ApplyT(func(v GetImagesImage) []GetImagesImageStateComment { return v.StateComments }).(GetImagesImageStateCommentArrayOutput) -} - -// The key/value combinations of the tags associated with the OMIs, in the following format: `TAGKEY=TAGVALUE`. -func (o GetImagesImageOutput) Tags() GetImagesImageTagArrayOutput { - return o.ApplyT(func(v GetImagesImage) []GetImagesImageTag { return v.Tags }).(GetImagesImageTagArrayOutput) -} - -type GetImagesImageArrayOutput struct{ *pulumi.OutputState } - -func (GetImagesImageArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImagesImage)(nil)).Elem() -} - -func (o GetImagesImageArrayOutput) ToGetImagesImageArrayOutput() GetImagesImageArrayOutput { - return o -} - -func (o GetImagesImageArrayOutput) ToGetImagesImageArrayOutputWithContext(ctx context.Context) GetImagesImageArrayOutput { - return o -} - -func (o GetImagesImageArrayOutput) Index(i pulumi.IntInput) GetImagesImageOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetImagesImage { - return vs[0].([]GetImagesImage)[vs[1].(int)] - }).(GetImagesImageOutput) -} - -type GetImagesImageBlockDeviceMapping struct { - // Information about the BSU volume to create. - Bsus []GetImagesImageBlockDeviceMappingBsus `pulumi:"bsus"` - // The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - DeviceName string `pulumi:"deviceName"` - // The name of the virtual device (`ephemeralN`). - VirtualDeviceName string `pulumi:"virtualDeviceName"` -} - -// GetImagesImageBlockDeviceMappingInput is an input type that accepts GetImagesImageBlockDeviceMappingArgs and GetImagesImageBlockDeviceMappingOutput values. -// You can construct a concrete instance of `GetImagesImageBlockDeviceMappingInput` via: -// -// GetImagesImageBlockDeviceMappingArgs{...} -type GetImagesImageBlockDeviceMappingInput interface { - pulumi.Input - - ToGetImagesImageBlockDeviceMappingOutput() GetImagesImageBlockDeviceMappingOutput - ToGetImagesImageBlockDeviceMappingOutputWithContext(context.Context) GetImagesImageBlockDeviceMappingOutput -} - -type GetImagesImageBlockDeviceMappingArgs struct { - // Information about the BSU volume to create. - Bsus GetImagesImageBlockDeviceMappingBsusArrayInput `pulumi:"bsus"` - // The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - DeviceName pulumi.StringInput `pulumi:"deviceName"` - // The name of the virtual device (`ephemeralN`). - VirtualDeviceName pulumi.StringInput `pulumi:"virtualDeviceName"` -} - -func (GetImagesImageBlockDeviceMappingArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetImagesImageBlockDeviceMapping)(nil)).Elem() -} - -func (i GetImagesImageBlockDeviceMappingArgs) ToGetImagesImageBlockDeviceMappingOutput() GetImagesImageBlockDeviceMappingOutput { - return i.ToGetImagesImageBlockDeviceMappingOutputWithContext(context.Background()) -} - -func (i GetImagesImageBlockDeviceMappingArgs) ToGetImagesImageBlockDeviceMappingOutputWithContext(ctx context.Context) GetImagesImageBlockDeviceMappingOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImagesImageBlockDeviceMappingOutput) -} - -// GetImagesImageBlockDeviceMappingArrayInput is an input type that accepts GetImagesImageBlockDeviceMappingArray and GetImagesImageBlockDeviceMappingArrayOutput values. -// You can construct a concrete instance of `GetImagesImageBlockDeviceMappingArrayInput` via: -// -// GetImagesImageBlockDeviceMappingArray{ GetImagesImageBlockDeviceMappingArgs{...} } -type GetImagesImageBlockDeviceMappingArrayInput interface { - pulumi.Input - - ToGetImagesImageBlockDeviceMappingArrayOutput() GetImagesImageBlockDeviceMappingArrayOutput - ToGetImagesImageBlockDeviceMappingArrayOutputWithContext(context.Context) GetImagesImageBlockDeviceMappingArrayOutput -} - -type GetImagesImageBlockDeviceMappingArray []GetImagesImageBlockDeviceMappingInput - -func (GetImagesImageBlockDeviceMappingArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImagesImageBlockDeviceMapping)(nil)).Elem() -} - -func (i GetImagesImageBlockDeviceMappingArray) ToGetImagesImageBlockDeviceMappingArrayOutput() GetImagesImageBlockDeviceMappingArrayOutput { - return i.ToGetImagesImageBlockDeviceMappingArrayOutputWithContext(context.Background()) -} - -func (i GetImagesImageBlockDeviceMappingArray) ToGetImagesImageBlockDeviceMappingArrayOutputWithContext(ctx context.Context) GetImagesImageBlockDeviceMappingArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImagesImageBlockDeviceMappingArrayOutput) -} - -type GetImagesImageBlockDeviceMappingOutput struct{ *pulumi.OutputState } - -func (GetImagesImageBlockDeviceMappingOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetImagesImageBlockDeviceMapping)(nil)).Elem() -} - -func (o GetImagesImageBlockDeviceMappingOutput) ToGetImagesImageBlockDeviceMappingOutput() GetImagesImageBlockDeviceMappingOutput { - return o -} - -func (o GetImagesImageBlockDeviceMappingOutput) ToGetImagesImageBlockDeviceMappingOutputWithContext(ctx context.Context) GetImagesImageBlockDeviceMappingOutput { - return o -} - -// Information about the BSU volume to create. -func (o GetImagesImageBlockDeviceMappingOutput) Bsus() GetImagesImageBlockDeviceMappingBsusArrayOutput { - return o.ApplyT(func(v GetImagesImageBlockDeviceMapping) []GetImagesImageBlockDeviceMappingBsus { return v.Bsus }).(GetImagesImageBlockDeviceMappingBsusArrayOutput) -} - -// The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). -func (o GetImagesImageBlockDeviceMappingOutput) DeviceName() pulumi.StringOutput { - return o.ApplyT(func(v GetImagesImageBlockDeviceMapping) string { return v.DeviceName }).(pulumi.StringOutput) -} - -// The name of the virtual device (`ephemeralN`). -func (o GetImagesImageBlockDeviceMappingOutput) VirtualDeviceName() pulumi.StringOutput { - return o.ApplyT(func(v GetImagesImageBlockDeviceMapping) string { return v.VirtualDeviceName }).(pulumi.StringOutput) -} - -type GetImagesImageBlockDeviceMappingArrayOutput struct{ *pulumi.OutputState } - -func (GetImagesImageBlockDeviceMappingArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImagesImageBlockDeviceMapping)(nil)).Elem() -} - -func (o GetImagesImageBlockDeviceMappingArrayOutput) ToGetImagesImageBlockDeviceMappingArrayOutput() GetImagesImageBlockDeviceMappingArrayOutput { - return o -} - -func (o GetImagesImageBlockDeviceMappingArrayOutput) ToGetImagesImageBlockDeviceMappingArrayOutputWithContext(ctx context.Context) GetImagesImageBlockDeviceMappingArrayOutput { - return o -} - -func (o GetImagesImageBlockDeviceMappingArrayOutput) Index(i pulumi.IntInput) GetImagesImageBlockDeviceMappingOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetImagesImageBlockDeviceMapping { - return vs[0].([]GetImagesImageBlockDeviceMapping)[vs[1].(int)] - }).(GetImagesImageBlockDeviceMappingOutput) -} - -type GetImagesImageBlockDeviceMappingBsus struct { - // By default or if set to true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - DeleteOnVmDeletion bool `pulumi:"deleteOnVmDeletion"` - // The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - Iops int `pulumi:"iops"` - // The ID of the snapshot used to create the volume. - SnapshotId string `pulumi:"snapshotId"` - // The size of the volume, in gibibytes (GiB).
- // If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.
- // If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. - VolumeSize int `pulumi:"volumeSize"` - // The type of the volume (`standard` \| `io1` \| `gp2`). If not specified in the request, a `standard` volume is created.
- // For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - VolumeType string `pulumi:"volumeType"` -} - -// GetImagesImageBlockDeviceMappingBsusInput is an input type that accepts GetImagesImageBlockDeviceMappingBsusArgs and GetImagesImageBlockDeviceMappingBsusOutput values. -// You can construct a concrete instance of `GetImagesImageBlockDeviceMappingBsusInput` via: -// -// GetImagesImageBlockDeviceMappingBsusArgs{...} -type GetImagesImageBlockDeviceMappingBsusInput interface { - pulumi.Input - - ToGetImagesImageBlockDeviceMappingBsusOutput() GetImagesImageBlockDeviceMappingBsusOutput - ToGetImagesImageBlockDeviceMappingBsusOutputWithContext(context.Context) GetImagesImageBlockDeviceMappingBsusOutput -} - -type GetImagesImageBlockDeviceMappingBsusArgs struct { - // By default or if set to true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - DeleteOnVmDeletion pulumi.BoolInput `pulumi:"deleteOnVmDeletion"` - // The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - Iops pulumi.IntInput `pulumi:"iops"` - // The ID of the snapshot used to create the volume. - SnapshotId pulumi.StringInput `pulumi:"snapshotId"` - // The size of the volume, in gibibytes (GiB).
- // If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.
- // If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. - VolumeSize pulumi.IntInput `pulumi:"volumeSize"` - // The type of the volume (`standard` \| `io1` \| `gp2`). If not specified in the request, a `standard` volume is created.
- // For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - VolumeType pulumi.StringInput `pulumi:"volumeType"` -} - -func (GetImagesImageBlockDeviceMappingBsusArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetImagesImageBlockDeviceMappingBsus)(nil)).Elem() -} - -func (i GetImagesImageBlockDeviceMappingBsusArgs) ToGetImagesImageBlockDeviceMappingBsusOutput() GetImagesImageBlockDeviceMappingBsusOutput { - return i.ToGetImagesImageBlockDeviceMappingBsusOutputWithContext(context.Background()) -} - -func (i GetImagesImageBlockDeviceMappingBsusArgs) ToGetImagesImageBlockDeviceMappingBsusOutputWithContext(ctx context.Context) GetImagesImageBlockDeviceMappingBsusOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImagesImageBlockDeviceMappingBsusOutput) -} - -// GetImagesImageBlockDeviceMappingBsusArrayInput is an input type that accepts GetImagesImageBlockDeviceMappingBsusArray and GetImagesImageBlockDeviceMappingBsusArrayOutput values. -// You can construct a concrete instance of `GetImagesImageBlockDeviceMappingBsusArrayInput` via: -// -// GetImagesImageBlockDeviceMappingBsusArray{ GetImagesImageBlockDeviceMappingBsusArgs{...} } -type GetImagesImageBlockDeviceMappingBsusArrayInput interface { - pulumi.Input - - ToGetImagesImageBlockDeviceMappingBsusArrayOutput() GetImagesImageBlockDeviceMappingBsusArrayOutput - ToGetImagesImageBlockDeviceMappingBsusArrayOutputWithContext(context.Context) GetImagesImageBlockDeviceMappingBsusArrayOutput -} - -type GetImagesImageBlockDeviceMappingBsusArray []GetImagesImageBlockDeviceMappingBsusInput - -func (GetImagesImageBlockDeviceMappingBsusArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImagesImageBlockDeviceMappingBsus)(nil)).Elem() -} - -func (i GetImagesImageBlockDeviceMappingBsusArray) ToGetImagesImageBlockDeviceMappingBsusArrayOutput() GetImagesImageBlockDeviceMappingBsusArrayOutput { - return i.ToGetImagesImageBlockDeviceMappingBsusArrayOutputWithContext(context.Background()) -} - -func (i GetImagesImageBlockDeviceMappingBsusArray) ToGetImagesImageBlockDeviceMappingBsusArrayOutputWithContext(ctx context.Context) GetImagesImageBlockDeviceMappingBsusArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImagesImageBlockDeviceMappingBsusArrayOutput) -} - -type GetImagesImageBlockDeviceMappingBsusOutput struct{ *pulumi.OutputState } - -func (GetImagesImageBlockDeviceMappingBsusOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetImagesImageBlockDeviceMappingBsus)(nil)).Elem() -} - -func (o GetImagesImageBlockDeviceMappingBsusOutput) ToGetImagesImageBlockDeviceMappingBsusOutput() GetImagesImageBlockDeviceMappingBsusOutput { - return o -} - -func (o GetImagesImageBlockDeviceMappingBsusOutput) ToGetImagesImageBlockDeviceMappingBsusOutputWithContext(ctx context.Context) GetImagesImageBlockDeviceMappingBsusOutput { - return o -} - -// By default or if set to true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. -func (o GetImagesImageBlockDeviceMappingBsusOutput) DeleteOnVmDeletion() pulumi.BoolOutput { - return o.ApplyT(func(v GetImagesImageBlockDeviceMappingBsus) bool { return v.DeleteOnVmDeletion }).(pulumi.BoolOutput) -} - -// The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. -func (o GetImagesImageBlockDeviceMappingBsusOutput) Iops() pulumi.IntOutput { - return o.ApplyT(func(v GetImagesImageBlockDeviceMappingBsus) int { return v.Iops }).(pulumi.IntOutput) -} - -// The ID of the snapshot used to create the volume. -func (o GetImagesImageBlockDeviceMappingBsusOutput) SnapshotId() pulumi.StringOutput { - return o.ApplyT(func(v GetImagesImageBlockDeviceMappingBsus) string { return v.SnapshotId }).(pulumi.StringOutput) -} - -// The size of the volume, in gibibytes (GiB).
-// If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.
-// If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. -func (o GetImagesImageBlockDeviceMappingBsusOutput) VolumeSize() pulumi.IntOutput { - return o.ApplyT(func(v GetImagesImageBlockDeviceMappingBsus) int { return v.VolumeSize }).(pulumi.IntOutput) -} - -// The type of the volume (`standard` \| `io1` \| `gp2`). If not specified in the request, a `standard` volume is created.
-// For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). -func (o GetImagesImageBlockDeviceMappingBsusOutput) VolumeType() pulumi.StringOutput { - return o.ApplyT(func(v GetImagesImageBlockDeviceMappingBsus) string { return v.VolumeType }).(pulumi.StringOutput) -} - -type GetImagesImageBlockDeviceMappingBsusArrayOutput struct{ *pulumi.OutputState } - -func (GetImagesImageBlockDeviceMappingBsusArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImagesImageBlockDeviceMappingBsus)(nil)).Elem() -} - -func (o GetImagesImageBlockDeviceMappingBsusArrayOutput) ToGetImagesImageBlockDeviceMappingBsusArrayOutput() GetImagesImageBlockDeviceMappingBsusArrayOutput { - return o -} - -func (o GetImagesImageBlockDeviceMappingBsusArrayOutput) ToGetImagesImageBlockDeviceMappingBsusArrayOutputWithContext(ctx context.Context) GetImagesImageBlockDeviceMappingBsusArrayOutput { - return o -} - -func (o GetImagesImageBlockDeviceMappingBsusArrayOutput) Index(i pulumi.IntInput) GetImagesImageBlockDeviceMappingBsusOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetImagesImageBlockDeviceMappingBsus { - return vs[0].([]GetImagesImageBlockDeviceMappingBsus)[vs[1].(int)] - }).(GetImagesImageBlockDeviceMappingBsusOutput) -} - -type GetImagesImagePermissionsToLaunch struct { - // The account ID of the owner of the OMI. - AccountId string `pulumi:"accountId"` - // A global permission for all accounts.
- // (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).
- // (Response) If true, the resource is public. If false, the resource is private. - GlobalPermission bool `pulumi:"globalPermission"` -} - -// GetImagesImagePermissionsToLaunchInput is an input type that accepts GetImagesImagePermissionsToLaunchArgs and GetImagesImagePermissionsToLaunchOutput values. -// You can construct a concrete instance of `GetImagesImagePermissionsToLaunchInput` via: -// -// GetImagesImagePermissionsToLaunchArgs{...} -type GetImagesImagePermissionsToLaunchInput interface { - pulumi.Input - - ToGetImagesImagePermissionsToLaunchOutput() GetImagesImagePermissionsToLaunchOutput - ToGetImagesImagePermissionsToLaunchOutputWithContext(context.Context) GetImagesImagePermissionsToLaunchOutput -} - -type GetImagesImagePermissionsToLaunchArgs struct { - // The account ID of the owner of the OMI. - AccountId pulumi.StringInput `pulumi:"accountId"` - // A global permission for all accounts.
- // (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).
- // (Response) If true, the resource is public. If false, the resource is private. - GlobalPermission pulumi.BoolInput `pulumi:"globalPermission"` -} - -func (GetImagesImagePermissionsToLaunchArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetImagesImagePermissionsToLaunch)(nil)).Elem() -} - -func (i GetImagesImagePermissionsToLaunchArgs) ToGetImagesImagePermissionsToLaunchOutput() GetImagesImagePermissionsToLaunchOutput { - return i.ToGetImagesImagePermissionsToLaunchOutputWithContext(context.Background()) -} - -func (i GetImagesImagePermissionsToLaunchArgs) ToGetImagesImagePermissionsToLaunchOutputWithContext(ctx context.Context) GetImagesImagePermissionsToLaunchOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImagesImagePermissionsToLaunchOutput) -} - -// GetImagesImagePermissionsToLaunchArrayInput is an input type that accepts GetImagesImagePermissionsToLaunchArray and GetImagesImagePermissionsToLaunchArrayOutput values. -// You can construct a concrete instance of `GetImagesImagePermissionsToLaunchArrayInput` via: -// -// GetImagesImagePermissionsToLaunchArray{ GetImagesImagePermissionsToLaunchArgs{...} } -type GetImagesImagePermissionsToLaunchArrayInput interface { - pulumi.Input - - ToGetImagesImagePermissionsToLaunchArrayOutput() GetImagesImagePermissionsToLaunchArrayOutput - ToGetImagesImagePermissionsToLaunchArrayOutputWithContext(context.Context) GetImagesImagePermissionsToLaunchArrayOutput -} - -type GetImagesImagePermissionsToLaunchArray []GetImagesImagePermissionsToLaunchInput - -func (GetImagesImagePermissionsToLaunchArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImagesImagePermissionsToLaunch)(nil)).Elem() -} - -func (i GetImagesImagePermissionsToLaunchArray) ToGetImagesImagePermissionsToLaunchArrayOutput() GetImagesImagePermissionsToLaunchArrayOutput { - return i.ToGetImagesImagePermissionsToLaunchArrayOutputWithContext(context.Background()) -} - -func (i GetImagesImagePermissionsToLaunchArray) ToGetImagesImagePermissionsToLaunchArrayOutputWithContext(ctx context.Context) GetImagesImagePermissionsToLaunchArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImagesImagePermissionsToLaunchArrayOutput) -} - -type GetImagesImagePermissionsToLaunchOutput struct{ *pulumi.OutputState } - -func (GetImagesImagePermissionsToLaunchOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetImagesImagePermissionsToLaunch)(nil)).Elem() -} - -func (o GetImagesImagePermissionsToLaunchOutput) ToGetImagesImagePermissionsToLaunchOutput() GetImagesImagePermissionsToLaunchOutput { - return o -} - -func (o GetImagesImagePermissionsToLaunchOutput) ToGetImagesImagePermissionsToLaunchOutputWithContext(ctx context.Context) GetImagesImagePermissionsToLaunchOutput { - return o -} - -// The account ID of the owner of the OMI. -func (o GetImagesImagePermissionsToLaunchOutput) AccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetImagesImagePermissionsToLaunch) string { return v.AccountId }).(pulumi.StringOutput) -} - -// A global permission for all accounts.
-// (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).
-// (Response) If true, the resource is public. If false, the resource is private. -func (o GetImagesImagePermissionsToLaunchOutput) GlobalPermission() pulumi.BoolOutput { - return o.ApplyT(func(v GetImagesImagePermissionsToLaunch) bool { return v.GlobalPermission }).(pulumi.BoolOutput) -} - -type GetImagesImagePermissionsToLaunchArrayOutput struct{ *pulumi.OutputState } - -func (GetImagesImagePermissionsToLaunchArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImagesImagePermissionsToLaunch)(nil)).Elem() -} - -func (o GetImagesImagePermissionsToLaunchArrayOutput) ToGetImagesImagePermissionsToLaunchArrayOutput() GetImagesImagePermissionsToLaunchArrayOutput { - return o -} - -func (o GetImagesImagePermissionsToLaunchArrayOutput) ToGetImagesImagePermissionsToLaunchArrayOutputWithContext(ctx context.Context) GetImagesImagePermissionsToLaunchArrayOutput { - return o -} - -func (o GetImagesImagePermissionsToLaunchArrayOutput) Index(i pulumi.IntInput) GetImagesImagePermissionsToLaunchOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetImagesImagePermissionsToLaunch { - return vs[0].([]GetImagesImagePermissionsToLaunch)[vs[1].(int)] - }).(GetImagesImagePermissionsToLaunchOutput) -} - -type GetImagesImageStateComment struct { - // The code of the change of state. - StateCode string `pulumi:"stateCode"` - // A message explaining the change of state. - StateMessage string `pulumi:"stateMessage"` -} - -// GetImagesImageStateCommentInput is an input type that accepts GetImagesImageStateCommentArgs and GetImagesImageStateCommentOutput values. -// You can construct a concrete instance of `GetImagesImageStateCommentInput` via: -// -// GetImagesImageStateCommentArgs{...} -type GetImagesImageStateCommentInput interface { - pulumi.Input - - ToGetImagesImageStateCommentOutput() GetImagesImageStateCommentOutput - ToGetImagesImageStateCommentOutputWithContext(context.Context) GetImagesImageStateCommentOutput -} - -type GetImagesImageStateCommentArgs struct { - // The code of the change of state. - StateCode pulumi.StringInput `pulumi:"stateCode"` - // A message explaining the change of state. - StateMessage pulumi.StringInput `pulumi:"stateMessage"` -} - -func (GetImagesImageStateCommentArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetImagesImageStateComment)(nil)).Elem() -} - -func (i GetImagesImageStateCommentArgs) ToGetImagesImageStateCommentOutput() GetImagesImageStateCommentOutput { - return i.ToGetImagesImageStateCommentOutputWithContext(context.Background()) -} - -func (i GetImagesImageStateCommentArgs) ToGetImagesImageStateCommentOutputWithContext(ctx context.Context) GetImagesImageStateCommentOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImagesImageStateCommentOutput) -} - -// GetImagesImageStateCommentArrayInput is an input type that accepts GetImagesImageStateCommentArray and GetImagesImageStateCommentArrayOutput values. -// You can construct a concrete instance of `GetImagesImageStateCommentArrayInput` via: -// -// GetImagesImageStateCommentArray{ GetImagesImageStateCommentArgs{...} } -type GetImagesImageStateCommentArrayInput interface { - pulumi.Input - - ToGetImagesImageStateCommentArrayOutput() GetImagesImageStateCommentArrayOutput - ToGetImagesImageStateCommentArrayOutputWithContext(context.Context) GetImagesImageStateCommentArrayOutput -} - -type GetImagesImageStateCommentArray []GetImagesImageStateCommentInput - -func (GetImagesImageStateCommentArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImagesImageStateComment)(nil)).Elem() -} - -func (i GetImagesImageStateCommentArray) ToGetImagesImageStateCommentArrayOutput() GetImagesImageStateCommentArrayOutput { - return i.ToGetImagesImageStateCommentArrayOutputWithContext(context.Background()) -} - -func (i GetImagesImageStateCommentArray) ToGetImagesImageStateCommentArrayOutputWithContext(ctx context.Context) GetImagesImageStateCommentArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImagesImageStateCommentArrayOutput) -} - -type GetImagesImageStateCommentOutput struct{ *pulumi.OutputState } - -func (GetImagesImageStateCommentOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetImagesImageStateComment)(nil)).Elem() -} - -func (o GetImagesImageStateCommentOutput) ToGetImagesImageStateCommentOutput() GetImagesImageStateCommentOutput { - return o -} - -func (o GetImagesImageStateCommentOutput) ToGetImagesImageStateCommentOutputWithContext(ctx context.Context) GetImagesImageStateCommentOutput { - return o -} - -// The code of the change of state. -func (o GetImagesImageStateCommentOutput) StateCode() pulumi.StringOutput { - return o.ApplyT(func(v GetImagesImageStateComment) string { return v.StateCode }).(pulumi.StringOutput) -} - -// A message explaining the change of state. -func (o GetImagesImageStateCommentOutput) StateMessage() pulumi.StringOutput { - return o.ApplyT(func(v GetImagesImageStateComment) string { return v.StateMessage }).(pulumi.StringOutput) -} - -type GetImagesImageStateCommentArrayOutput struct{ *pulumi.OutputState } - -func (GetImagesImageStateCommentArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImagesImageStateComment)(nil)).Elem() -} - -func (o GetImagesImageStateCommentArrayOutput) ToGetImagesImageStateCommentArrayOutput() GetImagesImageStateCommentArrayOutput { - return o -} - -func (o GetImagesImageStateCommentArrayOutput) ToGetImagesImageStateCommentArrayOutputWithContext(ctx context.Context) GetImagesImageStateCommentArrayOutput { - return o -} - -func (o GetImagesImageStateCommentArrayOutput) Index(i pulumi.IntInput) GetImagesImageStateCommentOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetImagesImageStateComment { - return vs[0].([]GetImagesImageStateComment)[vs[1].(int)] - }).(GetImagesImageStateCommentOutput) -} - -type GetImagesImageTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetImagesImageTagInput is an input type that accepts GetImagesImageTagArgs and GetImagesImageTagOutput values. -// You can construct a concrete instance of `GetImagesImageTagInput` via: -// -// GetImagesImageTagArgs{...} -type GetImagesImageTagInput interface { - pulumi.Input - - ToGetImagesImageTagOutput() GetImagesImageTagOutput - ToGetImagesImageTagOutputWithContext(context.Context) GetImagesImageTagOutput -} - -type GetImagesImageTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetImagesImageTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetImagesImageTag)(nil)).Elem() -} - -func (i GetImagesImageTagArgs) ToGetImagesImageTagOutput() GetImagesImageTagOutput { - return i.ToGetImagesImageTagOutputWithContext(context.Background()) -} - -func (i GetImagesImageTagArgs) ToGetImagesImageTagOutputWithContext(ctx context.Context) GetImagesImageTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImagesImageTagOutput) -} - -// GetImagesImageTagArrayInput is an input type that accepts GetImagesImageTagArray and GetImagesImageTagArrayOutput values. -// You can construct a concrete instance of `GetImagesImageTagArrayInput` via: -// -// GetImagesImageTagArray{ GetImagesImageTagArgs{...} } -type GetImagesImageTagArrayInput interface { - pulumi.Input - - ToGetImagesImageTagArrayOutput() GetImagesImageTagArrayOutput - ToGetImagesImageTagArrayOutputWithContext(context.Context) GetImagesImageTagArrayOutput -} - -type GetImagesImageTagArray []GetImagesImageTagInput - -func (GetImagesImageTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImagesImageTag)(nil)).Elem() -} - -func (i GetImagesImageTagArray) ToGetImagesImageTagArrayOutput() GetImagesImageTagArrayOutput { - return i.ToGetImagesImageTagArrayOutputWithContext(context.Background()) -} - -func (i GetImagesImageTagArray) ToGetImagesImageTagArrayOutputWithContext(ctx context.Context) GetImagesImageTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetImagesImageTagArrayOutput) -} - -type GetImagesImageTagOutput struct{ *pulumi.OutputState } - -func (GetImagesImageTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetImagesImageTag)(nil)).Elem() -} - -func (o GetImagesImageTagOutput) ToGetImagesImageTagOutput() GetImagesImageTagOutput { - return o -} - -func (o GetImagesImageTagOutput) ToGetImagesImageTagOutputWithContext(ctx context.Context) GetImagesImageTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetImagesImageTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetImagesImageTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetImagesImageTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetImagesImageTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetImagesImageTagArrayOutput struct{ *pulumi.OutputState } - -func (GetImagesImageTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetImagesImageTag)(nil)).Elem() -} - -func (o GetImagesImageTagArrayOutput) ToGetImagesImageTagArrayOutput() GetImagesImageTagArrayOutput { - return o -} - -func (o GetImagesImageTagArrayOutput) ToGetImagesImageTagArrayOutputWithContext(ctx context.Context) GetImagesImageTagArrayOutput { - return o -} - -func (o GetImagesImageTagArrayOutput) Index(i pulumi.IntInput) GetImagesImageTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetImagesImageTag { - return vs[0].([]GetImagesImageTag)[vs[1].(int)] - }).(GetImagesImageTagOutput) -} - -type GetInternetServiceFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetInternetServiceFilterInput is an input type that accepts GetInternetServiceFilterArgs and GetInternetServiceFilterOutput values. -// You can construct a concrete instance of `GetInternetServiceFilterInput` via: -// -// GetInternetServiceFilterArgs{...} -type GetInternetServiceFilterInput interface { - pulumi.Input - - ToGetInternetServiceFilterOutput() GetInternetServiceFilterOutput - ToGetInternetServiceFilterOutputWithContext(context.Context) GetInternetServiceFilterOutput -} - -type GetInternetServiceFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetInternetServiceFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInternetServiceFilter)(nil)).Elem() -} - -func (i GetInternetServiceFilterArgs) ToGetInternetServiceFilterOutput() GetInternetServiceFilterOutput { - return i.ToGetInternetServiceFilterOutputWithContext(context.Background()) -} - -func (i GetInternetServiceFilterArgs) ToGetInternetServiceFilterOutputWithContext(ctx context.Context) GetInternetServiceFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInternetServiceFilterOutput) -} - -// GetInternetServiceFilterArrayInput is an input type that accepts GetInternetServiceFilterArray and GetInternetServiceFilterArrayOutput values. -// You can construct a concrete instance of `GetInternetServiceFilterArrayInput` via: -// -// GetInternetServiceFilterArray{ GetInternetServiceFilterArgs{...} } -type GetInternetServiceFilterArrayInput interface { - pulumi.Input - - ToGetInternetServiceFilterArrayOutput() GetInternetServiceFilterArrayOutput - ToGetInternetServiceFilterArrayOutputWithContext(context.Context) GetInternetServiceFilterArrayOutput -} - -type GetInternetServiceFilterArray []GetInternetServiceFilterInput - -func (GetInternetServiceFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInternetServiceFilter)(nil)).Elem() -} - -func (i GetInternetServiceFilterArray) ToGetInternetServiceFilterArrayOutput() GetInternetServiceFilterArrayOutput { - return i.ToGetInternetServiceFilterArrayOutputWithContext(context.Background()) -} - -func (i GetInternetServiceFilterArray) ToGetInternetServiceFilterArrayOutputWithContext(ctx context.Context) GetInternetServiceFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInternetServiceFilterArrayOutput) -} - -type GetInternetServiceFilterOutput struct{ *pulumi.OutputState } - -func (GetInternetServiceFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInternetServiceFilter)(nil)).Elem() -} - -func (o GetInternetServiceFilterOutput) ToGetInternetServiceFilterOutput() GetInternetServiceFilterOutput { - return o -} - -func (o GetInternetServiceFilterOutput) ToGetInternetServiceFilterOutputWithContext(ctx context.Context) GetInternetServiceFilterOutput { - return o -} - -func (o GetInternetServiceFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetInternetServiceFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetInternetServiceFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetInternetServiceFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetInternetServiceFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetInternetServiceFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInternetServiceFilter)(nil)).Elem() -} - -func (o GetInternetServiceFilterArrayOutput) ToGetInternetServiceFilterArrayOutput() GetInternetServiceFilterArrayOutput { - return o -} - -func (o GetInternetServiceFilterArrayOutput) ToGetInternetServiceFilterArrayOutputWithContext(ctx context.Context) GetInternetServiceFilterArrayOutput { - return o -} - -func (o GetInternetServiceFilterArrayOutput) Index(i pulumi.IntInput) GetInternetServiceFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInternetServiceFilter { - return vs[0].([]GetInternetServiceFilter)[vs[1].(int)] - }).(GetInternetServiceFilterOutput) -} - -type GetInternetServiceTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetInternetServiceTagInput is an input type that accepts GetInternetServiceTagArgs and GetInternetServiceTagOutput values. -// You can construct a concrete instance of `GetInternetServiceTagInput` via: -// -// GetInternetServiceTagArgs{...} -type GetInternetServiceTagInput interface { - pulumi.Input - - ToGetInternetServiceTagOutput() GetInternetServiceTagOutput - ToGetInternetServiceTagOutputWithContext(context.Context) GetInternetServiceTagOutput -} - -type GetInternetServiceTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetInternetServiceTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInternetServiceTag)(nil)).Elem() -} - -func (i GetInternetServiceTagArgs) ToGetInternetServiceTagOutput() GetInternetServiceTagOutput { - return i.ToGetInternetServiceTagOutputWithContext(context.Background()) -} - -func (i GetInternetServiceTagArgs) ToGetInternetServiceTagOutputWithContext(ctx context.Context) GetInternetServiceTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInternetServiceTagOutput) -} - -// GetInternetServiceTagArrayInput is an input type that accepts GetInternetServiceTagArray and GetInternetServiceTagArrayOutput values. -// You can construct a concrete instance of `GetInternetServiceTagArrayInput` via: -// -// GetInternetServiceTagArray{ GetInternetServiceTagArgs{...} } -type GetInternetServiceTagArrayInput interface { - pulumi.Input - - ToGetInternetServiceTagArrayOutput() GetInternetServiceTagArrayOutput - ToGetInternetServiceTagArrayOutputWithContext(context.Context) GetInternetServiceTagArrayOutput -} - -type GetInternetServiceTagArray []GetInternetServiceTagInput - -func (GetInternetServiceTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInternetServiceTag)(nil)).Elem() -} - -func (i GetInternetServiceTagArray) ToGetInternetServiceTagArrayOutput() GetInternetServiceTagArrayOutput { - return i.ToGetInternetServiceTagArrayOutputWithContext(context.Background()) -} - -func (i GetInternetServiceTagArray) ToGetInternetServiceTagArrayOutputWithContext(ctx context.Context) GetInternetServiceTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInternetServiceTagArrayOutput) -} - -type GetInternetServiceTagOutput struct{ *pulumi.OutputState } - -func (GetInternetServiceTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInternetServiceTag)(nil)).Elem() -} - -func (o GetInternetServiceTagOutput) ToGetInternetServiceTagOutput() GetInternetServiceTagOutput { - return o -} - -func (o GetInternetServiceTagOutput) ToGetInternetServiceTagOutputWithContext(ctx context.Context) GetInternetServiceTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetInternetServiceTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetInternetServiceTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetInternetServiceTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetInternetServiceTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetInternetServiceTagArrayOutput struct{ *pulumi.OutputState } - -func (GetInternetServiceTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInternetServiceTag)(nil)).Elem() -} - -func (o GetInternetServiceTagArrayOutput) ToGetInternetServiceTagArrayOutput() GetInternetServiceTagArrayOutput { - return o -} - -func (o GetInternetServiceTagArrayOutput) ToGetInternetServiceTagArrayOutputWithContext(ctx context.Context) GetInternetServiceTagArrayOutput { - return o -} - -func (o GetInternetServiceTagArrayOutput) Index(i pulumi.IntInput) GetInternetServiceTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInternetServiceTag { - return vs[0].([]GetInternetServiceTag)[vs[1].(int)] - }).(GetInternetServiceTagOutput) -} - -type GetInternetServicesFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetInternetServicesFilterInput is an input type that accepts GetInternetServicesFilterArgs and GetInternetServicesFilterOutput values. -// You can construct a concrete instance of `GetInternetServicesFilterInput` via: -// -// GetInternetServicesFilterArgs{...} -type GetInternetServicesFilterInput interface { - pulumi.Input - - ToGetInternetServicesFilterOutput() GetInternetServicesFilterOutput - ToGetInternetServicesFilterOutputWithContext(context.Context) GetInternetServicesFilterOutput -} - -type GetInternetServicesFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetInternetServicesFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInternetServicesFilter)(nil)).Elem() -} - -func (i GetInternetServicesFilterArgs) ToGetInternetServicesFilterOutput() GetInternetServicesFilterOutput { - return i.ToGetInternetServicesFilterOutputWithContext(context.Background()) -} - -func (i GetInternetServicesFilterArgs) ToGetInternetServicesFilterOutputWithContext(ctx context.Context) GetInternetServicesFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInternetServicesFilterOutput) -} - -// GetInternetServicesFilterArrayInput is an input type that accepts GetInternetServicesFilterArray and GetInternetServicesFilterArrayOutput values. -// You can construct a concrete instance of `GetInternetServicesFilterArrayInput` via: -// -// GetInternetServicesFilterArray{ GetInternetServicesFilterArgs{...} } -type GetInternetServicesFilterArrayInput interface { - pulumi.Input - - ToGetInternetServicesFilterArrayOutput() GetInternetServicesFilterArrayOutput - ToGetInternetServicesFilterArrayOutputWithContext(context.Context) GetInternetServicesFilterArrayOutput -} - -type GetInternetServicesFilterArray []GetInternetServicesFilterInput - -func (GetInternetServicesFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInternetServicesFilter)(nil)).Elem() -} - -func (i GetInternetServicesFilterArray) ToGetInternetServicesFilterArrayOutput() GetInternetServicesFilterArrayOutput { - return i.ToGetInternetServicesFilterArrayOutputWithContext(context.Background()) -} - -func (i GetInternetServicesFilterArray) ToGetInternetServicesFilterArrayOutputWithContext(ctx context.Context) GetInternetServicesFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInternetServicesFilterArrayOutput) -} - -type GetInternetServicesFilterOutput struct{ *pulumi.OutputState } - -func (GetInternetServicesFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInternetServicesFilter)(nil)).Elem() -} - -func (o GetInternetServicesFilterOutput) ToGetInternetServicesFilterOutput() GetInternetServicesFilterOutput { - return o -} - -func (o GetInternetServicesFilterOutput) ToGetInternetServicesFilterOutputWithContext(ctx context.Context) GetInternetServicesFilterOutput { - return o -} - -func (o GetInternetServicesFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetInternetServicesFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetInternetServicesFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetInternetServicesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetInternetServicesFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetInternetServicesFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInternetServicesFilter)(nil)).Elem() -} - -func (o GetInternetServicesFilterArrayOutput) ToGetInternetServicesFilterArrayOutput() GetInternetServicesFilterArrayOutput { - return o -} - -func (o GetInternetServicesFilterArrayOutput) ToGetInternetServicesFilterArrayOutputWithContext(ctx context.Context) GetInternetServicesFilterArrayOutput { - return o -} - -func (o GetInternetServicesFilterArrayOutput) Index(i pulumi.IntInput) GetInternetServicesFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInternetServicesFilter { - return vs[0].([]GetInternetServicesFilter)[vs[1].(int)] - }).(GetInternetServicesFilterOutput) -} - -type GetInternetServicesInternetService struct { - // The ID of the Internet service. - InternetServiceId string `pulumi:"internetServiceId"` - // The ID of the Net attached to the Internet service. - NetId string `pulumi:"netId"` - // The state of the attachment of the Internet service to the Net (always `available`). - State string `pulumi:"state"` - // The key/value combinations of the tags associated with the Internet services, in the following format: `TAGKEY=TAGVALUE`. - Tags []GetInternetServicesInternetServiceTag `pulumi:"tags"` -} - -// GetInternetServicesInternetServiceInput is an input type that accepts GetInternetServicesInternetServiceArgs and GetInternetServicesInternetServiceOutput values. -// You can construct a concrete instance of `GetInternetServicesInternetServiceInput` via: -// -// GetInternetServicesInternetServiceArgs{...} -type GetInternetServicesInternetServiceInput interface { - pulumi.Input - - ToGetInternetServicesInternetServiceOutput() GetInternetServicesInternetServiceOutput - ToGetInternetServicesInternetServiceOutputWithContext(context.Context) GetInternetServicesInternetServiceOutput -} - -type GetInternetServicesInternetServiceArgs struct { - // The ID of the Internet service. - InternetServiceId pulumi.StringInput `pulumi:"internetServiceId"` - // The ID of the Net attached to the Internet service. - NetId pulumi.StringInput `pulumi:"netId"` - // The state of the attachment of the Internet service to the Net (always `available`). - State pulumi.StringInput `pulumi:"state"` - // The key/value combinations of the tags associated with the Internet services, in the following format: `TAGKEY=TAGVALUE`. - Tags GetInternetServicesInternetServiceTagArrayInput `pulumi:"tags"` -} - -func (GetInternetServicesInternetServiceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInternetServicesInternetService)(nil)).Elem() -} - -func (i GetInternetServicesInternetServiceArgs) ToGetInternetServicesInternetServiceOutput() GetInternetServicesInternetServiceOutput { - return i.ToGetInternetServicesInternetServiceOutputWithContext(context.Background()) -} - -func (i GetInternetServicesInternetServiceArgs) ToGetInternetServicesInternetServiceOutputWithContext(ctx context.Context) GetInternetServicesInternetServiceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInternetServicesInternetServiceOutput) -} - -// GetInternetServicesInternetServiceArrayInput is an input type that accepts GetInternetServicesInternetServiceArray and GetInternetServicesInternetServiceArrayOutput values. -// You can construct a concrete instance of `GetInternetServicesInternetServiceArrayInput` via: -// -// GetInternetServicesInternetServiceArray{ GetInternetServicesInternetServiceArgs{...} } -type GetInternetServicesInternetServiceArrayInput interface { - pulumi.Input - - ToGetInternetServicesInternetServiceArrayOutput() GetInternetServicesInternetServiceArrayOutput - ToGetInternetServicesInternetServiceArrayOutputWithContext(context.Context) GetInternetServicesInternetServiceArrayOutput -} - -type GetInternetServicesInternetServiceArray []GetInternetServicesInternetServiceInput - -func (GetInternetServicesInternetServiceArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInternetServicesInternetService)(nil)).Elem() -} - -func (i GetInternetServicesInternetServiceArray) ToGetInternetServicesInternetServiceArrayOutput() GetInternetServicesInternetServiceArrayOutput { - return i.ToGetInternetServicesInternetServiceArrayOutputWithContext(context.Background()) -} - -func (i GetInternetServicesInternetServiceArray) ToGetInternetServicesInternetServiceArrayOutputWithContext(ctx context.Context) GetInternetServicesInternetServiceArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInternetServicesInternetServiceArrayOutput) -} - -type GetInternetServicesInternetServiceOutput struct{ *pulumi.OutputState } - -func (GetInternetServicesInternetServiceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInternetServicesInternetService)(nil)).Elem() -} - -func (o GetInternetServicesInternetServiceOutput) ToGetInternetServicesInternetServiceOutput() GetInternetServicesInternetServiceOutput { - return o -} - -func (o GetInternetServicesInternetServiceOutput) ToGetInternetServicesInternetServiceOutputWithContext(ctx context.Context) GetInternetServicesInternetServiceOutput { - return o -} - -// The ID of the Internet service. -func (o GetInternetServicesInternetServiceOutput) InternetServiceId() pulumi.StringOutput { - return o.ApplyT(func(v GetInternetServicesInternetService) string { return v.InternetServiceId }).(pulumi.StringOutput) -} - -// The ID of the Net attached to the Internet service. -func (o GetInternetServicesInternetServiceOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v GetInternetServicesInternetService) string { return v.NetId }).(pulumi.StringOutput) -} - -// The state of the attachment of the Internet service to the Net (always `available`). -func (o GetInternetServicesInternetServiceOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetInternetServicesInternetService) string { return v.State }).(pulumi.StringOutput) -} - -// The key/value combinations of the tags associated with the Internet services, in the following format: `TAGKEY=TAGVALUE`. -func (o GetInternetServicesInternetServiceOutput) Tags() GetInternetServicesInternetServiceTagArrayOutput { - return o.ApplyT(func(v GetInternetServicesInternetService) []GetInternetServicesInternetServiceTag { return v.Tags }).(GetInternetServicesInternetServiceTagArrayOutput) -} - -type GetInternetServicesInternetServiceArrayOutput struct{ *pulumi.OutputState } - -func (GetInternetServicesInternetServiceArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInternetServicesInternetService)(nil)).Elem() -} - -func (o GetInternetServicesInternetServiceArrayOutput) ToGetInternetServicesInternetServiceArrayOutput() GetInternetServicesInternetServiceArrayOutput { - return o -} - -func (o GetInternetServicesInternetServiceArrayOutput) ToGetInternetServicesInternetServiceArrayOutputWithContext(ctx context.Context) GetInternetServicesInternetServiceArrayOutput { - return o -} - -func (o GetInternetServicesInternetServiceArrayOutput) Index(i pulumi.IntInput) GetInternetServicesInternetServiceOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInternetServicesInternetService { - return vs[0].([]GetInternetServicesInternetService)[vs[1].(int)] - }).(GetInternetServicesInternetServiceOutput) -} - -type GetInternetServicesInternetServiceTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetInternetServicesInternetServiceTagInput is an input type that accepts GetInternetServicesInternetServiceTagArgs and GetInternetServicesInternetServiceTagOutput values. -// You can construct a concrete instance of `GetInternetServicesInternetServiceTagInput` via: -// -// GetInternetServicesInternetServiceTagArgs{...} -type GetInternetServicesInternetServiceTagInput interface { - pulumi.Input - - ToGetInternetServicesInternetServiceTagOutput() GetInternetServicesInternetServiceTagOutput - ToGetInternetServicesInternetServiceTagOutputWithContext(context.Context) GetInternetServicesInternetServiceTagOutput -} - -type GetInternetServicesInternetServiceTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetInternetServicesInternetServiceTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInternetServicesInternetServiceTag)(nil)).Elem() -} - -func (i GetInternetServicesInternetServiceTagArgs) ToGetInternetServicesInternetServiceTagOutput() GetInternetServicesInternetServiceTagOutput { - return i.ToGetInternetServicesInternetServiceTagOutputWithContext(context.Background()) -} - -func (i GetInternetServicesInternetServiceTagArgs) ToGetInternetServicesInternetServiceTagOutputWithContext(ctx context.Context) GetInternetServicesInternetServiceTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInternetServicesInternetServiceTagOutput) -} - -// GetInternetServicesInternetServiceTagArrayInput is an input type that accepts GetInternetServicesInternetServiceTagArray and GetInternetServicesInternetServiceTagArrayOutput values. -// You can construct a concrete instance of `GetInternetServicesInternetServiceTagArrayInput` via: -// -// GetInternetServicesInternetServiceTagArray{ GetInternetServicesInternetServiceTagArgs{...} } -type GetInternetServicesInternetServiceTagArrayInput interface { - pulumi.Input - - ToGetInternetServicesInternetServiceTagArrayOutput() GetInternetServicesInternetServiceTagArrayOutput - ToGetInternetServicesInternetServiceTagArrayOutputWithContext(context.Context) GetInternetServicesInternetServiceTagArrayOutput -} - -type GetInternetServicesInternetServiceTagArray []GetInternetServicesInternetServiceTagInput - -func (GetInternetServicesInternetServiceTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInternetServicesInternetServiceTag)(nil)).Elem() -} - -func (i GetInternetServicesInternetServiceTagArray) ToGetInternetServicesInternetServiceTagArrayOutput() GetInternetServicesInternetServiceTagArrayOutput { - return i.ToGetInternetServicesInternetServiceTagArrayOutputWithContext(context.Background()) -} - -func (i GetInternetServicesInternetServiceTagArray) ToGetInternetServicesInternetServiceTagArrayOutputWithContext(ctx context.Context) GetInternetServicesInternetServiceTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInternetServicesInternetServiceTagArrayOutput) -} - -type GetInternetServicesInternetServiceTagOutput struct{ *pulumi.OutputState } - -func (GetInternetServicesInternetServiceTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetInternetServicesInternetServiceTag)(nil)).Elem() -} - -func (o GetInternetServicesInternetServiceTagOutput) ToGetInternetServicesInternetServiceTagOutput() GetInternetServicesInternetServiceTagOutput { - return o -} - -func (o GetInternetServicesInternetServiceTagOutput) ToGetInternetServicesInternetServiceTagOutputWithContext(ctx context.Context) GetInternetServicesInternetServiceTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetInternetServicesInternetServiceTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetInternetServicesInternetServiceTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetInternetServicesInternetServiceTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetInternetServicesInternetServiceTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetInternetServicesInternetServiceTagArrayOutput struct{ *pulumi.OutputState } - -func (GetInternetServicesInternetServiceTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetInternetServicesInternetServiceTag)(nil)).Elem() -} - -func (o GetInternetServicesInternetServiceTagArrayOutput) ToGetInternetServicesInternetServiceTagArrayOutput() GetInternetServicesInternetServiceTagArrayOutput { - return o -} - -func (o GetInternetServicesInternetServiceTagArrayOutput) ToGetInternetServicesInternetServiceTagArrayOutputWithContext(ctx context.Context) GetInternetServicesInternetServiceTagArrayOutput { - return o -} - -func (o GetInternetServicesInternetServiceTagArrayOutput) Index(i pulumi.IntInput) GetInternetServicesInternetServiceTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInternetServicesInternetServiceTag { - return vs[0].([]GetInternetServicesInternetServiceTag)[vs[1].(int)] - }).(GetInternetServicesInternetServiceTagOutput) -} - -type GetKeypairFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetKeypairFilterInput is an input type that accepts GetKeypairFilterArgs and GetKeypairFilterOutput values. -// You can construct a concrete instance of `GetKeypairFilterInput` via: -// -// GetKeypairFilterArgs{...} -type GetKeypairFilterInput interface { - pulumi.Input - - ToGetKeypairFilterOutput() GetKeypairFilterOutput - ToGetKeypairFilterOutputWithContext(context.Context) GetKeypairFilterOutput -} - -type GetKeypairFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetKeypairFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetKeypairFilter)(nil)).Elem() -} - -func (i GetKeypairFilterArgs) ToGetKeypairFilterOutput() GetKeypairFilterOutput { - return i.ToGetKeypairFilterOutputWithContext(context.Background()) -} - -func (i GetKeypairFilterArgs) ToGetKeypairFilterOutputWithContext(ctx context.Context) GetKeypairFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKeypairFilterOutput) -} - -// GetKeypairFilterArrayInput is an input type that accepts GetKeypairFilterArray and GetKeypairFilterArrayOutput values. -// You can construct a concrete instance of `GetKeypairFilterArrayInput` via: -// -// GetKeypairFilterArray{ GetKeypairFilterArgs{...} } -type GetKeypairFilterArrayInput interface { - pulumi.Input - - ToGetKeypairFilterArrayOutput() GetKeypairFilterArrayOutput - ToGetKeypairFilterArrayOutputWithContext(context.Context) GetKeypairFilterArrayOutput -} - -type GetKeypairFilterArray []GetKeypairFilterInput - -func (GetKeypairFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKeypairFilter)(nil)).Elem() -} - -func (i GetKeypairFilterArray) ToGetKeypairFilterArrayOutput() GetKeypairFilterArrayOutput { - return i.ToGetKeypairFilterArrayOutputWithContext(context.Background()) -} - -func (i GetKeypairFilterArray) ToGetKeypairFilterArrayOutputWithContext(ctx context.Context) GetKeypairFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKeypairFilterArrayOutput) -} - -type GetKeypairFilterOutput struct{ *pulumi.OutputState } - -func (GetKeypairFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetKeypairFilter)(nil)).Elem() -} - -func (o GetKeypairFilterOutput) ToGetKeypairFilterOutput() GetKeypairFilterOutput { - return o -} - -func (o GetKeypairFilterOutput) ToGetKeypairFilterOutputWithContext(ctx context.Context) GetKeypairFilterOutput { - return o -} - -func (o GetKeypairFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetKeypairFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetKeypairFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetKeypairFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetKeypairFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetKeypairFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKeypairFilter)(nil)).Elem() -} - -func (o GetKeypairFilterArrayOutput) ToGetKeypairFilterArrayOutput() GetKeypairFilterArrayOutput { - return o -} - -func (o GetKeypairFilterArrayOutput) ToGetKeypairFilterArrayOutputWithContext(ctx context.Context) GetKeypairFilterArrayOutput { - return o -} - -func (o GetKeypairFilterArrayOutput) Index(i pulumi.IntInput) GetKeypairFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeypairFilter { - return vs[0].([]GetKeypairFilter)[vs[1].(int)] - }).(GetKeypairFilterOutput) -} - -type GetKeypairsFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetKeypairsFilterInput is an input type that accepts GetKeypairsFilterArgs and GetKeypairsFilterOutput values. -// You can construct a concrete instance of `GetKeypairsFilterInput` via: -// -// GetKeypairsFilterArgs{...} -type GetKeypairsFilterInput interface { - pulumi.Input - - ToGetKeypairsFilterOutput() GetKeypairsFilterOutput - ToGetKeypairsFilterOutputWithContext(context.Context) GetKeypairsFilterOutput -} - -type GetKeypairsFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetKeypairsFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetKeypairsFilter)(nil)).Elem() -} - -func (i GetKeypairsFilterArgs) ToGetKeypairsFilterOutput() GetKeypairsFilterOutput { - return i.ToGetKeypairsFilterOutputWithContext(context.Background()) -} - -func (i GetKeypairsFilterArgs) ToGetKeypairsFilterOutputWithContext(ctx context.Context) GetKeypairsFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKeypairsFilterOutput) -} - -// GetKeypairsFilterArrayInput is an input type that accepts GetKeypairsFilterArray and GetKeypairsFilterArrayOutput values. -// You can construct a concrete instance of `GetKeypairsFilterArrayInput` via: -// -// GetKeypairsFilterArray{ GetKeypairsFilterArgs{...} } -type GetKeypairsFilterArrayInput interface { - pulumi.Input - - ToGetKeypairsFilterArrayOutput() GetKeypairsFilterArrayOutput - ToGetKeypairsFilterArrayOutputWithContext(context.Context) GetKeypairsFilterArrayOutput -} - -type GetKeypairsFilterArray []GetKeypairsFilterInput - -func (GetKeypairsFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKeypairsFilter)(nil)).Elem() -} - -func (i GetKeypairsFilterArray) ToGetKeypairsFilterArrayOutput() GetKeypairsFilterArrayOutput { - return i.ToGetKeypairsFilterArrayOutputWithContext(context.Background()) -} - -func (i GetKeypairsFilterArray) ToGetKeypairsFilterArrayOutputWithContext(ctx context.Context) GetKeypairsFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKeypairsFilterArrayOutput) -} - -type GetKeypairsFilterOutput struct{ *pulumi.OutputState } - -func (GetKeypairsFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetKeypairsFilter)(nil)).Elem() -} - -func (o GetKeypairsFilterOutput) ToGetKeypairsFilterOutput() GetKeypairsFilterOutput { - return o -} - -func (o GetKeypairsFilterOutput) ToGetKeypairsFilterOutputWithContext(ctx context.Context) GetKeypairsFilterOutput { - return o -} - -func (o GetKeypairsFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetKeypairsFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetKeypairsFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetKeypairsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetKeypairsFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetKeypairsFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKeypairsFilter)(nil)).Elem() -} - -func (o GetKeypairsFilterArrayOutput) ToGetKeypairsFilterArrayOutput() GetKeypairsFilterArrayOutput { - return o -} - -func (o GetKeypairsFilterArrayOutput) ToGetKeypairsFilterArrayOutputWithContext(ctx context.Context) GetKeypairsFilterArrayOutput { - return o -} - -func (o GetKeypairsFilterArrayOutput) Index(i pulumi.IntInput) GetKeypairsFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeypairsFilter { - return vs[0].([]GetKeypairsFilter)[vs[1].(int)] - }).(GetKeypairsFilterOutput) -} - -type GetKeypairsKeypair struct { - // The MD5 public key fingerprint as specified in section 4 of RFC 4716. - KeypairFingerprint string `pulumi:"keypairFingerprint"` - // The name of the keypair. - KeypairName string `pulumi:"keypairName"` -} - -// GetKeypairsKeypairInput is an input type that accepts GetKeypairsKeypairArgs and GetKeypairsKeypairOutput values. -// You can construct a concrete instance of `GetKeypairsKeypairInput` via: -// -// GetKeypairsKeypairArgs{...} -type GetKeypairsKeypairInput interface { - pulumi.Input - - ToGetKeypairsKeypairOutput() GetKeypairsKeypairOutput - ToGetKeypairsKeypairOutputWithContext(context.Context) GetKeypairsKeypairOutput -} - -type GetKeypairsKeypairArgs struct { - // The MD5 public key fingerprint as specified in section 4 of RFC 4716. - KeypairFingerprint pulumi.StringInput `pulumi:"keypairFingerprint"` - // The name of the keypair. - KeypairName pulumi.StringInput `pulumi:"keypairName"` -} - -func (GetKeypairsKeypairArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetKeypairsKeypair)(nil)).Elem() -} - -func (i GetKeypairsKeypairArgs) ToGetKeypairsKeypairOutput() GetKeypairsKeypairOutput { - return i.ToGetKeypairsKeypairOutputWithContext(context.Background()) -} - -func (i GetKeypairsKeypairArgs) ToGetKeypairsKeypairOutputWithContext(ctx context.Context) GetKeypairsKeypairOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKeypairsKeypairOutput) -} - -// GetKeypairsKeypairArrayInput is an input type that accepts GetKeypairsKeypairArray and GetKeypairsKeypairArrayOutput values. -// You can construct a concrete instance of `GetKeypairsKeypairArrayInput` via: -// -// GetKeypairsKeypairArray{ GetKeypairsKeypairArgs{...} } -type GetKeypairsKeypairArrayInput interface { - pulumi.Input - - ToGetKeypairsKeypairArrayOutput() GetKeypairsKeypairArrayOutput - ToGetKeypairsKeypairArrayOutputWithContext(context.Context) GetKeypairsKeypairArrayOutput -} - -type GetKeypairsKeypairArray []GetKeypairsKeypairInput - -func (GetKeypairsKeypairArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKeypairsKeypair)(nil)).Elem() -} - -func (i GetKeypairsKeypairArray) ToGetKeypairsKeypairArrayOutput() GetKeypairsKeypairArrayOutput { - return i.ToGetKeypairsKeypairArrayOutputWithContext(context.Background()) -} - -func (i GetKeypairsKeypairArray) ToGetKeypairsKeypairArrayOutputWithContext(ctx context.Context) GetKeypairsKeypairArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKeypairsKeypairArrayOutput) -} - -type GetKeypairsKeypairOutput struct{ *pulumi.OutputState } - -func (GetKeypairsKeypairOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetKeypairsKeypair)(nil)).Elem() -} - -func (o GetKeypairsKeypairOutput) ToGetKeypairsKeypairOutput() GetKeypairsKeypairOutput { - return o -} - -func (o GetKeypairsKeypairOutput) ToGetKeypairsKeypairOutputWithContext(ctx context.Context) GetKeypairsKeypairOutput { - return o -} - -// The MD5 public key fingerprint as specified in section 4 of RFC 4716. -func (o GetKeypairsKeypairOutput) KeypairFingerprint() pulumi.StringOutput { - return o.ApplyT(func(v GetKeypairsKeypair) string { return v.KeypairFingerprint }).(pulumi.StringOutput) -} - -// The name of the keypair. -func (o GetKeypairsKeypairOutput) KeypairName() pulumi.StringOutput { - return o.ApplyT(func(v GetKeypairsKeypair) string { return v.KeypairName }).(pulumi.StringOutput) -} - -type GetKeypairsKeypairArrayOutput struct{ *pulumi.OutputState } - -func (GetKeypairsKeypairArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKeypairsKeypair)(nil)).Elem() -} - -func (o GetKeypairsKeypairArrayOutput) ToGetKeypairsKeypairArrayOutput() GetKeypairsKeypairArrayOutput { - return o -} - -func (o GetKeypairsKeypairArrayOutput) ToGetKeypairsKeypairArrayOutputWithContext(ctx context.Context) GetKeypairsKeypairArrayOutput { - return o -} - -func (o GetKeypairsKeypairArrayOutput) Index(i pulumi.IntInput) GetKeypairsKeypairOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeypairsKeypair { - return vs[0].([]GetKeypairsKeypair)[vs[1].(int)] - }).(GetKeypairsKeypairOutput) -} - -type GetLoadBalancerAccessLog struct { - // If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osuBucketName` parameter is required. - IsEnabled bool `pulumi:"isEnabled"` - // The name of the OOS bucket for the access logs. - OsuBucketName string `pulumi:"osuBucketName"` - // The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - OsuBucketPrefix string `pulumi:"osuBucketPrefix"` - // The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - PublicationInterval int `pulumi:"publicationInterval"` -} - -// GetLoadBalancerAccessLogInput is an input type that accepts GetLoadBalancerAccessLogArgs and GetLoadBalancerAccessLogOutput values. -// You can construct a concrete instance of `GetLoadBalancerAccessLogInput` via: -// -// GetLoadBalancerAccessLogArgs{...} -type GetLoadBalancerAccessLogInput interface { - pulumi.Input - - ToGetLoadBalancerAccessLogOutput() GetLoadBalancerAccessLogOutput - ToGetLoadBalancerAccessLogOutputWithContext(context.Context) GetLoadBalancerAccessLogOutput -} - -type GetLoadBalancerAccessLogArgs struct { - // If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osuBucketName` parameter is required. - IsEnabled pulumi.BoolInput `pulumi:"isEnabled"` - // The name of the OOS bucket for the access logs. - OsuBucketName pulumi.StringInput `pulumi:"osuBucketName"` - // The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - OsuBucketPrefix pulumi.StringInput `pulumi:"osuBucketPrefix"` - // The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - PublicationInterval pulumi.IntInput `pulumi:"publicationInterval"` -} - -func (GetLoadBalancerAccessLogArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancerAccessLog)(nil)).Elem() -} - -func (i GetLoadBalancerAccessLogArgs) ToGetLoadBalancerAccessLogOutput() GetLoadBalancerAccessLogOutput { - return i.ToGetLoadBalancerAccessLogOutputWithContext(context.Background()) -} - -func (i GetLoadBalancerAccessLogArgs) ToGetLoadBalancerAccessLogOutputWithContext(ctx context.Context) GetLoadBalancerAccessLogOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancerAccessLogOutput) -} - -// GetLoadBalancerAccessLogArrayInput is an input type that accepts GetLoadBalancerAccessLogArray and GetLoadBalancerAccessLogArrayOutput values. -// You can construct a concrete instance of `GetLoadBalancerAccessLogArrayInput` via: -// -// GetLoadBalancerAccessLogArray{ GetLoadBalancerAccessLogArgs{...} } -type GetLoadBalancerAccessLogArrayInput interface { - pulumi.Input - - ToGetLoadBalancerAccessLogArrayOutput() GetLoadBalancerAccessLogArrayOutput - ToGetLoadBalancerAccessLogArrayOutputWithContext(context.Context) GetLoadBalancerAccessLogArrayOutput -} - -type GetLoadBalancerAccessLogArray []GetLoadBalancerAccessLogInput - -func (GetLoadBalancerAccessLogArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancerAccessLog)(nil)).Elem() -} - -func (i GetLoadBalancerAccessLogArray) ToGetLoadBalancerAccessLogArrayOutput() GetLoadBalancerAccessLogArrayOutput { - return i.ToGetLoadBalancerAccessLogArrayOutputWithContext(context.Background()) -} - -func (i GetLoadBalancerAccessLogArray) ToGetLoadBalancerAccessLogArrayOutputWithContext(ctx context.Context) GetLoadBalancerAccessLogArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancerAccessLogArrayOutput) -} - -type GetLoadBalancerAccessLogOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancerAccessLogOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancerAccessLog)(nil)).Elem() -} - -func (o GetLoadBalancerAccessLogOutput) ToGetLoadBalancerAccessLogOutput() GetLoadBalancerAccessLogOutput { - return o -} - -func (o GetLoadBalancerAccessLogOutput) ToGetLoadBalancerAccessLogOutputWithContext(ctx context.Context) GetLoadBalancerAccessLogOutput { - return o -} - -// If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osuBucketName` parameter is required. -func (o GetLoadBalancerAccessLogOutput) IsEnabled() pulumi.BoolOutput { - return o.ApplyT(func(v GetLoadBalancerAccessLog) bool { return v.IsEnabled }).(pulumi.BoolOutput) -} - -// The name of the OOS bucket for the access logs. -func (o GetLoadBalancerAccessLogOutput) OsuBucketName() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancerAccessLog) string { return v.OsuBucketName }).(pulumi.StringOutput) -} - -// The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). -func (o GetLoadBalancerAccessLogOutput) OsuBucketPrefix() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancerAccessLog) string { return v.OsuBucketPrefix }).(pulumi.StringOutput) -} - -// The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). -func (o GetLoadBalancerAccessLogOutput) PublicationInterval() pulumi.IntOutput { - return o.ApplyT(func(v GetLoadBalancerAccessLog) int { return v.PublicationInterval }).(pulumi.IntOutput) -} - -type GetLoadBalancerAccessLogArrayOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancerAccessLogArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancerAccessLog)(nil)).Elem() -} - -func (o GetLoadBalancerAccessLogArrayOutput) ToGetLoadBalancerAccessLogArrayOutput() GetLoadBalancerAccessLogArrayOutput { - return o -} - -func (o GetLoadBalancerAccessLogArrayOutput) ToGetLoadBalancerAccessLogArrayOutputWithContext(ctx context.Context) GetLoadBalancerAccessLogArrayOutput { - return o -} - -func (o GetLoadBalancerAccessLogArrayOutput) Index(i pulumi.IntInput) GetLoadBalancerAccessLogOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLoadBalancerAccessLog { - return vs[0].([]GetLoadBalancerAccessLog)[vs[1].(int)] - }).(GetLoadBalancerAccessLogOutput) -} - -type GetLoadBalancerApplicationStickyCookiePolicy struct { - // The name of the application cookie used for stickiness. - CookieName string `pulumi:"cookieName"` - // The name of the stickiness policy. - PolicyName string `pulumi:"policyName"` -} - -// GetLoadBalancerApplicationStickyCookiePolicyInput is an input type that accepts GetLoadBalancerApplicationStickyCookiePolicyArgs and GetLoadBalancerApplicationStickyCookiePolicyOutput values. -// You can construct a concrete instance of `GetLoadBalancerApplicationStickyCookiePolicyInput` via: -// -// GetLoadBalancerApplicationStickyCookiePolicyArgs{...} -type GetLoadBalancerApplicationStickyCookiePolicyInput interface { - pulumi.Input - - ToGetLoadBalancerApplicationStickyCookiePolicyOutput() GetLoadBalancerApplicationStickyCookiePolicyOutput - ToGetLoadBalancerApplicationStickyCookiePolicyOutputWithContext(context.Context) GetLoadBalancerApplicationStickyCookiePolicyOutput -} - -type GetLoadBalancerApplicationStickyCookiePolicyArgs struct { - // The name of the application cookie used for stickiness. - CookieName pulumi.StringInput `pulumi:"cookieName"` - // The name of the stickiness policy. - PolicyName pulumi.StringInput `pulumi:"policyName"` -} - -func (GetLoadBalancerApplicationStickyCookiePolicyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancerApplicationStickyCookiePolicy)(nil)).Elem() -} - -func (i GetLoadBalancerApplicationStickyCookiePolicyArgs) ToGetLoadBalancerApplicationStickyCookiePolicyOutput() GetLoadBalancerApplicationStickyCookiePolicyOutput { - return i.ToGetLoadBalancerApplicationStickyCookiePolicyOutputWithContext(context.Background()) -} - -func (i GetLoadBalancerApplicationStickyCookiePolicyArgs) ToGetLoadBalancerApplicationStickyCookiePolicyOutputWithContext(ctx context.Context) GetLoadBalancerApplicationStickyCookiePolicyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancerApplicationStickyCookiePolicyOutput) -} - -// GetLoadBalancerApplicationStickyCookiePolicyArrayInput is an input type that accepts GetLoadBalancerApplicationStickyCookiePolicyArray and GetLoadBalancerApplicationStickyCookiePolicyArrayOutput values. -// You can construct a concrete instance of `GetLoadBalancerApplicationStickyCookiePolicyArrayInput` via: -// -// GetLoadBalancerApplicationStickyCookiePolicyArray{ GetLoadBalancerApplicationStickyCookiePolicyArgs{...} } -type GetLoadBalancerApplicationStickyCookiePolicyArrayInput interface { - pulumi.Input - - ToGetLoadBalancerApplicationStickyCookiePolicyArrayOutput() GetLoadBalancerApplicationStickyCookiePolicyArrayOutput - ToGetLoadBalancerApplicationStickyCookiePolicyArrayOutputWithContext(context.Context) GetLoadBalancerApplicationStickyCookiePolicyArrayOutput -} - -type GetLoadBalancerApplicationStickyCookiePolicyArray []GetLoadBalancerApplicationStickyCookiePolicyInput - -func (GetLoadBalancerApplicationStickyCookiePolicyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancerApplicationStickyCookiePolicy)(nil)).Elem() -} - -func (i GetLoadBalancerApplicationStickyCookiePolicyArray) ToGetLoadBalancerApplicationStickyCookiePolicyArrayOutput() GetLoadBalancerApplicationStickyCookiePolicyArrayOutput { - return i.ToGetLoadBalancerApplicationStickyCookiePolicyArrayOutputWithContext(context.Background()) -} - -func (i GetLoadBalancerApplicationStickyCookiePolicyArray) ToGetLoadBalancerApplicationStickyCookiePolicyArrayOutputWithContext(ctx context.Context) GetLoadBalancerApplicationStickyCookiePolicyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancerApplicationStickyCookiePolicyArrayOutput) -} - -type GetLoadBalancerApplicationStickyCookiePolicyOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancerApplicationStickyCookiePolicyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancerApplicationStickyCookiePolicy)(nil)).Elem() -} - -func (o GetLoadBalancerApplicationStickyCookiePolicyOutput) ToGetLoadBalancerApplicationStickyCookiePolicyOutput() GetLoadBalancerApplicationStickyCookiePolicyOutput { - return o -} - -func (o GetLoadBalancerApplicationStickyCookiePolicyOutput) ToGetLoadBalancerApplicationStickyCookiePolicyOutputWithContext(ctx context.Context) GetLoadBalancerApplicationStickyCookiePolicyOutput { - return o -} - -// The name of the application cookie used for stickiness. -func (o GetLoadBalancerApplicationStickyCookiePolicyOutput) CookieName() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancerApplicationStickyCookiePolicy) string { return v.CookieName }).(pulumi.StringOutput) -} - -// The name of the stickiness policy. -func (o GetLoadBalancerApplicationStickyCookiePolicyOutput) PolicyName() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancerApplicationStickyCookiePolicy) string { return v.PolicyName }).(pulumi.StringOutput) -} - -type GetLoadBalancerApplicationStickyCookiePolicyArrayOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancerApplicationStickyCookiePolicyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancerApplicationStickyCookiePolicy)(nil)).Elem() -} - -func (o GetLoadBalancerApplicationStickyCookiePolicyArrayOutput) ToGetLoadBalancerApplicationStickyCookiePolicyArrayOutput() GetLoadBalancerApplicationStickyCookiePolicyArrayOutput { - return o -} - -func (o GetLoadBalancerApplicationStickyCookiePolicyArrayOutput) ToGetLoadBalancerApplicationStickyCookiePolicyArrayOutputWithContext(ctx context.Context) GetLoadBalancerApplicationStickyCookiePolicyArrayOutput { - return o -} - -func (o GetLoadBalancerApplicationStickyCookiePolicyArrayOutput) Index(i pulumi.IntInput) GetLoadBalancerApplicationStickyCookiePolicyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLoadBalancerApplicationStickyCookiePolicy { - return vs[0].([]GetLoadBalancerApplicationStickyCookiePolicy)[vs[1].(int)] - }).(GetLoadBalancerApplicationStickyCookiePolicyOutput) -} - -type GetLoadBalancerFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetLoadBalancerFilterInput is an input type that accepts GetLoadBalancerFilterArgs and GetLoadBalancerFilterOutput values. -// You can construct a concrete instance of `GetLoadBalancerFilterInput` via: -// -// GetLoadBalancerFilterArgs{...} -type GetLoadBalancerFilterInput interface { - pulumi.Input - - ToGetLoadBalancerFilterOutput() GetLoadBalancerFilterOutput - ToGetLoadBalancerFilterOutputWithContext(context.Context) GetLoadBalancerFilterOutput -} - -type GetLoadBalancerFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetLoadBalancerFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancerFilter)(nil)).Elem() -} - -func (i GetLoadBalancerFilterArgs) ToGetLoadBalancerFilterOutput() GetLoadBalancerFilterOutput { - return i.ToGetLoadBalancerFilterOutputWithContext(context.Background()) -} - -func (i GetLoadBalancerFilterArgs) ToGetLoadBalancerFilterOutputWithContext(ctx context.Context) GetLoadBalancerFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancerFilterOutput) -} - -// GetLoadBalancerFilterArrayInput is an input type that accepts GetLoadBalancerFilterArray and GetLoadBalancerFilterArrayOutput values. -// You can construct a concrete instance of `GetLoadBalancerFilterArrayInput` via: -// -// GetLoadBalancerFilterArray{ GetLoadBalancerFilterArgs{...} } -type GetLoadBalancerFilterArrayInput interface { - pulumi.Input - - ToGetLoadBalancerFilterArrayOutput() GetLoadBalancerFilterArrayOutput - ToGetLoadBalancerFilterArrayOutputWithContext(context.Context) GetLoadBalancerFilterArrayOutput -} - -type GetLoadBalancerFilterArray []GetLoadBalancerFilterInput - -func (GetLoadBalancerFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancerFilter)(nil)).Elem() -} - -func (i GetLoadBalancerFilterArray) ToGetLoadBalancerFilterArrayOutput() GetLoadBalancerFilterArrayOutput { - return i.ToGetLoadBalancerFilterArrayOutputWithContext(context.Background()) -} - -func (i GetLoadBalancerFilterArray) ToGetLoadBalancerFilterArrayOutputWithContext(ctx context.Context) GetLoadBalancerFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancerFilterArrayOutput) -} - -type GetLoadBalancerFilterOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancerFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancerFilter)(nil)).Elem() -} - -func (o GetLoadBalancerFilterOutput) ToGetLoadBalancerFilterOutput() GetLoadBalancerFilterOutput { - return o -} - -func (o GetLoadBalancerFilterOutput) ToGetLoadBalancerFilterOutputWithContext(ctx context.Context) GetLoadBalancerFilterOutput { - return o -} - -func (o GetLoadBalancerFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancerFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetLoadBalancerFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetLoadBalancerFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetLoadBalancerFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancerFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancerFilter)(nil)).Elem() -} - -func (o GetLoadBalancerFilterArrayOutput) ToGetLoadBalancerFilterArrayOutput() GetLoadBalancerFilterArrayOutput { - return o -} - -func (o GetLoadBalancerFilterArrayOutput) ToGetLoadBalancerFilterArrayOutputWithContext(ctx context.Context) GetLoadBalancerFilterArrayOutput { - return o -} - -func (o GetLoadBalancerFilterArrayOutput) Index(i pulumi.IntInput) GetLoadBalancerFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLoadBalancerFilter { - return vs[0].([]GetLoadBalancerFilter)[vs[1].(int)] - }).(GetLoadBalancerFilterOutput) -} - -type GetLoadBalancerHealthCheck struct { - // The number of seconds between two pings (between `5` and `600` both included). - CheckInterval int `pulumi:"checkInterval"` - // The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - HealthyThreshold int `pulumi:"healthyThreshold"` - // If you use the HTTP or HTTPS protocols, the ping path. - Path string `pulumi:"path"` - // The port number (between `1` and `65535`, both included). - Port int `pulumi:"port"` - // The protocol for the URL of the VM (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - Protocol string `pulumi:"protocol"` - // The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - Timeout int `pulumi:"timeout"` - // The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - UnhealthyThreshold int `pulumi:"unhealthyThreshold"` -} - -// GetLoadBalancerHealthCheckInput is an input type that accepts GetLoadBalancerHealthCheckArgs and GetLoadBalancerHealthCheckOutput values. -// You can construct a concrete instance of `GetLoadBalancerHealthCheckInput` via: -// -// GetLoadBalancerHealthCheckArgs{...} -type GetLoadBalancerHealthCheckInput interface { - pulumi.Input - - ToGetLoadBalancerHealthCheckOutput() GetLoadBalancerHealthCheckOutput - ToGetLoadBalancerHealthCheckOutputWithContext(context.Context) GetLoadBalancerHealthCheckOutput -} - -type GetLoadBalancerHealthCheckArgs struct { - // The number of seconds between two pings (between `5` and `600` both included). - CheckInterval pulumi.IntInput `pulumi:"checkInterval"` - // The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - HealthyThreshold pulumi.IntInput `pulumi:"healthyThreshold"` - // If you use the HTTP or HTTPS protocols, the ping path. - Path pulumi.StringInput `pulumi:"path"` - // The port number (between `1` and `65535`, both included). - Port pulumi.IntInput `pulumi:"port"` - // The protocol for the URL of the VM (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - Protocol pulumi.StringInput `pulumi:"protocol"` - // The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - Timeout pulumi.IntInput `pulumi:"timeout"` - // The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - UnhealthyThreshold pulumi.IntInput `pulumi:"unhealthyThreshold"` -} - -func (GetLoadBalancerHealthCheckArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancerHealthCheck)(nil)).Elem() -} - -func (i GetLoadBalancerHealthCheckArgs) ToGetLoadBalancerHealthCheckOutput() GetLoadBalancerHealthCheckOutput { - return i.ToGetLoadBalancerHealthCheckOutputWithContext(context.Background()) -} - -func (i GetLoadBalancerHealthCheckArgs) ToGetLoadBalancerHealthCheckOutputWithContext(ctx context.Context) GetLoadBalancerHealthCheckOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancerHealthCheckOutput) -} - -// GetLoadBalancerHealthCheckArrayInput is an input type that accepts GetLoadBalancerHealthCheckArray and GetLoadBalancerHealthCheckArrayOutput values. -// You can construct a concrete instance of `GetLoadBalancerHealthCheckArrayInput` via: -// -// GetLoadBalancerHealthCheckArray{ GetLoadBalancerHealthCheckArgs{...} } -type GetLoadBalancerHealthCheckArrayInput interface { - pulumi.Input - - ToGetLoadBalancerHealthCheckArrayOutput() GetLoadBalancerHealthCheckArrayOutput - ToGetLoadBalancerHealthCheckArrayOutputWithContext(context.Context) GetLoadBalancerHealthCheckArrayOutput -} - -type GetLoadBalancerHealthCheckArray []GetLoadBalancerHealthCheckInput - -func (GetLoadBalancerHealthCheckArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancerHealthCheck)(nil)).Elem() -} - -func (i GetLoadBalancerHealthCheckArray) ToGetLoadBalancerHealthCheckArrayOutput() GetLoadBalancerHealthCheckArrayOutput { - return i.ToGetLoadBalancerHealthCheckArrayOutputWithContext(context.Background()) -} - -func (i GetLoadBalancerHealthCheckArray) ToGetLoadBalancerHealthCheckArrayOutputWithContext(ctx context.Context) GetLoadBalancerHealthCheckArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancerHealthCheckArrayOutput) -} - -type GetLoadBalancerHealthCheckOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancerHealthCheckOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancerHealthCheck)(nil)).Elem() -} - -func (o GetLoadBalancerHealthCheckOutput) ToGetLoadBalancerHealthCheckOutput() GetLoadBalancerHealthCheckOutput { - return o -} - -func (o GetLoadBalancerHealthCheckOutput) ToGetLoadBalancerHealthCheckOutputWithContext(ctx context.Context) GetLoadBalancerHealthCheckOutput { - return o -} - -// The number of seconds between two pings (between `5` and `600` both included). -func (o GetLoadBalancerHealthCheckOutput) CheckInterval() pulumi.IntOutput { - return o.ApplyT(func(v GetLoadBalancerHealthCheck) int { return v.CheckInterval }).(pulumi.IntOutput) -} - -// The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). -func (o GetLoadBalancerHealthCheckOutput) HealthyThreshold() pulumi.IntOutput { - return o.ApplyT(func(v GetLoadBalancerHealthCheck) int { return v.HealthyThreshold }).(pulumi.IntOutput) -} - -// If you use the HTTP or HTTPS protocols, the ping path. -func (o GetLoadBalancerHealthCheckOutput) Path() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancerHealthCheck) string { return v.Path }).(pulumi.StringOutput) -} - -// The port number (between `1` and `65535`, both included). -func (o GetLoadBalancerHealthCheckOutput) Port() pulumi.IntOutput { - return o.ApplyT(func(v GetLoadBalancerHealthCheck) int { return v.Port }).(pulumi.IntOutput) -} - -// The protocol for the URL of the VM (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). -func (o GetLoadBalancerHealthCheckOutput) Protocol() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancerHealthCheck) string { return v.Protocol }).(pulumi.StringOutput) -} - -// The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). -func (o GetLoadBalancerHealthCheckOutput) Timeout() pulumi.IntOutput { - return o.ApplyT(func(v GetLoadBalancerHealthCheck) int { return v.Timeout }).(pulumi.IntOutput) -} - -// The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). -func (o GetLoadBalancerHealthCheckOutput) UnhealthyThreshold() pulumi.IntOutput { - return o.ApplyT(func(v GetLoadBalancerHealthCheck) int { return v.UnhealthyThreshold }).(pulumi.IntOutput) -} - -type GetLoadBalancerHealthCheckArrayOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancerHealthCheckArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancerHealthCheck)(nil)).Elem() -} - -func (o GetLoadBalancerHealthCheckArrayOutput) ToGetLoadBalancerHealthCheckArrayOutput() GetLoadBalancerHealthCheckArrayOutput { - return o -} - -func (o GetLoadBalancerHealthCheckArrayOutput) ToGetLoadBalancerHealthCheckArrayOutputWithContext(ctx context.Context) GetLoadBalancerHealthCheckArrayOutput { - return o -} - -func (o GetLoadBalancerHealthCheckArrayOutput) Index(i pulumi.IntInput) GetLoadBalancerHealthCheckOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLoadBalancerHealthCheck { - return vs[0].([]GetLoadBalancerHealthCheck)[vs[1].(int)] - }).(GetLoadBalancerHealthCheckOutput) -} - -type GetLoadBalancerListener struct { - // The port on which the back-end VM is listening (between `1` and `65535`, both included). - BackendPort int `pulumi:"backendPort"` - // The protocol for routing traffic to back-end VMs (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - BackendProtocol string `pulumi:"backendProtocol"` - // The port on which the load balancer is listening (between `1` and `65535`, both included). - LoadBalancerPort int `pulumi:"loadBalancerPort"` - // The routing protocol (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - LoadBalancerProtocol string `pulumi:"loadBalancerProtocol"` - // The names of the policies. If there are no policies enabled, the list is empty. - PolicyNames []string `pulumi:"policyNames"` - // The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > OUTSCALE Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - ServerCertificateId string `pulumi:"serverCertificateId"` -} - -// GetLoadBalancerListenerInput is an input type that accepts GetLoadBalancerListenerArgs and GetLoadBalancerListenerOutput values. -// You can construct a concrete instance of `GetLoadBalancerListenerInput` via: -// -// GetLoadBalancerListenerArgs{...} -type GetLoadBalancerListenerInput interface { - pulumi.Input - - ToGetLoadBalancerListenerOutput() GetLoadBalancerListenerOutput - ToGetLoadBalancerListenerOutputWithContext(context.Context) GetLoadBalancerListenerOutput -} - -type GetLoadBalancerListenerArgs struct { - // The port on which the back-end VM is listening (between `1` and `65535`, both included). - BackendPort pulumi.IntInput `pulumi:"backendPort"` - // The protocol for routing traffic to back-end VMs (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - BackendProtocol pulumi.StringInput `pulumi:"backendProtocol"` - // The port on which the load balancer is listening (between `1` and `65535`, both included). - LoadBalancerPort pulumi.IntInput `pulumi:"loadBalancerPort"` - // The routing protocol (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - LoadBalancerProtocol pulumi.StringInput `pulumi:"loadBalancerProtocol"` - // The names of the policies. If there are no policies enabled, the list is empty. - PolicyNames pulumi.StringArrayInput `pulumi:"policyNames"` - // The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > OUTSCALE Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - ServerCertificateId pulumi.StringInput `pulumi:"serverCertificateId"` -} - -func (GetLoadBalancerListenerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancerListener)(nil)).Elem() -} - -func (i GetLoadBalancerListenerArgs) ToGetLoadBalancerListenerOutput() GetLoadBalancerListenerOutput { - return i.ToGetLoadBalancerListenerOutputWithContext(context.Background()) -} - -func (i GetLoadBalancerListenerArgs) ToGetLoadBalancerListenerOutputWithContext(ctx context.Context) GetLoadBalancerListenerOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancerListenerOutput) -} - -// GetLoadBalancerListenerArrayInput is an input type that accepts GetLoadBalancerListenerArray and GetLoadBalancerListenerArrayOutput values. -// You can construct a concrete instance of `GetLoadBalancerListenerArrayInput` via: -// -// GetLoadBalancerListenerArray{ GetLoadBalancerListenerArgs{...} } -type GetLoadBalancerListenerArrayInput interface { - pulumi.Input - - ToGetLoadBalancerListenerArrayOutput() GetLoadBalancerListenerArrayOutput - ToGetLoadBalancerListenerArrayOutputWithContext(context.Context) GetLoadBalancerListenerArrayOutput -} - -type GetLoadBalancerListenerArray []GetLoadBalancerListenerInput - -func (GetLoadBalancerListenerArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancerListener)(nil)).Elem() -} - -func (i GetLoadBalancerListenerArray) ToGetLoadBalancerListenerArrayOutput() GetLoadBalancerListenerArrayOutput { - return i.ToGetLoadBalancerListenerArrayOutputWithContext(context.Background()) -} - -func (i GetLoadBalancerListenerArray) ToGetLoadBalancerListenerArrayOutputWithContext(ctx context.Context) GetLoadBalancerListenerArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancerListenerArrayOutput) -} - -type GetLoadBalancerListenerOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancerListenerOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancerListener)(nil)).Elem() -} - -func (o GetLoadBalancerListenerOutput) ToGetLoadBalancerListenerOutput() GetLoadBalancerListenerOutput { - return o -} - -func (o GetLoadBalancerListenerOutput) ToGetLoadBalancerListenerOutputWithContext(ctx context.Context) GetLoadBalancerListenerOutput { - return o -} - -// The port on which the back-end VM is listening (between `1` and `65535`, both included). -func (o GetLoadBalancerListenerOutput) BackendPort() pulumi.IntOutput { - return o.ApplyT(func(v GetLoadBalancerListener) int { return v.BackendPort }).(pulumi.IntOutput) -} - -// The protocol for routing traffic to back-end VMs (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). -func (o GetLoadBalancerListenerOutput) BackendProtocol() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancerListener) string { return v.BackendProtocol }).(pulumi.StringOutput) -} - -// The port on which the load balancer is listening (between `1` and `65535`, both included). -func (o GetLoadBalancerListenerOutput) LoadBalancerPort() pulumi.IntOutput { - return o.ApplyT(func(v GetLoadBalancerListener) int { return v.LoadBalancerPort }).(pulumi.IntOutput) -} - -// The routing protocol (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). -func (o GetLoadBalancerListenerOutput) LoadBalancerProtocol() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancerListener) string { return v.LoadBalancerProtocol }).(pulumi.StringOutput) -} - -// The names of the policies. If there are no policies enabled, the list is empty. -func (o GetLoadBalancerListenerOutput) PolicyNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetLoadBalancerListener) []string { return v.PolicyNames }).(pulumi.StringArrayOutput) -} - -// The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > OUTSCALE Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). -func (o GetLoadBalancerListenerOutput) ServerCertificateId() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancerListener) string { return v.ServerCertificateId }).(pulumi.StringOutput) -} - -type GetLoadBalancerListenerArrayOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancerListenerArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancerListener)(nil)).Elem() -} - -func (o GetLoadBalancerListenerArrayOutput) ToGetLoadBalancerListenerArrayOutput() GetLoadBalancerListenerArrayOutput { - return o -} - -func (o GetLoadBalancerListenerArrayOutput) ToGetLoadBalancerListenerArrayOutputWithContext(ctx context.Context) GetLoadBalancerListenerArrayOutput { - return o -} - -func (o GetLoadBalancerListenerArrayOutput) Index(i pulumi.IntInput) GetLoadBalancerListenerOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLoadBalancerListener { - return vs[0].([]GetLoadBalancerListener)[vs[1].(int)] - }).(GetLoadBalancerListenerOutput) -} - -type GetLoadBalancerLoadBalancerStickyCookiePolicy struct { - // The name of the stickiness policy. - PolicyName string `pulumi:"policyName"` -} - -// GetLoadBalancerLoadBalancerStickyCookiePolicyInput is an input type that accepts GetLoadBalancerLoadBalancerStickyCookiePolicyArgs and GetLoadBalancerLoadBalancerStickyCookiePolicyOutput values. -// You can construct a concrete instance of `GetLoadBalancerLoadBalancerStickyCookiePolicyInput` via: -// -// GetLoadBalancerLoadBalancerStickyCookiePolicyArgs{...} -type GetLoadBalancerLoadBalancerStickyCookiePolicyInput interface { - pulumi.Input - - ToGetLoadBalancerLoadBalancerStickyCookiePolicyOutput() GetLoadBalancerLoadBalancerStickyCookiePolicyOutput - ToGetLoadBalancerLoadBalancerStickyCookiePolicyOutputWithContext(context.Context) GetLoadBalancerLoadBalancerStickyCookiePolicyOutput -} - -type GetLoadBalancerLoadBalancerStickyCookiePolicyArgs struct { - // The name of the stickiness policy. - PolicyName pulumi.StringInput `pulumi:"policyName"` -} - -func (GetLoadBalancerLoadBalancerStickyCookiePolicyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancerLoadBalancerStickyCookiePolicy)(nil)).Elem() -} - -func (i GetLoadBalancerLoadBalancerStickyCookiePolicyArgs) ToGetLoadBalancerLoadBalancerStickyCookiePolicyOutput() GetLoadBalancerLoadBalancerStickyCookiePolicyOutput { - return i.ToGetLoadBalancerLoadBalancerStickyCookiePolicyOutputWithContext(context.Background()) -} - -func (i GetLoadBalancerLoadBalancerStickyCookiePolicyArgs) ToGetLoadBalancerLoadBalancerStickyCookiePolicyOutputWithContext(ctx context.Context) GetLoadBalancerLoadBalancerStickyCookiePolicyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancerLoadBalancerStickyCookiePolicyOutput) -} - -// GetLoadBalancerLoadBalancerStickyCookiePolicyArrayInput is an input type that accepts GetLoadBalancerLoadBalancerStickyCookiePolicyArray and GetLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput values. -// You can construct a concrete instance of `GetLoadBalancerLoadBalancerStickyCookiePolicyArrayInput` via: -// -// GetLoadBalancerLoadBalancerStickyCookiePolicyArray{ GetLoadBalancerLoadBalancerStickyCookiePolicyArgs{...} } -type GetLoadBalancerLoadBalancerStickyCookiePolicyArrayInput interface { - pulumi.Input - - ToGetLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput() GetLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput - ToGetLoadBalancerLoadBalancerStickyCookiePolicyArrayOutputWithContext(context.Context) GetLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput -} - -type GetLoadBalancerLoadBalancerStickyCookiePolicyArray []GetLoadBalancerLoadBalancerStickyCookiePolicyInput - -func (GetLoadBalancerLoadBalancerStickyCookiePolicyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancerLoadBalancerStickyCookiePolicy)(nil)).Elem() -} - -func (i GetLoadBalancerLoadBalancerStickyCookiePolicyArray) ToGetLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput() GetLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput { - return i.ToGetLoadBalancerLoadBalancerStickyCookiePolicyArrayOutputWithContext(context.Background()) -} - -func (i GetLoadBalancerLoadBalancerStickyCookiePolicyArray) ToGetLoadBalancerLoadBalancerStickyCookiePolicyArrayOutputWithContext(ctx context.Context) GetLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput) -} - -type GetLoadBalancerLoadBalancerStickyCookiePolicyOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancerLoadBalancerStickyCookiePolicyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancerLoadBalancerStickyCookiePolicy)(nil)).Elem() -} - -func (o GetLoadBalancerLoadBalancerStickyCookiePolicyOutput) ToGetLoadBalancerLoadBalancerStickyCookiePolicyOutput() GetLoadBalancerLoadBalancerStickyCookiePolicyOutput { - return o -} - -func (o GetLoadBalancerLoadBalancerStickyCookiePolicyOutput) ToGetLoadBalancerLoadBalancerStickyCookiePolicyOutputWithContext(ctx context.Context) GetLoadBalancerLoadBalancerStickyCookiePolicyOutput { - return o -} - -// The name of the stickiness policy. -func (o GetLoadBalancerLoadBalancerStickyCookiePolicyOutput) PolicyName() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancerLoadBalancerStickyCookiePolicy) string { return v.PolicyName }).(pulumi.StringOutput) -} - -type GetLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancerLoadBalancerStickyCookiePolicy)(nil)).Elem() -} - -func (o GetLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput) ToGetLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput() GetLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput { - return o -} - -func (o GetLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput) ToGetLoadBalancerLoadBalancerStickyCookiePolicyArrayOutputWithContext(ctx context.Context) GetLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput { - return o -} - -func (o GetLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput) Index(i pulumi.IntInput) GetLoadBalancerLoadBalancerStickyCookiePolicyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLoadBalancerLoadBalancerStickyCookiePolicy { - return vs[0].([]GetLoadBalancerLoadBalancerStickyCookiePolicy)[vs[1].(int)] - }).(GetLoadBalancerLoadBalancerStickyCookiePolicyOutput) -} - -type GetLoadBalancerSourceSecurityGroup struct { - // The account ID of the owner of the security group. - SecurityGroupAccountId string `pulumi:"securityGroupAccountId"` - // The name of the security group. - SecurityGroupName string `pulumi:"securityGroupName"` -} - -// GetLoadBalancerSourceSecurityGroupInput is an input type that accepts GetLoadBalancerSourceSecurityGroupArgs and GetLoadBalancerSourceSecurityGroupOutput values. -// You can construct a concrete instance of `GetLoadBalancerSourceSecurityGroupInput` via: -// -// GetLoadBalancerSourceSecurityGroupArgs{...} -type GetLoadBalancerSourceSecurityGroupInput interface { - pulumi.Input - - ToGetLoadBalancerSourceSecurityGroupOutput() GetLoadBalancerSourceSecurityGroupOutput - ToGetLoadBalancerSourceSecurityGroupOutputWithContext(context.Context) GetLoadBalancerSourceSecurityGroupOutput -} - -type GetLoadBalancerSourceSecurityGroupArgs struct { - // The account ID of the owner of the security group. - SecurityGroupAccountId pulumi.StringInput `pulumi:"securityGroupAccountId"` - // The name of the security group. - SecurityGroupName pulumi.StringInput `pulumi:"securityGroupName"` -} - -func (GetLoadBalancerSourceSecurityGroupArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancerSourceSecurityGroup)(nil)).Elem() -} - -func (i GetLoadBalancerSourceSecurityGroupArgs) ToGetLoadBalancerSourceSecurityGroupOutput() GetLoadBalancerSourceSecurityGroupOutput { - return i.ToGetLoadBalancerSourceSecurityGroupOutputWithContext(context.Background()) -} - -func (i GetLoadBalancerSourceSecurityGroupArgs) ToGetLoadBalancerSourceSecurityGroupOutputWithContext(ctx context.Context) GetLoadBalancerSourceSecurityGroupOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancerSourceSecurityGroupOutput) -} - -// GetLoadBalancerSourceSecurityGroupArrayInput is an input type that accepts GetLoadBalancerSourceSecurityGroupArray and GetLoadBalancerSourceSecurityGroupArrayOutput values. -// You can construct a concrete instance of `GetLoadBalancerSourceSecurityGroupArrayInput` via: -// -// GetLoadBalancerSourceSecurityGroupArray{ GetLoadBalancerSourceSecurityGroupArgs{...} } -type GetLoadBalancerSourceSecurityGroupArrayInput interface { - pulumi.Input - - ToGetLoadBalancerSourceSecurityGroupArrayOutput() GetLoadBalancerSourceSecurityGroupArrayOutput - ToGetLoadBalancerSourceSecurityGroupArrayOutputWithContext(context.Context) GetLoadBalancerSourceSecurityGroupArrayOutput -} - -type GetLoadBalancerSourceSecurityGroupArray []GetLoadBalancerSourceSecurityGroupInput - -func (GetLoadBalancerSourceSecurityGroupArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancerSourceSecurityGroup)(nil)).Elem() -} - -func (i GetLoadBalancerSourceSecurityGroupArray) ToGetLoadBalancerSourceSecurityGroupArrayOutput() GetLoadBalancerSourceSecurityGroupArrayOutput { - return i.ToGetLoadBalancerSourceSecurityGroupArrayOutputWithContext(context.Background()) -} - -func (i GetLoadBalancerSourceSecurityGroupArray) ToGetLoadBalancerSourceSecurityGroupArrayOutputWithContext(ctx context.Context) GetLoadBalancerSourceSecurityGroupArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancerSourceSecurityGroupArrayOutput) -} - -type GetLoadBalancerSourceSecurityGroupOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancerSourceSecurityGroupOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancerSourceSecurityGroup)(nil)).Elem() -} - -func (o GetLoadBalancerSourceSecurityGroupOutput) ToGetLoadBalancerSourceSecurityGroupOutput() GetLoadBalancerSourceSecurityGroupOutput { - return o -} - -func (o GetLoadBalancerSourceSecurityGroupOutput) ToGetLoadBalancerSourceSecurityGroupOutputWithContext(ctx context.Context) GetLoadBalancerSourceSecurityGroupOutput { - return o -} - -// The account ID of the owner of the security group. -func (o GetLoadBalancerSourceSecurityGroupOutput) SecurityGroupAccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancerSourceSecurityGroup) string { return v.SecurityGroupAccountId }).(pulumi.StringOutput) -} - -// The name of the security group. -func (o GetLoadBalancerSourceSecurityGroupOutput) SecurityGroupName() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancerSourceSecurityGroup) string { return v.SecurityGroupName }).(pulumi.StringOutput) -} - -type GetLoadBalancerSourceSecurityGroupArrayOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancerSourceSecurityGroupArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancerSourceSecurityGroup)(nil)).Elem() -} - -func (o GetLoadBalancerSourceSecurityGroupArrayOutput) ToGetLoadBalancerSourceSecurityGroupArrayOutput() GetLoadBalancerSourceSecurityGroupArrayOutput { - return o -} - -func (o GetLoadBalancerSourceSecurityGroupArrayOutput) ToGetLoadBalancerSourceSecurityGroupArrayOutputWithContext(ctx context.Context) GetLoadBalancerSourceSecurityGroupArrayOutput { - return o -} - -func (o GetLoadBalancerSourceSecurityGroupArrayOutput) Index(i pulumi.IntInput) GetLoadBalancerSourceSecurityGroupOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLoadBalancerSourceSecurityGroup { - return vs[0].([]GetLoadBalancerSourceSecurityGroup)[vs[1].(int)] - }).(GetLoadBalancerSourceSecurityGroupOutput) -} - -type GetLoadBalancerTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetLoadBalancerTagInput is an input type that accepts GetLoadBalancerTagArgs and GetLoadBalancerTagOutput values. -// You can construct a concrete instance of `GetLoadBalancerTagInput` via: -// -// GetLoadBalancerTagArgs{...} -type GetLoadBalancerTagInput interface { - pulumi.Input - - ToGetLoadBalancerTagOutput() GetLoadBalancerTagOutput - ToGetLoadBalancerTagOutputWithContext(context.Context) GetLoadBalancerTagOutput -} - -type GetLoadBalancerTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetLoadBalancerTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancerTag)(nil)).Elem() -} - -func (i GetLoadBalancerTagArgs) ToGetLoadBalancerTagOutput() GetLoadBalancerTagOutput { - return i.ToGetLoadBalancerTagOutputWithContext(context.Background()) -} - -func (i GetLoadBalancerTagArgs) ToGetLoadBalancerTagOutputWithContext(ctx context.Context) GetLoadBalancerTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancerTagOutput) -} - -// GetLoadBalancerTagArrayInput is an input type that accepts GetLoadBalancerTagArray and GetLoadBalancerTagArrayOutput values. -// You can construct a concrete instance of `GetLoadBalancerTagArrayInput` via: -// -// GetLoadBalancerTagArray{ GetLoadBalancerTagArgs{...} } -type GetLoadBalancerTagArrayInput interface { - pulumi.Input - - ToGetLoadBalancerTagArrayOutput() GetLoadBalancerTagArrayOutput - ToGetLoadBalancerTagArrayOutputWithContext(context.Context) GetLoadBalancerTagArrayOutput -} - -type GetLoadBalancerTagArray []GetLoadBalancerTagInput - -func (GetLoadBalancerTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancerTag)(nil)).Elem() -} - -func (i GetLoadBalancerTagArray) ToGetLoadBalancerTagArrayOutput() GetLoadBalancerTagArrayOutput { - return i.ToGetLoadBalancerTagArrayOutputWithContext(context.Background()) -} - -func (i GetLoadBalancerTagArray) ToGetLoadBalancerTagArrayOutputWithContext(ctx context.Context) GetLoadBalancerTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancerTagArrayOutput) -} - -type GetLoadBalancerTagOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancerTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancerTag)(nil)).Elem() -} - -func (o GetLoadBalancerTagOutput) ToGetLoadBalancerTagOutput() GetLoadBalancerTagOutput { - return o -} - -func (o GetLoadBalancerTagOutput) ToGetLoadBalancerTagOutputWithContext(ctx context.Context) GetLoadBalancerTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetLoadBalancerTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancerTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetLoadBalancerTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancerTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetLoadBalancerTagArrayOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancerTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancerTag)(nil)).Elem() -} - -func (o GetLoadBalancerTagArrayOutput) ToGetLoadBalancerTagArrayOutput() GetLoadBalancerTagArrayOutput { - return o -} - -func (o GetLoadBalancerTagArrayOutput) ToGetLoadBalancerTagArrayOutputWithContext(ctx context.Context) GetLoadBalancerTagArrayOutput { - return o -} - -func (o GetLoadBalancerTagArrayOutput) Index(i pulumi.IntInput) GetLoadBalancerTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLoadBalancerTag { - return vs[0].([]GetLoadBalancerTag)[vs[1].(int)] - }).(GetLoadBalancerTagOutput) -} - -type GetLoadBalancerTagsFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetLoadBalancerTagsFilterInput is an input type that accepts GetLoadBalancerTagsFilterArgs and GetLoadBalancerTagsFilterOutput values. -// You can construct a concrete instance of `GetLoadBalancerTagsFilterInput` via: -// -// GetLoadBalancerTagsFilterArgs{...} -type GetLoadBalancerTagsFilterInput interface { - pulumi.Input - - ToGetLoadBalancerTagsFilterOutput() GetLoadBalancerTagsFilterOutput - ToGetLoadBalancerTagsFilterOutputWithContext(context.Context) GetLoadBalancerTagsFilterOutput -} - -type GetLoadBalancerTagsFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetLoadBalancerTagsFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancerTagsFilter)(nil)).Elem() -} - -func (i GetLoadBalancerTagsFilterArgs) ToGetLoadBalancerTagsFilterOutput() GetLoadBalancerTagsFilterOutput { - return i.ToGetLoadBalancerTagsFilterOutputWithContext(context.Background()) -} - -func (i GetLoadBalancerTagsFilterArgs) ToGetLoadBalancerTagsFilterOutputWithContext(ctx context.Context) GetLoadBalancerTagsFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancerTagsFilterOutput) -} - -// GetLoadBalancerTagsFilterArrayInput is an input type that accepts GetLoadBalancerTagsFilterArray and GetLoadBalancerTagsFilterArrayOutput values. -// You can construct a concrete instance of `GetLoadBalancerTagsFilterArrayInput` via: -// -// GetLoadBalancerTagsFilterArray{ GetLoadBalancerTagsFilterArgs{...} } -type GetLoadBalancerTagsFilterArrayInput interface { - pulumi.Input - - ToGetLoadBalancerTagsFilterArrayOutput() GetLoadBalancerTagsFilterArrayOutput - ToGetLoadBalancerTagsFilterArrayOutputWithContext(context.Context) GetLoadBalancerTagsFilterArrayOutput -} - -type GetLoadBalancerTagsFilterArray []GetLoadBalancerTagsFilterInput - -func (GetLoadBalancerTagsFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancerTagsFilter)(nil)).Elem() -} - -func (i GetLoadBalancerTagsFilterArray) ToGetLoadBalancerTagsFilterArrayOutput() GetLoadBalancerTagsFilterArrayOutput { - return i.ToGetLoadBalancerTagsFilterArrayOutputWithContext(context.Background()) -} - -func (i GetLoadBalancerTagsFilterArray) ToGetLoadBalancerTagsFilterArrayOutputWithContext(ctx context.Context) GetLoadBalancerTagsFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancerTagsFilterArrayOutput) -} - -type GetLoadBalancerTagsFilterOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancerTagsFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancerTagsFilter)(nil)).Elem() -} - -func (o GetLoadBalancerTagsFilterOutput) ToGetLoadBalancerTagsFilterOutput() GetLoadBalancerTagsFilterOutput { - return o -} - -func (o GetLoadBalancerTagsFilterOutput) ToGetLoadBalancerTagsFilterOutputWithContext(ctx context.Context) GetLoadBalancerTagsFilterOutput { - return o -} - -func (o GetLoadBalancerTagsFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancerTagsFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetLoadBalancerTagsFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetLoadBalancerTagsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetLoadBalancerTagsFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancerTagsFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancerTagsFilter)(nil)).Elem() -} - -func (o GetLoadBalancerTagsFilterArrayOutput) ToGetLoadBalancerTagsFilterArrayOutput() GetLoadBalancerTagsFilterArrayOutput { - return o -} - -func (o GetLoadBalancerTagsFilterArrayOutput) ToGetLoadBalancerTagsFilterArrayOutputWithContext(ctx context.Context) GetLoadBalancerTagsFilterArrayOutput { - return o -} - -func (o GetLoadBalancerTagsFilterArrayOutput) Index(i pulumi.IntInput) GetLoadBalancerTagsFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLoadBalancerTagsFilter { - return vs[0].([]GetLoadBalancerTagsFilter)[vs[1].(int)] - }).(GetLoadBalancerTagsFilterOutput) -} - -type GetLoadBalancerTagsTag struct { - Key string `pulumi:"key"` - LoadBalancerName string `pulumi:"loadBalancerName"` - Value string `pulumi:"value"` -} - -// GetLoadBalancerTagsTagInput is an input type that accepts GetLoadBalancerTagsTagArgs and GetLoadBalancerTagsTagOutput values. -// You can construct a concrete instance of `GetLoadBalancerTagsTagInput` via: -// -// GetLoadBalancerTagsTagArgs{...} -type GetLoadBalancerTagsTagInput interface { - pulumi.Input - - ToGetLoadBalancerTagsTagOutput() GetLoadBalancerTagsTagOutput - ToGetLoadBalancerTagsTagOutputWithContext(context.Context) GetLoadBalancerTagsTagOutput -} - -type GetLoadBalancerTagsTagArgs struct { - Key pulumi.StringInput `pulumi:"key"` - LoadBalancerName pulumi.StringInput `pulumi:"loadBalancerName"` - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetLoadBalancerTagsTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancerTagsTag)(nil)).Elem() -} - -func (i GetLoadBalancerTagsTagArgs) ToGetLoadBalancerTagsTagOutput() GetLoadBalancerTagsTagOutput { - return i.ToGetLoadBalancerTagsTagOutputWithContext(context.Background()) -} - -func (i GetLoadBalancerTagsTagArgs) ToGetLoadBalancerTagsTagOutputWithContext(ctx context.Context) GetLoadBalancerTagsTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancerTagsTagOutput) -} - -// GetLoadBalancerTagsTagArrayInput is an input type that accepts GetLoadBalancerTagsTagArray and GetLoadBalancerTagsTagArrayOutput values. -// You can construct a concrete instance of `GetLoadBalancerTagsTagArrayInput` via: -// -// GetLoadBalancerTagsTagArray{ GetLoadBalancerTagsTagArgs{...} } -type GetLoadBalancerTagsTagArrayInput interface { - pulumi.Input - - ToGetLoadBalancerTagsTagArrayOutput() GetLoadBalancerTagsTagArrayOutput - ToGetLoadBalancerTagsTagArrayOutputWithContext(context.Context) GetLoadBalancerTagsTagArrayOutput -} - -type GetLoadBalancerTagsTagArray []GetLoadBalancerTagsTagInput - -func (GetLoadBalancerTagsTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancerTagsTag)(nil)).Elem() -} - -func (i GetLoadBalancerTagsTagArray) ToGetLoadBalancerTagsTagArrayOutput() GetLoadBalancerTagsTagArrayOutput { - return i.ToGetLoadBalancerTagsTagArrayOutputWithContext(context.Background()) -} - -func (i GetLoadBalancerTagsTagArray) ToGetLoadBalancerTagsTagArrayOutputWithContext(ctx context.Context) GetLoadBalancerTagsTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancerTagsTagArrayOutput) -} - -type GetLoadBalancerTagsTagOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancerTagsTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancerTagsTag)(nil)).Elem() -} - -func (o GetLoadBalancerTagsTagOutput) ToGetLoadBalancerTagsTagOutput() GetLoadBalancerTagsTagOutput { - return o -} - -func (o GetLoadBalancerTagsTagOutput) ToGetLoadBalancerTagsTagOutputWithContext(ctx context.Context) GetLoadBalancerTagsTagOutput { - return o -} - -func (o GetLoadBalancerTagsTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancerTagsTag) string { return v.Key }).(pulumi.StringOutput) -} - -func (o GetLoadBalancerTagsTagOutput) LoadBalancerName() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancerTagsTag) string { return v.LoadBalancerName }).(pulumi.StringOutput) -} - -func (o GetLoadBalancerTagsTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancerTagsTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetLoadBalancerTagsTagArrayOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancerTagsTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancerTagsTag)(nil)).Elem() -} - -func (o GetLoadBalancerTagsTagArrayOutput) ToGetLoadBalancerTagsTagArrayOutput() GetLoadBalancerTagsTagArrayOutput { - return o -} - -func (o GetLoadBalancerTagsTagArrayOutput) ToGetLoadBalancerTagsTagArrayOutputWithContext(ctx context.Context) GetLoadBalancerTagsTagArrayOutput { - return o -} - -func (o GetLoadBalancerTagsTagArrayOutput) Index(i pulumi.IntInput) GetLoadBalancerTagsTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLoadBalancerTagsTag { - return vs[0].([]GetLoadBalancerTagsTag)[vs[1].(int)] - }).(GetLoadBalancerTagsTagOutput) -} - -type GetLoadBalancerVmHealthBackendVmHealth struct { - // The description of the state of the back-end VM. - Description string `pulumi:"description"` - // The state of the back-end VM (`InService` \| `OutOfService` \| `Unknown`). - State string `pulumi:"state"` - // Information about the cause of `OutOfService` VMs.
- // Specifically, whether the cause is Elastic Load Balancing or the VM (`ELB` \| `Instance` \| `N/A`). - StateReason string `pulumi:"stateReason"` - // The ID of the back-end VM. - VmId string `pulumi:"vmId"` -} - -// GetLoadBalancerVmHealthBackendVmHealthInput is an input type that accepts GetLoadBalancerVmHealthBackendVmHealthArgs and GetLoadBalancerVmHealthBackendVmHealthOutput values. -// You can construct a concrete instance of `GetLoadBalancerVmHealthBackendVmHealthInput` via: -// -// GetLoadBalancerVmHealthBackendVmHealthArgs{...} -type GetLoadBalancerVmHealthBackendVmHealthInput interface { - pulumi.Input - - ToGetLoadBalancerVmHealthBackendVmHealthOutput() GetLoadBalancerVmHealthBackendVmHealthOutput - ToGetLoadBalancerVmHealthBackendVmHealthOutputWithContext(context.Context) GetLoadBalancerVmHealthBackendVmHealthOutput -} - -type GetLoadBalancerVmHealthBackendVmHealthArgs struct { - // The description of the state of the back-end VM. - Description pulumi.StringInput `pulumi:"description"` - // The state of the back-end VM (`InService` \| `OutOfService` \| `Unknown`). - State pulumi.StringInput `pulumi:"state"` - // Information about the cause of `OutOfService` VMs.
- // Specifically, whether the cause is Elastic Load Balancing or the VM (`ELB` \| `Instance` \| `N/A`). - StateReason pulumi.StringInput `pulumi:"stateReason"` - // The ID of the back-end VM. - VmId pulumi.StringInput `pulumi:"vmId"` -} - -func (GetLoadBalancerVmHealthBackendVmHealthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancerVmHealthBackendVmHealth)(nil)).Elem() -} - -func (i GetLoadBalancerVmHealthBackendVmHealthArgs) ToGetLoadBalancerVmHealthBackendVmHealthOutput() GetLoadBalancerVmHealthBackendVmHealthOutput { - return i.ToGetLoadBalancerVmHealthBackendVmHealthOutputWithContext(context.Background()) -} - -func (i GetLoadBalancerVmHealthBackendVmHealthArgs) ToGetLoadBalancerVmHealthBackendVmHealthOutputWithContext(ctx context.Context) GetLoadBalancerVmHealthBackendVmHealthOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancerVmHealthBackendVmHealthOutput) -} - -// GetLoadBalancerVmHealthBackendVmHealthArrayInput is an input type that accepts GetLoadBalancerVmHealthBackendVmHealthArray and GetLoadBalancerVmHealthBackendVmHealthArrayOutput values. -// You can construct a concrete instance of `GetLoadBalancerVmHealthBackendVmHealthArrayInput` via: -// -// GetLoadBalancerVmHealthBackendVmHealthArray{ GetLoadBalancerVmHealthBackendVmHealthArgs{...} } -type GetLoadBalancerVmHealthBackendVmHealthArrayInput interface { - pulumi.Input - - ToGetLoadBalancerVmHealthBackendVmHealthArrayOutput() GetLoadBalancerVmHealthBackendVmHealthArrayOutput - ToGetLoadBalancerVmHealthBackendVmHealthArrayOutputWithContext(context.Context) GetLoadBalancerVmHealthBackendVmHealthArrayOutput -} - -type GetLoadBalancerVmHealthBackendVmHealthArray []GetLoadBalancerVmHealthBackendVmHealthInput - -func (GetLoadBalancerVmHealthBackendVmHealthArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancerVmHealthBackendVmHealth)(nil)).Elem() -} - -func (i GetLoadBalancerVmHealthBackendVmHealthArray) ToGetLoadBalancerVmHealthBackendVmHealthArrayOutput() GetLoadBalancerVmHealthBackendVmHealthArrayOutput { - return i.ToGetLoadBalancerVmHealthBackendVmHealthArrayOutputWithContext(context.Background()) -} - -func (i GetLoadBalancerVmHealthBackendVmHealthArray) ToGetLoadBalancerVmHealthBackendVmHealthArrayOutputWithContext(ctx context.Context) GetLoadBalancerVmHealthBackendVmHealthArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancerVmHealthBackendVmHealthArrayOutput) -} - -type GetLoadBalancerVmHealthBackendVmHealthOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancerVmHealthBackendVmHealthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancerVmHealthBackendVmHealth)(nil)).Elem() -} - -func (o GetLoadBalancerVmHealthBackendVmHealthOutput) ToGetLoadBalancerVmHealthBackendVmHealthOutput() GetLoadBalancerVmHealthBackendVmHealthOutput { - return o -} - -func (o GetLoadBalancerVmHealthBackendVmHealthOutput) ToGetLoadBalancerVmHealthBackendVmHealthOutputWithContext(ctx context.Context) GetLoadBalancerVmHealthBackendVmHealthOutput { - return o -} - -// The description of the state of the back-end VM. -func (o GetLoadBalancerVmHealthBackendVmHealthOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancerVmHealthBackendVmHealth) string { return v.Description }).(pulumi.StringOutput) -} - -// The state of the back-end VM (`InService` \| `OutOfService` \| `Unknown`). -func (o GetLoadBalancerVmHealthBackendVmHealthOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancerVmHealthBackendVmHealth) string { return v.State }).(pulumi.StringOutput) -} - -// Information about the cause of `OutOfService` VMs.
-// Specifically, whether the cause is Elastic Load Balancing or the VM (`ELB` \| `Instance` \| `N/A`). -func (o GetLoadBalancerVmHealthBackendVmHealthOutput) StateReason() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancerVmHealthBackendVmHealth) string { return v.StateReason }).(pulumi.StringOutput) -} - -// The ID of the back-end VM. -func (o GetLoadBalancerVmHealthBackendVmHealthOutput) VmId() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancerVmHealthBackendVmHealth) string { return v.VmId }).(pulumi.StringOutput) -} - -type GetLoadBalancerVmHealthBackendVmHealthArrayOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancerVmHealthBackendVmHealthArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancerVmHealthBackendVmHealth)(nil)).Elem() -} - -func (o GetLoadBalancerVmHealthBackendVmHealthArrayOutput) ToGetLoadBalancerVmHealthBackendVmHealthArrayOutput() GetLoadBalancerVmHealthBackendVmHealthArrayOutput { - return o -} - -func (o GetLoadBalancerVmHealthBackendVmHealthArrayOutput) ToGetLoadBalancerVmHealthBackendVmHealthArrayOutputWithContext(ctx context.Context) GetLoadBalancerVmHealthBackendVmHealthArrayOutput { - return o -} - -func (o GetLoadBalancerVmHealthBackendVmHealthArrayOutput) Index(i pulumi.IntInput) GetLoadBalancerVmHealthBackendVmHealthOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLoadBalancerVmHealthBackendVmHealth { - return vs[0].([]GetLoadBalancerVmHealthBackendVmHealth)[vs[1].(int)] - }).(GetLoadBalancerVmHealthBackendVmHealthOutput) -} - -type GetLoadBalancerVmHealthFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetLoadBalancerVmHealthFilterInput is an input type that accepts GetLoadBalancerVmHealthFilterArgs and GetLoadBalancerVmHealthFilterOutput values. -// You can construct a concrete instance of `GetLoadBalancerVmHealthFilterInput` via: -// -// GetLoadBalancerVmHealthFilterArgs{...} -type GetLoadBalancerVmHealthFilterInput interface { - pulumi.Input - - ToGetLoadBalancerVmHealthFilterOutput() GetLoadBalancerVmHealthFilterOutput - ToGetLoadBalancerVmHealthFilterOutputWithContext(context.Context) GetLoadBalancerVmHealthFilterOutput -} - -type GetLoadBalancerVmHealthFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetLoadBalancerVmHealthFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancerVmHealthFilter)(nil)).Elem() -} - -func (i GetLoadBalancerVmHealthFilterArgs) ToGetLoadBalancerVmHealthFilterOutput() GetLoadBalancerVmHealthFilterOutput { - return i.ToGetLoadBalancerVmHealthFilterOutputWithContext(context.Background()) -} - -func (i GetLoadBalancerVmHealthFilterArgs) ToGetLoadBalancerVmHealthFilterOutputWithContext(ctx context.Context) GetLoadBalancerVmHealthFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancerVmHealthFilterOutput) -} - -// GetLoadBalancerVmHealthFilterArrayInput is an input type that accepts GetLoadBalancerVmHealthFilterArray and GetLoadBalancerVmHealthFilterArrayOutput values. -// You can construct a concrete instance of `GetLoadBalancerVmHealthFilterArrayInput` via: -// -// GetLoadBalancerVmHealthFilterArray{ GetLoadBalancerVmHealthFilterArgs{...} } -type GetLoadBalancerVmHealthFilterArrayInput interface { - pulumi.Input - - ToGetLoadBalancerVmHealthFilterArrayOutput() GetLoadBalancerVmHealthFilterArrayOutput - ToGetLoadBalancerVmHealthFilterArrayOutputWithContext(context.Context) GetLoadBalancerVmHealthFilterArrayOutput -} - -type GetLoadBalancerVmHealthFilterArray []GetLoadBalancerVmHealthFilterInput - -func (GetLoadBalancerVmHealthFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancerVmHealthFilter)(nil)).Elem() -} - -func (i GetLoadBalancerVmHealthFilterArray) ToGetLoadBalancerVmHealthFilterArrayOutput() GetLoadBalancerVmHealthFilterArrayOutput { - return i.ToGetLoadBalancerVmHealthFilterArrayOutputWithContext(context.Background()) -} - -func (i GetLoadBalancerVmHealthFilterArray) ToGetLoadBalancerVmHealthFilterArrayOutputWithContext(ctx context.Context) GetLoadBalancerVmHealthFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancerVmHealthFilterArrayOutput) -} - -type GetLoadBalancerVmHealthFilterOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancerVmHealthFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancerVmHealthFilter)(nil)).Elem() -} - -func (o GetLoadBalancerVmHealthFilterOutput) ToGetLoadBalancerVmHealthFilterOutput() GetLoadBalancerVmHealthFilterOutput { - return o -} - -func (o GetLoadBalancerVmHealthFilterOutput) ToGetLoadBalancerVmHealthFilterOutputWithContext(ctx context.Context) GetLoadBalancerVmHealthFilterOutput { - return o -} - -func (o GetLoadBalancerVmHealthFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancerVmHealthFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetLoadBalancerVmHealthFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetLoadBalancerVmHealthFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetLoadBalancerVmHealthFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancerVmHealthFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancerVmHealthFilter)(nil)).Elem() -} - -func (o GetLoadBalancerVmHealthFilterArrayOutput) ToGetLoadBalancerVmHealthFilterArrayOutput() GetLoadBalancerVmHealthFilterArrayOutput { - return o -} - -func (o GetLoadBalancerVmHealthFilterArrayOutput) ToGetLoadBalancerVmHealthFilterArrayOutputWithContext(ctx context.Context) GetLoadBalancerVmHealthFilterArrayOutput { - return o -} - -func (o GetLoadBalancerVmHealthFilterArrayOutput) Index(i pulumi.IntInput) GetLoadBalancerVmHealthFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLoadBalancerVmHealthFilter { - return vs[0].([]GetLoadBalancerVmHealthFilter)[vs[1].(int)] - }).(GetLoadBalancerVmHealthFilterOutput) -} - -type GetLoadBalancersFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetLoadBalancersFilterInput is an input type that accepts GetLoadBalancersFilterArgs and GetLoadBalancersFilterOutput values. -// You can construct a concrete instance of `GetLoadBalancersFilterInput` via: -// -// GetLoadBalancersFilterArgs{...} -type GetLoadBalancersFilterInput interface { - pulumi.Input - - ToGetLoadBalancersFilterOutput() GetLoadBalancersFilterOutput - ToGetLoadBalancersFilterOutputWithContext(context.Context) GetLoadBalancersFilterOutput -} - -type GetLoadBalancersFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetLoadBalancersFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancersFilter)(nil)).Elem() -} - -func (i GetLoadBalancersFilterArgs) ToGetLoadBalancersFilterOutput() GetLoadBalancersFilterOutput { - return i.ToGetLoadBalancersFilterOutputWithContext(context.Background()) -} - -func (i GetLoadBalancersFilterArgs) ToGetLoadBalancersFilterOutputWithContext(ctx context.Context) GetLoadBalancersFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancersFilterOutput) -} - -// GetLoadBalancersFilterArrayInput is an input type that accepts GetLoadBalancersFilterArray and GetLoadBalancersFilterArrayOutput values. -// You can construct a concrete instance of `GetLoadBalancersFilterArrayInput` via: -// -// GetLoadBalancersFilterArray{ GetLoadBalancersFilterArgs{...} } -type GetLoadBalancersFilterArrayInput interface { - pulumi.Input - - ToGetLoadBalancersFilterArrayOutput() GetLoadBalancersFilterArrayOutput - ToGetLoadBalancersFilterArrayOutputWithContext(context.Context) GetLoadBalancersFilterArrayOutput -} - -type GetLoadBalancersFilterArray []GetLoadBalancersFilterInput - -func (GetLoadBalancersFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancersFilter)(nil)).Elem() -} - -func (i GetLoadBalancersFilterArray) ToGetLoadBalancersFilterArrayOutput() GetLoadBalancersFilterArrayOutput { - return i.ToGetLoadBalancersFilterArrayOutputWithContext(context.Background()) -} - -func (i GetLoadBalancersFilterArray) ToGetLoadBalancersFilterArrayOutputWithContext(ctx context.Context) GetLoadBalancersFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancersFilterArrayOutput) -} - -type GetLoadBalancersFilterOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancersFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancersFilter)(nil)).Elem() -} - -func (o GetLoadBalancersFilterOutput) ToGetLoadBalancersFilterOutput() GetLoadBalancersFilterOutput { - return o -} - -func (o GetLoadBalancersFilterOutput) ToGetLoadBalancersFilterOutputWithContext(ctx context.Context) GetLoadBalancersFilterOutput { - return o -} - -func (o GetLoadBalancersFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancersFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetLoadBalancersFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetLoadBalancersFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetLoadBalancersFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancersFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancersFilter)(nil)).Elem() -} - -func (o GetLoadBalancersFilterArrayOutput) ToGetLoadBalancersFilterArrayOutput() GetLoadBalancersFilterArrayOutput { - return o -} - -func (o GetLoadBalancersFilterArrayOutput) ToGetLoadBalancersFilterArrayOutputWithContext(ctx context.Context) GetLoadBalancersFilterArrayOutput { - return o -} - -func (o GetLoadBalancersFilterArrayOutput) Index(i pulumi.IntInput) GetLoadBalancersFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLoadBalancersFilter { - return vs[0].([]GetLoadBalancersFilter)[vs[1].(int)] - }).(GetLoadBalancersFilterOutput) -} - -type GetLoadBalancersLoadBalancer struct { - // Information about access logs. - AccessLogs []GetLoadBalancersLoadBalancerAccessLog `pulumi:"accessLogs"` - // The stickiness policies defined for the load balancer. - ApplicationStickyCookiePolicies []GetLoadBalancersLoadBalancerApplicationStickyCookiePolicy `pulumi:"applicationStickyCookiePolicies"` - // One or more IDs of back-end VMs for the load balancer. - BackendVmIds []GetLoadBalancersLoadBalancerBackendVmId `pulumi:"backendVmIds"` - // The DNS name of the load balancer. - DnsName string `pulumi:"dnsName"` - // Information about the health check configuration. - HealthChecks []GetLoadBalancersLoadBalancerHealthCheck `pulumi:"healthChecks"` - // The listeners for the load balancer. - Listeners []GetLoadBalancersLoadBalancerListener `pulumi:"listeners"` - // The name of the load balancer. - LoadBalancerName string `pulumi:"loadBalancerName"` - // The policies defined for the load balancer. - LoadBalancerStickyCookiePolicies []GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicy `pulumi:"loadBalancerStickyCookiePolicies"` - // The type of load balancer. Valid only for load balancers in a Net.
- // If `loadBalancerType` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.
- // If `loadBalancerType` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - LoadBalancerType string `pulumi:"loadBalancerType"` - // The ID of the Net for the load balancer. - NetId string `pulumi:"netId"` - // (internet-facing only) The public IP associated with the load balancer. - PublicIp string `pulumi:"publicIp"` - // Whether secure cookies are enabled for the load balancer. - SecuredCookies bool `pulumi:"securedCookies"` - // One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - SecurityGroups []string `pulumi:"securityGroups"` - // Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.
- // To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. - SourceSecurityGroups []GetLoadBalancersLoadBalancerSourceSecurityGroup `pulumi:"sourceSecurityGroups"` - SubnetIds []string `pulumi:"subnetIds"` - // The ID of the Subregion in which the load balancer was created. - SubregionNames []string `pulumi:"subregionNames"` - // One or more tags associated with the load balancer. - Tags []GetLoadBalancersLoadBalancerTag `pulumi:"tags"` -} - -// GetLoadBalancersLoadBalancerInput is an input type that accepts GetLoadBalancersLoadBalancerArgs and GetLoadBalancersLoadBalancerOutput values. -// You can construct a concrete instance of `GetLoadBalancersLoadBalancerInput` via: -// -// GetLoadBalancersLoadBalancerArgs{...} -type GetLoadBalancersLoadBalancerInput interface { - pulumi.Input - - ToGetLoadBalancersLoadBalancerOutput() GetLoadBalancersLoadBalancerOutput - ToGetLoadBalancersLoadBalancerOutputWithContext(context.Context) GetLoadBalancersLoadBalancerOutput -} - -type GetLoadBalancersLoadBalancerArgs struct { - // Information about access logs. - AccessLogs GetLoadBalancersLoadBalancerAccessLogArrayInput `pulumi:"accessLogs"` - // The stickiness policies defined for the load balancer. - ApplicationStickyCookiePolicies GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArrayInput `pulumi:"applicationStickyCookiePolicies"` - // One or more IDs of back-end VMs for the load balancer. - BackendVmIds GetLoadBalancersLoadBalancerBackendVmIdArrayInput `pulumi:"backendVmIds"` - // The DNS name of the load balancer. - DnsName pulumi.StringInput `pulumi:"dnsName"` - // Information about the health check configuration. - HealthChecks GetLoadBalancersLoadBalancerHealthCheckArrayInput `pulumi:"healthChecks"` - // The listeners for the load balancer. - Listeners GetLoadBalancersLoadBalancerListenerArrayInput `pulumi:"listeners"` - // The name of the load balancer. - LoadBalancerName pulumi.StringInput `pulumi:"loadBalancerName"` - // The policies defined for the load balancer. - LoadBalancerStickyCookiePolicies GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArrayInput `pulumi:"loadBalancerStickyCookiePolicies"` - // The type of load balancer. Valid only for load balancers in a Net.
- // If `loadBalancerType` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.
- // If `loadBalancerType` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - LoadBalancerType pulumi.StringInput `pulumi:"loadBalancerType"` - // The ID of the Net for the load balancer. - NetId pulumi.StringInput `pulumi:"netId"` - // (internet-facing only) The public IP associated with the load balancer. - PublicIp pulumi.StringInput `pulumi:"publicIp"` - // Whether secure cookies are enabled for the load balancer. - SecuredCookies pulumi.BoolInput `pulumi:"securedCookies"` - // One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - SecurityGroups pulumi.StringArrayInput `pulumi:"securityGroups"` - // Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.
- // To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. - SourceSecurityGroups GetLoadBalancersLoadBalancerSourceSecurityGroupArrayInput `pulumi:"sourceSecurityGroups"` - SubnetIds pulumi.StringArrayInput `pulumi:"subnetIds"` - // The ID of the Subregion in which the load balancer was created. - SubregionNames pulumi.StringArrayInput `pulumi:"subregionNames"` - // One or more tags associated with the load balancer. - Tags GetLoadBalancersLoadBalancerTagArrayInput `pulumi:"tags"` -} - -func (GetLoadBalancersLoadBalancerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancersLoadBalancer)(nil)).Elem() -} - -func (i GetLoadBalancersLoadBalancerArgs) ToGetLoadBalancersLoadBalancerOutput() GetLoadBalancersLoadBalancerOutput { - return i.ToGetLoadBalancersLoadBalancerOutputWithContext(context.Background()) -} - -func (i GetLoadBalancersLoadBalancerArgs) ToGetLoadBalancersLoadBalancerOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancersLoadBalancerOutput) -} - -// GetLoadBalancersLoadBalancerArrayInput is an input type that accepts GetLoadBalancersLoadBalancerArray and GetLoadBalancersLoadBalancerArrayOutput values. -// You can construct a concrete instance of `GetLoadBalancersLoadBalancerArrayInput` via: -// -// GetLoadBalancersLoadBalancerArray{ GetLoadBalancersLoadBalancerArgs{...} } -type GetLoadBalancersLoadBalancerArrayInput interface { - pulumi.Input - - ToGetLoadBalancersLoadBalancerArrayOutput() GetLoadBalancersLoadBalancerArrayOutput - ToGetLoadBalancersLoadBalancerArrayOutputWithContext(context.Context) GetLoadBalancersLoadBalancerArrayOutput -} - -type GetLoadBalancersLoadBalancerArray []GetLoadBalancersLoadBalancerInput - -func (GetLoadBalancersLoadBalancerArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancersLoadBalancer)(nil)).Elem() -} - -func (i GetLoadBalancersLoadBalancerArray) ToGetLoadBalancersLoadBalancerArrayOutput() GetLoadBalancersLoadBalancerArrayOutput { - return i.ToGetLoadBalancersLoadBalancerArrayOutputWithContext(context.Background()) -} - -func (i GetLoadBalancersLoadBalancerArray) ToGetLoadBalancersLoadBalancerArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancersLoadBalancerArrayOutput) -} - -type GetLoadBalancersLoadBalancerOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancersLoadBalancerOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancersLoadBalancer)(nil)).Elem() -} - -func (o GetLoadBalancersLoadBalancerOutput) ToGetLoadBalancersLoadBalancerOutput() GetLoadBalancersLoadBalancerOutput { - return o -} - -func (o GetLoadBalancersLoadBalancerOutput) ToGetLoadBalancersLoadBalancerOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerOutput { - return o -} - -// Information about access logs. -func (o GetLoadBalancersLoadBalancerOutput) AccessLogs() GetLoadBalancersLoadBalancerAccessLogArrayOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancer) []GetLoadBalancersLoadBalancerAccessLog { return v.AccessLogs }).(GetLoadBalancersLoadBalancerAccessLogArrayOutput) -} - -// The stickiness policies defined for the load balancer. -func (o GetLoadBalancersLoadBalancerOutput) ApplicationStickyCookiePolicies() GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArrayOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancer) []GetLoadBalancersLoadBalancerApplicationStickyCookiePolicy { - return v.ApplicationStickyCookiePolicies - }).(GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArrayOutput) -} - -// One or more IDs of back-end VMs for the load balancer. -func (o GetLoadBalancersLoadBalancerOutput) BackendVmIds() GetLoadBalancersLoadBalancerBackendVmIdArrayOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancer) []GetLoadBalancersLoadBalancerBackendVmId { return v.BackendVmIds }).(GetLoadBalancersLoadBalancerBackendVmIdArrayOutput) -} - -// The DNS name of the load balancer. -func (o GetLoadBalancersLoadBalancerOutput) DnsName() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancer) string { return v.DnsName }).(pulumi.StringOutput) -} - -// Information about the health check configuration. -func (o GetLoadBalancersLoadBalancerOutput) HealthChecks() GetLoadBalancersLoadBalancerHealthCheckArrayOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancer) []GetLoadBalancersLoadBalancerHealthCheck { return v.HealthChecks }).(GetLoadBalancersLoadBalancerHealthCheckArrayOutput) -} - -// The listeners for the load balancer. -func (o GetLoadBalancersLoadBalancerOutput) Listeners() GetLoadBalancersLoadBalancerListenerArrayOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancer) []GetLoadBalancersLoadBalancerListener { return v.Listeners }).(GetLoadBalancersLoadBalancerListenerArrayOutput) -} - -// The name of the load balancer. -func (o GetLoadBalancersLoadBalancerOutput) LoadBalancerName() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancer) string { return v.LoadBalancerName }).(pulumi.StringOutput) -} - -// The policies defined for the load balancer. -func (o GetLoadBalancersLoadBalancerOutput) LoadBalancerStickyCookiePolicies() GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancer) []GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicy { - return v.LoadBalancerStickyCookiePolicies - }).(GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput) -} - -// The type of load balancer. Valid only for load balancers in a Net.
-// If `loadBalancerType` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.
-// If `loadBalancerType` is `internal`, the load balancer has a public DNS name that resolves to a private IP. -func (o GetLoadBalancersLoadBalancerOutput) LoadBalancerType() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancer) string { return v.LoadBalancerType }).(pulumi.StringOutput) -} - -// The ID of the Net for the load balancer. -func (o GetLoadBalancersLoadBalancerOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancer) string { return v.NetId }).(pulumi.StringOutput) -} - -// (internet-facing only) The public IP associated with the load balancer. -func (o GetLoadBalancersLoadBalancerOutput) PublicIp() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancer) string { return v.PublicIp }).(pulumi.StringOutput) -} - -// Whether secure cookies are enabled for the load balancer. -func (o GetLoadBalancersLoadBalancerOutput) SecuredCookies() pulumi.BoolOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancer) bool { return v.SecuredCookies }).(pulumi.BoolOutput) -} - -// One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. -func (o GetLoadBalancersLoadBalancerOutput) SecurityGroups() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancer) []string { return v.SecurityGroups }).(pulumi.StringArrayOutput) -} - -// Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.
-// To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. -func (o GetLoadBalancersLoadBalancerOutput) SourceSecurityGroups() GetLoadBalancersLoadBalancerSourceSecurityGroupArrayOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancer) []GetLoadBalancersLoadBalancerSourceSecurityGroup { - return v.SourceSecurityGroups - }).(GetLoadBalancersLoadBalancerSourceSecurityGroupArrayOutput) -} - -func (o GetLoadBalancersLoadBalancerOutput) SubnetIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancer) []string { return v.SubnetIds }).(pulumi.StringArrayOutput) -} - -// The ID of the Subregion in which the load balancer was created. -func (o GetLoadBalancersLoadBalancerOutput) SubregionNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancer) []string { return v.SubregionNames }).(pulumi.StringArrayOutput) -} - -// One or more tags associated with the load balancer. -func (o GetLoadBalancersLoadBalancerOutput) Tags() GetLoadBalancersLoadBalancerTagArrayOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancer) []GetLoadBalancersLoadBalancerTag { return v.Tags }).(GetLoadBalancersLoadBalancerTagArrayOutput) -} - -type GetLoadBalancersLoadBalancerArrayOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancersLoadBalancerArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancersLoadBalancer)(nil)).Elem() -} - -func (o GetLoadBalancersLoadBalancerArrayOutput) ToGetLoadBalancersLoadBalancerArrayOutput() GetLoadBalancersLoadBalancerArrayOutput { - return o -} - -func (o GetLoadBalancersLoadBalancerArrayOutput) ToGetLoadBalancersLoadBalancerArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerArrayOutput { - return o -} - -func (o GetLoadBalancersLoadBalancerArrayOutput) Index(i pulumi.IntInput) GetLoadBalancersLoadBalancerOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLoadBalancersLoadBalancer { - return vs[0].([]GetLoadBalancersLoadBalancer)[vs[1].(int)] - }).(GetLoadBalancersLoadBalancerOutput) -} - -type GetLoadBalancersLoadBalancerAccessLog struct { - // If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osuBucketName` parameter is required. - IsEnabled bool `pulumi:"isEnabled"` - // The name of the OOS bucket for the access logs. - OsuBucketName string `pulumi:"osuBucketName"` - // The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - OsuBucketPrefix string `pulumi:"osuBucketPrefix"` - // The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - PublicationInterval int `pulumi:"publicationInterval"` -} - -// GetLoadBalancersLoadBalancerAccessLogInput is an input type that accepts GetLoadBalancersLoadBalancerAccessLogArgs and GetLoadBalancersLoadBalancerAccessLogOutput values. -// You can construct a concrete instance of `GetLoadBalancersLoadBalancerAccessLogInput` via: -// -// GetLoadBalancersLoadBalancerAccessLogArgs{...} -type GetLoadBalancersLoadBalancerAccessLogInput interface { - pulumi.Input - - ToGetLoadBalancersLoadBalancerAccessLogOutput() GetLoadBalancersLoadBalancerAccessLogOutput - ToGetLoadBalancersLoadBalancerAccessLogOutputWithContext(context.Context) GetLoadBalancersLoadBalancerAccessLogOutput -} - -type GetLoadBalancersLoadBalancerAccessLogArgs struct { - // If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osuBucketName` parameter is required. - IsEnabled pulumi.BoolInput `pulumi:"isEnabled"` - // The name of the OOS bucket for the access logs. - OsuBucketName pulumi.StringInput `pulumi:"osuBucketName"` - // The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - OsuBucketPrefix pulumi.StringInput `pulumi:"osuBucketPrefix"` - // The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - PublicationInterval pulumi.IntInput `pulumi:"publicationInterval"` -} - -func (GetLoadBalancersLoadBalancerAccessLogArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancersLoadBalancerAccessLog)(nil)).Elem() -} - -func (i GetLoadBalancersLoadBalancerAccessLogArgs) ToGetLoadBalancersLoadBalancerAccessLogOutput() GetLoadBalancersLoadBalancerAccessLogOutput { - return i.ToGetLoadBalancersLoadBalancerAccessLogOutputWithContext(context.Background()) -} - -func (i GetLoadBalancersLoadBalancerAccessLogArgs) ToGetLoadBalancersLoadBalancerAccessLogOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerAccessLogOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancersLoadBalancerAccessLogOutput) -} - -// GetLoadBalancersLoadBalancerAccessLogArrayInput is an input type that accepts GetLoadBalancersLoadBalancerAccessLogArray and GetLoadBalancersLoadBalancerAccessLogArrayOutput values. -// You can construct a concrete instance of `GetLoadBalancersLoadBalancerAccessLogArrayInput` via: -// -// GetLoadBalancersLoadBalancerAccessLogArray{ GetLoadBalancersLoadBalancerAccessLogArgs{...} } -type GetLoadBalancersLoadBalancerAccessLogArrayInput interface { - pulumi.Input - - ToGetLoadBalancersLoadBalancerAccessLogArrayOutput() GetLoadBalancersLoadBalancerAccessLogArrayOutput - ToGetLoadBalancersLoadBalancerAccessLogArrayOutputWithContext(context.Context) GetLoadBalancersLoadBalancerAccessLogArrayOutput -} - -type GetLoadBalancersLoadBalancerAccessLogArray []GetLoadBalancersLoadBalancerAccessLogInput - -func (GetLoadBalancersLoadBalancerAccessLogArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancersLoadBalancerAccessLog)(nil)).Elem() -} - -func (i GetLoadBalancersLoadBalancerAccessLogArray) ToGetLoadBalancersLoadBalancerAccessLogArrayOutput() GetLoadBalancersLoadBalancerAccessLogArrayOutput { - return i.ToGetLoadBalancersLoadBalancerAccessLogArrayOutputWithContext(context.Background()) -} - -func (i GetLoadBalancersLoadBalancerAccessLogArray) ToGetLoadBalancersLoadBalancerAccessLogArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerAccessLogArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancersLoadBalancerAccessLogArrayOutput) -} - -type GetLoadBalancersLoadBalancerAccessLogOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancersLoadBalancerAccessLogOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancersLoadBalancerAccessLog)(nil)).Elem() -} - -func (o GetLoadBalancersLoadBalancerAccessLogOutput) ToGetLoadBalancersLoadBalancerAccessLogOutput() GetLoadBalancersLoadBalancerAccessLogOutput { - return o -} - -func (o GetLoadBalancersLoadBalancerAccessLogOutput) ToGetLoadBalancersLoadBalancerAccessLogOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerAccessLogOutput { - return o -} - -// If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osuBucketName` parameter is required. -func (o GetLoadBalancersLoadBalancerAccessLogOutput) IsEnabled() pulumi.BoolOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancerAccessLog) bool { return v.IsEnabled }).(pulumi.BoolOutput) -} - -// The name of the OOS bucket for the access logs. -func (o GetLoadBalancersLoadBalancerAccessLogOutput) OsuBucketName() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancerAccessLog) string { return v.OsuBucketName }).(pulumi.StringOutput) -} - -// The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). -func (o GetLoadBalancersLoadBalancerAccessLogOutput) OsuBucketPrefix() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancerAccessLog) string { return v.OsuBucketPrefix }).(pulumi.StringOutput) -} - -// The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). -func (o GetLoadBalancersLoadBalancerAccessLogOutput) PublicationInterval() pulumi.IntOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancerAccessLog) int { return v.PublicationInterval }).(pulumi.IntOutput) -} - -type GetLoadBalancersLoadBalancerAccessLogArrayOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancersLoadBalancerAccessLogArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancersLoadBalancerAccessLog)(nil)).Elem() -} - -func (o GetLoadBalancersLoadBalancerAccessLogArrayOutput) ToGetLoadBalancersLoadBalancerAccessLogArrayOutput() GetLoadBalancersLoadBalancerAccessLogArrayOutput { - return o -} - -func (o GetLoadBalancersLoadBalancerAccessLogArrayOutput) ToGetLoadBalancersLoadBalancerAccessLogArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerAccessLogArrayOutput { - return o -} - -func (o GetLoadBalancersLoadBalancerAccessLogArrayOutput) Index(i pulumi.IntInput) GetLoadBalancersLoadBalancerAccessLogOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLoadBalancersLoadBalancerAccessLog { - return vs[0].([]GetLoadBalancersLoadBalancerAccessLog)[vs[1].(int)] - }).(GetLoadBalancersLoadBalancerAccessLogOutput) -} - -type GetLoadBalancersLoadBalancerApplicationStickyCookiePolicy struct { - // The name of the application cookie used for stickiness. - CookieName string `pulumi:"cookieName"` - // The name of the stickiness policy. - PolicyName string `pulumi:"policyName"` -} - -// GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyInput is an input type that accepts GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArgs and GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyOutput values. -// You can construct a concrete instance of `GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyInput` via: -// -// GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArgs{...} -type GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyInput interface { - pulumi.Input - - ToGetLoadBalancersLoadBalancerApplicationStickyCookiePolicyOutput() GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyOutput - ToGetLoadBalancersLoadBalancerApplicationStickyCookiePolicyOutputWithContext(context.Context) GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyOutput -} - -type GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArgs struct { - // The name of the application cookie used for stickiness. - CookieName pulumi.StringInput `pulumi:"cookieName"` - // The name of the stickiness policy. - PolicyName pulumi.StringInput `pulumi:"policyName"` -} - -func (GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancersLoadBalancerApplicationStickyCookiePolicy)(nil)).Elem() -} - -func (i GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArgs) ToGetLoadBalancersLoadBalancerApplicationStickyCookiePolicyOutput() GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyOutput { - return i.ToGetLoadBalancersLoadBalancerApplicationStickyCookiePolicyOutputWithContext(context.Background()) -} - -func (i GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArgs) ToGetLoadBalancersLoadBalancerApplicationStickyCookiePolicyOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyOutput) -} - -// GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArrayInput is an input type that accepts GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArray and GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArrayOutput values. -// You can construct a concrete instance of `GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArrayInput` via: -// -// GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArray{ GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArgs{...} } -type GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArrayInput interface { - pulumi.Input - - ToGetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArrayOutput() GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArrayOutput - ToGetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArrayOutputWithContext(context.Context) GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArrayOutput -} - -type GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArray []GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyInput - -func (GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancersLoadBalancerApplicationStickyCookiePolicy)(nil)).Elem() -} - -func (i GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArray) ToGetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArrayOutput() GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArrayOutput { - return i.ToGetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArrayOutputWithContext(context.Background()) -} - -func (i GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArray) ToGetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArrayOutput) -} - -type GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancersLoadBalancerApplicationStickyCookiePolicy)(nil)).Elem() -} - -func (o GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyOutput) ToGetLoadBalancersLoadBalancerApplicationStickyCookiePolicyOutput() GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyOutput { - return o -} - -func (o GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyOutput) ToGetLoadBalancersLoadBalancerApplicationStickyCookiePolicyOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyOutput { - return o -} - -// The name of the application cookie used for stickiness. -func (o GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyOutput) CookieName() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancerApplicationStickyCookiePolicy) string { return v.CookieName }).(pulumi.StringOutput) -} - -// The name of the stickiness policy. -func (o GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyOutput) PolicyName() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancerApplicationStickyCookiePolicy) string { return v.PolicyName }).(pulumi.StringOutput) -} - -type GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArrayOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancersLoadBalancerApplicationStickyCookiePolicy)(nil)).Elem() -} - -func (o GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArrayOutput) ToGetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArrayOutput() GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArrayOutput { - return o -} - -func (o GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArrayOutput) ToGetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArrayOutput { - return o -} - -func (o GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArrayOutput) Index(i pulumi.IntInput) GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLoadBalancersLoadBalancerApplicationStickyCookiePolicy { - return vs[0].([]GetLoadBalancersLoadBalancerApplicationStickyCookiePolicy)[vs[1].(int)] - }).(GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyOutput) -} - -type GetLoadBalancersLoadBalancerBackendVmId struct { - VmId string `pulumi:"vmId"` -} - -// GetLoadBalancersLoadBalancerBackendVmIdInput is an input type that accepts GetLoadBalancersLoadBalancerBackendVmIdArgs and GetLoadBalancersLoadBalancerBackendVmIdOutput values. -// You can construct a concrete instance of `GetLoadBalancersLoadBalancerBackendVmIdInput` via: -// -// GetLoadBalancersLoadBalancerBackendVmIdArgs{...} -type GetLoadBalancersLoadBalancerBackendVmIdInput interface { - pulumi.Input - - ToGetLoadBalancersLoadBalancerBackendVmIdOutput() GetLoadBalancersLoadBalancerBackendVmIdOutput - ToGetLoadBalancersLoadBalancerBackendVmIdOutputWithContext(context.Context) GetLoadBalancersLoadBalancerBackendVmIdOutput -} - -type GetLoadBalancersLoadBalancerBackendVmIdArgs struct { - VmId pulumi.StringInput `pulumi:"vmId"` -} - -func (GetLoadBalancersLoadBalancerBackendVmIdArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancersLoadBalancerBackendVmId)(nil)).Elem() -} - -func (i GetLoadBalancersLoadBalancerBackendVmIdArgs) ToGetLoadBalancersLoadBalancerBackendVmIdOutput() GetLoadBalancersLoadBalancerBackendVmIdOutput { - return i.ToGetLoadBalancersLoadBalancerBackendVmIdOutputWithContext(context.Background()) -} - -func (i GetLoadBalancersLoadBalancerBackendVmIdArgs) ToGetLoadBalancersLoadBalancerBackendVmIdOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerBackendVmIdOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancersLoadBalancerBackendVmIdOutput) -} - -// GetLoadBalancersLoadBalancerBackendVmIdArrayInput is an input type that accepts GetLoadBalancersLoadBalancerBackendVmIdArray and GetLoadBalancersLoadBalancerBackendVmIdArrayOutput values. -// You can construct a concrete instance of `GetLoadBalancersLoadBalancerBackendVmIdArrayInput` via: -// -// GetLoadBalancersLoadBalancerBackendVmIdArray{ GetLoadBalancersLoadBalancerBackendVmIdArgs{...} } -type GetLoadBalancersLoadBalancerBackendVmIdArrayInput interface { - pulumi.Input - - ToGetLoadBalancersLoadBalancerBackendVmIdArrayOutput() GetLoadBalancersLoadBalancerBackendVmIdArrayOutput - ToGetLoadBalancersLoadBalancerBackendVmIdArrayOutputWithContext(context.Context) GetLoadBalancersLoadBalancerBackendVmIdArrayOutput -} - -type GetLoadBalancersLoadBalancerBackendVmIdArray []GetLoadBalancersLoadBalancerBackendVmIdInput - -func (GetLoadBalancersLoadBalancerBackendVmIdArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancersLoadBalancerBackendVmId)(nil)).Elem() -} - -func (i GetLoadBalancersLoadBalancerBackendVmIdArray) ToGetLoadBalancersLoadBalancerBackendVmIdArrayOutput() GetLoadBalancersLoadBalancerBackendVmIdArrayOutput { - return i.ToGetLoadBalancersLoadBalancerBackendVmIdArrayOutputWithContext(context.Background()) -} - -func (i GetLoadBalancersLoadBalancerBackendVmIdArray) ToGetLoadBalancersLoadBalancerBackendVmIdArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerBackendVmIdArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancersLoadBalancerBackendVmIdArrayOutput) -} - -type GetLoadBalancersLoadBalancerBackendVmIdOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancersLoadBalancerBackendVmIdOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancersLoadBalancerBackendVmId)(nil)).Elem() -} - -func (o GetLoadBalancersLoadBalancerBackendVmIdOutput) ToGetLoadBalancersLoadBalancerBackendVmIdOutput() GetLoadBalancersLoadBalancerBackendVmIdOutput { - return o -} - -func (o GetLoadBalancersLoadBalancerBackendVmIdOutput) ToGetLoadBalancersLoadBalancerBackendVmIdOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerBackendVmIdOutput { - return o -} - -func (o GetLoadBalancersLoadBalancerBackendVmIdOutput) VmId() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancerBackendVmId) string { return v.VmId }).(pulumi.StringOutput) -} - -type GetLoadBalancersLoadBalancerBackendVmIdArrayOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancersLoadBalancerBackendVmIdArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancersLoadBalancerBackendVmId)(nil)).Elem() -} - -func (o GetLoadBalancersLoadBalancerBackendVmIdArrayOutput) ToGetLoadBalancersLoadBalancerBackendVmIdArrayOutput() GetLoadBalancersLoadBalancerBackendVmIdArrayOutput { - return o -} - -func (o GetLoadBalancersLoadBalancerBackendVmIdArrayOutput) ToGetLoadBalancersLoadBalancerBackendVmIdArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerBackendVmIdArrayOutput { - return o -} - -func (o GetLoadBalancersLoadBalancerBackendVmIdArrayOutput) Index(i pulumi.IntInput) GetLoadBalancersLoadBalancerBackendVmIdOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLoadBalancersLoadBalancerBackendVmId { - return vs[0].([]GetLoadBalancersLoadBalancerBackendVmId)[vs[1].(int)] - }).(GetLoadBalancersLoadBalancerBackendVmIdOutput) -} - -type GetLoadBalancersLoadBalancerHealthCheck struct { - // The number of seconds between two pings (between `5` and `600` both included). - CheckInterval int `pulumi:"checkInterval"` - // The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - HealthyThreshold int `pulumi:"healthyThreshold"` - // If you use the HTTP or HTTPS protocols, the ping path. - Path string `pulumi:"path"` - // The port number (between `1` and `65535`, both included). - Port int `pulumi:"port"` - // The protocol for the URL of the VM (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - Protocol string `pulumi:"protocol"` - // The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - Timeout int `pulumi:"timeout"` - // The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - UnhealthyThreshold int `pulumi:"unhealthyThreshold"` -} - -// GetLoadBalancersLoadBalancerHealthCheckInput is an input type that accepts GetLoadBalancersLoadBalancerHealthCheckArgs and GetLoadBalancersLoadBalancerHealthCheckOutput values. -// You can construct a concrete instance of `GetLoadBalancersLoadBalancerHealthCheckInput` via: -// -// GetLoadBalancersLoadBalancerHealthCheckArgs{...} -type GetLoadBalancersLoadBalancerHealthCheckInput interface { - pulumi.Input - - ToGetLoadBalancersLoadBalancerHealthCheckOutput() GetLoadBalancersLoadBalancerHealthCheckOutput - ToGetLoadBalancersLoadBalancerHealthCheckOutputWithContext(context.Context) GetLoadBalancersLoadBalancerHealthCheckOutput -} - -type GetLoadBalancersLoadBalancerHealthCheckArgs struct { - // The number of seconds between two pings (between `5` and `600` both included). - CheckInterval pulumi.IntInput `pulumi:"checkInterval"` - // The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - HealthyThreshold pulumi.IntInput `pulumi:"healthyThreshold"` - // If you use the HTTP or HTTPS protocols, the ping path. - Path pulumi.StringInput `pulumi:"path"` - // The port number (between `1` and `65535`, both included). - Port pulumi.IntInput `pulumi:"port"` - // The protocol for the URL of the VM (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - Protocol pulumi.StringInput `pulumi:"protocol"` - // The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - Timeout pulumi.IntInput `pulumi:"timeout"` - // The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - UnhealthyThreshold pulumi.IntInput `pulumi:"unhealthyThreshold"` -} - -func (GetLoadBalancersLoadBalancerHealthCheckArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancersLoadBalancerHealthCheck)(nil)).Elem() -} - -func (i GetLoadBalancersLoadBalancerHealthCheckArgs) ToGetLoadBalancersLoadBalancerHealthCheckOutput() GetLoadBalancersLoadBalancerHealthCheckOutput { - return i.ToGetLoadBalancersLoadBalancerHealthCheckOutputWithContext(context.Background()) -} - -func (i GetLoadBalancersLoadBalancerHealthCheckArgs) ToGetLoadBalancersLoadBalancerHealthCheckOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerHealthCheckOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancersLoadBalancerHealthCheckOutput) -} - -// GetLoadBalancersLoadBalancerHealthCheckArrayInput is an input type that accepts GetLoadBalancersLoadBalancerHealthCheckArray and GetLoadBalancersLoadBalancerHealthCheckArrayOutput values. -// You can construct a concrete instance of `GetLoadBalancersLoadBalancerHealthCheckArrayInput` via: -// -// GetLoadBalancersLoadBalancerHealthCheckArray{ GetLoadBalancersLoadBalancerHealthCheckArgs{...} } -type GetLoadBalancersLoadBalancerHealthCheckArrayInput interface { - pulumi.Input - - ToGetLoadBalancersLoadBalancerHealthCheckArrayOutput() GetLoadBalancersLoadBalancerHealthCheckArrayOutput - ToGetLoadBalancersLoadBalancerHealthCheckArrayOutputWithContext(context.Context) GetLoadBalancersLoadBalancerHealthCheckArrayOutput -} - -type GetLoadBalancersLoadBalancerHealthCheckArray []GetLoadBalancersLoadBalancerHealthCheckInput - -func (GetLoadBalancersLoadBalancerHealthCheckArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancersLoadBalancerHealthCheck)(nil)).Elem() -} - -func (i GetLoadBalancersLoadBalancerHealthCheckArray) ToGetLoadBalancersLoadBalancerHealthCheckArrayOutput() GetLoadBalancersLoadBalancerHealthCheckArrayOutput { - return i.ToGetLoadBalancersLoadBalancerHealthCheckArrayOutputWithContext(context.Background()) -} - -func (i GetLoadBalancersLoadBalancerHealthCheckArray) ToGetLoadBalancersLoadBalancerHealthCheckArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerHealthCheckArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancersLoadBalancerHealthCheckArrayOutput) -} - -type GetLoadBalancersLoadBalancerHealthCheckOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancersLoadBalancerHealthCheckOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancersLoadBalancerHealthCheck)(nil)).Elem() -} - -func (o GetLoadBalancersLoadBalancerHealthCheckOutput) ToGetLoadBalancersLoadBalancerHealthCheckOutput() GetLoadBalancersLoadBalancerHealthCheckOutput { - return o -} - -func (o GetLoadBalancersLoadBalancerHealthCheckOutput) ToGetLoadBalancersLoadBalancerHealthCheckOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerHealthCheckOutput { - return o -} - -// The number of seconds between two pings (between `5` and `600` both included). -func (o GetLoadBalancersLoadBalancerHealthCheckOutput) CheckInterval() pulumi.IntOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancerHealthCheck) int { return v.CheckInterval }).(pulumi.IntOutput) -} - -// The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). -func (o GetLoadBalancersLoadBalancerHealthCheckOutput) HealthyThreshold() pulumi.IntOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancerHealthCheck) int { return v.HealthyThreshold }).(pulumi.IntOutput) -} - -// If you use the HTTP or HTTPS protocols, the ping path. -func (o GetLoadBalancersLoadBalancerHealthCheckOutput) Path() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancerHealthCheck) string { return v.Path }).(pulumi.StringOutput) -} - -// The port number (between `1` and `65535`, both included). -func (o GetLoadBalancersLoadBalancerHealthCheckOutput) Port() pulumi.IntOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancerHealthCheck) int { return v.Port }).(pulumi.IntOutput) -} - -// The protocol for the URL of the VM (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). -func (o GetLoadBalancersLoadBalancerHealthCheckOutput) Protocol() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancerHealthCheck) string { return v.Protocol }).(pulumi.StringOutput) -} - -// The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). -func (o GetLoadBalancersLoadBalancerHealthCheckOutput) Timeout() pulumi.IntOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancerHealthCheck) int { return v.Timeout }).(pulumi.IntOutput) -} - -// The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). -func (o GetLoadBalancersLoadBalancerHealthCheckOutput) UnhealthyThreshold() pulumi.IntOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancerHealthCheck) int { return v.UnhealthyThreshold }).(pulumi.IntOutput) -} - -type GetLoadBalancersLoadBalancerHealthCheckArrayOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancersLoadBalancerHealthCheckArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancersLoadBalancerHealthCheck)(nil)).Elem() -} - -func (o GetLoadBalancersLoadBalancerHealthCheckArrayOutput) ToGetLoadBalancersLoadBalancerHealthCheckArrayOutput() GetLoadBalancersLoadBalancerHealthCheckArrayOutput { - return o -} - -func (o GetLoadBalancersLoadBalancerHealthCheckArrayOutput) ToGetLoadBalancersLoadBalancerHealthCheckArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerHealthCheckArrayOutput { - return o -} - -func (o GetLoadBalancersLoadBalancerHealthCheckArrayOutput) Index(i pulumi.IntInput) GetLoadBalancersLoadBalancerHealthCheckOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLoadBalancersLoadBalancerHealthCheck { - return vs[0].([]GetLoadBalancersLoadBalancerHealthCheck)[vs[1].(int)] - }).(GetLoadBalancersLoadBalancerHealthCheckOutput) -} - -type GetLoadBalancersLoadBalancerListener struct { - // The port on which the back-end VM is listening (between `1` and `65535`, both included). - BackendPort int `pulumi:"backendPort"` - // The protocol for routing traffic to back-end VMs (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - BackendProtocol string `pulumi:"backendProtocol"` - // The port on which the load balancer is listening (between `1` and `65535`, both included). - LoadBalancerPort int `pulumi:"loadBalancerPort"` - // The routing protocol (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - LoadBalancerProtocol string `pulumi:"loadBalancerProtocol"` - // The names of the policies. If there are no policies enabled, the list is empty. - PolicyNames []string `pulumi:"policyNames"` - // The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > OUTSCALE Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - ServerCertificateId string `pulumi:"serverCertificateId"` -} - -// GetLoadBalancersLoadBalancerListenerInput is an input type that accepts GetLoadBalancersLoadBalancerListenerArgs and GetLoadBalancersLoadBalancerListenerOutput values. -// You can construct a concrete instance of `GetLoadBalancersLoadBalancerListenerInput` via: -// -// GetLoadBalancersLoadBalancerListenerArgs{...} -type GetLoadBalancersLoadBalancerListenerInput interface { - pulumi.Input - - ToGetLoadBalancersLoadBalancerListenerOutput() GetLoadBalancersLoadBalancerListenerOutput - ToGetLoadBalancersLoadBalancerListenerOutputWithContext(context.Context) GetLoadBalancersLoadBalancerListenerOutput -} - -type GetLoadBalancersLoadBalancerListenerArgs struct { - // The port on which the back-end VM is listening (between `1` and `65535`, both included). - BackendPort pulumi.IntInput `pulumi:"backendPort"` - // The protocol for routing traffic to back-end VMs (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - BackendProtocol pulumi.StringInput `pulumi:"backendProtocol"` - // The port on which the load balancer is listening (between `1` and `65535`, both included). - LoadBalancerPort pulumi.IntInput `pulumi:"loadBalancerPort"` - // The routing protocol (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). - LoadBalancerProtocol pulumi.StringInput `pulumi:"loadBalancerProtocol"` - // The names of the policies. If there are no policies enabled, the list is empty. - PolicyNames pulumi.StringArrayInput `pulumi:"policyNames"` - // The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > OUTSCALE Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - ServerCertificateId pulumi.StringInput `pulumi:"serverCertificateId"` -} - -func (GetLoadBalancersLoadBalancerListenerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancersLoadBalancerListener)(nil)).Elem() -} - -func (i GetLoadBalancersLoadBalancerListenerArgs) ToGetLoadBalancersLoadBalancerListenerOutput() GetLoadBalancersLoadBalancerListenerOutput { - return i.ToGetLoadBalancersLoadBalancerListenerOutputWithContext(context.Background()) -} - -func (i GetLoadBalancersLoadBalancerListenerArgs) ToGetLoadBalancersLoadBalancerListenerOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerListenerOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancersLoadBalancerListenerOutput) -} - -// GetLoadBalancersLoadBalancerListenerArrayInput is an input type that accepts GetLoadBalancersLoadBalancerListenerArray and GetLoadBalancersLoadBalancerListenerArrayOutput values. -// You can construct a concrete instance of `GetLoadBalancersLoadBalancerListenerArrayInput` via: -// -// GetLoadBalancersLoadBalancerListenerArray{ GetLoadBalancersLoadBalancerListenerArgs{...} } -type GetLoadBalancersLoadBalancerListenerArrayInput interface { - pulumi.Input - - ToGetLoadBalancersLoadBalancerListenerArrayOutput() GetLoadBalancersLoadBalancerListenerArrayOutput - ToGetLoadBalancersLoadBalancerListenerArrayOutputWithContext(context.Context) GetLoadBalancersLoadBalancerListenerArrayOutput -} - -type GetLoadBalancersLoadBalancerListenerArray []GetLoadBalancersLoadBalancerListenerInput - -func (GetLoadBalancersLoadBalancerListenerArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancersLoadBalancerListener)(nil)).Elem() -} - -func (i GetLoadBalancersLoadBalancerListenerArray) ToGetLoadBalancersLoadBalancerListenerArrayOutput() GetLoadBalancersLoadBalancerListenerArrayOutput { - return i.ToGetLoadBalancersLoadBalancerListenerArrayOutputWithContext(context.Background()) -} - -func (i GetLoadBalancersLoadBalancerListenerArray) ToGetLoadBalancersLoadBalancerListenerArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerListenerArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancersLoadBalancerListenerArrayOutput) -} - -type GetLoadBalancersLoadBalancerListenerOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancersLoadBalancerListenerOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancersLoadBalancerListener)(nil)).Elem() -} - -func (o GetLoadBalancersLoadBalancerListenerOutput) ToGetLoadBalancersLoadBalancerListenerOutput() GetLoadBalancersLoadBalancerListenerOutput { - return o -} - -func (o GetLoadBalancersLoadBalancerListenerOutput) ToGetLoadBalancersLoadBalancerListenerOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerListenerOutput { - return o -} - -// The port on which the back-end VM is listening (between `1` and `65535`, both included). -func (o GetLoadBalancersLoadBalancerListenerOutput) BackendPort() pulumi.IntOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancerListener) int { return v.BackendPort }).(pulumi.IntOutput) -} - -// The protocol for routing traffic to back-end VMs (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). -func (o GetLoadBalancersLoadBalancerListenerOutput) BackendProtocol() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancerListener) string { return v.BackendProtocol }).(pulumi.StringOutput) -} - -// The port on which the load balancer is listening (between `1` and `65535`, both included). -func (o GetLoadBalancersLoadBalancerListenerOutput) LoadBalancerPort() pulumi.IntOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancerListener) int { return v.LoadBalancerPort }).(pulumi.IntOutput) -} - -// The routing protocol (`HTTP` \| `HTTPS` \| `TCP` \| `SSL`). -func (o GetLoadBalancersLoadBalancerListenerOutput) LoadBalancerProtocol() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancerListener) string { return v.LoadBalancerProtocol }).(pulumi.StringOutput) -} - -// The names of the policies. If there are no policies enabled, the list is empty. -func (o GetLoadBalancersLoadBalancerListenerOutput) PolicyNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancerListener) []string { return v.PolicyNames }).(pulumi.StringArrayOutput) -} - -// The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > OUTSCALE Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). -func (o GetLoadBalancersLoadBalancerListenerOutput) ServerCertificateId() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancerListener) string { return v.ServerCertificateId }).(pulumi.StringOutput) -} - -type GetLoadBalancersLoadBalancerListenerArrayOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancersLoadBalancerListenerArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancersLoadBalancerListener)(nil)).Elem() -} - -func (o GetLoadBalancersLoadBalancerListenerArrayOutput) ToGetLoadBalancersLoadBalancerListenerArrayOutput() GetLoadBalancersLoadBalancerListenerArrayOutput { - return o -} - -func (o GetLoadBalancersLoadBalancerListenerArrayOutput) ToGetLoadBalancersLoadBalancerListenerArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerListenerArrayOutput { - return o -} - -func (o GetLoadBalancersLoadBalancerListenerArrayOutput) Index(i pulumi.IntInput) GetLoadBalancersLoadBalancerListenerOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLoadBalancersLoadBalancerListener { - return vs[0].([]GetLoadBalancersLoadBalancerListener)[vs[1].(int)] - }).(GetLoadBalancersLoadBalancerListenerOutput) -} - -type GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicy struct { - // The name of the stickiness policy. - PolicyName string `pulumi:"policyName"` -} - -// GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyInput is an input type that accepts GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArgs and GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyOutput values. -// You can construct a concrete instance of `GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyInput` via: -// -// GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArgs{...} -type GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyInput interface { - pulumi.Input - - ToGetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyOutput() GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyOutput - ToGetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyOutputWithContext(context.Context) GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyOutput -} - -type GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArgs struct { - // The name of the stickiness policy. - PolicyName pulumi.StringInput `pulumi:"policyName"` -} - -func (GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicy)(nil)).Elem() -} - -func (i GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArgs) ToGetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyOutput() GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyOutput { - return i.ToGetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyOutputWithContext(context.Background()) -} - -func (i GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArgs) ToGetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyOutput) -} - -// GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArrayInput is an input type that accepts GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArray and GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput values. -// You can construct a concrete instance of `GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArrayInput` via: -// -// GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArray{ GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArgs{...} } -type GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArrayInput interface { - pulumi.Input - - ToGetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput() GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput - ToGetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArrayOutputWithContext(context.Context) GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput -} - -type GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArray []GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyInput - -func (GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicy)(nil)).Elem() -} - -func (i GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArray) ToGetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput() GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput { - return i.ToGetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArrayOutputWithContext(context.Background()) -} - -func (i GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArray) ToGetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput) -} - -type GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicy)(nil)).Elem() -} - -func (o GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyOutput) ToGetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyOutput() GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyOutput { - return o -} - -func (o GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyOutput) ToGetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyOutput { - return o -} - -// The name of the stickiness policy. -func (o GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyOutput) PolicyName() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicy) string { return v.PolicyName }).(pulumi.StringOutput) -} - -type GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicy)(nil)).Elem() -} - -func (o GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput) ToGetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput() GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput { - return o -} - -func (o GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput) ToGetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput { - return o -} - -func (o GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput) Index(i pulumi.IntInput) GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicy { - return vs[0].([]GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicy)[vs[1].(int)] - }).(GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyOutput) -} - -type GetLoadBalancersLoadBalancerSourceSecurityGroup struct { - // The account ID of the owner of the security group. - SecurityGroupAccountId string `pulumi:"securityGroupAccountId"` - // The name of the security group. - SecurityGroupName string `pulumi:"securityGroupName"` -} - -// GetLoadBalancersLoadBalancerSourceSecurityGroupInput is an input type that accepts GetLoadBalancersLoadBalancerSourceSecurityGroupArgs and GetLoadBalancersLoadBalancerSourceSecurityGroupOutput values. -// You can construct a concrete instance of `GetLoadBalancersLoadBalancerSourceSecurityGroupInput` via: -// -// GetLoadBalancersLoadBalancerSourceSecurityGroupArgs{...} -type GetLoadBalancersLoadBalancerSourceSecurityGroupInput interface { - pulumi.Input - - ToGetLoadBalancersLoadBalancerSourceSecurityGroupOutput() GetLoadBalancersLoadBalancerSourceSecurityGroupOutput - ToGetLoadBalancersLoadBalancerSourceSecurityGroupOutputWithContext(context.Context) GetLoadBalancersLoadBalancerSourceSecurityGroupOutput -} - -type GetLoadBalancersLoadBalancerSourceSecurityGroupArgs struct { - // The account ID of the owner of the security group. - SecurityGroupAccountId pulumi.StringInput `pulumi:"securityGroupAccountId"` - // The name of the security group. - SecurityGroupName pulumi.StringInput `pulumi:"securityGroupName"` -} - -func (GetLoadBalancersLoadBalancerSourceSecurityGroupArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancersLoadBalancerSourceSecurityGroup)(nil)).Elem() -} - -func (i GetLoadBalancersLoadBalancerSourceSecurityGroupArgs) ToGetLoadBalancersLoadBalancerSourceSecurityGroupOutput() GetLoadBalancersLoadBalancerSourceSecurityGroupOutput { - return i.ToGetLoadBalancersLoadBalancerSourceSecurityGroupOutputWithContext(context.Background()) -} - -func (i GetLoadBalancersLoadBalancerSourceSecurityGroupArgs) ToGetLoadBalancersLoadBalancerSourceSecurityGroupOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerSourceSecurityGroupOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancersLoadBalancerSourceSecurityGroupOutput) -} - -// GetLoadBalancersLoadBalancerSourceSecurityGroupArrayInput is an input type that accepts GetLoadBalancersLoadBalancerSourceSecurityGroupArray and GetLoadBalancersLoadBalancerSourceSecurityGroupArrayOutput values. -// You can construct a concrete instance of `GetLoadBalancersLoadBalancerSourceSecurityGroupArrayInput` via: -// -// GetLoadBalancersLoadBalancerSourceSecurityGroupArray{ GetLoadBalancersLoadBalancerSourceSecurityGroupArgs{...} } -type GetLoadBalancersLoadBalancerSourceSecurityGroupArrayInput interface { - pulumi.Input - - ToGetLoadBalancersLoadBalancerSourceSecurityGroupArrayOutput() GetLoadBalancersLoadBalancerSourceSecurityGroupArrayOutput - ToGetLoadBalancersLoadBalancerSourceSecurityGroupArrayOutputWithContext(context.Context) GetLoadBalancersLoadBalancerSourceSecurityGroupArrayOutput -} - -type GetLoadBalancersLoadBalancerSourceSecurityGroupArray []GetLoadBalancersLoadBalancerSourceSecurityGroupInput - -func (GetLoadBalancersLoadBalancerSourceSecurityGroupArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancersLoadBalancerSourceSecurityGroup)(nil)).Elem() -} - -func (i GetLoadBalancersLoadBalancerSourceSecurityGroupArray) ToGetLoadBalancersLoadBalancerSourceSecurityGroupArrayOutput() GetLoadBalancersLoadBalancerSourceSecurityGroupArrayOutput { - return i.ToGetLoadBalancersLoadBalancerSourceSecurityGroupArrayOutputWithContext(context.Background()) -} - -func (i GetLoadBalancersLoadBalancerSourceSecurityGroupArray) ToGetLoadBalancersLoadBalancerSourceSecurityGroupArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerSourceSecurityGroupArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancersLoadBalancerSourceSecurityGroupArrayOutput) -} - -type GetLoadBalancersLoadBalancerSourceSecurityGroupOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancersLoadBalancerSourceSecurityGroupOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancersLoadBalancerSourceSecurityGroup)(nil)).Elem() -} - -func (o GetLoadBalancersLoadBalancerSourceSecurityGroupOutput) ToGetLoadBalancersLoadBalancerSourceSecurityGroupOutput() GetLoadBalancersLoadBalancerSourceSecurityGroupOutput { - return o -} - -func (o GetLoadBalancersLoadBalancerSourceSecurityGroupOutput) ToGetLoadBalancersLoadBalancerSourceSecurityGroupOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerSourceSecurityGroupOutput { - return o -} - -// The account ID of the owner of the security group. -func (o GetLoadBalancersLoadBalancerSourceSecurityGroupOutput) SecurityGroupAccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancerSourceSecurityGroup) string { return v.SecurityGroupAccountId }).(pulumi.StringOutput) -} - -// The name of the security group. -func (o GetLoadBalancersLoadBalancerSourceSecurityGroupOutput) SecurityGroupName() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancerSourceSecurityGroup) string { return v.SecurityGroupName }).(pulumi.StringOutput) -} - -type GetLoadBalancersLoadBalancerSourceSecurityGroupArrayOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancersLoadBalancerSourceSecurityGroupArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancersLoadBalancerSourceSecurityGroup)(nil)).Elem() -} - -func (o GetLoadBalancersLoadBalancerSourceSecurityGroupArrayOutput) ToGetLoadBalancersLoadBalancerSourceSecurityGroupArrayOutput() GetLoadBalancersLoadBalancerSourceSecurityGroupArrayOutput { - return o -} - -func (o GetLoadBalancersLoadBalancerSourceSecurityGroupArrayOutput) ToGetLoadBalancersLoadBalancerSourceSecurityGroupArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerSourceSecurityGroupArrayOutput { - return o -} - -func (o GetLoadBalancersLoadBalancerSourceSecurityGroupArrayOutput) Index(i pulumi.IntInput) GetLoadBalancersLoadBalancerSourceSecurityGroupOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLoadBalancersLoadBalancerSourceSecurityGroup { - return vs[0].([]GetLoadBalancersLoadBalancerSourceSecurityGroup)[vs[1].(int)] - }).(GetLoadBalancersLoadBalancerSourceSecurityGroupOutput) -} - -type GetLoadBalancersLoadBalancerTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetLoadBalancersLoadBalancerTagInput is an input type that accepts GetLoadBalancersLoadBalancerTagArgs and GetLoadBalancersLoadBalancerTagOutput values. -// You can construct a concrete instance of `GetLoadBalancersLoadBalancerTagInput` via: -// -// GetLoadBalancersLoadBalancerTagArgs{...} -type GetLoadBalancersLoadBalancerTagInput interface { - pulumi.Input - - ToGetLoadBalancersLoadBalancerTagOutput() GetLoadBalancersLoadBalancerTagOutput - ToGetLoadBalancersLoadBalancerTagOutputWithContext(context.Context) GetLoadBalancersLoadBalancerTagOutput -} - -type GetLoadBalancersLoadBalancerTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetLoadBalancersLoadBalancerTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancersLoadBalancerTag)(nil)).Elem() -} - -func (i GetLoadBalancersLoadBalancerTagArgs) ToGetLoadBalancersLoadBalancerTagOutput() GetLoadBalancersLoadBalancerTagOutput { - return i.ToGetLoadBalancersLoadBalancerTagOutputWithContext(context.Background()) -} - -func (i GetLoadBalancersLoadBalancerTagArgs) ToGetLoadBalancersLoadBalancerTagOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancersLoadBalancerTagOutput) -} - -// GetLoadBalancersLoadBalancerTagArrayInput is an input type that accepts GetLoadBalancersLoadBalancerTagArray and GetLoadBalancersLoadBalancerTagArrayOutput values. -// You can construct a concrete instance of `GetLoadBalancersLoadBalancerTagArrayInput` via: -// -// GetLoadBalancersLoadBalancerTagArray{ GetLoadBalancersLoadBalancerTagArgs{...} } -type GetLoadBalancersLoadBalancerTagArrayInput interface { - pulumi.Input - - ToGetLoadBalancersLoadBalancerTagArrayOutput() GetLoadBalancersLoadBalancerTagArrayOutput - ToGetLoadBalancersLoadBalancerTagArrayOutputWithContext(context.Context) GetLoadBalancersLoadBalancerTagArrayOutput -} - -type GetLoadBalancersLoadBalancerTagArray []GetLoadBalancersLoadBalancerTagInput - -func (GetLoadBalancersLoadBalancerTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancersLoadBalancerTag)(nil)).Elem() -} - -func (i GetLoadBalancersLoadBalancerTagArray) ToGetLoadBalancersLoadBalancerTagArrayOutput() GetLoadBalancersLoadBalancerTagArrayOutput { - return i.ToGetLoadBalancersLoadBalancerTagArrayOutputWithContext(context.Background()) -} - -func (i GetLoadBalancersLoadBalancerTagArray) ToGetLoadBalancersLoadBalancerTagArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetLoadBalancersLoadBalancerTagArrayOutput) -} - -type GetLoadBalancersLoadBalancerTagOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancersLoadBalancerTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetLoadBalancersLoadBalancerTag)(nil)).Elem() -} - -func (o GetLoadBalancersLoadBalancerTagOutput) ToGetLoadBalancersLoadBalancerTagOutput() GetLoadBalancersLoadBalancerTagOutput { - return o -} - -func (o GetLoadBalancersLoadBalancerTagOutput) ToGetLoadBalancersLoadBalancerTagOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetLoadBalancersLoadBalancerTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancerTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetLoadBalancersLoadBalancerTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetLoadBalancersLoadBalancerTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetLoadBalancersLoadBalancerTagArrayOutput struct{ *pulumi.OutputState } - -func (GetLoadBalancersLoadBalancerTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetLoadBalancersLoadBalancerTag)(nil)).Elem() -} - -func (o GetLoadBalancersLoadBalancerTagArrayOutput) ToGetLoadBalancersLoadBalancerTagArrayOutput() GetLoadBalancersLoadBalancerTagArrayOutput { - return o -} - -func (o GetLoadBalancersLoadBalancerTagArrayOutput) ToGetLoadBalancersLoadBalancerTagArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerTagArrayOutput { - return o -} - -func (o GetLoadBalancersLoadBalancerTagArrayOutput) Index(i pulumi.IntInput) GetLoadBalancersLoadBalancerTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetLoadBalancersLoadBalancerTag { - return vs[0].([]GetLoadBalancersLoadBalancerTag)[vs[1].(int)] - }).(GetLoadBalancersLoadBalancerTagOutput) -} - -type GetNatServiceFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetNatServiceFilterInput is an input type that accepts GetNatServiceFilterArgs and GetNatServiceFilterOutput values. -// You can construct a concrete instance of `GetNatServiceFilterInput` via: -// -// GetNatServiceFilterArgs{...} -type GetNatServiceFilterInput interface { - pulumi.Input - - ToGetNatServiceFilterOutput() GetNatServiceFilterOutput - ToGetNatServiceFilterOutputWithContext(context.Context) GetNatServiceFilterOutput -} - -type GetNatServiceFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetNatServiceFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNatServiceFilter)(nil)).Elem() -} - -func (i GetNatServiceFilterArgs) ToGetNatServiceFilterOutput() GetNatServiceFilterOutput { - return i.ToGetNatServiceFilterOutputWithContext(context.Background()) -} - -func (i GetNatServiceFilterArgs) ToGetNatServiceFilterOutputWithContext(ctx context.Context) GetNatServiceFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNatServiceFilterOutput) -} - -// GetNatServiceFilterArrayInput is an input type that accepts GetNatServiceFilterArray and GetNatServiceFilterArrayOutput values. -// You can construct a concrete instance of `GetNatServiceFilterArrayInput` via: -// -// GetNatServiceFilterArray{ GetNatServiceFilterArgs{...} } -type GetNatServiceFilterArrayInput interface { - pulumi.Input - - ToGetNatServiceFilterArrayOutput() GetNatServiceFilterArrayOutput - ToGetNatServiceFilterArrayOutputWithContext(context.Context) GetNatServiceFilterArrayOutput -} - -type GetNatServiceFilterArray []GetNatServiceFilterInput - -func (GetNatServiceFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNatServiceFilter)(nil)).Elem() -} - -func (i GetNatServiceFilterArray) ToGetNatServiceFilterArrayOutput() GetNatServiceFilterArrayOutput { - return i.ToGetNatServiceFilterArrayOutputWithContext(context.Background()) -} - -func (i GetNatServiceFilterArray) ToGetNatServiceFilterArrayOutputWithContext(ctx context.Context) GetNatServiceFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNatServiceFilterArrayOutput) -} - -type GetNatServiceFilterOutput struct{ *pulumi.OutputState } - -func (GetNatServiceFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNatServiceFilter)(nil)).Elem() -} - -func (o GetNatServiceFilterOutput) ToGetNatServiceFilterOutput() GetNatServiceFilterOutput { - return o -} - -func (o GetNatServiceFilterOutput) ToGetNatServiceFilterOutputWithContext(ctx context.Context) GetNatServiceFilterOutput { - return o -} - -func (o GetNatServiceFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetNatServiceFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetNatServiceFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetNatServiceFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetNatServiceFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetNatServiceFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNatServiceFilter)(nil)).Elem() -} - -func (o GetNatServiceFilterArrayOutput) ToGetNatServiceFilterArrayOutput() GetNatServiceFilterArrayOutput { - return o -} - -func (o GetNatServiceFilterArrayOutput) ToGetNatServiceFilterArrayOutputWithContext(ctx context.Context) GetNatServiceFilterArrayOutput { - return o -} - -func (o GetNatServiceFilterArrayOutput) Index(i pulumi.IntInput) GetNatServiceFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNatServiceFilter { - return vs[0].([]GetNatServiceFilter)[vs[1].(int)] - }).(GetNatServiceFilterOutput) -} - -type GetNatServicePublicIp struct { - // The public IP associated with the NAT service. - PublicIp string `pulumi:"publicIp"` - // The allocation ID of the public IP associated with the NAT service. - PublicIpId string `pulumi:"publicIpId"` -} - -// GetNatServicePublicIpInput is an input type that accepts GetNatServicePublicIpArgs and GetNatServicePublicIpOutput values. -// You can construct a concrete instance of `GetNatServicePublicIpInput` via: -// -// GetNatServicePublicIpArgs{...} -type GetNatServicePublicIpInput interface { - pulumi.Input - - ToGetNatServicePublicIpOutput() GetNatServicePublicIpOutput - ToGetNatServicePublicIpOutputWithContext(context.Context) GetNatServicePublicIpOutput -} - -type GetNatServicePublicIpArgs struct { - // The public IP associated with the NAT service. - PublicIp pulumi.StringInput `pulumi:"publicIp"` - // The allocation ID of the public IP associated with the NAT service. - PublicIpId pulumi.StringInput `pulumi:"publicIpId"` -} - -func (GetNatServicePublicIpArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNatServicePublicIp)(nil)).Elem() -} - -func (i GetNatServicePublicIpArgs) ToGetNatServicePublicIpOutput() GetNatServicePublicIpOutput { - return i.ToGetNatServicePublicIpOutputWithContext(context.Background()) -} - -func (i GetNatServicePublicIpArgs) ToGetNatServicePublicIpOutputWithContext(ctx context.Context) GetNatServicePublicIpOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNatServicePublicIpOutput) -} - -// GetNatServicePublicIpArrayInput is an input type that accepts GetNatServicePublicIpArray and GetNatServicePublicIpArrayOutput values. -// You can construct a concrete instance of `GetNatServicePublicIpArrayInput` via: -// -// GetNatServicePublicIpArray{ GetNatServicePublicIpArgs{...} } -type GetNatServicePublicIpArrayInput interface { - pulumi.Input - - ToGetNatServicePublicIpArrayOutput() GetNatServicePublicIpArrayOutput - ToGetNatServicePublicIpArrayOutputWithContext(context.Context) GetNatServicePublicIpArrayOutput -} - -type GetNatServicePublicIpArray []GetNatServicePublicIpInput - -func (GetNatServicePublicIpArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNatServicePublicIp)(nil)).Elem() -} - -func (i GetNatServicePublicIpArray) ToGetNatServicePublicIpArrayOutput() GetNatServicePublicIpArrayOutput { - return i.ToGetNatServicePublicIpArrayOutputWithContext(context.Background()) -} - -func (i GetNatServicePublicIpArray) ToGetNatServicePublicIpArrayOutputWithContext(ctx context.Context) GetNatServicePublicIpArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNatServicePublicIpArrayOutput) -} - -type GetNatServicePublicIpOutput struct{ *pulumi.OutputState } - -func (GetNatServicePublicIpOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNatServicePublicIp)(nil)).Elem() -} - -func (o GetNatServicePublicIpOutput) ToGetNatServicePublicIpOutput() GetNatServicePublicIpOutput { - return o -} - -func (o GetNatServicePublicIpOutput) ToGetNatServicePublicIpOutputWithContext(ctx context.Context) GetNatServicePublicIpOutput { - return o -} - -// The public IP associated with the NAT service. -func (o GetNatServicePublicIpOutput) PublicIp() pulumi.StringOutput { - return o.ApplyT(func(v GetNatServicePublicIp) string { return v.PublicIp }).(pulumi.StringOutput) -} - -// The allocation ID of the public IP associated with the NAT service. -func (o GetNatServicePublicIpOutput) PublicIpId() pulumi.StringOutput { - return o.ApplyT(func(v GetNatServicePublicIp) string { return v.PublicIpId }).(pulumi.StringOutput) -} - -type GetNatServicePublicIpArrayOutput struct{ *pulumi.OutputState } - -func (GetNatServicePublicIpArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNatServicePublicIp)(nil)).Elem() -} - -func (o GetNatServicePublicIpArrayOutput) ToGetNatServicePublicIpArrayOutput() GetNatServicePublicIpArrayOutput { - return o -} - -func (o GetNatServicePublicIpArrayOutput) ToGetNatServicePublicIpArrayOutputWithContext(ctx context.Context) GetNatServicePublicIpArrayOutput { - return o -} - -func (o GetNatServicePublicIpArrayOutput) Index(i pulumi.IntInput) GetNatServicePublicIpOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNatServicePublicIp { - return vs[0].([]GetNatServicePublicIp)[vs[1].(int)] - }).(GetNatServicePublicIpOutput) -} - -type GetNatServiceTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetNatServiceTagInput is an input type that accepts GetNatServiceTagArgs and GetNatServiceTagOutput values. -// You can construct a concrete instance of `GetNatServiceTagInput` via: -// -// GetNatServiceTagArgs{...} -type GetNatServiceTagInput interface { - pulumi.Input - - ToGetNatServiceTagOutput() GetNatServiceTagOutput - ToGetNatServiceTagOutputWithContext(context.Context) GetNatServiceTagOutput -} - -type GetNatServiceTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetNatServiceTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNatServiceTag)(nil)).Elem() -} - -func (i GetNatServiceTagArgs) ToGetNatServiceTagOutput() GetNatServiceTagOutput { - return i.ToGetNatServiceTagOutputWithContext(context.Background()) -} - -func (i GetNatServiceTagArgs) ToGetNatServiceTagOutputWithContext(ctx context.Context) GetNatServiceTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNatServiceTagOutput) -} - -// GetNatServiceTagArrayInput is an input type that accepts GetNatServiceTagArray and GetNatServiceTagArrayOutput values. -// You can construct a concrete instance of `GetNatServiceTagArrayInput` via: -// -// GetNatServiceTagArray{ GetNatServiceTagArgs{...} } -type GetNatServiceTagArrayInput interface { - pulumi.Input - - ToGetNatServiceTagArrayOutput() GetNatServiceTagArrayOutput - ToGetNatServiceTagArrayOutputWithContext(context.Context) GetNatServiceTagArrayOutput -} - -type GetNatServiceTagArray []GetNatServiceTagInput - -func (GetNatServiceTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNatServiceTag)(nil)).Elem() -} - -func (i GetNatServiceTagArray) ToGetNatServiceTagArrayOutput() GetNatServiceTagArrayOutput { - return i.ToGetNatServiceTagArrayOutputWithContext(context.Background()) -} - -func (i GetNatServiceTagArray) ToGetNatServiceTagArrayOutputWithContext(ctx context.Context) GetNatServiceTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNatServiceTagArrayOutput) -} - -type GetNatServiceTagOutput struct{ *pulumi.OutputState } - -func (GetNatServiceTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNatServiceTag)(nil)).Elem() -} - -func (o GetNatServiceTagOutput) ToGetNatServiceTagOutput() GetNatServiceTagOutput { - return o -} - -func (o GetNatServiceTagOutput) ToGetNatServiceTagOutputWithContext(ctx context.Context) GetNatServiceTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetNatServiceTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetNatServiceTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetNatServiceTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetNatServiceTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetNatServiceTagArrayOutput struct{ *pulumi.OutputState } - -func (GetNatServiceTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNatServiceTag)(nil)).Elem() -} - -func (o GetNatServiceTagArrayOutput) ToGetNatServiceTagArrayOutput() GetNatServiceTagArrayOutput { - return o -} - -func (o GetNatServiceTagArrayOutput) ToGetNatServiceTagArrayOutputWithContext(ctx context.Context) GetNatServiceTagArrayOutput { - return o -} - -func (o GetNatServiceTagArrayOutput) Index(i pulumi.IntInput) GetNatServiceTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNatServiceTag { - return vs[0].([]GetNatServiceTag)[vs[1].(int)] - }).(GetNatServiceTagOutput) -} - -type GetNatServicesFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetNatServicesFilterInput is an input type that accepts GetNatServicesFilterArgs and GetNatServicesFilterOutput values. -// You can construct a concrete instance of `GetNatServicesFilterInput` via: -// -// GetNatServicesFilterArgs{...} -type GetNatServicesFilterInput interface { - pulumi.Input - - ToGetNatServicesFilterOutput() GetNatServicesFilterOutput - ToGetNatServicesFilterOutputWithContext(context.Context) GetNatServicesFilterOutput -} - -type GetNatServicesFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetNatServicesFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNatServicesFilter)(nil)).Elem() -} - -func (i GetNatServicesFilterArgs) ToGetNatServicesFilterOutput() GetNatServicesFilterOutput { - return i.ToGetNatServicesFilterOutputWithContext(context.Background()) -} - -func (i GetNatServicesFilterArgs) ToGetNatServicesFilterOutputWithContext(ctx context.Context) GetNatServicesFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNatServicesFilterOutput) -} - -// GetNatServicesFilterArrayInput is an input type that accepts GetNatServicesFilterArray and GetNatServicesFilterArrayOutput values. -// You can construct a concrete instance of `GetNatServicesFilterArrayInput` via: -// -// GetNatServicesFilterArray{ GetNatServicesFilterArgs{...} } -type GetNatServicesFilterArrayInput interface { - pulumi.Input - - ToGetNatServicesFilterArrayOutput() GetNatServicesFilterArrayOutput - ToGetNatServicesFilterArrayOutputWithContext(context.Context) GetNatServicesFilterArrayOutput -} - -type GetNatServicesFilterArray []GetNatServicesFilterInput - -func (GetNatServicesFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNatServicesFilter)(nil)).Elem() -} - -func (i GetNatServicesFilterArray) ToGetNatServicesFilterArrayOutput() GetNatServicesFilterArrayOutput { - return i.ToGetNatServicesFilterArrayOutputWithContext(context.Background()) -} - -func (i GetNatServicesFilterArray) ToGetNatServicesFilterArrayOutputWithContext(ctx context.Context) GetNatServicesFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNatServicesFilterArrayOutput) -} - -type GetNatServicesFilterOutput struct{ *pulumi.OutputState } - -func (GetNatServicesFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNatServicesFilter)(nil)).Elem() -} - -func (o GetNatServicesFilterOutput) ToGetNatServicesFilterOutput() GetNatServicesFilterOutput { - return o -} - -func (o GetNatServicesFilterOutput) ToGetNatServicesFilterOutputWithContext(ctx context.Context) GetNatServicesFilterOutput { - return o -} - -func (o GetNatServicesFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetNatServicesFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetNatServicesFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetNatServicesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetNatServicesFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetNatServicesFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNatServicesFilter)(nil)).Elem() -} - -func (o GetNatServicesFilterArrayOutput) ToGetNatServicesFilterArrayOutput() GetNatServicesFilterArrayOutput { - return o -} - -func (o GetNatServicesFilterArrayOutput) ToGetNatServicesFilterArrayOutputWithContext(ctx context.Context) GetNatServicesFilterArrayOutput { - return o -} - -func (o GetNatServicesFilterArrayOutput) Index(i pulumi.IntInput) GetNatServicesFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNatServicesFilter { - return vs[0].([]GetNatServicesFilter)[vs[1].(int)] - }).(GetNatServicesFilterOutput) -} - -type GetNatServicesNatService struct { - // The ID of the NAT service. - NatServiceId string `pulumi:"natServiceId"` - // The ID of the Net in which the NAT service is. - NetId string `pulumi:"netId"` - // Information about the public IP or IPs associated with the NAT service. - PublicIps []GetNatServicesNatServicePublicIp `pulumi:"publicIps"` - // The state of the NAT service (`pending` \| `available` \| `deleting` \| `deleted`). - State string `pulumi:"state"` - // The ID of the Subnet in which the NAT service is. - SubnetId string `pulumi:"subnetId"` - // The key/value combinations of the tags associated with the NAT services, in the following format: `TAGKEY=TAGVALUE`. - Tags []GetNatServicesNatServiceTag `pulumi:"tags"` -} - -// GetNatServicesNatServiceInput is an input type that accepts GetNatServicesNatServiceArgs and GetNatServicesNatServiceOutput values. -// You can construct a concrete instance of `GetNatServicesNatServiceInput` via: -// -// GetNatServicesNatServiceArgs{...} -type GetNatServicesNatServiceInput interface { - pulumi.Input - - ToGetNatServicesNatServiceOutput() GetNatServicesNatServiceOutput - ToGetNatServicesNatServiceOutputWithContext(context.Context) GetNatServicesNatServiceOutput -} - -type GetNatServicesNatServiceArgs struct { - // The ID of the NAT service. - NatServiceId pulumi.StringInput `pulumi:"natServiceId"` - // The ID of the Net in which the NAT service is. - NetId pulumi.StringInput `pulumi:"netId"` - // Information about the public IP or IPs associated with the NAT service. - PublicIps GetNatServicesNatServicePublicIpArrayInput `pulumi:"publicIps"` - // The state of the NAT service (`pending` \| `available` \| `deleting` \| `deleted`). - State pulumi.StringInput `pulumi:"state"` - // The ID of the Subnet in which the NAT service is. - SubnetId pulumi.StringInput `pulumi:"subnetId"` - // The key/value combinations of the tags associated with the NAT services, in the following format: `TAGKEY=TAGVALUE`. - Tags GetNatServicesNatServiceTagArrayInput `pulumi:"tags"` -} - -func (GetNatServicesNatServiceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNatServicesNatService)(nil)).Elem() -} - -func (i GetNatServicesNatServiceArgs) ToGetNatServicesNatServiceOutput() GetNatServicesNatServiceOutput { - return i.ToGetNatServicesNatServiceOutputWithContext(context.Background()) -} - -func (i GetNatServicesNatServiceArgs) ToGetNatServicesNatServiceOutputWithContext(ctx context.Context) GetNatServicesNatServiceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNatServicesNatServiceOutput) -} - -// GetNatServicesNatServiceArrayInput is an input type that accepts GetNatServicesNatServiceArray and GetNatServicesNatServiceArrayOutput values. -// You can construct a concrete instance of `GetNatServicesNatServiceArrayInput` via: -// -// GetNatServicesNatServiceArray{ GetNatServicesNatServiceArgs{...} } -type GetNatServicesNatServiceArrayInput interface { - pulumi.Input - - ToGetNatServicesNatServiceArrayOutput() GetNatServicesNatServiceArrayOutput - ToGetNatServicesNatServiceArrayOutputWithContext(context.Context) GetNatServicesNatServiceArrayOutput -} - -type GetNatServicesNatServiceArray []GetNatServicesNatServiceInput - -func (GetNatServicesNatServiceArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNatServicesNatService)(nil)).Elem() -} - -func (i GetNatServicesNatServiceArray) ToGetNatServicesNatServiceArrayOutput() GetNatServicesNatServiceArrayOutput { - return i.ToGetNatServicesNatServiceArrayOutputWithContext(context.Background()) -} - -func (i GetNatServicesNatServiceArray) ToGetNatServicesNatServiceArrayOutputWithContext(ctx context.Context) GetNatServicesNatServiceArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNatServicesNatServiceArrayOutput) -} - -type GetNatServicesNatServiceOutput struct{ *pulumi.OutputState } - -func (GetNatServicesNatServiceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNatServicesNatService)(nil)).Elem() -} - -func (o GetNatServicesNatServiceOutput) ToGetNatServicesNatServiceOutput() GetNatServicesNatServiceOutput { - return o -} - -func (o GetNatServicesNatServiceOutput) ToGetNatServicesNatServiceOutputWithContext(ctx context.Context) GetNatServicesNatServiceOutput { - return o -} - -// The ID of the NAT service. -func (o GetNatServicesNatServiceOutput) NatServiceId() pulumi.StringOutput { - return o.ApplyT(func(v GetNatServicesNatService) string { return v.NatServiceId }).(pulumi.StringOutput) -} - -// The ID of the Net in which the NAT service is. -func (o GetNatServicesNatServiceOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v GetNatServicesNatService) string { return v.NetId }).(pulumi.StringOutput) -} - -// Information about the public IP or IPs associated with the NAT service. -func (o GetNatServicesNatServiceOutput) PublicIps() GetNatServicesNatServicePublicIpArrayOutput { - return o.ApplyT(func(v GetNatServicesNatService) []GetNatServicesNatServicePublicIp { return v.PublicIps }).(GetNatServicesNatServicePublicIpArrayOutput) -} - -// The state of the NAT service (`pending` \| `available` \| `deleting` \| `deleted`). -func (o GetNatServicesNatServiceOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetNatServicesNatService) string { return v.State }).(pulumi.StringOutput) -} - -// The ID of the Subnet in which the NAT service is. -func (o GetNatServicesNatServiceOutput) SubnetId() pulumi.StringOutput { - return o.ApplyT(func(v GetNatServicesNatService) string { return v.SubnetId }).(pulumi.StringOutput) -} - -// The key/value combinations of the tags associated with the NAT services, in the following format: `TAGKEY=TAGVALUE`. -func (o GetNatServicesNatServiceOutput) Tags() GetNatServicesNatServiceTagArrayOutput { - return o.ApplyT(func(v GetNatServicesNatService) []GetNatServicesNatServiceTag { return v.Tags }).(GetNatServicesNatServiceTagArrayOutput) -} - -type GetNatServicesNatServiceArrayOutput struct{ *pulumi.OutputState } - -func (GetNatServicesNatServiceArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNatServicesNatService)(nil)).Elem() -} - -func (o GetNatServicesNatServiceArrayOutput) ToGetNatServicesNatServiceArrayOutput() GetNatServicesNatServiceArrayOutput { - return o -} - -func (o GetNatServicesNatServiceArrayOutput) ToGetNatServicesNatServiceArrayOutputWithContext(ctx context.Context) GetNatServicesNatServiceArrayOutput { - return o -} - -func (o GetNatServicesNatServiceArrayOutput) Index(i pulumi.IntInput) GetNatServicesNatServiceOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNatServicesNatService { - return vs[0].([]GetNatServicesNatService)[vs[1].(int)] - }).(GetNatServicesNatServiceOutput) -} - -type GetNatServicesNatServicePublicIp struct { - // The public IP associated with the NAT service. - PublicIp string `pulumi:"publicIp"` - // The allocation ID of the public IP associated with the NAT service. - PublicIpId string `pulumi:"publicIpId"` -} - -// GetNatServicesNatServicePublicIpInput is an input type that accepts GetNatServicesNatServicePublicIpArgs and GetNatServicesNatServicePublicIpOutput values. -// You can construct a concrete instance of `GetNatServicesNatServicePublicIpInput` via: -// -// GetNatServicesNatServicePublicIpArgs{...} -type GetNatServicesNatServicePublicIpInput interface { - pulumi.Input - - ToGetNatServicesNatServicePublicIpOutput() GetNatServicesNatServicePublicIpOutput - ToGetNatServicesNatServicePublicIpOutputWithContext(context.Context) GetNatServicesNatServicePublicIpOutput -} - -type GetNatServicesNatServicePublicIpArgs struct { - // The public IP associated with the NAT service. - PublicIp pulumi.StringInput `pulumi:"publicIp"` - // The allocation ID of the public IP associated with the NAT service. - PublicIpId pulumi.StringInput `pulumi:"publicIpId"` -} - -func (GetNatServicesNatServicePublicIpArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNatServicesNatServicePublicIp)(nil)).Elem() -} - -func (i GetNatServicesNatServicePublicIpArgs) ToGetNatServicesNatServicePublicIpOutput() GetNatServicesNatServicePublicIpOutput { - return i.ToGetNatServicesNatServicePublicIpOutputWithContext(context.Background()) -} - -func (i GetNatServicesNatServicePublicIpArgs) ToGetNatServicesNatServicePublicIpOutputWithContext(ctx context.Context) GetNatServicesNatServicePublicIpOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNatServicesNatServicePublicIpOutput) -} - -// GetNatServicesNatServicePublicIpArrayInput is an input type that accepts GetNatServicesNatServicePublicIpArray and GetNatServicesNatServicePublicIpArrayOutput values. -// You can construct a concrete instance of `GetNatServicesNatServicePublicIpArrayInput` via: -// -// GetNatServicesNatServicePublicIpArray{ GetNatServicesNatServicePublicIpArgs{...} } -type GetNatServicesNatServicePublicIpArrayInput interface { - pulumi.Input - - ToGetNatServicesNatServicePublicIpArrayOutput() GetNatServicesNatServicePublicIpArrayOutput - ToGetNatServicesNatServicePublicIpArrayOutputWithContext(context.Context) GetNatServicesNatServicePublicIpArrayOutput -} - -type GetNatServicesNatServicePublicIpArray []GetNatServicesNatServicePublicIpInput - -func (GetNatServicesNatServicePublicIpArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNatServicesNatServicePublicIp)(nil)).Elem() -} - -func (i GetNatServicesNatServicePublicIpArray) ToGetNatServicesNatServicePublicIpArrayOutput() GetNatServicesNatServicePublicIpArrayOutput { - return i.ToGetNatServicesNatServicePublicIpArrayOutputWithContext(context.Background()) -} - -func (i GetNatServicesNatServicePublicIpArray) ToGetNatServicesNatServicePublicIpArrayOutputWithContext(ctx context.Context) GetNatServicesNatServicePublicIpArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNatServicesNatServicePublicIpArrayOutput) -} - -type GetNatServicesNatServicePublicIpOutput struct{ *pulumi.OutputState } - -func (GetNatServicesNatServicePublicIpOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNatServicesNatServicePublicIp)(nil)).Elem() -} - -func (o GetNatServicesNatServicePublicIpOutput) ToGetNatServicesNatServicePublicIpOutput() GetNatServicesNatServicePublicIpOutput { - return o -} - -func (o GetNatServicesNatServicePublicIpOutput) ToGetNatServicesNatServicePublicIpOutputWithContext(ctx context.Context) GetNatServicesNatServicePublicIpOutput { - return o -} - -// The public IP associated with the NAT service. -func (o GetNatServicesNatServicePublicIpOutput) PublicIp() pulumi.StringOutput { - return o.ApplyT(func(v GetNatServicesNatServicePublicIp) string { return v.PublicIp }).(pulumi.StringOutput) -} - -// The allocation ID of the public IP associated with the NAT service. -func (o GetNatServicesNatServicePublicIpOutput) PublicIpId() pulumi.StringOutput { - return o.ApplyT(func(v GetNatServicesNatServicePublicIp) string { return v.PublicIpId }).(pulumi.StringOutput) -} - -type GetNatServicesNatServicePublicIpArrayOutput struct{ *pulumi.OutputState } - -func (GetNatServicesNatServicePublicIpArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNatServicesNatServicePublicIp)(nil)).Elem() -} - -func (o GetNatServicesNatServicePublicIpArrayOutput) ToGetNatServicesNatServicePublicIpArrayOutput() GetNatServicesNatServicePublicIpArrayOutput { - return o -} - -func (o GetNatServicesNatServicePublicIpArrayOutput) ToGetNatServicesNatServicePublicIpArrayOutputWithContext(ctx context.Context) GetNatServicesNatServicePublicIpArrayOutput { - return o -} - -func (o GetNatServicesNatServicePublicIpArrayOutput) Index(i pulumi.IntInput) GetNatServicesNatServicePublicIpOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNatServicesNatServicePublicIp { - return vs[0].([]GetNatServicesNatServicePublicIp)[vs[1].(int)] - }).(GetNatServicesNatServicePublicIpOutput) -} - -type GetNatServicesNatServiceTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetNatServicesNatServiceTagInput is an input type that accepts GetNatServicesNatServiceTagArgs and GetNatServicesNatServiceTagOutput values. -// You can construct a concrete instance of `GetNatServicesNatServiceTagInput` via: -// -// GetNatServicesNatServiceTagArgs{...} -type GetNatServicesNatServiceTagInput interface { - pulumi.Input - - ToGetNatServicesNatServiceTagOutput() GetNatServicesNatServiceTagOutput - ToGetNatServicesNatServiceTagOutputWithContext(context.Context) GetNatServicesNatServiceTagOutput -} - -type GetNatServicesNatServiceTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetNatServicesNatServiceTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNatServicesNatServiceTag)(nil)).Elem() -} - -func (i GetNatServicesNatServiceTagArgs) ToGetNatServicesNatServiceTagOutput() GetNatServicesNatServiceTagOutput { - return i.ToGetNatServicesNatServiceTagOutputWithContext(context.Background()) -} - -func (i GetNatServicesNatServiceTagArgs) ToGetNatServicesNatServiceTagOutputWithContext(ctx context.Context) GetNatServicesNatServiceTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNatServicesNatServiceTagOutput) -} - -// GetNatServicesNatServiceTagArrayInput is an input type that accepts GetNatServicesNatServiceTagArray and GetNatServicesNatServiceTagArrayOutput values. -// You can construct a concrete instance of `GetNatServicesNatServiceTagArrayInput` via: -// -// GetNatServicesNatServiceTagArray{ GetNatServicesNatServiceTagArgs{...} } -type GetNatServicesNatServiceTagArrayInput interface { - pulumi.Input - - ToGetNatServicesNatServiceTagArrayOutput() GetNatServicesNatServiceTagArrayOutput - ToGetNatServicesNatServiceTagArrayOutputWithContext(context.Context) GetNatServicesNatServiceTagArrayOutput -} - -type GetNatServicesNatServiceTagArray []GetNatServicesNatServiceTagInput - -func (GetNatServicesNatServiceTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNatServicesNatServiceTag)(nil)).Elem() -} - -func (i GetNatServicesNatServiceTagArray) ToGetNatServicesNatServiceTagArrayOutput() GetNatServicesNatServiceTagArrayOutput { - return i.ToGetNatServicesNatServiceTagArrayOutputWithContext(context.Background()) -} - -func (i GetNatServicesNatServiceTagArray) ToGetNatServicesNatServiceTagArrayOutputWithContext(ctx context.Context) GetNatServicesNatServiceTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNatServicesNatServiceTagArrayOutput) -} - -type GetNatServicesNatServiceTagOutput struct{ *pulumi.OutputState } - -func (GetNatServicesNatServiceTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNatServicesNatServiceTag)(nil)).Elem() -} - -func (o GetNatServicesNatServiceTagOutput) ToGetNatServicesNatServiceTagOutput() GetNatServicesNatServiceTagOutput { - return o -} - -func (o GetNatServicesNatServiceTagOutput) ToGetNatServicesNatServiceTagOutputWithContext(ctx context.Context) GetNatServicesNatServiceTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetNatServicesNatServiceTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetNatServicesNatServiceTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetNatServicesNatServiceTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetNatServicesNatServiceTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetNatServicesNatServiceTagArrayOutput struct{ *pulumi.OutputState } - -func (GetNatServicesNatServiceTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNatServicesNatServiceTag)(nil)).Elem() -} - -func (o GetNatServicesNatServiceTagArrayOutput) ToGetNatServicesNatServiceTagArrayOutput() GetNatServicesNatServiceTagArrayOutput { - return o -} - -func (o GetNatServicesNatServiceTagArrayOutput) ToGetNatServicesNatServiceTagArrayOutputWithContext(ctx context.Context) GetNatServicesNatServiceTagArrayOutput { - return o -} - -func (o GetNatServicesNatServiceTagArrayOutput) Index(i pulumi.IntInput) GetNatServicesNatServiceTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNatServicesNatServiceTag { - return vs[0].([]GetNatServicesNatServiceTag)[vs[1].(int)] - }).(GetNatServicesNatServiceTagOutput) -} - -type GetNetAccessPointFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetNetAccessPointFilterInput is an input type that accepts GetNetAccessPointFilterArgs and GetNetAccessPointFilterOutput values. -// You can construct a concrete instance of `GetNetAccessPointFilterInput` via: -// -// GetNetAccessPointFilterArgs{...} -type GetNetAccessPointFilterInput interface { - pulumi.Input - - ToGetNetAccessPointFilterOutput() GetNetAccessPointFilterOutput - ToGetNetAccessPointFilterOutputWithContext(context.Context) GetNetAccessPointFilterOutput -} - -type GetNetAccessPointFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetNetAccessPointFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetAccessPointFilter)(nil)).Elem() -} - -func (i GetNetAccessPointFilterArgs) ToGetNetAccessPointFilterOutput() GetNetAccessPointFilterOutput { - return i.ToGetNetAccessPointFilterOutputWithContext(context.Background()) -} - -func (i GetNetAccessPointFilterArgs) ToGetNetAccessPointFilterOutputWithContext(ctx context.Context) GetNetAccessPointFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetAccessPointFilterOutput) -} - -// GetNetAccessPointFilterArrayInput is an input type that accepts GetNetAccessPointFilterArray and GetNetAccessPointFilterArrayOutput values. -// You can construct a concrete instance of `GetNetAccessPointFilterArrayInput` via: -// -// GetNetAccessPointFilterArray{ GetNetAccessPointFilterArgs{...} } -type GetNetAccessPointFilterArrayInput interface { - pulumi.Input - - ToGetNetAccessPointFilterArrayOutput() GetNetAccessPointFilterArrayOutput - ToGetNetAccessPointFilterArrayOutputWithContext(context.Context) GetNetAccessPointFilterArrayOutput -} - -type GetNetAccessPointFilterArray []GetNetAccessPointFilterInput - -func (GetNetAccessPointFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetAccessPointFilter)(nil)).Elem() -} - -func (i GetNetAccessPointFilterArray) ToGetNetAccessPointFilterArrayOutput() GetNetAccessPointFilterArrayOutput { - return i.ToGetNetAccessPointFilterArrayOutputWithContext(context.Background()) -} - -func (i GetNetAccessPointFilterArray) ToGetNetAccessPointFilterArrayOutputWithContext(ctx context.Context) GetNetAccessPointFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetAccessPointFilterArrayOutput) -} - -type GetNetAccessPointFilterOutput struct{ *pulumi.OutputState } - -func (GetNetAccessPointFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetAccessPointFilter)(nil)).Elem() -} - -func (o GetNetAccessPointFilterOutput) ToGetNetAccessPointFilterOutput() GetNetAccessPointFilterOutput { - return o -} - -func (o GetNetAccessPointFilterOutput) ToGetNetAccessPointFilterOutputWithContext(ctx context.Context) GetNetAccessPointFilterOutput { - return o -} - -func (o GetNetAccessPointFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetNetAccessPointFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetNetAccessPointFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetNetAccessPointFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetNetAccessPointFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetNetAccessPointFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetAccessPointFilter)(nil)).Elem() -} - -func (o GetNetAccessPointFilterArrayOutput) ToGetNetAccessPointFilterArrayOutput() GetNetAccessPointFilterArrayOutput { - return o -} - -func (o GetNetAccessPointFilterArrayOutput) ToGetNetAccessPointFilterArrayOutputWithContext(ctx context.Context) GetNetAccessPointFilterArrayOutput { - return o -} - -func (o GetNetAccessPointFilterArrayOutput) Index(i pulumi.IntInput) GetNetAccessPointFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNetAccessPointFilter { - return vs[0].([]GetNetAccessPointFilter)[vs[1].(int)] - }).(GetNetAccessPointFilterOutput) -} - -type GetNetAccessPointServicesFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetNetAccessPointServicesFilterInput is an input type that accepts GetNetAccessPointServicesFilterArgs and GetNetAccessPointServicesFilterOutput values. -// You can construct a concrete instance of `GetNetAccessPointServicesFilterInput` via: -// -// GetNetAccessPointServicesFilterArgs{...} -type GetNetAccessPointServicesFilterInput interface { - pulumi.Input - - ToGetNetAccessPointServicesFilterOutput() GetNetAccessPointServicesFilterOutput - ToGetNetAccessPointServicesFilterOutputWithContext(context.Context) GetNetAccessPointServicesFilterOutput -} - -type GetNetAccessPointServicesFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetNetAccessPointServicesFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetAccessPointServicesFilter)(nil)).Elem() -} - -func (i GetNetAccessPointServicesFilterArgs) ToGetNetAccessPointServicesFilterOutput() GetNetAccessPointServicesFilterOutput { - return i.ToGetNetAccessPointServicesFilterOutputWithContext(context.Background()) -} - -func (i GetNetAccessPointServicesFilterArgs) ToGetNetAccessPointServicesFilterOutputWithContext(ctx context.Context) GetNetAccessPointServicesFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetAccessPointServicesFilterOutput) -} - -// GetNetAccessPointServicesFilterArrayInput is an input type that accepts GetNetAccessPointServicesFilterArray and GetNetAccessPointServicesFilterArrayOutput values. -// You can construct a concrete instance of `GetNetAccessPointServicesFilterArrayInput` via: -// -// GetNetAccessPointServicesFilterArray{ GetNetAccessPointServicesFilterArgs{...} } -type GetNetAccessPointServicesFilterArrayInput interface { - pulumi.Input - - ToGetNetAccessPointServicesFilterArrayOutput() GetNetAccessPointServicesFilterArrayOutput - ToGetNetAccessPointServicesFilterArrayOutputWithContext(context.Context) GetNetAccessPointServicesFilterArrayOutput -} - -type GetNetAccessPointServicesFilterArray []GetNetAccessPointServicesFilterInput - -func (GetNetAccessPointServicesFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetAccessPointServicesFilter)(nil)).Elem() -} - -func (i GetNetAccessPointServicesFilterArray) ToGetNetAccessPointServicesFilterArrayOutput() GetNetAccessPointServicesFilterArrayOutput { - return i.ToGetNetAccessPointServicesFilterArrayOutputWithContext(context.Background()) -} - -func (i GetNetAccessPointServicesFilterArray) ToGetNetAccessPointServicesFilterArrayOutputWithContext(ctx context.Context) GetNetAccessPointServicesFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetAccessPointServicesFilterArrayOutput) -} - -type GetNetAccessPointServicesFilterOutput struct{ *pulumi.OutputState } - -func (GetNetAccessPointServicesFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetAccessPointServicesFilter)(nil)).Elem() -} - -func (o GetNetAccessPointServicesFilterOutput) ToGetNetAccessPointServicesFilterOutput() GetNetAccessPointServicesFilterOutput { - return o -} - -func (o GetNetAccessPointServicesFilterOutput) ToGetNetAccessPointServicesFilterOutputWithContext(ctx context.Context) GetNetAccessPointServicesFilterOutput { - return o -} - -func (o GetNetAccessPointServicesFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetNetAccessPointServicesFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetNetAccessPointServicesFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetNetAccessPointServicesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetNetAccessPointServicesFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetNetAccessPointServicesFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetAccessPointServicesFilter)(nil)).Elem() -} - -func (o GetNetAccessPointServicesFilterArrayOutput) ToGetNetAccessPointServicesFilterArrayOutput() GetNetAccessPointServicesFilterArrayOutput { - return o -} - -func (o GetNetAccessPointServicesFilterArrayOutput) ToGetNetAccessPointServicesFilterArrayOutputWithContext(ctx context.Context) GetNetAccessPointServicesFilterArrayOutput { - return o -} - -func (o GetNetAccessPointServicesFilterArrayOutput) Index(i pulumi.IntInput) GetNetAccessPointServicesFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNetAccessPointServicesFilter { - return vs[0].([]GetNetAccessPointServicesFilter)[vs[1].(int)] - }).(GetNetAccessPointServicesFilterOutput) -} - -type GetNetAccessPointServicesService struct { - // The list of network prefixes used by the service, in CIDR notation. - IpRanges []string `pulumi:"ipRanges"` - // The ID of the service. - ServiceId string `pulumi:"serviceId"` - // The name of the service. - ServiceName string `pulumi:"serviceName"` -} - -// GetNetAccessPointServicesServiceInput is an input type that accepts GetNetAccessPointServicesServiceArgs and GetNetAccessPointServicesServiceOutput values. -// You can construct a concrete instance of `GetNetAccessPointServicesServiceInput` via: -// -// GetNetAccessPointServicesServiceArgs{...} -type GetNetAccessPointServicesServiceInput interface { - pulumi.Input - - ToGetNetAccessPointServicesServiceOutput() GetNetAccessPointServicesServiceOutput - ToGetNetAccessPointServicesServiceOutputWithContext(context.Context) GetNetAccessPointServicesServiceOutput -} - -type GetNetAccessPointServicesServiceArgs struct { - // The list of network prefixes used by the service, in CIDR notation. - IpRanges pulumi.StringArrayInput `pulumi:"ipRanges"` - // The ID of the service. - ServiceId pulumi.StringInput `pulumi:"serviceId"` - // The name of the service. - ServiceName pulumi.StringInput `pulumi:"serviceName"` -} - -func (GetNetAccessPointServicesServiceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetAccessPointServicesService)(nil)).Elem() -} - -func (i GetNetAccessPointServicesServiceArgs) ToGetNetAccessPointServicesServiceOutput() GetNetAccessPointServicesServiceOutput { - return i.ToGetNetAccessPointServicesServiceOutputWithContext(context.Background()) -} - -func (i GetNetAccessPointServicesServiceArgs) ToGetNetAccessPointServicesServiceOutputWithContext(ctx context.Context) GetNetAccessPointServicesServiceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetAccessPointServicesServiceOutput) -} - -// GetNetAccessPointServicesServiceArrayInput is an input type that accepts GetNetAccessPointServicesServiceArray and GetNetAccessPointServicesServiceArrayOutput values. -// You can construct a concrete instance of `GetNetAccessPointServicesServiceArrayInput` via: -// -// GetNetAccessPointServicesServiceArray{ GetNetAccessPointServicesServiceArgs{...} } -type GetNetAccessPointServicesServiceArrayInput interface { - pulumi.Input - - ToGetNetAccessPointServicesServiceArrayOutput() GetNetAccessPointServicesServiceArrayOutput - ToGetNetAccessPointServicesServiceArrayOutputWithContext(context.Context) GetNetAccessPointServicesServiceArrayOutput -} - -type GetNetAccessPointServicesServiceArray []GetNetAccessPointServicesServiceInput - -func (GetNetAccessPointServicesServiceArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetAccessPointServicesService)(nil)).Elem() -} - -func (i GetNetAccessPointServicesServiceArray) ToGetNetAccessPointServicesServiceArrayOutput() GetNetAccessPointServicesServiceArrayOutput { - return i.ToGetNetAccessPointServicesServiceArrayOutputWithContext(context.Background()) -} - -func (i GetNetAccessPointServicesServiceArray) ToGetNetAccessPointServicesServiceArrayOutputWithContext(ctx context.Context) GetNetAccessPointServicesServiceArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetAccessPointServicesServiceArrayOutput) -} - -type GetNetAccessPointServicesServiceOutput struct{ *pulumi.OutputState } - -func (GetNetAccessPointServicesServiceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetAccessPointServicesService)(nil)).Elem() -} - -func (o GetNetAccessPointServicesServiceOutput) ToGetNetAccessPointServicesServiceOutput() GetNetAccessPointServicesServiceOutput { - return o -} - -func (o GetNetAccessPointServicesServiceOutput) ToGetNetAccessPointServicesServiceOutputWithContext(ctx context.Context) GetNetAccessPointServicesServiceOutput { - return o -} - -// The list of network prefixes used by the service, in CIDR notation. -func (o GetNetAccessPointServicesServiceOutput) IpRanges() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetNetAccessPointServicesService) []string { return v.IpRanges }).(pulumi.StringArrayOutput) -} - -// The ID of the service. -func (o GetNetAccessPointServicesServiceOutput) ServiceId() pulumi.StringOutput { - return o.ApplyT(func(v GetNetAccessPointServicesService) string { return v.ServiceId }).(pulumi.StringOutput) -} - -// The name of the service. -func (o GetNetAccessPointServicesServiceOutput) ServiceName() pulumi.StringOutput { - return o.ApplyT(func(v GetNetAccessPointServicesService) string { return v.ServiceName }).(pulumi.StringOutput) -} - -type GetNetAccessPointServicesServiceArrayOutput struct{ *pulumi.OutputState } - -func (GetNetAccessPointServicesServiceArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetAccessPointServicesService)(nil)).Elem() -} - -func (o GetNetAccessPointServicesServiceArrayOutput) ToGetNetAccessPointServicesServiceArrayOutput() GetNetAccessPointServicesServiceArrayOutput { - return o -} - -func (o GetNetAccessPointServicesServiceArrayOutput) ToGetNetAccessPointServicesServiceArrayOutputWithContext(ctx context.Context) GetNetAccessPointServicesServiceArrayOutput { - return o -} - -func (o GetNetAccessPointServicesServiceArrayOutput) Index(i pulumi.IntInput) GetNetAccessPointServicesServiceOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNetAccessPointServicesService { - return vs[0].([]GetNetAccessPointServicesService)[vs[1].(int)] - }).(GetNetAccessPointServicesServiceOutput) -} - -type GetNetAccessPointTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetNetAccessPointTagInput is an input type that accepts GetNetAccessPointTagArgs and GetNetAccessPointTagOutput values. -// You can construct a concrete instance of `GetNetAccessPointTagInput` via: -// -// GetNetAccessPointTagArgs{...} -type GetNetAccessPointTagInput interface { - pulumi.Input - - ToGetNetAccessPointTagOutput() GetNetAccessPointTagOutput - ToGetNetAccessPointTagOutputWithContext(context.Context) GetNetAccessPointTagOutput -} - -type GetNetAccessPointTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetNetAccessPointTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetAccessPointTag)(nil)).Elem() -} - -func (i GetNetAccessPointTagArgs) ToGetNetAccessPointTagOutput() GetNetAccessPointTagOutput { - return i.ToGetNetAccessPointTagOutputWithContext(context.Background()) -} - -func (i GetNetAccessPointTagArgs) ToGetNetAccessPointTagOutputWithContext(ctx context.Context) GetNetAccessPointTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetAccessPointTagOutput) -} - -// GetNetAccessPointTagArrayInput is an input type that accepts GetNetAccessPointTagArray and GetNetAccessPointTagArrayOutput values. -// You can construct a concrete instance of `GetNetAccessPointTagArrayInput` via: -// -// GetNetAccessPointTagArray{ GetNetAccessPointTagArgs{...} } -type GetNetAccessPointTagArrayInput interface { - pulumi.Input - - ToGetNetAccessPointTagArrayOutput() GetNetAccessPointTagArrayOutput - ToGetNetAccessPointTagArrayOutputWithContext(context.Context) GetNetAccessPointTagArrayOutput -} - -type GetNetAccessPointTagArray []GetNetAccessPointTagInput - -func (GetNetAccessPointTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetAccessPointTag)(nil)).Elem() -} - -func (i GetNetAccessPointTagArray) ToGetNetAccessPointTagArrayOutput() GetNetAccessPointTagArrayOutput { - return i.ToGetNetAccessPointTagArrayOutputWithContext(context.Background()) -} - -func (i GetNetAccessPointTagArray) ToGetNetAccessPointTagArrayOutputWithContext(ctx context.Context) GetNetAccessPointTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetAccessPointTagArrayOutput) -} - -type GetNetAccessPointTagOutput struct{ *pulumi.OutputState } - -func (GetNetAccessPointTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetAccessPointTag)(nil)).Elem() -} - -func (o GetNetAccessPointTagOutput) ToGetNetAccessPointTagOutput() GetNetAccessPointTagOutput { - return o -} - -func (o GetNetAccessPointTagOutput) ToGetNetAccessPointTagOutputWithContext(ctx context.Context) GetNetAccessPointTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetNetAccessPointTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetNetAccessPointTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetNetAccessPointTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetNetAccessPointTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetNetAccessPointTagArrayOutput struct{ *pulumi.OutputState } - -func (GetNetAccessPointTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetAccessPointTag)(nil)).Elem() -} - -func (o GetNetAccessPointTagArrayOutput) ToGetNetAccessPointTagArrayOutput() GetNetAccessPointTagArrayOutput { - return o -} - -func (o GetNetAccessPointTagArrayOutput) ToGetNetAccessPointTagArrayOutputWithContext(ctx context.Context) GetNetAccessPointTagArrayOutput { - return o -} - -func (o GetNetAccessPointTagArrayOutput) Index(i pulumi.IntInput) GetNetAccessPointTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNetAccessPointTag { - return vs[0].([]GetNetAccessPointTag)[vs[1].(int)] - }).(GetNetAccessPointTagOutput) -} - -type GetNetAccessPointsFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetNetAccessPointsFilterInput is an input type that accepts GetNetAccessPointsFilterArgs and GetNetAccessPointsFilterOutput values. -// You can construct a concrete instance of `GetNetAccessPointsFilterInput` via: -// -// GetNetAccessPointsFilterArgs{...} -type GetNetAccessPointsFilterInput interface { - pulumi.Input - - ToGetNetAccessPointsFilterOutput() GetNetAccessPointsFilterOutput - ToGetNetAccessPointsFilterOutputWithContext(context.Context) GetNetAccessPointsFilterOutput -} - -type GetNetAccessPointsFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetNetAccessPointsFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetAccessPointsFilter)(nil)).Elem() -} - -func (i GetNetAccessPointsFilterArgs) ToGetNetAccessPointsFilterOutput() GetNetAccessPointsFilterOutput { - return i.ToGetNetAccessPointsFilterOutputWithContext(context.Background()) -} - -func (i GetNetAccessPointsFilterArgs) ToGetNetAccessPointsFilterOutputWithContext(ctx context.Context) GetNetAccessPointsFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetAccessPointsFilterOutput) -} - -// GetNetAccessPointsFilterArrayInput is an input type that accepts GetNetAccessPointsFilterArray and GetNetAccessPointsFilterArrayOutput values. -// You can construct a concrete instance of `GetNetAccessPointsFilterArrayInput` via: -// -// GetNetAccessPointsFilterArray{ GetNetAccessPointsFilterArgs{...} } -type GetNetAccessPointsFilterArrayInput interface { - pulumi.Input - - ToGetNetAccessPointsFilterArrayOutput() GetNetAccessPointsFilterArrayOutput - ToGetNetAccessPointsFilterArrayOutputWithContext(context.Context) GetNetAccessPointsFilterArrayOutput -} - -type GetNetAccessPointsFilterArray []GetNetAccessPointsFilterInput - -func (GetNetAccessPointsFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetAccessPointsFilter)(nil)).Elem() -} - -func (i GetNetAccessPointsFilterArray) ToGetNetAccessPointsFilterArrayOutput() GetNetAccessPointsFilterArrayOutput { - return i.ToGetNetAccessPointsFilterArrayOutputWithContext(context.Background()) -} - -func (i GetNetAccessPointsFilterArray) ToGetNetAccessPointsFilterArrayOutputWithContext(ctx context.Context) GetNetAccessPointsFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetAccessPointsFilterArrayOutput) -} - -type GetNetAccessPointsFilterOutput struct{ *pulumi.OutputState } - -func (GetNetAccessPointsFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetAccessPointsFilter)(nil)).Elem() -} - -func (o GetNetAccessPointsFilterOutput) ToGetNetAccessPointsFilterOutput() GetNetAccessPointsFilterOutput { - return o -} - -func (o GetNetAccessPointsFilterOutput) ToGetNetAccessPointsFilterOutputWithContext(ctx context.Context) GetNetAccessPointsFilterOutput { - return o -} - -func (o GetNetAccessPointsFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetNetAccessPointsFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetNetAccessPointsFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetNetAccessPointsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetNetAccessPointsFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetNetAccessPointsFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetAccessPointsFilter)(nil)).Elem() -} - -func (o GetNetAccessPointsFilterArrayOutput) ToGetNetAccessPointsFilterArrayOutput() GetNetAccessPointsFilterArrayOutput { - return o -} - -func (o GetNetAccessPointsFilterArrayOutput) ToGetNetAccessPointsFilterArrayOutputWithContext(ctx context.Context) GetNetAccessPointsFilterArrayOutput { - return o -} - -func (o GetNetAccessPointsFilterArrayOutput) Index(i pulumi.IntInput) GetNetAccessPointsFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNetAccessPointsFilter { - return vs[0].([]GetNetAccessPointsFilter)[vs[1].(int)] - }).(GetNetAccessPointsFilterOutput) -} - -type GetNetAccessPointsNetAccessPoint struct { - // The ID of the Net access point. - NetAccessPointId string `pulumi:"netAccessPointId"` - // The ID of the Net with which the Net access point is associated. - NetId string `pulumi:"netId"` - // The ID of the route tables associated with the Net access point. - RouteTableIds []string `pulumi:"routeTableIds"` - // The name of the service with which the Net access point is associated. - ServiceName string `pulumi:"serviceName"` - // The state of the Net access point (`pending` \| `available` \| `deleting` \| `deleted`). - State string `pulumi:"state"` - // The key/value combinations of the tags associated with the Net access points, in the following format: `TAGKEY=TAGVALUE`. - Tags []GetNetAccessPointsNetAccessPointTag `pulumi:"tags"` -} - -// GetNetAccessPointsNetAccessPointInput is an input type that accepts GetNetAccessPointsNetAccessPointArgs and GetNetAccessPointsNetAccessPointOutput values. -// You can construct a concrete instance of `GetNetAccessPointsNetAccessPointInput` via: -// -// GetNetAccessPointsNetAccessPointArgs{...} -type GetNetAccessPointsNetAccessPointInput interface { - pulumi.Input - - ToGetNetAccessPointsNetAccessPointOutput() GetNetAccessPointsNetAccessPointOutput - ToGetNetAccessPointsNetAccessPointOutputWithContext(context.Context) GetNetAccessPointsNetAccessPointOutput -} - -type GetNetAccessPointsNetAccessPointArgs struct { - // The ID of the Net access point. - NetAccessPointId pulumi.StringInput `pulumi:"netAccessPointId"` - // The ID of the Net with which the Net access point is associated. - NetId pulumi.StringInput `pulumi:"netId"` - // The ID of the route tables associated with the Net access point. - RouteTableIds pulumi.StringArrayInput `pulumi:"routeTableIds"` - // The name of the service with which the Net access point is associated. - ServiceName pulumi.StringInput `pulumi:"serviceName"` - // The state of the Net access point (`pending` \| `available` \| `deleting` \| `deleted`). - State pulumi.StringInput `pulumi:"state"` - // The key/value combinations of the tags associated with the Net access points, in the following format: `TAGKEY=TAGVALUE`. - Tags GetNetAccessPointsNetAccessPointTagArrayInput `pulumi:"tags"` -} - -func (GetNetAccessPointsNetAccessPointArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetAccessPointsNetAccessPoint)(nil)).Elem() -} - -func (i GetNetAccessPointsNetAccessPointArgs) ToGetNetAccessPointsNetAccessPointOutput() GetNetAccessPointsNetAccessPointOutput { - return i.ToGetNetAccessPointsNetAccessPointOutputWithContext(context.Background()) -} - -func (i GetNetAccessPointsNetAccessPointArgs) ToGetNetAccessPointsNetAccessPointOutputWithContext(ctx context.Context) GetNetAccessPointsNetAccessPointOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetAccessPointsNetAccessPointOutput) -} - -// GetNetAccessPointsNetAccessPointArrayInput is an input type that accepts GetNetAccessPointsNetAccessPointArray and GetNetAccessPointsNetAccessPointArrayOutput values. -// You can construct a concrete instance of `GetNetAccessPointsNetAccessPointArrayInput` via: -// -// GetNetAccessPointsNetAccessPointArray{ GetNetAccessPointsNetAccessPointArgs{...} } -type GetNetAccessPointsNetAccessPointArrayInput interface { - pulumi.Input - - ToGetNetAccessPointsNetAccessPointArrayOutput() GetNetAccessPointsNetAccessPointArrayOutput - ToGetNetAccessPointsNetAccessPointArrayOutputWithContext(context.Context) GetNetAccessPointsNetAccessPointArrayOutput -} - -type GetNetAccessPointsNetAccessPointArray []GetNetAccessPointsNetAccessPointInput - -func (GetNetAccessPointsNetAccessPointArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetAccessPointsNetAccessPoint)(nil)).Elem() -} - -func (i GetNetAccessPointsNetAccessPointArray) ToGetNetAccessPointsNetAccessPointArrayOutput() GetNetAccessPointsNetAccessPointArrayOutput { - return i.ToGetNetAccessPointsNetAccessPointArrayOutputWithContext(context.Background()) -} - -func (i GetNetAccessPointsNetAccessPointArray) ToGetNetAccessPointsNetAccessPointArrayOutputWithContext(ctx context.Context) GetNetAccessPointsNetAccessPointArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetAccessPointsNetAccessPointArrayOutput) -} - -type GetNetAccessPointsNetAccessPointOutput struct{ *pulumi.OutputState } - -func (GetNetAccessPointsNetAccessPointOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetAccessPointsNetAccessPoint)(nil)).Elem() -} - -func (o GetNetAccessPointsNetAccessPointOutput) ToGetNetAccessPointsNetAccessPointOutput() GetNetAccessPointsNetAccessPointOutput { - return o -} - -func (o GetNetAccessPointsNetAccessPointOutput) ToGetNetAccessPointsNetAccessPointOutputWithContext(ctx context.Context) GetNetAccessPointsNetAccessPointOutput { - return o -} - -// The ID of the Net access point. -func (o GetNetAccessPointsNetAccessPointOutput) NetAccessPointId() pulumi.StringOutput { - return o.ApplyT(func(v GetNetAccessPointsNetAccessPoint) string { return v.NetAccessPointId }).(pulumi.StringOutput) -} - -// The ID of the Net with which the Net access point is associated. -func (o GetNetAccessPointsNetAccessPointOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v GetNetAccessPointsNetAccessPoint) string { return v.NetId }).(pulumi.StringOutput) -} - -// The ID of the route tables associated with the Net access point. -func (o GetNetAccessPointsNetAccessPointOutput) RouteTableIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetNetAccessPointsNetAccessPoint) []string { return v.RouteTableIds }).(pulumi.StringArrayOutput) -} - -// The name of the service with which the Net access point is associated. -func (o GetNetAccessPointsNetAccessPointOutput) ServiceName() pulumi.StringOutput { - return o.ApplyT(func(v GetNetAccessPointsNetAccessPoint) string { return v.ServiceName }).(pulumi.StringOutput) -} - -// The state of the Net access point (`pending` \| `available` \| `deleting` \| `deleted`). -func (o GetNetAccessPointsNetAccessPointOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetNetAccessPointsNetAccessPoint) string { return v.State }).(pulumi.StringOutput) -} - -// The key/value combinations of the tags associated with the Net access points, in the following format: `TAGKEY=TAGVALUE`. -func (o GetNetAccessPointsNetAccessPointOutput) Tags() GetNetAccessPointsNetAccessPointTagArrayOutput { - return o.ApplyT(func(v GetNetAccessPointsNetAccessPoint) []GetNetAccessPointsNetAccessPointTag { return v.Tags }).(GetNetAccessPointsNetAccessPointTagArrayOutput) -} - -type GetNetAccessPointsNetAccessPointArrayOutput struct{ *pulumi.OutputState } - -func (GetNetAccessPointsNetAccessPointArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetAccessPointsNetAccessPoint)(nil)).Elem() -} - -func (o GetNetAccessPointsNetAccessPointArrayOutput) ToGetNetAccessPointsNetAccessPointArrayOutput() GetNetAccessPointsNetAccessPointArrayOutput { - return o -} - -func (o GetNetAccessPointsNetAccessPointArrayOutput) ToGetNetAccessPointsNetAccessPointArrayOutputWithContext(ctx context.Context) GetNetAccessPointsNetAccessPointArrayOutput { - return o -} - -func (o GetNetAccessPointsNetAccessPointArrayOutput) Index(i pulumi.IntInput) GetNetAccessPointsNetAccessPointOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNetAccessPointsNetAccessPoint { - return vs[0].([]GetNetAccessPointsNetAccessPoint)[vs[1].(int)] - }).(GetNetAccessPointsNetAccessPointOutput) -} - -type GetNetAccessPointsNetAccessPointTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetNetAccessPointsNetAccessPointTagInput is an input type that accepts GetNetAccessPointsNetAccessPointTagArgs and GetNetAccessPointsNetAccessPointTagOutput values. -// You can construct a concrete instance of `GetNetAccessPointsNetAccessPointTagInput` via: -// -// GetNetAccessPointsNetAccessPointTagArgs{...} -type GetNetAccessPointsNetAccessPointTagInput interface { - pulumi.Input - - ToGetNetAccessPointsNetAccessPointTagOutput() GetNetAccessPointsNetAccessPointTagOutput - ToGetNetAccessPointsNetAccessPointTagOutputWithContext(context.Context) GetNetAccessPointsNetAccessPointTagOutput -} - -type GetNetAccessPointsNetAccessPointTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetNetAccessPointsNetAccessPointTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetAccessPointsNetAccessPointTag)(nil)).Elem() -} - -func (i GetNetAccessPointsNetAccessPointTagArgs) ToGetNetAccessPointsNetAccessPointTagOutput() GetNetAccessPointsNetAccessPointTagOutput { - return i.ToGetNetAccessPointsNetAccessPointTagOutputWithContext(context.Background()) -} - -func (i GetNetAccessPointsNetAccessPointTagArgs) ToGetNetAccessPointsNetAccessPointTagOutputWithContext(ctx context.Context) GetNetAccessPointsNetAccessPointTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetAccessPointsNetAccessPointTagOutput) -} - -// GetNetAccessPointsNetAccessPointTagArrayInput is an input type that accepts GetNetAccessPointsNetAccessPointTagArray and GetNetAccessPointsNetAccessPointTagArrayOutput values. -// You can construct a concrete instance of `GetNetAccessPointsNetAccessPointTagArrayInput` via: -// -// GetNetAccessPointsNetAccessPointTagArray{ GetNetAccessPointsNetAccessPointTagArgs{...} } -type GetNetAccessPointsNetAccessPointTagArrayInput interface { - pulumi.Input - - ToGetNetAccessPointsNetAccessPointTagArrayOutput() GetNetAccessPointsNetAccessPointTagArrayOutput - ToGetNetAccessPointsNetAccessPointTagArrayOutputWithContext(context.Context) GetNetAccessPointsNetAccessPointTagArrayOutput -} - -type GetNetAccessPointsNetAccessPointTagArray []GetNetAccessPointsNetAccessPointTagInput - -func (GetNetAccessPointsNetAccessPointTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetAccessPointsNetAccessPointTag)(nil)).Elem() -} - -func (i GetNetAccessPointsNetAccessPointTagArray) ToGetNetAccessPointsNetAccessPointTagArrayOutput() GetNetAccessPointsNetAccessPointTagArrayOutput { - return i.ToGetNetAccessPointsNetAccessPointTagArrayOutputWithContext(context.Background()) -} - -func (i GetNetAccessPointsNetAccessPointTagArray) ToGetNetAccessPointsNetAccessPointTagArrayOutputWithContext(ctx context.Context) GetNetAccessPointsNetAccessPointTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetAccessPointsNetAccessPointTagArrayOutput) -} - -type GetNetAccessPointsNetAccessPointTagOutput struct{ *pulumi.OutputState } - -func (GetNetAccessPointsNetAccessPointTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetAccessPointsNetAccessPointTag)(nil)).Elem() -} - -func (o GetNetAccessPointsNetAccessPointTagOutput) ToGetNetAccessPointsNetAccessPointTagOutput() GetNetAccessPointsNetAccessPointTagOutput { - return o -} - -func (o GetNetAccessPointsNetAccessPointTagOutput) ToGetNetAccessPointsNetAccessPointTagOutputWithContext(ctx context.Context) GetNetAccessPointsNetAccessPointTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetNetAccessPointsNetAccessPointTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetNetAccessPointsNetAccessPointTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetNetAccessPointsNetAccessPointTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetNetAccessPointsNetAccessPointTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetNetAccessPointsNetAccessPointTagArrayOutput struct{ *pulumi.OutputState } - -func (GetNetAccessPointsNetAccessPointTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetAccessPointsNetAccessPointTag)(nil)).Elem() -} - -func (o GetNetAccessPointsNetAccessPointTagArrayOutput) ToGetNetAccessPointsNetAccessPointTagArrayOutput() GetNetAccessPointsNetAccessPointTagArrayOutput { - return o -} - -func (o GetNetAccessPointsNetAccessPointTagArrayOutput) ToGetNetAccessPointsNetAccessPointTagArrayOutputWithContext(ctx context.Context) GetNetAccessPointsNetAccessPointTagArrayOutput { - return o -} - -func (o GetNetAccessPointsNetAccessPointTagArrayOutput) Index(i pulumi.IntInput) GetNetAccessPointsNetAccessPointTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNetAccessPointsNetAccessPointTag { - return vs[0].([]GetNetAccessPointsNetAccessPointTag)[vs[1].(int)] - }).(GetNetAccessPointsNetAccessPointTagOutput) -} - -type GetNetAttributesTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetNetAttributesTagInput is an input type that accepts GetNetAttributesTagArgs and GetNetAttributesTagOutput values. -// You can construct a concrete instance of `GetNetAttributesTagInput` via: -// -// GetNetAttributesTagArgs{...} -type GetNetAttributesTagInput interface { - pulumi.Input - - ToGetNetAttributesTagOutput() GetNetAttributesTagOutput - ToGetNetAttributesTagOutputWithContext(context.Context) GetNetAttributesTagOutput -} - -type GetNetAttributesTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetNetAttributesTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetAttributesTag)(nil)).Elem() -} - -func (i GetNetAttributesTagArgs) ToGetNetAttributesTagOutput() GetNetAttributesTagOutput { - return i.ToGetNetAttributesTagOutputWithContext(context.Background()) -} - -func (i GetNetAttributesTagArgs) ToGetNetAttributesTagOutputWithContext(ctx context.Context) GetNetAttributesTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetAttributesTagOutput) -} - -// GetNetAttributesTagArrayInput is an input type that accepts GetNetAttributesTagArray and GetNetAttributesTagArrayOutput values. -// You can construct a concrete instance of `GetNetAttributesTagArrayInput` via: -// -// GetNetAttributesTagArray{ GetNetAttributesTagArgs{...} } -type GetNetAttributesTagArrayInput interface { - pulumi.Input - - ToGetNetAttributesTagArrayOutput() GetNetAttributesTagArrayOutput - ToGetNetAttributesTagArrayOutputWithContext(context.Context) GetNetAttributesTagArrayOutput -} - -type GetNetAttributesTagArray []GetNetAttributesTagInput - -func (GetNetAttributesTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetAttributesTag)(nil)).Elem() -} - -func (i GetNetAttributesTagArray) ToGetNetAttributesTagArrayOutput() GetNetAttributesTagArrayOutput { - return i.ToGetNetAttributesTagArrayOutputWithContext(context.Background()) -} - -func (i GetNetAttributesTagArray) ToGetNetAttributesTagArrayOutputWithContext(ctx context.Context) GetNetAttributesTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetAttributesTagArrayOutput) -} - -type GetNetAttributesTagOutput struct{ *pulumi.OutputState } - -func (GetNetAttributesTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetAttributesTag)(nil)).Elem() -} - -func (o GetNetAttributesTagOutput) ToGetNetAttributesTagOutput() GetNetAttributesTagOutput { - return o -} - -func (o GetNetAttributesTagOutput) ToGetNetAttributesTagOutputWithContext(ctx context.Context) GetNetAttributesTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetNetAttributesTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetNetAttributesTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetNetAttributesTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetNetAttributesTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetNetAttributesTagArrayOutput struct{ *pulumi.OutputState } - -func (GetNetAttributesTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetAttributesTag)(nil)).Elem() -} - -func (o GetNetAttributesTagArrayOutput) ToGetNetAttributesTagArrayOutput() GetNetAttributesTagArrayOutput { - return o -} - -func (o GetNetAttributesTagArrayOutput) ToGetNetAttributesTagArrayOutputWithContext(ctx context.Context) GetNetAttributesTagArrayOutput { - return o -} - -func (o GetNetAttributesTagArrayOutput) Index(i pulumi.IntInput) GetNetAttributesTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNetAttributesTag { - return vs[0].([]GetNetAttributesTag)[vs[1].(int)] - }).(GetNetAttributesTagOutput) -} - -type GetNetFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetNetFilterInput is an input type that accepts GetNetFilterArgs and GetNetFilterOutput values. -// You can construct a concrete instance of `GetNetFilterInput` via: -// -// GetNetFilterArgs{...} -type GetNetFilterInput interface { - pulumi.Input - - ToGetNetFilterOutput() GetNetFilterOutput - ToGetNetFilterOutputWithContext(context.Context) GetNetFilterOutput -} - -type GetNetFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetNetFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetFilter)(nil)).Elem() -} - -func (i GetNetFilterArgs) ToGetNetFilterOutput() GetNetFilterOutput { - return i.ToGetNetFilterOutputWithContext(context.Background()) -} - -func (i GetNetFilterArgs) ToGetNetFilterOutputWithContext(ctx context.Context) GetNetFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetFilterOutput) -} - -// GetNetFilterArrayInput is an input type that accepts GetNetFilterArray and GetNetFilterArrayOutput values. -// You can construct a concrete instance of `GetNetFilterArrayInput` via: -// -// GetNetFilterArray{ GetNetFilterArgs{...} } -type GetNetFilterArrayInput interface { - pulumi.Input - - ToGetNetFilterArrayOutput() GetNetFilterArrayOutput - ToGetNetFilterArrayOutputWithContext(context.Context) GetNetFilterArrayOutput -} - -type GetNetFilterArray []GetNetFilterInput - -func (GetNetFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetFilter)(nil)).Elem() -} - -func (i GetNetFilterArray) ToGetNetFilterArrayOutput() GetNetFilterArrayOutput { - return i.ToGetNetFilterArrayOutputWithContext(context.Background()) -} - -func (i GetNetFilterArray) ToGetNetFilterArrayOutputWithContext(ctx context.Context) GetNetFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetFilterArrayOutput) -} - -type GetNetFilterOutput struct{ *pulumi.OutputState } - -func (GetNetFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetFilter)(nil)).Elem() -} - -func (o GetNetFilterOutput) ToGetNetFilterOutput() GetNetFilterOutput { - return o -} - -func (o GetNetFilterOutput) ToGetNetFilterOutputWithContext(ctx context.Context) GetNetFilterOutput { - return o -} - -func (o GetNetFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetNetFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetNetFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetNetFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetNetFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetNetFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetFilter)(nil)).Elem() -} - -func (o GetNetFilterArrayOutput) ToGetNetFilterArrayOutput() GetNetFilterArrayOutput { - return o -} - -func (o GetNetFilterArrayOutput) ToGetNetFilterArrayOutputWithContext(ctx context.Context) GetNetFilterArrayOutput { - return o -} - -func (o GetNetFilterArrayOutput) Index(i pulumi.IntInput) GetNetFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNetFilter { - return vs[0].([]GetNetFilter)[vs[1].(int)] - }).(GetNetFilterOutput) -} - -type GetNetPeeringAccepterNet struct { - // The account ID of the owner of the source Net. - AccountId string `pulumi:"accountId"` - // The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - IpRange string `pulumi:"ipRange"` - // The ID of the source Net. - NetId string `pulumi:"netId"` -} - -// GetNetPeeringAccepterNetInput is an input type that accepts GetNetPeeringAccepterNetArgs and GetNetPeeringAccepterNetOutput values. -// You can construct a concrete instance of `GetNetPeeringAccepterNetInput` via: -// -// GetNetPeeringAccepterNetArgs{...} -type GetNetPeeringAccepterNetInput interface { - pulumi.Input - - ToGetNetPeeringAccepterNetOutput() GetNetPeeringAccepterNetOutput - ToGetNetPeeringAccepterNetOutputWithContext(context.Context) GetNetPeeringAccepterNetOutput -} - -type GetNetPeeringAccepterNetArgs struct { - // The account ID of the owner of the source Net. - AccountId pulumi.StringInput `pulumi:"accountId"` - // The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - IpRange pulumi.StringInput `pulumi:"ipRange"` - // The ID of the source Net. - NetId pulumi.StringInput `pulumi:"netId"` -} - -func (GetNetPeeringAccepterNetArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetPeeringAccepterNet)(nil)).Elem() -} - -func (i GetNetPeeringAccepterNetArgs) ToGetNetPeeringAccepterNetOutput() GetNetPeeringAccepterNetOutput { - return i.ToGetNetPeeringAccepterNetOutputWithContext(context.Background()) -} - -func (i GetNetPeeringAccepterNetArgs) ToGetNetPeeringAccepterNetOutputWithContext(ctx context.Context) GetNetPeeringAccepterNetOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetPeeringAccepterNetOutput) -} - -// GetNetPeeringAccepterNetArrayInput is an input type that accepts GetNetPeeringAccepterNetArray and GetNetPeeringAccepterNetArrayOutput values. -// You can construct a concrete instance of `GetNetPeeringAccepterNetArrayInput` via: -// -// GetNetPeeringAccepterNetArray{ GetNetPeeringAccepterNetArgs{...} } -type GetNetPeeringAccepterNetArrayInput interface { - pulumi.Input - - ToGetNetPeeringAccepterNetArrayOutput() GetNetPeeringAccepterNetArrayOutput - ToGetNetPeeringAccepterNetArrayOutputWithContext(context.Context) GetNetPeeringAccepterNetArrayOutput -} - -type GetNetPeeringAccepterNetArray []GetNetPeeringAccepterNetInput - -func (GetNetPeeringAccepterNetArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetPeeringAccepterNet)(nil)).Elem() -} - -func (i GetNetPeeringAccepterNetArray) ToGetNetPeeringAccepterNetArrayOutput() GetNetPeeringAccepterNetArrayOutput { - return i.ToGetNetPeeringAccepterNetArrayOutputWithContext(context.Background()) -} - -func (i GetNetPeeringAccepterNetArray) ToGetNetPeeringAccepterNetArrayOutputWithContext(ctx context.Context) GetNetPeeringAccepterNetArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetPeeringAccepterNetArrayOutput) -} - -type GetNetPeeringAccepterNetOutput struct{ *pulumi.OutputState } - -func (GetNetPeeringAccepterNetOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetPeeringAccepterNet)(nil)).Elem() -} - -func (o GetNetPeeringAccepterNetOutput) ToGetNetPeeringAccepterNetOutput() GetNetPeeringAccepterNetOutput { - return o -} - -func (o GetNetPeeringAccepterNetOutput) ToGetNetPeeringAccepterNetOutputWithContext(ctx context.Context) GetNetPeeringAccepterNetOutput { - return o -} - -// The account ID of the owner of the source Net. -func (o GetNetPeeringAccepterNetOutput) AccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetNetPeeringAccepterNet) string { return v.AccountId }).(pulumi.StringOutput) -} - -// The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). -func (o GetNetPeeringAccepterNetOutput) IpRange() pulumi.StringOutput { - return o.ApplyT(func(v GetNetPeeringAccepterNet) string { return v.IpRange }).(pulumi.StringOutput) -} - -// The ID of the source Net. -func (o GetNetPeeringAccepterNetOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v GetNetPeeringAccepterNet) string { return v.NetId }).(pulumi.StringOutput) -} - -type GetNetPeeringAccepterNetArrayOutput struct{ *pulumi.OutputState } - -func (GetNetPeeringAccepterNetArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetPeeringAccepterNet)(nil)).Elem() -} - -func (o GetNetPeeringAccepterNetArrayOutput) ToGetNetPeeringAccepterNetArrayOutput() GetNetPeeringAccepterNetArrayOutput { - return o -} - -func (o GetNetPeeringAccepterNetArrayOutput) ToGetNetPeeringAccepterNetArrayOutputWithContext(ctx context.Context) GetNetPeeringAccepterNetArrayOutput { - return o -} - -func (o GetNetPeeringAccepterNetArrayOutput) Index(i pulumi.IntInput) GetNetPeeringAccepterNetOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNetPeeringAccepterNet { - return vs[0].([]GetNetPeeringAccepterNet)[vs[1].(int)] - }).(GetNetPeeringAccepterNetOutput) -} - -type GetNetPeeringFilter struct { - // The state of the Net peering (`pending-acceptance` \| `active` \| `rejected` \| `failed` \| `expired` \| `deleted`). - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetNetPeeringFilterInput is an input type that accepts GetNetPeeringFilterArgs and GetNetPeeringFilterOutput values. -// You can construct a concrete instance of `GetNetPeeringFilterInput` via: -// -// GetNetPeeringFilterArgs{...} -type GetNetPeeringFilterInput interface { - pulumi.Input - - ToGetNetPeeringFilterOutput() GetNetPeeringFilterOutput - ToGetNetPeeringFilterOutputWithContext(context.Context) GetNetPeeringFilterOutput -} - -type GetNetPeeringFilterArgs struct { - // The state of the Net peering (`pending-acceptance` \| `active` \| `rejected` \| `failed` \| `expired` \| `deleted`). - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetNetPeeringFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetPeeringFilter)(nil)).Elem() -} - -func (i GetNetPeeringFilterArgs) ToGetNetPeeringFilterOutput() GetNetPeeringFilterOutput { - return i.ToGetNetPeeringFilterOutputWithContext(context.Background()) -} - -func (i GetNetPeeringFilterArgs) ToGetNetPeeringFilterOutputWithContext(ctx context.Context) GetNetPeeringFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetPeeringFilterOutput) -} - -// GetNetPeeringFilterArrayInput is an input type that accepts GetNetPeeringFilterArray and GetNetPeeringFilterArrayOutput values. -// You can construct a concrete instance of `GetNetPeeringFilterArrayInput` via: -// -// GetNetPeeringFilterArray{ GetNetPeeringFilterArgs{...} } -type GetNetPeeringFilterArrayInput interface { - pulumi.Input - - ToGetNetPeeringFilterArrayOutput() GetNetPeeringFilterArrayOutput - ToGetNetPeeringFilterArrayOutputWithContext(context.Context) GetNetPeeringFilterArrayOutput -} - -type GetNetPeeringFilterArray []GetNetPeeringFilterInput - -func (GetNetPeeringFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetPeeringFilter)(nil)).Elem() -} - -func (i GetNetPeeringFilterArray) ToGetNetPeeringFilterArrayOutput() GetNetPeeringFilterArrayOutput { - return i.ToGetNetPeeringFilterArrayOutputWithContext(context.Background()) -} - -func (i GetNetPeeringFilterArray) ToGetNetPeeringFilterArrayOutputWithContext(ctx context.Context) GetNetPeeringFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetPeeringFilterArrayOutput) -} - -type GetNetPeeringFilterOutput struct{ *pulumi.OutputState } - -func (GetNetPeeringFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetPeeringFilter)(nil)).Elem() -} - -func (o GetNetPeeringFilterOutput) ToGetNetPeeringFilterOutput() GetNetPeeringFilterOutput { - return o -} - -func (o GetNetPeeringFilterOutput) ToGetNetPeeringFilterOutputWithContext(ctx context.Context) GetNetPeeringFilterOutput { - return o -} - -// The state of the Net peering (`pending-acceptance` \| `active` \| `rejected` \| `failed` \| `expired` \| `deleted`). -func (o GetNetPeeringFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetNetPeeringFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetNetPeeringFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetNetPeeringFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetNetPeeringFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetNetPeeringFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetPeeringFilter)(nil)).Elem() -} - -func (o GetNetPeeringFilterArrayOutput) ToGetNetPeeringFilterArrayOutput() GetNetPeeringFilterArrayOutput { - return o -} - -func (o GetNetPeeringFilterArrayOutput) ToGetNetPeeringFilterArrayOutputWithContext(ctx context.Context) GetNetPeeringFilterArrayOutput { - return o -} - -func (o GetNetPeeringFilterArrayOutput) Index(i pulumi.IntInput) GetNetPeeringFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNetPeeringFilter { - return vs[0].([]GetNetPeeringFilter)[vs[1].(int)] - }).(GetNetPeeringFilterOutput) -} - -type GetNetPeeringSourceNet struct { - // The account ID of the owner of the source Net. - AccountId string `pulumi:"accountId"` - // The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - IpRange string `pulumi:"ipRange"` - // The ID of the source Net. - NetId string `pulumi:"netId"` -} - -// GetNetPeeringSourceNetInput is an input type that accepts GetNetPeeringSourceNetArgs and GetNetPeeringSourceNetOutput values. -// You can construct a concrete instance of `GetNetPeeringSourceNetInput` via: -// -// GetNetPeeringSourceNetArgs{...} -type GetNetPeeringSourceNetInput interface { - pulumi.Input - - ToGetNetPeeringSourceNetOutput() GetNetPeeringSourceNetOutput - ToGetNetPeeringSourceNetOutputWithContext(context.Context) GetNetPeeringSourceNetOutput -} - -type GetNetPeeringSourceNetArgs struct { - // The account ID of the owner of the source Net. - AccountId pulumi.StringInput `pulumi:"accountId"` - // The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - IpRange pulumi.StringInput `pulumi:"ipRange"` - // The ID of the source Net. - NetId pulumi.StringInput `pulumi:"netId"` -} - -func (GetNetPeeringSourceNetArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetPeeringSourceNet)(nil)).Elem() -} - -func (i GetNetPeeringSourceNetArgs) ToGetNetPeeringSourceNetOutput() GetNetPeeringSourceNetOutput { - return i.ToGetNetPeeringSourceNetOutputWithContext(context.Background()) -} - -func (i GetNetPeeringSourceNetArgs) ToGetNetPeeringSourceNetOutputWithContext(ctx context.Context) GetNetPeeringSourceNetOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetPeeringSourceNetOutput) -} - -// GetNetPeeringSourceNetArrayInput is an input type that accepts GetNetPeeringSourceNetArray and GetNetPeeringSourceNetArrayOutput values. -// You can construct a concrete instance of `GetNetPeeringSourceNetArrayInput` via: -// -// GetNetPeeringSourceNetArray{ GetNetPeeringSourceNetArgs{...} } -type GetNetPeeringSourceNetArrayInput interface { - pulumi.Input - - ToGetNetPeeringSourceNetArrayOutput() GetNetPeeringSourceNetArrayOutput - ToGetNetPeeringSourceNetArrayOutputWithContext(context.Context) GetNetPeeringSourceNetArrayOutput -} - -type GetNetPeeringSourceNetArray []GetNetPeeringSourceNetInput - -func (GetNetPeeringSourceNetArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetPeeringSourceNet)(nil)).Elem() -} - -func (i GetNetPeeringSourceNetArray) ToGetNetPeeringSourceNetArrayOutput() GetNetPeeringSourceNetArrayOutput { - return i.ToGetNetPeeringSourceNetArrayOutputWithContext(context.Background()) -} - -func (i GetNetPeeringSourceNetArray) ToGetNetPeeringSourceNetArrayOutputWithContext(ctx context.Context) GetNetPeeringSourceNetArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetPeeringSourceNetArrayOutput) -} - -type GetNetPeeringSourceNetOutput struct{ *pulumi.OutputState } - -func (GetNetPeeringSourceNetOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetPeeringSourceNet)(nil)).Elem() -} - -func (o GetNetPeeringSourceNetOutput) ToGetNetPeeringSourceNetOutput() GetNetPeeringSourceNetOutput { - return o -} - -func (o GetNetPeeringSourceNetOutput) ToGetNetPeeringSourceNetOutputWithContext(ctx context.Context) GetNetPeeringSourceNetOutput { - return o -} - -// The account ID of the owner of the source Net. -func (o GetNetPeeringSourceNetOutput) AccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetNetPeeringSourceNet) string { return v.AccountId }).(pulumi.StringOutput) -} - -// The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). -func (o GetNetPeeringSourceNetOutput) IpRange() pulumi.StringOutput { - return o.ApplyT(func(v GetNetPeeringSourceNet) string { return v.IpRange }).(pulumi.StringOutput) -} - -// The ID of the source Net. -func (o GetNetPeeringSourceNetOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v GetNetPeeringSourceNet) string { return v.NetId }).(pulumi.StringOutput) -} - -type GetNetPeeringSourceNetArrayOutput struct{ *pulumi.OutputState } - -func (GetNetPeeringSourceNetArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetPeeringSourceNet)(nil)).Elem() -} - -func (o GetNetPeeringSourceNetArrayOutput) ToGetNetPeeringSourceNetArrayOutput() GetNetPeeringSourceNetArrayOutput { - return o -} - -func (o GetNetPeeringSourceNetArrayOutput) ToGetNetPeeringSourceNetArrayOutputWithContext(ctx context.Context) GetNetPeeringSourceNetArrayOutput { - return o -} - -func (o GetNetPeeringSourceNetArrayOutput) Index(i pulumi.IntInput) GetNetPeeringSourceNetOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNetPeeringSourceNet { - return vs[0].([]GetNetPeeringSourceNet)[vs[1].(int)] - }).(GetNetPeeringSourceNetOutput) -} - -type GetNetPeeringState struct { - // Additional information about the state of the Net peering. - Message string `pulumi:"message"` - // The state of the Net peering (`pending-acceptance` \| `active` \| `rejected` \| `failed` \| `expired` \| `deleted`). - Name string `pulumi:"name"` -} - -// GetNetPeeringStateInput is an input type that accepts GetNetPeeringStateArgs and GetNetPeeringStateOutput values. -// You can construct a concrete instance of `GetNetPeeringStateInput` via: -// -// GetNetPeeringStateArgs{...} -type GetNetPeeringStateInput interface { - pulumi.Input - - ToGetNetPeeringStateOutput() GetNetPeeringStateOutput - ToGetNetPeeringStateOutputWithContext(context.Context) GetNetPeeringStateOutput -} - -type GetNetPeeringStateArgs struct { - // Additional information about the state of the Net peering. - Message pulumi.StringInput `pulumi:"message"` - // The state of the Net peering (`pending-acceptance` \| `active` \| `rejected` \| `failed` \| `expired` \| `deleted`). - Name pulumi.StringInput `pulumi:"name"` -} - -func (GetNetPeeringStateArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetPeeringState)(nil)).Elem() -} - -func (i GetNetPeeringStateArgs) ToGetNetPeeringStateOutput() GetNetPeeringStateOutput { - return i.ToGetNetPeeringStateOutputWithContext(context.Background()) -} - -func (i GetNetPeeringStateArgs) ToGetNetPeeringStateOutputWithContext(ctx context.Context) GetNetPeeringStateOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetPeeringStateOutput) -} - -// GetNetPeeringStateArrayInput is an input type that accepts GetNetPeeringStateArray and GetNetPeeringStateArrayOutput values. -// You can construct a concrete instance of `GetNetPeeringStateArrayInput` via: -// -// GetNetPeeringStateArray{ GetNetPeeringStateArgs{...} } -type GetNetPeeringStateArrayInput interface { - pulumi.Input - - ToGetNetPeeringStateArrayOutput() GetNetPeeringStateArrayOutput - ToGetNetPeeringStateArrayOutputWithContext(context.Context) GetNetPeeringStateArrayOutput -} - -type GetNetPeeringStateArray []GetNetPeeringStateInput - -func (GetNetPeeringStateArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetPeeringState)(nil)).Elem() -} - -func (i GetNetPeeringStateArray) ToGetNetPeeringStateArrayOutput() GetNetPeeringStateArrayOutput { - return i.ToGetNetPeeringStateArrayOutputWithContext(context.Background()) -} - -func (i GetNetPeeringStateArray) ToGetNetPeeringStateArrayOutputWithContext(ctx context.Context) GetNetPeeringStateArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetPeeringStateArrayOutput) -} - -type GetNetPeeringStateOutput struct{ *pulumi.OutputState } - -func (GetNetPeeringStateOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetPeeringState)(nil)).Elem() -} - -func (o GetNetPeeringStateOutput) ToGetNetPeeringStateOutput() GetNetPeeringStateOutput { - return o -} - -func (o GetNetPeeringStateOutput) ToGetNetPeeringStateOutputWithContext(ctx context.Context) GetNetPeeringStateOutput { - return o -} - -// Additional information about the state of the Net peering. -func (o GetNetPeeringStateOutput) Message() pulumi.StringOutput { - return o.ApplyT(func(v GetNetPeeringState) string { return v.Message }).(pulumi.StringOutput) -} - -// The state of the Net peering (`pending-acceptance` \| `active` \| `rejected` \| `failed` \| `expired` \| `deleted`). -func (o GetNetPeeringStateOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetNetPeeringState) string { return v.Name }).(pulumi.StringOutput) -} - -type GetNetPeeringStateArrayOutput struct{ *pulumi.OutputState } - -func (GetNetPeeringStateArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetPeeringState)(nil)).Elem() -} - -func (o GetNetPeeringStateArrayOutput) ToGetNetPeeringStateArrayOutput() GetNetPeeringStateArrayOutput { - return o -} - -func (o GetNetPeeringStateArrayOutput) ToGetNetPeeringStateArrayOutputWithContext(ctx context.Context) GetNetPeeringStateArrayOutput { - return o -} - -func (o GetNetPeeringStateArrayOutput) Index(i pulumi.IntInput) GetNetPeeringStateOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNetPeeringState { - return vs[0].([]GetNetPeeringState)[vs[1].(int)] - }).(GetNetPeeringStateOutput) -} - -type GetNetPeeringTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetNetPeeringTagInput is an input type that accepts GetNetPeeringTagArgs and GetNetPeeringTagOutput values. -// You can construct a concrete instance of `GetNetPeeringTagInput` via: -// -// GetNetPeeringTagArgs{...} -type GetNetPeeringTagInput interface { - pulumi.Input - - ToGetNetPeeringTagOutput() GetNetPeeringTagOutput - ToGetNetPeeringTagOutputWithContext(context.Context) GetNetPeeringTagOutput -} - -type GetNetPeeringTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetNetPeeringTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetPeeringTag)(nil)).Elem() -} - -func (i GetNetPeeringTagArgs) ToGetNetPeeringTagOutput() GetNetPeeringTagOutput { - return i.ToGetNetPeeringTagOutputWithContext(context.Background()) -} - -func (i GetNetPeeringTagArgs) ToGetNetPeeringTagOutputWithContext(ctx context.Context) GetNetPeeringTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetPeeringTagOutput) -} - -// GetNetPeeringTagArrayInput is an input type that accepts GetNetPeeringTagArray and GetNetPeeringTagArrayOutput values. -// You can construct a concrete instance of `GetNetPeeringTagArrayInput` via: -// -// GetNetPeeringTagArray{ GetNetPeeringTagArgs{...} } -type GetNetPeeringTagArrayInput interface { - pulumi.Input - - ToGetNetPeeringTagArrayOutput() GetNetPeeringTagArrayOutput - ToGetNetPeeringTagArrayOutputWithContext(context.Context) GetNetPeeringTagArrayOutput -} - -type GetNetPeeringTagArray []GetNetPeeringTagInput - -func (GetNetPeeringTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetPeeringTag)(nil)).Elem() -} - -func (i GetNetPeeringTagArray) ToGetNetPeeringTagArrayOutput() GetNetPeeringTagArrayOutput { - return i.ToGetNetPeeringTagArrayOutputWithContext(context.Background()) -} - -func (i GetNetPeeringTagArray) ToGetNetPeeringTagArrayOutputWithContext(ctx context.Context) GetNetPeeringTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetPeeringTagArrayOutput) -} - -type GetNetPeeringTagOutput struct{ *pulumi.OutputState } - -func (GetNetPeeringTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetPeeringTag)(nil)).Elem() -} - -func (o GetNetPeeringTagOutput) ToGetNetPeeringTagOutput() GetNetPeeringTagOutput { - return o -} - -func (o GetNetPeeringTagOutput) ToGetNetPeeringTagOutputWithContext(ctx context.Context) GetNetPeeringTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetNetPeeringTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetNetPeeringTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetNetPeeringTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetNetPeeringTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetNetPeeringTagArrayOutput struct{ *pulumi.OutputState } - -func (GetNetPeeringTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetPeeringTag)(nil)).Elem() -} - -func (o GetNetPeeringTagArrayOutput) ToGetNetPeeringTagArrayOutput() GetNetPeeringTagArrayOutput { - return o -} - -func (o GetNetPeeringTagArrayOutput) ToGetNetPeeringTagArrayOutputWithContext(ctx context.Context) GetNetPeeringTagArrayOutput { - return o -} - -func (o GetNetPeeringTagArrayOutput) Index(i pulumi.IntInput) GetNetPeeringTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNetPeeringTag { - return vs[0].([]GetNetPeeringTag)[vs[1].(int)] - }).(GetNetPeeringTagOutput) -} - -type GetNetPeeringsFilter struct { - // The state of the Net peering (`pending-acceptance` \| `active` \| `rejected` \| `failed` \| `expired` \| `deleted`). - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetNetPeeringsFilterInput is an input type that accepts GetNetPeeringsFilterArgs and GetNetPeeringsFilterOutput values. -// You can construct a concrete instance of `GetNetPeeringsFilterInput` via: -// -// GetNetPeeringsFilterArgs{...} -type GetNetPeeringsFilterInput interface { - pulumi.Input - - ToGetNetPeeringsFilterOutput() GetNetPeeringsFilterOutput - ToGetNetPeeringsFilterOutputWithContext(context.Context) GetNetPeeringsFilterOutput -} - -type GetNetPeeringsFilterArgs struct { - // The state of the Net peering (`pending-acceptance` \| `active` \| `rejected` \| `failed` \| `expired` \| `deleted`). - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetNetPeeringsFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetPeeringsFilter)(nil)).Elem() -} - -func (i GetNetPeeringsFilterArgs) ToGetNetPeeringsFilterOutput() GetNetPeeringsFilterOutput { - return i.ToGetNetPeeringsFilterOutputWithContext(context.Background()) -} - -func (i GetNetPeeringsFilterArgs) ToGetNetPeeringsFilterOutputWithContext(ctx context.Context) GetNetPeeringsFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetPeeringsFilterOutput) -} - -// GetNetPeeringsFilterArrayInput is an input type that accepts GetNetPeeringsFilterArray and GetNetPeeringsFilterArrayOutput values. -// You can construct a concrete instance of `GetNetPeeringsFilterArrayInput` via: -// -// GetNetPeeringsFilterArray{ GetNetPeeringsFilterArgs{...} } -type GetNetPeeringsFilterArrayInput interface { - pulumi.Input - - ToGetNetPeeringsFilterArrayOutput() GetNetPeeringsFilterArrayOutput - ToGetNetPeeringsFilterArrayOutputWithContext(context.Context) GetNetPeeringsFilterArrayOutput -} - -type GetNetPeeringsFilterArray []GetNetPeeringsFilterInput - -func (GetNetPeeringsFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetPeeringsFilter)(nil)).Elem() -} - -func (i GetNetPeeringsFilterArray) ToGetNetPeeringsFilterArrayOutput() GetNetPeeringsFilterArrayOutput { - return i.ToGetNetPeeringsFilterArrayOutputWithContext(context.Background()) -} - -func (i GetNetPeeringsFilterArray) ToGetNetPeeringsFilterArrayOutputWithContext(ctx context.Context) GetNetPeeringsFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetPeeringsFilterArrayOutput) -} - -type GetNetPeeringsFilterOutput struct{ *pulumi.OutputState } - -func (GetNetPeeringsFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetPeeringsFilter)(nil)).Elem() -} - -func (o GetNetPeeringsFilterOutput) ToGetNetPeeringsFilterOutput() GetNetPeeringsFilterOutput { - return o -} - -func (o GetNetPeeringsFilterOutput) ToGetNetPeeringsFilterOutputWithContext(ctx context.Context) GetNetPeeringsFilterOutput { - return o -} - -// The state of the Net peering (`pending-acceptance` \| `active` \| `rejected` \| `failed` \| `expired` \| `deleted`). -func (o GetNetPeeringsFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetNetPeeringsFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetNetPeeringsFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetNetPeeringsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetNetPeeringsFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetNetPeeringsFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetPeeringsFilter)(nil)).Elem() -} - -func (o GetNetPeeringsFilterArrayOutput) ToGetNetPeeringsFilterArrayOutput() GetNetPeeringsFilterArrayOutput { - return o -} - -func (o GetNetPeeringsFilterArrayOutput) ToGetNetPeeringsFilterArrayOutputWithContext(ctx context.Context) GetNetPeeringsFilterArrayOutput { - return o -} - -func (o GetNetPeeringsFilterArrayOutput) Index(i pulumi.IntInput) GetNetPeeringsFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNetPeeringsFilter { - return vs[0].([]GetNetPeeringsFilter)[vs[1].(int)] - }).(GetNetPeeringsFilterOutput) -} - -type GetNetPeeringsNetPeering struct { - // Information about the accepter Net. - AccepterNets []GetNetPeeringsNetPeeringAccepterNet `pulumi:"accepterNets"` - // The ID of the Net peering. - NetPeeringId string `pulumi:"netPeeringId"` - // Information about the source Net. - SourceNets []GetNetPeeringsNetPeeringSourceNet `pulumi:"sourceNets"` - // Information about the state of the Net peering. - States []GetNetPeeringsNetPeeringState `pulumi:"states"` - // The key/value combinations of the tags associated with the Net peerings, in the following format: `TAGKEY=TAGVALUE`. - Tags []GetNetPeeringsNetPeeringTag `pulumi:"tags"` -} - -// GetNetPeeringsNetPeeringInput is an input type that accepts GetNetPeeringsNetPeeringArgs and GetNetPeeringsNetPeeringOutput values. -// You can construct a concrete instance of `GetNetPeeringsNetPeeringInput` via: -// -// GetNetPeeringsNetPeeringArgs{...} -type GetNetPeeringsNetPeeringInput interface { - pulumi.Input - - ToGetNetPeeringsNetPeeringOutput() GetNetPeeringsNetPeeringOutput - ToGetNetPeeringsNetPeeringOutputWithContext(context.Context) GetNetPeeringsNetPeeringOutput -} - -type GetNetPeeringsNetPeeringArgs struct { - // Information about the accepter Net. - AccepterNets GetNetPeeringsNetPeeringAccepterNetArrayInput `pulumi:"accepterNets"` - // The ID of the Net peering. - NetPeeringId pulumi.StringInput `pulumi:"netPeeringId"` - // Information about the source Net. - SourceNets GetNetPeeringsNetPeeringSourceNetArrayInput `pulumi:"sourceNets"` - // Information about the state of the Net peering. - States GetNetPeeringsNetPeeringStateArrayInput `pulumi:"states"` - // The key/value combinations of the tags associated with the Net peerings, in the following format: `TAGKEY=TAGVALUE`. - Tags GetNetPeeringsNetPeeringTagArrayInput `pulumi:"tags"` -} - -func (GetNetPeeringsNetPeeringArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetPeeringsNetPeering)(nil)).Elem() -} - -func (i GetNetPeeringsNetPeeringArgs) ToGetNetPeeringsNetPeeringOutput() GetNetPeeringsNetPeeringOutput { - return i.ToGetNetPeeringsNetPeeringOutputWithContext(context.Background()) -} - -func (i GetNetPeeringsNetPeeringArgs) ToGetNetPeeringsNetPeeringOutputWithContext(ctx context.Context) GetNetPeeringsNetPeeringOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetPeeringsNetPeeringOutput) -} - -// GetNetPeeringsNetPeeringArrayInput is an input type that accepts GetNetPeeringsNetPeeringArray and GetNetPeeringsNetPeeringArrayOutput values. -// You can construct a concrete instance of `GetNetPeeringsNetPeeringArrayInput` via: -// -// GetNetPeeringsNetPeeringArray{ GetNetPeeringsNetPeeringArgs{...} } -type GetNetPeeringsNetPeeringArrayInput interface { - pulumi.Input - - ToGetNetPeeringsNetPeeringArrayOutput() GetNetPeeringsNetPeeringArrayOutput - ToGetNetPeeringsNetPeeringArrayOutputWithContext(context.Context) GetNetPeeringsNetPeeringArrayOutput -} - -type GetNetPeeringsNetPeeringArray []GetNetPeeringsNetPeeringInput - -func (GetNetPeeringsNetPeeringArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetPeeringsNetPeering)(nil)).Elem() -} - -func (i GetNetPeeringsNetPeeringArray) ToGetNetPeeringsNetPeeringArrayOutput() GetNetPeeringsNetPeeringArrayOutput { - return i.ToGetNetPeeringsNetPeeringArrayOutputWithContext(context.Background()) -} - -func (i GetNetPeeringsNetPeeringArray) ToGetNetPeeringsNetPeeringArrayOutputWithContext(ctx context.Context) GetNetPeeringsNetPeeringArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetPeeringsNetPeeringArrayOutput) -} - -type GetNetPeeringsNetPeeringOutput struct{ *pulumi.OutputState } - -func (GetNetPeeringsNetPeeringOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetPeeringsNetPeering)(nil)).Elem() -} - -func (o GetNetPeeringsNetPeeringOutput) ToGetNetPeeringsNetPeeringOutput() GetNetPeeringsNetPeeringOutput { - return o -} - -func (o GetNetPeeringsNetPeeringOutput) ToGetNetPeeringsNetPeeringOutputWithContext(ctx context.Context) GetNetPeeringsNetPeeringOutput { - return o -} - -// Information about the accepter Net. -func (o GetNetPeeringsNetPeeringOutput) AccepterNets() GetNetPeeringsNetPeeringAccepterNetArrayOutput { - return o.ApplyT(func(v GetNetPeeringsNetPeering) []GetNetPeeringsNetPeeringAccepterNet { return v.AccepterNets }).(GetNetPeeringsNetPeeringAccepterNetArrayOutput) -} - -// The ID of the Net peering. -func (o GetNetPeeringsNetPeeringOutput) NetPeeringId() pulumi.StringOutput { - return o.ApplyT(func(v GetNetPeeringsNetPeering) string { return v.NetPeeringId }).(pulumi.StringOutput) -} - -// Information about the source Net. -func (o GetNetPeeringsNetPeeringOutput) SourceNets() GetNetPeeringsNetPeeringSourceNetArrayOutput { - return o.ApplyT(func(v GetNetPeeringsNetPeering) []GetNetPeeringsNetPeeringSourceNet { return v.SourceNets }).(GetNetPeeringsNetPeeringSourceNetArrayOutput) -} - -// Information about the state of the Net peering. -func (o GetNetPeeringsNetPeeringOutput) States() GetNetPeeringsNetPeeringStateArrayOutput { - return o.ApplyT(func(v GetNetPeeringsNetPeering) []GetNetPeeringsNetPeeringState { return v.States }).(GetNetPeeringsNetPeeringStateArrayOutput) -} - -// The key/value combinations of the tags associated with the Net peerings, in the following format: `TAGKEY=TAGVALUE`. -func (o GetNetPeeringsNetPeeringOutput) Tags() GetNetPeeringsNetPeeringTagArrayOutput { - return o.ApplyT(func(v GetNetPeeringsNetPeering) []GetNetPeeringsNetPeeringTag { return v.Tags }).(GetNetPeeringsNetPeeringTagArrayOutput) -} - -type GetNetPeeringsNetPeeringArrayOutput struct{ *pulumi.OutputState } - -func (GetNetPeeringsNetPeeringArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetPeeringsNetPeering)(nil)).Elem() -} - -func (o GetNetPeeringsNetPeeringArrayOutput) ToGetNetPeeringsNetPeeringArrayOutput() GetNetPeeringsNetPeeringArrayOutput { - return o -} - -func (o GetNetPeeringsNetPeeringArrayOutput) ToGetNetPeeringsNetPeeringArrayOutputWithContext(ctx context.Context) GetNetPeeringsNetPeeringArrayOutput { - return o -} - -func (o GetNetPeeringsNetPeeringArrayOutput) Index(i pulumi.IntInput) GetNetPeeringsNetPeeringOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNetPeeringsNetPeering { - return vs[0].([]GetNetPeeringsNetPeering)[vs[1].(int)] - }).(GetNetPeeringsNetPeeringOutput) -} - -type GetNetPeeringsNetPeeringAccepterNet struct { - // The account ID of the owner of the source Net. - AccountId string `pulumi:"accountId"` - // The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - IpRange string `pulumi:"ipRange"` - // The ID of the source Net. - NetId string `pulumi:"netId"` -} - -// GetNetPeeringsNetPeeringAccepterNetInput is an input type that accepts GetNetPeeringsNetPeeringAccepterNetArgs and GetNetPeeringsNetPeeringAccepterNetOutput values. -// You can construct a concrete instance of `GetNetPeeringsNetPeeringAccepterNetInput` via: -// -// GetNetPeeringsNetPeeringAccepterNetArgs{...} -type GetNetPeeringsNetPeeringAccepterNetInput interface { - pulumi.Input - - ToGetNetPeeringsNetPeeringAccepterNetOutput() GetNetPeeringsNetPeeringAccepterNetOutput - ToGetNetPeeringsNetPeeringAccepterNetOutputWithContext(context.Context) GetNetPeeringsNetPeeringAccepterNetOutput -} - -type GetNetPeeringsNetPeeringAccepterNetArgs struct { - // The account ID of the owner of the source Net. - AccountId pulumi.StringInput `pulumi:"accountId"` - // The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - IpRange pulumi.StringInput `pulumi:"ipRange"` - // The ID of the source Net. - NetId pulumi.StringInput `pulumi:"netId"` -} - -func (GetNetPeeringsNetPeeringAccepterNetArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetPeeringsNetPeeringAccepterNet)(nil)).Elem() -} - -func (i GetNetPeeringsNetPeeringAccepterNetArgs) ToGetNetPeeringsNetPeeringAccepterNetOutput() GetNetPeeringsNetPeeringAccepterNetOutput { - return i.ToGetNetPeeringsNetPeeringAccepterNetOutputWithContext(context.Background()) -} - -func (i GetNetPeeringsNetPeeringAccepterNetArgs) ToGetNetPeeringsNetPeeringAccepterNetOutputWithContext(ctx context.Context) GetNetPeeringsNetPeeringAccepterNetOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetPeeringsNetPeeringAccepterNetOutput) -} - -// GetNetPeeringsNetPeeringAccepterNetArrayInput is an input type that accepts GetNetPeeringsNetPeeringAccepterNetArray and GetNetPeeringsNetPeeringAccepterNetArrayOutput values. -// You can construct a concrete instance of `GetNetPeeringsNetPeeringAccepterNetArrayInput` via: -// -// GetNetPeeringsNetPeeringAccepterNetArray{ GetNetPeeringsNetPeeringAccepterNetArgs{...} } -type GetNetPeeringsNetPeeringAccepterNetArrayInput interface { - pulumi.Input - - ToGetNetPeeringsNetPeeringAccepterNetArrayOutput() GetNetPeeringsNetPeeringAccepterNetArrayOutput - ToGetNetPeeringsNetPeeringAccepterNetArrayOutputWithContext(context.Context) GetNetPeeringsNetPeeringAccepterNetArrayOutput -} - -type GetNetPeeringsNetPeeringAccepterNetArray []GetNetPeeringsNetPeeringAccepterNetInput - -func (GetNetPeeringsNetPeeringAccepterNetArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetPeeringsNetPeeringAccepterNet)(nil)).Elem() -} - -func (i GetNetPeeringsNetPeeringAccepterNetArray) ToGetNetPeeringsNetPeeringAccepterNetArrayOutput() GetNetPeeringsNetPeeringAccepterNetArrayOutput { - return i.ToGetNetPeeringsNetPeeringAccepterNetArrayOutputWithContext(context.Background()) -} - -func (i GetNetPeeringsNetPeeringAccepterNetArray) ToGetNetPeeringsNetPeeringAccepterNetArrayOutputWithContext(ctx context.Context) GetNetPeeringsNetPeeringAccepterNetArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetPeeringsNetPeeringAccepterNetArrayOutput) -} - -type GetNetPeeringsNetPeeringAccepterNetOutput struct{ *pulumi.OutputState } - -func (GetNetPeeringsNetPeeringAccepterNetOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetPeeringsNetPeeringAccepterNet)(nil)).Elem() -} - -func (o GetNetPeeringsNetPeeringAccepterNetOutput) ToGetNetPeeringsNetPeeringAccepterNetOutput() GetNetPeeringsNetPeeringAccepterNetOutput { - return o -} - -func (o GetNetPeeringsNetPeeringAccepterNetOutput) ToGetNetPeeringsNetPeeringAccepterNetOutputWithContext(ctx context.Context) GetNetPeeringsNetPeeringAccepterNetOutput { - return o -} - -// The account ID of the owner of the source Net. -func (o GetNetPeeringsNetPeeringAccepterNetOutput) AccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetNetPeeringsNetPeeringAccepterNet) string { return v.AccountId }).(pulumi.StringOutput) -} - -// The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). -func (o GetNetPeeringsNetPeeringAccepterNetOutput) IpRange() pulumi.StringOutput { - return o.ApplyT(func(v GetNetPeeringsNetPeeringAccepterNet) string { return v.IpRange }).(pulumi.StringOutput) -} - -// The ID of the source Net. -func (o GetNetPeeringsNetPeeringAccepterNetOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v GetNetPeeringsNetPeeringAccepterNet) string { return v.NetId }).(pulumi.StringOutput) -} - -type GetNetPeeringsNetPeeringAccepterNetArrayOutput struct{ *pulumi.OutputState } - -func (GetNetPeeringsNetPeeringAccepterNetArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetPeeringsNetPeeringAccepterNet)(nil)).Elem() -} - -func (o GetNetPeeringsNetPeeringAccepterNetArrayOutput) ToGetNetPeeringsNetPeeringAccepterNetArrayOutput() GetNetPeeringsNetPeeringAccepterNetArrayOutput { - return o -} - -func (o GetNetPeeringsNetPeeringAccepterNetArrayOutput) ToGetNetPeeringsNetPeeringAccepterNetArrayOutputWithContext(ctx context.Context) GetNetPeeringsNetPeeringAccepterNetArrayOutput { - return o -} - -func (o GetNetPeeringsNetPeeringAccepterNetArrayOutput) Index(i pulumi.IntInput) GetNetPeeringsNetPeeringAccepterNetOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNetPeeringsNetPeeringAccepterNet { - return vs[0].([]GetNetPeeringsNetPeeringAccepterNet)[vs[1].(int)] - }).(GetNetPeeringsNetPeeringAccepterNetOutput) -} - -type GetNetPeeringsNetPeeringSourceNet struct { - // The account ID of the owner of the source Net. - AccountId string `pulumi:"accountId"` - // The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - IpRange string `pulumi:"ipRange"` - // The ID of the source Net. - NetId string `pulumi:"netId"` -} - -// GetNetPeeringsNetPeeringSourceNetInput is an input type that accepts GetNetPeeringsNetPeeringSourceNetArgs and GetNetPeeringsNetPeeringSourceNetOutput values. -// You can construct a concrete instance of `GetNetPeeringsNetPeeringSourceNetInput` via: -// -// GetNetPeeringsNetPeeringSourceNetArgs{...} -type GetNetPeeringsNetPeeringSourceNetInput interface { - pulumi.Input - - ToGetNetPeeringsNetPeeringSourceNetOutput() GetNetPeeringsNetPeeringSourceNetOutput - ToGetNetPeeringsNetPeeringSourceNetOutputWithContext(context.Context) GetNetPeeringsNetPeeringSourceNetOutput -} - -type GetNetPeeringsNetPeeringSourceNetArgs struct { - // The account ID of the owner of the source Net. - AccountId pulumi.StringInput `pulumi:"accountId"` - // The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - IpRange pulumi.StringInput `pulumi:"ipRange"` - // The ID of the source Net. - NetId pulumi.StringInput `pulumi:"netId"` -} - -func (GetNetPeeringsNetPeeringSourceNetArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetPeeringsNetPeeringSourceNet)(nil)).Elem() -} - -func (i GetNetPeeringsNetPeeringSourceNetArgs) ToGetNetPeeringsNetPeeringSourceNetOutput() GetNetPeeringsNetPeeringSourceNetOutput { - return i.ToGetNetPeeringsNetPeeringSourceNetOutputWithContext(context.Background()) -} - -func (i GetNetPeeringsNetPeeringSourceNetArgs) ToGetNetPeeringsNetPeeringSourceNetOutputWithContext(ctx context.Context) GetNetPeeringsNetPeeringSourceNetOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetPeeringsNetPeeringSourceNetOutput) -} - -// GetNetPeeringsNetPeeringSourceNetArrayInput is an input type that accepts GetNetPeeringsNetPeeringSourceNetArray and GetNetPeeringsNetPeeringSourceNetArrayOutput values. -// You can construct a concrete instance of `GetNetPeeringsNetPeeringSourceNetArrayInput` via: -// -// GetNetPeeringsNetPeeringSourceNetArray{ GetNetPeeringsNetPeeringSourceNetArgs{...} } -type GetNetPeeringsNetPeeringSourceNetArrayInput interface { - pulumi.Input - - ToGetNetPeeringsNetPeeringSourceNetArrayOutput() GetNetPeeringsNetPeeringSourceNetArrayOutput - ToGetNetPeeringsNetPeeringSourceNetArrayOutputWithContext(context.Context) GetNetPeeringsNetPeeringSourceNetArrayOutput -} - -type GetNetPeeringsNetPeeringSourceNetArray []GetNetPeeringsNetPeeringSourceNetInput - -func (GetNetPeeringsNetPeeringSourceNetArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetPeeringsNetPeeringSourceNet)(nil)).Elem() -} - -func (i GetNetPeeringsNetPeeringSourceNetArray) ToGetNetPeeringsNetPeeringSourceNetArrayOutput() GetNetPeeringsNetPeeringSourceNetArrayOutput { - return i.ToGetNetPeeringsNetPeeringSourceNetArrayOutputWithContext(context.Background()) -} - -func (i GetNetPeeringsNetPeeringSourceNetArray) ToGetNetPeeringsNetPeeringSourceNetArrayOutputWithContext(ctx context.Context) GetNetPeeringsNetPeeringSourceNetArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetPeeringsNetPeeringSourceNetArrayOutput) -} - -type GetNetPeeringsNetPeeringSourceNetOutput struct{ *pulumi.OutputState } - -func (GetNetPeeringsNetPeeringSourceNetOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetPeeringsNetPeeringSourceNet)(nil)).Elem() -} - -func (o GetNetPeeringsNetPeeringSourceNetOutput) ToGetNetPeeringsNetPeeringSourceNetOutput() GetNetPeeringsNetPeeringSourceNetOutput { - return o -} - -func (o GetNetPeeringsNetPeeringSourceNetOutput) ToGetNetPeeringsNetPeeringSourceNetOutputWithContext(ctx context.Context) GetNetPeeringsNetPeeringSourceNetOutput { - return o -} - -// The account ID of the owner of the source Net. -func (o GetNetPeeringsNetPeeringSourceNetOutput) AccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetNetPeeringsNetPeeringSourceNet) string { return v.AccountId }).(pulumi.StringOutput) -} - -// The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). -func (o GetNetPeeringsNetPeeringSourceNetOutput) IpRange() pulumi.StringOutput { - return o.ApplyT(func(v GetNetPeeringsNetPeeringSourceNet) string { return v.IpRange }).(pulumi.StringOutput) -} - -// The ID of the source Net. -func (o GetNetPeeringsNetPeeringSourceNetOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v GetNetPeeringsNetPeeringSourceNet) string { return v.NetId }).(pulumi.StringOutput) -} - -type GetNetPeeringsNetPeeringSourceNetArrayOutput struct{ *pulumi.OutputState } - -func (GetNetPeeringsNetPeeringSourceNetArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetPeeringsNetPeeringSourceNet)(nil)).Elem() -} - -func (o GetNetPeeringsNetPeeringSourceNetArrayOutput) ToGetNetPeeringsNetPeeringSourceNetArrayOutput() GetNetPeeringsNetPeeringSourceNetArrayOutput { - return o -} - -func (o GetNetPeeringsNetPeeringSourceNetArrayOutput) ToGetNetPeeringsNetPeeringSourceNetArrayOutputWithContext(ctx context.Context) GetNetPeeringsNetPeeringSourceNetArrayOutput { - return o -} - -func (o GetNetPeeringsNetPeeringSourceNetArrayOutput) Index(i pulumi.IntInput) GetNetPeeringsNetPeeringSourceNetOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNetPeeringsNetPeeringSourceNet { - return vs[0].([]GetNetPeeringsNetPeeringSourceNet)[vs[1].(int)] - }).(GetNetPeeringsNetPeeringSourceNetOutput) -} - -type GetNetPeeringsNetPeeringState struct { - // Additional information about the state of the Net peering. - Message string `pulumi:"message"` - // The state of the Net peering (`pending-acceptance` \| `active` \| `rejected` \| `failed` \| `expired` \| `deleted`). - Name string `pulumi:"name"` -} - -// GetNetPeeringsNetPeeringStateInput is an input type that accepts GetNetPeeringsNetPeeringStateArgs and GetNetPeeringsNetPeeringStateOutput values. -// You can construct a concrete instance of `GetNetPeeringsNetPeeringStateInput` via: -// -// GetNetPeeringsNetPeeringStateArgs{...} -type GetNetPeeringsNetPeeringStateInput interface { - pulumi.Input - - ToGetNetPeeringsNetPeeringStateOutput() GetNetPeeringsNetPeeringStateOutput - ToGetNetPeeringsNetPeeringStateOutputWithContext(context.Context) GetNetPeeringsNetPeeringStateOutput -} - -type GetNetPeeringsNetPeeringStateArgs struct { - // Additional information about the state of the Net peering. - Message pulumi.StringInput `pulumi:"message"` - // The state of the Net peering (`pending-acceptance` \| `active` \| `rejected` \| `failed` \| `expired` \| `deleted`). - Name pulumi.StringInput `pulumi:"name"` -} - -func (GetNetPeeringsNetPeeringStateArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetPeeringsNetPeeringState)(nil)).Elem() -} - -func (i GetNetPeeringsNetPeeringStateArgs) ToGetNetPeeringsNetPeeringStateOutput() GetNetPeeringsNetPeeringStateOutput { - return i.ToGetNetPeeringsNetPeeringStateOutputWithContext(context.Background()) -} - -func (i GetNetPeeringsNetPeeringStateArgs) ToGetNetPeeringsNetPeeringStateOutputWithContext(ctx context.Context) GetNetPeeringsNetPeeringStateOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetPeeringsNetPeeringStateOutput) -} - -// GetNetPeeringsNetPeeringStateArrayInput is an input type that accepts GetNetPeeringsNetPeeringStateArray and GetNetPeeringsNetPeeringStateArrayOutput values. -// You can construct a concrete instance of `GetNetPeeringsNetPeeringStateArrayInput` via: -// -// GetNetPeeringsNetPeeringStateArray{ GetNetPeeringsNetPeeringStateArgs{...} } -type GetNetPeeringsNetPeeringStateArrayInput interface { - pulumi.Input - - ToGetNetPeeringsNetPeeringStateArrayOutput() GetNetPeeringsNetPeeringStateArrayOutput - ToGetNetPeeringsNetPeeringStateArrayOutputWithContext(context.Context) GetNetPeeringsNetPeeringStateArrayOutput -} - -type GetNetPeeringsNetPeeringStateArray []GetNetPeeringsNetPeeringStateInput - -func (GetNetPeeringsNetPeeringStateArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetPeeringsNetPeeringState)(nil)).Elem() -} - -func (i GetNetPeeringsNetPeeringStateArray) ToGetNetPeeringsNetPeeringStateArrayOutput() GetNetPeeringsNetPeeringStateArrayOutput { - return i.ToGetNetPeeringsNetPeeringStateArrayOutputWithContext(context.Background()) -} - -func (i GetNetPeeringsNetPeeringStateArray) ToGetNetPeeringsNetPeeringStateArrayOutputWithContext(ctx context.Context) GetNetPeeringsNetPeeringStateArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetPeeringsNetPeeringStateArrayOutput) -} - -type GetNetPeeringsNetPeeringStateOutput struct{ *pulumi.OutputState } - -func (GetNetPeeringsNetPeeringStateOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetPeeringsNetPeeringState)(nil)).Elem() -} - -func (o GetNetPeeringsNetPeeringStateOutput) ToGetNetPeeringsNetPeeringStateOutput() GetNetPeeringsNetPeeringStateOutput { - return o -} - -func (o GetNetPeeringsNetPeeringStateOutput) ToGetNetPeeringsNetPeeringStateOutputWithContext(ctx context.Context) GetNetPeeringsNetPeeringStateOutput { - return o -} - -// Additional information about the state of the Net peering. -func (o GetNetPeeringsNetPeeringStateOutput) Message() pulumi.StringOutput { - return o.ApplyT(func(v GetNetPeeringsNetPeeringState) string { return v.Message }).(pulumi.StringOutput) -} - -// The state of the Net peering (`pending-acceptance` \| `active` \| `rejected` \| `failed` \| `expired` \| `deleted`). -func (o GetNetPeeringsNetPeeringStateOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetNetPeeringsNetPeeringState) string { return v.Name }).(pulumi.StringOutput) -} - -type GetNetPeeringsNetPeeringStateArrayOutput struct{ *pulumi.OutputState } - -func (GetNetPeeringsNetPeeringStateArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetPeeringsNetPeeringState)(nil)).Elem() -} - -func (o GetNetPeeringsNetPeeringStateArrayOutput) ToGetNetPeeringsNetPeeringStateArrayOutput() GetNetPeeringsNetPeeringStateArrayOutput { - return o -} - -func (o GetNetPeeringsNetPeeringStateArrayOutput) ToGetNetPeeringsNetPeeringStateArrayOutputWithContext(ctx context.Context) GetNetPeeringsNetPeeringStateArrayOutput { - return o -} - -func (o GetNetPeeringsNetPeeringStateArrayOutput) Index(i pulumi.IntInput) GetNetPeeringsNetPeeringStateOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNetPeeringsNetPeeringState { - return vs[0].([]GetNetPeeringsNetPeeringState)[vs[1].(int)] - }).(GetNetPeeringsNetPeeringStateOutput) -} - -type GetNetPeeringsNetPeeringTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetNetPeeringsNetPeeringTagInput is an input type that accepts GetNetPeeringsNetPeeringTagArgs and GetNetPeeringsNetPeeringTagOutput values. -// You can construct a concrete instance of `GetNetPeeringsNetPeeringTagInput` via: -// -// GetNetPeeringsNetPeeringTagArgs{...} -type GetNetPeeringsNetPeeringTagInput interface { - pulumi.Input - - ToGetNetPeeringsNetPeeringTagOutput() GetNetPeeringsNetPeeringTagOutput - ToGetNetPeeringsNetPeeringTagOutputWithContext(context.Context) GetNetPeeringsNetPeeringTagOutput -} - -type GetNetPeeringsNetPeeringTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetNetPeeringsNetPeeringTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetPeeringsNetPeeringTag)(nil)).Elem() -} - -func (i GetNetPeeringsNetPeeringTagArgs) ToGetNetPeeringsNetPeeringTagOutput() GetNetPeeringsNetPeeringTagOutput { - return i.ToGetNetPeeringsNetPeeringTagOutputWithContext(context.Background()) -} - -func (i GetNetPeeringsNetPeeringTagArgs) ToGetNetPeeringsNetPeeringTagOutputWithContext(ctx context.Context) GetNetPeeringsNetPeeringTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetPeeringsNetPeeringTagOutput) -} - -// GetNetPeeringsNetPeeringTagArrayInput is an input type that accepts GetNetPeeringsNetPeeringTagArray and GetNetPeeringsNetPeeringTagArrayOutput values. -// You can construct a concrete instance of `GetNetPeeringsNetPeeringTagArrayInput` via: -// -// GetNetPeeringsNetPeeringTagArray{ GetNetPeeringsNetPeeringTagArgs{...} } -type GetNetPeeringsNetPeeringTagArrayInput interface { - pulumi.Input - - ToGetNetPeeringsNetPeeringTagArrayOutput() GetNetPeeringsNetPeeringTagArrayOutput - ToGetNetPeeringsNetPeeringTagArrayOutputWithContext(context.Context) GetNetPeeringsNetPeeringTagArrayOutput -} - -type GetNetPeeringsNetPeeringTagArray []GetNetPeeringsNetPeeringTagInput - -func (GetNetPeeringsNetPeeringTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetPeeringsNetPeeringTag)(nil)).Elem() -} - -func (i GetNetPeeringsNetPeeringTagArray) ToGetNetPeeringsNetPeeringTagArrayOutput() GetNetPeeringsNetPeeringTagArrayOutput { - return i.ToGetNetPeeringsNetPeeringTagArrayOutputWithContext(context.Background()) -} - -func (i GetNetPeeringsNetPeeringTagArray) ToGetNetPeeringsNetPeeringTagArrayOutputWithContext(ctx context.Context) GetNetPeeringsNetPeeringTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetPeeringsNetPeeringTagArrayOutput) -} - -type GetNetPeeringsNetPeeringTagOutput struct{ *pulumi.OutputState } - -func (GetNetPeeringsNetPeeringTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetPeeringsNetPeeringTag)(nil)).Elem() -} - -func (o GetNetPeeringsNetPeeringTagOutput) ToGetNetPeeringsNetPeeringTagOutput() GetNetPeeringsNetPeeringTagOutput { - return o -} - -func (o GetNetPeeringsNetPeeringTagOutput) ToGetNetPeeringsNetPeeringTagOutputWithContext(ctx context.Context) GetNetPeeringsNetPeeringTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetNetPeeringsNetPeeringTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetNetPeeringsNetPeeringTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetNetPeeringsNetPeeringTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetNetPeeringsNetPeeringTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetNetPeeringsNetPeeringTagArrayOutput struct{ *pulumi.OutputState } - -func (GetNetPeeringsNetPeeringTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetPeeringsNetPeeringTag)(nil)).Elem() -} - -func (o GetNetPeeringsNetPeeringTagArrayOutput) ToGetNetPeeringsNetPeeringTagArrayOutput() GetNetPeeringsNetPeeringTagArrayOutput { - return o -} - -func (o GetNetPeeringsNetPeeringTagArrayOutput) ToGetNetPeeringsNetPeeringTagArrayOutputWithContext(ctx context.Context) GetNetPeeringsNetPeeringTagArrayOutput { - return o -} - -func (o GetNetPeeringsNetPeeringTagArrayOutput) Index(i pulumi.IntInput) GetNetPeeringsNetPeeringTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNetPeeringsNetPeeringTag { - return vs[0].([]GetNetPeeringsNetPeeringTag)[vs[1].(int)] - }).(GetNetPeeringsNetPeeringTagOutput) -} - -type GetNetTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetNetTagInput is an input type that accepts GetNetTagArgs and GetNetTagOutput values. -// You can construct a concrete instance of `GetNetTagInput` via: -// -// GetNetTagArgs{...} -type GetNetTagInput interface { - pulumi.Input - - ToGetNetTagOutput() GetNetTagOutput - ToGetNetTagOutputWithContext(context.Context) GetNetTagOutput -} - -type GetNetTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetNetTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetTag)(nil)).Elem() -} - -func (i GetNetTagArgs) ToGetNetTagOutput() GetNetTagOutput { - return i.ToGetNetTagOutputWithContext(context.Background()) -} - -func (i GetNetTagArgs) ToGetNetTagOutputWithContext(ctx context.Context) GetNetTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetTagOutput) -} - -// GetNetTagArrayInput is an input type that accepts GetNetTagArray and GetNetTagArrayOutput values. -// You can construct a concrete instance of `GetNetTagArrayInput` via: -// -// GetNetTagArray{ GetNetTagArgs{...} } -type GetNetTagArrayInput interface { - pulumi.Input - - ToGetNetTagArrayOutput() GetNetTagArrayOutput - ToGetNetTagArrayOutputWithContext(context.Context) GetNetTagArrayOutput -} - -type GetNetTagArray []GetNetTagInput - -func (GetNetTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetTag)(nil)).Elem() -} - -func (i GetNetTagArray) ToGetNetTagArrayOutput() GetNetTagArrayOutput { - return i.ToGetNetTagArrayOutputWithContext(context.Background()) -} - -func (i GetNetTagArray) ToGetNetTagArrayOutputWithContext(ctx context.Context) GetNetTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetTagArrayOutput) -} - -type GetNetTagOutput struct{ *pulumi.OutputState } - -func (GetNetTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetTag)(nil)).Elem() -} - -func (o GetNetTagOutput) ToGetNetTagOutput() GetNetTagOutput { - return o -} - -func (o GetNetTagOutput) ToGetNetTagOutputWithContext(ctx context.Context) GetNetTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetNetTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetNetTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetNetTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetNetTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetNetTagArrayOutput struct{ *pulumi.OutputState } - -func (GetNetTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetTag)(nil)).Elem() -} - -func (o GetNetTagArrayOutput) ToGetNetTagArrayOutput() GetNetTagArrayOutput { - return o -} - -func (o GetNetTagArrayOutput) ToGetNetTagArrayOutputWithContext(ctx context.Context) GetNetTagArrayOutput { - return o -} - -func (o GetNetTagArrayOutput) Index(i pulumi.IntInput) GetNetTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNetTag { - return vs[0].([]GetNetTag)[vs[1].(int)] - }).(GetNetTagOutput) -} - -type GetNetsFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetNetsFilterInput is an input type that accepts GetNetsFilterArgs and GetNetsFilterOutput values. -// You can construct a concrete instance of `GetNetsFilterInput` via: -// -// GetNetsFilterArgs{...} -type GetNetsFilterInput interface { - pulumi.Input - - ToGetNetsFilterOutput() GetNetsFilterOutput - ToGetNetsFilterOutputWithContext(context.Context) GetNetsFilterOutput -} - -type GetNetsFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetNetsFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetsFilter)(nil)).Elem() -} - -func (i GetNetsFilterArgs) ToGetNetsFilterOutput() GetNetsFilterOutput { - return i.ToGetNetsFilterOutputWithContext(context.Background()) -} - -func (i GetNetsFilterArgs) ToGetNetsFilterOutputWithContext(ctx context.Context) GetNetsFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetsFilterOutput) -} - -// GetNetsFilterArrayInput is an input type that accepts GetNetsFilterArray and GetNetsFilterArrayOutput values. -// You can construct a concrete instance of `GetNetsFilterArrayInput` via: -// -// GetNetsFilterArray{ GetNetsFilterArgs{...} } -type GetNetsFilterArrayInput interface { - pulumi.Input - - ToGetNetsFilterArrayOutput() GetNetsFilterArrayOutput - ToGetNetsFilterArrayOutputWithContext(context.Context) GetNetsFilterArrayOutput -} - -type GetNetsFilterArray []GetNetsFilterInput - -func (GetNetsFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetsFilter)(nil)).Elem() -} - -func (i GetNetsFilterArray) ToGetNetsFilterArrayOutput() GetNetsFilterArrayOutput { - return i.ToGetNetsFilterArrayOutputWithContext(context.Background()) -} - -func (i GetNetsFilterArray) ToGetNetsFilterArrayOutputWithContext(ctx context.Context) GetNetsFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetsFilterArrayOutput) -} - -type GetNetsFilterOutput struct{ *pulumi.OutputState } - -func (GetNetsFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetsFilter)(nil)).Elem() -} - -func (o GetNetsFilterOutput) ToGetNetsFilterOutput() GetNetsFilterOutput { - return o -} - -func (o GetNetsFilterOutput) ToGetNetsFilterOutputWithContext(ctx context.Context) GetNetsFilterOutput { - return o -} - -func (o GetNetsFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetNetsFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetNetsFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetNetsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetNetsFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetNetsFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetsFilter)(nil)).Elem() -} - -func (o GetNetsFilterArrayOutput) ToGetNetsFilterArrayOutput() GetNetsFilterArrayOutput { - return o -} - -func (o GetNetsFilterArrayOutput) ToGetNetsFilterArrayOutputWithContext(ctx context.Context) GetNetsFilterArrayOutput { - return o -} - -func (o GetNetsFilterArrayOutput) Index(i pulumi.IntInput) GetNetsFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNetsFilter { - return vs[0].([]GetNetsFilter)[vs[1].(int)] - }).(GetNetsFilterOutput) -} - -type GetNetsNet struct { - // The ID of the DHCP options set (or `default` if you want to associate the default one). - DhcpOptionsSetId string `pulumi:"dhcpOptionsSetId"` - // The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). - IpRange string `pulumi:"ipRange"` - // The ID of the Net. - NetId string `pulumi:"netId"` - // The state of the Net (`pending` \| `available` \| `deleted`). - State string `pulumi:"state"` - // The key/value combinations of the tags associated with the Nets, in the following format: `TAGKEY=TAGVALUE`. - Tags []GetNetsNetTag `pulumi:"tags"` - // The VM tenancy in a Net. - Tenancy string `pulumi:"tenancy"` -} - -// GetNetsNetInput is an input type that accepts GetNetsNetArgs and GetNetsNetOutput values. -// You can construct a concrete instance of `GetNetsNetInput` via: -// -// GetNetsNetArgs{...} -type GetNetsNetInput interface { - pulumi.Input - - ToGetNetsNetOutput() GetNetsNetOutput - ToGetNetsNetOutputWithContext(context.Context) GetNetsNetOutput -} - -type GetNetsNetArgs struct { - // The ID of the DHCP options set (or `default` if you want to associate the default one). - DhcpOptionsSetId pulumi.StringInput `pulumi:"dhcpOptionsSetId"` - // The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). - IpRange pulumi.StringInput `pulumi:"ipRange"` - // The ID of the Net. - NetId pulumi.StringInput `pulumi:"netId"` - // The state of the Net (`pending` \| `available` \| `deleted`). - State pulumi.StringInput `pulumi:"state"` - // The key/value combinations of the tags associated with the Nets, in the following format: `TAGKEY=TAGVALUE`. - Tags GetNetsNetTagArrayInput `pulumi:"tags"` - // The VM tenancy in a Net. - Tenancy pulumi.StringInput `pulumi:"tenancy"` -} - -func (GetNetsNetArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetsNet)(nil)).Elem() -} - -func (i GetNetsNetArgs) ToGetNetsNetOutput() GetNetsNetOutput { - return i.ToGetNetsNetOutputWithContext(context.Background()) -} - -func (i GetNetsNetArgs) ToGetNetsNetOutputWithContext(ctx context.Context) GetNetsNetOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetsNetOutput) -} - -// GetNetsNetArrayInput is an input type that accepts GetNetsNetArray and GetNetsNetArrayOutput values. -// You can construct a concrete instance of `GetNetsNetArrayInput` via: -// -// GetNetsNetArray{ GetNetsNetArgs{...} } -type GetNetsNetArrayInput interface { - pulumi.Input - - ToGetNetsNetArrayOutput() GetNetsNetArrayOutput - ToGetNetsNetArrayOutputWithContext(context.Context) GetNetsNetArrayOutput -} - -type GetNetsNetArray []GetNetsNetInput - -func (GetNetsNetArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetsNet)(nil)).Elem() -} - -func (i GetNetsNetArray) ToGetNetsNetArrayOutput() GetNetsNetArrayOutput { - return i.ToGetNetsNetArrayOutputWithContext(context.Background()) -} - -func (i GetNetsNetArray) ToGetNetsNetArrayOutputWithContext(ctx context.Context) GetNetsNetArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetsNetArrayOutput) -} - -type GetNetsNetOutput struct{ *pulumi.OutputState } - -func (GetNetsNetOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetsNet)(nil)).Elem() -} - -func (o GetNetsNetOutput) ToGetNetsNetOutput() GetNetsNetOutput { - return o -} - -func (o GetNetsNetOutput) ToGetNetsNetOutputWithContext(ctx context.Context) GetNetsNetOutput { - return o -} - -// The ID of the DHCP options set (or `default` if you want to associate the default one). -func (o GetNetsNetOutput) DhcpOptionsSetId() pulumi.StringOutput { - return o.ApplyT(func(v GetNetsNet) string { return v.DhcpOptionsSetId }).(pulumi.StringOutput) -} - -// The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). -func (o GetNetsNetOutput) IpRange() pulumi.StringOutput { - return o.ApplyT(func(v GetNetsNet) string { return v.IpRange }).(pulumi.StringOutput) -} - -// The ID of the Net. -func (o GetNetsNetOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v GetNetsNet) string { return v.NetId }).(pulumi.StringOutput) -} - -// The state of the Net (`pending` \| `available` \| `deleted`). -func (o GetNetsNetOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetNetsNet) string { return v.State }).(pulumi.StringOutput) -} - -// The key/value combinations of the tags associated with the Nets, in the following format: `TAGKEY=TAGVALUE`. -func (o GetNetsNetOutput) Tags() GetNetsNetTagArrayOutput { - return o.ApplyT(func(v GetNetsNet) []GetNetsNetTag { return v.Tags }).(GetNetsNetTagArrayOutput) -} - -// The VM tenancy in a Net. -func (o GetNetsNetOutput) Tenancy() pulumi.StringOutput { - return o.ApplyT(func(v GetNetsNet) string { return v.Tenancy }).(pulumi.StringOutput) -} - -type GetNetsNetArrayOutput struct{ *pulumi.OutputState } - -func (GetNetsNetArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetsNet)(nil)).Elem() -} - -func (o GetNetsNetArrayOutput) ToGetNetsNetArrayOutput() GetNetsNetArrayOutput { - return o -} - -func (o GetNetsNetArrayOutput) ToGetNetsNetArrayOutputWithContext(ctx context.Context) GetNetsNetArrayOutput { - return o -} - -func (o GetNetsNetArrayOutput) Index(i pulumi.IntInput) GetNetsNetOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNetsNet { - return vs[0].([]GetNetsNet)[vs[1].(int)] - }).(GetNetsNetOutput) -} - -type GetNetsNetTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetNetsNetTagInput is an input type that accepts GetNetsNetTagArgs and GetNetsNetTagOutput values. -// You can construct a concrete instance of `GetNetsNetTagInput` via: -// -// GetNetsNetTagArgs{...} -type GetNetsNetTagInput interface { - pulumi.Input - - ToGetNetsNetTagOutput() GetNetsNetTagOutput - ToGetNetsNetTagOutputWithContext(context.Context) GetNetsNetTagOutput -} - -type GetNetsNetTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetNetsNetTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetsNetTag)(nil)).Elem() -} - -func (i GetNetsNetTagArgs) ToGetNetsNetTagOutput() GetNetsNetTagOutput { - return i.ToGetNetsNetTagOutputWithContext(context.Background()) -} - -func (i GetNetsNetTagArgs) ToGetNetsNetTagOutputWithContext(ctx context.Context) GetNetsNetTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetsNetTagOutput) -} - -// GetNetsNetTagArrayInput is an input type that accepts GetNetsNetTagArray and GetNetsNetTagArrayOutput values. -// You can construct a concrete instance of `GetNetsNetTagArrayInput` via: -// -// GetNetsNetTagArray{ GetNetsNetTagArgs{...} } -type GetNetsNetTagArrayInput interface { - pulumi.Input - - ToGetNetsNetTagArrayOutput() GetNetsNetTagArrayOutput - ToGetNetsNetTagArrayOutputWithContext(context.Context) GetNetsNetTagArrayOutput -} - -type GetNetsNetTagArray []GetNetsNetTagInput - -func (GetNetsNetTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetsNetTag)(nil)).Elem() -} - -func (i GetNetsNetTagArray) ToGetNetsNetTagArrayOutput() GetNetsNetTagArrayOutput { - return i.ToGetNetsNetTagArrayOutputWithContext(context.Background()) -} - -func (i GetNetsNetTagArray) ToGetNetsNetTagArrayOutputWithContext(ctx context.Context) GetNetsNetTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNetsNetTagArrayOutput) -} - -type GetNetsNetTagOutput struct{ *pulumi.OutputState } - -func (GetNetsNetTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNetsNetTag)(nil)).Elem() -} - -func (o GetNetsNetTagOutput) ToGetNetsNetTagOutput() GetNetsNetTagOutput { - return o -} - -func (o GetNetsNetTagOutput) ToGetNetsNetTagOutputWithContext(ctx context.Context) GetNetsNetTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetNetsNetTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetNetsNetTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetNetsNetTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetNetsNetTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetNetsNetTagArrayOutput struct{ *pulumi.OutputState } - -func (GetNetsNetTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNetsNetTag)(nil)).Elem() -} - -func (o GetNetsNetTagArrayOutput) ToGetNetsNetTagArrayOutput() GetNetsNetTagArrayOutput { - return o -} - -func (o GetNetsNetTagArrayOutput) ToGetNetsNetTagArrayOutputWithContext(ctx context.Context) GetNetsNetTagArrayOutput { - return o -} - -func (o GetNetsNetTagArrayOutput) Index(i pulumi.IntInput) GetNetsNetTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNetsNetTag { - return vs[0].([]GetNetsNetTag)[vs[1].(int)] - }).(GetNetsNetTagOutput) -} - -type GetNicFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetNicFilterInput is an input type that accepts GetNicFilterArgs and GetNicFilterOutput values. -// You can construct a concrete instance of `GetNicFilterInput` via: -// -// GetNicFilterArgs{...} -type GetNicFilterInput interface { - pulumi.Input - - ToGetNicFilterOutput() GetNicFilterOutput - ToGetNicFilterOutputWithContext(context.Context) GetNicFilterOutput -} - -type GetNicFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetNicFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNicFilter)(nil)).Elem() -} - -func (i GetNicFilterArgs) ToGetNicFilterOutput() GetNicFilterOutput { - return i.ToGetNicFilterOutputWithContext(context.Background()) -} - -func (i GetNicFilterArgs) ToGetNicFilterOutputWithContext(ctx context.Context) GetNicFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNicFilterOutput) -} - -// GetNicFilterArrayInput is an input type that accepts GetNicFilterArray and GetNicFilterArrayOutput values. -// You can construct a concrete instance of `GetNicFilterArrayInput` via: -// -// GetNicFilterArray{ GetNicFilterArgs{...} } -type GetNicFilterArrayInput interface { - pulumi.Input - - ToGetNicFilterArrayOutput() GetNicFilterArrayOutput - ToGetNicFilterArrayOutputWithContext(context.Context) GetNicFilterArrayOutput -} - -type GetNicFilterArray []GetNicFilterInput - -func (GetNicFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNicFilter)(nil)).Elem() -} - -func (i GetNicFilterArray) ToGetNicFilterArrayOutput() GetNicFilterArrayOutput { - return i.ToGetNicFilterArrayOutputWithContext(context.Background()) -} - -func (i GetNicFilterArray) ToGetNicFilterArrayOutputWithContext(ctx context.Context) GetNicFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNicFilterArrayOutput) -} - -type GetNicFilterOutput struct{ *pulumi.OutputState } - -func (GetNicFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNicFilter)(nil)).Elem() -} - -func (o GetNicFilterOutput) ToGetNicFilterOutput() GetNicFilterOutput { - return o -} - -func (o GetNicFilterOutput) ToGetNicFilterOutputWithContext(ctx context.Context) GetNicFilterOutput { - return o -} - -func (o GetNicFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetNicFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetNicFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetNicFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetNicFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetNicFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNicFilter)(nil)).Elem() -} - -func (o GetNicFilterArrayOutput) ToGetNicFilterArrayOutput() GetNicFilterArrayOutput { - return o -} - -func (o GetNicFilterArrayOutput) ToGetNicFilterArrayOutputWithContext(ctx context.Context) GetNicFilterArrayOutput { - return o -} - -func (o GetNicFilterArrayOutput) Index(i pulumi.IntInput) GetNicFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNicFilter { - return vs[0].([]GetNicFilter)[vs[1].(int)] - }).(GetNicFilterOutput) -} - -type GetNicLinkNic struct { - // If true, the NIC is deleted when the VM is terminated. - DeleteOnVmDeletion string `pulumi:"deleteOnVmDeletion"` - // The device index for the NIC attachment (between `1` and `7`, both included). - DeviceNumber int `pulumi:"deviceNumber"` - // The ID of the NIC to attach. - LinkNicId string `pulumi:"linkNicId"` - // The state of the NIC (`available` \| `attaching` \| `in-use` \| `detaching`). - State string `pulumi:"state"` - // The account ID of the owner of the VM. - VmAccountId string `pulumi:"vmAccountId"` - // The ID of the VM. - VmId string `pulumi:"vmId"` -} - -// GetNicLinkNicInput is an input type that accepts GetNicLinkNicArgs and GetNicLinkNicOutput values. -// You can construct a concrete instance of `GetNicLinkNicInput` via: -// -// GetNicLinkNicArgs{...} -type GetNicLinkNicInput interface { - pulumi.Input - - ToGetNicLinkNicOutput() GetNicLinkNicOutput - ToGetNicLinkNicOutputWithContext(context.Context) GetNicLinkNicOutput -} - -type GetNicLinkNicArgs struct { - // If true, the NIC is deleted when the VM is terminated. - DeleteOnVmDeletion pulumi.StringInput `pulumi:"deleteOnVmDeletion"` - // The device index for the NIC attachment (between `1` and `7`, both included). - DeviceNumber pulumi.IntInput `pulumi:"deviceNumber"` - // The ID of the NIC to attach. - LinkNicId pulumi.StringInput `pulumi:"linkNicId"` - // The state of the NIC (`available` \| `attaching` \| `in-use` \| `detaching`). - State pulumi.StringInput `pulumi:"state"` - // The account ID of the owner of the VM. - VmAccountId pulumi.StringInput `pulumi:"vmAccountId"` - // The ID of the VM. - VmId pulumi.StringInput `pulumi:"vmId"` -} - -func (GetNicLinkNicArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNicLinkNic)(nil)).Elem() -} - -func (i GetNicLinkNicArgs) ToGetNicLinkNicOutput() GetNicLinkNicOutput { - return i.ToGetNicLinkNicOutputWithContext(context.Background()) -} - -func (i GetNicLinkNicArgs) ToGetNicLinkNicOutputWithContext(ctx context.Context) GetNicLinkNicOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNicLinkNicOutput) -} - -// GetNicLinkNicArrayInput is an input type that accepts GetNicLinkNicArray and GetNicLinkNicArrayOutput values. -// You can construct a concrete instance of `GetNicLinkNicArrayInput` via: -// -// GetNicLinkNicArray{ GetNicLinkNicArgs{...} } -type GetNicLinkNicArrayInput interface { - pulumi.Input - - ToGetNicLinkNicArrayOutput() GetNicLinkNicArrayOutput - ToGetNicLinkNicArrayOutputWithContext(context.Context) GetNicLinkNicArrayOutput -} - -type GetNicLinkNicArray []GetNicLinkNicInput - -func (GetNicLinkNicArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNicLinkNic)(nil)).Elem() -} - -func (i GetNicLinkNicArray) ToGetNicLinkNicArrayOutput() GetNicLinkNicArrayOutput { - return i.ToGetNicLinkNicArrayOutputWithContext(context.Background()) -} - -func (i GetNicLinkNicArray) ToGetNicLinkNicArrayOutputWithContext(ctx context.Context) GetNicLinkNicArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNicLinkNicArrayOutput) -} - -type GetNicLinkNicOutput struct{ *pulumi.OutputState } - -func (GetNicLinkNicOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNicLinkNic)(nil)).Elem() -} - -func (o GetNicLinkNicOutput) ToGetNicLinkNicOutput() GetNicLinkNicOutput { - return o -} - -func (o GetNicLinkNicOutput) ToGetNicLinkNicOutputWithContext(ctx context.Context) GetNicLinkNicOutput { - return o -} - -// If true, the NIC is deleted when the VM is terminated. -func (o GetNicLinkNicOutput) DeleteOnVmDeletion() pulumi.StringOutput { - return o.ApplyT(func(v GetNicLinkNic) string { return v.DeleteOnVmDeletion }).(pulumi.StringOutput) -} - -// The device index for the NIC attachment (between `1` and `7`, both included). -func (o GetNicLinkNicOutput) DeviceNumber() pulumi.IntOutput { - return o.ApplyT(func(v GetNicLinkNic) int { return v.DeviceNumber }).(pulumi.IntOutput) -} - -// The ID of the NIC to attach. -func (o GetNicLinkNicOutput) LinkNicId() pulumi.StringOutput { - return o.ApplyT(func(v GetNicLinkNic) string { return v.LinkNicId }).(pulumi.StringOutput) -} - -// The state of the NIC (`available` \| `attaching` \| `in-use` \| `detaching`). -func (o GetNicLinkNicOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetNicLinkNic) string { return v.State }).(pulumi.StringOutput) -} - -// The account ID of the owner of the VM. -func (o GetNicLinkNicOutput) VmAccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetNicLinkNic) string { return v.VmAccountId }).(pulumi.StringOutput) -} - -// The ID of the VM. -func (o GetNicLinkNicOutput) VmId() pulumi.StringOutput { - return o.ApplyT(func(v GetNicLinkNic) string { return v.VmId }).(pulumi.StringOutput) -} - -type GetNicLinkNicArrayOutput struct{ *pulumi.OutputState } - -func (GetNicLinkNicArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNicLinkNic)(nil)).Elem() -} - -func (o GetNicLinkNicArrayOutput) ToGetNicLinkNicArrayOutput() GetNicLinkNicArrayOutput { - return o -} - -func (o GetNicLinkNicArrayOutput) ToGetNicLinkNicArrayOutputWithContext(ctx context.Context) GetNicLinkNicArrayOutput { - return o -} - -func (o GetNicLinkNicArrayOutput) Index(i pulumi.IntInput) GetNicLinkNicOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNicLinkNic { - return vs[0].([]GetNicLinkNic)[vs[1].(int)] - }).(GetNicLinkNicOutput) -} - -type GetNicLinkPublicIp struct { - // (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - LinkPublicIpId string `pulumi:"linkPublicIpId"` - // The name of the public DNS. - PublicDnsName string `pulumi:"publicDnsName"` - // The account ID of the owner of the public IP. - PublicIpAccountId string `pulumi:"publicIpAccountId"` - // The allocation ID of the public IP. - PublicIpId string `pulumi:"publicIpId"` -} - -// GetNicLinkPublicIpInput is an input type that accepts GetNicLinkPublicIpArgs and GetNicLinkPublicIpOutput values. -// You can construct a concrete instance of `GetNicLinkPublicIpInput` via: -// -// GetNicLinkPublicIpArgs{...} -type GetNicLinkPublicIpInput interface { - pulumi.Input - - ToGetNicLinkPublicIpOutput() GetNicLinkPublicIpOutput - ToGetNicLinkPublicIpOutputWithContext(context.Context) GetNicLinkPublicIpOutput -} - -type GetNicLinkPublicIpArgs struct { - // (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - LinkPublicIpId pulumi.StringInput `pulumi:"linkPublicIpId"` - // The name of the public DNS. - PublicDnsName pulumi.StringInput `pulumi:"publicDnsName"` - // The account ID of the owner of the public IP. - PublicIpAccountId pulumi.StringInput `pulumi:"publicIpAccountId"` - // The allocation ID of the public IP. - PublicIpId pulumi.StringInput `pulumi:"publicIpId"` -} - -func (GetNicLinkPublicIpArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNicLinkPublicIp)(nil)).Elem() -} - -func (i GetNicLinkPublicIpArgs) ToGetNicLinkPublicIpOutput() GetNicLinkPublicIpOutput { - return i.ToGetNicLinkPublicIpOutputWithContext(context.Background()) -} - -func (i GetNicLinkPublicIpArgs) ToGetNicLinkPublicIpOutputWithContext(ctx context.Context) GetNicLinkPublicIpOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNicLinkPublicIpOutput) -} - -// GetNicLinkPublicIpArrayInput is an input type that accepts GetNicLinkPublicIpArray and GetNicLinkPublicIpArrayOutput values. -// You can construct a concrete instance of `GetNicLinkPublicIpArrayInput` via: -// -// GetNicLinkPublicIpArray{ GetNicLinkPublicIpArgs{...} } -type GetNicLinkPublicIpArrayInput interface { - pulumi.Input - - ToGetNicLinkPublicIpArrayOutput() GetNicLinkPublicIpArrayOutput - ToGetNicLinkPublicIpArrayOutputWithContext(context.Context) GetNicLinkPublicIpArrayOutput -} - -type GetNicLinkPublicIpArray []GetNicLinkPublicIpInput - -func (GetNicLinkPublicIpArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNicLinkPublicIp)(nil)).Elem() -} - -func (i GetNicLinkPublicIpArray) ToGetNicLinkPublicIpArrayOutput() GetNicLinkPublicIpArrayOutput { - return i.ToGetNicLinkPublicIpArrayOutputWithContext(context.Background()) -} - -func (i GetNicLinkPublicIpArray) ToGetNicLinkPublicIpArrayOutputWithContext(ctx context.Context) GetNicLinkPublicIpArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNicLinkPublicIpArrayOutput) -} - -type GetNicLinkPublicIpOutput struct{ *pulumi.OutputState } - -func (GetNicLinkPublicIpOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNicLinkPublicIp)(nil)).Elem() -} - -func (o GetNicLinkPublicIpOutput) ToGetNicLinkPublicIpOutput() GetNicLinkPublicIpOutput { - return o -} - -func (o GetNicLinkPublicIpOutput) ToGetNicLinkPublicIpOutputWithContext(ctx context.Context) GetNicLinkPublicIpOutput { - return o -} - -// (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. -func (o GetNicLinkPublicIpOutput) LinkPublicIpId() pulumi.StringOutput { - return o.ApplyT(func(v GetNicLinkPublicIp) string { return v.LinkPublicIpId }).(pulumi.StringOutput) -} - -// The name of the public DNS. -func (o GetNicLinkPublicIpOutput) PublicDnsName() pulumi.StringOutput { - return o.ApplyT(func(v GetNicLinkPublicIp) string { return v.PublicDnsName }).(pulumi.StringOutput) -} - -// The account ID of the owner of the public IP. -func (o GetNicLinkPublicIpOutput) PublicIpAccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetNicLinkPublicIp) string { return v.PublicIpAccountId }).(pulumi.StringOutput) -} - -// The allocation ID of the public IP. -func (o GetNicLinkPublicIpOutput) PublicIpId() pulumi.StringOutput { - return o.ApplyT(func(v GetNicLinkPublicIp) string { return v.PublicIpId }).(pulumi.StringOutput) -} - -type GetNicLinkPublicIpArrayOutput struct{ *pulumi.OutputState } - -func (GetNicLinkPublicIpArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNicLinkPublicIp)(nil)).Elem() -} - -func (o GetNicLinkPublicIpArrayOutput) ToGetNicLinkPublicIpArrayOutput() GetNicLinkPublicIpArrayOutput { - return o -} - -func (o GetNicLinkPublicIpArrayOutput) ToGetNicLinkPublicIpArrayOutputWithContext(ctx context.Context) GetNicLinkPublicIpArrayOutput { - return o -} - -func (o GetNicLinkPublicIpArrayOutput) Index(i pulumi.IntInput) GetNicLinkPublicIpOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNicLinkPublicIp { - return vs[0].([]GetNicLinkPublicIp)[vs[1].(int)] - }).(GetNicLinkPublicIpOutput) -} - -type GetNicPrivateIpType struct { - // If true, the IP is the primary private IP of the NIC. - IsPrimary bool `pulumi:"isPrimary"` - // Information about the public IP association. - LinkPublicIps []GetNicPrivateIpLinkPublicIp `pulumi:"linkPublicIps"` - // The name of the private DNS. - PrivateDnsName string `pulumi:"privateDnsName"` - // The private IP of the NIC. - PrivateIp string `pulumi:"privateIp"` -} - -// GetNicPrivateIpTypeInput is an input type that accepts GetNicPrivateIpTypeArgs and GetNicPrivateIpTypeOutput values. -// You can construct a concrete instance of `GetNicPrivateIpTypeInput` via: -// -// GetNicPrivateIpTypeArgs{...} -type GetNicPrivateIpTypeInput interface { - pulumi.Input - - ToGetNicPrivateIpTypeOutput() GetNicPrivateIpTypeOutput - ToGetNicPrivateIpTypeOutputWithContext(context.Context) GetNicPrivateIpTypeOutput -} - -type GetNicPrivateIpTypeArgs struct { - // If true, the IP is the primary private IP of the NIC. - IsPrimary pulumi.BoolInput `pulumi:"isPrimary"` - // Information about the public IP association. - LinkPublicIps GetNicPrivateIpLinkPublicIpArrayInput `pulumi:"linkPublicIps"` - // The name of the private DNS. - PrivateDnsName pulumi.StringInput `pulumi:"privateDnsName"` - // The private IP of the NIC. - PrivateIp pulumi.StringInput `pulumi:"privateIp"` -} - -func (GetNicPrivateIpTypeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNicPrivateIpType)(nil)).Elem() -} - -func (i GetNicPrivateIpTypeArgs) ToGetNicPrivateIpTypeOutput() GetNicPrivateIpTypeOutput { - return i.ToGetNicPrivateIpTypeOutputWithContext(context.Background()) -} - -func (i GetNicPrivateIpTypeArgs) ToGetNicPrivateIpTypeOutputWithContext(ctx context.Context) GetNicPrivateIpTypeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNicPrivateIpTypeOutput) -} - -// GetNicPrivateIpTypeArrayInput is an input type that accepts GetNicPrivateIpTypeArray and GetNicPrivateIpTypeArrayOutput values. -// You can construct a concrete instance of `GetNicPrivateIpTypeArrayInput` via: -// -// GetNicPrivateIpTypeArray{ GetNicPrivateIpTypeArgs{...} } -type GetNicPrivateIpTypeArrayInput interface { - pulumi.Input - - ToGetNicPrivateIpTypeArrayOutput() GetNicPrivateIpTypeArrayOutput - ToGetNicPrivateIpTypeArrayOutputWithContext(context.Context) GetNicPrivateIpTypeArrayOutput -} - -type GetNicPrivateIpTypeArray []GetNicPrivateIpTypeInput - -func (GetNicPrivateIpTypeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNicPrivateIpType)(nil)).Elem() -} - -func (i GetNicPrivateIpTypeArray) ToGetNicPrivateIpTypeArrayOutput() GetNicPrivateIpTypeArrayOutput { - return i.ToGetNicPrivateIpTypeArrayOutputWithContext(context.Background()) -} - -func (i GetNicPrivateIpTypeArray) ToGetNicPrivateIpTypeArrayOutputWithContext(ctx context.Context) GetNicPrivateIpTypeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNicPrivateIpTypeArrayOutput) -} - -type GetNicPrivateIpTypeOutput struct{ *pulumi.OutputState } - -func (GetNicPrivateIpTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNicPrivateIpType)(nil)).Elem() -} - -func (o GetNicPrivateIpTypeOutput) ToGetNicPrivateIpTypeOutput() GetNicPrivateIpTypeOutput { - return o -} - -func (o GetNicPrivateIpTypeOutput) ToGetNicPrivateIpTypeOutputWithContext(ctx context.Context) GetNicPrivateIpTypeOutput { - return o -} - -// If true, the IP is the primary private IP of the NIC. -func (o GetNicPrivateIpTypeOutput) IsPrimary() pulumi.BoolOutput { - return o.ApplyT(func(v GetNicPrivateIpType) bool { return v.IsPrimary }).(pulumi.BoolOutput) -} - -// Information about the public IP association. -func (o GetNicPrivateIpTypeOutput) LinkPublicIps() GetNicPrivateIpLinkPublicIpArrayOutput { - return o.ApplyT(func(v GetNicPrivateIpType) []GetNicPrivateIpLinkPublicIp { return v.LinkPublicIps }).(GetNicPrivateIpLinkPublicIpArrayOutput) -} - -// The name of the private DNS. -func (o GetNicPrivateIpTypeOutput) PrivateDnsName() pulumi.StringOutput { - return o.ApplyT(func(v GetNicPrivateIpType) string { return v.PrivateDnsName }).(pulumi.StringOutput) -} - -// The private IP of the NIC. -func (o GetNicPrivateIpTypeOutput) PrivateIp() pulumi.StringOutput { - return o.ApplyT(func(v GetNicPrivateIpType) string { return v.PrivateIp }).(pulumi.StringOutput) -} - -type GetNicPrivateIpTypeArrayOutput struct{ *pulumi.OutputState } - -func (GetNicPrivateIpTypeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNicPrivateIpType)(nil)).Elem() -} - -func (o GetNicPrivateIpTypeArrayOutput) ToGetNicPrivateIpTypeArrayOutput() GetNicPrivateIpTypeArrayOutput { - return o -} - -func (o GetNicPrivateIpTypeArrayOutput) ToGetNicPrivateIpTypeArrayOutputWithContext(ctx context.Context) GetNicPrivateIpTypeArrayOutput { - return o -} - -func (o GetNicPrivateIpTypeArrayOutput) Index(i pulumi.IntInput) GetNicPrivateIpTypeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNicPrivateIpType { - return vs[0].([]GetNicPrivateIpType)[vs[1].(int)] - }).(GetNicPrivateIpTypeOutput) -} - -type GetNicPrivateIpLinkPublicIp struct { - // (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - LinkPublicIpId string `pulumi:"linkPublicIpId"` - // The name of the public DNS. - PublicDnsName string `pulumi:"publicDnsName"` - // The public IP associated with the NIC. - PublicIp string `pulumi:"publicIp"` - // The account ID of the owner of the public IP. - PublicIpAccountId string `pulumi:"publicIpAccountId"` - // The allocation ID of the public IP. - PublicIpId string `pulumi:"publicIpId"` -} - -// GetNicPrivateIpLinkPublicIpInput is an input type that accepts GetNicPrivateIpLinkPublicIpArgs and GetNicPrivateIpLinkPublicIpOutput values. -// You can construct a concrete instance of `GetNicPrivateIpLinkPublicIpInput` via: -// -// GetNicPrivateIpLinkPublicIpArgs{...} -type GetNicPrivateIpLinkPublicIpInput interface { - pulumi.Input - - ToGetNicPrivateIpLinkPublicIpOutput() GetNicPrivateIpLinkPublicIpOutput - ToGetNicPrivateIpLinkPublicIpOutputWithContext(context.Context) GetNicPrivateIpLinkPublicIpOutput -} - -type GetNicPrivateIpLinkPublicIpArgs struct { - // (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - LinkPublicIpId pulumi.StringInput `pulumi:"linkPublicIpId"` - // The name of the public DNS. - PublicDnsName pulumi.StringInput `pulumi:"publicDnsName"` - // The public IP associated with the NIC. - PublicIp pulumi.StringInput `pulumi:"publicIp"` - // The account ID of the owner of the public IP. - PublicIpAccountId pulumi.StringInput `pulumi:"publicIpAccountId"` - // The allocation ID of the public IP. - PublicIpId pulumi.StringInput `pulumi:"publicIpId"` -} - -func (GetNicPrivateIpLinkPublicIpArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNicPrivateIpLinkPublicIp)(nil)).Elem() -} - -func (i GetNicPrivateIpLinkPublicIpArgs) ToGetNicPrivateIpLinkPublicIpOutput() GetNicPrivateIpLinkPublicIpOutput { - return i.ToGetNicPrivateIpLinkPublicIpOutputWithContext(context.Background()) -} - -func (i GetNicPrivateIpLinkPublicIpArgs) ToGetNicPrivateIpLinkPublicIpOutputWithContext(ctx context.Context) GetNicPrivateIpLinkPublicIpOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNicPrivateIpLinkPublicIpOutput) -} - -// GetNicPrivateIpLinkPublicIpArrayInput is an input type that accepts GetNicPrivateIpLinkPublicIpArray and GetNicPrivateIpLinkPublicIpArrayOutput values. -// You can construct a concrete instance of `GetNicPrivateIpLinkPublicIpArrayInput` via: -// -// GetNicPrivateIpLinkPublicIpArray{ GetNicPrivateIpLinkPublicIpArgs{...} } -type GetNicPrivateIpLinkPublicIpArrayInput interface { - pulumi.Input - - ToGetNicPrivateIpLinkPublicIpArrayOutput() GetNicPrivateIpLinkPublicIpArrayOutput - ToGetNicPrivateIpLinkPublicIpArrayOutputWithContext(context.Context) GetNicPrivateIpLinkPublicIpArrayOutput -} - -type GetNicPrivateIpLinkPublicIpArray []GetNicPrivateIpLinkPublicIpInput - -func (GetNicPrivateIpLinkPublicIpArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNicPrivateIpLinkPublicIp)(nil)).Elem() -} - -func (i GetNicPrivateIpLinkPublicIpArray) ToGetNicPrivateIpLinkPublicIpArrayOutput() GetNicPrivateIpLinkPublicIpArrayOutput { - return i.ToGetNicPrivateIpLinkPublicIpArrayOutputWithContext(context.Background()) -} - -func (i GetNicPrivateIpLinkPublicIpArray) ToGetNicPrivateIpLinkPublicIpArrayOutputWithContext(ctx context.Context) GetNicPrivateIpLinkPublicIpArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNicPrivateIpLinkPublicIpArrayOutput) -} - -type GetNicPrivateIpLinkPublicIpOutput struct{ *pulumi.OutputState } - -func (GetNicPrivateIpLinkPublicIpOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNicPrivateIpLinkPublicIp)(nil)).Elem() -} - -func (o GetNicPrivateIpLinkPublicIpOutput) ToGetNicPrivateIpLinkPublicIpOutput() GetNicPrivateIpLinkPublicIpOutput { - return o -} - -func (o GetNicPrivateIpLinkPublicIpOutput) ToGetNicPrivateIpLinkPublicIpOutputWithContext(ctx context.Context) GetNicPrivateIpLinkPublicIpOutput { - return o -} - -// (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. -func (o GetNicPrivateIpLinkPublicIpOutput) LinkPublicIpId() pulumi.StringOutput { - return o.ApplyT(func(v GetNicPrivateIpLinkPublicIp) string { return v.LinkPublicIpId }).(pulumi.StringOutput) -} - -// The name of the public DNS. -func (o GetNicPrivateIpLinkPublicIpOutput) PublicDnsName() pulumi.StringOutput { - return o.ApplyT(func(v GetNicPrivateIpLinkPublicIp) string { return v.PublicDnsName }).(pulumi.StringOutput) -} - -// The public IP associated with the NIC. -func (o GetNicPrivateIpLinkPublicIpOutput) PublicIp() pulumi.StringOutput { - return o.ApplyT(func(v GetNicPrivateIpLinkPublicIp) string { return v.PublicIp }).(pulumi.StringOutput) -} - -// The account ID of the owner of the public IP. -func (o GetNicPrivateIpLinkPublicIpOutput) PublicIpAccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetNicPrivateIpLinkPublicIp) string { return v.PublicIpAccountId }).(pulumi.StringOutput) -} - -// The allocation ID of the public IP. -func (o GetNicPrivateIpLinkPublicIpOutput) PublicIpId() pulumi.StringOutput { - return o.ApplyT(func(v GetNicPrivateIpLinkPublicIp) string { return v.PublicIpId }).(pulumi.StringOutput) -} - -type GetNicPrivateIpLinkPublicIpArrayOutput struct{ *pulumi.OutputState } - -func (GetNicPrivateIpLinkPublicIpArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNicPrivateIpLinkPublicIp)(nil)).Elem() -} - -func (o GetNicPrivateIpLinkPublicIpArrayOutput) ToGetNicPrivateIpLinkPublicIpArrayOutput() GetNicPrivateIpLinkPublicIpArrayOutput { - return o -} - -func (o GetNicPrivateIpLinkPublicIpArrayOutput) ToGetNicPrivateIpLinkPublicIpArrayOutputWithContext(ctx context.Context) GetNicPrivateIpLinkPublicIpArrayOutput { - return o -} - -func (o GetNicPrivateIpLinkPublicIpArrayOutput) Index(i pulumi.IntInput) GetNicPrivateIpLinkPublicIpOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNicPrivateIpLinkPublicIp { - return vs[0].([]GetNicPrivateIpLinkPublicIp)[vs[1].(int)] - }).(GetNicPrivateIpLinkPublicIpOutput) -} - -type GetNicSecurityGroup struct { - // The ID of the security group. - SecurityGroupId string `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName string `pulumi:"securityGroupName"` -} - -// GetNicSecurityGroupInput is an input type that accepts GetNicSecurityGroupArgs and GetNicSecurityGroupOutput values. -// You can construct a concrete instance of `GetNicSecurityGroupInput` via: -// -// GetNicSecurityGroupArgs{...} -type GetNicSecurityGroupInput interface { - pulumi.Input - - ToGetNicSecurityGroupOutput() GetNicSecurityGroupOutput - ToGetNicSecurityGroupOutputWithContext(context.Context) GetNicSecurityGroupOutput -} - -type GetNicSecurityGroupArgs struct { - // The ID of the security group. - SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName pulumi.StringInput `pulumi:"securityGroupName"` -} - -func (GetNicSecurityGroupArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNicSecurityGroup)(nil)).Elem() -} - -func (i GetNicSecurityGroupArgs) ToGetNicSecurityGroupOutput() GetNicSecurityGroupOutput { - return i.ToGetNicSecurityGroupOutputWithContext(context.Background()) -} - -func (i GetNicSecurityGroupArgs) ToGetNicSecurityGroupOutputWithContext(ctx context.Context) GetNicSecurityGroupOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNicSecurityGroupOutput) -} - -// GetNicSecurityGroupArrayInput is an input type that accepts GetNicSecurityGroupArray and GetNicSecurityGroupArrayOutput values. -// You can construct a concrete instance of `GetNicSecurityGroupArrayInput` via: -// -// GetNicSecurityGroupArray{ GetNicSecurityGroupArgs{...} } -type GetNicSecurityGroupArrayInput interface { - pulumi.Input - - ToGetNicSecurityGroupArrayOutput() GetNicSecurityGroupArrayOutput - ToGetNicSecurityGroupArrayOutputWithContext(context.Context) GetNicSecurityGroupArrayOutput -} - -type GetNicSecurityGroupArray []GetNicSecurityGroupInput - -func (GetNicSecurityGroupArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNicSecurityGroup)(nil)).Elem() -} - -func (i GetNicSecurityGroupArray) ToGetNicSecurityGroupArrayOutput() GetNicSecurityGroupArrayOutput { - return i.ToGetNicSecurityGroupArrayOutputWithContext(context.Background()) -} - -func (i GetNicSecurityGroupArray) ToGetNicSecurityGroupArrayOutputWithContext(ctx context.Context) GetNicSecurityGroupArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNicSecurityGroupArrayOutput) -} - -type GetNicSecurityGroupOutput struct{ *pulumi.OutputState } - -func (GetNicSecurityGroupOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNicSecurityGroup)(nil)).Elem() -} - -func (o GetNicSecurityGroupOutput) ToGetNicSecurityGroupOutput() GetNicSecurityGroupOutput { - return o -} - -func (o GetNicSecurityGroupOutput) ToGetNicSecurityGroupOutputWithContext(ctx context.Context) GetNicSecurityGroupOutput { - return o -} - -// The ID of the security group. -func (o GetNicSecurityGroupOutput) SecurityGroupId() pulumi.StringOutput { - return o.ApplyT(func(v GetNicSecurityGroup) string { return v.SecurityGroupId }).(pulumi.StringOutput) -} - -// The name of the security group. -func (o GetNicSecurityGroupOutput) SecurityGroupName() pulumi.StringOutput { - return o.ApplyT(func(v GetNicSecurityGroup) string { return v.SecurityGroupName }).(pulumi.StringOutput) -} - -type GetNicSecurityGroupArrayOutput struct{ *pulumi.OutputState } - -func (GetNicSecurityGroupArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNicSecurityGroup)(nil)).Elem() -} - -func (o GetNicSecurityGroupArrayOutput) ToGetNicSecurityGroupArrayOutput() GetNicSecurityGroupArrayOutput { - return o -} - -func (o GetNicSecurityGroupArrayOutput) ToGetNicSecurityGroupArrayOutputWithContext(ctx context.Context) GetNicSecurityGroupArrayOutput { - return o -} - -func (o GetNicSecurityGroupArrayOutput) Index(i pulumi.IntInput) GetNicSecurityGroupOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNicSecurityGroup { - return vs[0].([]GetNicSecurityGroup)[vs[1].(int)] - }).(GetNicSecurityGroupOutput) -} - -type GetNicTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetNicTagInput is an input type that accepts GetNicTagArgs and GetNicTagOutput values. -// You can construct a concrete instance of `GetNicTagInput` via: -// -// GetNicTagArgs{...} -type GetNicTagInput interface { - pulumi.Input - - ToGetNicTagOutput() GetNicTagOutput - ToGetNicTagOutputWithContext(context.Context) GetNicTagOutput -} - -type GetNicTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetNicTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNicTag)(nil)).Elem() -} - -func (i GetNicTagArgs) ToGetNicTagOutput() GetNicTagOutput { - return i.ToGetNicTagOutputWithContext(context.Background()) -} - -func (i GetNicTagArgs) ToGetNicTagOutputWithContext(ctx context.Context) GetNicTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNicTagOutput) -} - -// GetNicTagArrayInput is an input type that accepts GetNicTagArray and GetNicTagArrayOutput values. -// You can construct a concrete instance of `GetNicTagArrayInput` via: -// -// GetNicTagArray{ GetNicTagArgs{...} } -type GetNicTagArrayInput interface { - pulumi.Input - - ToGetNicTagArrayOutput() GetNicTagArrayOutput - ToGetNicTagArrayOutputWithContext(context.Context) GetNicTagArrayOutput -} - -type GetNicTagArray []GetNicTagInput - -func (GetNicTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNicTag)(nil)).Elem() -} - -func (i GetNicTagArray) ToGetNicTagArrayOutput() GetNicTagArrayOutput { - return i.ToGetNicTagArrayOutputWithContext(context.Background()) -} - -func (i GetNicTagArray) ToGetNicTagArrayOutputWithContext(ctx context.Context) GetNicTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNicTagArrayOutput) -} - -type GetNicTagOutput struct{ *pulumi.OutputState } - -func (GetNicTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNicTag)(nil)).Elem() -} - -func (o GetNicTagOutput) ToGetNicTagOutput() GetNicTagOutput { - return o -} - -func (o GetNicTagOutput) ToGetNicTagOutputWithContext(ctx context.Context) GetNicTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetNicTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetNicTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetNicTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetNicTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetNicTagArrayOutput struct{ *pulumi.OutputState } - -func (GetNicTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNicTag)(nil)).Elem() -} - -func (o GetNicTagArrayOutput) ToGetNicTagArrayOutput() GetNicTagArrayOutput { - return o -} - -func (o GetNicTagArrayOutput) ToGetNicTagArrayOutputWithContext(ctx context.Context) GetNicTagArrayOutput { - return o -} - -func (o GetNicTagArrayOutput) Index(i pulumi.IntInput) GetNicTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNicTag { - return vs[0].([]GetNicTag)[vs[1].(int)] - }).(GetNicTagOutput) -} - -type GetNicsFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetNicsFilterInput is an input type that accepts GetNicsFilterArgs and GetNicsFilterOutput values. -// You can construct a concrete instance of `GetNicsFilterInput` via: -// -// GetNicsFilterArgs{...} -type GetNicsFilterInput interface { - pulumi.Input - - ToGetNicsFilterOutput() GetNicsFilterOutput - ToGetNicsFilterOutputWithContext(context.Context) GetNicsFilterOutput -} - -type GetNicsFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetNicsFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNicsFilter)(nil)).Elem() -} - -func (i GetNicsFilterArgs) ToGetNicsFilterOutput() GetNicsFilterOutput { - return i.ToGetNicsFilterOutputWithContext(context.Background()) -} - -func (i GetNicsFilterArgs) ToGetNicsFilterOutputWithContext(ctx context.Context) GetNicsFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNicsFilterOutput) -} - -// GetNicsFilterArrayInput is an input type that accepts GetNicsFilterArray and GetNicsFilterArrayOutput values. -// You can construct a concrete instance of `GetNicsFilterArrayInput` via: -// -// GetNicsFilterArray{ GetNicsFilterArgs{...} } -type GetNicsFilterArrayInput interface { - pulumi.Input - - ToGetNicsFilterArrayOutput() GetNicsFilterArrayOutput - ToGetNicsFilterArrayOutputWithContext(context.Context) GetNicsFilterArrayOutput -} - -type GetNicsFilterArray []GetNicsFilterInput - -func (GetNicsFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNicsFilter)(nil)).Elem() -} - -func (i GetNicsFilterArray) ToGetNicsFilterArrayOutput() GetNicsFilterArrayOutput { - return i.ToGetNicsFilterArrayOutputWithContext(context.Background()) -} - -func (i GetNicsFilterArray) ToGetNicsFilterArrayOutputWithContext(ctx context.Context) GetNicsFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNicsFilterArrayOutput) -} - -type GetNicsFilterOutput struct{ *pulumi.OutputState } - -func (GetNicsFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNicsFilter)(nil)).Elem() -} - -func (o GetNicsFilterOutput) ToGetNicsFilterOutput() GetNicsFilterOutput { - return o -} - -func (o GetNicsFilterOutput) ToGetNicsFilterOutputWithContext(ctx context.Context) GetNicsFilterOutput { - return o -} - -func (o GetNicsFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetNicsFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetNicsFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetNicsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetNicsFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetNicsFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNicsFilter)(nil)).Elem() -} - -func (o GetNicsFilterArrayOutput) ToGetNicsFilterArrayOutput() GetNicsFilterArrayOutput { - return o -} - -func (o GetNicsFilterArrayOutput) ToGetNicsFilterArrayOutputWithContext(ctx context.Context) GetNicsFilterArrayOutput { - return o -} - -func (o GetNicsFilterArrayOutput) Index(i pulumi.IntInput) GetNicsFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNicsFilter { - return vs[0].([]GetNicsFilter)[vs[1].(int)] - }).(GetNicsFilterOutput) -} - -type GetNicsNic struct { - // The account ID of the owner of the NIC. - AccountId string `pulumi:"accountId"` - // The description of the NIC. - Description string `pulumi:"description"` - // (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - IsSourceDestChecked bool `pulumi:"isSourceDestChecked"` - // Information about the NIC attachment. - LinkNics []GetNicsNicLinkNic `pulumi:"linkNics"` - // Information about the public IP association. - LinkPublicIps []GetNicsNicLinkPublicIp `pulumi:"linkPublicIps"` - // The Media Access Control (MAC) address of the NIC. - MacAddress string `pulumi:"macAddress"` - // The ID of the Net for the NIC. - NetId string `pulumi:"netId"` - // The ID of the NIC. - NicId string `pulumi:"nicId"` - // The name of the private DNS. - PrivateDnsName string `pulumi:"privateDnsName"` - // The private IPs of the NIC. - PrivateIps []GetNicsNicPrivateIp `pulumi:"privateIps"` - // One or more IDs of security groups for the NIC. - SecurityGroups []GetNicsNicSecurityGroup `pulumi:"securityGroups"` - // The state of the NIC (`available` \| `attaching` \| `in-use` \| `detaching`). - State string `pulumi:"state"` - // The ID of the Subnet. - SubnetId string `pulumi:"subnetId"` - // The Subregion in which the NIC is located. - SubregionName string `pulumi:"subregionName"` - // The key/value combinations of the tags associated with the NICs, in the following format: `TAGKEY=TAGVALUE`. - Tags []GetNicsNicTag `pulumi:"tags"` -} - -// GetNicsNicInput is an input type that accepts GetNicsNicArgs and GetNicsNicOutput values. -// You can construct a concrete instance of `GetNicsNicInput` via: -// -// GetNicsNicArgs{...} -type GetNicsNicInput interface { - pulumi.Input - - ToGetNicsNicOutput() GetNicsNicOutput - ToGetNicsNicOutputWithContext(context.Context) GetNicsNicOutput -} - -type GetNicsNicArgs struct { - // The account ID of the owner of the NIC. - AccountId pulumi.StringInput `pulumi:"accountId"` - // The description of the NIC. - Description pulumi.StringInput `pulumi:"description"` - // (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - IsSourceDestChecked pulumi.BoolInput `pulumi:"isSourceDestChecked"` - // Information about the NIC attachment. - LinkNics GetNicsNicLinkNicArrayInput `pulumi:"linkNics"` - // Information about the public IP association. - LinkPublicIps GetNicsNicLinkPublicIpArrayInput `pulumi:"linkPublicIps"` - // The Media Access Control (MAC) address of the NIC. - MacAddress pulumi.StringInput `pulumi:"macAddress"` - // The ID of the Net for the NIC. - NetId pulumi.StringInput `pulumi:"netId"` - // The ID of the NIC. - NicId pulumi.StringInput `pulumi:"nicId"` - // The name of the private DNS. - PrivateDnsName pulumi.StringInput `pulumi:"privateDnsName"` - // The private IPs of the NIC. - PrivateIps GetNicsNicPrivateIpArrayInput `pulumi:"privateIps"` - // One or more IDs of security groups for the NIC. - SecurityGroups GetNicsNicSecurityGroupArrayInput `pulumi:"securityGroups"` - // The state of the NIC (`available` \| `attaching` \| `in-use` \| `detaching`). - State pulumi.StringInput `pulumi:"state"` - // The ID of the Subnet. - SubnetId pulumi.StringInput `pulumi:"subnetId"` - // The Subregion in which the NIC is located. - SubregionName pulumi.StringInput `pulumi:"subregionName"` - // The key/value combinations of the tags associated with the NICs, in the following format: `TAGKEY=TAGVALUE`. - Tags GetNicsNicTagArrayInput `pulumi:"tags"` -} - -func (GetNicsNicArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNicsNic)(nil)).Elem() -} - -func (i GetNicsNicArgs) ToGetNicsNicOutput() GetNicsNicOutput { - return i.ToGetNicsNicOutputWithContext(context.Background()) -} - -func (i GetNicsNicArgs) ToGetNicsNicOutputWithContext(ctx context.Context) GetNicsNicOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNicsNicOutput) -} - -// GetNicsNicArrayInput is an input type that accepts GetNicsNicArray and GetNicsNicArrayOutput values. -// You can construct a concrete instance of `GetNicsNicArrayInput` via: -// -// GetNicsNicArray{ GetNicsNicArgs{...} } -type GetNicsNicArrayInput interface { - pulumi.Input - - ToGetNicsNicArrayOutput() GetNicsNicArrayOutput - ToGetNicsNicArrayOutputWithContext(context.Context) GetNicsNicArrayOutput -} - -type GetNicsNicArray []GetNicsNicInput - -func (GetNicsNicArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNicsNic)(nil)).Elem() -} - -func (i GetNicsNicArray) ToGetNicsNicArrayOutput() GetNicsNicArrayOutput { - return i.ToGetNicsNicArrayOutputWithContext(context.Background()) -} - -func (i GetNicsNicArray) ToGetNicsNicArrayOutputWithContext(ctx context.Context) GetNicsNicArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNicsNicArrayOutput) -} - -type GetNicsNicOutput struct{ *pulumi.OutputState } - -func (GetNicsNicOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNicsNic)(nil)).Elem() -} - -func (o GetNicsNicOutput) ToGetNicsNicOutput() GetNicsNicOutput { - return o -} - -func (o GetNicsNicOutput) ToGetNicsNicOutputWithContext(ctx context.Context) GetNicsNicOutput { - return o -} - -// The account ID of the owner of the NIC. -func (o GetNicsNicOutput) AccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetNicsNic) string { return v.AccountId }).(pulumi.StringOutput) -} - -// The description of the NIC. -func (o GetNicsNicOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetNicsNic) string { return v.Description }).(pulumi.StringOutput) -} - -// (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. -func (o GetNicsNicOutput) IsSourceDestChecked() pulumi.BoolOutput { - return o.ApplyT(func(v GetNicsNic) bool { return v.IsSourceDestChecked }).(pulumi.BoolOutput) -} - -// Information about the NIC attachment. -func (o GetNicsNicOutput) LinkNics() GetNicsNicLinkNicArrayOutput { - return o.ApplyT(func(v GetNicsNic) []GetNicsNicLinkNic { return v.LinkNics }).(GetNicsNicLinkNicArrayOutput) -} - -// Information about the public IP association. -func (o GetNicsNicOutput) LinkPublicIps() GetNicsNicLinkPublicIpArrayOutput { - return o.ApplyT(func(v GetNicsNic) []GetNicsNicLinkPublicIp { return v.LinkPublicIps }).(GetNicsNicLinkPublicIpArrayOutput) -} - -// The Media Access Control (MAC) address of the NIC. -func (o GetNicsNicOutput) MacAddress() pulumi.StringOutput { - return o.ApplyT(func(v GetNicsNic) string { return v.MacAddress }).(pulumi.StringOutput) -} - -// The ID of the Net for the NIC. -func (o GetNicsNicOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v GetNicsNic) string { return v.NetId }).(pulumi.StringOutput) -} - -// The ID of the NIC. -func (o GetNicsNicOutput) NicId() pulumi.StringOutput { - return o.ApplyT(func(v GetNicsNic) string { return v.NicId }).(pulumi.StringOutput) -} - -// The name of the private DNS. -func (o GetNicsNicOutput) PrivateDnsName() pulumi.StringOutput { - return o.ApplyT(func(v GetNicsNic) string { return v.PrivateDnsName }).(pulumi.StringOutput) -} - -// The private IPs of the NIC. -func (o GetNicsNicOutput) PrivateIps() GetNicsNicPrivateIpArrayOutput { - return o.ApplyT(func(v GetNicsNic) []GetNicsNicPrivateIp { return v.PrivateIps }).(GetNicsNicPrivateIpArrayOutput) -} - -// One or more IDs of security groups for the NIC. -func (o GetNicsNicOutput) SecurityGroups() GetNicsNicSecurityGroupArrayOutput { - return o.ApplyT(func(v GetNicsNic) []GetNicsNicSecurityGroup { return v.SecurityGroups }).(GetNicsNicSecurityGroupArrayOutput) -} - -// The state of the NIC (`available` \| `attaching` \| `in-use` \| `detaching`). -func (o GetNicsNicOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetNicsNic) string { return v.State }).(pulumi.StringOutput) -} - -// The ID of the Subnet. -func (o GetNicsNicOutput) SubnetId() pulumi.StringOutput { - return o.ApplyT(func(v GetNicsNic) string { return v.SubnetId }).(pulumi.StringOutput) -} - -// The Subregion in which the NIC is located. -func (o GetNicsNicOutput) SubregionName() pulumi.StringOutput { - return o.ApplyT(func(v GetNicsNic) string { return v.SubregionName }).(pulumi.StringOutput) -} - -// The key/value combinations of the tags associated with the NICs, in the following format: `TAGKEY=TAGVALUE`. -func (o GetNicsNicOutput) Tags() GetNicsNicTagArrayOutput { - return o.ApplyT(func(v GetNicsNic) []GetNicsNicTag { return v.Tags }).(GetNicsNicTagArrayOutput) -} - -type GetNicsNicArrayOutput struct{ *pulumi.OutputState } - -func (GetNicsNicArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNicsNic)(nil)).Elem() -} - -func (o GetNicsNicArrayOutput) ToGetNicsNicArrayOutput() GetNicsNicArrayOutput { - return o -} - -func (o GetNicsNicArrayOutput) ToGetNicsNicArrayOutputWithContext(ctx context.Context) GetNicsNicArrayOutput { - return o -} - -func (o GetNicsNicArrayOutput) Index(i pulumi.IntInput) GetNicsNicOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNicsNic { - return vs[0].([]GetNicsNic)[vs[1].(int)] - }).(GetNicsNicOutput) -} - -type GetNicsNicLinkNic struct { - // If true, the NIC is deleted when the VM is terminated. - DeleteOnVmDeletion bool `pulumi:"deleteOnVmDeletion"` - // The device index for the NIC attachment (between `1` and `7`, both included). - DeviceNumber int `pulumi:"deviceNumber"` - // The ID of the NIC to attach. - LinkNicId string `pulumi:"linkNicId"` - // The state of the NIC (`available` \| `attaching` \| `in-use` \| `detaching`). - State string `pulumi:"state"` - // The account ID of the owner of the VM. - VmAccountId string `pulumi:"vmAccountId"` - // The ID of the VM. - VmId string `pulumi:"vmId"` -} - -// GetNicsNicLinkNicInput is an input type that accepts GetNicsNicLinkNicArgs and GetNicsNicLinkNicOutput values. -// You can construct a concrete instance of `GetNicsNicLinkNicInput` via: -// -// GetNicsNicLinkNicArgs{...} -type GetNicsNicLinkNicInput interface { - pulumi.Input - - ToGetNicsNicLinkNicOutput() GetNicsNicLinkNicOutput - ToGetNicsNicLinkNicOutputWithContext(context.Context) GetNicsNicLinkNicOutput -} - -type GetNicsNicLinkNicArgs struct { - // If true, the NIC is deleted when the VM is terminated. - DeleteOnVmDeletion pulumi.BoolInput `pulumi:"deleteOnVmDeletion"` - // The device index for the NIC attachment (between `1` and `7`, both included). - DeviceNumber pulumi.IntInput `pulumi:"deviceNumber"` - // The ID of the NIC to attach. - LinkNicId pulumi.StringInput `pulumi:"linkNicId"` - // The state of the NIC (`available` \| `attaching` \| `in-use` \| `detaching`). - State pulumi.StringInput `pulumi:"state"` - // The account ID of the owner of the VM. - VmAccountId pulumi.StringInput `pulumi:"vmAccountId"` - // The ID of the VM. - VmId pulumi.StringInput `pulumi:"vmId"` -} - -func (GetNicsNicLinkNicArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNicsNicLinkNic)(nil)).Elem() -} - -func (i GetNicsNicLinkNicArgs) ToGetNicsNicLinkNicOutput() GetNicsNicLinkNicOutput { - return i.ToGetNicsNicLinkNicOutputWithContext(context.Background()) -} - -func (i GetNicsNicLinkNicArgs) ToGetNicsNicLinkNicOutputWithContext(ctx context.Context) GetNicsNicLinkNicOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNicsNicLinkNicOutput) -} - -// GetNicsNicLinkNicArrayInput is an input type that accepts GetNicsNicLinkNicArray and GetNicsNicLinkNicArrayOutput values. -// You can construct a concrete instance of `GetNicsNicLinkNicArrayInput` via: -// -// GetNicsNicLinkNicArray{ GetNicsNicLinkNicArgs{...} } -type GetNicsNicLinkNicArrayInput interface { - pulumi.Input - - ToGetNicsNicLinkNicArrayOutput() GetNicsNicLinkNicArrayOutput - ToGetNicsNicLinkNicArrayOutputWithContext(context.Context) GetNicsNicLinkNicArrayOutput -} - -type GetNicsNicLinkNicArray []GetNicsNicLinkNicInput - -func (GetNicsNicLinkNicArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNicsNicLinkNic)(nil)).Elem() -} - -func (i GetNicsNicLinkNicArray) ToGetNicsNicLinkNicArrayOutput() GetNicsNicLinkNicArrayOutput { - return i.ToGetNicsNicLinkNicArrayOutputWithContext(context.Background()) -} - -func (i GetNicsNicLinkNicArray) ToGetNicsNicLinkNicArrayOutputWithContext(ctx context.Context) GetNicsNicLinkNicArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNicsNicLinkNicArrayOutput) -} - -type GetNicsNicLinkNicOutput struct{ *pulumi.OutputState } - -func (GetNicsNicLinkNicOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNicsNicLinkNic)(nil)).Elem() -} - -func (o GetNicsNicLinkNicOutput) ToGetNicsNicLinkNicOutput() GetNicsNicLinkNicOutput { - return o -} - -func (o GetNicsNicLinkNicOutput) ToGetNicsNicLinkNicOutputWithContext(ctx context.Context) GetNicsNicLinkNicOutput { - return o -} - -// If true, the NIC is deleted when the VM is terminated. -func (o GetNicsNicLinkNicOutput) DeleteOnVmDeletion() pulumi.BoolOutput { - return o.ApplyT(func(v GetNicsNicLinkNic) bool { return v.DeleteOnVmDeletion }).(pulumi.BoolOutput) -} - -// The device index for the NIC attachment (between `1` and `7`, both included). -func (o GetNicsNicLinkNicOutput) DeviceNumber() pulumi.IntOutput { - return o.ApplyT(func(v GetNicsNicLinkNic) int { return v.DeviceNumber }).(pulumi.IntOutput) -} - -// The ID of the NIC to attach. -func (o GetNicsNicLinkNicOutput) LinkNicId() pulumi.StringOutput { - return o.ApplyT(func(v GetNicsNicLinkNic) string { return v.LinkNicId }).(pulumi.StringOutput) -} - -// The state of the NIC (`available` \| `attaching` \| `in-use` \| `detaching`). -func (o GetNicsNicLinkNicOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetNicsNicLinkNic) string { return v.State }).(pulumi.StringOutput) -} - -// The account ID of the owner of the VM. -func (o GetNicsNicLinkNicOutput) VmAccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetNicsNicLinkNic) string { return v.VmAccountId }).(pulumi.StringOutput) -} - -// The ID of the VM. -func (o GetNicsNicLinkNicOutput) VmId() pulumi.StringOutput { - return o.ApplyT(func(v GetNicsNicLinkNic) string { return v.VmId }).(pulumi.StringOutput) -} - -type GetNicsNicLinkNicArrayOutput struct{ *pulumi.OutputState } - -func (GetNicsNicLinkNicArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNicsNicLinkNic)(nil)).Elem() -} - -func (o GetNicsNicLinkNicArrayOutput) ToGetNicsNicLinkNicArrayOutput() GetNicsNicLinkNicArrayOutput { - return o -} - -func (o GetNicsNicLinkNicArrayOutput) ToGetNicsNicLinkNicArrayOutputWithContext(ctx context.Context) GetNicsNicLinkNicArrayOutput { - return o -} - -func (o GetNicsNicLinkNicArrayOutput) Index(i pulumi.IntInput) GetNicsNicLinkNicOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNicsNicLinkNic { - return vs[0].([]GetNicsNicLinkNic)[vs[1].(int)] - }).(GetNicsNicLinkNicOutput) -} - -type GetNicsNicLinkPublicIp struct { - // (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - LinkPublicIpId string `pulumi:"linkPublicIpId"` - // The name of the public DNS. - PublicDnsName string `pulumi:"publicDnsName"` - // The public IP associated with the NIC. - PublicIp string `pulumi:"publicIp"` - // The account ID of the owner of the public IP. - PublicIpAccountId string `pulumi:"publicIpAccountId"` - // The allocation ID of the public IP. - PublicIpId string `pulumi:"publicIpId"` -} - -// GetNicsNicLinkPublicIpInput is an input type that accepts GetNicsNicLinkPublicIpArgs and GetNicsNicLinkPublicIpOutput values. -// You can construct a concrete instance of `GetNicsNicLinkPublicIpInput` via: -// -// GetNicsNicLinkPublicIpArgs{...} -type GetNicsNicLinkPublicIpInput interface { - pulumi.Input - - ToGetNicsNicLinkPublicIpOutput() GetNicsNicLinkPublicIpOutput - ToGetNicsNicLinkPublicIpOutputWithContext(context.Context) GetNicsNicLinkPublicIpOutput -} - -type GetNicsNicLinkPublicIpArgs struct { - // (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - LinkPublicIpId pulumi.StringInput `pulumi:"linkPublicIpId"` - // The name of the public DNS. - PublicDnsName pulumi.StringInput `pulumi:"publicDnsName"` - // The public IP associated with the NIC. - PublicIp pulumi.StringInput `pulumi:"publicIp"` - // The account ID of the owner of the public IP. - PublicIpAccountId pulumi.StringInput `pulumi:"publicIpAccountId"` - // The allocation ID of the public IP. - PublicIpId pulumi.StringInput `pulumi:"publicIpId"` -} - -func (GetNicsNicLinkPublicIpArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNicsNicLinkPublicIp)(nil)).Elem() -} - -func (i GetNicsNicLinkPublicIpArgs) ToGetNicsNicLinkPublicIpOutput() GetNicsNicLinkPublicIpOutput { - return i.ToGetNicsNicLinkPublicIpOutputWithContext(context.Background()) -} - -func (i GetNicsNicLinkPublicIpArgs) ToGetNicsNicLinkPublicIpOutputWithContext(ctx context.Context) GetNicsNicLinkPublicIpOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNicsNicLinkPublicIpOutput) -} - -// GetNicsNicLinkPublicIpArrayInput is an input type that accepts GetNicsNicLinkPublicIpArray and GetNicsNicLinkPublicIpArrayOutput values. -// You can construct a concrete instance of `GetNicsNicLinkPublicIpArrayInput` via: -// -// GetNicsNicLinkPublicIpArray{ GetNicsNicLinkPublicIpArgs{...} } -type GetNicsNicLinkPublicIpArrayInput interface { - pulumi.Input - - ToGetNicsNicLinkPublicIpArrayOutput() GetNicsNicLinkPublicIpArrayOutput - ToGetNicsNicLinkPublicIpArrayOutputWithContext(context.Context) GetNicsNicLinkPublicIpArrayOutput -} - -type GetNicsNicLinkPublicIpArray []GetNicsNicLinkPublicIpInput - -func (GetNicsNicLinkPublicIpArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNicsNicLinkPublicIp)(nil)).Elem() -} - -func (i GetNicsNicLinkPublicIpArray) ToGetNicsNicLinkPublicIpArrayOutput() GetNicsNicLinkPublicIpArrayOutput { - return i.ToGetNicsNicLinkPublicIpArrayOutputWithContext(context.Background()) -} - -func (i GetNicsNicLinkPublicIpArray) ToGetNicsNicLinkPublicIpArrayOutputWithContext(ctx context.Context) GetNicsNicLinkPublicIpArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNicsNicLinkPublicIpArrayOutput) -} - -type GetNicsNicLinkPublicIpOutput struct{ *pulumi.OutputState } - -func (GetNicsNicLinkPublicIpOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNicsNicLinkPublicIp)(nil)).Elem() -} - -func (o GetNicsNicLinkPublicIpOutput) ToGetNicsNicLinkPublicIpOutput() GetNicsNicLinkPublicIpOutput { - return o -} - -func (o GetNicsNicLinkPublicIpOutput) ToGetNicsNicLinkPublicIpOutputWithContext(ctx context.Context) GetNicsNicLinkPublicIpOutput { - return o -} - -// (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. -func (o GetNicsNicLinkPublicIpOutput) LinkPublicIpId() pulumi.StringOutput { - return o.ApplyT(func(v GetNicsNicLinkPublicIp) string { return v.LinkPublicIpId }).(pulumi.StringOutput) -} - -// The name of the public DNS. -func (o GetNicsNicLinkPublicIpOutput) PublicDnsName() pulumi.StringOutput { - return o.ApplyT(func(v GetNicsNicLinkPublicIp) string { return v.PublicDnsName }).(pulumi.StringOutput) -} - -// The public IP associated with the NIC. -func (o GetNicsNicLinkPublicIpOutput) PublicIp() pulumi.StringOutput { - return o.ApplyT(func(v GetNicsNicLinkPublicIp) string { return v.PublicIp }).(pulumi.StringOutput) -} - -// The account ID of the owner of the public IP. -func (o GetNicsNicLinkPublicIpOutput) PublicIpAccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetNicsNicLinkPublicIp) string { return v.PublicIpAccountId }).(pulumi.StringOutput) -} - -// The allocation ID of the public IP. -func (o GetNicsNicLinkPublicIpOutput) PublicIpId() pulumi.StringOutput { - return o.ApplyT(func(v GetNicsNicLinkPublicIp) string { return v.PublicIpId }).(pulumi.StringOutput) -} - -type GetNicsNicLinkPublicIpArrayOutput struct{ *pulumi.OutputState } - -func (GetNicsNicLinkPublicIpArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNicsNicLinkPublicIp)(nil)).Elem() -} - -func (o GetNicsNicLinkPublicIpArrayOutput) ToGetNicsNicLinkPublicIpArrayOutput() GetNicsNicLinkPublicIpArrayOutput { - return o -} - -func (o GetNicsNicLinkPublicIpArrayOutput) ToGetNicsNicLinkPublicIpArrayOutputWithContext(ctx context.Context) GetNicsNicLinkPublicIpArrayOutput { - return o -} - -func (o GetNicsNicLinkPublicIpArrayOutput) Index(i pulumi.IntInput) GetNicsNicLinkPublicIpOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNicsNicLinkPublicIp { - return vs[0].([]GetNicsNicLinkPublicIp)[vs[1].(int)] - }).(GetNicsNicLinkPublicIpOutput) -} - -type GetNicsNicPrivateIp struct { - // If true, the IP is the primary private IP of the NIC. - IsPrimary bool `pulumi:"isPrimary"` - // Information about the public IP association. - LinkPublicIps []GetNicsNicPrivateIpLinkPublicIp `pulumi:"linkPublicIps"` - // The name of the private DNS. - PrivateDnsName string `pulumi:"privateDnsName"` - // The private IP of the NIC. - PrivateIp string `pulumi:"privateIp"` -} - -// GetNicsNicPrivateIpInput is an input type that accepts GetNicsNicPrivateIpArgs and GetNicsNicPrivateIpOutput values. -// You can construct a concrete instance of `GetNicsNicPrivateIpInput` via: -// -// GetNicsNicPrivateIpArgs{...} -type GetNicsNicPrivateIpInput interface { - pulumi.Input - - ToGetNicsNicPrivateIpOutput() GetNicsNicPrivateIpOutput - ToGetNicsNicPrivateIpOutputWithContext(context.Context) GetNicsNicPrivateIpOutput -} - -type GetNicsNicPrivateIpArgs struct { - // If true, the IP is the primary private IP of the NIC. - IsPrimary pulumi.BoolInput `pulumi:"isPrimary"` - // Information about the public IP association. - LinkPublicIps GetNicsNicPrivateIpLinkPublicIpArrayInput `pulumi:"linkPublicIps"` - // The name of the private DNS. - PrivateDnsName pulumi.StringInput `pulumi:"privateDnsName"` - // The private IP of the NIC. - PrivateIp pulumi.StringInput `pulumi:"privateIp"` -} - -func (GetNicsNicPrivateIpArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNicsNicPrivateIp)(nil)).Elem() -} - -func (i GetNicsNicPrivateIpArgs) ToGetNicsNicPrivateIpOutput() GetNicsNicPrivateIpOutput { - return i.ToGetNicsNicPrivateIpOutputWithContext(context.Background()) -} - -func (i GetNicsNicPrivateIpArgs) ToGetNicsNicPrivateIpOutputWithContext(ctx context.Context) GetNicsNicPrivateIpOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNicsNicPrivateIpOutput) -} - -// GetNicsNicPrivateIpArrayInput is an input type that accepts GetNicsNicPrivateIpArray and GetNicsNicPrivateIpArrayOutput values. -// You can construct a concrete instance of `GetNicsNicPrivateIpArrayInput` via: -// -// GetNicsNicPrivateIpArray{ GetNicsNicPrivateIpArgs{...} } -type GetNicsNicPrivateIpArrayInput interface { - pulumi.Input - - ToGetNicsNicPrivateIpArrayOutput() GetNicsNicPrivateIpArrayOutput - ToGetNicsNicPrivateIpArrayOutputWithContext(context.Context) GetNicsNicPrivateIpArrayOutput -} - -type GetNicsNicPrivateIpArray []GetNicsNicPrivateIpInput - -func (GetNicsNicPrivateIpArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNicsNicPrivateIp)(nil)).Elem() -} - -func (i GetNicsNicPrivateIpArray) ToGetNicsNicPrivateIpArrayOutput() GetNicsNicPrivateIpArrayOutput { - return i.ToGetNicsNicPrivateIpArrayOutputWithContext(context.Background()) -} - -func (i GetNicsNicPrivateIpArray) ToGetNicsNicPrivateIpArrayOutputWithContext(ctx context.Context) GetNicsNicPrivateIpArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNicsNicPrivateIpArrayOutput) -} - -type GetNicsNicPrivateIpOutput struct{ *pulumi.OutputState } - -func (GetNicsNicPrivateIpOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNicsNicPrivateIp)(nil)).Elem() -} - -func (o GetNicsNicPrivateIpOutput) ToGetNicsNicPrivateIpOutput() GetNicsNicPrivateIpOutput { - return o -} - -func (o GetNicsNicPrivateIpOutput) ToGetNicsNicPrivateIpOutputWithContext(ctx context.Context) GetNicsNicPrivateIpOutput { - return o -} - -// If true, the IP is the primary private IP of the NIC. -func (o GetNicsNicPrivateIpOutput) IsPrimary() pulumi.BoolOutput { - return o.ApplyT(func(v GetNicsNicPrivateIp) bool { return v.IsPrimary }).(pulumi.BoolOutput) -} - -// Information about the public IP association. -func (o GetNicsNicPrivateIpOutput) LinkPublicIps() GetNicsNicPrivateIpLinkPublicIpArrayOutput { - return o.ApplyT(func(v GetNicsNicPrivateIp) []GetNicsNicPrivateIpLinkPublicIp { return v.LinkPublicIps }).(GetNicsNicPrivateIpLinkPublicIpArrayOutput) -} - -// The name of the private DNS. -func (o GetNicsNicPrivateIpOutput) PrivateDnsName() pulumi.StringOutput { - return o.ApplyT(func(v GetNicsNicPrivateIp) string { return v.PrivateDnsName }).(pulumi.StringOutput) -} - -// The private IP of the NIC. -func (o GetNicsNicPrivateIpOutput) PrivateIp() pulumi.StringOutput { - return o.ApplyT(func(v GetNicsNicPrivateIp) string { return v.PrivateIp }).(pulumi.StringOutput) -} - -type GetNicsNicPrivateIpArrayOutput struct{ *pulumi.OutputState } - -func (GetNicsNicPrivateIpArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNicsNicPrivateIp)(nil)).Elem() -} - -func (o GetNicsNicPrivateIpArrayOutput) ToGetNicsNicPrivateIpArrayOutput() GetNicsNicPrivateIpArrayOutput { - return o -} - -func (o GetNicsNicPrivateIpArrayOutput) ToGetNicsNicPrivateIpArrayOutputWithContext(ctx context.Context) GetNicsNicPrivateIpArrayOutput { - return o -} - -func (o GetNicsNicPrivateIpArrayOutput) Index(i pulumi.IntInput) GetNicsNicPrivateIpOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNicsNicPrivateIp { - return vs[0].([]GetNicsNicPrivateIp)[vs[1].(int)] - }).(GetNicsNicPrivateIpOutput) -} - -type GetNicsNicPrivateIpLinkPublicIp struct { - // (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - LinkPublicIpId string `pulumi:"linkPublicIpId"` - // The name of the public DNS. - PublicDnsName string `pulumi:"publicDnsName"` - // The public IP associated with the NIC. - PublicIp string `pulumi:"publicIp"` - // The account ID of the owner of the public IP. - PublicIpAccountId string `pulumi:"publicIpAccountId"` - // The allocation ID of the public IP. - PublicIpId string `pulumi:"publicIpId"` -} - -// GetNicsNicPrivateIpLinkPublicIpInput is an input type that accepts GetNicsNicPrivateIpLinkPublicIpArgs and GetNicsNicPrivateIpLinkPublicIpOutput values. -// You can construct a concrete instance of `GetNicsNicPrivateIpLinkPublicIpInput` via: -// -// GetNicsNicPrivateIpLinkPublicIpArgs{...} -type GetNicsNicPrivateIpLinkPublicIpInput interface { - pulumi.Input - - ToGetNicsNicPrivateIpLinkPublicIpOutput() GetNicsNicPrivateIpLinkPublicIpOutput - ToGetNicsNicPrivateIpLinkPublicIpOutputWithContext(context.Context) GetNicsNicPrivateIpLinkPublicIpOutput -} - -type GetNicsNicPrivateIpLinkPublicIpArgs struct { - // (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - LinkPublicIpId pulumi.StringInput `pulumi:"linkPublicIpId"` - // The name of the public DNS. - PublicDnsName pulumi.StringInput `pulumi:"publicDnsName"` - // The public IP associated with the NIC. - PublicIp pulumi.StringInput `pulumi:"publicIp"` - // The account ID of the owner of the public IP. - PublicIpAccountId pulumi.StringInput `pulumi:"publicIpAccountId"` - // The allocation ID of the public IP. - PublicIpId pulumi.StringInput `pulumi:"publicIpId"` -} - -func (GetNicsNicPrivateIpLinkPublicIpArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNicsNicPrivateIpLinkPublicIp)(nil)).Elem() -} - -func (i GetNicsNicPrivateIpLinkPublicIpArgs) ToGetNicsNicPrivateIpLinkPublicIpOutput() GetNicsNicPrivateIpLinkPublicIpOutput { - return i.ToGetNicsNicPrivateIpLinkPublicIpOutputWithContext(context.Background()) -} - -func (i GetNicsNicPrivateIpLinkPublicIpArgs) ToGetNicsNicPrivateIpLinkPublicIpOutputWithContext(ctx context.Context) GetNicsNicPrivateIpLinkPublicIpOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNicsNicPrivateIpLinkPublicIpOutput) -} - -// GetNicsNicPrivateIpLinkPublicIpArrayInput is an input type that accepts GetNicsNicPrivateIpLinkPublicIpArray and GetNicsNicPrivateIpLinkPublicIpArrayOutput values. -// You can construct a concrete instance of `GetNicsNicPrivateIpLinkPublicIpArrayInput` via: -// -// GetNicsNicPrivateIpLinkPublicIpArray{ GetNicsNicPrivateIpLinkPublicIpArgs{...} } -type GetNicsNicPrivateIpLinkPublicIpArrayInput interface { - pulumi.Input - - ToGetNicsNicPrivateIpLinkPublicIpArrayOutput() GetNicsNicPrivateIpLinkPublicIpArrayOutput - ToGetNicsNicPrivateIpLinkPublicIpArrayOutputWithContext(context.Context) GetNicsNicPrivateIpLinkPublicIpArrayOutput -} - -type GetNicsNicPrivateIpLinkPublicIpArray []GetNicsNicPrivateIpLinkPublicIpInput - -func (GetNicsNicPrivateIpLinkPublicIpArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNicsNicPrivateIpLinkPublicIp)(nil)).Elem() -} - -func (i GetNicsNicPrivateIpLinkPublicIpArray) ToGetNicsNicPrivateIpLinkPublicIpArrayOutput() GetNicsNicPrivateIpLinkPublicIpArrayOutput { - return i.ToGetNicsNicPrivateIpLinkPublicIpArrayOutputWithContext(context.Background()) -} - -func (i GetNicsNicPrivateIpLinkPublicIpArray) ToGetNicsNicPrivateIpLinkPublicIpArrayOutputWithContext(ctx context.Context) GetNicsNicPrivateIpLinkPublicIpArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNicsNicPrivateIpLinkPublicIpArrayOutput) -} - -type GetNicsNicPrivateIpLinkPublicIpOutput struct{ *pulumi.OutputState } - -func (GetNicsNicPrivateIpLinkPublicIpOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNicsNicPrivateIpLinkPublicIp)(nil)).Elem() -} - -func (o GetNicsNicPrivateIpLinkPublicIpOutput) ToGetNicsNicPrivateIpLinkPublicIpOutput() GetNicsNicPrivateIpLinkPublicIpOutput { - return o -} - -func (o GetNicsNicPrivateIpLinkPublicIpOutput) ToGetNicsNicPrivateIpLinkPublicIpOutputWithContext(ctx context.Context) GetNicsNicPrivateIpLinkPublicIpOutput { - return o -} - -// (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. -func (o GetNicsNicPrivateIpLinkPublicIpOutput) LinkPublicIpId() pulumi.StringOutput { - return o.ApplyT(func(v GetNicsNicPrivateIpLinkPublicIp) string { return v.LinkPublicIpId }).(pulumi.StringOutput) -} - -// The name of the public DNS. -func (o GetNicsNicPrivateIpLinkPublicIpOutput) PublicDnsName() pulumi.StringOutput { - return o.ApplyT(func(v GetNicsNicPrivateIpLinkPublicIp) string { return v.PublicDnsName }).(pulumi.StringOutput) -} - -// The public IP associated with the NIC. -func (o GetNicsNicPrivateIpLinkPublicIpOutput) PublicIp() pulumi.StringOutput { - return o.ApplyT(func(v GetNicsNicPrivateIpLinkPublicIp) string { return v.PublicIp }).(pulumi.StringOutput) -} - -// The account ID of the owner of the public IP. -func (o GetNicsNicPrivateIpLinkPublicIpOutput) PublicIpAccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetNicsNicPrivateIpLinkPublicIp) string { return v.PublicIpAccountId }).(pulumi.StringOutput) -} - -// The allocation ID of the public IP. -func (o GetNicsNicPrivateIpLinkPublicIpOutput) PublicIpId() pulumi.StringOutput { - return o.ApplyT(func(v GetNicsNicPrivateIpLinkPublicIp) string { return v.PublicIpId }).(pulumi.StringOutput) -} - -type GetNicsNicPrivateIpLinkPublicIpArrayOutput struct{ *pulumi.OutputState } - -func (GetNicsNicPrivateIpLinkPublicIpArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNicsNicPrivateIpLinkPublicIp)(nil)).Elem() -} - -func (o GetNicsNicPrivateIpLinkPublicIpArrayOutput) ToGetNicsNicPrivateIpLinkPublicIpArrayOutput() GetNicsNicPrivateIpLinkPublicIpArrayOutput { - return o -} - -func (o GetNicsNicPrivateIpLinkPublicIpArrayOutput) ToGetNicsNicPrivateIpLinkPublicIpArrayOutputWithContext(ctx context.Context) GetNicsNicPrivateIpLinkPublicIpArrayOutput { - return o -} - -func (o GetNicsNicPrivateIpLinkPublicIpArrayOutput) Index(i pulumi.IntInput) GetNicsNicPrivateIpLinkPublicIpOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNicsNicPrivateIpLinkPublicIp { - return vs[0].([]GetNicsNicPrivateIpLinkPublicIp)[vs[1].(int)] - }).(GetNicsNicPrivateIpLinkPublicIpOutput) -} - -type GetNicsNicSecurityGroup struct { - // The ID of the security group. - SecurityGroupId string `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName string `pulumi:"securityGroupName"` -} - -// GetNicsNicSecurityGroupInput is an input type that accepts GetNicsNicSecurityGroupArgs and GetNicsNicSecurityGroupOutput values. -// You can construct a concrete instance of `GetNicsNicSecurityGroupInput` via: -// -// GetNicsNicSecurityGroupArgs{...} -type GetNicsNicSecurityGroupInput interface { - pulumi.Input - - ToGetNicsNicSecurityGroupOutput() GetNicsNicSecurityGroupOutput - ToGetNicsNicSecurityGroupOutputWithContext(context.Context) GetNicsNicSecurityGroupOutput -} - -type GetNicsNicSecurityGroupArgs struct { - // The ID of the security group. - SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName pulumi.StringInput `pulumi:"securityGroupName"` -} - -func (GetNicsNicSecurityGroupArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNicsNicSecurityGroup)(nil)).Elem() -} - -func (i GetNicsNicSecurityGroupArgs) ToGetNicsNicSecurityGroupOutput() GetNicsNicSecurityGroupOutput { - return i.ToGetNicsNicSecurityGroupOutputWithContext(context.Background()) -} - -func (i GetNicsNicSecurityGroupArgs) ToGetNicsNicSecurityGroupOutputWithContext(ctx context.Context) GetNicsNicSecurityGroupOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNicsNicSecurityGroupOutput) -} - -// GetNicsNicSecurityGroupArrayInput is an input type that accepts GetNicsNicSecurityGroupArray and GetNicsNicSecurityGroupArrayOutput values. -// You can construct a concrete instance of `GetNicsNicSecurityGroupArrayInput` via: -// -// GetNicsNicSecurityGroupArray{ GetNicsNicSecurityGroupArgs{...} } -type GetNicsNicSecurityGroupArrayInput interface { - pulumi.Input - - ToGetNicsNicSecurityGroupArrayOutput() GetNicsNicSecurityGroupArrayOutput - ToGetNicsNicSecurityGroupArrayOutputWithContext(context.Context) GetNicsNicSecurityGroupArrayOutput -} - -type GetNicsNicSecurityGroupArray []GetNicsNicSecurityGroupInput - -func (GetNicsNicSecurityGroupArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNicsNicSecurityGroup)(nil)).Elem() -} - -func (i GetNicsNicSecurityGroupArray) ToGetNicsNicSecurityGroupArrayOutput() GetNicsNicSecurityGroupArrayOutput { - return i.ToGetNicsNicSecurityGroupArrayOutputWithContext(context.Background()) -} - -func (i GetNicsNicSecurityGroupArray) ToGetNicsNicSecurityGroupArrayOutputWithContext(ctx context.Context) GetNicsNicSecurityGroupArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNicsNicSecurityGroupArrayOutput) -} - -type GetNicsNicSecurityGroupOutput struct{ *pulumi.OutputState } - -func (GetNicsNicSecurityGroupOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNicsNicSecurityGroup)(nil)).Elem() -} - -func (o GetNicsNicSecurityGroupOutput) ToGetNicsNicSecurityGroupOutput() GetNicsNicSecurityGroupOutput { - return o -} - -func (o GetNicsNicSecurityGroupOutput) ToGetNicsNicSecurityGroupOutputWithContext(ctx context.Context) GetNicsNicSecurityGroupOutput { - return o -} - -// The ID of the security group. -func (o GetNicsNicSecurityGroupOutput) SecurityGroupId() pulumi.StringOutput { - return o.ApplyT(func(v GetNicsNicSecurityGroup) string { return v.SecurityGroupId }).(pulumi.StringOutput) -} - -// The name of the security group. -func (o GetNicsNicSecurityGroupOutput) SecurityGroupName() pulumi.StringOutput { - return o.ApplyT(func(v GetNicsNicSecurityGroup) string { return v.SecurityGroupName }).(pulumi.StringOutput) -} - -type GetNicsNicSecurityGroupArrayOutput struct{ *pulumi.OutputState } - -func (GetNicsNicSecurityGroupArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNicsNicSecurityGroup)(nil)).Elem() -} - -func (o GetNicsNicSecurityGroupArrayOutput) ToGetNicsNicSecurityGroupArrayOutput() GetNicsNicSecurityGroupArrayOutput { - return o -} - -func (o GetNicsNicSecurityGroupArrayOutput) ToGetNicsNicSecurityGroupArrayOutputWithContext(ctx context.Context) GetNicsNicSecurityGroupArrayOutput { - return o -} - -func (o GetNicsNicSecurityGroupArrayOutput) Index(i pulumi.IntInput) GetNicsNicSecurityGroupOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNicsNicSecurityGroup { - return vs[0].([]GetNicsNicSecurityGroup)[vs[1].(int)] - }).(GetNicsNicSecurityGroupOutput) -} - -type GetNicsNicTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetNicsNicTagInput is an input type that accepts GetNicsNicTagArgs and GetNicsNicTagOutput values. -// You can construct a concrete instance of `GetNicsNicTagInput` via: -// -// GetNicsNicTagArgs{...} -type GetNicsNicTagInput interface { - pulumi.Input - - ToGetNicsNicTagOutput() GetNicsNicTagOutput - ToGetNicsNicTagOutputWithContext(context.Context) GetNicsNicTagOutput -} - -type GetNicsNicTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetNicsNicTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNicsNicTag)(nil)).Elem() -} - -func (i GetNicsNicTagArgs) ToGetNicsNicTagOutput() GetNicsNicTagOutput { - return i.ToGetNicsNicTagOutputWithContext(context.Background()) -} - -func (i GetNicsNicTagArgs) ToGetNicsNicTagOutputWithContext(ctx context.Context) GetNicsNicTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNicsNicTagOutput) -} - -// GetNicsNicTagArrayInput is an input type that accepts GetNicsNicTagArray and GetNicsNicTagArrayOutput values. -// You can construct a concrete instance of `GetNicsNicTagArrayInput` via: -// -// GetNicsNicTagArray{ GetNicsNicTagArgs{...} } -type GetNicsNicTagArrayInput interface { - pulumi.Input - - ToGetNicsNicTagArrayOutput() GetNicsNicTagArrayOutput - ToGetNicsNicTagArrayOutputWithContext(context.Context) GetNicsNicTagArrayOutput -} - -type GetNicsNicTagArray []GetNicsNicTagInput - -func (GetNicsNicTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNicsNicTag)(nil)).Elem() -} - -func (i GetNicsNicTagArray) ToGetNicsNicTagArrayOutput() GetNicsNicTagArrayOutput { - return i.ToGetNicsNicTagArrayOutputWithContext(context.Background()) -} - -func (i GetNicsNicTagArray) ToGetNicsNicTagArrayOutputWithContext(ctx context.Context) GetNicsNicTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNicsNicTagArrayOutput) -} - -type GetNicsNicTagOutput struct{ *pulumi.OutputState } - -func (GetNicsNicTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNicsNicTag)(nil)).Elem() -} - -func (o GetNicsNicTagOutput) ToGetNicsNicTagOutput() GetNicsNicTagOutput { - return o -} - -func (o GetNicsNicTagOutput) ToGetNicsNicTagOutputWithContext(ctx context.Context) GetNicsNicTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetNicsNicTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetNicsNicTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetNicsNicTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetNicsNicTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetNicsNicTagArrayOutput struct{ *pulumi.OutputState } - -func (GetNicsNicTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNicsNicTag)(nil)).Elem() -} - -func (o GetNicsNicTagArrayOutput) ToGetNicsNicTagArrayOutput() GetNicsNicTagArrayOutput { - return o -} - -func (o GetNicsNicTagArrayOutput) ToGetNicsNicTagArrayOutputWithContext(ctx context.Context) GetNicsNicTagArrayOutput { - return o -} - -func (o GetNicsNicTagArrayOutput) Index(i pulumi.IntInput) GetNicsNicTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNicsNicTag { - return vs[0].([]GetNicsNicTag)[vs[1].(int)] - }).(GetNicsNicTagOutput) -} - -type GetProductTypeFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetProductTypeFilterInput is an input type that accepts GetProductTypeFilterArgs and GetProductTypeFilterOutput values. -// You can construct a concrete instance of `GetProductTypeFilterInput` via: -// -// GetProductTypeFilterArgs{...} -type GetProductTypeFilterInput interface { - pulumi.Input - - ToGetProductTypeFilterOutput() GetProductTypeFilterOutput - ToGetProductTypeFilterOutputWithContext(context.Context) GetProductTypeFilterOutput -} - -type GetProductTypeFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetProductTypeFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetProductTypeFilter)(nil)).Elem() -} - -func (i GetProductTypeFilterArgs) ToGetProductTypeFilterOutput() GetProductTypeFilterOutput { - return i.ToGetProductTypeFilterOutputWithContext(context.Background()) -} - -func (i GetProductTypeFilterArgs) ToGetProductTypeFilterOutputWithContext(ctx context.Context) GetProductTypeFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetProductTypeFilterOutput) -} - -// GetProductTypeFilterArrayInput is an input type that accepts GetProductTypeFilterArray and GetProductTypeFilterArrayOutput values. -// You can construct a concrete instance of `GetProductTypeFilterArrayInput` via: -// -// GetProductTypeFilterArray{ GetProductTypeFilterArgs{...} } -type GetProductTypeFilterArrayInput interface { - pulumi.Input - - ToGetProductTypeFilterArrayOutput() GetProductTypeFilterArrayOutput - ToGetProductTypeFilterArrayOutputWithContext(context.Context) GetProductTypeFilterArrayOutput -} - -type GetProductTypeFilterArray []GetProductTypeFilterInput - -func (GetProductTypeFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetProductTypeFilter)(nil)).Elem() -} - -func (i GetProductTypeFilterArray) ToGetProductTypeFilterArrayOutput() GetProductTypeFilterArrayOutput { - return i.ToGetProductTypeFilterArrayOutputWithContext(context.Background()) -} - -func (i GetProductTypeFilterArray) ToGetProductTypeFilterArrayOutputWithContext(ctx context.Context) GetProductTypeFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetProductTypeFilterArrayOutput) -} - -type GetProductTypeFilterOutput struct{ *pulumi.OutputState } - -func (GetProductTypeFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetProductTypeFilter)(nil)).Elem() -} - -func (o GetProductTypeFilterOutput) ToGetProductTypeFilterOutput() GetProductTypeFilterOutput { - return o -} - -func (o GetProductTypeFilterOutput) ToGetProductTypeFilterOutputWithContext(ctx context.Context) GetProductTypeFilterOutput { - return o -} - -func (o GetProductTypeFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetProductTypeFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetProductTypeFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetProductTypeFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetProductTypeFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetProductTypeFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetProductTypeFilter)(nil)).Elem() -} - -func (o GetProductTypeFilterArrayOutput) ToGetProductTypeFilterArrayOutput() GetProductTypeFilterArrayOutput { - return o -} - -func (o GetProductTypeFilterArrayOutput) ToGetProductTypeFilterArrayOutputWithContext(ctx context.Context) GetProductTypeFilterArrayOutput { - return o -} - -func (o GetProductTypeFilterArrayOutput) Index(i pulumi.IntInput) GetProductTypeFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetProductTypeFilter { - return vs[0].([]GetProductTypeFilter)[vs[1].(int)] - }).(GetProductTypeFilterOutput) -} - -type GetProductTypesFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetProductTypesFilterInput is an input type that accepts GetProductTypesFilterArgs and GetProductTypesFilterOutput values. -// You can construct a concrete instance of `GetProductTypesFilterInput` via: -// -// GetProductTypesFilterArgs{...} -type GetProductTypesFilterInput interface { - pulumi.Input - - ToGetProductTypesFilterOutput() GetProductTypesFilterOutput - ToGetProductTypesFilterOutputWithContext(context.Context) GetProductTypesFilterOutput -} - -type GetProductTypesFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetProductTypesFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetProductTypesFilter)(nil)).Elem() -} - -func (i GetProductTypesFilterArgs) ToGetProductTypesFilterOutput() GetProductTypesFilterOutput { - return i.ToGetProductTypesFilterOutputWithContext(context.Background()) -} - -func (i GetProductTypesFilterArgs) ToGetProductTypesFilterOutputWithContext(ctx context.Context) GetProductTypesFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetProductTypesFilterOutput) -} - -// GetProductTypesFilterArrayInput is an input type that accepts GetProductTypesFilterArray and GetProductTypesFilterArrayOutput values. -// You can construct a concrete instance of `GetProductTypesFilterArrayInput` via: -// -// GetProductTypesFilterArray{ GetProductTypesFilterArgs{...} } -type GetProductTypesFilterArrayInput interface { - pulumi.Input - - ToGetProductTypesFilterArrayOutput() GetProductTypesFilterArrayOutput - ToGetProductTypesFilterArrayOutputWithContext(context.Context) GetProductTypesFilterArrayOutput -} - -type GetProductTypesFilterArray []GetProductTypesFilterInput - -func (GetProductTypesFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetProductTypesFilter)(nil)).Elem() -} - -func (i GetProductTypesFilterArray) ToGetProductTypesFilterArrayOutput() GetProductTypesFilterArrayOutput { - return i.ToGetProductTypesFilterArrayOutputWithContext(context.Background()) -} - -func (i GetProductTypesFilterArray) ToGetProductTypesFilterArrayOutputWithContext(ctx context.Context) GetProductTypesFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetProductTypesFilterArrayOutput) -} - -type GetProductTypesFilterOutput struct{ *pulumi.OutputState } - -func (GetProductTypesFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetProductTypesFilter)(nil)).Elem() -} - -func (o GetProductTypesFilterOutput) ToGetProductTypesFilterOutput() GetProductTypesFilterOutput { - return o -} - -func (o GetProductTypesFilterOutput) ToGetProductTypesFilterOutputWithContext(ctx context.Context) GetProductTypesFilterOutput { - return o -} - -func (o GetProductTypesFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetProductTypesFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetProductTypesFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetProductTypesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetProductTypesFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetProductTypesFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetProductTypesFilter)(nil)).Elem() -} - -func (o GetProductTypesFilterArrayOutput) ToGetProductTypesFilterArrayOutput() GetProductTypesFilterArrayOutput { - return o -} - -func (o GetProductTypesFilterArrayOutput) ToGetProductTypesFilterArrayOutputWithContext(ctx context.Context) GetProductTypesFilterArrayOutput { - return o -} - -func (o GetProductTypesFilterArrayOutput) Index(i pulumi.IntInput) GetProductTypesFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetProductTypesFilter { - return vs[0].([]GetProductTypesFilter)[vs[1].(int)] - }).(GetProductTypesFilterOutput) -} - -type GetProductTypesProductType struct { - // The description of the product type. - Description string `pulumi:"description"` - // The ID of the product type. - ProductTypeId string `pulumi:"productTypeId"` - // The vendor of the product type. - Vendor string `pulumi:"vendor"` -} - -// GetProductTypesProductTypeInput is an input type that accepts GetProductTypesProductTypeArgs and GetProductTypesProductTypeOutput values. -// You can construct a concrete instance of `GetProductTypesProductTypeInput` via: -// -// GetProductTypesProductTypeArgs{...} -type GetProductTypesProductTypeInput interface { - pulumi.Input - - ToGetProductTypesProductTypeOutput() GetProductTypesProductTypeOutput - ToGetProductTypesProductTypeOutputWithContext(context.Context) GetProductTypesProductTypeOutput -} - -type GetProductTypesProductTypeArgs struct { - // The description of the product type. - Description pulumi.StringInput `pulumi:"description"` - // The ID of the product type. - ProductTypeId pulumi.StringInput `pulumi:"productTypeId"` - // The vendor of the product type. - Vendor pulumi.StringInput `pulumi:"vendor"` -} - -func (GetProductTypesProductTypeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetProductTypesProductType)(nil)).Elem() -} - -func (i GetProductTypesProductTypeArgs) ToGetProductTypesProductTypeOutput() GetProductTypesProductTypeOutput { - return i.ToGetProductTypesProductTypeOutputWithContext(context.Background()) -} - -func (i GetProductTypesProductTypeArgs) ToGetProductTypesProductTypeOutputWithContext(ctx context.Context) GetProductTypesProductTypeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetProductTypesProductTypeOutput) -} - -// GetProductTypesProductTypeArrayInput is an input type that accepts GetProductTypesProductTypeArray and GetProductTypesProductTypeArrayOutput values. -// You can construct a concrete instance of `GetProductTypesProductTypeArrayInput` via: -// -// GetProductTypesProductTypeArray{ GetProductTypesProductTypeArgs{...} } -type GetProductTypesProductTypeArrayInput interface { - pulumi.Input - - ToGetProductTypesProductTypeArrayOutput() GetProductTypesProductTypeArrayOutput - ToGetProductTypesProductTypeArrayOutputWithContext(context.Context) GetProductTypesProductTypeArrayOutput -} - -type GetProductTypesProductTypeArray []GetProductTypesProductTypeInput - -func (GetProductTypesProductTypeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetProductTypesProductType)(nil)).Elem() -} - -func (i GetProductTypesProductTypeArray) ToGetProductTypesProductTypeArrayOutput() GetProductTypesProductTypeArrayOutput { - return i.ToGetProductTypesProductTypeArrayOutputWithContext(context.Background()) -} - -func (i GetProductTypesProductTypeArray) ToGetProductTypesProductTypeArrayOutputWithContext(ctx context.Context) GetProductTypesProductTypeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetProductTypesProductTypeArrayOutput) -} - -type GetProductTypesProductTypeOutput struct{ *pulumi.OutputState } - -func (GetProductTypesProductTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetProductTypesProductType)(nil)).Elem() -} - -func (o GetProductTypesProductTypeOutput) ToGetProductTypesProductTypeOutput() GetProductTypesProductTypeOutput { - return o -} - -func (o GetProductTypesProductTypeOutput) ToGetProductTypesProductTypeOutputWithContext(ctx context.Context) GetProductTypesProductTypeOutput { - return o -} - -// The description of the product type. -func (o GetProductTypesProductTypeOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetProductTypesProductType) string { return v.Description }).(pulumi.StringOutput) -} - -// The ID of the product type. -func (o GetProductTypesProductTypeOutput) ProductTypeId() pulumi.StringOutput { - return o.ApplyT(func(v GetProductTypesProductType) string { return v.ProductTypeId }).(pulumi.StringOutput) -} - -// The vendor of the product type. -func (o GetProductTypesProductTypeOutput) Vendor() pulumi.StringOutput { - return o.ApplyT(func(v GetProductTypesProductType) string { return v.Vendor }).(pulumi.StringOutput) -} - -type GetProductTypesProductTypeArrayOutput struct{ *pulumi.OutputState } - -func (GetProductTypesProductTypeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetProductTypesProductType)(nil)).Elem() -} - -func (o GetProductTypesProductTypeArrayOutput) ToGetProductTypesProductTypeArrayOutput() GetProductTypesProductTypeArrayOutput { - return o -} - -func (o GetProductTypesProductTypeArrayOutput) ToGetProductTypesProductTypeArrayOutputWithContext(ctx context.Context) GetProductTypesProductTypeArrayOutput { - return o -} - -func (o GetProductTypesProductTypeArrayOutput) Index(i pulumi.IntInput) GetProductTypesProductTypeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetProductTypesProductType { - return vs[0].([]GetProductTypesProductType)[vs[1].(int)] - }).(GetProductTypesProductTypeOutput) -} - -type GetPublicIpFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetPublicIpFilterInput is an input type that accepts GetPublicIpFilterArgs and GetPublicIpFilterOutput values. -// You can construct a concrete instance of `GetPublicIpFilterInput` via: -// -// GetPublicIpFilterArgs{...} -type GetPublicIpFilterInput interface { - pulumi.Input - - ToGetPublicIpFilterOutput() GetPublicIpFilterOutput - ToGetPublicIpFilterOutputWithContext(context.Context) GetPublicIpFilterOutput -} - -type GetPublicIpFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetPublicIpFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPublicIpFilter)(nil)).Elem() -} - -func (i GetPublicIpFilterArgs) ToGetPublicIpFilterOutput() GetPublicIpFilterOutput { - return i.ToGetPublicIpFilterOutputWithContext(context.Background()) -} - -func (i GetPublicIpFilterArgs) ToGetPublicIpFilterOutputWithContext(ctx context.Context) GetPublicIpFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPublicIpFilterOutput) -} - -// GetPublicIpFilterArrayInput is an input type that accepts GetPublicIpFilterArray and GetPublicIpFilterArrayOutput values. -// You can construct a concrete instance of `GetPublicIpFilterArrayInput` via: -// -// GetPublicIpFilterArray{ GetPublicIpFilterArgs{...} } -type GetPublicIpFilterArrayInput interface { - pulumi.Input - - ToGetPublicIpFilterArrayOutput() GetPublicIpFilterArrayOutput - ToGetPublicIpFilterArrayOutputWithContext(context.Context) GetPublicIpFilterArrayOutput -} - -type GetPublicIpFilterArray []GetPublicIpFilterInput - -func (GetPublicIpFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPublicIpFilter)(nil)).Elem() -} - -func (i GetPublicIpFilterArray) ToGetPublicIpFilterArrayOutput() GetPublicIpFilterArrayOutput { - return i.ToGetPublicIpFilterArrayOutputWithContext(context.Background()) -} - -func (i GetPublicIpFilterArray) ToGetPublicIpFilterArrayOutputWithContext(ctx context.Context) GetPublicIpFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPublicIpFilterArrayOutput) -} - -type GetPublicIpFilterOutput struct{ *pulumi.OutputState } - -func (GetPublicIpFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPublicIpFilter)(nil)).Elem() -} - -func (o GetPublicIpFilterOutput) ToGetPublicIpFilterOutput() GetPublicIpFilterOutput { - return o -} - -func (o GetPublicIpFilterOutput) ToGetPublicIpFilterOutputWithContext(ctx context.Context) GetPublicIpFilterOutput { - return o -} - -func (o GetPublicIpFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetPublicIpFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetPublicIpFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetPublicIpFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetPublicIpFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetPublicIpFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPublicIpFilter)(nil)).Elem() -} - -func (o GetPublicIpFilterArrayOutput) ToGetPublicIpFilterArrayOutput() GetPublicIpFilterArrayOutput { - return o -} - -func (o GetPublicIpFilterArrayOutput) ToGetPublicIpFilterArrayOutputWithContext(ctx context.Context) GetPublicIpFilterArrayOutput { - return o -} - -func (o GetPublicIpFilterArrayOutput) Index(i pulumi.IntInput) GetPublicIpFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPublicIpFilter { - return vs[0].([]GetPublicIpFilter)[vs[1].(int)] - }).(GetPublicIpFilterOutput) -} - -type GetPublicIpTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetPublicIpTagInput is an input type that accepts GetPublicIpTagArgs and GetPublicIpTagOutput values. -// You can construct a concrete instance of `GetPublicIpTagInput` via: -// -// GetPublicIpTagArgs{...} -type GetPublicIpTagInput interface { - pulumi.Input - - ToGetPublicIpTagOutput() GetPublicIpTagOutput - ToGetPublicIpTagOutputWithContext(context.Context) GetPublicIpTagOutput -} - -type GetPublicIpTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetPublicIpTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPublicIpTag)(nil)).Elem() -} - -func (i GetPublicIpTagArgs) ToGetPublicIpTagOutput() GetPublicIpTagOutput { - return i.ToGetPublicIpTagOutputWithContext(context.Background()) -} - -func (i GetPublicIpTagArgs) ToGetPublicIpTagOutputWithContext(ctx context.Context) GetPublicIpTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPublicIpTagOutput) -} - -// GetPublicIpTagArrayInput is an input type that accepts GetPublicIpTagArray and GetPublicIpTagArrayOutput values. -// You can construct a concrete instance of `GetPublicIpTagArrayInput` via: -// -// GetPublicIpTagArray{ GetPublicIpTagArgs{...} } -type GetPublicIpTagArrayInput interface { - pulumi.Input - - ToGetPublicIpTagArrayOutput() GetPublicIpTagArrayOutput - ToGetPublicIpTagArrayOutputWithContext(context.Context) GetPublicIpTagArrayOutput -} - -type GetPublicIpTagArray []GetPublicIpTagInput - -func (GetPublicIpTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPublicIpTag)(nil)).Elem() -} - -func (i GetPublicIpTagArray) ToGetPublicIpTagArrayOutput() GetPublicIpTagArrayOutput { - return i.ToGetPublicIpTagArrayOutputWithContext(context.Background()) -} - -func (i GetPublicIpTagArray) ToGetPublicIpTagArrayOutputWithContext(ctx context.Context) GetPublicIpTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPublicIpTagArrayOutput) -} - -type GetPublicIpTagOutput struct{ *pulumi.OutputState } - -func (GetPublicIpTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPublicIpTag)(nil)).Elem() -} - -func (o GetPublicIpTagOutput) ToGetPublicIpTagOutput() GetPublicIpTagOutput { - return o -} - -func (o GetPublicIpTagOutput) ToGetPublicIpTagOutputWithContext(ctx context.Context) GetPublicIpTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetPublicIpTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetPublicIpTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetPublicIpTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetPublicIpTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetPublicIpTagArrayOutput struct{ *pulumi.OutputState } - -func (GetPublicIpTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPublicIpTag)(nil)).Elem() -} - -func (o GetPublicIpTagArrayOutput) ToGetPublicIpTagArrayOutput() GetPublicIpTagArrayOutput { - return o -} - -func (o GetPublicIpTagArrayOutput) ToGetPublicIpTagArrayOutputWithContext(ctx context.Context) GetPublicIpTagArrayOutput { - return o -} - -func (o GetPublicIpTagArrayOutput) Index(i pulumi.IntInput) GetPublicIpTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPublicIpTag { - return vs[0].([]GetPublicIpTag)[vs[1].(int)] - }).(GetPublicIpTagOutput) -} - -type GetPublicIpsFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetPublicIpsFilterInput is an input type that accepts GetPublicIpsFilterArgs and GetPublicIpsFilterOutput values. -// You can construct a concrete instance of `GetPublicIpsFilterInput` via: -// -// GetPublicIpsFilterArgs{...} -type GetPublicIpsFilterInput interface { - pulumi.Input - - ToGetPublicIpsFilterOutput() GetPublicIpsFilterOutput - ToGetPublicIpsFilterOutputWithContext(context.Context) GetPublicIpsFilterOutput -} - -type GetPublicIpsFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetPublicIpsFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPublicIpsFilter)(nil)).Elem() -} - -func (i GetPublicIpsFilterArgs) ToGetPublicIpsFilterOutput() GetPublicIpsFilterOutput { - return i.ToGetPublicIpsFilterOutputWithContext(context.Background()) -} - -func (i GetPublicIpsFilterArgs) ToGetPublicIpsFilterOutputWithContext(ctx context.Context) GetPublicIpsFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPublicIpsFilterOutput) -} - -// GetPublicIpsFilterArrayInput is an input type that accepts GetPublicIpsFilterArray and GetPublicIpsFilterArrayOutput values. -// You can construct a concrete instance of `GetPublicIpsFilterArrayInput` via: -// -// GetPublicIpsFilterArray{ GetPublicIpsFilterArgs{...} } -type GetPublicIpsFilterArrayInput interface { - pulumi.Input - - ToGetPublicIpsFilterArrayOutput() GetPublicIpsFilterArrayOutput - ToGetPublicIpsFilterArrayOutputWithContext(context.Context) GetPublicIpsFilterArrayOutput -} - -type GetPublicIpsFilterArray []GetPublicIpsFilterInput - -func (GetPublicIpsFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPublicIpsFilter)(nil)).Elem() -} - -func (i GetPublicIpsFilterArray) ToGetPublicIpsFilterArrayOutput() GetPublicIpsFilterArrayOutput { - return i.ToGetPublicIpsFilterArrayOutputWithContext(context.Background()) -} - -func (i GetPublicIpsFilterArray) ToGetPublicIpsFilterArrayOutputWithContext(ctx context.Context) GetPublicIpsFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPublicIpsFilterArrayOutput) -} - -type GetPublicIpsFilterOutput struct{ *pulumi.OutputState } - -func (GetPublicIpsFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPublicIpsFilter)(nil)).Elem() -} - -func (o GetPublicIpsFilterOutput) ToGetPublicIpsFilterOutput() GetPublicIpsFilterOutput { - return o -} - -func (o GetPublicIpsFilterOutput) ToGetPublicIpsFilterOutputWithContext(ctx context.Context) GetPublicIpsFilterOutput { - return o -} - -func (o GetPublicIpsFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetPublicIpsFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetPublicIpsFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetPublicIpsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetPublicIpsFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetPublicIpsFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPublicIpsFilter)(nil)).Elem() -} - -func (o GetPublicIpsFilterArrayOutput) ToGetPublicIpsFilterArrayOutput() GetPublicIpsFilterArrayOutput { - return o -} - -func (o GetPublicIpsFilterArrayOutput) ToGetPublicIpsFilterArrayOutputWithContext(ctx context.Context) GetPublicIpsFilterArrayOutput { - return o -} - -func (o GetPublicIpsFilterArrayOutput) Index(i pulumi.IntInput) GetPublicIpsFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPublicIpsFilter { - return vs[0].([]GetPublicIpsFilter)[vs[1].(int)] - }).(GetPublicIpsFilterOutput) -} - -type GetPublicIpsPublicIp struct { - // (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - LinkPublicIpId string `pulumi:"linkPublicIpId"` - // The account ID of the owner of the NIC. - NicAccountId string `pulumi:"nicAccountId"` - // The ID of the NIC the public IP is associated with (if any). - NicId string `pulumi:"nicId"` - // The private IP associated with the public IP. - PrivateIp string `pulumi:"privateIp"` - // The public IP. - PublicIp string `pulumi:"publicIp"` - // The allocation ID of the public IP. - PublicIpId string `pulumi:"publicIpId"` - // The key/value combinations of the tags associated with the public IPs, in the following format: `TAGKEY=TAGVALUE`. - Tags []GetPublicIpsPublicIpTag `pulumi:"tags"` - // The ID of the VM the public IP is associated with (if any). - VmId string `pulumi:"vmId"` -} - -// GetPublicIpsPublicIpInput is an input type that accepts GetPublicIpsPublicIpArgs and GetPublicIpsPublicIpOutput values. -// You can construct a concrete instance of `GetPublicIpsPublicIpInput` via: -// -// GetPublicIpsPublicIpArgs{...} -type GetPublicIpsPublicIpInput interface { - pulumi.Input - - ToGetPublicIpsPublicIpOutput() GetPublicIpsPublicIpOutput - ToGetPublicIpsPublicIpOutputWithContext(context.Context) GetPublicIpsPublicIpOutput -} - -type GetPublicIpsPublicIpArgs struct { - // (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - LinkPublicIpId pulumi.StringInput `pulumi:"linkPublicIpId"` - // The account ID of the owner of the NIC. - NicAccountId pulumi.StringInput `pulumi:"nicAccountId"` - // The ID of the NIC the public IP is associated with (if any). - NicId pulumi.StringInput `pulumi:"nicId"` - // The private IP associated with the public IP. - PrivateIp pulumi.StringInput `pulumi:"privateIp"` - // The public IP. - PublicIp pulumi.StringInput `pulumi:"publicIp"` - // The allocation ID of the public IP. - PublicIpId pulumi.StringInput `pulumi:"publicIpId"` - // The key/value combinations of the tags associated with the public IPs, in the following format: `TAGKEY=TAGVALUE`. - Tags GetPublicIpsPublicIpTagArrayInput `pulumi:"tags"` - // The ID of the VM the public IP is associated with (if any). - VmId pulumi.StringInput `pulumi:"vmId"` -} - -func (GetPublicIpsPublicIpArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPublicIpsPublicIp)(nil)).Elem() -} - -func (i GetPublicIpsPublicIpArgs) ToGetPublicIpsPublicIpOutput() GetPublicIpsPublicIpOutput { - return i.ToGetPublicIpsPublicIpOutputWithContext(context.Background()) -} - -func (i GetPublicIpsPublicIpArgs) ToGetPublicIpsPublicIpOutputWithContext(ctx context.Context) GetPublicIpsPublicIpOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPublicIpsPublicIpOutput) -} - -// GetPublicIpsPublicIpArrayInput is an input type that accepts GetPublicIpsPublicIpArray and GetPublicIpsPublicIpArrayOutput values. -// You can construct a concrete instance of `GetPublicIpsPublicIpArrayInput` via: -// -// GetPublicIpsPublicIpArray{ GetPublicIpsPublicIpArgs{...} } -type GetPublicIpsPublicIpArrayInput interface { - pulumi.Input - - ToGetPublicIpsPublicIpArrayOutput() GetPublicIpsPublicIpArrayOutput - ToGetPublicIpsPublicIpArrayOutputWithContext(context.Context) GetPublicIpsPublicIpArrayOutput -} - -type GetPublicIpsPublicIpArray []GetPublicIpsPublicIpInput - -func (GetPublicIpsPublicIpArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPublicIpsPublicIp)(nil)).Elem() -} - -func (i GetPublicIpsPublicIpArray) ToGetPublicIpsPublicIpArrayOutput() GetPublicIpsPublicIpArrayOutput { - return i.ToGetPublicIpsPublicIpArrayOutputWithContext(context.Background()) -} - -func (i GetPublicIpsPublicIpArray) ToGetPublicIpsPublicIpArrayOutputWithContext(ctx context.Context) GetPublicIpsPublicIpArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPublicIpsPublicIpArrayOutput) -} - -type GetPublicIpsPublicIpOutput struct{ *pulumi.OutputState } - -func (GetPublicIpsPublicIpOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPublicIpsPublicIp)(nil)).Elem() -} - -func (o GetPublicIpsPublicIpOutput) ToGetPublicIpsPublicIpOutput() GetPublicIpsPublicIpOutput { - return o -} - -func (o GetPublicIpsPublicIpOutput) ToGetPublicIpsPublicIpOutputWithContext(ctx context.Context) GetPublicIpsPublicIpOutput { - return o -} - -// (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. -func (o GetPublicIpsPublicIpOutput) LinkPublicIpId() pulumi.StringOutput { - return o.ApplyT(func(v GetPublicIpsPublicIp) string { return v.LinkPublicIpId }).(pulumi.StringOutput) -} - -// The account ID of the owner of the NIC. -func (o GetPublicIpsPublicIpOutput) NicAccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetPublicIpsPublicIp) string { return v.NicAccountId }).(pulumi.StringOutput) -} - -// The ID of the NIC the public IP is associated with (if any). -func (o GetPublicIpsPublicIpOutput) NicId() pulumi.StringOutput { - return o.ApplyT(func(v GetPublicIpsPublicIp) string { return v.NicId }).(pulumi.StringOutput) -} - -// The private IP associated with the public IP. -func (o GetPublicIpsPublicIpOutput) PrivateIp() pulumi.StringOutput { - return o.ApplyT(func(v GetPublicIpsPublicIp) string { return v.PrivateIp }).(pulumi.StringOutput) -} - -// The public IP. -func (o GetPublicIpsPublicIpOutput) PublicIp() pulumi.StringOutput { - return o.ApplyT(func(v GetPublicIpsPublicIp) string { return v.PublicIp }).(pulumi.StringOutput) -} - -// The allocation ID of the public IP. -func (o GetPublicIpsPublicIpOutput) PublicIpId() pulumi.StringOutput { - return o.ApplyT(func(v GetPublicIpsPublicIp) string { return v.PublicIpId }).(pulumi.StringOutput) -} - -// The key/value combinations of the tags associated with the public IPs, in the following format: `TAGKEY=TAGVALUE`. -func (o GetPublicIpsPublicIpOutput) Tags() GetPublicIpsPublicIpTagArrayOutput { - return o.ApplyT(func(v GetPublicIpsPublicIp) []GetPublicIpsPublicIpTag { return v.Tags }).(GetPublicIpsPublicIpTagArrayOutput) -} - -// The ID of the VM the public IP is associated with (if any). -func (o GetPublicIpsPublicIpOutput) VmId() pulumi.StringOutput { - return o.ApplyT(func(v GetPublicIpsPublicIp) string { return v.VmId }).(pulumi.StringOutput) -} - -type GetPublicIpsPublicIpArrayOutput struct{ *pulumi.OutputState } - -func (GetPublicIpsPublicIpArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPublicIpsPublicIp)(nil)).Elem() -} - -func (o GetPublicIpsPublicIpArrayOutput) ToGetPublicIpsPublicIpArrayOutput() GetPublicIpsPublicIpArrayOutput { - return o -} - -func (o GetPublicIpsPublicIpArrayOutput) ToGetPublicIpsPublicIpArrayOutputWithContext(ctx context.Context) GetPublicIpsPublicIpArrayOutput { - return o -} - -func (o GetPublicIpsPublicIpArrayOutput) Index(i pulumi.IntInput) GetPublicIpsPublicIpOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPublicIpsPublicIp { - return vs[0].([]GetPublicIpsPublicIp)[vs[1].(int)] - }).(GetPublicIpsPublicIpOutput) -} - -type GetPublicIpsPublicIpTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetPublicIpsPublicIpTagInput is an input type that accepts GetPublicIpsPublicIpTagArgs and GetPublicIpsPublicIpTagOutput values. -// You can construct a concrete instance of `GetPublicIpsPublicIpTagInput` via: -// -// GetPublicIpsPublicIpTagArgs{...} -type GetPublicIpsPublicIpTagInput interface { - pulumi.Input - - ToGetPublicIpsPublicIpTagOutput() GetPublicIpsPublicIpTagOutput - ToGetPublicIpsPublicIpTagOutputWithContext(context.Context) GetPublicIpsPublicIpTagOutput -} - -type GetPublicIpsPublicIpTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetPublicIpsPublicIpTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPublicIpsPublicIpTag)(nil)).Elem() -} - -func (i GetPublicIpsPublicIpTagArgs) ToGetPublicIpsPublicIpTagOutput() GetPublicIpsPublicIpTagOutput { - return i.ToGetPublicIpsPublicIpTagOutputWithContext(context.Background()) -} - -func (i GetPublicIpsPublicIpTagArgs) ToGetPublicIpsPublicIpTagOutputWithContext(ctx context.Context) GetPublicIpsPublicIpTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPublicIpsPublicIpTagOutput) -} - -// GetPublicIpsPublicIpTagArrayInput is an input type that accepts GetPublicIpsPublicIpTagArray and GetPublicIpsPublicIpTagArrayOutput values. -// You can construct a concrete instance of `GetPublicIpsPublicIpTagArrayInput` via: -// -// GetPublicIpsPublicIpTagArray{ GetPublicIpsPublicIpTagArgs{...} } -type GetPublicIpsPublicIpTagArrayInput interface { - pulumi.Input - - ToGetPublicIpsPublicIpTagArrayOutput() GetPublicIpsPublicIpTagArrayOutput - ToGetPublicIpsPublicIpTagArrayOutputWithContext(context.Context) GetPublicIpsPublicIpTagArrayOutput -} - -type GetPublicIpsPublicIpTagArray []GetPublicIpsPublicIpTagInput - -func (GetPublicIpsPublicIpTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPublicIpsPublicIpTag)(nil)).Elem() -} - -func (i GetPublicIpsPublicIpTagArray) ToGetPublicIpsPublicIpTagArrayOutput() GetPublicIpsPublicIpTagArrayOutput { - return i.ToGetPublicIpsPublicIpTagArrayOutputWithContext(context.Background()) -} - -func (i GetPublicIpsPublicIpTagArray) ToGetPublicIpsPublicIpTagArrayOutputWithContext(ctx context.Context) GetPublicIpsPublicIpTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPublicIpsPublicIpTagArrayOutput) -} - -type GetPublicIpsPublicIpTagOutput struct{ *pulumi.OutputState } - -func (GetPublicIpsPublicIpTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPublicIpsPublicIpTag)(nil)).Elem() -} - -func (o GetPublicIpsPublicIpTagOutput) ToGetPublicIpsPublicIpTagOutput() GetPublicIpsPublicIpTagOutput { - return o -} - -func (o GetPublicIpsPublicIpTagOutput) ToGetPublicIpsPublicIpTagOutputWithContext(ctx context.Context) GetPublicIpsPublicIpTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetPublicIpsPublicIpTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetPublicIpsPublicIpTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetPublicIpsPublicIpTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetPublicIpsPublicIpTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetPublicIpsPublicIpTagArrayOutput struct{ *pulumi.OutputState } - -func (GetPublicIpsPublicIpTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPublicIpsPublicIpTag)(nil)).Elem() -} - -func (o GetPublicIpsPublicIpTagArrayOutput) ToGetPublicIpsPublicIpTagArrayOutput() GetPublicIpsPublicIpTagArrayOutput { - return o -} - -func (o GetPublicIpsPublicIpTagArrayOutput) ToGetPublicIpsPublicIpTagArrayOutputWithContext(ctx context.Context) GetPublicIpsPublicIpTagArrayOutput { - return o -} - -func (o GetPublicIpsPublicIpTagArrayOutput) Index(i pulumi.IntInput) GetPublicIpsPublicIpTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPublicIpsPublicIpTag { - return vs[0].([]GetPublicIpsPublicIpTag)[vs[1].(int)] - }).(GetPublicIpsPublicIpTagOutput) -} - -type GetPulicCatalogCatalog struct { - Entries []GetPulicCatalogCatalogEntry `pulumi:"entries"` -} - -// GetPulicCatalogCatalogInput is an input type that accepts GetPulicCatalogCatalogArgs and GetPulicCatalogCatalogOutput values. -// You can construct a concrete instance of `GetPulicCatalogCatalogInput` via: -// -// GetPulicCatalogCatalogArgs{...} -type GetPulicCatalogCatalogInput interface { - pulumi.Input - - ToGetPulicCatalogCatalogOutput() GetPulicCatalogCatalogOutput - ToGetPulicCatalogCatalogOutputWithContext(context.Context) GetPulicCatalogCatalogOutput -} - -type GetPulicCatalogCatalogArgs struct { - Entries GetPulicCatalogCatalogEntryArrayInput `pulumi:"entries"` -} - -func (GetPulicCatalogCatalogArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPulicCatalogCatalog)(nil)).Elem() -} - -func (i GetPulicCatalogCatalogArgs) ToGetPulicCatalogCatalogOutput() GetPulicCatalogCatalogOutput { - return i.ToGetPulicCatalogCatalogOutputWithContext(context.Background()) -} - -func (i GetPulicCatalogCatalogArgs) ToGetPulicCatalogCatalogOutputWithContext(ctx context.Context) GetPulicCatalogCatalogOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPulicCatalogCatalogOutput) -} - -// GetPulicCatalogCatalogArrayInput is an input type that accepts GetPulicCatalogCatalogArray and GetPulicCatalogCatalogArrayOutput values. -// You can construct a concrete instance of `GetPulicCatalogCatalogArrayInput` via: -// -// GetPulicCatalogCatalogArray{ GetPulicCatalogCatalogArgs{...} } -type GetPulicCatalogCatalogArrayInput interface { - pulumi.Input - - ToGetPulicCatalogCatalogArrayOutput() GetPulicCatalogCatalogArrayOutput - ToGetPulicCatalogCatalogArrayOutputWithContext(context.Context) GetPulicCatalogCatalogArrayOutput -} - -type GetPulicCatalogCatalogArray []GetPulicCatalogCatalogInput - -func (GetPulicCatalogCatalogArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPulicCatalogCatalog)(nil)).Elem() -} - -func (i GetPulicCatalogCatalogArray) ToGetPulicCatalogCatalogArrayOutput() GetPulicCatalogCatalogArrayOutput { - return i.ToGetPulicCatalogCatalogArrayOutputWithContext(context.Background()) -} - -func (i GetPulicCatalogCatalogArray) ToGetPulicCatalogCatalogArrayOutputWithContext(ctx context.Context) GetPulicCatalogCatalogArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPulicCatalogCatalogArrayOutput) -} - -type GetPulicCatalogCatalogOutput struct{ *pulumi.OutputState } - -func (GetPulicCatalogCatalogOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPulicCatalogCatalog)(nil)).Elem() -} - -func (o GetPulicCatalogCatalogOutput) ToGetPulicCatalogCatalogOutput() GetPulicCatalogCatalogOutput { - return o -} - -func (o GetPulicCatalogCatalogOutput) ToGetPulicCatalogCatalogOutputWithContext(ctx context.Context) GetPulicCatalogCatalogOutput { - return o -} - -func (o GetPulicCatalogCatalogOutput) Entries() GetPulicCatalogCatalogEntryArrayOutput { - return o.ApplyT(func(v GetPulicCatalogCatalog) []GetPulicCatalogCatalogEntry { return v.Entries }).(GetPulicCatalogCatalogEntryArrayOutput) -} - -type GetPulicCatalogCatalogArrayOutput struct{ *pulumi.OutputState } - -func (GetPulicCatalogCatalogArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPulicCatalogCatalog)(nil)).Elem() -} - -func (o GetPulicCatalogCatalogArrayOutput) ToGetPulicCatalogCatalogArrayOutput() GetPulicCatalogCatalogArrayOutput { - return o -} - -func (o GetPulicCatalogCatalogArrayOutput) ToGetPulicCatalogCatalogArrayOutputWithContext(ctx context.Context) GetPulicCatalogCatalogArrayOutput { - return o -} - -func (o GetPulicCatalogCatalogArrayOutput) Index(i pulumi.IntInput) GetPulicCatalogCatalogOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPulicCatalogCatalog { - return vs[0].([]GetPulicCatalogCatalog)[vs[1].(int)] - }).(GetPulicCatalogCatalogOutput) -} - -type GetPulicCatalogCatalogEntry struct { - Category string `pulumi:"category"` - Flags string `pulumi:"flags"` - Operation string `pulumi:"operation"` - Service string `pulumi:"service"` - SubregionName string `pulumi:"subregionName"` - Title string `pulumi:"title"` - Type string `pulumi:"type"` - UnitPrice float64 `pulumi:"unitPrice"` -} - -// GetPulicCatalogCatalogEntryInput is an input type that accepts GetPulicCatalogCatalogEntryArgs and GetPulicCatalogCatalogEntryOutput values. -// You can construct a concrete instance of `GetPulicCatalogCatalogEntryInput` via: -// -// GetPulicCatalogCatalogEntryArgs{...} -type GetPulicCatalogCatalogEntryInput interface { - pulumi.Input - - ToGetPulicCatalogCatalogEntryOutput() GetPulicCatalogCatalogEntryOutput - ToGetPulicCatalogCatalogEntryOutputWithContext(context.Context) GetPulicCatalogCatalogEntryOutput -} - -type GetPulicCatalogCatalogEntryArgs struct { - Category pulumi.StringInput `pulumi:"category"` - Flags pulumi.StringInput `pulumi:"flags"` - Operation pulumi.StringInput `pulumi:"operation"` - Service pulumi.StringInput `pulumi:"service"` - SubregionName pulumi.StringInput `pulumi:"subregionName"` - Title pulumi.StringInput `pulumi:"title"` - Type pulumi.StringInput `pulumi:"type"` - UnitPrice pulumi.Float64Input `pulumi:"unitPrice"` -} - -func (GetPulicCatalogCatalogEntryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPulicCatalogCatalogEntry)(nil)).Elem() -} - -func (i GetPulicCatalogCatalogEntryArgs) ToGetPulicCatalogCatalogEntryOutput() GetPulicCatalogCatalogEntryOutput { - return i.ToGetPulicCatalogCatalogEntryOutputWithContext(context.Background()) -} - -func (i GetPulicCatalogCatalogEntryArgs) ToGetPulicCatalogCatalogEntryOutputWithContext(ctx context.Context) GetPulicCatalogCatalogEntryOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPulicCatalogCatalogEntryOutput) -} - -// GetPulicCatalogCatalogEntryArrayInput is an input type that accepts GetPulicCatalogCatalogEntryArray and GetPulicCatalogCatalogEntryArrayOutput values. -// You can construct a concrete instance of `GetPulicCatalogCatalogEntryArrayInput` via: -// -// GetPulicCatalogCatalogEntryArray{ GetPulicCatalogCatalogEntryArgs{...} } -type GetPulicCatalogCatalogEntryArrayInput interface { - pulumi.Input - - ToGetPulicCatalogCatalogEntryArrayOutput() GetPulicCatalogCatalogEntryArrayOutput - ToGetPulicCatalogCatalogEntryArrayOutputWithContext(context.Context) GetPulicCatalogCatalogEntryArrayOutput -} - -type GetPulicCatalogCatalogEntryArray []GetPulicCatalogCatalogEntryInput - -func (GetPulicCatalogCatalogEntryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPulicCatalogCatalogEntry)(nil)).Elem() -} - -func (i GetPulicCatalogCatalogEntryArray) ToGetPulicCatalogCatalogEntryArrayOutput() GetPulicCatalogCatalogEntryArrayOutput { - return i.ToGetPulicCatalogCatalogEntryArrayOutputWithContext(context.Background()) -} - -func (i GetPulicCatalogCatalogEntryArray) ToGetPulicCatalogCatalogEntryArrayOutputWithContext(ctx context.Context) GetPulicCatalogCatalogEntryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPulicCatalogCatalogEntryArrayOutput) -} - -type GetPulicCatalogCatalogEntryOutput struct{ *pulumi.OutputState } - -func (GetPulicCatalogCatalogEntryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPulicCatalogCatalogEntry)(nil)).Elem() -} - -func (o GetPulicCatalogCatalogEntryOutput) ToGetPulicCatalogCatalogEntryOutput() GetPulicCatalogCatalogEntryOutput { - return o -} - -func (o GetPulicCatalogCatalogEntryOutput) ToGetPulicCatalogCatalogEntryOutputWithContext(ctx context.Context) GetPulicCatalogCatalogEntryOutput { - return o -} - -func (o GetPulicCatalogCatalogEntryOutput) Category() pulumi.StringOutput { - return o.ApplyT(func(v GetPulicCatalogCatalogEntry) string { return v.Category }).(pulumi.StringOutput) -} - -func (o GetPulicCatalogCatalogEntryOutput) Flags() pulumi.StringOutput { - return o.ApplyT(func(v GetPulicCatalogCatalogEntry) string { return v.Flags }).(pulumi.StringOutput) -} - -func (o GetPulicCatalogCatalogEntryOutput) Operation() pulumi.StringOutput { - return o.ApplyT(func(v GetPulicCatalogCatalogEntry) string { return v.Operation }).(pulumi.StringOutput) -} - -func (o GetPulicCatalogCatalogEntryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v GetPulicCatalogCatalogEntry) string { return v.Service }).(pulumi.StringOutput) -} - -func (o GetPulicCatalogCatalogEntryOutput) SubregionName() pulumi.StringOutput { - return o.ApplyT(func(v GetPulicCatalogCatalogEntry) string { return v.SubregionName }).(pulumi.StringOutput) -} - -func (o GetPulicCatalogCatalogEntryOutput) Title() pulumi.StringOutput { - return o.ApplyT(func(v GetPulicCatalogCatalogEntry) string { return v.Title }).(pulumi.StringOutput) -} - -func (o GetPulicCatalogCatalogEntryOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetPulicCatalogCatalogEntry) string { return v.Type }).(pulumi.StringOutput) -} - -func (o GetPulicCatalogCatalogEntryOutput) UnitPrice() pulumi.Float64Output { - return o.ApplyT(func(v GetPulicCatalogCatalogEntry) float64 { return v.UnitPrice }).(pulumi.Float64Output) -} - -type GetPulicCatalogCatalogEntryArrayOutput struct{ *pulumi.OutputState } - -func (GetPulicCatalogCatalogEntryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPulicCatalogCatalogEntry)(nil)).Elem() -} - -func (o GetPulicCatalogCatalogEntryArrayOutput) ToGetPulicCatalogCatalogEntryArrayOutput() GetPulicCatalogCatalogEntryArrayOutput { - return o -} - -func (o GetPulicCatalogCatalogEntryArrayOutput) ToGetPulicCatalogCatalogEntryArrayOutputWithContext(ctx context.Context) GetPulicCatalogCatalogEntryArrayOutput { - return o -} - -func (o GetPulicCatalogCatalogEntryArrayOutput) Index(i pulumi.IntInput) GetPulicCatalogCatalogEntryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPulicCatalogCatalogEntry { - return vs[0].([]GetPulicCatalogCatalogEntry)[vs[1].(int)] - }).(GetPulicCatalogCatalogEntryOutput) -} - -type GetQuotaFilter struct { - // The unique name of the quota. - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetQuotaFilterInput is an input type that accepts GetQuotaFilterArgs and GetQuotaFilterOutput values. -// You can construct a concrete instance of `GetQuotaFilterInput` via: -// -// GetQuotaFilterArgs{...} -type GetQuotaFilterInput interface { - pulumi.Input - - ToGetQuotaFilterOutput() GetQuotaFilterOutput - ToGetQuotaFilterOutputWithContext(context.Context) GetQuotaFilterOutput -} - -type GetQuotaFilterArgs struct { - // The unique name of the quota. - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetQuotaFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetQuotaFilter)(nil)).Elem() -} - -func (i GetQuotaFilterArgs) ToGetQuotaFilterOutput() GetQuotaFilterOutput { - return i.ToGetQuotaFilterOutputWithContext(context.Background()) -} - -func (i GetQuotaFilterArgs) ToGetQuotaFilterOutputWithContext(ctx context.Context) GetQuotaFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetQuotaFilterOutput) -} - -// GetQuotaFilterArrayInput is an input type that accepts GetQuotaFilterArray and GetQuotaFilterArrayOutput values. -// You can construct a concrete instance of `GetQuotaFilterArrayInput` via: -// -// GetQuotaFilterArray{ GetQuotaFilterArgs{...} } -type GetQuotaFilterArrayInput interface { - pulumi.Input - - ToGetQuotaFilterArrayOutput() GetQuotaFilterArrayOutput - ToGetQuotaFilterArrayOutputWithContext(context.Context) GetQuotaFilterArrayOutput -} - -type GetQuotaFilterArray []GetQuotaFilterInput - -func (GetQuotaFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetQuotaFilter)(nil)).Elem() -} - -func (i GetQuotaFilterArray) ToGetQuotaFilterArrayOutput() GetQuotaFilterArrayOutput { - return i.ToGetQuotaFilterArrayOutputWithContext(context.Background()) -} - -func (i GetQuotaFilterArray) ToGetQuotaFilterArrayOutputWithContext(ctx context.Context) GetQuotaFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetQuotaFilterArrayOutput) -} - -type GetQuotaFilterOutput struct{ *pulumi.OutputState } - -func (GetQuotaFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetQuotaFilter)(nil)).Elem() -} - -func (o GetQuotaFilterOutput) ToGetQuotaFilterOutput() GetQuotaFilterOutput { - return o -} - -func (o GetQuotaFilterOutput) ToGetQuotaFilterOutputWithContext(ctx context.Context) GetQuotaFilterOutput { - return o -} - -// The unique name of the quota. -func (o GetQuotaFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetQuotaFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetQuotaFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetQuotaFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetQuotaFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetQuotaFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetQuotaFilter)(nil)).Elem() -} - -func (o GetQuotaFilterArrayOutput) ToGetQuotaFilterArrayOutput() GetQuotaFilterArrayOutput { - return o -} - -func (o GetQuotaFilterArrayOutput) ToGetQuotaFilterArrayOutputWithContext(ctx context.Context) GetQuotaFilterArrayOutput { - return o -} - -func (o GetQuotaFilterArrayOutput) Index(i pulumi.IntInput) GetQuotaFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetQuotaFilter { - return vs[0].([]GetQuotaFilter)[vs[1].(int)] - }).(GetQuotaFilterOutput) -} - -type GetQuotasFilter struct { - // The unique name of the quota. - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetQuotasFilterInput is an input type that accepts GetQuotasFilterArgs and GetQuotasFilterOutput values. -// You can construct a concrete instance of `GetQuotasFilterInput` via: -// -// GetQuotasFilterArgs{...} -type GetQuotasFilterInput interface { - pulumi.Input - - ToGetQuotasFilterOutput() GetQuotasFilterOutput - ToGetQuotasFilterOutputWithContext(context.Context) GetQuotasFilterOutput -} - -type GetQuotasFilterArgs struct { - // The unique name of the quota. - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetQuotasFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetQuotasFilter)(nil)).Elem() -} - -func (i GetQuotasFilterArgs) ToGetQuotasFilterOutput() GetQuotasFilterOutput { - return i.ToGetQuotasFilterOutputWithContext(context.Background()) -} - -func (i GetQuotasFilterArgs) ToGetQuotasFilterOutputWithContext(ctx context.Context) GetQuotasFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetQuotasFilterOutput) -} - -// GetQuotasFilterArrayInput is an input type that accepts GetQuotasFilterArray and GetQuotasFilterArrayOutput values. -// You can construct a concrete instance of `GetQuotasFilterArrayInput` via: -// -// GetQuotasFilterArray{ GetQuotasFilterArgs{...} } -type GetQuotasFilterArrayInput interface { - pulumi.Input - - ToGetQuotasFilterArrayOutput() GetQuotasFilterArrayOutput - ToGetQuotasFilterArrayOutputWithContext(context.Context) GetQuotasFilterArrayOutput -} - -type GetQuotasFilterArray []GetQuotasFilterInput - -func (GetQuotasFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetQuotasFilter)(nil)).Elem() -} - -func (i GetQuotasFilterArray) ToGetQuotasFilterArrayOutput() GetQuotasFilterArrayOutput { - return i.ToGetQuotasFilterArrayOutputWithContext(context.Background()) -} - -func (i GetQuotasFilterArray) ToGetQuotasFilterArrayOutputWithContext(ctx context.Context) GetQuotasFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetQuotasFilterArrayOutput) -} - -type GetQuotasFilterOutput struct{ *pulumi.OutputState } - -func (GetQuotasFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetQuotasFilter)(nil)).Elem() -} - -func (o GetQuotasFilterOutput) ToGetQuotasFilterOutput() GetQuotasFilterOutput { - return o -} - -func (o GetQuotasFilterOutput) ToGetQuotasFilterOutputWithContext(ctx context.Context) GetQuotasFilterOutput { - return o -} - -// The unique name of the quota. -func (o GetQuotasFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetQuotasFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetQuotasFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetQuotasFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetQuotasFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetQuotasFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetQuotasFilter)(nil)).Elem() -} - -func (o GetQuotasFilterArrayOutput) ToGetQuotasFilterArrayOutput() GetQuotasFilterArrayOutput { - return o -} - -func (o GetQuotasFilterArrayOutput) ToGetQuotasFilterArrayOutputWithContext(ctx context.Context) GetQuotasFilterArrayOutput { - return o -} - -func (o GetQuotasFilterArrayOutput) Index(i pulumi.IntInput) GetQuotasFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetQuotasFilter { - return vs[0].([]GetQuotasFilter)[vs[1].(int)] - }).(GetQuotasFilterOutput) -} - -type GetQuotasQuota struct { - // The account ID of the owner of the quotas. - AccountId string `pulumi:"accountId"` - // The description of the quota. - Description string `pulumi:"description"` - // The maximum value of the quota for the OUTSCALE user account (if there is no limit, `0`). - MaxValue int `pulumi:"maxValue"` - // The unique name of the quota. - Name string `pulumi:"name"` - // The group name of the quota. - QuotaCollection string `pulumi:"quotaCollection"` - // The ressource ID if it is a resource-specific quota, `global` if it is not. - QuotaType string `pulumi:"quotaType"` - // The description of the quota. - ShortDescription string `pulumi:"shortDescription"` - // The limit value currently used by the OUTSCALE user account. - UsedValue int `pulumi:"usedValue"` -} - -// GetQuotasQuotaInput is an input type that accepts GetQuotasQuotaArgs and GetQuotasQuotaOutput values. -// You can construct a concrete instance of `GetQuotasQuotaInput` via: -// -// GetQuotasQuotaArgs{...} -type GetQuotasQuotaInput interface { - pulumi.Input - - ToGetQuotasQuotaOutput() GetQuotasQuotaOutput - ToGetQuotasQuotaOutputWithContext(context.Context) GetQuotasQuotaOutput -} - -type GetQuotasQuotaArgs struct { - // The account ID of the owner of the quotas. - AccountId pulumi.StringInput `pulumi:"accountId"` - // The description of the quota. - Description pulumi.StringInput `pulumi:"description"` - // The maximum value of the quota for the OUTSCALE user account (if there is no limit, `0`). - MaxValue pulumi.IntInput `pulumi:"maxValue"` - // The unique name of the quota. - Name pulumi.StringInput `pulumi:"name"` - // The group name of the quota. - QuotaCollection pulumi.StringInput `pulumi:"quotaCollection"` - // The ressource ID if it is a resource-specific quota, `global` if it is not. - QuotaType pulumi.StringInput `pulumi:"quotaType"` - // The description of the quota. - ShortDescription pulumi.StringInput `pulumi:"shortDescription"` - // The limit value currently used by the OUTSCALE user account. - UsedValue pulumi.IntInput `pulumi:"usedValue"` -} - -func (GetQuotasQuotaArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetQuotasQuota)(nil)).Elem() -} - -func (i GetQuotasQuotaArgs) ToGetQuotasQuotaOutput() GetQuotasQuotaOutput { - return i.ToGetQuotasQuotaOutputWithContext(context.Background()) -} - -func (i GetQuotasQuotaArgs) ToGetQuotasQuotaOutputWithContext(ctx context.Context) GetQuotasQuotaOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetQuotasQuotaOutput) -} - -// GetQuotasQuotaArrayInput is an input type that accepts GetQuotasQuotaArray and GetQuotasQuotaArrayOutput values. -// You can construct a concrete instance of `GetQuotasQuotaArrayInput` via: -// -// GetQuotasQuotaArray{ GetQuotasQuotaArgs{...} } -type GetQuotasQuotaArrayInput interface { - pulumi.Input - - ToGetQuotasQuotaArrayOutput() GetQuotasQuotaArrayOutput - ToGetQuotasQuotaArrayOutputWithContext(context.Context) GetQuotasQuotaArrayOutput -} - -type GetQuotasQuotaArray []GetQuotasQuotaInput - -func (GetQuotasQuotaArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetQuotasQuota)(nil)).Elem() -} - -func (i GetQuotasQuotaArray) ToGetQuotasQuotaArrayOutput() GetQuotasQuotaArrayOutput { - return i.ToGetQuotasQuotaArrayOutputWithContext(context.Background()) -} - -func (i GetQuotasQuotaArray) ToGetQuotasQuotaArrayOutputWithContext(ctx context.Context) GetQuotasQuotaArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetQuotasQuotaArrayOutput) -} - -type GetQuotasQuotaOutput struct{ *pulumi.OutputState } - -func (GetQuotasQuotaOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetQuotasQuota)(nil)).Elem() -} - -func (o GetQuotasQuotaOutput) ToGetQuotasQuotaOutput() GetQuotasQuotaOutput { - return o -} - -func (o GetQuotasQuotaOutput) ToGetQuotasQuotaOutputWithContext(ctx context.Context) GetQuotasQuotaOutput { - return o -} - -// The account ID of the owner of the quotas. -func (o GetQuotasQuotaOutput) AccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetQuotasQuota) string { return v.AccountId }).(pulumi.StringOutput) -} - -// The description of the quota. -func (o GetQuotasQuotaOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetQuotasQuota) string { return v.Description }).(pulumi.StringOutput) -} - -// The maximum value of the quota for the OUTSCALE user account (if there is no limit, `0`). -func (o GetQuotasQuotaOutput) MaxValue() pulumi.IntOutput { - return o.ApplyT(func(v GetQuotasQuota) int { return v.MaxValue }).(pulumi.IntOutput) -} - -// The unique name of the quota. -func (o GetQuotasQuotaOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetQuotasQuota) string { return v.Name }).(pulumi.StringOutput) -} - -// The group name of the quota. -func (o GetQuotasQuotaOutput) QuotaCollection() pulumi.StringOutput { - return o.ApplyT(func(v GetQuotasQuota) string { return v.QuotaCollection }).(pulumi.StringOutput) -} - -// The ressource ID if it is a resource-specific quota, `global` if it is not. -func (o GetQuotasQuotaOutput) QuotaType() pulumi.StringOutput { - return o.ApplyT(func(v GetQuotasQuota) string { return v.QuotaType }).(pulumi.StringOutput) -} - -// The description of the quota. -func (o GetQuotasQuotaOutput) ShortDescription() pulumi.StringOutput { - return o.ApplyT(func(v GetQuotasQuota) string { return v.ShortDescription }).(pulumi.StringOutput) -} - -// The limit value currently used by the OUTSCALE user account. -func (o GetQuotasQuotaOutput) UsedValue() pulumi.IntOutput { - return o.ApplyT(func(v GetQuotasQuota) int { return v.UsedValue }).(pulumi.IntOutput) -} - -type GetQuotasQuotaArrayOutput struct{ *pulumi.OutputState } - -func (GetQuotasQuotaArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetQuotasQuota)(nil)).Elem() -} - -func (o GetQuotasQuotaArrayOutput) ToGetQuotasQuotaArrayOutput() GetQuotasQuotaArrayOutput { - return o -} - -func (o GetQuotasQuotaArrayOutput) ToGetQuotasQuotaArrayOutputWithContext(ctx context.Context) GetQuotasQuotaArrayOutput { - return o -} - -func (o GetQuotasQuotaArrayOutput) Index(i pulumi.IntInput) GetQuotasQuotaOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetQuotasQuota { - return vs[0].([]GetQuotasQuota)[vs[1].(int)] - }).(GetQuotasQuotaOutput) -} - -type GetRegionsRegion struct { - // The hostname of the gateway to access the Region. - Endpoint string `pulumi:"endpoint"` - // The administrative name of the Region. - RegionName string `pulumi:"regionName"` -} - -// GetRegionsRegionInput is an input type that accepts GetRegionsRegionArgs and GetRegionsRegionOutput values. -// You can construct a concrete instance of `GetRegionsRegionInput` via: -// -// GetRegionsRegionArgs{...} -type GetRegionsRegionInput interface { - pulumi.Input - - ToGetRegionsRegionOutput() GetRegionsRegionOutput - ToGetRegionsRegionOutputWithContext(context.Context) GetRegionsRegionOutput -} - -type GetRegionsRegionArgs struct { - // The hostname of the gateway to access the Region. - Endpoint pulumi.StringInput `pulumi:"endpoint"` - // The administrative name of the Region. - RegionName pulumi.StringInput `pulumi:"regionName"` -} - -func (GetRegionsRegionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetRegionsRegion)(nil)).Elem() -} - -func (i GetRegionsRegionArgs) ToGetRegionsRegionOutput() GetRegionsRegionOutput { - return i.ToGetRegionsRegionOutputWithContext(context.Background()) -} - -func (i GetRegionsRegionArgs) ToGetRegionsRegionOutputWithContext(ctx context.Context) GetRegionsRegionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetRegionsRegionOutput) -} - -// GetRegionsRegionArrayInput is an input type that accepts GetRegionsRegionArray and GetRegionsRegionArrayOutput values. -// You can construct a concrete instance of `GetRegionsRegionArrayInput` via: -// -// GetRegionsRegionArray{ GetRegionsRegionArgs{...} } -type GetRegionsRegionArrayInput interface { - pulumi.Input - - ToGetRegionsRegionArrayOutput() GetRegionsRegionArrayOutput - ToGetRegionsRegionArrayOutputWithContext(context.Context) GetRegionsRegionArrayOutput -} - -type GetRegionsRegionArray []GetRegionsRegionInput - -func (GetRegionsRegionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetRegionsRegion)(nil)).Elem() -} - -func (i GetRegionsRegionArray) ToGetRegionsRegionArrayOutput() GetRegionsRegionArrayOutput { - return i.ToGetRegionsRegionArrayOutputWithContext(context.Background()) -} - -func (i GetRegionsRegionArray) ToGetRegionsRegionArrayOutputWithContext(ctx context.Context) GetRegionsRegionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetRegionsRegionArrayOutput) -} - -type GetRegionsRegionOutput struct{ *pulumi.OutputState } - -func (GetRegionsRegionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetRegionsRegion)(nil)).Elem() -} - -func (o GetRegionsRegionOutput) ToGetRegionsRegionOutput() GetRegionsRegionOutput { - return o -} - -func (o GetRegionsRegionOutput) ToGetRegionsRegionOutputWithContext(ctx context.Context) GetRegionsRegionOutput { - return o -} - -// The hostname of the gateway to access the Region. -func (o GetRegionsRegionOutput) Endpoint() pulumi.StringOutput { - return o.ApplyT(func(v GetRegionsRegion) string { return v.Endpoint }).(pulumi.StringOutput) -} - -// The administrative name of the Region. -func (o GetRegionsRegionOutput) RegionName() pulumi.StringOutput { - return o.ApplyT(func(v GetRegionsRegion) string { return v.RegionName }).(pulumi.StringOutput) -} - -type GetRegionsRegionArrayOutput struct{ *pulumi.OutputState } - -func (GetRegionsRegionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetRegionsRegion)(nil)).Elem() -} - -func (o GetRegionsRegionArrayOutput) ToGetRegionsRegionArrayOutput() GetRegionsRegionArrayOutput { - return o -} - -func (o GetRegionsRegionArrayOutput) ToGetRegionsRegionArrayOutputWithContext(ctx context.Context) GetRegionsRegionArrayOutput { - return o -} - -func (o GetRegionsRegionArrayOutput) Index(i pulumi.IntInput) GetRegionsRegionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRegionsRegion { - return vs[0].([]GetRegionsRegion)[vs[1].(int)] - }).(GetRegionsRegionOutput) -} - -type GetRouteTableFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetRouteTableFilterInput is an input type that accepts GetRouteTableFilterArgs and GetRouteTableFilterOutput values. -// You can construct a concrete instance of `GetRouteTableFilterInput` via: -// -// GetRouteTableFilterArgs{...} -type GetRouteTableFilterInput interface { - pulumi.Input - - ToGetRouteTableFilterOutput() GetRouteTableFilterOutput - ToGetRouteTableFilterOutputWithContext(context.Context) GetRouteTableFilterOutput -} - -type GetRouteTableFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetRouteTableFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetRouteTableFilter)(nil)).Elem() -} - -func (i GetRouteTableFilterArgs) ToGetRouteTableFilterOutput() GetRouteTableFilterOutput { - return i.ToGetRouteTableFilterOutputWithContext(context.Background()) -} - -func (i GetRouteTableFilterArgs) ToGetRouteTableFilterOutputWithContext(ctx context.Context) GetRouteTableFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetRouteTableFilterOutput) -} - -// GetRouteTableFilterArrayInput is an input type that accepts GetRouteTableFilterArray and GetRouteTableFilterArrayOutput values. -// You can construct a concrete instance of `GetRouteTableFilterArrayInput` via: -// -// GetRouteTableFilterArray{ GetRouteTableFilterArgs{...} } -type GetRouteTableFilterArrayInput interface { - pulumi.Input - - ToGetRouteTableFilterArrayOutput() GetRouteTableFilterArrayOutput - ToGetRouteTableFilterArrayOutputWithContext(context.Context) GetRouteTableFilterArrayOutput -} - -type GetRouteTableFilterArray []GetRouteTableFilterInput - -func (GetRouteTableFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetRouteTableFilter)(nil)).Elem() -} - -func (i GetRouteTableFilterArray) ToGetRouteTableFilterArrayOutput() GetRouteTableFilterArrayOutput { - return i.ToGetRouteTableFilterArrayOutputWithContext(context.Background()) -} - -func (i GetRouteTableFilterArray) ToGetRouteTableFilterArrayOutputWithContext(ctx context.Context) GetRouteTableFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetRouteTableFilterArrayOutput) -} - -type GetRouteTableFilterOutput struct{ *pulumi.OutputState } - -func (GetRouteTableFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetRouteTableFilter)(nil)).Elem() -} - -func (o GetRouteTableFilterOutput) ToGetRouteTableFilterOutput() GetRouteTableFilterOutput { - return o -} - -func (o GetRouteTableFilterOutput) ToGetRouteTableFilterOutputWithContext(ctx context.Context) GetRouteTableFilterOutput { - return o -} - -func (o GetRouteTableFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTableFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetRouteTableFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetRouteTableFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetRouteTableFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetRouteTableFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetRouteTableFilter)(nil)).Elem() -} - -func (o GetRouteTableFilterArrayOutput) ToGetRouteTableFilterArrayOutput() GetRouteTableFilterArrayOutput { - return o -} - -func (o GetRouteTableFilterArrayOutput) ToGetRouteTableFilterArrayOutputWithContext(ctx context.Context) GetRouteTableFilterArrayOutput { - return o -} - -func (o GetRouteTableFilterArrayOutput) Index(i pulumi.IntInput) GetRouteTableFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRouteTableFilter { - return vs[0].([]GetRouteTableFilter)[vs[1].(int)] - }).(GetRouteTableFilterOutput) -} - -type GetRouteTableLinkRouteTable struct { - // The ID of the association between the route table and the Subnet. - LinkRouteTableId string `pulumi:"linkRouteTableId"` - // If true, the route table is the main one. - Main bool `pulumi:"main"` - // The ID of the route table. - RouteTableId string `pulumi:"routeTableId"` - RouteTableToSubnetLinkId string `pulumi:"routeTableToSubnetLinkId"` - // The ID of the Subnet. - SubnetId string `pulumi:"subnetId"` -} - -// GetRouteTableLinkRouteTableInput is an input type that accepts GetRouteTableLinkRouteTableArgs and GetRouteTableLinkRouteTableOutput values. -// You can construct a concrete instance of `GetRouteTableLinkRouteTableInput` via: -// -// GetRouteTableLinkRouteTableArgs{...} -type GetRouteTableLinkRouteTableInput interface { - pulumi.Input - - ToGetRouteTableLinkRouteTableOutput() GetRouteTableLinkRouteTableOutput - ToGetRouteTableLinkRouteTableOutputWithContext(context.Context) GetRouteTableLinkRouteTableOutput -} - -type GetRouteTableLinkRouteTableArgs struct { - // The ID of the association between the route table and the Subnet. - LinkRouteTableId pulumi.StringInput `pulumi:"linkRouteTableId"` - // If true, the route table is the main one. - Main pulumi.BoolInput `pulumi:"main"` - // The ID of the route table. - RouteTableId pulumi.StringInput `pulumi:"routeTableId"` - RouteTableToSubnetLinkId pulumi.StringInput `pulumi:"routeTableToSubnetLinkId"` - // The ID of the Subnet. - SubnetId pulumi.StringInput `pulumi:"subnetId"` -} - -func (GetRouteTableLinkRouteTableArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetRouteTableLinkRouteTable)(nil)).Elem() -} - -func (i GetRouteTableLinkRouteTableArgs) ToGetRouteTableLinkRouteTableOutput() GetRouteTableLinkRouteTableOutput { - return i.ToGetRouteTableLinkRouteTableOutputWithContext(context.Background()) -} - -func (i GetRouteTableLinkRouteTableArgs) ToGetRouteTableLinkRouteTableOutputWithContext(ctx context.Context) GetRouteTableLinkRouteTableOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetRouteTableLinkRouteTableOutput) -} - -// GetRouteTableLinkRouteTableArrayInput is an input type that accepts GetRouteTableLinkRouteTableArray and GetRouteTableLinkRouteTableArrayOutput values. -// You can construct a concrete instance of `GetRouteTableLinkRouteTableArrayInput` via: -// -// GetRouteTableLinkRouteTableArray{ GetRouteTableLinkRouteTableArgs{...} } -type GetRouteTableLinkRouteTableArrayInput interface { - pulumi.Input - - ToGetRouteTableLinkRouteTableArrayOutput() GetRouteTableLinkRouteTableArrayOutput - ToGetRouteTableLinkRouteTableArrayOutputWithContext(context.Context) GetRouteTableLinkRouteTableArrayOutput -} - -type GetRouteTableLinkRouteTableArray []GetRouteTableLinkRouteTableInput - -func (GetRouteTableLinkRouteTableArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetRouteTableLinkRouteTable)(nil)).Elem() -} - -func (i GetRouteTableLinkRouteTableArray) ToGetRouteTableLinkRouteTableArrayOutput() GetRouteTableLinkRouteTableArrayOutput { - return i.ToGetRouteTableLinkRouteTableArrayOutputWithContext(context.Background()) -} - -func (i GetRouteTableLinkRouteTableArray) ToGetRouteTableLinkRouteTableArrayOutputWithContext(ctx context.Context) GetRouteTableLinkRouteTableArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetRouteTableLinkRouteTableArrayOutput) -} - -type GetRouteTableLinkRouteTableOutput struct{ *pulumi.OutputState } - -func (GetRouteTableLinkRouteTableOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetRouteTableLinkRouteTable)(nil)).Elem() -} - -func (o GetRouteTableLinkRouteTableOutput) ToGetRouteTableLinkRouteTableOutput() GetRouteTableLinkRouteTableOutput { - return o -} - -func (o GetRouteTableLinkRouteTableOutput) ToGetRouteTableLinkRouteTableOutputWithContext(ctx context.Context) GetRouteTableLinkRouteTableOutput { - return o -} - -// The ID of the association between the route table and the Subnet. -func (o GetRouteTableLinkRouteTableOutput) LinkRouteTableId() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTableLinkRouteTable) string { return v.LinkRouteTableId }).(pulumi.StringOutput) -} - -// If true, the route table is the main one. -func (o GetRouteTableLinkRouteTableOutput) Main() pulumi.BoolOutput { - return o.ApplyT(func(v GetRouteTableLinkRouteTable) bool { return v.Main }).(pulumi.BoolOutput) -} - -// The ID of the route table. -func (o GetRouteTableLinkRouteTableOutput) RouteTableId() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTableLinkRouteTable) string { return v.RouteTableId }).(pulumi.StringOutput) -} - -func (o GetRouteTableLinkRouteTableOutput) RouteTableToSubnetLinkId() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTableLinkRouteTable) string { return v.RouteTableToSubnetLinkId }).(pulumi.StringOutput) -} - -// The ID of the Subnet. -func (o GetRouteTableLinkRouteTableOutput) SubnetId() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTableLinkRouteTable) string { return v.SubnetId }).(pulumi.StringOutput) -} - -type GetRouteTableLinkRouteTableArrayOutput struct{ *pulumi.OutputState } - -func (GetRouteTableLinkRouteTableArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetRouteTableLinkRouteTable)(nil)).Elem() -} - -func (o GetRouteTableLinkRouteTableArrayOutput) ToGetRouteTableLinkRouteTableArrayOutput() GetRouteTableLinkRouteTableArrayOutput { - return o -} - -func (o GetRouteTableLinkRouteTableArrayOutput) ToGetRouteTableLinkRouteTableArrayOutputWithContext(ctx context.Context) GetRouteTableLinkRouteTableArrayOutput { - return o -} - -func (o GetRouteTableLinkRouteTableArrayOutput) Index(i pulumi.IntInput) GetRouteTableLinkRouteTableOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRouteTableLinkRouteTable { - return vs[0].([]GetRouteTableLinkRouteTable)[vs[1].(int)] - }).(GetRouteTableLinkRouteTableOutput) -} - -type GetRouteTableRoute struct { - // The method used to create the route. - CreationMethod string `pulumi:"creationMethod"` - // The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - DestinationIpRange string `pulumi:"destinationIpRange"` - // The ID of the OUTSCALE service. - DestinationServiceId string `pulumi:"destinationServiceId"` - // The ID of the Internet service or virtual gateway attached to the Net. - GatewayId string `pulumi:"gatewayId"` - // The ID of a NAT service attached to the Net. - NatServiceId string `pulumi:"natServiceId"` - // The ID of the Net access point. - NetAccessPointId string `pulumi:"netAccessPointId"` - // The ID of the Net peering. - NetPeeringId string `pulumi:"netPeeringId"` - // The ID of the NIC. - NicId string `pulumi:"nicId"` - // The state of a route in the route table (always `active`). - State string `pulumi:"state"` - // The account ID of the owner of the VM. - VmAccountId string `pulumi:"vmAccountId"` - // The ID of a VM specified in a route in the table. - VmId string `pulumi:"vmId"` -} - -// GetRouteTableRouteInput is an input type that accepts GetRouteTableRouteArgs and GetRouteTableRouteOutput values. -// You can construct a concrete instance of `GetRouteTableRouteInput` via: -// -// GetRouteTableRouteArgs{...} -type GetRouteTableRouteInput interface { - pulumi.Input - - ToGetRouteTableRouteOutput() GetRouteTableRouteOutput - ToGetRouteTableRouteOutputWithContext(context.Context) GetRouteTableRouteOutput -} - -type GetRouteTableRouteArgs struct { - // The method used to create the route. - CreationMethod pulumi.StringInput `pulumi:"creationMethod"` - // The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - DestinationIpRange pulumi.StringInput `pulumi:"destinationIpRange"` - // The ID of the OUTSCALE service. - DestinationServiceId pulumi.StringInput `pulumi:"destinationServiceId"` - // The ID of the Internet service or virtual gateway attached to the Net. - GatewayId pulumi.StringInput `pulumi:"gatewayId"` - // The ID of a NAT service attached to the Net. - NatServiceId pulumi.StringInput `pulumi:"natServiceId"` - // The ID of the Net access point. - NetAccessPointId pulumi.StringInput `pulumi:"netAccessPointId"` - // The ID of the Net peering. - NetPeeringId pulumi.StringInput `pulumi:"netPeeringId"` - // The ID of the NIC. - NicId pulumi.StringInput `pulumi:"nicId"` - // The state of a route in the route table (always `active`). - State pulumi.StringInput `pulumi:"state"` - // The account ID of the owner of the VM. - VmAccountId pulumi.StringInput `pulumi:"vmAccountId"` - // The ID of a VM specified in a route in the table. - VmId pulumi.StringInput `pulumi:"vmId"` -} - -func (GetRouteTableRouteArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetRouteTableRoute)(nil)).Elem() -} - -func (i GetRouteTableRouteArgs) ToGetRouteTableRouteOutput() GetRouteTableRouteOutput { - return i.ToGetRouteTableRouteOutputWithContext(context.Background()) -} - -func (i GetRouteTableRouteArgs) ToGetRouteTableRouteOutputWithContext(ctx context.Context) GetRouteTableRouteOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetRouteTableRouteOutput) -} - -// GetRouteTableRouteArrayInput is an input type that accepts GetRouteTableRouteArray and GetRouteTableRouteArrayOutput values. -// You can construct a concrete instance of `GetRouteTableRouteArrayInput` via: -// -// GetRouteTableRouteArray{ GetRouteTableRouteArgs{...} } -type GetRouteTableRouteArrayInput interface { - pulumi.Input - - ToGetRouteTableRouteArrayOutput() GetRouteTableRouteArrayOutput - ToGetRouteTableRouteArrayOutputWithContext(context.Context) GetRouteTableRouteArrayOutput -} - -type GetRouteTableRouteArray []GetRouteTableRouteInput - -func (GetRouteTableRouteArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetRouteTableRoute)(nil)).Elem() -} - -func (i GetRouteTableRouteArray) ToGetRouteTableRouteArrayOutput() GetRouteTableRouteArrayOutput { - return i.ToGetRouteTableRouteArrayOutputWithContext(context.Background()) -} - -func (i GetRouteTableRouteArray) ToGetRouteTableRouteArrayOutputWithContext(ctx context.Context) GetRouteTableRouteArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetRouteTableRouteArrayOutput) -} - -type GetRouteTableRouteOutput struct{ *pulumi.OutputState } - -func (GetRouteTableRouteOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetRouteTableRoute)(nil)).Elem() -} - -func (o GetRouteTableRouteOutput) ToGetRouteTableRouteOutput() GetRouteTableRouteOutput { - return o -} - -func (o GetRouteTableRouteOutput) ToGetRouteTableRouteOutputWithContext(ctx context.Context) GetRouteTableRouteOutput { - return o -} - -// The method used to create the route. -func (o GetRouteTableRouteOutput) CreationMethod() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTableRoute) string { return v.CreationMethod }).(pulumi.StringOutput) -} - -// The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). -func (o GetRouteTableRouteOutput) DestinationIpRange() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTableRoute) string { return v.DestinationIpRange }).(pulumi.StringOutput) -} - -// The ID of the OUTSCALE service. -func (o GetRouteTableRouteOutput) DestinationServiceId() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTableRoute) string { return v.DestinationServiceId }).(pulumi.StringOutput) -} - -// The ID of the Internet service or virtual gateway attached to the Net. -func (o GetRouteTableRouteOutput) GatewayId() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTableRoute) string { return v.GatewayId }).(pulumi.StringOutput) -} - -// The ID of a NAT service attached to the Net. -func (o GetRouteTableRouteOutput) NatServiceId() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTableRoute) string { return v.NatServiceId }).(pulumi.StringOutput) -} - -// The ID of the Net access point. -func (o GetRouteTableRouteOutput) NetAccessPointId() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTableRoute) string { return v.NetAccessPointId }).(pulumi.StringOutput) -} - -// The ID of the Net peering. -func (o GetRouteTableRouteOutput) NetPeeringId() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTableRoute) string { return v.NetPeeringId }).(pulumi.StringOutput) -} - -// The ID of the NIC. -func (o GetRouteTableRouteOutput) NicId() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTableRoute) string { return v.NicId }).(pulumi.StringOutput) -} - -// The state of a route in the route table (always `active`). -func (o GetRouteTableRouteOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTableRoute) string { return v.State }).(pulumi.StringOutput) -} - -// The account ID of the owner of the VM. -func (o GetRouteTableRouteOutput) VmAccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTableRoute) string { return v.VmAccountId }).(pulumi.StringOutput) -} - -// The ID of a VM specified in a route in the table. -func (o GetRouteTableRouteOutput) VmId() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTableRoute) string { return v.VmId }).(pulumi.StringOutput) -} - -type GetRouteTableRouteArrayOutput struct{ *pulumi.OutputState } - -func (GetRouteTableRouteArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetRouteTableRoute)(nil)).Elem() -} - -func (o GetRouteTableRouteArrayOutput) ToGetRouteTableRouteArrayOutput() GetRouteTableRouteArrayOutput { - return o -} - -func (o GetRouteTableRouteArrayOutput) ToGetRouteTableRouteArrayOutputWithContext(ctx context.Context) GetRouteTableRouteArrayOutput { - return o -} - -func (o GetRouteTableRouteArrayOutput) Index(i pulumi.IntInput) GetRouteTableRouteOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRouteTableRoute { - return vs[0].([]GetRouteTableRoute)[vs[1].(int)] - }).(GetRouteTableRouteOutput) -} - -type GetRouteTableRoutePropagatingVirtualGateway struct { - // The ID of the virtual gateway. - VirtualGatewayId string `pulumi:"virtualGatewayId"` -} - -// GetRouteTableRoutePropagatingVirtualGatewayInput is an input type that accepts GetRouteTableRoutePropagatingVirtualGatewayArgs and GetRouteTableRoutePropagatingVirtualGatewayOutput values. -// You can construct a concrete instance of `GetRouteTableRoutePropagatingVirtualGatewayInput` via: -// -// GetRouteTableRoutePropagatingVirtualGatewayArgs{...} -type GetRouteTableRoutePropagatingVirtualGatewayInput interface { - pulumi.Input - - ToGetRouteTableRoutePropagatingVirtualGatewayOutput() GetRouteTableRoutePropagatingVirtualGatewayOutput - ToGetRouteTableRoutePropagatingVirtualGatewayOutputWithContext(context.Context) GetRouteTableRoutePropagatingVirtualGatewayOutput -} - -type GetRouteTableRoutePropagatingVirtualGatewayArgs struct { - // The ID of the virtual gateway. - VirtualGatewayId pulumi.StringInput `pulumi:"virtualGatewayId"` -} - -func (GetRouteTableRoutePropagatingVirtualGatewayArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetRouteTableRoutePropagatingVirtualGateway)(nil)).Elem() -} - -func (i GetRouteTableRoutePropagatingVirtualGatewayArgs) ToGetRouteTableRoutePropagatingVirtualGatewayOutput() GetRouteTableRoutePropagatingVirtualGatewayOutput { - return i.ToGetRouteTableRoutePropagatingVirtualGatewayOutputWithContext(context.Background()) -} - -func (i GetRouteTableRoutePropagatingVirtualGatewayArgs) ToGetRouteTableRoutePropagatingVirtualGatewayOutputWithContext(ctx context.Context) GetRouteTableRoutePropagatingVirtualGatewayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetRouteTableRoutePropagatingVirtualGatewayOutput) -} - -// GetRouteTableRoutePropagatingVirtualGatewayArrayInput is an input type that accepts GetRouteTableRoutePropagatingVirtualGatewayArray and GetRouteTableRoutePropagatingVirtualGatewayArrayOutput values. -// You can construct a concrete instance of `GetRouteTableRoutePropagatingVirtualGatewayArrayInput` via: -// -// GetRouteTableRoutePropagatingVirtualGatewayArray{ GetRouteTableRoutePropagatingVirtualGatewayArgs{...} } -type GetRouteTableRoutePropagatingVirtualGatewayArrayInput interface { - pulumi.Input - - ToGetRouteTableRoutePropagatingVirtualGatewayArrayOutput() GetRouteTableRoutePropagatingVirtualGatewayArrayOutput - ToGetRouteTableRoutePropagatingVirtualGatewayArrayOutputWithContext(context.Context) GetRouteTableRoutePropagatingVirtualGatewayArrayOutput -} - -type GetRouteTableRoutePropagatingVirtualGatewayArray []GetRouteTableRoutePropagatingVirtualGatewayInput - -func (GetRouteTableRoutePropagatingVirtualGatewayArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetRouteTableRoutePropagatingVirtualGateway)(nil)).Elem() -} - -func (i GetRouteTableRoutePropagatingVirtualGatewayArray) ToGetRouteTableRoutePropagatingVirtualGatewayArrayOutput() GetRouteTableRoutePropagatingVirtualGatewayArrayOutput { - return i.ToGetRouteTableRoutePropagatingVirtualGatewayArrayOutputWithContext(context.Background()) -} - -func (i GetRouteTableRoutePropagatingVirtualGatewayArray) ToGetRouteTableRoutePropagatingVirtualGatewayArrayOutputWithContext(ctx context.Context) GetRouteTableRoutePropagatingVirtualGatewayArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetRouteTableRoutePropagatingVirtualGatewayArrayOutput) -} - -type GetRouteTableRoutePropagatingVirtualGatewayOutput struct{ *pulumi.OutputState } - -func (GetRouteTableRoutePropagatingVirtualGatewayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetRouteTableRoutePropagatingVirtualGateway)(nil)).Elem() -} - -func (o GetRouteTableRoutePropagatingVirtualGatewayOutput) ToGetRouteTableRoutePropagatingVirtualGatewayOutput() GetRouteTableRoutePropagatingVirtualGatewayOutput { - return o -} - -func (o GetRouteTableRoutePropagatingVirtualGatewayOutput) ToGetRouteTableRoutePropagatingVirtualGatewayOutputWithContext(ctx context.Context) GetRouteTableRoutePropagatingVirtualGatewayOutput { - return o -} - -// The ID of the virtual gateway. -func (o GetRouteTableRoutePropagatingVirtualGatewayOutput) VirtualGatewayId() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTableRoutePropagatingVirtualGateway) string { return v.VirtualGatewayId }).(pulumi.StringOutput) -} - -type GetRouteTableRoutePropagatingVirtualGatewayArrayOutput struct{ *pulumi.OutputState } - -func (GetRouteTableRoutePropagatingVirtualGatewayArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetRouteTableRoutePropagatingVirtualGateway)(nil)).Elem() -} - -func (o GetRouteTableRoutePropagatingVirtualGatewayArrayOutput) ToGetRouteTableRoutePropagatingVirtualGatewayArrayOutput() GetRouteTableRoutePropagatingVirtualGatewayArrayOutput { - return o -} - -func (o GetRouteTableRoutePropagatingVirtualGatewayArrayOutput) ToGetRouteTableRoutePropagatingVirtualGatewayArrayOutputWithContext(ctx context.Context) GetRouteTableRoutePropagatingVirtualGatewayArrayOutput { - return o -} - -func (o GetRouteTableRoutePropagatingVirtualGatewayArrayOutput) Index(i pulumi.IntInput) GetRouteTableRoutePropagatingVirtualGatewayOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRouteTableRoutePropagatingVirtualGateway { - return vs[0].([]GetRouteTableRoutePropagatingVirtualGateway)[vs[1].(int)] - }).(GetRouteTableRoutePropagatingVirtualGatewayOutput) -} - -type GetRouteTableTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetRouteTableTagInput is an input type that accepts GetRouteTableTagArgs and GetRouteTableTagOutput values. -// You can construct a concrete instance of `GetRouteTableTagInput` via: -// -// GetRouteTableTagArgs{...} -type GetRouteTableTagInput interface { - pulumi.Input - - ToGetRouteTableTagOutput() GetRouteTableTagOutput - ToGetRouteTableTagOutputWithContext(context.Context) GetRouteTableTagOutput -} - -type GetRouteTableTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetRouteTableTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetRouteTableTag)(nil)).Elem() -} - -func (i GetRouteTableTagArgs) ToGetRouteTableTagOutput() GetRouteTableTagOutput { - return i.ToGetRouteTableTagOutputWithContext(context.Background()) -} - -func (i GetRouteTableTagArgs) ToGetRouteTableTagOutputWithContext(ctx context.Context) GetRouteTableTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetRouteTableTagOutput) -} - -// GetRouteTableTagArrayInput is an input type that accepts GetRouteTableTagArray and GetRouteTableTagArrayOutput values. -// You can construct a concrete instance of `GetRouteTableTagArrayInput` via: -// -// GetRouteTableTagArray{ GetRouteTableTagArgs{...} } -type GetRouteTableTagArrayInput interface { - pulumi.Input - - ToGetRouteTableTagArrayOutput() GetRouteTableTagArrayOutput - ToGetRouteTableTagArrayOutputWithContext(context.Context) GetRouteTableTagArrayOutput -} - -type GetRouteTableTagArray []GetRouteTableTagInput - -func (GetRouteTableTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetRouteTableTag)(nil)).Elem() -} - -func (i GetRouteTableTagArray) ToGetRouteTableTagArrayOutput() GetRouteTableTagArrayOutput { - return i.ToGetRouteTableTagArrayOutputWithContext(context.Background()) -} - -func (i GetRouteTableTagArray) ToGetRouteTableTagArrayOutputWithContext(ctx context.Context) GetRouteTableTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetRouteTableTagArrayOutput) -} - -type GetRouteTableTagOutput struct{ *pulumi.OutputState } - -func (GetRouteTableTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetRouteTableTag)(nil)).Elem() -} - -func (o GetRouteTableTagOutput) ToGetRouteTableTagOutput() GetRouteTableTagOutput { - return o -} - -func (o GetRouteTableTagOutput) ToGetRouteTableTagOutputWithContext(ctx context.Context) GetRouteTableTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetRouteTableTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTableTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetRouteTableTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTableTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetRouteTableTagArrayOutput struct{ *pulumi.OutputState } - -func (GetRouteTableTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetRouteTableTag)(nil)).Elem() -} - -func (o GetRouteTableTagArrayOutput) ToGetRouteTableTagArrayOutput() GetRouteTableTagArrayOutput { - return o -} - -func (o GetRouteTableTagArrayOutput) ToGetRouteTableTagArrayOutputWithContext(ctx context.Context) GetRouteTableTagArrayOutput { - return o -} - -func (o GetRouteTableTagArrayOutput) Index(i pulumi.IntInput) GetRouteTableTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRouteTableTag { - return vs[0].([]GetRouteTableTag)[vs[1].(int)] - }).(GetRouteTableTagOutput) -} - -type GetRouteTablesFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetRouteTablesFilterInput is an input type that accepts GetRouteTablesFilterArgs and GetRouteTablesFilterOutput values. -// You can construct a concrete instance of `GetRouteTablesFilterInput` via: -// -// GetRouteTablesFilterArgs{...} -type GetRouteTablesFilterInput interface { - pulumi.Input - - ToGetRouteTablesFilterOutput() GetRouteTablesFilterOutput - ToGetRouteTablesFilterOutputWithContext(context.Context) GetRouteTablesFilterOutput -} - -type GetRouteTablesFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetRouteTablesFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetRouteTablesFilter)(nil)).Elem() -} - -func (i GetRouteTablesFilterArgs) ToGetRouteTablesFilterOutput() GetRouteTablesFilterOutput { - return i.ToGetRouteTablesFilterOutputWithContext(context.Background()) -} - -func (i GetRouteTablesFilterArgs) ToGetRouteTablesFilterOutputWithContext(ctx context.Context) GetRouteTablesFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetRouteTablesFilterOutput) -} - -// GetRouteTablesFilterArrayInput is an input type that accepts GetRouteTablesFilterArray and GetRouteTablesFilterArrayOutput values. -// You can construct a concrete instance of `GetRouteTablesFilterArrayInput` via: -// -// GetRouteTablesFilterArray{ GetRouteTablesFilterArgs{...} } -type GetRouteTablesFilterArrayInput interface { - pulumi.Input - - ToGetRouteTablesFilterArrayOutput() GetRouteTablesFilterArrayOutput - ToGetRouteTablesFilterArrayOutputWithContext(context.Context) GetRouteTablesFilterArrayOutput -} - -type GetRouteTablesFilterArray []GetRouteTablesFilterInput - -func (GetRouteTablesFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetRouteTablesFilter)(nil)).Elem() -} - -func (i GetRouteTablesFilterArray) ToGetRouteTablesFilterArrayOutput() GetRouteTablesFilterArrayOutput { - return i.ToGetRouteTablesFilterArrayOutputWithContext(context.Background()) -} - -func (i GetRouteTablesFilterArray) ToGetRouteTablesFilterArrayOutputWithContext(ctx context.Context) GetRouteTablesFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetRouteTablesFilterArrayOutput) -} - -type GetRouteTablesFilterOutput struct{ *pulumi.OutputState } - -func (GetRouteTablesFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetRouteTablesFilter)(nil)).Elem() -} - -func (o GetRouteTablesFilterOutput) ToGetRouteTablesFilterOutput() GetRouteTablesFilterOutput { - return o -} - -func (o GetRouteTablesFilterOutput) ToGetRouteTablesFilterOutputWithContext(ctx context.Context) GetRouteTablesFilterOutput { - return o -} - -func (o GetRouteTablesFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTablesFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetRouteTablesFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetRouteTablesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetRouteTablesFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetRouteTablesFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetRouteTablesFilter)(nil)).Elem() -} - -func (o GetRouteTablesFilterArrayOutput) ToGetRouteTablesFilterArrayOutput() GetRouteTablesFilterArrayOutput { - return o -} - -func (o GetRouteTablesFilterArrayOutput) ToGetRouteTablesFilterArrayOutputWithContext(ctx context.Context) GetRouteTablesFilterArrayOutput { - return o -} - -func (o GetRouteTablesFilterArrayOutput) Index(i pulumi.IntInput) GetRouteTablesFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRouteTablesFilter { - return vs[0].([]GetRouteTablesFilter)[vs[1].(int)] - }).(GetRouteTablesFilterOutput) -} - -type GetRouteTablesRouteTable struct { - // One or more associations between the route table and Subnets. - LinkRouteTables []GetRouteTablesRouteTableLinkRouteTable `pulumi:"linkRouteTables"` - // The ID of the Net for the route table. - NetId string `pulumi:"netId"` - // Information about virtual gateways propagating routes. - RoutePropagatingVirtualGateways []GetRouteTablesRouteTableRoutePropagatingVirtualGateway `pulumi:"routePropagatingVirtualGateways"` - // The ID of the route table. - RouteTableId string `pulumi:"routeTableId"` - // One or more routes in the route table. - Routes []GetRouteTablesRouteTableRoute `pulumi:"routes"` - // The key/value combinations of the tags associated with the route tables, in the following format: `TAGKEY=TAGVALUE`. - Tags []GetRouteTablesRouteTableTag `pulumi:"tags"` -} - -// GetRouteTablesRouteTableInput is an input type that accepts GetRouteTablesRouteTableArgs and GetRouteTablesRouteTableOutput values. -// You can construct a concrete instance of `GetRouteTablesRouteTableInput` via: -// -// GetRouteTablesRouteTableArgs{...} -type GetRouteTablesRouteTableInput interface { - pulumi.Input - - ToGetRouteTablesRouteTableOutput() GetRouteTablesRouteTableOutput - ToGetRouteTablesRouteTableOutputWithContext(context.Context) GetRouteTablesRouteTableOutput -} - -type GetRouteTablesRouteTableArgs struct { - // One or more associations between the route table and Subnets. - LinkRouteTables GetRouteTablesRouteTableLinkRouteTableArrayInput `pulumi:"linkRouteTables"` - // The ID of the Net for the route table. - NetId pulumi.StringInput `pulumi:"netId"` - // Information about virtual gateways propagating routes. - RoutePropagatingVirtualGateways GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArrayInput `pulumi:"routePropagatingVirtualGateways"` - // The ID of the route table. - RouteTableId pulumi.StringInput `pulumi:"routeTableId"` - // One or more routes in the route table. - Routes GetRouteTablesRouteTableRouteArrayInput `pulumi:"routes"` - // The key/value combinations of the tags associated with the route tables, in the following format: `TAGKEY=TAGVALUE`. - Tags GetRouteTablesRouteTableTagArrayInput `pulumi:"tags"` -} - -func (GetRouteTablesRouteTableArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetRouteTablesRouteTable)(nil)).Elem() -} - -func (i GetRouteTablesRouteTableArgs) ToGetRouteTablesRouteTableOutput() GetRouteTablesRouteTableOutput { - return i.ToGetRouteTablesRouteTableOutputWithContext(context.Background()) -} - -func (i GetRouteTablesRouteTableArgs) ToGetRouteTablesRouteTableOutputWithContext(ctx context.Context) GetRouteTablesRouteTableOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetRouteTablesRouteTableOutput) -} - -// GetRouteTablesRouteTableArrayInput is an input type that accepts GetRouteTablesRouteTableArray and GetRouteTablesRouteTableArrayOutput values. -// You can construct a concrete instance of `GetRouteTablesRouteTableArrayInput` via: -// -// GetRouteTablesRouteTableArray{ GetRouteTablesRouteTableArgs{...} } -type GetRouteTablesRouteTableArrayInput interface { - pulumi.Input - - ToGetRouteTablesRouteTableArrayOutput() GetRouteTablesRouteTableArrayOutput - ToGetRouteTablesRouteTableArrayOutputWithContext(context.Context) GetRouteTablesRouteTableArrayOutput -} - -type GetRouteTablesRouteTableArray []GetRouteTablesRouteTableInput - -func (GetRouteTablesRouteTableArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetRouteTablesRouteTable)(nil)).Elem() -} - -func (i GetRouteTablesRouteTableArray) ToGetRouteTablesRouteTableArrayOutput() GetRouteTablesRouteTableArrayOutput { - return i.ToGetRouteTablesRouteTableArrayOutputWithContext(context.Background()) -} - -func (i GetRouteTablesRouteTableArray) ToGetRouteTablesRouteTableArrayOutputWithContext(ctx context.Context) GetRouteTablesRouteTableArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetRouteTablesRouteTableArrayOutput) -} - -type GetRouteTablesRouteTableOutput struct{ *pulumi.OutputState } - -func (GetRouteTablesRouteTableOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetRouteTablesRouteTable)(nil)).Elem() -} - -func (o GetRouteTablesRouteTableOutput) ToGetRouteTablesRouteTableOutput() GetRouteTablesRouteTableOutput { - return o -} - -func (o GetRouteTablesRouteTableOutput) ToGetRouteTablesRouteTableOutputWithContext(ctx context.Context) GetRouteTablesRouteTableOutput { - return o -} - -// One or more associations between the route table and Subnets. -func (o GetRouteTablesRouteTableOutput) LinkRouteTables() GetRouteTablesRouteTableLinkRouteTableArrayOutput { - return o.ApplyT(func(v GetRouteTablesRouteTable) []GetRouteTablesRouteTableLinkRouteTable { return v.LinkRouteTables }).(GetRouteTablesRouteTableLinkRouteTableArrayOutput) -} - -// The ID of the Net for the route table. -func (o GetRouteTablesRouteTableOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTablesRouteTable) string { return v.NetId }).(pulumi.StringOutput) -} - -// Information about virtual gateways propagating routes. -func (o GetRouteTablesRouteTableOutput) RoutePropagatingVirtualGateways() GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArrayOutput { - return o.ApplyT(func(v GetRouteTablesRouteTable) []GetRouteTablesRouteTableRoutePropagatingVirtualGateway { - return v.RoutePropagatingVirtualGateways - }).(GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArrayOutput) -} - -// The ID of the route table. -func (o GetRouteTablesRouteTableOutput) RouteTableId() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTablesRouteTable) string { return v.RouteTableId }).(pulumi.StringOutput) -} - -// One or more routes in the route table. -func (o GetRouteTablesRouteTableOutput) Routes() GetRouteTablesRouteTableRouteArrayOutput { - return o.ApplyT(func(v GetRouteTablesRouteTable) []GetRouteTablesRouteTableRoute { return v.Routes }).(GetRouteTablesRouteTableRouteArrayOutput) -} - -// The key/value combinations of the tags associated with the route tables, in the following format: `TAGKEY=TAGVALUE`. -func (o GetRouteTablesRouteTableOutput) Tags() GetRouteTablesRouteTableTagArrayOutput { - return o.ApplyT(func(v GetRouteTablesRouteTable) []GetRouteTablesRouteTableTag { return v.Tags }).(GetRouteTablesRouteTableTagArrayOutput) -} - -type GetRouteTablesRouteTableArrayOutput struct{ *pulumi.OutputState } - -func (GetRouteTablesRouteTableArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetRouteTablesRouteTable)(nil)).Elem() -} - -func (o GetRouteTablesRouteTableArrayOutput) ToGetRouteTablesRouteTableArrayOutput() GetRouteTablesRouteTableArrayOutput { - return o -} - -func (o GetRouteTablesRouteTableArrayOutput) ToGetRouteTablesRouteTableArrayOutputWithContext(ctx context.Context) GetRouteTablesRouteTableArrayOutput { - return o -} - -func (o GetRouteTablesRouteTableArrayOutput) Index(i pulumi.IntInput) GetRouteTablesRouteTableOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRouteTablesRouteTable { - return vs[0].([]GetRouteTablesRouteTable)[vs[1].(int)] - }).(GetRouteTablesRouteTableOutput) -} - -type GetRouteTablesRouteTableLinkRouteTable struct { - // The ID of the association between the route table and the Subnet. - LinkRouteTableId string `pulumi:"linkRouteTableId"` - // If true, the route table is the main one. - Main bool `pulumi:"main"` - // The ID of the route table. - RouteTableId string `pulumi:"routeTableId"` - RouteTableToSubnetLinkId string `pulumi:"routeTableToSubnetLinkId"` - // The ID of the Subnet. - SubnetId string `pulumi:"subnetId"` -} - -// GetRouteTablesRouteTableLinkRouteTableInput is an input type that accepts GetRouteTablesRouteTableLinkRouteTableArgs and GetRouteTablesRouteTableLinkRouteTableOutput values. -// You can construct a concrete instance of `GetRouteTablesRouteTableLinkRouteTableInput` via: -// -// GetRouteTablesRouteTableLinkRouteTableArgs{...} -type GetRouteTablesRouteTableLinkRouteTableInput interface { - pulumi.Input - - ToGetRouteTablesRouteTableLinkRouteTableOutput() GetRouteTablesRouteTableLinkRouteTableOutput - ToGetRouteTablesRouteTableLinkRouteTableOutputWithContext(context.Context) GetRouteTablesRouteTableLinkRouteTableOutput -} - -type GetRouteTablesRouteTableLinkRouteTableArgs struct { - // The ID of the association between the route table and the Subnet. - LinkRouteTableId pulumi.StringInput `pulumi:"linkRouteTableId"` - // If true, the route table is the main one. - Main pulumi.BoolInput `pulumi:"main"` - // The ID of the route table. - RouteTableId pulumi.StringInput `pulumi:"routeTableId"` - RouteTableToSubnetLinkId pulumi.StringInput `pulumi:"routeTableToSubnetLinkId"` - // The ID of the Subnet. - SubnetId pulumi.StringInput `pulumi:"subnetId"` -} - -func (GetRouteTablesRouteTableLinkRouteTableArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetRouteTablesRouteTableLinkRouteTable)(nil)).Elem() -} - -func (i GetRouteTablesRouteTableLinkRouteTableArgs) ToGetRouteTablesRouteTableLinkRouteTableOutput() GetRouteTablesRouteTableLinkRouteTableOutput { - return i.ToGetRouteTablesRouteTableLinkRouteTableOutputWithContext(context.Background()) -} - -func (i GetRouteTablesRouteTableLinkRouteTableArgs) ToGetRouteTablesRouteTableLinkRouteTableOutputWithContext(ctx context.Context) GetRouteTablesRouteTableLinkRouteTableOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetRouteTablesRouteTableLinkRouteTableOutput) -} - -// GetRouteTablesRouteTableLinkRouteTableArrayInput is an input type that accepts GetRouteTablesRouteTableLinkRouteTableArray and GetRouteTablesRouteTableLinkRouteTableArrayOutput values. -// You can construct a concrete instance of `GetRouteTablesRouteTableLinkRouteTableArrayInput` via: -// -// GetRouteTablesRouteTableLinkRouteTableArray{ GetRouteTablesRouteTableLinkRouteTableArgs{...} } -type GetRouteTablesRouteTableLinkRouteTableArrayInput interface { - pulumi.Input - - ToGetRouteTablesRouteTableLinkRouteTableArrayOutput() GetRouteTablesRouteTableLinkRouteTableArrayOutput - ToGetRouteTablesRouteTableLinkRouteTableArrayOutputWithContext(context.Context) GetRouteTablesRouteTableLinkRouteTableArrayOutput -} - -type GetRouteTablesRouteTableLinkRouteTableArray []GetRouteTablesRouteTableLinkRouteTableInput - -func (GetRouteTablesRouteTableLinkRouteTableArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetRouteTablesRouteTableLinkRouteTable)(nil)).Elem() -} - -func (i GetRouteTablesRouteTableLinkRouteTableArray) ToGetRouteTablesRouteTableLinkRouteTableArrayOutput() GetRouteTablesRouteTableLinkRouteTableArrayOutput { - return i.ToGetRouteTablesRouteTableLinkRouteTableArrayOutputWithContext(context.Background()) -} - -func (i GetRouteTablesRouteTableLinkRouteTableArray) ToGetRouteTablesRouteTableLinkRouteTableArrayOutputWithContext(ctx context.Context) GetRouteTablesRouteTableLinkRouteTableArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetRouteTablesRouteTableLinkRouteTableArrayOutput) -} - -type GetRouteTablesRouteTableLinkRouteTableOutput struct{ *pulumi.OutputState } - -func (GetRouteTablesRouteTableLinkRouteTableOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetRouteTablesRouteTableLinkRouteTable)(nil)).Elem() -} - -func (o GetRouteTablesRouteTableLinkRouteTableOutput) ToGetRouteTablesRouteTableLinkRouteTableOutput() GetRouteTablesRouteTableLinkRouteTableOutput { - return o -} - -func (o GetRouteTablesRouteTableLinkRouteTableOutput) ToGetRouteTablesRouteTableLinkRouteTableOutputWithContext(ctx context.Context) GetRouteTablesRouteTableLinkRouteTableOutput { - return o -} - -// The ID of the association between the route table and the Subnet. -func (o GetRouteTablesRouteTableLinkRouteTableOutput) LinkRouteTableId() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTablesRouteTableLinkRouteTable) string { return v.LinkRouteTableId }).(pulumi.StringOutput) -} - -// If true, the route table is the main one. -func (o GetRouteTablesRouteTableLinkRouteTableOutput) Main() pulumi.BoolOutput { - return o.ApplyT(func(v GetRouteTablesRouteTableLinkRouteTable) bool { return v.Main }).(pulumi.BoolOutput) -} - -// The ID of the route table. -func (o GetRouteTablesRouteTableLinkRouteTableOutput) RouteTableId() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTablesRouteTableLinkRouteTable) string { return v.RouteTableId }).(pulumi.StringOutput) -} - -func (o GetRouteTablesRouteTableLinkRouteTableOutput) RouteTableToSubnetLinkId() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTablesRouteTableLinkRouteTable) string { return v.RouteTableToSubnetLinkId }).(pulumi.StringOutput) -} - -// The ID of the Subnet. -func (o GetRouteTablesRouteTableLinkRouteTableOutput) SubnetId() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTablesRouteTableLinkRouteTable) string { return v.SubnetId }).(pulumi.StringOutput) -} - -type GetRouteTablesRouteTableLinkRouteTableArrayOutput struct{ *pulumi.OutputState } - -func (GetRouteTablesRouteTableLinkRouteTableArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetRouteTablesRouteTableLinkRouteTable)(nil)).Elem() -} - -func (o GetRouteTablesRouteTableLinkRouteTableArrayOutput) ToGetRouteTablesRouteTableLinkRouteTableArrayOutput() GetRouteTablesRouteTableLinkRouteTableArrayOutput { - return o -} - -func (o GetRouteTablesRouteTableLinkRouteTableArrayOutput) ToGetRouteTablesRouteTableLinkRouteTableArrayOutputWithContext(ctx context.Context) GetRouteTablesRouteTableLinkRouteTableArrayOutput { - return o -} - -func (o GetRouteTablesRouteTableLinkRouteTableArrayOutput) Index(i pulumi.IntInput) GetRouteTablesRouteTableLinkRouteTableOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRouteTablesRouteTableLinkRouteTable { - return vs[0].([]GetRouteTablesRouteTableLinkRouteTable)[vs[1].(int)] - }).(GetRouteTablesRouteTableLinkRouteTableOutput) -} - -type GetRouteTablesRouteTableRoute struct { - // The method used to create the route. - CreationMethod string `pulumi:"creationMethod"` - // The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - DestinationIpRange string `pulumi:"destinationIpRange"` - // The ID of the OUTSCALE service. - DestinationServiceId string `pulumi:"destinationServiceId"` - // The ID of the Internet service or virtual gateway attached to the Net. - GatewayId string `pulumi:"gatewayId"` - // The ID of a NAT service attached to the Net. - NatServiceId string `pulumi:"natServiceId"` - // The ID of the Net access point. - NetAccessPointId string `pulumi:"netAccessPointId"` - // The ID of the Net peering. - NetPeeringId string `pulumi:"netPeeringId"` - // The ID of the NIC. - NicId string `pulumi:"nicId"` - // The state of a route in the route table (always `active`). - State string `pulumi:"state"` - // The account ID of the owner of the VM. - VmAccountId string `pulumi:"vmAccountId"` - // The ID of a VM specified in a route in the table. - VmId string `pulumi:"vmId"` -} - -// GetRouteTablesRouteTableRouteInput is an input type that accepts GetRouteTablesRouteTableRouteArgs and GetRouteTablesRouteTableRouteOutput values. -// You can construct a concrete instance of `GetRouteTablesRouteTableRouteInput` via: -// -// GetRouteTablesRouteTableRouteArgs{...} -type GetRouteTablesRouteTableRouteInput interface { - pulumi.Input - - ToGetRouteTablesRouteTableRouteOutput() GetRouteTablesRouteTableRouteOutput - ToGetRouteTablesRouteTableRouteOutputWithContext(context.Context) GetRouteTablesRouteTableRouteOutput -} - -type GetRouteTablesRouteTableRouteArgs struct { - // The method used to create the route. - CreationMethod pulumi.StringInput `pulumi:"creationMethod"` - // The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - DestinationIpRange pulumi.StringInput `pulumi:"destinationIpRange"` - // The ID of the OUTSCALE service. - DestinationServiceId pulumi.StringInput `pulumi:"destinationServiceId"` - // The ID of the Internet service or virtual gateway attached to the Net. - GatewayId pulumi.StringInput `pulumi:"gatewayId"` - // The ID of a NAT service attached to the Net. - NatServiceId pulumi.StringInput `pulumi:"natServiceId"` - // The ID of the Net access point. - NetAccessPointId pulumi.StringInput `pulumi:"netAccessPointId"` - // The ID of the Net peering. - NetPeeringId pulumi.StringInput `pulumi:"netPeeringId"` - // The ID of the NIC. - NicId pulumi.StringInput `pulumi:"nicId"` - // The state of a route in the route table (always `active`). - State pulumi.StringInput `pulumi:"state"` - // The account ID of the owner of the VM. - VmAccountId pulumi.StringInput `pulumi:"vmAccountId"` - // The ID of a VM specified in a route in the table. - VmId pulumi.StringInput `pulumi:"vmId"` -} - -func (GetRouteTablesRouteTableRouteArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetRouteTablesRouteTableRoute)(nil)).Elem() -} - -func (i GetRouteTablesRouteTableRouteArgs) ToGetRouteTablesRouteTableRouteOutput() GetRouteTablesRouteTableRouteOutput { - return i.ToGetRouteTablesRouteTableRouteOutputWithContext(context.Background()) -} - -func (i GetRouteTablesRouteTableRouteArgs) ToGetRouteTablesRouteTableRouteOutputWithContext(ctx context.Context) GetRouteTablesRouteTableRouteOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetRouteTablesRouteTableRouteOutput) -} - -// GetRouteTablesRouteTableRouteArrayInput is an input type that accepts GetRouteTablesRouteTableRouteArray and GetRouteTablesRouteTableRouteArrayOutput values. -// You can construct a concrete instance of `GetRouteTablesRouteTableRouteArrayInput` via: -// -// GetRouteTablesRouteTableRouteArray{ GetRouteTablesRouteTableRouteArgs{...} } -type GetRouteTablesRouteTableRouteArrayInput interface { - pulumi.Input - - ToGetRouteTablesRouteTableRouteArrayOutput() GetRouteTablesRouteTableRouteArrayOutput - ToGetRouteTablesRouteTableRouteArrayOutputWithContext(context.Context) GetRouteTablesRouteTableRouteArrayOutput -} - -type GetRouteTablesRouteTableRouteArray []GetRouteTablesRouteTableRouteInput - -func (GetRouteTablesRouteTableRouteArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetRouteTablesRouteTableRoute)(nil)).Elem() -} - -func (i GetRouteTablesRouteTableRouteArray) ToGetRouteTablesRouteTableRouteArrayOutput() GetRouteTablesRouteTableRouteArrayOutput { - return i.ToGetRouteTablesRouteTableRouteArrayOutputWithContext(context.Background()) -} - -func (i GetRouteTablesRouteTableRouteArray) ToGetRouteTablesRouteTableRouteArrayOutputWithContext(ctx context.Context) GetRouteTablesRouteTableRouteArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetRouteTablesRouteTableRouteArrayOutput) -} - -type GetRouteTablesRouteTableRouteOutput struct{ *pulumi.OutputState } - -func (GetRouteTablesRouteTableRouteOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetRouteTablesRouteTableRoute)(nil)).Elem() -} - -func (o GetRouteTablesRouteTableRouteOutput) ToGetRouteTablesRouteTableRouteOutput() GetRouteTablesRouteTableRouteOutput { - return o -} - -func (o GetRouteTablesRouteTableRouteOutput) ToGetRouteTablesRouteTableRouteOutputWithContext(ctx context.Context) GetRouteTablesRouteTableRouteOutput { - return o -} - -// The method used to create the route. -func (o GetRouteTablesRouteTableRouteOutput) CreationMethod() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTablesRouteTableRoute) string { return v.CreationMethod }).(pulumi.StringOutput) -} - -// The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). -func (o GetRouteTablesRouteTableRouteOutput) DestinationIpRange() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTablesRouteTableRoute) string { return v.DestinationIpRange }).(pulumi.StringOutput) -} - -// The ID of the OUTSCALE service. -func (o GetRouteTablesRouteTableRouteOutput) DestinationServiceId() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTablesRouteTableRoute) string { return v.DestinationServiceId }).(pulumi.StringOutput) -} - -// The ID of the Internet service or virtual gateway attached to the Net. -func (o GetRouteTablesRouteTableRouteOutput) GatewayId() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTablesRouteTableRoute) string { return v.GatewayId }).(pulumi.StringOutput) -} - -// The ID of a NAT service attached to the Net. -func (o GetRouteTablesRouteTableRouteOutput) NatServiceId() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTablesRouteTableRoute) string { return v.NatServiceId }).(pulumi.StringOutput) -} - -// The ID of the Net access point. -func (o GetRouteTablesRouteTableRouteOutput) NetAccessPointId() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTablesRouteTableRoute) string { return v.NetAccessPointId }).(pulumi.StringOutput) -} - -// The ID of the Net peering. -func (o GetRouteTablesRouteTableRouteOutput) NetPeeringId() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTablesRouteTableRoute) string { return v.NetPeeringId }).(pulumi.StringOutput) -} - -// The ID of the NIC. -func (o GetRouteTablesRouteTableRouteOutput) NicId() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTablesRouteTableRoute) string { return v.NicId }).(pulumi.StringOutput) -} - -// The state of a route in the route table (always `active`). -func (o GetRouteTablesRouteTableRouteOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTablesRouteTableRoute) string { return v.State }).(pulumi.StringOutput) -} - -// The account ID of the owner of the VM. -func (o GetRouteTablesRouteTableRouteOutput) VmAccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTablesRouteTableRoute) string { return v.VmAccountId }).(pulumi.StringOutput) -} - -// The ID of a VM specified in a route in the table. -func (o GetRouteTablesRouteTableRouteOutput) VmId() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTablesRouteTableRoute) string { return v.VmId }).(pulumi.StringOutput) -} - -type GetRouteTablesRouteTableRouteArrayOutput struct{ *pulumi.OutputState } - -func (GetRouteTablesRouteTableRouteArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetRouteTablesRouteTableRoute)(nil)).Elem() -} - -func (o GetRouteTablesRouteTableRouteArrayOutput) ToGetRouteTablesRouteTableRouteArrayOutput() GetRouteTablesRouteTableRouteArrayOutput { - return o -} - -func (o GetRouteTablesRouteTableRouteArrayOutput) ToGetRouteTablesRouteTableRouteArrayOutputWithContext(ctx context.Context) GetRouteTablesRouteTableRouteArrayOutput { - return o -} - -func (o GetRouteTablesRouteTableRouteArrayOutput) Index(i pulumi.IntInput) GetRouteTablesRouteTableRouteOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRouteTablesRouteTableRoute { - return vs[0].([]GetRouteTablesRouteTableRoute)[vs[1].(int)] - }).(GetRouteTablesRouteTableRouteOutput) -} - -type GetRouteTablesRouteTableRoutePropagatingVirtualGateway struct { - // The ID of the virtual gateway. - VirtualGatewayId string `pulumi:"virtualGatewayId"` -} - -// GetRouteTablesRouteTableRoutePropagatingVirtualGatewayInput is an input type that accepts GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArgs and GetRouteTablesRouteTableRoutePropagatingVirtualGatewayOutput values. -// You can construct a concrete instance of `GetRouteTablesRouteTableRoutePropagatingVirtualGatewayInput` via: -// -// GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArgs{...} -type GetRouteTablesRouteTableRoutePropagatingVirtualGatewayInput interface { - pulumi.Input - - ToGetRouteTablesRouteTableRoutePropagatingVirtualGatewayOutput() GetRouteTablesRouteTableRoutePropagatingVirtualGatewayOutput - ToGetRouteTablesRouteTableRoutePropagatingVirtualGatewayOutputWithContext(context.Context) GetRouteTablesRouteTableRoutePropagatingVirtualGatewayOutput -} - -type GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArgs struct { - // The ID of the virtual gateway. - VirtualGatewayId pulumi.StringInput `pulumi:"virtualGatewayId"` -} - -func (GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetRouteTablesRouteTableRoutePropagatingVirtualGateway)(nil)).Elem() -} - -func (i GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArgs) ToGetRouteTablesRouteTableRoutePropagatingVirtualGatewayOutput() GetRouteTablesRouteTableRoutePropagatingVirtualGatewayOutput { - return i.ToGetRouteTablesRouteTableRoutePropagatingVirtualGatewayOutputWithContext(context.Background()) -} - -func (i GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArgs) ToGetRouteTablesRouteTableRoutePropagatingVirtualGatewayOutputWithContext(ctx context.Context) GetRouteTablesRouteTableRoutePropagatingVirtualGatewayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetRouteTablesRouteTableRoutePropagatingVirtualGatewayOutput) -} - -// GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArrayInput is an input type that accepts GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArray and GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArrayOutput values. -// You can construct a concrete instance of `GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArrayInput` via: -// -// GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArray{ GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArgs{...} } -type GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArrayInput interface { - pulumi.Input - - ToGetRouteTablesRouteTableRoutePropagatingVirtualGatewayArrayOutput() GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArrayOutput - ToGetRouteTablesRouteTableRoutePropagatingVirtualGatewayArrayOutputWithContext(context.Context) GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArrayOutput -} - -type GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArray []GetRouteTablesRouteTableRoutePropagatingVirtualGatewayInput - -func (GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetRouteTablesRouteTableRoutePropagatingVirtualGateway)(nil)).Elem() -} - -func (i GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArray) ToGetRouteTablesRouteTableRoutePropagatingVirtualGatewayArrayOutput() GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArrayOutput { - return i.ToGetRouteTablesRouteTableRoutePropagatingVirtualGatewayArrayOutputWithContext(context.Background()) -} - -func (i GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArray) ToGetRouteTablesRouteTableRoutePropagatingVirtualGatewayArrayOutputWithContext(ctx context.Context) GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArrayOutput) -} - -type GetRouteTablesRouteTableRoutePropagatingVirtualGatewayOutput struct{ *pulumi.OutputState } - -func (GetRouteTablesRouteTableRoutePropagatingVirtualGatewayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetRouteTablesRouteTableRoutePropagatingVirtualGateway)(nil)).Elem() -} - -func (o GetRouteTablesRouteTableRoutePropagatingVirtualGatewayOutput) ToGetRouteTablesRouteTableRoutePropagatingVirtualGatewayOutput() GetRouteTablesRouteTableRoutePropagatingVirtualGatewayOutput { - return o -} - -func (o GetRouteTablesRouteTableRoutePropagatingVirtualGatewayOutput) ToGetRouteTablesRouteTableRoutePropagatingVirtualGatewayOutputWithContext(ctx context.Context) GetRouteTablesRouteTableRoutePropagatingVirtualGatewayOutput { - return o -} - -// The ID of the virtual gateway. -func (o GetRouteTablesRouteTableRoutePropagatingVirtualGatewayOutput) VirtualGatewayId() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTablesRouteTableRoutePropagatingVirtualGateway) string { return v.VirtualGatewayId }).(pulumi.StringOutput) -} - -type GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArrayOutput struct{ *pulumi.OutputState } - -func (GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetRouteTablesRouteTableRoutePropagatingVirtualGateway)(nil)).Elem() -} - -func (o GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArrayOutput) ToGetRouteTablesRouteTableRoutePropagatingVirtualGatewayArrayOutput() GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArrayOutput { - return o -} - -func (o GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArrayOutput) ToGetRouteTablesRouteTableRoutePropagatingVirtualGatewayArrayOutputWithContext(ctx context.Context) GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArrayOutput { - return o -} - -func (o GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArrayOutput) Index(i pulumi.IntInput) GetRouteTablesRouteTableRoutePropagatingVirtualGatewayOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRouteTablesRouteTableRoutePropagatingVirtualGateway { - return vs[0].([]GetRouteTablesRouteTableRoutePropagatingVirtualGateway)[vs[1].(int)] - }).(GetRouteTablesRouteTableRoutePropagatingVirtualGatewayOutput) -} - -type GetRouteTablesRouteTableTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetRouteTablesRouteTableTagInput is an input type that accepts GetRouteTablesRouteTableTagArgs and GetRouteTablesRouteTableTagOutput values. -// You can construct a concrete instance of `GetRouteTablesRouteTableTagInput` via: -// -// GetRouteTablesRouteTableTagArgs{...} -type GetRouteTablesRouteTableTagInput interface { - pulumi.Input - - ToGetRouteTablesRouteTableTagOutput() GetRouteTablesRouteTableTagOutput - ToGetRouteTablesRouteTableTagOutputWithContext(context.Context) GetRouteTablesRouteTableTagOutput -} - -type GetRouteTablesRouteTableTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetRouteTablesRouteTableTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetRouteTablesRouteTableTag)(nil)).Elem() -} - -func (i GetRouteTablesRouteTableTagArgs) ToGetRouteTablesRouteTableTagOutput() GetRouteTablesRouteTableTagOutput { - return i.ToGetRouteTablesRouteTableTagOutputWithContext(context.Background()) -} - -func (i GetRouteTablesRouteTableTagArgs) ToGetRouteTablesRouteTableTagOutputWithContext(ctx context.Context) GetRouteTablesRouteTableTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetRouteTablesRouteTableTagOutput) -} - -// GetRouteTablesRouteTableTagArrayInput is an input type that accepts GetRouteTablesRouteTableTagArray and GetRouteTablesRouteTableTagArrayOutput values. -// You can construct a concrete instance of `GetRouteTablesRouteTableTagArrayInput` via: -// -// GetRouteTablesRouteTableTagArray{ GetRouteTablesRouteTableTagArgs{...} } -type GetRouteTablesRouteTableTagArrayInput interface { - pulumi.Input - - ToGetRouteTablesRouteTableTagArrayOutput() GetRouteTablesRouteTableTagArrayOutput - ToGetRouteTablesRouteTableTagArrayOutputWithContext(context.Context) GetRouteTablesRouteTableTagArrayOutput -} - -type GetRouteTablesRouteTableTagArray []GetRouteTablesRouteTableTagInput - -func (GetRouteTablesRouteTableTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetRouteTablesRouteTableTag)(nil)).Elem() -} - -func (i GetRouteTablesRouteTableTagArray) ToGetRouteTablesRouteTableTagArrayOutput() GetRouteTablesRouteTableTagArrayOutput { - return i.ToGetRouteTablesRouteTableTagArrayOutputWithContext(context.Background()) -} - -func (i GetRouteTablesRouteTableTagArray) ToGetRouteTablesRouteTableTagArrayOutputWithContext(ctx context.Context) GetRouteTablesRouteTableTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetRouteTablesRouteTableTagArrayOutput) -} - -type GetRouteTablesRouteTableTagOutput struct{ *pulumi.OutputState } - -func (GetRouteTablesRouteTableTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetRouteTablesRouteTableTag)(nil)).Elem() -} - -func (o GetRouteTablesRouteTableTagOutput) ToGetRouteTablesRouteTableTagOutput() GetRouteTablesRouteTableTagOutput { - return o -} - -func (o GetRouteTablesRouteTableTagOutput) ToGetRouteTablesRouteTableTagOutputWithContext(ctx context.Context) GetRouteTablesRouteTableTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetRouteTablesRouteTableTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTablesRouteTableTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetRouteTablesRouteTableTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetRouteTablesRouteTableTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetRouteTablesRouteTableTagArrayOutput struct{ *pulumi.OutputState } - -func (GetRouteTablesRouteTableTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetRouteTablesRouteTableTag)(nil)).Elem() -} - -func (o GetRouteTablesRouteTableTagArrayOutput) ToGetRouteTablesRouteTableTagArrayOutput() GetRouteTablesRouteTableTagArrayOutput { - return o -} - -func (o GetRouteTablesRouteTableTagArrayOutput) ToGetRouteTablesRouteTableTagArrayOutputWithContext(ctx context.Context) GetRouteTablesRouteTableTagArrayOutput { - return o -} - -func (o GetRouteTablesRouteTableTagArrayOutput) Index(i pulumi.IntInput) GetRouteTablesRouteTableTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRouteTablesRouteTableTag { - return vs[0].([]GetRouteTablesRouteTableTag)[vs[1].(int)] - }).(GetRouteTablesRouteTableTagOutput) -} - -type GetSecurityGroupFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetSecurityGroupFilterInput is an input type that accepts GetSecurityGroupFilterArgs and GetSecurityGroupFilterOutput values. -// You can construct a concrete instance of `GetSecurityGroupFilterInput` via: -// -// GetSecurityGroupFilterArgs{...} -type GetSecurityGroupFilterInput interface { - pulumi.Input - - ToGetSecurityGroupFilterOutput() GetSecurityGroupFilterOutput - ToGetSecurityGroupFilterOutputWithContext(context.Context) GetSecurityGroupFilterOutput -} - -type GetSecurityGroupFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetSecurityGroupFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSecurityGroupFilter)(nil)).Elem() -} - -func (i GetSecurityGroupFilterArgs) ToGetSecurityGroupFilterOutput() GetSecurityGroupFilterOutput { - return i.ToGetSecurityGroupFilterOutputWithContext(context.Background()) -} - -func (i GetSecurityGroupFilterArgs) ToGetSecurityGroupFilterOutputWithContext(ctx context.Context) GetSecurityGroupFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSecurityGroupFilterOutput) -} - -// GetSecurityGroupFilterArrayInput is an input type that accepts GetSecurityGroupFilterArray and GetSecurityGroupFilterArrayOutput values. -// You can construct a concrete instance of `GetSecurityGroupFilterArrayInput` via: -// -// GetSecurityGroupFilterArray{ GetSecurityGroupFilterArgs{...} } -type GetSecurityGroupFilterArrayInput interface { - pulumi.Input - - ToGetSecurityGroupFilterArrayOutput() GetSecurityGroupFilterArrayOutput - ToGetSecurityGroupFilterArrayOutputWithContext(context.Context) GetSecurityGroupFilterArrayOutput -} - -type GetSecurityGroupFilterArray []GetSecurityGroupFilterInput - -func (GetSecurityGroupFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSecurityGroupFilter)(nil)).Elem() -} - -func (i GetSecurityGroupFilterArray) ToGetSecurityGroupFilterArrayOutput() GetSecurityGroupFilterArrayOutput { - return i.ToGetSecurityGroupFilterArrayOutputWithContext(context.Background()) -} - -func (i GetSecurityGroupFilterArray) ToGetSecurityGroupFilterArrayOutputWithContext(ctx context.Context) GetSecurityGroupFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSecurityGroupFilterArrayOutput) -} - -type GetSecurityGroupFilterOutput struct{ *pulumi.OutputState } - -func (GetSecurityGroupFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSecurityGroupFilter)(nil)).Elem() -} - -func (o GetSecurityGroupFilterOutput) ToGetSecurityGroupFilterOutput() GetSecurityGroupFilterOutput { - return o -} - -func (o GetSecurityGroupFilterOutput) ToGetSecurityGroupFilterOutputWithContext(ctx context.Context) GetSecurityGroupFilterOutput { - return o -} - -func (o GetSecurityGroupFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetSecurityGroupFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetSecurityGroupFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetSecurityGroupFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetSecurityGroupFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetSecurityGroupFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSecurityGroupFilter)(nil)).Elem() -} - -func (o GetSecurityGroupFilterArrayOutput) ToGetSecurityGroupFilterArrayOutput() GetSecurityGroupFilterArrayOutput { - return o -} - -func (o GetSecurityGroupFilterArrayOutput) ToGetSecurityGroupFilterArrayOutputWithContext(ctx context.Context) GetSecurityGroupFilterArrayOutput { - return o -} - -func (o GetSecurityGroupFilterArrayOutput) Index(i pulumi.IntInput) GetSecurityGroupFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSecurityGroupFilter { - return vs[0].([]GetSecurityGroupFilter)[vs[1].(int)] - }).(GetSecurityGroupFilterOutput) -} - -type GetSecurityGroupInboundRule struct { - // The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - FromPortRange int `pulumi:"fromPortRange"` - // The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - IpProtocol string `pulumi:"ipProtocol"` - // One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - IpRanges []string `pulumi:"ipRanges"` - PrefixListIds []string `pulumi:"prefixListIds"` - // Information about one or more source or destination security groups. - SecurityGroupsMembers []GetSecurityGroupInboundRuleSecurityGroupsMember `pulumi:"securityGroupsMembers"` - // The end of the port range for the TCP and UDP protocols, or an ICMP code number. - ToPortRange int `pulumi:"toPortRange"` -} - -// GetSecurityGroupInboundRuleInput is an input type that accepts GetSecurityGroupInboundRuleArgs and GetSecurityGroupInboundRuleOutput values. -// You can construct a concrete instance of `GetSecurityGroupInboundRuleInput` via: -// -// GetSecurityGroupInboundRuleArgs{...} -type GetSecurityGroupInboundRuleInput interface { - pulumi.Input - - ToGetSecurityGroupInboundRuleOutput() GetSecurityGroupInboundRuleOutput - ToGetSecurityGroupInboundRuleOutputWithContext(context.Context) GetSecurityGroupInboundRuleOutput -} - -type GetSecurityGroupInboundRuleArgs struct { - // The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - FromPortRange pulumi.IntInput `pulumi:"fromPortRange"` - // The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - IpProtocol pulumi.StringInput `pulumi:"ipProtocol"` - // One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - IpRanges pulumi.StringArrayInput `pulumi:"ipRanges"` - PrefixListIds pulumi.StringArrayInput `pulumi:"prefixListIds"` - // Information about one or more source or destination security groups. - SecurityGroupsMembers GetSecurityGroupInboundRuleSecurityGroupsMemberArrayInput `pulumi:"securityGroupsMembers"` - // The end of the port range for the TCP and UDP protocols, or an ICMP code number. - ToPortRange pulumi.IntInput `pulumi:"toPortRange"` -} - -func (GetSecurityGroupInboundRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSecurityGroupInboundRule)(nil)).Elem() -} - -func (i GetSecurityGroupInboundRuleArgs) ToGetSecurityGroupInboundRuleOutput() GetSecurityGroupInboundRuleOutput { - return i.ToGetSecurityGroupInboundRuleOutputWithContext(context.Background()) -} - -func (i GetSecurityGroupInboundRuleArgs) ToGetSecurityGroupInboundRuleOutputWithContext(ctx context.Context) GetSecurityGroupInboundRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSecurityGroupInboundRuleOutput) -} - -// GetSecurityGroupInboundRuleArrayInput is an input type that accepts GetSecurityGroupInboundRuleArray and GetSecurityGroupInboundRuleArrayOutput values. -// You can construct a concrete instance of `GetSecurityGroupInboundRuleArrayInput` via: -// -// GetSecurityGroupInboundRuleArray{ GetSecurityGroupInboundRuleArgs{...} } -type GetSecurityGroupInboundRuleArrayInput interface { - pulumi.Input - - ToGetSecurityGroupInboundRuleArrayOutput() GetSecurityGroupInboundRuleArrayOutput - ToGetSecurityGroupInboundRuleArrayOutputWithContext(context.Context) GetSecurityGroupInboundRuleArrayOutput -} - -type GetSecurityGroupInboundRuleArray []GetSecurityGroupInboundRuleInput - -func (GetSecurityGroupInboundRuleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSecurityGroupInboundRule)(nil)).Elem() -} - -func (i GetSecurityGroupInboundRuleArray) ToGetSecurityGroupInboundRuleArrayOutput() GetSecurityGroupInboundRuleArrayOutput { - return i.ToGetSecurityGroupInboundRuleArrayOutputWithContext(context.Background()) -} - -func (i GetSecurityGroupInboundRuleArray) ToGetSecurityGroupInboundRuleArrayOutputWithContext(ctx context.Context) GetSecurityGroupInboundRuleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSecurityGroupInboundRuleArrayOutput) -} - -type GetSecurityGroupInboundRuleOutput struct{ *pulumi.OutputState } - -func (GetSecurityGroupInboundRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSecurityGroupInboundRule)(nil)).Elem() -} - -func (o GetSecurityGroupInboundRuleOutput) ToGetSecurityGroupInboundRuleOutput() GetSecurityGroupInboundRuleOutput { - return o -} - -func (o GetSecurityGroupInboundRuleOutput) ToGetSecurityGroupInboundRuleOutputWithContext(ctx context.Context) GetSecurityGroupInboundRuleOutput { - return o -} - -// The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. -func (o GetSecurityGroupInboundRuleOutput) FromPortRange() pulumi.IntOutput { - return o.ApplyT(func(v GetSecurityGroupInboundRule) int { return v.FromPortRange }).(pulumi.IntOutput) -} - -// The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). -func (o GetSecurityGroupInboundRuleOutput) IpProtocol() pulumi.StringOutput { - return o.ApplyT(func(v GetSecurityGroupInboundRule) string { return v.IpProtocol }).(pulumi.StringOutput) -} - -// One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). -func (o GetSecurityGroupInboundRuleOutput) IpRanges() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetSecurityGroupInboundRule) []string { return v.IpRanges }).(pulumi.StringArrayOutput) -} - -func (o GetSecurityGroupInboundRuleOutput) PrefixListIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetSecurityGroupInboundRule) []string { return v.PrefixListIds }).(pulumi.StringArrayOutput) -} - -// Information about one or more source or destination security groups. -func (o GetSecurityGroupInboundRuleOutput) SecurityGroupsMembers() GetSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput { - return o.ApplyT(func(v GetSecurityGroupInboundRule) []GetSecurityGroupInboundRuleSecurityGroupsMember { - return v.SecurityGroupsMembers - }).(GetSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput) -} - -// The end of the port range for the TCP and UDP protocols, or an ICMP code number. -func (o GetSecurityGroupInboundRuleOutput) ToPortRange() pulumi.IntOutput { - return o.ApplyT(func(v GetSecurityGroupInboundRule) int { return v.ToPortRange }).(pulumi.IntOutput) -} - -type GetSecurityGroupInboundRuleArrayOutput struct{ *pulumi.OutputState } - -func (GetSecurityGroupInboundRuleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSecurityGroupInboundRule)(nil)).Elem() -} - -func (o GetSecurityGroupInboundRuleArrayOutput) ToGetSecurityGroupInboundRuleArrayOutput() GetSecurityGroupInboundRuleArrayOutput { - return o -} - -func (o GetSecurityGroupInboundRuleArrayOutput) ToGetSecurityGroupInboundRuleArrayOutputWithContext(ctx context.Context) GetSecurityGroupInboundRuleArrayOutput { - return o -} - -func (o GetSecurityGroupInboundRuleArrayOutput) Index(i pulumi.IntInput) GetSecurityGroupInboundRuleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSecurityGroupInboundRule { - return vs[0].([]GetSecurityGroupInboundRule)[vs[1].(int)] - }).(GetSecurityGroupInboundRuleOutput) -} - -type GetSecurityGroupInboundRuleSecurityGroupsMember struct { - // The account ID that owns the source or destination security group. - AccountId string `pulumi:"accountId"` - // The ID of the security group. - SecurityGroupId string `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName string `pulumi:"securityGroupName"` -} - -// GetSecurityGroupInboundRuleSecurityGroupsMemberInput is an input type that accepts GetSecurityGroupInboundRuleSecurityGroupsMemberArgs and GetSecurityGroupInboundRuleSecurityGroupsMemberOutput values. -// You can construct a concrete instance of `GetSecurityGroupInboundRuleSecurityGroupsMemberInput` via: -// -// GetSecurityGroupInboundRuleSecurityGroupsMemberArgs{...} -type GetSecurityGroupInboundRuleSecurityGroupsMemberInput interface { - pulumi.Input - - ToGetSecurityGroupInboundRuleSecurityGroupsMemberOutput() GetSecurityGroupInboundRuleSecurityGroupsMemberOutput - ToGetSecurityGroupInboundRuleSecurityGroupsMemberOutputWithContext(context.Context) GetSecurityGroupInboundRuleSecurityGroupsMemberOutput -} - -type GetSecurityGroupInboundRuleSecurityGroupsMemberArgs struct { - // The account ID that owns the source or destination security group. - AccountId pulumi.StringInput `pulumi:"accountId"` - // The ID of the security group. - SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName pulumi.StringInput `pulumi:"securityGroupName"` -} - -func (GetSecurityGroupInboundRuleSecurityGroupsMemberArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSecurityGroupInboundRuleSecurityGroupsMember)(nil)).Elem() -} - -func (i GetSecurityGroupInboundRuleSecurityGroupsMemberArgs) ToGetSecurityGroupInboundRuleSecurityGroupsMemberOutput() GetSecurityGroupInboundRuleSecurityGroupsMemberOutput { - return i.ToGetSecurityGroupInboundRuleSecurityGroupsMemberOutputWithContext(context.Background()) -} - -func (i GetSecurityGroupInboundRuleSecurityGroupsMemberArgs) ToGetSecurityGroupInboundRuleSecurityGroupsMemberOutputWithContext(ctx context.Context) GetSecurityGroupInboundRuleSecurityGroupsMemberOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSecurityGroupInboundRuleSecurityGroupsMemberOutput) -} - -// GetSecurityGroupInboundRuleSecurityGroupsMemberArrayInput is an input type that accepts GetSecurityGroupInboundRuleSecurityGroupsMemberArray and GetSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput values. -// You can construct a concrete instance of `GetSecurityGroupInboundRuleSecurityGroupsMemberArrayInput` via: -// -// GetSecurityGroupInboundRuleSecurityGroupsMemberArray{ GetSecurityGroupInboundRuleSecurityGroupsMemberArgs{...} } -type GetSecurityGroupInboundRuleSecurityGroupsMemberArrayInput interface { - pulumi.Input - - ToGetSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput() GetSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput - ToGetSecurityGroupInboundRuleSecurityGroupsMemberArrayOutputWithContext(context.Context) GetSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput -} - -type GetSecurityGroupInboundRuleSecurityGroupsMemberArray []GetSecurityGroupInboundRuleSecurityGroupsMemberInput - -func (GetSecurityGroupInboundRuleSecurityGroupsMemberArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSecurityGroupInboundRuleSecurityGroupsMember)(nil)).Elem() -} - -func (i GetSecurityGroupInboundRuleSecurityGroupsMemberArray) ToGetSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput() GetSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput { - return i.ToGetSecurityGroupInboundRuleSecurityGroupsMemberArrayOutputWithContext(context.Background()) -} - -func (i GetSecurityGroupInboundRuleSecurityGroupsMemberArray) ToGetSecurityGroupInboundRuleSecurityGroupsMemberArrayOutputWithContext(ctx context.Context) GetSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput) -} - -type GetSecurityGroupInboundRuleSecurityGroupsMemberOutput struct{ *pulumi.OutputState } - -func (GetSecurityGroupInboundRuleSecurityGroupsMemberOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSecurityGroupInboundRuleSecurityGroupsMember)(nil)).Elem() -} - -func (o GetSecurityGroupInboundRuleSecurityGroupsMemberOutput) ToGetSecurityGroupInboundRuleSecurityGroupsMemberOutput() GetSecurityGroupInboundRuleSecurityGroupsMemberOutput { - return o -} - -func (o GetSecurityGroupInboundRuleSecurityGroupsMemberOutput) ToGetSecurityGroupInboundRuleSecurityGroupsMemberOutputWithContext(ctx context.Context) GetSecurityGroupInboundRuleSecurityGroupsMemberOutput { - return o -} - -// The account ID that owns the source or destination security group. -func (o GetSecurityGroupInboundRuleSecurityGroupsMemberOutput) AccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetSecurityGroupInboundRuleSecurityGroupsMember) string { return v.AccountId }).(pulumi.StringOutput) -} - -// The ID of the security group. -func (o GetSecurityGroupInboundRuleSecurityGroupsMemberOutput) SecurityGroupId() pulumi.StringOutput { - return o.ApplyT(func(v GetSecurityGroupInboundRuleSecurityGroupsMember) string { return v.SecurityGroupId }).(pulumi.StringOutput) -} - -// The name of the security group. -func (o GetSecurityGroupInboundRuleSecurityGroupsMemberOutput) SecurityGroupName() pulumi.StringOutput { - return o.ApplyT(func(v GetSecurityGroupInboundRuleSecurityGroupsMember) string { return v.SecurityGroupName }).(pulumi.StringOutput) -} - -type GetSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput struct{ *pulumi.OutputState } - -func (GetSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSecurityGroupInboundRuleSecurityGroupsMember)(nil)).Elem() -} - -func (o GetSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput) ToGetSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput() GetSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput { - return o -} - -func (o GetSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput) ToGetSecurityGroupInboundRuleSecurityGroupsMemberArrayOutputWithContext(ctx context.Context) GetSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput { - return o -} - -func (o GetSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput) Index(i pulumi.IntInput) GetSecurityGroupInboundRuleSecurityGroupsMemberOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSecurityGroupInboundRuleSecurityGroupsMember { - return vs[0].([]GetSecurityGroupInboundRuleSecurityGroupsMember)[vs[1].(int)] - }).(GetSecurityGroupInboundRuleSecurityGroupsMemberOutput) -} - -type GetSecurityGroupOutboundRule struct { - // The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - FromPortRange int `pulumi:"fromPortRange"` - // The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - IpProtocol string `pulumi:"ipProtocol"` - // One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - IpRanges []string `pulumi:"ipRanges"` - PrefixListIds []string `pulumi:"prefixListIds"` - // Information about one or more source or destination security groups. - SecurityGroupsMembers []GetSecurityGroupOutboundRuleSecurityGroupsMember `pulumi:"securityGroupsMembers"` - // The end of the port range for the TCP and UDP protocols, or an ICMP code number. - ToPortRange int `pulumi:"toPortRange"` -} - -// GetSecurityGroupOutboundRuleInput is an input type that accepts GetSecurityGroupOutboundRuleArgs and GetSecurityGroupOutboundRuleOutput values. -// You can construct a concrete instance of `GetSecurityGroupOutboundRuleInput` via: -// -// GetSecurityGroupOutboundRuleArgs{...} -type GetSecurityGroupOutboundRuleInput interface { - pulumi.Input - - ToGetSecurityGroupOutboundRuleOutput() GetSecurityGroupOutboundRuleOutput - ToGetSecurityGroupOutboundRuleOutputWithContext(context.Context) GetSecurityGroupOutboundRuleOutput -} - -type GetSecurityGroupOutboundRuleArgs struct { - // The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - FromPortRange pulumi.IntInput `pulumi:"fromPortRange"` - // The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - IpProtocol pulumi.StringInput `pulumi:"ipProtocol"` - // One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - IpRanges pulumi.StringArrayInput `pulumi:"ipRanges"` - PrefixListIds pulumi.StringArrayInput `pulumi:"prefixListIds"` - // Information about one or more source or destination security groups. - SecurityGroupsMembers GetSecurityGroupOutboundRuleSecurityGroupsMemberArrayInput `pulumi:"securityGroupsMembers"` - // The end of the port range for the TCP and UDP protocols, or an ICMP code number. - ToPortRange pulumi.IntInput `pulumi:"toPortRange"` -} - -func (GetSecurityGroupOutboundRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSecurityGroupOutboundRule)(nil)).Elem() -} - -func (i GetSecurityGroupOutboundRuleArgs) ToGetSecurityGroupOutboundRuleOutput() GetSecurityGroupOutboundRuleOutput { - return i.ToGetSecurityGroupOutboundRuleOutputWithContext(context.Background()) -} - -func (i GetSecurityGroupOutboundRuleArgs) ToGetSecurityGroupOutboundRuleOutputWithContext(ctx context.Context) GetSecurityGroupOutboundRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSecurityGroupOutboundRuleOutput) -} - -// GetSecurityGroupOutboundRuleArrayInput is an input type that accepts GetSecurityGroupOutboundRuleArray and GetSecurityGroupOutboundRuleArrayOutput values. -// You can construct a concrete instance of `GetSecurityGroupOutboundRuleArrayInput` via: -// -// GetSecurityGroupOutboundRuleArray{ GetSecurityGroupOutboundRuleArgs{...} } -type GetSecurityGroupOutboundRuleArrayInput interface { - pulumi.Input - - ToGetSecurityGroupOutboundRuleArrayOutput() GetSecurityGroupOutboundRuleArrayOutput - ToGetSecurityGroupOutboundRuleArrayOutputWithContext(context.Context) GetSecurityGroupOutboundRuleArrayOutput -} - -type GetSecurityGroupOutboundRuleArray []GetSecurityGroupOutboundRuleInput - -func (GetSecurityGroupOutboundRuleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSecurityGroupOutboundRule)(nil)).Elem() -} - -func (i GetSecurityGroupOutboundRuleArray) ToGetSecurityGroupOutboundRuleArrayOutput() GetSecurityGroupOutboundRuleArrayOutput { - return i.ToGetSecurityGroupOutboundRuleArrayOutputWithContext(context.Background()) -} - -func (i GetSecurityGroupOutboundRuleArray) ToGetSecurityGroupOutboundRuleArrayOutputWithContext(ctx context.Context) GetSecurityGroupOutboundRuleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSecurityGroupOutboundRuleArrayOutput) -} - -type GetSecurityGroupOutboundRuleOutput struct{ *pulumi.OutputState } - -func (GetSecurityGroupOutboundRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSecurityGroupOutboundRule)(nil)).Elem() -} - -func (o GetSecurityGroupOutboundRuleOutput) ToGetSecurityGroupOutboundRuleOutput() GetSecurityGroupOutboundRuleOutput { - return o -} - -func (o GetSecurityGroupOutboundRuleOutput) ToGetSecurityGroupOutboundRuleOutputWithContext(ctx context.Context) GetSecurityGroupOutboundRuleOutput { - return o -} - -// The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. -func (o GetSecurityGroupOutboundRuleOutput) FromPortRange() pulumi.IntOutput { - return o.ApplyT(func(v GetSecurityGroupOutboundRule) int { return v.FromPortRange }).(pulumi.IntOutput) -} - -// The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). -func (o GetSecurityGroupOutboundRuleOutput) IpProtocol() pulumi.StringOutput { - return o.ApplyT(func(v GetSecurityGroupOutboundRule) string { return v.IpProtocol }).(pulumi.StringOutput) -} - -// One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). -func (o GetSecurityGroupOutboundRuleOutput) IpRanges() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetSecurityGroupOutboundRule) []string { return v.IpRanges }).(pulumi.StringArrayOutput) -} - -func (o GetSecurityGroupOutboundRuleOutput) PrefixListIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetSecurityGroupOutboundRule) []string { return v.PrefixListIds }).(pulumi.StringArrayOutput) -} - -// Information about one or more source or destination security groups. -func (o GetSecurityGroupOutboundRuleOutput) SecurityGroupsMembers() GetSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput { - return o.ApplyT(func(v GetSecurityGroupOutboundRule) []GetSecurityGroupOutboundRuleSecurityGroupsMember { - return v.SecurityGroupsMembers - }).(GetSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput) -} - -// The end of the port range for the TCP and UDP protocols, or an ICMP code number. -func (o GetSecurityGroupOutboundRuleOutput) ToPortRange() pulumi.IntOutput { - return o.ApplyT(func(v GetSecurityGroupOutboundRule) int { return v.ToPortRange }).(pulumi.IntOutput) -} - -type GetSecurityGroupOutboundRuleArrayOutput struct{ *pulumi.OutputState } - -func (GetSecurityGroupOutboundRuleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSecurityGroupOutboundRule)(nil)).Elem() -} - -func (o GetSecurityGroupOutboundRuleArrayOutput) ToGetSecurityGroupOutboundRuleArrayOutput() GetSecurityGroupOutboundRuleArrayOutput { - return o -} - -func (o GetSecurityGroupOutboundRuleArrayOutput) ToGetSecurityGroupOutboundRuleArrayOutputWithContext(ctx context.Context) GetSecurityGroupOutboundRuleArrayOutput { - return o -} - -func (o GetSecurityGroupOutboundRuleArrayOutput) Index(i pulumi.IntInput) GetSecurityGroupOutboundRuleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSecurityGroupOutboundRule { - return vs[0].([]GetSecurityGroupOutboundRule)[vs[1].(int)] - }).(GetSecurityGroupOutboundRuleOutput) -} - -type GetSecurityGroupOutboundRuleSecurityGroupsMember struct { - // The account ID that owns the source or destination security group. - AccountId string `pulumi:"accountId"` - // The ID of the security group. - SecurityGroupId string `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName string `pulumi:"securityGroupName"` -} - -// GetSecurityGroupOutboundRuleSecurityGroupsMemberInput is an input type that accepts GetSecurityGroupOutboundRuleSecurityGroupsMemberArgs and GetSecurityGroupOutboundRuleSecurityGroupsMemberOutput values. -// You can construct a concrete instance of `GetSecurityGroupOutboundRuleSecurityGroupsMemberInput` via: -// -// GetSecurityGroupOutboundRuleSecurityGroupsMemberArgs{...} -type GetSecurityGroupOutboundRuleSecurityGroupsMemberInput interface { - pulumi.Input - - ToGetSecurityGroupOutboundRuleSecurityGroupsMemberOutput() GetSecurityGroupOutboundRuleSecurityGroupsMemberOutput - ToGetSecurityGroupOutboundRuleSecurityGroupsMemberOutputWithContext(context.Context) GetSecurityGroupOutboundRuleSecurityGroupsMemberOutput -} - -type GetSecurityGroupOutboundRuleSecurityGroupsMemberArgs struct { - // The account ID that owns the source or destination security group. - AccountId pulumi.StringInput `pulumi:"accountId"` - // The ID of the security group. - SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName pulumi.StringInput `pulumi:"securityGroupName"` -} - -func (GetSecurityGroupOutboundRuleSecurityGroupsMemberArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSecurityGroupOutboundRuleSecurityGroupsMember)(nil)).Elem() -} - -func (i GetSecurityGroupOutboundRuleSecurityGroupsMemberArgs) ToGetSecurityGroupOutboundRuleSecurityGroupsMemberOutput() GetSecurityGroupOutboundRuleSecurityGroupsMemberOutput { - return i.ToGetSecurityGroupOutboundRuleSecurityGroupsMemberOutputWithContext(context.Background()) -} - -func (i GetSecurityGroupOutboundRuleSecurityGroupsMemberArgs) ToGetSecurityGroupOutboundRuleSecurityGroupsMemberOutputWithContext(ctx context.Context) GetSecurityGroupOutboundRuleSecurityGroupsMemberOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSecurityGroupOutboundRuleSecurityGroupsMemberOutput) -} - -// GetSecurityGroupOutboundRuleSecurityGroupsMemberArrayInput is an input type that accepts GetSecurityGroupOutboundRuleSecurityGroupsMemberArray and GetSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput values. -// You can construct a concrete instance of `GetSecurityGroupOutboundRuleSecurityGroupsMemberArrayInput` via: -// -// GetSecurityGroupOutboundRuleSecurityGroupsMemberArray{ GetSecurityGroupOutboundRuleSecurityGroupsMemberArgs{...} } -type GetSecurityGroupOutboundRuleSecurityGroupsMemberArrayInput interface { - pulumi.Input - - ToGetSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput() GetSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput - ToGetSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutputWithContext(context.Context) GetSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput -} - -type GetSecurityGroupOutboundRuleSecurityGroupsMemberArray []GetSecurityGroupOutboundRuleSecurityGroupsMemberInput - -func (GetSecurityGroupOutboundRuleSecurityGroupsMemberArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSecurityGroupOutboundRuleSecurityGroupsMember)(nil)).Elem() -} - -func (i GetSecurityGroupOutboundRuleSecurityGroupsMemberArray) ToGetSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput() GetSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput { - return i.ToGetSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutputWithContext(context.Background()) -} - -func (i GetSecurityGroupOutboundRuleSecurityGroupsMemberArray) ToGetSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutputWithContext(ctx context.Context) GetSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput) -} - -type GetSecurityGroupOutboundRuleSecurityGroupsMemberOutput struct{ *pulumi.OutputState } - -func (GetSecurityGroupOutboundRuleSecurityGroupsMemberOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSecurityGroupOutboundRuleSecurityGroupsMember)(nil)).Elem() -} - -func (o GetSecurityGroupOutboundRuleSecurityGroupsMemberOutput) ToGetSecurityGroupOutboundRuleSecurityGroupsMemberOutput() GetSecurityGroupOutboundRuleSecurityGroupsMemberOutput { - return o -} - -func (o GetSecurityGroupOutboundRuleSecurityGroupsMemberOutput) ToGetSecurityGroupOutboundRuleSecurityGroupsMemberOutputWithContext(ctx context.Context) GetSecurityGroupOutboundRuleSecurityGroupsMemberOutput { - return o -} - -// The account ID that owns the source or destination security group. -func (o GetSecurityGroupOutboundRuleSecurityGroupsMemberOutput) AccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetSecurityGroupOutboundRuleSecurityGroupsMember) string { return v.AccountId }).(pulumi.StringOutput) -} - -// The ID of the security group. -func (o GetSecurityGroupOutboundRuleSecurityGroupsMemberOutput) SecurityGroupId() pulumi.StringOutput { - return o.ApplyT(func(v GetSecurityGroupOutboundRuleSecurityGroupsMember) string { return v.SecurityGroupId }).(pulumi.StringOutput) -} - -// The name of the security group. -func (o GetSecurityGroupOutboundRuleSecurityGroupsMemberOutput) SecurityGroupName() pulumi.StringOutput { - return o.ApplyT(func(v GetSecurityGroupOutboundRuleSecurityGroupsMember) string { return v.SecurityGroupName }).(pulumi.StringOutput) -} - -type GetSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput struct{ *pulumi.OutputState } - -func (GetSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSecurityGroupOutboundRuleSecurityGroupsMember)(nil)).Elem() -} - -func (o GetSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput) ToGetSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput() GetSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput { - return o -} - -func (o GetSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput) ToGetSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutputWithContext(ctx context.Context) GetSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput { - return o -} - -func (o GetSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput) Index(i pulumi.IntInput) GetSecurityGroupOutboundRuleSecurityGroupsMemberOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSecurityGroupOutboundRuleSecurityGroupsMember { - return vs[0].([]GetSecurityGroupOutboundRuleSecurityGroupsMember)[vs[1].(int)] - }).(GetSecurityGroupOutboundRuleSecurityGroupsMemberOutput) -} - -type GetSecurityGroupTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetSecurityGroupTagInput is an input type that accepts GetSecurityGroupTagArgs and GetSecurityGroupTagOutput values. -// You can construct a concrete instance of `GetSecurityGroupTagInput` via: -// -// GetSecurityGroupTagArgs{...} -type GetSecurityGroupTagInput interface { - pulumi.Input - - ToGetSecurityGroupTagOutput() GetSecurityGroupTagOutput - ToGetSecurityGroupTagOutputWithContext(context.Context) GetSecurityGroupTagOutput -} - -type GetSecurityGroupTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetSecurityGroupTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSecurityGroupTag)(nil)).Elem() -} - -func (i GetSecurityGroupTagArgs) ToGetSecurityGroupTagOutput() GetSecurityGroupTagOutput { - return i.ToGetSecurityGroupTagOutputWithContext(context.Background()) -} - -func (i GetSecurityGroupTagArgs) ToGetSecurityGroupTagOutputWithContext(ctx context.Context) GetSecurityGroupTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSecurityGroupTagOutput) -} - -// GetSecurityGroupTagArrayInput is an input type that accepts GetSecurityGroupTagArray and GetSecurityGroupTagArrayOutput values. -// You can construct a concrete instance of `GetSecurityGroupTagArrayInput` via: -// -// GetSecurityGroupTagArray{ GetSecurityGroupTagArgs{...} } -type GetSecurityGroupTagArrayInput interface { - pulumi.Input - - ToGetSecurityGroupTagArrayOutput() GetSecurityGroupTagArrayOutput - ToGetSecurityGroupTagArrayOutputWithContext(context.Context) GetSecurityGroupTagArrayOutput -} - -type GetSecurityGroupTagArray []GetSecurityGroupTagInput - -func (GetSecurityGroupTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSecurityGroupTag)(nil)).Elem() -} - -func (i GetSecurityGroupTagArray) ToGetSecurityGroupTagArrayOutput() GetSecurityGroupTagArrayOutput { - return i.ToGetSecurityGroupTagArrayOutputWithContext(context.Background()) -} - -func (i GetSecurityGroupTagArray) ToGetSecurityGroupTagArrayOutputWithContext(ctx context.Context) GetSecurityGroupTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSecurityGroupTagArrayOutput) -} - -type GetSecurityGroupTagOutput struct{ *pulumi.OutputState } - -func (GetSecurityGroupTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSecurityGroupTag)(nil)).Elem() -} - -func (o GetSecurityGroupTagOutput) ToGetSecurityGroupTagOutput() GetSecurityGroupTagOutput { - return o -} - -func (o GetSecurityGroupTagOutput) ToGetSecurityGroupTagOutputWithContext(ctx context.Context) GetSecurityGroupTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetSecurityGroupTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetSecurityGroupTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetSecurityGroupTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetSecurityGroupTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetSecurityGroupTagArrayOutput struct{ *pulumi.OutputState } - -func (GetSecurityGroupTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSecurityGroupTag)(nil)).Elem() -} - -func (o GetSecurityGroupTagArrayOutput) ToGetSecurityGroupTagArrayOutput() GetSecurityGroupTagArrayOutput { - return o -} - -func (o GetSecurityGroupTagArrayOutput) ToGetSecurityGroupTagArrayOutputWithContext(ctx context.Context) GetSecurityGroupTagArrayOutput { - return o -} - -func (o GetSecurityGroupTagArrayOutput) Index(i pulumi.IntInput) GetSecurityGroupTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSecurityGroupTag { - return vs[0].([]GetSecurityGroupTag)[vs[1].(int)] - }).(GetSecurityGroupTagOutput) -} - -type GetSecurityGroupsFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetSecurityGroupsFilterInput is an input type that accepts GetSecurityGroupsFilterArgs and GetSecurityGroupsFilterOutput values. -// You can construct a concrete instance of `GetSecurityGroupsFilterInput` via: -// -// GetSecurityGroupsFilterArgs{...} -type GetSecurityGroupsFilterInput interface { - pulumi.Input - - ToGetSecurityGroupsFilterOutput() GetSecurityGroupsFilterOutput - ToGetSecurityGroupsFilterOutputWithContext(context.Context) GetSecurityGroupsFilterOutput -} - -type GetSecurityGroupsFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetSecurityGroupsFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSecurityGroupsFilter)(nil)).Elem() -} - -func (i GetSecurityGroupsFilterArgs) ToGetSecurityGroupsFilterOutput() GetSecurityGroupsFilterOutput { - return i.ToGetSecurityGroupsFilterOutputWithContext(context.Background()) -} - -func (i GetSecurityGroupsFilterArgs) ToGetSecurityGroupsFilterOutputWithContext(ctx context.Context) GetSecurityGroupsFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSecurityGroupsFilterOutput) -} - -// GetSecurityGroupsFilterArrayInput is an input type that accepts GetSecurityGroupsFilterArray and GetSecurityGroupsFilterArrayOutput values. -// You can construct a concrete instance of `GetSecurityGroupsFilterArrayInput` via: -// -// GetSecurityGroupsFilterArray{ GetSecurityGroupsFilterArgs{...} } -type GetSecurityGroupsFilterArrayInput interface { - pulumi.Input - - ToGetSecurityGroupsFilterArrayOutput() GetSecurityGroupsFilterArrayOutput - ToGetSecurityGroupsFilterArrayOutputWithContext(context.Context) GetSecurityGroupsFilterArrayOutput -} - -type GetSecurityGroupsFilterArray []GetSecurityGroupsFilterInput - -func (GetSecurityGroupsFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSecurityGroupsFilter)(nil)).Elem() -} - -func (i GetSecurityGroupsFilterArray) ToGetSecurityGroupsFilterArrayOutput() GetSecurityGroupsFilterArrayOutput { - return i.ToGetSecurityGroupsFilterArrayOutputWithContext(context.Background()) -} - -func (i GetSecurityGroupsFilterArray) ToGetSecurityGroupsFilterArrayOutputWithContext(ctx context.Context) GetSecurityGroupsFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSecurityGroupsFilterArrayOutput) -} - -type GetSecurityGroupsFilterOutput struct{ *pulumi.OutputState } - -func (GetSecurityGroupsFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSecurityGroupsFilter)(nil)).Elem() -} - -func (o GetSecurityGroupsFilterOutput) ToGetSecurityGroupsFilterOutput() GetSecurityGroupsFilterOutput { - return o -} - -func (o GetSecurityGroupsFilterOutput) ToGetSecurityGroupsFilterOutputWithContext(ctx context.Context) GetSecurityGroupsFilterOutput { - return o -} - -func (o GetSecurityGroupsFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetSecurityGroupsFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetSecurityGroupsFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetSecurityGroupsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetSecurityGroupsFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetSecurityGroupsFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSecurityGroupsFilter)(nil)).Elem() -} - -func (o GetSecurityGroupsFilterArrayOutput) ToGetSecurityGroupsFilterArrayOutput() GetSecurityGroupsFilterArrayOutput { - return o -} - -func (o GetSecurityGroupsFilterArrayOutput) ToGetSecurityGroupsFilterArrayOutputWithContext(ctx context.Context) GetSecurityGroupsFilterArrayOutput { - return o -} - -func (o GetSecurityGroupsFilterArrayOutput) Index(i pulumi.IntInput) GetSecurityGroupsFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSecurityGroupsFilter { - return vs[0].([]GetSecurityGroupsFilter)[vs[1].(int)] - }).(GetSecurityGroupsFilterOutput) -} - -type GetSecurityGroupsSecurityGroup struct { - // The account ID that owns the source or destination security group. - AccountId string `pulumi:"accountId"` - // The description of the security group. - Description string `pulumi:"description"` - // The inbound rules associated with the security group. - InboundRules []GetSecurityGroupsSecurityGroupInboundRule `pulumi:"inboundRules"` - // The ID of the Net for the security group. - NetId string `pulumi:"netId"` - // The outbound rules associated with the security group. - OutboundRules []GetSecurityGroupsSecurityGroupOutboundRule `pulumi:"outboundRules"` - // The ID of the security group. - SecurityGroupId string `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName string `pulumi:"securityGroupName"` - // The key/value combinations of the tags associated with the security groups, in the following format: `TAGKEY=TAGVALUE`. - Tags []GetSecurityGroupsSecurityGroupTag `pulumi:"tags"` -} - -// GetSecurityGroupsSecurityGroupInput is an input type that accepts GetSecurityGroupsSecurityGroupArgs and GetSecurityGroupsSecurityGroupOutput values. -// You can construct a concrete instance of `GetSecurityGroupsSecurityGroupInput` via: -// -// GetSecurityGroupsSecurityGroupArgs{...} -type GetSecurityGroupsSecurityGroupInput interface { - pulumi.Input - - ToGetSecurityGroupsSecurityGroupOutput() GetSecurityGroupsSecurityGroupOutput - ToGetSecurityGroupsSecurityGroupOutputWithContext(context.Context) GetSecurityGroupsSecurityGroupOutput -} - -type GetSecurityGroupsSecurityGroupArgs struct { - // The account ID that owns the source or destination security group. - AccountId pulumi.StringInput `pulumi:"accountId"` - // The description of the security group. - Description pulumi.StringInput `pulumi:"description"` - // The inbound rules associated with the security group. - InboundRules GetSecurityGroupsSecurityGroupInboundRuleArrayInput `pulumi:"inboundRules"` - // The ID of the Net for the security group. - NetId pulumi.StringInput `pulumi:"netId"` - // The outbound rules associated with the security group. - OutboundRules GetSecurityGroupsSecurityGroupOutboundRuleArrayInput `pulumi:"outboundRules"` - // The ID of the security group. - SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName pulumi.StringInput `pulumi:"securityGroupName"` - // The key/value combinations of the tags associated with the security groups, in the following format: `TAGKEY=TAGVALUE`. - Tags GetSecurityGroupsSecurityGroupTagArrayInput `pulumi:"tags"` -} - -func (GetSecurityGroupsSecurityGroupArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSecurityGroupsSecurityGroup)(nil)).Elem() -} - -func (i GetSecurityGroupsSecurityGroupArgs) ToGetSecurityGroupsSecurityGroupOutput() GetSecurityGroupsSecurityGroupOutput { - return i.ToGetSecurityGroupsSecurityGroupOutputWithContext(context.Background()) -} - -func (i GetSecurityGroupsSecurityGroupArgs) ToGetSecurityGroupsSecurityGroupOutputWithContext(ctx context.Context) GetSecurityGroupsSecurityGroupOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSecurityGroupsSecurityGroupOutput) -} - -// GetSecurityGroupsSecurityGroupArrayInput is an input type that accepts GetSecurityGroupsSecurityGroupArray and GetSecurityGroupsSecurityGroupArrayOutput values. -// You can construct a concrete instance of `GetSecurityGroupsSecurityGroupArrayInput` via: -// -// GetSecurityGroupsSecurityGroupArray{ GetSecurityGroupsSecurityGroupArgs{...} } -type GetSecurityGroupsSecurityGroupArrayInput interface { - pulumi.Input - - ToGetSecurityGroupsSecurityGroupArrayOutput() GetSecurityGroupsSecurityGroupArrayOutput - ToGetSecurityGroupsSecurityGroupArrayOutputWithContext(context.Context) GetSecurityGroupsSecurityGroupArrayOutput -} - -type GetSecurityGroupsSecurityGroupArray []GetSecurityGroupsSecurityGroupInput - -func (GetSecurityGroupsSecurityGroupArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSecurityGroupsSecurityGroup)(nil)).Elem() -} - -func (i GetSecurityGroupsSecurityGroupArray) ToGetSecurityGroupsSecurityGroupArrayOutput() GetSecurityGroupsSecurityGroupArrayOutput { - return i.ToGetSecurityGroupsSecurityGroupArrayOutputWithContext(context.Background()) -} - -func (i GetSecurityGroupsSecurityGroupArray) ToGetSecurityGroupsSecurityGroupArrayOutputWithContext(ctx context.Context) GetSecurityGroupsSecurityGroupArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSecurityGroupsSecurityGroupArrayOutput) -} - -type GetSecurityGroupsSecurityGroupOutput struct{ *pulumi.OutputState } - -func (GetSecurityGroupsSecurityGroupOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSecurityGroupsSecurityGroup)(nil)).Elem() -} - -func (o GetSecurityGroupsSecurityGroupOutput) ToGetSecurityGroupsSecurityGroupOutput() GetSecurityGroupsSecurityGroupOutput { - return o -} - -func (o GetSecurityGroupsSecurityGroupOutput) ToGetSecurityGroupsSecurityGroupOutputWithContext(ctx context.Context) GetSecurityGroupsSecurityGroupOutput { - return o -} - -// The account ID that owns the source or destination security group. -func (o GetSecurityGroupsSecurityGroupOutput) AccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetSecurityGroupsSecurityGroup) string { return v.AccountId }).(pulumi.StringOutput) -} - -// The description of the security group. -func (o GetSecurityGroupsSecurityGroupOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetSecurityGroupsSecurityGroup) string { return v.Description }).(pulumi.StringOutput) -} - -// The inbound rules associated with the security group. -func (o GetSecurityGroupsSecurityGroupOutput) InboundRules() GetSecurityGroupsSecurityGroupInboundRuleArrayOutput { - return o.ApplyT(func(v GetSecurityGroupsSecurityGroup) []GetSecurityGroupsSecurityGroupInboundRule { - return v.InboundRules - }).(GetSecurityGroupsSecurityGroupInboundRuleArrayOutput) -} - -// The ID of the Net for the security group. -func (o GetSecurityGroupsSecurityGroupOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v GetSecurityGroupsSecurityGroup) string { return v.NetId }).(pulumi.StringOutput) -} - -// The outbound rules associated with the security group. -func (o GetSecurityGroupsSecurityGroupOutput) OutboundRules() GetSecurityGroupsSecurityGroupOutboundRuleArrayOutput { - return o.ApplyT(func(v GetSecurityGroupsSecurityGroup) []GetSecurityGroupsSecurityGroupOutboundRule { - return v.OutboundRules - }).(GetSecurityGroupsSecurityGroupOutboundRuleArrayOutput) -} - -// The ID of the security group. -func (o GetSecurityGroupsSecurityGroupOutput) SecurityGroupId() pulumi.StringOutput { - return o.ApplyT(func(v GetSecurityGroupsSecurityGroup) string { return v.SecurityGroupId }).(pulumi.StringOutput) -} - -// The name of the security group. -func (o GetSecurityGroupsSecurityGroupOutput) SecurityGroupName() pulumi.StringOutput { - return o.ApplyT(func(v GetSecurityGroupsSecurityGroup) string { return v.SecurityGroupName }).(pulumi.StringOutput) -} - -// The key/value combinations of the tags associated with the security groups, in the following format: `TAGKEY=TAGVALUE`. -func (o GetSecurityGroupsSecurityGroupOutput) Tags() GetSecurityGroupsSecurityGroupTagArrayOutput { - return o.ApplyT(func(v GetSecurityGroupsSecurityGroup) []GetSecurityGroupsSecurityGroupTag { return v.Tags }).(GetSecurityGroupsSecurityGroupTagArrayOutput) -} - -type GetSecurityGroupsSecurityGroupArrayOutput struct{ *pulumi.OutputState } - -func (GetSecurityGroupsSecurityGroupArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSecurityGroupsSecurityGroup)(nil)).Elem() -} - -func (o GetSecurityGroupsSecurityGroupArrayOutput) ToGetSecurityGroupsSecurityGroupArrayOutput() GetSecurityGroupsSecurityGroupArrayOutput { - return o -} - -func (o GetSecurityGroupsSecurityGroupArrayOutput) ToGetSecurityGroupsSecurityGroupArrayOutputWithContext(ctx context.Context) GetSecurityGroupsSecurityGroupArrayOutput { - return o -} - -func (o GetSecurityGroupsSecurityGroupArrayOutput) Index(i pulumi.IntInput) GetSecurityGroupsSecurityGroupOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSecurityGroupsSecurityGroup { - return vs[0].([]GetSecurityGroupsSecurityGroup)[vs[1].(int)] - }).(GetSecurityGroupsSecurityGroupOutput) -} - -type GetSecurityGroupsSecurityGroupInboundRule struct { - // The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - FromPortRange int `pulumi:"fromPortRange"` - // The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - IpProtocol string `pulumi:"ipProtocol"` - // One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - IpRanges []string `pulumi:"ipRanges"` - PrefixListIds []string `pulumi:"prefixListIds"` - // Information about one or more source or destination security groups. - SecurityGroupsMembers []GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMember `pulumi:"securityGroupsMembers"` - // The end of the port range for the TCP and UDP protocols, or an ICMP code number. - ToPortRange int `pulumi:"toPortRange"` -} - -// GetSecurityGroupsSecurityGroupInboundRuleInput is an input type that accepts GetSecurityGroupsSecurityGroupInboundRuleArgs and GetSecurityGroupsSecurityGroupInboundRuleOutput values. -// You can construct a concrete instance of `GetSecurityGroupsSecurityGroupInboundRuleInput` via: -// -// GetSecurityGroupsSecurityGroupInboundRuleArgs{...} -type GetSecurityGroupsSecurityGroupInboundRuleInput interface { - pulumi.Input - - ToGetSecurityGroupsSecurityGroupInboundRuleOutput() GetSecurityGroupsSecurityGroupInboundRuleOutput - ToGetSecurityGroupsSecurityGroupInboundRuleOutputWithContext(context.Context) GetSecurityGroupsSecurityGroupInboundRuleOutput -} - -type GetSecurityGroupsSecurityGroupInboundRuleArgs struct { - // The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - FromPortRange pulumi.IntInput `pulumi:"fromPortRange"` - // The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - IpProtocol pulumi.StringInput `pulumi:"ipProtocol"` - // One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - IpRanges pulumi.StringArrayInput `pulumi:"ipRanges"` - PrefixListIds pulumi.StringArrayInput `pulumi:"prefixListIds"` - // Information about one or more source or destination security groups. - SecurityGroupsMembers GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArrayInput `pulumi:"securityGroupsMembers"` - // The end of the port range for the TCP and UDP protocols, or an ICMP code number. - ToPortRange pulumi.IntInput `pulumi:"toPortRange"` -} - -func (GetSecurityGroupsSecurityGroupInboundRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSecurityGroupsSecurityGroupInboundRule)(nil)).Elem() -} - -func (i GetSecurityGroupsSecurityGroupInboundRuleArgs) ToGetSecurityGroupsSecurityGroupInboundRuleOutput() GetSecurityGroupsSecurityGroupInboundRuleOutput { - return i.ToGetSecurityGroupsSecurityGroupInboundRuleOutputWithContext(context.Background()) -} - -func (i GetSecurityGroupsSecurityGroupInboundRuleArgs) ToGetSecurityGroupsSecurityGroupInboundRuleOutputWithContext(ctx context.Context) GetSecurityGroupsSecurityGroupInboundRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSecurityGroupsSecurityGroupInboundRuleOutput) -} - -// GetSecurityGroupsSecurityGroupInboundRuleArrayInput is an input type that accepts GetSecurityGroupsSecurityGroupInboundRuleArray and GetSecurityGroupsSecurityGroupInboundRuleArrayOutput values. -// You can construct a concrete instance of `GetSecurityGroupsSecurityGroupInboundRuleArrayInput` via: -// -// GetSecurityGroupsSecurityGroupInboundRuleArray{ GetSecurityGroupsSecurityGroupInboundRuleArgs{...} } -type GetSecurityGroupsSecurityGroupInboundRuleArrayInput interface { - pulumi.Input - - ToGetSecurityGroupsSecurityGroupInboundRuleArrayOutput() GetSecurityGroupsSecurityGroupInboundRuleArrayOutput - ToGetSecurityGroupsSecurityGroupInboundRuleArrayOutputWithContext(context.Context) GetSecurityGroupsSecurityGroupInboundRuleArrayOutput -} - -type GetSecurityGroupsSecurityGroupInboundRuleArray []GetSecurityGroupsSecurityGroupInboundRuleInput - -func (GetSecurityGroupsSecurityGroupInboundRuleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSecurityGroupsSecurityGroupInboundRule)(nil)).Elem() -} - -func (i GetSecurityGroupsSecurityGroupInboundRuleArray) ToGetSecurityGroupsSecurityGroupInboundRuleArrayOutput() GetSecurityGroupsSecurityGroupInboundRuleArrayOutput { - return i.ToGetSecurityGroupsSecurityGroupInboundRuleArrayOutputWithContext(context.Background()) -} - -func (i GetSecurityGroupsSecurityGroupInboundRuleArray) ToGetSecurityGroupsSecurityGroupInboundRuleArrayOutputWithContext(ctx context.Context) GetSecurityGroupsSecurityGroupInboundRuleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSecurityGroupsSecurityGroupInboundRuleArrayOutput) -} - -type GetSecurityGroupsSecurityGroupInboundRuleOutput struct{ *pulumi.OutputState } - -func (GetSecurityGroupsSecurityGroupInboundRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSecurityGroupsSecurityGroupInboundRule)(nil)).Elem() -} - -func (o GetSecurityGroupsSecurityGroupInboundRuleOutput) ToGetSecurityGroupsSecurityGroupInboundRuleOutput() GetSecurityGroupsSecurityGroupInboundRuleOutput { - return o -} - -func (o GetSecurityGroupsSecurityGroupInboundRuleOutput) ToGetSecurityGroupsSecurityGroupInboundRuleOutputWithContext(ctx context.Context) GetSecurityGroupsSecurityGroupInboundRuleOutput { - return o -} - -// The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. -func (o GetSecurityGroupsSecurityGroupInboundRuleOutput) FromPortRange() pulumi.IntOutput { - return o.ApplyT(func(v GetSecurityGroupsSecurityGroupInboundRule) int { return v.FromPortRange }).(pulumi.IntOutput) -} - -// The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). -func (o GetSecurityGroupsSecurityGroupInboundRuleOutput) IpProtocol() pulumi.StringOutput { - return o.ApplyT(func(v GetSecurityGroupsSecurityGroupInboundRule) string { return v.IpProtocol }).(pulumi.StringOutput) -} - -// One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). -func (o GetSecurityGroupsSecurityGroupInboundRuleOutput) IpRanges() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetSecurityGroupsSecurityGroupInboundRule) []string { return v.IpRanges }).(pulumi.StringArrayOutput) -} - -func (o GetSecurityGroupsSecurityGroupInboundRuleOutput) PrefixListIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetSecurityGroupsSecurityGroupInboundRule) []string { return v.PrefixListIds }).(pulumi.StringArrayOutput) -} - -// Information about one or more source or destination security groups. -func (o GetSecurityGroupsSecurityGroupInboundRuleOutput) SecurityGroupsMembers() GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput { - return o.ApplyT(func(v GetSecurityGroupsSecurityGroupInboundRule) []GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMember { - return v.SecurityGroupsMembers - }).(GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput) -} - -// The end of the port range for the TCP and UDP protocols, or an ICMP code number. -func (o GetSecurityGroupsSecurityGroupInboundRuleOutput) ToPortRange() pulumi.IntOutput { - return o.ApplyT(func(v GetSecurityGroupsSecurityGroupInboundRule) int { return v.ToPortRange }).(pulumi.IntOutput) -} - -type GetSecurityGroupsSecurityGroupInboundRuleArrayOutput struct{ *pulumi.OutputState } - -func (GetSecurityGroupsSecurityGroupInboundRuleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSecurityGroupsSecurityGroupInboundRule)(nil)).Elem() -} - -func (o GetSecurityGroupsSecurityGroupInboundRuleArrayOutput) ToGetSecurityGroupsSecurityGroupInboundRuleArrayOutput() GetSecurityGroupsSecurityGroupInboundRuleArrayOutput { - return o -} - -func (o GetSecurityGroupsSecurityGroupInboundRuleArrayOutput) ToGetSecurityGroupsSecurityGroupInboundRuleArrayOutputWithContext(ctx context.Context) GetSecurityGroupsSecurityGroupInboundRuleArrayOutput { - return o -} - -func (o GetSecurityGroupsSecurityGroupInboundRuleArrayOutput) Index(i pulumi.IntInput) GetSecurityGroupsSecurityGroupInboundRuleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSecurityGroupsSecurityGroupInboundRule { - return vs[0].([]GetSecurityGroupsSecurityGroupInboundRule)[vs[1].(int)] - }).(GetSecurityGroupsSecurityGroupInboundRuleOutput) -} - -type GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMember struct { - // The account ID that owns the source or destination security group. - AccountId string `pulumi:"accountId"` - // The ID of the security group. - SecurityGroupId string `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName string `pulumi:"securityGroupName"` -} - -// GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberInput is an input type that accepts GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArgs and GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberOutput values. -// You can construct a concrete instance of `GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberInput` via: -// -// GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArgs{...} -type GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberInput interface { - pulumi.Input - - ToGetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberOutput() GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberOutput - ToGetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberOutputWithContext(context.Context) GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberOutput -} - -type GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArgs struct { - // The account ID that owns the source or destination security group. - AccountId pulumi.StringInput `pulumi:"accountId"` - // The ID of the security group. - SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName pulumi.StringInput `pulumi:"securityGroupName"` -} - -func (GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMember)(nil)).Elem() -} - -func (i GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArgs) ToGetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberOutput() GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberOutput { - return i.ToGetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberOutputWithContext(context.Background()) -} - -func (i GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArgs) ToGetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberOutputWithContext(ctx context.Context) GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberOutput) -} - -// GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArrayInput is an input type that accepts GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArray and GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput values. -// You can construct a concrete instance of `GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArrayInput` via: -// -// GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArray{ GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArgs{...} } -type GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArrayInput interface { - pulumi.Input - - ToGetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput() GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput - ToGetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArrayOutputWithContext(context.Context) GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput -} - -type GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArray []GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberInput - -func (GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMember)(nil)).Elem() -} - -func (i GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArray) ToGetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput() GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput { - return i.ToGetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArrayOutputWithContext(context.Background()) -} - -func (i GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArray) ToGetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArrayOutputWithContext(ctx context.Context) GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput) -} - -type GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberOutput struct{ *pulumi.OutputState } - -func (GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMember)(nil)).Elem() -} - -func (o GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberOutput) ToGetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberOutput() GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberOutput { - return o -} - -func (o GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberOutput) ToGetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberOutputWithContext(ctx context.Context) GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberOutput { - return o -} - -// The account ID that owns the source or destination security group. -func (o GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberOutput) AccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMember) string { return v.AccountId }).(pulumi.StringOutput) -} - -// The ID of the security group. -func (o GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberOutput) SecurityGroupId() pulumi.StringOutput { - return o.ApplyT(func(v GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMember) string { return v.SecurityGroupId }).(pulumi.StringOutput) -} - -// The name of the security group. -func (o GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberOutput) SecurityGroupName() pulumi.StringOutput { - return o.ApplyT(func(v GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMember) string { - return v.SecurityGroupName - }).(pulumi.StringOutput) -} - -type GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput struct{ *pulumi.OutputState } - -func (GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMember)(nil)).Elem() -} - -func (o GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput) ToGetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput() GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput { - return o -} - -func (o GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput) ToGetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArrayOutputWithContext(ctx context.Context) GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput { - return o -} - -func (o GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput) Index(i pulumi.IntInput) GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMember { - return vs[0].([]GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMember)[vs[1].(int)] - }).(GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberOutput) -} - -type GetSecurityGroupsSecurityGroupOutboundRule struct { - // The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - FromPortRange int `pulumi:"fromPortRange"` - // The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - IpProtocol string `pulumi:"ipProtocol"` - // One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - IpRanges []string `pulumi:"ipRanges"` - PrefixListIds []string `pulumi:"prefixListIds"` - // Information about one or more source or destination security groups. - SecurityGroupsMembers []GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMember `pulumi:"securityGroupsMembers"` - // The end of the port range for the TCP and UDP protocols, or an ICMP code number. - ToPortRange int `pulumi:"toPortRange"` -} - -// GetSecurityGroupsSecurityGroupOutboundRuleInput is an input type that accepts GetSecurityGroupsSecurityGroupOutboundRuleArgs and GetSecurityGroupsSecurityGroupOutboundRuleOutput values. -// You can construct a concrete instance of `GetSecurityGroupsSecurityGroupOutboundRuleInput` via: -// -// GetSecurityGroupsSecurityGroupOutboundRuleArgs{...} -type GetSecurityGroupsSecurityGroupOutboundRuleInput interface { - pulumi.Input - - ToGetSecurityGroupsSecurityGroupOutboundRuleOutput() GetSecurityGroupsSecurityGroupOutboundRuleOutput - ToGetSecurityGroupsSecurityGroupOutboundRuleOutputWithContext(context.Context) GetSecurityGroupsSecurityGroupOutboundRuleOutput -} - -type GetSecurityGroupsSecurityGroupOutboundRuleArgs struct { - // The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - FromPortRange pulumi.IntInput `pulumi:"fromPortRange"` - // The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - IpProtocol pulumi.StringInput `pulumi:"ipProtocol"` - // One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - IpRanges pulumi.StringArrayInput `pulumi:"ipRanges"` - PrefixListIds pulumi.StringArrayInput `pulumi:"prefixListIds"` - // Information about one or more source or destination security groups. - SecurityGroupsMembers GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArrayInput `pulumi:"securityGroupsMembers"` - // The end of the port range for the TCP and UDP protocols, or an ICMP code number. - ToPortRange pulumi.IntInput `pulumi:"toPortRange"` -} - -func (GetSecurityGroupsSecurityGroupOutboundRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSecurityGroupsSecurityGroupOutboundRule)(nil)).Elem() -} - -func (i GetSecurityGroupsSecurityGroupOutboundRuleArgs) ToGetSecurityGroupsSecurityGroupOutboundRuleOutput() GetSecurityGroupsSecurityGroupOutboundRuleOutput { - return i.ToGetSecurityGroupsSecurityGroupOutboundRuleOutputWithContext(context.Background()) -} - -func (i GetSecurityGroupsSecurityGroupOutboundRuleArgs) ToGetSecurityGroupsSecurityGroupOutboundRuleOutputWithContext(ctx context.Context) GetSecurityGroupsSecurityGroupOutboundRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSecurityGroupsSecurityGroupOutboundRuleOutput) -} - -// GetSecurityGroupsSecurityGroupOutboundRuleArrayInput is an input type that accepts GetSecurityGroupsSecurityGroupOutboundRuleArray and GetSecurityGroupsSecurityGroupOutboundRuleArrayOutput values. -// You can construct a concrete instance of `GetSecurityGroupsSecurityGroupOutboundRuleArrayInput` via: -// -// GetSecurityGroupsSecurityGroupOutboundRuleArray{ GetSecurityGroupsSecurityGroupOutboundRuleArgs{...} } -type GetSecurityGroupsSecurityGroupOutboundRuleArrayInput interface { - pulumi.Input - - ToGetSecurityGroupsSecurityGroupOutboundRuleArrayOutput() GetSecurityGroupsSecurityGroupOutboundRuleArrayOutput - ToGetSecurityGroupsSecurityGroupOutboundRuleArrayOutputWithContext(context.Context) GetSecurityGroupsSecurityGroupOutboundRuleArrayOutput -} - -type GetSecurityGroupsSecurityGroupOutboundRuleArray []GetSecurityGroupsSecurityGroupOutboundRuleInput - -func (GetSecurityGroupsSecurityGroupOutboundRuleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSecurityGroupsSecurityGroupOutboundRule)(nil)).Elem() -} - -func (i GetSecurityGroupsSecurityGroupOutboundRuleArray) ToGetSecurityGroupsSecurityGroupOutboundRuleArrayOutput() GetSecurityGroupsSecurityGroupOutboundRuleArrayOutput { - return i.ToGetSecurityGroupsSecurityGroupOutboundRuleArrayOutputWithContext(context.Background()) -} - -func (i GetSecurityGroupsSecurityGroupOutboundRuleArray) ToGetSecurityGroupsSecurityGroupOutboundRuleArrayOutputWithContext(ctx context.Context) GetSecurityGroupsSecurityGroupOutboundRuleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSecurityGroupsSecurityGroupOutboundRuleArrayOutput) -} - -type GetSecurityGroupsSecurityGroupOutboundRuleOutput struct{ *pulumi.OutputState } - -func (GetSecurityGroupsSecurityGroupOutboundRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSecurityGroupsSecurityGroupOutboundRule)(nil)).Elem() -} - -func (o GetSecurityGroupsSecurityGroupOutboundRuleOutput) ToGetSecurityGroupsSecurityGroupOutboundRuleOutput() GetSecurityGroupsSecurityGroupOutboundRuleOutput { - return o -} - -func (o GetSecurityGroupsSecurityGroupOutboundRuleOutput) ToGetSecurityGroupsSecurityGroupOutboundRuleOutputWithContext(ctx context.Context) GetSecurityGroupsSecurityGroupOutboundRuleOutput { - return o -} - -// The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. -func (o GetSecurityGroupsSecurityGroupOutboundRuleOutput) FromPortRange() pulumi.IntOutput { - return o.ApplyT(func(v GetSecurityGroupsSecurityGroupOutboundRule) int { return v.FromPortRange }).(pulumi.IntOutput) -} - -// The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). -func (o GetSecurityGroupsSecurityGroupOutboundRuleOutput) IpProtocol() pulumi.StringOutput { - return o.ApplyT(func(v GetSecurityGroupsSecurityGroupOutboundRule) string { return v.IpProtocol }).(pulumi.StringOutput) -} - -// One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). -func (o GetSecurityGroupsSecurityGroupOutboundRuleOutput) IpRanges() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetSecurityGroupsSecurityGroupOutboundRule) []string { return v.IpRanges }).(pulumi.StringArrayOutput) -} - -func (o GetSecurityGroupsSecurityGroupOutboundRuleOutput) PrefixListIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetSecurityGroupsSecurityGroupOutboundRule) []string { return v.PrefixListIds }).(pulumi.StringArrayOutput) -} - -// Information about one or more source or destination security groups. -func (o GetSecurityGroupsSecurityGroupOutboundRuleOutput) SecurityGroupsMembers() GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput { - return o.ApplyT(func(v GetSecurityGroupsSecurityGroupOutboundRule) []GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMember { - return v.SecurityGroupsMembers - }).(GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput) -} - -// The end of the port range for the TCP and UDP protocols, or an ICMP code number. -func (o GetSecurityGroupsSecurityGroupOutboundRuleOutput) ToPortRange() pulumi.IntOutput { - return o.ApplyT(func(v GetSecurityGroupsSecurityGroupOutboundRule) int { return v.ToPortRange }).(pulumi.IntOutput) -} - -type GetSecurityGroupsSecurityGroupOutboundRuleArrayOutput struct{ *pulumi.OutputState } - -func (GetSecurityGroupsSecurityGroupOutboundRuleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSecurityGroupsSecurityGroupOutboundRule)(nil)).Elem() -} - -func (o GetSecurityGroupsSecurityGroupOutboundRuleArrayOutput) ToGetSecurityGroupsSecurityGroupOutboundRuleArrayOutput() GetSecurityGroupsSecurityGroupOutboundRuleArrayOutput { - return o -} - -func (o GetSecurityGroupsSecurityGroupOutboundRuleArrayOutput) ToGetSecurityGroupsSecurityGroupOutboundRuleArrayOutputWithContext(ctx context.Context) GetSecurityGroupsSecurityGroupOutboundRuleArrayOutput { - return o -} - -func (o GetSecurityGroupsSecurityGroupOutboundRuleArrayOutput) Index(i pulumi.IntInput) GetSecurityGroupsSecurityGroupOutboundRuleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSecurityGroupsSecurityGroupOutboundRule { - return vs[0].([]GetSecurityGroupsSecurityGroupOutboundRule)[vs[1].(int)] - }).(GetSecurityGroupsSecurityGroupOutboundRuleOutput) -} - -type GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMember struct { - // The account ID that owns the source or destination security group. - AccountId string `pulumi:"accountId"` - // The ID of the security group. - SecurityGroupId string `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName string `pulumi:"securityGroupName"` -} - -// GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberInput is an input type that accepts GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArgs and GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberOutput values. -// You can construct a concrete instance of `GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberInput` via: -// -// GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArgs{...} -type GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberInput interface { - pulumi.Input - - ToGetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberOutput() GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberOutput - ToGetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberOutputWithContext(context.Context) GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberOutput -} - -type GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArgs struct { - // The account ID that owns the source or destination security group. - AccountId pulumi.StringInput `pulumi:"accountId"` - // The ID of the security group. - SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName pulumi.StringInput `pulumi:"securityGroupName"` -} - -func (GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMember)(nil)).Elem() -} - -func (i GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArgs) ToGetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberOutput() GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberOutput { - return i.ToGetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberOutputWithContext(context.Background()) -} - -func (i GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArgs) ToGetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberOutputWithContext(ctx context.Context) GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberOutput) -} - -// GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArrayInput is an input type that accepts GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArray and GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput values. -// You can construct a concrete instance of `GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArrayInput` via: -// -// GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArray{ GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArgs{...} } -type GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArrayInput interface { - pulumi.Input - - ToGetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput() GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput - ToGetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutputWithContext(context.Context) GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput -} - -type GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArray []GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberInput - -func (GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMember)(nil)).Elem() -} - -func (i GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArray) ToGetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput() GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput { - return i.ToGetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutputWithContext(context.Background()) -} - -func (i GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArray) ToGetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutputWithContext(ctx context.Context) GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput) -} - -type GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberOutput struct{ *pulumi.OutputState } - -func (GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMember)(nil)).Elem() -} - -func (o GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberOutput) ToGetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberOutput() GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberOutput { - return o -} - -func (o GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberOutput) ToGetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberOutputWithContext(ctx context.Context) GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberOutput { - return o -} - -// The account ID that owns the source or destination security group. -func (o GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberOutput) AccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMember) string { return v.AccountId }).(pulumi.StringOutput) -} - -// The ID of the security group. -func (o GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberOutput) SecurityGroupId() pulumi.StringOutput { - return o.ApplyT(func(v GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMember) string { - return v.SecurityGroupId - }).(pulumi.StringOutput) -} - -// The name of the security group. -func (o GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberOutput) SecurityGroupName() pulumi.StringOutput { - return o.ApplyT(func(v GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMember) string { - return v.SecurityGroupName - }).(pulumi.StringOutput) -} - -type GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput struct{ *pulumi.OutputState } - -func (GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMember)(nil)).Elem() -} - -func (o GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput) ToGetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput() GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput { - return o -} - -func (o GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput) ToGetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutputWithContext(ctx context.Context) GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput { - return o -} - -func (o GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput) Index(i pulumi.IntInput) GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMember { - return vs[0].([]GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMember)[vs[1].(int)] - }).(GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberOutput) -} - -type GetSecurityGroupsSecurityGroupTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetSecurityGroupsSecurityGroupTagInput is an input type that accepts GetSecurityGroupsSecurityGroupTagArgs and GetSecurityGroupsSecurityGroupTagOutput values. -// You can construct a concrete instance of `GetSecurityGroupsSecurityGroupTagInput` via: -// -// GetSecurityGroupsSecurityGroupTagArgs{...} -type GetSecurityGroupsSecurityGroupTagInput interface { - pulumi.Input - - ToGetSecurityGroupsSecurityGroupTagOutput() GetSecurityGroupsSecurityGroupTagOutput - ToGetSecurityGroupsSecurityGroupTagOutputWithContext(context.Context) GetSecurityGroupsSecurityGroupTagOutput -} - -type GetSecurityGroupsSecurityGroupTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetSecurityGroupsSecurityGroupTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSecurityGroupsSecurityGroupTag)(nil)).Elem() -} - -func (i GetSecurityGroupsSecurityGroupTagArgs) ToGetSecurityGroupsSecurityGroupTagOutput() GetSecurityGroupsSecurityGroupTagOutput { - return i.ToGetSecurityGroupsSecurityGroupTagOutputWithContext(context.Background()) -} - -func (i GetSecurityGroupsSecurityGroupTagArgs) ToGetSecurityGroupsSecurityGroupTagOutputWithContext(ctx context.Context) GetSecurityGroupsSecurityGroupTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSecurityGroupsSecurityGroupTagOutput) -} - -// GetSecurityGroupsSecurityGroupTagArrayInput is an input type that accepts GetSecurityGroupsSecurityGroupTagArray and GetSecurityGroupsSecurityGroupTagArrayOutput values. -// You can construct a concrete instance of `GetSecurityGroupsSecurityGroupTagArrayInput` via: -// -// GetSecurityGroupsSecurityGroupTagArray{ GetSecurityGroupsSecurityGroupTagArgs{...} } -type GetSecurityGroupsSecurityGroupTagArrayInput interface { - pulumi.Input - - ToGetSecurityGroupsSecurityGroupTagArrayOutput() GetSecurityGroupsSecurityGroupTagArrayOutput - ToGetSecurityGroupsSecurityGroupTagArrayOutputWithContext(context.Context) GetSecurityGroupsSecurityGroupTagArrayOutput -} - -type GetSecurityGroupsSecurityGroupTagArray []GetSecurityGroupsSecurityGroupTagInput - -func (GetSecurityGroupsSecurityGroupTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSecurityGroupsSecurityGroupTag)(nil)).Elem() -} - -func (i GetSecurityGroupsSecurityGroupTagArray) ToGetSecurityGroupsSecurityGroupTagArrayOutput() GetSecurityGroupsSecurityGroupTagArrayOutput { - return i.ToGetSecurityGroupsSecurityGroupTagArrayOutputWithContext(context.Background()) -} - -func (i GetSecurityGroupsSecurityGroupTagArray) ToGetSecurityGroupsSecurityGroupTagArrayOutputWithContext(ctx context.Context) GetSecurityGroupsSecurityGroupTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSecurityGroupsSecurityGroupTagArrayOutput) -} - -type GetSecurityGroupsSecurityGroupTagOutput struct{ *pulumi.OutputState } - -func (GetSecurityGroupsSecurityGroupTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSecurityGroupsSecurityGroupTag)(nil)).Elem() -} - -func (o GetSecurityGroupsSecurityGroupTagOutput) ToGetSecurityGroupsSecurityGroupTagOutput() GetSecurityGroupsSecurityGroupTagOutput { - return o -} - -func (o GetSecurityGroupsSecurityGroupTagOutput) ToGetSecurityGroupsSecurityGroupTagOutputWithContext(ctx context.Context) GetSecurityGroupsSecurityGroupTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetSecurityGroupsSecurityGroupTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetSecurityGroupsSecurityGroupTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetSecurityGroupsSecurityGroupTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetSecurityGroupsSecurityGroupTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetSecurityGroupsSecurityGroupTagArrayOutput struct{ *pulumi.OutputState } - -func (GetSecurityGroupsSecurityGroupTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSecurityGroupsSecurityGroupTag)(nil)).Elem() -} - -func (o GetSecurityGroupsSecurityGroupTagArrayOutput) ToGetSecurityGroupsSecurityGroupTagArrayOutput() GetSecurityGroupsSecurityGroupTagArrayOutput { - return o -} - -func (o GetSecurityGroupsSecurityGroupTagArrayOutput) ToGetSecurityGroupsSecurityGroupTagArrayOutputWithContext(ctx context.Context) GetSecurityGroupsSecurityGroupTagArrayOutput { - return o -} - -func (o GetSecurityGroupsSecurityGroupTagArrayOutput) Index(i pulumi.IntInput) GetSecurityGroupsSecurityGroupTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSecurityGroupsSecurityGroupTag { - return vs[0].([]GetSecurityGroupsSecurityGroupTag)[vs[1].(int)] - }).(GetSecurityGroupsSecurityGroupTagOutput) -} - -type GetServerCertificateFilter struct { - // The name of the server certificate. - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetServerCertificateFilterInput is an input type that accepts GetServerCertificateFilterArgs and GetServerCertificateFilterOutput values. -// You can construct a concrete instance of `GetServerCertificateFilterInput` via: -// -// GetServerCertificateFilterArgs{...} -type GetServerCertificateFilterInput interface { - pulumi.Input - - ToGetServerCertificateFilterOutput() GetServerCertificateFilterOutput - ToGetServerCertificateFilterOutputWithContext(context.Context) GetServerCertificateFilterOutput -} - -type GetServerCertificateFilterArgs struct { - // The name of the server certificate. - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetServerCertificateFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetServerCertificateFilter)(nil)).Elem() -} - -func (i GetServerCertificateFilterArgs) ToGetServerCertificateFilterOutput() GetServerCertificateFilterOutput { - return i.ToGetServerCertificateFilterOutputWithContext(context.Background()) -} - -func (i GetServerCertificateFilterArgs) ToGetServerCertificateFilterOutputWithContext(ctx context.Context) GetServerCertificateFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetServerCertificateFilterOutput) -} - -// GetServerCertificateFilterArrayInput is an input type that accepts GetServerCertificateFilterArray and GetServerCertificateFilterArrayOutput values. -// You can construct a concrete instance of `GetServerCertificateFilterArrayInput` via: -// -// GetServerCertificateFilterArray{ GetServerCertificateFilterArgs{...} } -type GetServerCertificateFilterArrayInput interface { - pulumi.Input - - ToGetServerCertificateFilterArrayOutput() GetServerCertificateFilterArrayOutput - ToGetServerCertificateFilterArrayOutputWithContext(context.Context) GetServerCertificateFilterArrayOutput -} - -type GetServerCertificateFilterArray []GetServerCertificateFilterInput - -func (GetServerCertificateFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetServerCertificateFilter)(nil)).Elem() -} - -func (i GetServerCertificateFilterArray) ToGetServerCertificateFilterArrayOutput() GetServerCertificateFilterArrayOutput { - return i.ToGetServerCertificateFilterArrayOutputWithContext(context.Background()) -} - -func (i GetServerCertificateFilterArray) ToGetServerCertificateFilterArrayOutputWithContext(ctx context.Context) GetServerCertificateFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetServerCertificateFilterArrayOutput) -} - -type GetServerCertificateFilterOutput struct{ *pulumi.OutputState } - -func (GetServerCertificateFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetServerCertificateFilter)(nil)).Elem() -} - -func (o GetServerCertificateFilterOutput) ToGetServerCertificateFilterOutput() GetServerCertificateFilterOutput { - return o -} - -func (o GetServerCertificateFilterOutput) ToGetServerCertificateFilterOutputWithContext(ctx context.Context) GetServerCertificateFilterOutput { - return o -} - -// The name of the server certificate. -func (o GetServerCertificateFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetServerCertificateFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetServerCertificateFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetServerCertificateFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetServerCertificateFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetServerCertificateFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetServerCertificateFilter)(nil)).Elem() -} - -func (o GetServerCertificateFilterArrayOutput) ToGetServerCertificateFilterArrayOutput() GetServerCertificateFilterArrayOutput { - return o -} - -func (o GetServerCertificateFilterArrayOutput) ToGetServerCertificateFilterArrayOutputWithContext(ctx context.Context) GetServerCertificateFilterArrayOutput { - return o -} - -func (o GetServerCertificateFilterArrayOutput) Index(i pulumi.IntInput) GetServerCertificateFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServerCertificateFilter { - return vs[0].([]GetServerCertificateFilter)[vs[1].(int)] - }).(GetServerCertificateFilterOutput) -} - -type GetServerCertificatesFilter struct { - // The name of the server certificate. - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetServerCertificatesFilterInput is an input type that accepts GetServerCertificatesFilterArgs and GetServerCertificatesFilterOutput values. -// You can construct a concrete instance of `GetServerCertificatesFilterInput` via: -// -// GetServerCertificatesFilterArgs{...} -type GetServerCertificatesFilterInput interface { - pulumi.Input - - ToGetServerCertificatesFilterOutput() GetServerCertificatesFilterOutput - ToGetServerCertificatesFilterOutputWithContext(context.Context) GetServerCertificatesFilterOutput -} - -type GetServerCertificatesFilterArgs struct { - // The name of the server certificate. - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetServerCertificatesFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetServerCertificatesFilter)(nil)).Elem() -} - -func (i GetServerCertificatesFilterArgs) ToGetServerCertificatesFilterOutput() GetServerCertificatesFilterOutput { - return i.ToGetServerCertificatesFilterOutputWithContext(context.Background()) -} - -func (i GetServerCertificatesFilterArgs) ToGetServerCertificatesFilterOutputWithContext(ctx context.Context) GetServerCertificatesFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetServerCertificatesFilterOutput) -} - -// GetServerCertificatesFilterArrayInput is an input type that accepts GetServerCertificatesFilterArray and GetServerCertificatesFilterArrayOutput values. -// You can construct a concrete instance of `GetServerCertificatesFilterArrayInput` via: -// -// GetServerCertificatesFilterArray{ GetServerCertificatesFilterArgs{...} } -type GetServerCertificatesFilterArrayInput interface { - pulumi.Input - - ToGetServerCertificatesFilterArrayOutput() GetServerCertificatesFilterArrayOutput - ToGetServerCertificatesFilterArrayOutputWithContext(context.Context) GetServerCertificatesFilterArrayOutput -} - -type GetServerCertificatesFilterArray []GetServerCertificatesFilterInput - -func (GetServerCertificatesFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetServerCertificatesFilter)(nil)).Elem() -} - -func (i GetServerCertificatesFilterArray) ToGetServerCertificatesFilterArrayOutput() GetServerCertificatesFilterArrayOutput { - return i.ToGetServerCertificatesFilterArrayOutputWithContext(context.Background()) -} - -func (i GetServerCertificatesFilterArray) ToGetServerCertificatesFilterArrayOutputWithContext(ctx context.Context) GetServerCertificatesFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetServerCertificatesFilterArrayOutput) -} - -type GetServerCertificatesFilterOutput struct{ *pulumi.OutputState } - -func (GetServerCertificatesFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetServerCertificatesFilter)(nil)).Elem() -} - -func (o GetServerCertificatesFilterOutput) ToGetServerCertificatesFilterOutput() GetServerCertificatesFilterOutput { - return o -} - -func (o GetServerCertificatesFilterOutput) ToGetServerCertificatesFilterOutputWithContext(ctx context.Context) GetServerCertificatesFilterOutput { - return o -} - -// The name of the server certificate. -func (o GetServerCertificatesFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetServerCertificatesFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetServerCertificatesFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetServerCertificatesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetServerCertificatesFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetServerCertificatesFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetServerCertificatesFilter)(nil)).Elem() -} - -func (o GetServerCertificatesFilterArrayOutput) ToGetServerCertificatesFilterArrayOutput() GetServerCertificatesFilterArrayOutput { - return o -} - -func (o GetServerCertificatesFilterArrayOutput) ToGetServerCertificatesFilterArrayOutputWithContext(ctx context.Context) GetServerCertificatesFilterArrayOutput { - return o -} - -func (o GetServerCertificatesFilterArrayOutput) Index(i pulumi.IntInput) GetServerCertificatesFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServerCertificatesFilter { - return vs[0].([]GetServerCertificatesFilter)[vs[1].(int)] - }).(GetServerCertificatesFilterOutput) -} - -type GetServerCertificatesServerCertificate struct { - // The date at which the server certificate expires. - ExpirationDate string `pulumi:"expirationDate"` - // The ID of the server certificate. - Id string `pulumi:"id"` - // The name of the server certificate. - Name string `pulumi:"name"` - // The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - Orn string `pulumi:"orn"` - // The path to the server certificate. - Path string `pulumi:"path"` - // The date at which the server certificate has been uploaded. - UploadDate string `pulumi:"uploadDate"` -} - -// GetServerCertificatesServerCertificateInput is an input type that accepts GetServerCertificatesServerCertificateArgs and GetServerCertificatesServerCertificateOutput values. -// You can construct a concrete instance of `GetServerCertificatesServerCertificateInput` via: -// -// GetServerCertificatesServerCertificateArgs{...} -type GetServerCertificatesServerCertificateInput interface { - pulumi.Input - - ToGetServerCertificatesServerCertificateOutput() GetServerCertificatesServerCertificateOutput - ToGetServerCertificatesServerCertificateOutputWithContext(context.Context) GetServerCertificatesServerCertificateOutput -} - -type GetServerCertificatesServerCertificateArgs struct { - // The date at which the server certificate expires. - ExpirationDate pulumi.StringInput `pulumi:"expirationDate"` - // The ID of the server certificate. - Id pulumi.StringInput `pulumi:"id"` - // The name of the server certificate. - Name pulumi.StringInput `pulumi:"name"` - // The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - Orn pulumi.StringInput `pulumi:"orn"` - // The path to the server certificate. - Path pulumi.StringInput `pulumi:"path"` - // The date at which the server certificate has been uploaded. - UploadDate pulumi.StringInput `pulumi:"uploadDate"` -} - -func (GetServerCertificatesServerCertificateArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetServerCertificatesServerCertificate)(nil)).Elem() -} - -func (i GetServerCertificatesServerCertificateArgs) ToGetServerCertificatesServerCertificateOutput() GetServerCertificatesServerCertificateOutput { - return i.ToGetServerCertificatesServerCertificateOutputWithContext(context.Background()) -} - -func (i GetServerCertificatesServerCertificateArgs) ToGetServerCertificatesServerCertificateOutputWithContext(ctx context.Context) GetServerCertificatesServerCertificateOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetServerCertificatesServerCertificateOutput) -} - -// GetServerCertificatesServerCertificateArrayInput is an input type that accepts GetServerCertificatesServerCertificateArray and GetServerCertificatesServerCertificateArrayOutput values. -// You can construct a concrete instance of `GetServerCertificatesServerCertificateArrayInput` via: -// -// GetServerCertificatesServerCertificateArray{ GetServerCertificatesServerCertificateArgs{...} } -type GetServerCertificatesServerCertificateArrayInput interface { - pulumi.Input - - ToGetServerCertificatesServerCertificateArrayOutput() GetServerCertificatesServerCertificateArrayOutput - ToGetServerCertificatesServerCertificateArrayOutputWithContext(context.Context) GetServerCertificatesServerCertificateArrayOutput -} - -type GetServerCertificatesServerCertificateArray []GetServerCertificatesServerCertificateInput - -func (GetServerCertificatesServerCertificateArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetServerCertificatesServerCertificate)(nil)).Elem() -} - -func (i GetServerCertificatesServerCertificateArray) ToGetServerCertificatesServerCertificateArrayOutput() GetServerCertificatesServerCertificateArrayOutput { - return i.ToGetServerCertificatesServerCertificateArrayOutputWithContext(context.Background()) -} - -func (i GetServerCertificatesServerCertificateArray) ToGetServerCertificatesServerCertificateArrayOutputWithContext(ctx context.Context) GetServerCertificatesServerCertificateArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetServerCertificatesServerCertificateArrayOutput) -} - -type GetServerCertificatesServerCertificateOutput struct{ *pulumi.OutputState } - -func (GetServerCertificatesServerCertificateOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetServerCertificatesServerCertificate)(nil)).Elem() -} - -func (o GetServerCertificatesServerCertificateOutput) ToGetServerCertificatesServerCertificateOutput() GetServerCertificatesServerCertificateOutput { - return o -} - -func (o GetServerCertificatesServerCertificateOutput) ToGetServerCertificatesServerCertificateOutputWithContext(ctx context.Context) GetServerCertificatesServerCertificateOutput { - return o -} - -// The date at which the server certificate expires. -func (o GetServerCertificatesServerCertificateOutput) ExpirationDate() pulumi.StringOutput { - return o.ApplyT(func(v GetServerCertificatesServerCertificate) string { return v.ExpirationDate }).(pulumi.StringOutput) -} - -// The ID of the server certificate. -func (o GetServerCertificatesServerCertificateOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetServerCertificatesServerCertificate) string { return v.Id }).(pulumi.StringOutput) -} - -// The name of the server certificate. -func (o GetServerCertificatesServerCertificateOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetServerCertificatesServerCertificate) string { return v.Name }).(pulumi.StringOutput) -} - -// The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). -func (o GetServerCertificatesServerCertificateOutput) Orn() pulumi.StringOutput { - return o.ApplyT(func(v GetServerCertificatesServerCertificate) string { return v.Orn }).(pulumi.StringOutput) -} - -// The path to the server certificate. -func (o GetServerCertificatesServerCertificateOutput) Path() pulumi.StringOutput { - return o.ApplyT(func(v GetServerCertificatesServerCertificate) string { return v.Path }).(pulumi.StringOutput) -} - -// The date at which the server certificate has been uploaded. -func (o GetServerCertificatesServerCertificateOutput) UploadDate() pulumi.StringOutput { - return o.ApplyT(func(v GetServerCertificatesServerCertificate) string { return v.UploadDate }).(pulumi.StringOutput) -} - -type GetServerCertificatesServerCertificateArrayOutput struct{ *pulumi.OutputState } - -func (GetServerCertificatesServerCertificateArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetServerCertificatesServerCertificate)(nil)).Elem() -} - -func (o GetServerCertificatesServerCertificateArrayOutput) ToGetServerCertificatesServerCertificateArrayOutput() GetServerCertificatesServerCertificateArrayOutput { - return o -} - -func (o GetServerCertificatesServerCertificateArrayOutput) ToGetServerCertificatesServerCertificateArrayOutputWithContext(ctx context.Context) GetServerCertificatesServerCertificateArrayOutput { - return o -} - -func (o GetServerCertificatesServerCertificateArrayOutput) Index(i pulumi.IntInput) GetServerCertificatesServerCertificateOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServerCertificatesServerCertificate { - return vs[0].([]GetServerCertificatesServerCertificate)[vs[1].(int)] - }).(GetServerCertificatesServerCertificateOutput) -} - -type GetSnapshotExportTaskFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetSnapshotExportTaskFilterInput is an input type that accepts GetSnapshotExportTaskFilterArgs and GetSnapshotExportTaskFilterOutput values. -// You can construct a concrete instance of `GetSnapshotExportTaskFilterInput` via: -// -// GetSnapshotExportTaskFilterArgs{...} -type GetSnapshotExportTaskFilterInput interface { - pulumi.Input - - ToGetSnapshotExportTaskFilterOutput() GetSnapshotExportTaskFilterOutput - ToGetSnapshotExportTaskFilterOutputWithContext(context.Context) GetSnapshotExportTaskFilterOutput -} - -type GetSnapshotExportTaskFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetSnapshotExportTaskFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSnapshotExportTaskFilter)(nil)).Elem() -} - -func (i GetSnapshotExportTaskFilterArgs) ToGetSnapshotExportTaskFilterOutput() GetSnapshotExportTaskFilterOutput { - return i.ToGetSnapshotExportTaskFilterOutputWithContext(context.Background()) -} - -func (i GetSnapshotExportTaskFilterArgs) ToGetSnapshotExportTaskFilterOutputWithContext(ctx context.Context) GetSnapshotExportTaskFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSnapshotExportTaskFilterOutput) -} - -// GetSnapshotExportTaskFilterArrayInput is an input type that accepts GetSnapshotExportTaskFilterArray and GetSnapshotExportTaskFilterArrayOutput values. -// You can construct a concrete instance of `GetSnapshotExportTaskFilterArrayInput` via: -// -// GetSnapshotExportTaskFilterArray{ GetSnapshotExportTaskFilterArgs{...} } -type GetSnapshotExportTaskFilterArrayInput interface { - pulumi.Input - - ToGetSnapshotExportTaskFilterArrayOutput() GetSnapshotExportTaskFilterArrayOutput - ToGetSnapshotExportTaskFilterArrayOutputWithContext(context.Context) GetSnapshotExportTaskFilterArrayOutput -} - -type GetSnapshotExportTaskFilterArray []GetSnapshotExportTaskFilterInput - -func (GetSnapshotExportTaskFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSnapshotExportTaskFilter)(nil)).Elem() -} - -func (i GetSnapshotExportTaskFilterArray) ToGetSnapshotExportTaskFilterArrayOutput() GetSnapshotExportTaskFilterArrayOutput { - return i.ToGetSnapshotExportTaskFilterArrayOutputWithContext(context.Background()) -} - -func (i GetSnapshotExportTaskFilterArray) ToGetSnapshotExportTaskFilterArrayOutputWithContext(ctx context.Context) GetSnapshotExportTaskFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSnapshotExportTaskFilterArrayOutput) -} - -type GetSnapshotExportTaskFilterOutput struct{ *pulumi.OutputState } - -func (GetSnapshotExportTaskFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSnapshotExportTaskFilter)(nil)).Elem() -} - -func (o GetSnapshotExportTaskFilterOutput) ToGetSnapshotExportTaskFilterOutput() GetSnapshotExportTaskFilterOutput { - return o -} - -func (o GetSnapshotExportTaskFilterOutput) ToGetSnapshotExportTaskFilterOutputWithContext(ctx context.Context) GetSnapshotExportTaskFilterOutput { - return o -} - -func (o GetSnapshotExportTaskFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetSnapshotExportTaskFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetSnapshotExportTaskFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetSnapshotExportTaskFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetSnapshotExportTaskFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetSnapshotExportTaskFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSnapshotExportTaskFilter)(nil)).Elem() -} - -func (o GetSnapshotExportTaskFilterArrayOutput) ToGetSnapshotExportTaskFilterArrayOutput() GetSnapshotExportTaskFilterArrayOutput { - return o -} - -func (o GetSnapshotExportTaskFilterArrayOutput) ToGetSnapshotExportTaskFilterArrayOutputWithContext(ctx context.Context) GetSnapshotExportTaskFilterArrayOutput { - return o -} - -func (o GetSnapshotExportTaskFilterArrayOutput) Index(i pulumi.IntInput) GetSnapshotExportTaskFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSnapshotExportTaskFilter { - return vs[0].([]GetSnapshotExportTaskFilter)[vs[1].(int)] - }).(GetSnapshotExportTaskFilterOutput) -} - -type GetSnapshotExportTaskOsuExport struct { - // The format of the export disk (`qcow2` \| `raw`). - DiskImageFormat string `pulumi:"diskImageFormat"` - // The name of the OOS bucket the snapshot is exported to. - OsuBucket string `pulumi:"osuBucket"` - // The prefix for the key of the OOS object corresponding to the snapshot. - OsuPrefix string `pulumi:"osuPrefix"` -} - -// GetSnapshotExportTaskOsuExportInput is an input type that accepts GetSnapshotExportTaskOsuExportArgs and GetSnapshotExportTaskOsuExportOutput values. -// You can construct a concrete instance of `GetSnapshotExportTaskOsuExportInput` via: -// -// GetSnapshotExportTaskOsuExportArgs{...} -type GetSnapshotExportTaskOsuExportInput interface { - pulumi.Input - - ToGetSnapshotExportTaskOsuExportOutput() GetSnapshotExportTaskOsuExportOutput - ToGetSnapshotExportTaskOsuExportOutputWithContext(context.Context) GetSnapshotExportTaskOsuExportOutput -} - -type GetSnapshotExportTaskOsuExportArgs struct { - // The format of the export disk (`qcow2` \| `raw`). - DiskImageFormat pulumi.StringInput `pulumi:"diskImageFormat"` - // The name of the OOS bucket the snapshot is exported to. - OsuBucket pulumi.StringInput `pulumi:"osuBucket"` - // The prefix for the key of the OOS object corresponding to the snapshot. - OsuPrefix pulumi.StringInput `pulumi:"osuPrefix"` -} - -func (GetSnapshotExportTaskOsuExportArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSnapshotExportTaskOsuExport)(nil)).Elem() -} - -func (i GetSnapshotExportTaskOsuExportArgs) ToGetSnapshotExportTaskOsuExportOutput() GetSnapshotExportTaskOsuExportOutput { - return i.ToGetSnapshotExportTaskOsuExportOutputWithContext(context.Background()) -} - -func (i GetSnapshotExportTaskOsuExportArgs) ToGetSnapshotExportTaskOsuExportOutputWithContext(ctx context.Context) GetSnapshotExportTaskOsuExportOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSnapshotExportTaskOsuExportOutput) -} - -// GetSnapshotExportTaskOsuExportArrayInput is an input type that accepts GetSnapshotExportTaskOsuExportArray and GetSnapshotExportTaskOsuExportArrayOutput values. -// You can construct a concrete instance of `GetSnapshotExportTaskOsuExportArrayInput` via: -// -// GetSnapshotExportTaskOsuExportArray{ GetSnapshotExportTaskOsuExportArgs{...} } -type GetSnapshotExportTaskOsuExportArrayInput interface { - pulumi.Input - - ToGetSnapshotExportTaskOsuExportArrayOutput() GetSnapshotExportTaskOsuExportArrayOutput - ToGetSnapshotExportTaskOsuExportArrayOutputWithContext(context.Context) GetSnapshotExportTaskOsuExportArrayOutput -} - -type GetSnapshotExportTaskOsuExportArray []GetSnapshotExportTaskOsuExportInput - -func (GetSnapshotExportTaskOsuExportArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSnapshotExportTaskOsuExport)(nil)).Elem() -} - -func (i GetSnapshotExportTaskOsuExportArray) ToGetSnapshotExportTaskOsuExportArrayOutput() GetSnapshotExportTaskOsuExportArrayOutput { - return i.ToGetSnapshotExportTaskOsuExportArrayOutputWithContext(context.Background()) -} - -func (i GetSnapshotExportTaskOsuExportArray) ToGetSnapshotExportTaskOsuExportArrayOutputWithContext(ctx context.Context) GetSnapshotExportTaskOsuExportArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSnapshotExportTaskOsuExportArrayOutput) -} - -type GetSnapshotExportTaskOsuExportOutput struct{ *pulumi.OutputState } - -func (GetSnapshotExportTaskOsuExportOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSnapshotExportTaskOsuExport)(nil)).Elem() -} - -func (o GetSnapshotExportTaskOsuExportOutput) ToGetSnapshotExportTaskOsuExportOutput() GetSnapshotExportTaskOsuExportOutput { - return o -} - -func (o GetSnapshotExportTaskOsuExportOutput) ToGetSnapshotExportTaskOsuExportOutputWithContext(ctx context.Context) GetSnapshotExportTaskOsuExportOutput { - return o -} - -// The format of the export disk (`qcow2` \| `raw`). -func (o GetSnapshotExportTaskOsuExportOutput) DiskImageFormat() pulumi.StringOutput { - return o.ApplyT(func(v GetSnapshotExportTaskOsuExport) string { return v.DiskImageFormat }).(pulumi.StringOutput) -} - -// The name of the OOS bucket the snapshot is exported to. -func (o GetSnapshotExportTaskOsuExportOutput) OsuBucket() pulumi.StringOutput { - return o.ApplyT(func(v GetSnapshotExportTaskOsuExport) string { return v.OsuBucket }).(pulumi.StringOutput) -} - -// The prefix for the key of the OOS object corresponding to the snapshot. -func (o GetSnapshotExportTaskOsuExportOutput) OsuPrefix() pulumi.StringOutput { - return o.ApplyT(func(v GetSnapshotExportTaskOsuExport) string { return v.OsuPrefix }).(pulumi.StringOutput) -} - -type GetSnapshotExportTaskOsuExportArrayOutput struct{ *pulumi.OutputState } - -func (GetSnapshotExportTaskOsuExportArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSnapshotExportTaskOsuExport)(nil)).Elem() -} - -func (o GetSnapshotExportTaskOsuExportArrayOutput) ToGetSnapshotExportTaskOsuExportArrayOutput() GetSnapshotExportTaskOsuExportArrayOutput { - return o -} - -func (o GetSnapshotExportTaskOsuExportArrayOutput) ToGetSnapshotExportTaskOsuExportArrayOutputWithContext(ctx context.Context) GetSnapshotExportTaskOsuExportArrayOutput { - return o -} - -func (o GetSnapshotExportTaskOsuExportArrayOutput) Index(i pulumi.IntInput) GetSnapshotExportTaskOsuExportOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSnapshotExportTaskOsuExport { - return vs[0].([]GetSnapshotExportTaskOsuExport)[vs[1].(int)] - }).(GetSnapshotExportTaskOsuExportOutput) -} - -type GetSnapshotExportTaskTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetSnapshotExportTaskTagInput is an input type that accepts GetSnapshotExportTaskTagArgs and GetSnapshotExportTaskTagOutput values. -// You can construct a concrete instance of `GetSnapshotExportTaskTagInput` via: -// -// GetSnapshotExportTaskTagArgs{...} -type GetSnapshotExportTaskTagInput interface { - pulumi.Input - - ToGetSnapshotExportTaskTagOutput() GetSnapshotExportTaskTagOutput - ToGetSnapshotExportTaskTagOutputWithContext(context.Context) GetSnapshotExportTaskTagOutput -} - -type GetSnapshotExportTaskTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetSnapshotExportTaskTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSnapshotExportTaskTag)(nil)).Elem() -} - -func (i GetSnapshotExportTaskTagArgs) ToGetSnapshotExportTaskTagOutput() GetSnapshotExportTaskTagOutput { - return i.ToGetSnapshotExportTaskTagOutputWithContext(context.Background()) -} - -func (i GetSnapshotExportTaskTagArgs) ToGetSnapshotExportTaskTagOutputWithContext(ctx context.Context) GetSnapshotExportTaskTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSnapshotExportTaskTagOutput) -} - -// GetSnapshotExportTaskTagArrayInput is an input type that accepts GetSnapshotExportTaskTagArray and GetSnapshotExportTaskTagArrayOutput values. -// You can construct a concrete instance of `GetSnapshotExportTaskTagArrayInput` via: -// -// GetSnapshotExportTaskTagArray{ GetSnapshotExportTaskTagArgs{...} } -type GetSnapshotExportTaskTagArrayInput interface { - pulumi.Input - - ToGetSnapshotExportTaskTagArrayOutput() GetSnapshotExportTaskTagArrayOutput - ToGetSnapshotExportTaskTagArrayOutputWithContext(context.Context) GetSnapshotExportTaskTagArrayOutput -} - -type GetSnapshotExportTaskTagArray []GetSnapshotExportTaskTagInput - -func (GetSnapshotExportTaskTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSnapshotExportTaskTag)(nil)).Elem() -} - -func (i GetSnapshotExportTaskTagArray) ToGetSnapshotExportTaskTagArrayOutput() GetSnapshotExportTaskTagArrayOutput { - return i.ToGetSnapshotExportTaskTagArrayOutputWithContext(context.Background()) -} - -func (i GetSnapshotExportTaskTagArray) ToGetSnapshotExportTaskTagArrayOutputWithContext(ctx context.Context) GetSnapshotExportTaskTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSnapshotExportTaskTagArrayOutput) -} - -type GetSnapshotExportTaskTagOutput struct{ *pulumi.OutputState } - -func (GetSnapshotExportTaskTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSnapshotExportTaskTag)(nil)).Elem() -} - -func (o GetSnapshotExportTaskTagOutput) ToGetSnapshotExportTaskTagOutput() GetSnapshotExportTaskTagOutput { - return o -} - -func (o GetSnapshotExportTaskTagOutput) ToGetSnapshotExportTaskTagOutputWithContext(ctx context.Context) GetSnapshotExportTaskTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetSnapshotExportTaskTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetSnapshotExportTaskTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetSnapshotExportTaskTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetSnapshotExportTaskTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetSnapshotExportTaskTagArrayOutput struct{ *pulumi.OutputState } - -func (GetSnapshotExportTaskTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSnapshotExportTaskTag)(nil)).Elem() -} - -func (o GetSnapshotExportTaskTagArrayOutput) ToGetSnapshotExportTaskTagArrayOutput() GetSnapshotExportTaskTagArrayOutput { - return o -} - -func (o GetSnapshotExportTaskTagArrayOutput) ToGetSnapshotExportTaskTagArrayOutputWithContext(ctx context.Context) GetSnapshotExportTaskTagArrayOutput { - return o -} - -func (o GetSnapshotExportTaskTagArrayOutput) Index(i pulumi.IntInput) GetSnapshotExportTaskTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSnapshotExportTaskTag { - return vs[0].([]GetSnapshotExportTaskTag)[vs[1].(int)] - }).(GetSnapshotExportTaskTagOutput) -} - -type GetSnapshotExportTasksFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetSnapshotExportTasksFilterInput is an input type that accepts GetSnapshotExportTasksFilterArgs and GetSnapshotExportTasksFilterOutput values. -// You can construct a concrete instance of `GetSnapshotExportTasksFilterInput` via: -// -// GetSnapshotExportTasksFilterArgs{...} -type GetSnapshotExportTasksFilterInput interface { - pulumi.Input - - ToGetSnapshotExportTasksFilterOutput() GetSnapshotExportTasksFilterOutput - ToGetSnapshotExportTasksFilterOutputWithContext(context.Context) GetSnapshotExportTasksFilterOutput -} - -type GetSnapshotExportTasksFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetSnapshotExportTasksFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSnapshotExportTasksFilter)(nil)).Elem() -} - -func (i GetSnapshotExportTasksFilterArgs) ToGetSnapshotExportTasksFilterOutput() GetSnapshotExportTasksFilterOutput { - return i.ToGetSnapshotExportTasksFilterOutputWithContext(context.Background()) -} - -func (i GetSnapshotExportTasksFilterArgs) ToGetSnapshotExportTasksFilterOutputWithContext(ctx context.Context) GetSnapshotExportTasksFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSnapshotExportTasksFilterOutput) -} - -// GetSnapshotExportTasksFilterArrayInput is an input type that accepts GetSnapshotExportTasksFilterArray and GetSnapshotExportTasksFilterArrayOutput values. -// You can construct a concrete instance of `GetSnapshotExportTasksFilterArrayInput` via: -// -// GetSnapshotExportTasksFilterArray{ GetSnapshotExportTasksFilterArgs{...} } -type GetSnapshotExportTasksFilterArrayInput interface { - pulumi.Input - - ToGetSnapshotExportTasksFilterArrayOutput() GetSnapshotExportTasksFilterArrayOutput - ToGetSnapshotExportTasksFilterArrayOutputWithContext(context.Context) GetSnapshotExportTasksFilterArrayOutput -} - -type GetSnapshotExportTasksFilterArray []GetSnapshotExportTasksFilterInput - -func (GetSnapshotExportTasksFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSnapshotExportTasksFilter)(nil)).Elem() -} - -func (i GetSnapshotExportTasksFilterArray) ToGetSnapshotExportTasksFilterArrayOutput() GetSnapshotExportTasksFilterArrayOutput { - return i.ToGetSnapshotExportTasksFilterArrayOutputWithContext(context.Background()) -} - -func (i GetSnapshotExportTasksFilterArray) ToGetSnapshotExportTasksFilterArrayOutputWithContext(ctx context.Context) GetSnapshotExportTasksFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSnapshotExportTasksFilterArrayOutput) -} - -type GetSnapshotExportTasksFilterOutput struct{ *pulumi.OutputState } - -func (GetSnapshotExportTasksFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSnapshotExportTasksFilter)(nil)).Elem() -} - -func (o GetSnapshotExportTasksFilterOutput) ToGetSnapshotExportTasksFilterOutput() GetSnapshotExportTasksFilterOutput { - return o -} - -func (o GetSnapshotExportTasksFilterOutput) ToGetSnapshotExportTasksFilterOutputWithContext(ctx context.Context) GetSnapshotExportTasksFilterOutput { - return o -} - -func (o GetSnapshotExportTasksFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetSnapshotExportTasksFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetSnapshotExportTasksFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetSnapshotExportTasksFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetSnapshotExportTasksFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetSnapshotExportTasksFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSnapshotExportTasksFilter)(nil)).Elem() -} - -func (o GetSnapshotExportTasksFilterArrayOutput) ToGetSnapshotExportTasksFilterArrayOutput() GetSnapshotExportTasksFilterArrayOutput { - return o -} - -func (o GetSnapshotExportTasksFilterArrayOutput) ToGetSnapshotExportTasksFilterArrayOutputWithContext(ctx context.Context) GetSnapshotExportTasksFilterArrayOutput { - return o -} - -func (o GetSnapshotExportTasksFilterArrayOutput) Index(i pulumi.IntInput) GetSnapshotExportTasksFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSnapshotExportTasksFilter { - return vs[0].([]GetSnapshotExportTasksFilter)[vs[1].(int)] - }).(GetSnapshotExportTasksFilterOutput) -} - -type GetSnapshotExportTasksSnapshotExportTask struct { - // If the snapshot export task fails, an error message appears. - Comment string `pulumi:"comment"` - // Information about the snapshot export task. - OsuExports []GetSnapshotExportTasksSnapshotExportTaskOsuExport `pulumi:"osuExports"` - // The progress of the snapshot export task, as a percentage. - Progress int `pulumi:"progress"` - // The ID of the snapshot to be exported. - SnapshotId string `pulumi:"snapshotId"` - // The state of the snapshot export task (`pending` \| `active` \| `completed` \| `failed`). - State string `pulumi:"state"` - // One or more tags associated with the snapshot export task. - Tags []GetSnapshotExportTasksSnapshotExportTaskTag `pulumi:"tags"` - // The ID of the snapshot export task. - TaskId string `pulumi:"taskId"` -} - -// GetSnapshotExportTasksSnapshotExportTaskInput is an input type that accepts GetSnapshotExportTasksSnapshotExportTaskArgs and GetSnapshotExportTasksSnapshotExportTaskOutput values. -// You can construct a concrete instance of `GetSnapshotExportTasksSnapshotExportTaskInput` via: -// -// GetSnapshotExportTasksSnapshotExportTaskArgs{...} -type GetSnapshotExportTasksSnapshotExportTaskInput interface { - pulumi.Input - - ToGetSnapshotExportTasksSnapshotExportTaskOutput() GetSnapshotExportTasksSnapshotExportTaskOutput - ToGetSnapshotExportTasksSnapshotExportTaskOutputWithContext(context.Context) GetSnapshotExportTasksSnapshotExportTaskOutput -} - -type GetSnapshotExportTasksSnapshotExportTaskArgs struct { - // If the snapshot export task fails, an error message appears. - Comment pulumi.StringInput `pulumi:"comment"` - // Information about the snapshot export task. - OsuExports GetSnapshotExportTasksSnapshotExportTaskOsuExportArrayInput `pulumi:"osuExports"` - // The progress of the snapshot export task, as a percentage. - Progress pulumi.IntInput `pulumi:"progress"` - // The ID of the snapshot to be exported. - SnapshotId pulumi.StringInput `pulumi:"snapshotId"` - // The state of the snapshot export task (`pending` \| `active` \| `completed` \| `failed`). - State pulumi.StringInput `pulumi:"state"` - // One or more tags associated with the snapshot export task. - Tags GetSnapshotExportTasksSnapshotExportTaskTagArrayInput `pulumi:"tags"` - // The ID of the snapshot export task. - TaskId pulumi.StringInput `pulumi:"taskId"` -} - -func (GetSnapshotExportTasksSnapshotExportTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSnapshotExportTasksSnapshotExportTask)(nil)).Elem() -} - -func (i GetSnapshotExportTasksSnapshotExportTaskArgs) ToGetSnapshotExportTasksSnapshotExportTaskOutput() GetSnapshotExportTasksSnapshotExportTaskOutput { - return i.ToGetSnapshotExportTasksSnapshotExportTaskOutputWithContext(context.Background()) -} - -func (i GetSnapshotExportTasksSnapshotExportTaskArgs) ToGetSnapshotExportTasksSnapshotExportTaskOutputWithContext(ctx context.Context) GetSnapshotExportTasksSnapshotExportTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSnapshotExportTasksSnapshotExportTaskOutput) -} - -// GetSnapshotExportTasksSnapshotExportTaskArrayInput is an input type that accepts GetSnapshotExportTasksSnapshotExportTaskArray and GetSnapshotExportTasksSnapshotExportTaskArrayOutput values. -// You can construct a concrete instance of `GetSnapshotExportTasksSnapshotExportTaskArrayInput` via: -// -// GetSnapshotExportTasksSnapshotExportTaskArray{ GetSnapshotExportTasksSnapshotExportTaskArgs{...} } -type GetSnapshotExportTasksSnapshotExportTaskArrayInput interface { - pulumi.Input - - ToGetSnapshotExportTasksSnapshotExportTaskArrayOutput() GetSnapshotExportTasksSnapshotExportTaskArrayOutput - ToGetSnapshotExportTasksSnapshotExportTaskArrayOutputWithContext(context.Context) GetSnapshotExportTasksSnapshotExportTaskArrayOutput -} - -type GetSnapshotExportTasksSnapshotExportTaskArray []GetSnapshotExportTasksSnapshotExportTaskInput - -func (GetSnapshotExportTasksSnapshotExportTaskArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSnapshotExportTasksSnapshotExportTask)(nil)).Elem() -} - -func (i GetSnapshotExportTasksSnapshotExportTaskArray) ToGetSnapshotExportTasksSnapshotExportTaskArrayOutput() GetSnapshotExportTasksSnapshotExportTaskArrayOutput { - return i.ToGetSnapshotExportTasksSnapshotExportTaskArrayOutputWithContext(context.Background()) -} - -func (i GetSnapshotExportTasksSnapshotExportTaskArray) ToGetSnapshotExportTasksSnapshotExportTaskArrayOutputWithContext(ctx context.Context) GetSnapshotExportTasksSnapshotExportTaskArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSnapshotExportTasksSnapshotExportTaskArrayOutput) -} - -type GetSnapshotExportTasksSnapshotExportTaskOutput struct{ *pulumi.OutputState } - -func (GetSnapshotExportTasksSnapshotExportTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSnapshotExportTasksSnapshotExportTask)(nil)).Elem() -} - -func (o GetSnapshotExportTasksSnapshotExportTaskOutput) ToGetSnapshotExportTasksSnapshotExportTaskOutput() GetSnapshotExportTasksSnapshotExportTaskOutput { - return o -} - -func (o GetSnapshotExportTasksSnapshotExportTaskOutput) ToGetSnapshotExportTasksSnapshotExportTaskOutputWithContext(ctx context.Context) GetSnapshotExportTasksSnapshotExportTaskOutput { - return o -} - -// If the snapshot export task fails, an error message appears. -func (o GetSnapshotExportTasksSnapshotExportTaskOutput) Comment() pulumi.StringOutput { - return o.ApplyT(func(v GetSnapshotExportTasksSnapshotExportTask) string { return v.Comment }).(pulumi.StringOutput) -} - -// Information about the snapshot export task. -func (o GetSnapshotExportTasksSnapshotExportTaskOutput) OsuExports() GetSnapshotExportTasksSnapshotExportTaskOsuExportArrayOutput { - return o.ApplyT(func(v GetSnapshotExportTasksSnapshotExportTask) []GetSnapshotExportTasksSnapshotExportTaskOsuExport { - return v.OsuExports - }).(GetSnapshotExportTasksSnapshotExportTaskOsuExportArrayOutput) -} - -// The progress of the snapshot export task, as a percentage. -func (o GetSnapshotExportTasksSnapshotExportTaskOutput) Progress() pulumi.IntOutput { - return o.ApplyT(func(v GetSnapshotExportTasksSnapshotExportTask) int { return v.Progress }).(pulumi.IntOutput) -} - -// The ID of the snapshot to be exported. -func (o GetSnapshotExportTasksSnapshotExportTaskOutput) SnapshotId() pulumi.StringOutput { - return o.ApplyT(func(v GetSnapshotExportTasksSnapshotExportTask) string { return v.SnapshotId }).(pulumi.StringOutput) -} - -// The state of the snapshot export task (`pending` \| `active` \| `completed` \| `failed`). -func (o GetSnapshotExportTasksSnapshotExportTaskOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetSnapshotExportTasksSnapshotExportTask) string { return v.State }).(pulumi.StringOutput) -} - -// One or more tags associated with the snapshot export task. -func (o GetSnapshotExportTasksSnapshotExportTaskOutput) Tags() GetSnapshotExportTasksSnapshotExportTaskTagArrayOutput { - return o.ApplyT(func(v GetSnapshotExportTasksSnapshotExportTask) []GetSnapshotExportTasksSnapshotExportTaskTag { - return v.Tags - }).(GetSnapshotExportTasksSnapshotExportTaskTagArrayOutput) -} - -// The ID of the snapshot export task. -func (o GetSnapshotExportTasksSnapshotExportTaskOutput) TaskId() pulumi.StringOutput { - return o.ApplyT(func(v GetSnapshotExportTasksSnapshotExportTask) string { return v.TaskId }).(pulumi.StringOutput) -} - -type GetSnapshotExportTasksSnapshotExportTaskArrayOutput struct{ *pulumi.OutputState } - -func (GetSnapshotExportTasksSnapshotExportTaskArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSnapshotExportTasksSnapshotExportTask)(nil)).Elem() -} - -func (o GetSnapshotExportTasksSnapshotExportTaskArrayOutput) ToGetSnapshotExportTasksSnapshotExportTaskArrayOutput() GetSnapshotExportTasksSnapshotExportTaskArrayOutput { - return o -} - -func (o GetSnapshotExportTasksSnapshotExportTaskArrayOutput) ToGetSnapshotExportTasksSnapshotExportTaskArrayOutputWithContext(ctx context.Context) GetSnapshotExportTasksSnapshotExportTaskArrayOutput { - return o -} - -func (o GetSnapshotExportTasksSnapshotExportTaskArrayOutput) Index(i pulumi.IntInput) GetSnapshotExportTasksSnapshotExportTaskOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSnapshotExportTasksSnapshotExportTask { - return vs[0].([]GetSnapshotExportTasksSnapshotExportTask)[vs[1].(int)] - }).(GetSnapshotExportTasksSnapshotExportTaskOutput) -} - -type GetSnapshotExportTasksSnapshotExportTaskOsuExport struct { - // The format of the export disk (`qcow2` \| `raw`). - DiskImageFormat string `pulumi:"diskImageFormat"` - // The name of the OOS bucket the snapshot is exported to. - OsuBucket string `pulumi:"osuBucket"` - // The prefix for the key of the OOS object corresponding to the snapshot. - OsuPrefix string `pulumi:"osuPrefix"` -} - -// GetSnapshotExportTasksSnapshotExportTaskOsuExportInput is an input type that accepts GetSnapshotExportTasksSnapshotExportTaskOsuExportArgs and GetSnapshotExportTasksSnapshotExportTaskOsuExportOutput values. -// You can construct a concrete instance of `GetSnapshotExportTasksSnapshotExportTaskOsuExportInput` via: -// -// GetSnapshotExportTasksSnapshotExportTaskOsuExportArgs{...} -type GetSnapshotExportTasksSnapshotExportTaskOsuExportInput interface { - pulumi.Input - - ToGetSnapshotExportTasksSnapshotExportTaskOsuExportOutput() GetSnapshotExportTasksSnapshotExportTaskOsuExportOutput - ToGetSnapshotExportTasksSnapshotExportTaskOsuExportOutputWithContext(context.Context) GetSnapshotExportTasksSnapshotExportTaskOsuExportOutput -} - -type GetSnapshotExportTasksSnapshotExportTaskOsuExportArgs struct { - // The format of the export disk (`qcow2` \| `raw`). - DiskImageFormat pulumi.StringInput `pulumi:"diskImageFormat"` - // The name of the OOS bucket the snapshot is exported to. - OsuBucket pulumi.StringInput `pulumi:"osuBucket"` - // The prefix for the key of the OOS object corresponding to the snapshot. - OsuPrefix pulumi.StringInput `pulumi:"osuPrefix"` -} - -func (GetSnapshotExportTasksSnapshotExportTaskOsuExportArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSnapshotExportTasksSnapshotExportTaskOsuExport)(nil)).Elem() -} - -func (i GetSnapshotExportTasksSnapshotExportTaskOsuExportArgs) ToGetSnapshotExportTasksSnapshotExportTaskOsuExportOutput() GetSnapshotExportTasksSnapshotExportTaskOsuExportOutput { - return i.ToGetSnapshotExportTasksSnapshotExportTaskOsuExportOutputWithContext(context.Background()) -} - -func (i GetSnapshotExportTasksSnapshotExportTaskOsuExportArgs) ToGetSnapshotExportTasksSnapshotExportTaskOsuExportOutputWithContext(ctx context.Context) GetSnapshotExportTasksSnapshotExportTaskOsuExportOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSnapshotExportTasksSnapshotExportTaskOsuExportOutput) -} - -// GetSnapshotExportTasksSnapshotExportTaskOsuExportArrayInput is an input type that accepts GetSnapshotExportTasksSnapshotExportTaskOsuExportArray and GetSnapshotExportTasksSnapshotExportTaskOsuExportArrayOutput values. -// You can construct a concrete instance of `GetSnapshotExportTasksSnapshotExportTaskOsuExportArrayInput` via: -// -// GetSnapshotExportTasksSnapshotExportTaskOsuExportArray{ GetSnapshotExportTasksSnapshotExportTaskOsuExportArgs{...} } -type GetSnapshotExportTasksSnapshotExportTaskOsuExportArrayInput interface { - pulumi.Input - - ToGetSnapshotExportTasksSnapshotExportTaskOsuExportArrayOutput() GetSnapshotExportTasksSnapshotExportTaskOsuExportArrayOutput - ToGetSnapshotExportTasksSnapshotExportTaskOsuExportArrayOutputWithContext(context.Context) GetSnapshotExportTasksSnapshotExportTaskOsuExportArrayOutput -} - -type GetSnapshotExportTasksSnapshotExportTaskOsuExportArray []GetSnapshotExportTasksSnapshotExportTaskOsuExportInput - -func (GetSnapshotExportTasksSnapshotExportTaskOsuExportArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSnapshotExportTasksSnapshotExportTaskOsuExport)(nil)).Elem() -} - -func (i GetSnapshotExportTasksSnapshotExportTaskOsuExportArray) ToGetSnapshotExportTasksSnapshotExportTaskOsuExportArrayOutput() GetSnapshotExportTasksSnapshotExportTaskOsuExportArrayOutput { - return i.ToGetSnapshotExportTasksSnapshotExportTaskOsuExportArrayOutputWithContext(context.Background()) -} - -func (i GetSnapshotExportTasksSnapshotExportTaskOsuExportArray) ToGetSnapshotExportTasksSnapshotExportTaskOsuExportArrayOutputWithContext(ctx context.Context) GetSnapshotExportTasksSnapshotExportTaskOsuExportArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSnapshotExportTasksSnapshotExportTaskOsuExportArrayOutput) -} - -type GetSnapshotExportTasksSnapshotExportTaskOsuExportOutput struct{ *pulumi.OutputState } - -func (GetSnapshotExportTasksSnapshotExportTaskOsuExportOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSnapshotExportTasksSnapshotExportTaskOsuExport)(nil)).Elem() -} - -func (o GetSnapshotExportTasksSnapshotExportTaskOsuExportOutput) ToGetSnapshotExportTasksSnapshotExportTaskOsuExportOutput() GetSnapshotExportTasksSnapshotExportTaskOsuExportOutput { - return o -} - -func (o GetSnapshotExportTasksSnapshotExportTaskOsuExportOutput) ToGetSnapshotExportTasksSnapshotExportTaskOsuExportOutputWithContext(ctx context.Context) GetSnapshotExportTasksSnapshotExportTaskOsuExportOutput { - return o -} - -// The format of the export disk (`qcow2` \| `raw`). -func (o GetSnapshotExportTasksSnapshotExportTaskOsuExportOutput) DiskImageFormat() pulumi.StringOutput { - return o.ApplyT(func(v GetSnapshotExportTasksSnapshotExportTaskOsuExport) string { return v.DiskImageFormat }).(pulumi.StringOutput) -} - -// The name of the OOS bucket the snapshot is exported to. -func (o GetSnapshotExportTasksSnapshotExportTaskOsuExportOutput) OsuBucket() pulumi.StringOutput { - return o.ApplyT(func(v GetSnapshotExportTasksSnapshotExportTaskOsuExport) string { return v.OsuBucket }).(pulumi.StringOutput) -} - -// The prefix for the key of the OOS object corresponding to the snapshot. -func (o GetSnapshotExportTasksSnapshotExportTaskOsuExportOutput) OsuPrefix() pulumi.StringOutput { - return o.ApplyT(func(v GetSnapshotExportTasksSnapshotExportTaskOsuExport) string { return v.OsuPrefix }).(pulumi.StringOutput) -} - -type GetSnapshotExportTasksSnapshotExportTaskOsuExportArrayOutput struct{ *pulumi.OutputState } - -func (GetSnapshotExportTasksSnapshotExportTaskOsuExportArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSnapshotExportTasksSnapshotExportTaskOsuExport)(nil)).Elem() -} - -func (o GetSnapshotExportTasksSnapshotExportTaskOsuExportArrayOutput) ToGetSnapshotExportTasksSnapshotExportTaskOsuExportArrayOutput() GetSnapshotExportTasksSnapshotExportTaskOsuExportArrayOutput { - return o -} - -func (o GetSnapshotExportTasksSnapshotExportTaskOsuExportArrayOutput) ToGetSnapshotExportTasksSnapshotExportTaskOsuExportArrayOutputWithContext(ctx context.Context) GetSnapshotExportTasksSnapshotExportTaskOsuExportArrayOutput { - return o -} - -func (o GetSnapshotExportTasksSnapshotExportTaskOsuExportArrayOutput) Index(i pulumi.IntInput) GetSnapshotExportTasksSnapshotExportTaskOsuExportOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSnapshotExportTasksSnapshotExportTaskOsuExport { - return vs[0].([]GetSnapshotExportTasksSnapshotExportTaskOsuExport)[vs[1].(int)] - }).(GetSnapshotExportTasksSnapshotExportTaskOsuExportOutput) -} - -type GetSnapshotExportTasksSnapshotExportTaskTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetSnapshotExportTasksSnapshotExportTaskTagInput is an input type that accepts GetSnapshotExportTasksSnapshotExportTaskTagArgs and GetSnapshotExportTasksSnapshotExportTaskTagOutput values. -// You can construct a concrete instance of `GetSnapshotExportTasksSnapshotExportTaskTagInput` via: -// -// GetSnapshotExportTasksSnapshotExportTaskTagArgs{...} -type GetSnapshotExportTasksSnapshotExportTaskTagInput interface { - pulumi.Input - - ToGetSnapshotExportTasksSnapshotExportTaskTagOutput() GetSnapshotExportTasksSnapshotExportTaskTagOutput - ToGetSnapshotExportTasksSnapshotExportTaskTagOutputWithContext(context.Context) GetSnapshotExportTasksSnapshotExportTaskTagOutput -} - -type GetSnapshotExportTasksSnapshotExportTaskTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetSnapshotExportTasksSnapshotExportTaskTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSnapshotExportTasksSnapshotExportTaskTag)(nil)).Elem() -} - -func (i GetSnapshotExportTasksSnapshotExportTaskTagArgs) ToGetSnapshotExportTasksSnapshotExportTaskTagOutput() GetSnapshotExportTasksSnapshotExportTaskTagOutput { - return i.ToGetSnapshotExportTasksSnapshotExportTaskTagOutputWithContext(context.Background()) -} - -func (i GetSnapshotExportTasksSnapshotExportTaskTagArgs) ToGetSnapshotExportTasksSnapshotExportTaskTagOutputWithContext(ctx context.Context) GetSnapshotExportTasksSnapshotExportTaskTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSnapshotExportTasksSnapshotExportTaskTagOutput) -} - -// GetSnapshotExportTasksSnapshotExportTaskTagArrayInput is an input type that accepts GetSnapshotExportTasksSnapshotExportTaskTagArray and GetSnapshotExportTasksSnapshotExportTaskTagArrayOutput values. -// You can construct a concrete instance of `GetSnapshotExportTasksSnapshotExportTaskTagArrayInput` via: -// -// GetSnapshotExportTasksSnapshotExportTaskTagArray{ GetSnapshotExportTasksSnapshotExportTaskTagArgs{...} } -type GetSnapshotExportTasksSnapshotExportTaskTagArrayInput interface { - pulumi.Input - - ToGetSnapshotExportTasksSnapshotExportTaskTagArrayOutput() GetSnapshotExportTasksSnapshotExportTaskTagArrayOutput - ToGetSnapshotExportTasksSnapshotExportTaskTagArrayOutputWithContext(context.Context) GetSnapshotExportTasksSnapshotExportTaskTagArrayOutput -} - -type GetSnapshotExportTasksSnapshotExportTaskTagArray []GetSnapshotExportTasksSnapshotExportTaskTagInput - -func (GetSnapshotExportTasksSnapshotExportTaskTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSnapshotExportTasksSnapshotExportTaskTag)(nil)).Elem() -} - -func (i GetSnapshotExportTasksSnapshotExportTaskTagArray) ToGetSnapshotExportTasksSnapshotExportTaskTagArrayOutput() GetSnapshotExportTasksSnapshotExportTaskTagArrayOutput { - return i.ToGetSnapshotExportTasksSnapshotExportTaskTagArrayOutputWithContext(context.Background()) -} - -func (i GetSnapshotExportTasksSnapshotExportTaskTagArray) ToGetSnapshotExportTasksSnapshotExportTaskTagArrayOutputWithContext(ctx context.Context) GetSnapshotExportTasksSnapshotExportTaskTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSnapshotExportTasksSnapshotExportTaskTagArrayOutput) -} - -type GetSnapshotExportTasksSnapshotExportTaskTagOutput struct{ *pulumi.OutputState } - -func (GetSnapshotExportTasksSnapshotExportTaskTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSnapshotExportTasksSnapshotExportTaskTag)(nil)).Elem() -} - -func (o GetSnapshotExportTasksSnapshotExportTaskTagOutput) ToGetSnapshotExportTasksSnapshotExportTaskTagOutput() GetSnapshotExportTasksSnapshotExportTaskTagOutput { - return o -} - -func (o GetSnapshotExportTasksSnapshotExportTaskTagOutput) ToGetSnapshotExportTasksSnapshotExportTaskTagOutputWithContext(ctx context.Context) GetSnapshotExportTasksSnapshotExportTaskTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetSnapshotExportTasksSnapshotExportTaskTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetSnapshotExportTasksSnapshotExportTaskTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetSnapshotExportTasksSnapshotExportTaskTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetSnapshotExportTasksSnapshotExportTaskTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetSnapshotExportTasksSnapshotExportTaskTagArrayOutput struct{ *pulumi.OutputState } - -func (GetSnapshotExportTasksSnapshotExportTaskTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSnapshotExportTasksSnapshotExportTaskTag)(nil)).Elem() -} - -func (o GetSnapshotExportTasksSnapshotExportTaskTagArrayOutput) ToGetSnapshotExportTasksSnapshotExportTaskTagArrayOutput() GetSnapshotExportTasksSnapshotExportTaskTagArrayOutput { - return o -} - -func (o GetSnapshotExportTasksSnapshotExportTaskTagArrayOutput) ToGetSnapshotExportTasksSnapshotExportTaskTagArrayOutputWithContext(ctx context.Context) GetSnapshotExportTasksSnapshotExportTaskTagArrayOutput { - return o -} - -func (o GetSnapshotExportTasksSnapshotExportTaskTagArrayOutput) Index(i pulumi.IntInput) GetSnapshotExportTasksSnapshotExportTaskTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSnapshotExportTasksSnapshotExportTaskTag { - return vs[0].([]GetSnapshotExportTasksSnapshotExportTaskTag)[vs[1].(int)] - }).(GetSnapshotExportTasksSnapshotExportTaskTagOutput) -} - -type GetSnapshotFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetSnapshotFilterInput is an input type that accepts GetSnapshotFilterArgs and GetSnapshotFilterOutput values. -// You can construct a concrete instance of `GetSnapshotFilterInput` via: -// -// GetSnapshotFilterArgs{...} -type GetSnapshotFilterInput interface { - pulumi.Input - - ToGetSnapshotFilterOutput() GetSnapshotFilterOutput - ToGetSnapshotFilterOutputWithContext(context.Context) GetSnapshotFilterOutput -} - -type GetSnapshotFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetSnapshotFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSnapshotFilter)(nil)).Elem() -} - -func (i GetSnapshotFilterArgs) ToGetSnapshotFilterOutput() GetSnapshotFilterOutput { - return i.ToGetSnapshotFilterOutputWithContext(context.Background()) -} - -func (i GetSnapshotFilterArgs) ToGetSnapshotFilterOutputWithContext(ctx context.Context) GetSnapshotFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSnapshotFilterOutput) -} - -// GetSnapshotFilterArrayInput is an input type that accepts GetSnapshotFilterArray and GetSnapshotFilterArrayOutput values. -// You can construct a concrete instance of `GetSnapshotFilterArrayInput` via: -// -// GetSnapshotFilterArray{ GetSnapshotFilterArgs{...} } -type GetSnapshotFilterArrayInput interface { - pulumi.Input - - ToGetSnapshotFilterArrayOutput() GetSnapshotFilterArrayOutput - ToGetSnapshotFilterArrayOutputWithContext(context.Context) GetSnapshotFilterArrayOutput -} - -type GetSnapshotFilterArray []GetSnapshotFilterInput - -func (GetSnapshotFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSnapshotFilter)(nil)).Elem() -} - -func (i GetSnapshotFilterArray) ToGetSnapshotFilterArrayOutput() GetSnapshotFilterArrayOutput { - return i.ToGetSnapshotFilterArrayOutputWithContext(context.Background()) -} - -func (i GetSnapshotFilterArray) ToGetSnapshotFilterArrayOutputWithContext(ctx context.Context) GetSnapshotFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSnapshotFilterArrayOutput) -} - -type GetSnapshotFilterOutput struct{ *pulumi.OutputState } - -func (GetSnapshotFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSnapshotFilter)(nil)).Elem() -} - -func (o GetSnapshotFilterOutput) ToGetSnapshotFilterOutput() GetSnapshotFilterOutput { - return o -} - -func (o GetSnapshotFilterOutput) ToGetSnapshotFilterOutputWithContext(ctx context.Context) GetSnapshotFilterOutput { - return o -} - -func (o GetSnapshotFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetSnapshotFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetSnapshotFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetSnapshotFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetSnapshotFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetSnapshotFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSnapshotFilter)(nil)).Elem() -} - -func (o GetSnapshotFilterArrayOutput) ToGetSnapshotFilterArrayOutput() GetSnapshotFilterArrayOutput { - return o -} - -func (o GetSnapshotFilterArrayOutput) ToGetSnapshotFilterArrayOutputWithContext(ctx context.Context) GetSnapshotFilterArrayOutput { - return o -} - -func (o GetSnapshotFilterArrayOutput) Index(i pulumi.IntInput) GetSnapshotFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSnapshotFilter { - return vs[0].([]GetSnapshotFilter)[vs[1].(int)] - }).(GetSnapshotFilterOutput) -} - -type GetSnapshotPermissionsToCreateVolume struct { - // The account IDs of the owners of the snapshots. - AccountIds []string `pulumi:"accountIds"` - // A global permission for all accounts.
- // (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).
- // (Response) If true, the resource is public. If false, the resource is private. - GlobalPermission bool `pulumi:"globalPermission"` -} - -// GetSnapshotPermissionsToCreateVolumeInput is an input type that accepts GetSnapshotPermissionsToCreateVolumeArgs and GetSnapshotPermissionsToCreateVolumeOutput values. -// You can construct a concrete instance of `GetSnapshotPermissionsToCreateVolumeInput` via: -// -// GetSnapshotPermissionsToCreateVolumeArgs{...} -type GetSnapshotPermissionsToCreateVolumeInput interface { - pulumi.Input - - ToGetSnapshotPermissionsToCreateVolumeOutput() GetSnapshotPermissionsToCreateVolumeOutput - ToGetSnapshotPermissionsToCreateVolumeOutputWithContext(context.Context) GetSnapshotPermissionsToCreateVolumeOutput -} - -type GetSnapshotPermissionsToCreateVolumeArgs struct { - // The account IDs of the owners of the snapshots. - AccountIds pulumi.StringArrayInput `pulumi:"accountIds"` - // A global permission for all accounts.
- // (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).
- // (Response) If true, the resource is public. If false, the resource is private. - GlobalPermission pulumi.BoolInput `pulumi:"globalPermission"` -} - -func (GetSnapshotPermissionsToCreateVolumeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSnapshotPermissionsToCreateVolume)(nil)).Elem() -} - -func (i GetSnapshotPermissionsToCreateVolumeArgs) ToGetSnapshotPermissionsToCreateVolumeOutput() GetSnapshotPermissionsToCreateVolumeOutput { - return i.ToGetSnapshotPermissionsToCreateVolumeOutputWithContext(context.Background()) -} - -func (i GetSnapshotPermissionsToCreateVolumeArgs) ToGetSnapshotPermissionsToCreateVolumeOutputWithContext(ctx context.Context) GetSnapshotPermissionsToCreateVolumeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSnapshotPermissionsToCreateVolumeOutput) -} - -// GetSnapshotPermissionsToCreateVolumeArrayInput is an input type that accepts GetSnapshotPermissionsToCreateVolumeArray and GetSnapshotPermissionsToCreateVolumeArrayOutput values. -// You can construct a concrete instance of `GetSnapshotPermissionsToCreateVolumeArrayInput` via: -// -// GetSnapshotPermissionsToCreateVolumeArray{ GetSnapshotPermissionsToCreateVolumeArgs{...} } -type GetSnapshotPermissionsToCreateVolumeArrayInput interface { - pulumi.Input - - ToGetSnapshotPermissionsToCreateVolumeArrayOutput() GetSnapshotPermissionsToCreateVolumeArrayOutput - ToGetSnapshotPermissionsToCreateVolumeArrayOutputWithContext(context.Context) GetSnapshotPermissionsToCreateVolumeArrayOutput -} - -type GetSnapshotPermissionsToCreateVolumeArray []GetSnapshotPermissionsToCreateVolumeInput - -func (GetSnapshotPermissionsToCreateVolumeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSnapshotPermissionsToCreateVolume)(nil)).Elem() -} - -func (i GetSnapshotPermissionsToCreateVolumeArray) ToGetSnapshotPermissionsToCreateVolumeArrayOutput() GetSnapshotPermissionsToCreateVolumeArrayOutput { - return i.ToGetSnapshotPermissionsToCreateVolumeArrayOutputWithContext(context.Background()) -} - -func (i GetSnapshotPermissionsToCreateVolumeArray) ToGetSnapshotPermissionsToCreateVolumeArrayOutputWithContext(ctx context.Context) GetSnapshotPermissionsToCreateVolumeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSnapshotPermissionsToCreateVolumeArrayOutput) -} - -type GetSnapshotPermissionsToCreateVolumeOutput struct{ *pulumi.OutputState } - -func (GetSnapshotPermissionsToCreateVolumeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSnapshotPermissionsToCreateVolume)(nil)).Elem() -} - -func (o GetSnapshotPermissionsToCreateVolumeOutput) ToGetSnapshotPermissionsToCreateVolumeOutput() GetSnapshotPermissionsToCreateVolumeOutput { - return o -} - -func (o GetSnapshotPermissionsToCreateVolumeOutput) ToGetSnapshotPermissionsToCreateVolumeOutputWithContext(ctx context.Context) GetSnapshotPermissionsToCreateVolumeOutput { - return o -} - -// The account IDs of the owners of the snapshots. -func (o GetSnapshotPermissionsToCreateVolumeOutput) AccountIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetSnapshotPermissionsToCreateVolume) []string { return v.AccountIds }).(pulumi.StringArrayOutput) -} - -// A global permission for all accounts.
-// (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).
-// (Response) If true, the resource is public. If false, the resource is private. -func (o GetSnapshotPermissionsToCreateVolumeOutput) GlobalPermission() pulumi.BoolOutput { - return o.ApplyT(func(v GetSnapshotPermissionsToCreateVolume) bool { return v.GlobalPermission }).(pulumi.BoolOutput) -} - -type GetSnapshotPermissionsToCreateVolumeArrayOutput struct{ *pulumi.OutputState } - -func (GetSnapshotPermissionsToCreateVolumeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSnapshotPermissionsToCreateVolume)(nil)).Elem() -} - -func (o GetSnapshotPermissionsToCreateVolumeArrayOutput) ToGetSnapshotPermissionsToCreateVolumeArrayOutput() GetSnapshotPermissionsToCreateVolumeArrayOutput { - return o -} - -func (o GetSnapshotPermissionsToCreateVolumeArrayOutput) ToGetSnapshotPermissionsToCreateVolumeArrayOutputWithContext(ctx context.Context) GetSnapshotPermissionsToCreateVolumeArrayOutput { - return o -} - -func (o GetSnapshotPermissionsToCreateVolumeArrayOutput) Index(i pulumi.IntInput) GetSnapshotPermissionsToCreateVolumeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSnapshotPermissionsToCreateVolume { - return vs[0].([]GetSnapshotPermissionsToCreateVolume)[vs[1].(int)] - }).(GetSnapshotPermissionsToCreateVolumeOutput) -} - -type GetSnapshotTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetSnapshotTagInput is an input type that accepts GetSnapshotTagArgs and GetSnapshotTagOutput values. -// You can construct a concrete instance of `GetSnapshotTagInput` via: -// -// GetSnapshotTagArgs{...} -type GetSnapshotTagInput interface { - pulumi.Input - - ToGetSnapshotTagOutput() GetSnapshotTagOutput - ToGetSnapshotTagOutputWithContext(context.Context) GetSnapshotTagOutput -} - -type GetSnapshotTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetSnapshotTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSnapshotTag)(nil)).Elem() -} - -func (i GetSnapshotTagArgs) ToGetSnapshotTagOutput() GetSnapshotTagOutput { - return i.ToGetSnapshotTagOutputWithContext(context.Background()) -} - -func (i GetSnapshotTagArgs) ToGetSnapshotTagOutputWithContext(ctx context.Context) GetSnapshotTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSnapshotTagOutput) -} - -// GetSnapshotTagArrayInput is an input type that accepts GetSnapshotTagArray and GetSnapshotTagArrayOutput values. -// You can construct a concrete instance of `GetSnapshotTagArrayInput` via: -// -// GetSnapshotTagArray{ GetSnapshotTagArgs{...} } -type GetSnapshotTagArrayInput interface { - pulumi.Input - - ToGetSnapshotTagArrayOutput() GetSnapshotTagArrayOutput - ToGetSnapshotTagArrayOutputWithContext(context.Context) GetSnapshotTagArrayOutput -} - -type GetSnapshotTagArray []GetSnapshotTagInput - -func (GetSnapshotTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSnapshotTag)(nil)).Elem() -} - -func (i GetSnapshotTagArray) ToGetSnapshotTagArrayOutput() GetSnapshotTagArrayOutput { - return i.ToGetSnapshotTagArrayOutputWithContext(context.Background()) -} - -func (i GetSnapshotTagArray) ToGetSnapshotTagArrayOutputWithContext(ctx context.Context) GetSnapshotTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSnapshotTagArrayOutput) -} - -type GetSnapshotTagOutput struct{ *pulumi.OutputState } - -func (GetSnapshotTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSnapshotTag)(nil)).Elem() -} - -func (o GetSnapshotTagOutput) ToGetSnapshotTagOutput() GetSnapshotTagOutput { - return o -} - -func (o GetSnapshotTagOutput) ToGetSnapshotTagOutputWithContext(ctx context.Context) GetSnapshotTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetSnapshotTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetSnapshotTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetSnapshotTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetSnapshotTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetSnapshotTagArrayOutput struct{ *pulumi.OutputState } - -func (GetSnapshotTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSnapshotTag)(nil)).Elem() -} - -func (o GetSnapshotTagArrayOutput) ToGetSnapshotTagArrayOutput() GetSnapshotTagArrayOutput { - return o -} - -func (o GetSnapshotTagArrayOutput) ToGetSnapshotTagArrayOutputWithContext(ctx context.Context) GetSnapshotTagArrayOutput { - return o -} - -func (o GetSnapshotTagArrayOutput) Index(i pulumi.IntInput) GetSnapshotTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSnapshotTag { - return vs[0].([]GetSnapshotTag)[vs[1].(int)] - }).(GetSnapshotTagOutput) -} - -type GetSnapshotsFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetSnapshotsFilterInput is an input type that accepts GetSnapshotsFilterArgs and GetSnapshotsFilterOutput values. -// You can construct a concrete instance of `GetSnapshotsFilterInput` via: -// -// GetSnapshotsFilterArgs{...} -type GetSnapshotsFilterInput interface { - pulumi.Input - - ToGetSnapshotsFilterOutput() GetSnapshotsFilterOutput - ToGetSnapshotsFilterOutputWithContext(context.Context) GetSnapshotsFilterOutput -} - -type GetSnapshotsFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetSnapshotsFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSnapshotsFilter)(nil)).Elem() -} - -func (i GetSnapshotsFilterArgs) ToGetSnapshotsFilterOutput() GetSnapshotsFilterOutput { - return i.ToGetSnapshotsFilterOutputWithContext(context.Background()) -} - -func (i GetSnapshotsFilterArgs) ToGetSnapshotsFilterOutputWithContext(ctx context.Context) GetSnapshotsFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSnapshotsFilterOutput) -} - -// GetSnapshotsFilterArrayInput is an input type that accepts GetSnapshotsFilterArray and GetSnapshotsFilterArrayOutput values. -// You can construct a concrete instance of `GetSnapshotsFilterArrayInput` via: -// -// GetSnapshotsFilterArray{ GetSnapshotsFilterArgs{...} } -type GetSnapshotsFilterArrayInput interface { - pulumi.Input - - ToGetSnapshotsFilterArrayOutput() GetSnapshotsFilterArrayOutput - ToGetSnapshotsFilterArrayOutputWithContext(context.Context) GetSnapshotsFilterArrayOutput -} - -type GetSnapshotsFilterArray []GetSnapshotsFilterInput - -func (GetSnapshotsFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSnapshotsFilter)(nil)).Elem() -} - -func (i GetSnapshotsFilterArray) ToGetSnapshotsFilterArrayOutput() GetSnapshotsFilterArrayOutput { - return i.ToGetSnapshotsFilterArrayOutputWithContext(context.Background()) -} - -func (i GetSnapshotsFilterArray) ToGetSnapshotsFilterArrayOutputWithContext(ctx context.Context) GetSnapshotsFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSnapshotsFilterArrayOutput) -} - -type GetSnapshotsFilterOutput struct{ *pulumi.OutputState } - -func (GetSnapshotsFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSnapshotsFilter)(nil)).Elem() -} - -func (o GetSnapshotsFilterOutput) ToGetSnapshotsFilterOutput() GetSnapshotsFilterOutput { - return o -} - -func (o GetSnapshotsFilterOutput) ToGetSnapshotsFilterOutputWithContext(ctx context.Context) GetSnapshotsFilterOutput { - return o -} - -func (o GetSnapshotsFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetSnapshotsFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetSnapshotsFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetSnapshotsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetSnapshotsFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetSnapshotsFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSnapshotsFilter)(nil)).Elem() -} - -func (o GetSnapshotsFilterArrayOutput) ToGetSnapshotsFilterArrayOutput() GetSnapshotsFilterArrayOutput { - return o -} - -func (o GetSnapshotsFilterArrayOutput) ToGetSnapshotsFilterArrayOutputWithContext(ctx context.Context) GetSnapshotsFilterArrayOutput { - return o -} - -func (o GetSnapshotsFilterArrayOutput) Index(i pulumi.IntInput) GetSnapshotsFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSnapshotsFilter { - return vs[0].([]GetSnapshotsFilter)[vs[1].(int)] - }).(GetSnapshotsFilterOutput) -} - -type GetSnapshotsSnapshot struct { - // The account alias of the owner of the snapshot. - AccountAlias string `pulumi:"accountAlias"` - // The account ID of the owner of the snapshot. - AccountId string `pulumi:"accountId"` - // The date and time of creation of the snapshot. - CreationDate string `pulumi:"creationDate"` - // The description of the snapshot. - Description string `pulumi:"description"` - // Permissions for the resource. - PermissionsToCreateVolumes []GetSnapshotsSnapshotPermissionsToCreateVolume `pulumi:"permissionsToCreateVolumes"` - // The progress of the snapshot, as a percentage. - Progress int `pulumi:"progress"` - // The ID of the snapshot. - SnapshotId string `pulumi:"snapshotId"` - // The state of the snapshot (`in-queue` \| `completed` \| `error`). - State string `pulumi:"state"` - // The key/value combinations of the tags associated with the snapshots, in the following format: `TAGKEY=TAGVALUE`. - Tags []GetSnapshotsSnapshotTag `pulumi:"tags"` - // The ID of the volume used to create the snapshot. - VolumeId string `pulumi:"volumeId"` - // The size of the volume used to create the snapshot, in gibibytes (GiB). - VolumeSize int `pulumi:"volumeSize"` -} - -// GetSnapshotsSnapshotInput is an input type that accepts GetSnapshotsSnapshotArgs and GetSnapshotsSnapshotOutput values. -// You can construct a concrete instance of `GetSnapshotsSnapshotInput` via: -// -// GetSnapshotsSnapshotArgs{...} -type GetSnapshotsSnapshotInput interface { - pulumi.Input - - ToGetSnapshotsSnapshotOutput() GetSnapshotsSnapshotOutput - ToGetSnapshotsSnapshotOutputWithContext(context.Context) GetSnapshotsSnapshotOutput -} - -type GetSnapshotsSnapshotArgs struct { - // The account alias of the owner of the snapshot. - AccountAlias pulumi.StringInput `pulumi:"accountAlias"` - // The account ID of the owner of the snapshot. - AccountId pulumi.StringInput `pulumi:"accountId"` - // The date and time of creation of the snapshot. - CreationDate pulumi.StringInput `pulumi:"creationDate"` - // The description of the snapshot. - Description pulumi.StringInput `pulumi:"description"` - // Permissions for the resource. - PermissionsToCreateVolumes GetSnapshotsSnapshotPermissionsToCreateVolumeArrayInput `pulumi:"permissionsToCreateVolumes"` - // The progress of the snapshot, as a percentage. - Progress pulumi.IntInput `pulumi:"progress"` - // The ID of the snapshot. - SnapshotId pulumi.StringInput `pulumi:"snapshotId"` - // The state of the snapshot (`in-queue` \| `completed` \| `error`). - State pulumi.StringInput `pulumi:"state"` - // The key/value combinations of the tags associated with the snapshots, in the following format: `TAGKEY=TAGVALUE`. - Tags GetSnapshotsSnapshotTagArrayInput `pulumi:"tags"` - // The ID of the volume used to create the snapshot. - VolumeId pulumi.StringInput `pulumi:"volumeId"` - // The size of the volume used to create the snapshot, in gibibytes (GiB). - VolumeSize pulumi.IntInput `pulumi:"volumeSize"` -} - -func (GetSnapshotsSnapshotArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSnapshotsSnapshot)(nil)).Elem() -} - -func (i GetSnapshotsSnapshotArgs) ToGetSnapshotsSnapshotOutput() GetSnapshotsSnapshotOutput { - return i.ToGetSnapshotsSnapshotOutputWithContext(context.Background()) -} - -func (i GetSnapshotsSnapshotArgs) ToGetSnapshotsSnapshotOutputWithContext(ctx context.Context) GetSnapshotsSnapshotOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSnapshotsSnapshotOutput) -} - -// GetSnapshotsSnapshotArrayInput is an input type that accepts GetSnapshotsSnapshotArray and GetSnapshotsSnapshotArrayOutput values. -// You can construct a concrete instance of `GetSnapshotsSnapshotArrayInput` via: -// -// GetSnapshotsSnapshotArray{ GetSnapshotsSnapshotArgs{...} } -type GetSnapshotsSnapshotArrayInput interface { - pulumi.Input - - ToGetSnapshotsSnapshotArrayOutput() GetSnapshotsSnapshotArrayOutput - ToGetSnapshotsSnapshotArrayOutputWithContext(context.Context) GetSnapshotsSnapshotArrayOutput -} - -type GetSnapshotsSnapshotArray []GetSnapshotsSnapshotInput - -func (GetSnapshotsSnapshotArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSnapshotsSnapshot)(nil)).Elem() -} - -func (i GetSnapshotsSnapshotArray) ToGetSnapshotsSnapshotArrayOutput() GetSnapshotsSnapshotArrayOutput { - return i.ToGetSnapshotsSnapshotArrayOutputWithContext(context.Background()) -} - -func (i GetSnapshotsSnapshotArray) ToGetSnapshotsSnapshotArrayOutputWithContext(ctx context.Context) GetSnapshotsSnapshotArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSnapshotsSnapshotArrayOutput) -} - -type GetSnapshotsSnapshotOutput struct{ *pulumi.OutputState } - -func (GetSnapshotsSnapshotOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSnapshotsSnapshot)(nil)).Elem() -} - -func (o GetSnapshotsSnapshotOutput) ToGetSnapshotsSnapshotOutput() GetSnapshotsSnapshotOutput { - return o -} - -func (o GetSnapshotsSnapshotOutput) ToGetSnapshotsSnapshotOutputWithContext(ctx context.Context) GetSnapshotsSnapshotOutput { - return o -} - -// The account alias of the owner of the snapshot. -func (o GetSnapshotsSnapshotOutput) AccountAlias() pulumi.StringOutput { - return o.ApplyT(func(v GetSnapshotsSnapshot) string { return v.AccountAlias }).(pulumi.StringOutput) -} - -// The account ID of the owner of the snapshot. -func (o GetSnapshotsSnapshotOutput) AccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetSnapshotsSnapshot) string { return v.AccountId }).(pulumi.StringOutput) -} - -// The date and time of creation of the snapshot. -func (o GetSnapshotsSnapshotOutput) CreationDate() pulumi.StringOutput { - return o.ApplyT(func(v GetSnapshotsSnapshot) string { return v.CreationDate }).(pulumi.StringOutput) -} - -// The description of the snapshot. -func (o GetSnapshotsSnapshotOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetSnapshotsSnapshot) string { return v.Description }).(pulumi.StringOutput) -} - -// Permissions for the resource. -func (o GetSnapshotsSnapshotOutput) PermissionsToCreateVolumes() GetSnapshotsSnapshotPermissionsToCreateVolumeArrayOutput { - return o.ApplyT(func(v GetSnapshotsSnapshot) []GetSnapshotsSnapshotPermissionsToCreateVolume { - return v.PermissionsToCreateVolumes - }).(GetSnapshotsSnapshotPermissionsToCreateVolumeArrayOutput) -} - -// The progress of the snapshot, as a percentage. -func (o GetSnapshotsSnapshotOutput) Progress() pulumi.IntOutput { - return o.ApplyT(func(v GetSnapshotsSnapshot) int { return v.Progress }).(pulumi.IntOutput) -} - -// The ID of the snapshot. -func (o GetSnapshotsSnapshotOutput) SnapshotId() pulumi.StringOutput { - return o.ApplyT(func(v GetSnapshotsSnapshot) string { return v.SnapshotId }).(pulumi.StringOutput) -} - -// The state of the snapshot (`in-queue` \| `completed` \| `error`). -func (o GetSnapshotsSnapshotOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetSnapshotsSnapshot) string { return v.State }).(pulumi.StringOutput) -} - -// The key/value combinations of the tags associated with the snapshots, in the following format: `TAGKEY=TAGVALUE`. -func (o GetSnapshotsSnapshotOutput) Tags() GetSnapshotsSnapshotTagArrayOutput { - return o.ApplyT(func(v GetSnapshotsSnapshot) []GetSnapshotsSnapshotTag { return v.Tags }).(GetSnapshotsSnapshotTagArrayOutput) -} - -// The ID of the volume used to create the snapshot. -func (o GetSnapshotsSnapshotOutput) VolumeId() pulumi.StringOutput { - return o.ApplyT(func(v GetSnapshotsSnapshot) string { return v.VolumeId }).(pulumi.StringOutput) -} - -// The size of the volume used to create the snapshot, in gibibytes (GiB). -func (o GetSnapshotsSnapshotOutput) VolumeSize() pulumi.IntOutput { - return o.ApplyT(func(v GetSnapshotsSnapshot) int { return v.VolumeSize }).(pulumi.IntOutput) -} - -type GetSnapshotsSnapshotArrayOutput struct{ *pulumi.OutputState } - -func (GetSnapshotsSnapshotArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSnapshotsSnapshot)(nil)).Elem() -} - -func (o GetSnapshotsSnapshotArrayOutput) ToGetSnapshotsSnapshotArrayOutput() GetSnapshotsSnapshotArrayOutput { - return o -} - -func (o GetSnapshotsSnapshotArrayOutput) ToGetSnapshotsSnapshotArrayOutputWithContext(ctx context.Context) GetSnapshotsSnapshotArrayOutput { - return o -} - -func (o GetSnapshotsSnapshotArrayOutput) Index(i pulumi.IntInput) GetSnapshotsSnapshotOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSnapshotsSnapshot { - return vs[0].([]GetSnapshotsSnapshot)[vs[1].(int)] - }).(GetSnapshotsSnapshotOutput) -} - -type GetSnapshotsSnapshotPermissionsToCreateVolume struct { - // The account IDs of the owners of the snapshots. - AccountIds []string `pulumi:"accountIds"` - // A global permission for all accounts.
- // (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).
- // (Response) If true, the resource is public. If false, the resource is private. - GlobalPermission bool `pulumi:"globalPermission"` -} - -// GetSnapshotsSnapshotPermissionsToCreateVolumeInput is an input type that accepts GetSnapshotsSnapshotPermissionsToCreateVolumeArgs and GetSnapshotsSnapshotPermissionsToCreateVolumeOutput values. -// You can construct a concrete instance of `GetSnapshotsSnapshotPermissionsToCreateVolumeInput` via: -// -// GetSnapshotsSnapshotPermissionsToCreateVolumeArgs{...} -type GetSnapshotsSnapshotPermissionsToCreateVolumeInput interface { - pulumi.Input - - ToGetSnapshotsSnapshotPermissionsToCreateVolumeOutput() GetSnapshotsSnapshotPermissionsToCreateVolumeOutput - ToGetSnapshotsSnapshotPermissionsToCreateVolumeOutputWithContext(context.Context) GetSnapshotsSnapshotPermissionsToCreateVolumeOutput -} - -type GetSnapshotsSnapshotPermissionsToCreateVolumeArgs struct { - // The account IDs of the owners of the snapshots. - AccountIds pulumi.StringArrayInput `pulumi:"accountIds"` - // A global permission for all accounts.
- // (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).
- // (Response) If true, the resource is public. If false, the resource is private. - GlobalPermission pulumi.BoolInput `pulumi:"globalPermission"` -} - -func (GetSnapshotsSnapshotPermissionsToCreateVolumeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSnapshotsSnapshotPermissionsToCreateVolume)(nil)).Elem() -} - -func (i GetSnapshotsSnapshotPermissionsToCreateVolumeArgs) ToGetSnapshotsSnapshotPermissionsToCreateVolumeOutput() GetSnapshotsSnapshotPermissionsToCreateVolumeOutput { - return i.ToGetSnapshotsSnapshotPermissionsToCreateVolumeOutputWithContext(context.Background()) -} - -func (i GetSnapshotsSnapshotPermissionsToCreateVolumeArgs) ToGetSnapshotsSnapshotPermissionsToCreateVolumeOutputWithContext(ctx context.Context) GetSnapshotsSnapshotPermissionsToCreateVolumeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSnapshotsSnapshotPermissionsToCreateVolumeOutput) -} - -// GetSnapshotsSnapshotPermissionsToCreateVolumeArrayInput is an input type that accepts GetSnapshotsSnapshotPermissionsToCreateVolumeArray and GetSnapshotsSnapshotPermissionsToCreateVolumeArrayOutput values. -// You can construct a concrete instance of `GetSnapshotsSnapshotPermissionsToCreateVolumeArrayInput` via: -// -// GetSnapshotsSnapshotPermissionsToCreateVolumeArray{ GetSnapshotsSnapshotPermissionsToCreateVolumeArgs{...} } -type GetSnapshotsSnapshotPermissionsToCreateVolumeArrayInput interface { - pulumi.Input - - ToGetSnapshotsSnapshotPermissionsToCreateVolumeArrayOutput() GetSnapshotsSnapshotPermissionsToCreateVolumeArrayOutput - ToGetSnapshotsSnapshotPermissionsToCreateVolumeArrayOutputWithContext(context.Context) GetSnapshotsSnapshotPermissionsToCreateVolumeArrayOutput -} - -type GetSnapshotsSnapshotPermissionsToCreateVolumeArray []GetSnapshotsSnapshotPermissionsToCreateVolumeInput - -func (GetSnapshotsSnapshotPermissionsToCreateVolumeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSnapshotsSnapshotPermissionsToCreateVolume)(nil)).Elem() -} - -func (i GetSnapshotsSnapshotPermissionsToCreateVolumeArray) ToGetSnapshotsSnapshotPermissionsToCreateVolumeArrayOutput() GetSnapshotsSnapshotPermissionsToCreateVolumeArrayOutput { - return i.ToGetSnapshotsSnapshotPermissionsToCreateVolumeArrayOutputWithContext(context.Background()) -} - -func (i GetSnapshotsSnapshotPermissionsToCreateVolumeArray) ToGetSnapshotsSnapshotPermissionsToCreateVolumeArrayOutputWithContext(ctx context.Context) GetSnapshotsSnapshotPermissionsToCreateVolumeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSnapshotsSnapshotPermissionsToCreateVolumeArrayOutput) -} - -type GetSnapshotsSnapshotPermissionsToCreateVolumeOutput struct{ *pulumi.OutputState } - -func (GetSnapshotsSnapshotPermissionsToCreateVolumeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSnapshotsSnapshotPermissionsToCreateVolume)(nil)).Elem() -} - -func (o GetSnapshotsSnapshotPermissionsToCreateVolumeOutput) ToGetSnapshotsSnapshotPermissionsToCreateVolumeOutput() GetSnapshotsSnapshotPermissionsToCreateVolumeOutput { - return o -} - -func (o GetSnapshotsSnapshotPermissionsToCreateVolumeOutput) ToGetSnapshotsSnapshotPermissionsToCreateVolumeOutputWithContext(ctx context.Context) GetSnapshotsSnapshotPermissionsToCreateVolumeOutput { - return o -} - -// The account IDs of the owners of the snapshots. -func (o GetSnapshotsSnapshotPermissionsToCreateVolumeOutput) AccountIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetSnapshotsSnapshotPermissionsToCreateVolume) []string { return v.AccountIds }).(pulumi.StringArrayOutput) -} - -// A global permission for all accounts.
-// (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).
-// (Response) If true, the resource is public. If false, the resource is private. -func (o GetSnapshotsSnapshotPermissionsToCreateVolumeOutput) GlobalPermission() pulumi.BoolOutput { - return o.ApplyT(func(v GetSnapshotsSnapshotPermissionsToCreateVolume) bool { return v.GlobalPermission }).(pulumi.BoolOutput) -} - -type GetSnapshotsSnapshotPermissionsToCreateVolumeArrayOutput struct{ *pulumi.OutputState } - -func (GetSnapshotsSnapshotPermissionsToCreateVolumeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSnapshotsSnapshotPermissionsToCreateVolume)(nil)).Elem() -} - -func (o GetSnapshotsSnapshotPermissionsToCreateVolumeArrayOutput) ToGetSnapshotsSnapshotPermissionsToCreateVolumeArrayOutput() GetSnapshotsSnapshotPermissionsToCreateVolumeArrayOutput { - return o -} - -func (o GetSnapshotsSnapshotPermissionsToCreateVolumeArrayOutput) ToGetSnapshotsSnapshotPermissionsToCreateVolumeArrayOutputWithContext(ctx context.Context) GetSnapshotsSnapshotPermissionsToCreateVolumeArrayOutput { - return o -} - -func (o GetSnapshotsSnapshotPermissionsToCreateVolumeArrayOutput) Index(i pulumi.IntInput) GetSnapshotsSnapshotPermissionsToCreateVolumeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSnapshotsSnapshotPermissionsToCreateVolume { - return vs[0].([]GetSnapshotsSnapshotPermissionsToCreateVolume)[vs[1].(int)] - }).(GetSnapshotsSnapshotPermissionsToCreateVolumeOutput) -} - -type GetSnapshotsSnapshotTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetSnapshotsSnapshotTagInput is an input type that accepts GetSnapshotsSnapshotTagArgs and GetSnapshotsSnapshotTagOutput values. -// You can construct a concrete instance of `GetSnapshotsSnapshotTagInput` via: -// -// GetSnapshotsSnapshotTagArgs{...} -type GetSnapshotsSnapshotTagInput interface { - pulumi.Input - - ToGetSnapshotsSnapshotTagOutput() GetSnapshotsSnapshotTagOutput - ToGetSnapshotsSnapshotTagOutputWithContext(context.Context) GetSnapshotsSnapshotTagOutput -} - -type GetSnapshotsSnapshotTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetSnapshotsSnapshotTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSnapshotsSnapshotTag)(nil)).Elem() -} - -func (i GetSnapshotsSnapshotTagArgs) ToGetSnapshotsSnapshotTagOutput() GetSnapshotsSnapshotTagOutput { - return i.ToGetSnapshotsSnapshotTagOutputWithContext(context.Background()) -} - -func (i GetSnapshotsSnapshotTagArgs) ToGetSnapshotsSnapshotTagOutputWithContext(ctx context.Context) GetSnapshotsSnapshotTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSnapshotsSnapshotTagOutput) -} - -// GetSnapshotsSnapshotTagArrayInput is an input type that accepts GetSnapshotsSnapshotTagArray and GetSnapshotsSnapshotTagArrayOutput values. -// You can construct a concrete instance of `GetSnapshotsSnapshotTagArrayInput` via: -// -// GetSnapshotsSnapshotTagArray{ GetSnapshotsSnapshotTagArgs{...} } -type GetSnapshotsSnapshotTagArrayInput interface { - pulumi.Input - - ToGetSnapshotsSnapshotTagArrayOutput() GetSnapshotsSnapshotTagArrayOutput - ToGetSnapshotsSnapshotTagArrayOutputWithContext(context.Context) GetSnapshotsSnapshotTagArrayOutput -} - -type GetSnapshotsSnapshotTagArray []GetSnapshotsSnapshotTagInput - -func (GetSnapshotsSnapshotTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSnapshotsSnapshotTag)(nil)).Elem() -} - -func (i GetSnapshotsSnapshotTagArray) ToGetSnapshotsSnapshotTagArrayOutput() GetSnapshotsSnapshotTagArrayOutput { - return i.ToGetSnapshotsSnapshotTagArrayOutputWithContext(context.Background()) -} - -func (i GetSnapshotsSnapshotTagArray) ToGetSnapshotsSnapshotTagArrayOutputWithContext(ctx context.Context) GetSnapshotsSnapshotTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSnapshotsSnapshotTagArrayOutput) -} - -type GetSnapshotsSnapshotTagOutput struct{ *pulumi.OutputState } - -func (GetSnapshotsSnapshotTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSnapshotsSnapshotTag)(nil)).Elem() -} - -func (o GetSnapshotsSnapshotTagOutput) ToGetSnapshotsSnapshotTagOutput() GetSnapshotsSnapshotTagOutput { - return o -} - -func (o GetSnapshotsSnapshotTagOutput) ToGetSnapshotsSnapshotTagOutputWithContext(ctx context.Context) GetSnapshotsSnapshotTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetSnapshotsSnapshotTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetSnapshotsSnapshotTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetSnapshotsSnapshotTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetSnapshotsSnapshotTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetSnapshotsSnapshotTagArrayOutput struct{ *pulumi.OutputState } - -func (GetSnapshotsSnapshotTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSnapshotsSnapshotTag)(nil)).Elem() -} - -func (o GetSnapshotsSnapshotTagArrayOutput) ToGetSnapshotsSnapshotTagArrayOutput() GetSnapshotsSnapshotTagArrayOutput { - return o -} - -func (o GetSnapshotsSnapshotTagArrayOutput) ToGetSnapshotsSnapshotTagArrayOutputWithContext(ctx context.Context) GetSnapshotsSnapshotTagArrayOutput { - return o -} - -func (o GetSnapshotsSnapshotTagArrayOutput) Index(i pulumi.IntInput) GetSnapshotsSnapshotTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSnapshotsSnapshotTag { - return vs[0].([]GetSnapshotsSnapshotTag)[vs[1].(int)] - }).(GetSnapshotsSnapshotTagOutput) -} - -type GetSubnetFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetSubnetFilterInput is an input type that accepts GetSubnetFilterArgs and GetSubnetFilterOutput values. -// You can construct a concrete instance of `GetSubnetFilterInput` via: -// -// GetSubnetFilterArgs{...} -type GetSubnetFilterInput interface { - pulumi.Input - - ToGetSubnetFilterOutput() GetSubnetFilterOutput - ToGetSubnetFilterOutputWithContext(context.Context) GetSubnetFilterOutput -} - -type GetSubnetFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetSubnetFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSubnetFilter)(nil)).Elem() -} - -func (i GetSubnetFilterArgs) ToGetSubnetFilterOutput() GetSubnetFilterOutput { - return i.ToGetSubnetFilterOutputWithContext(context.Background()) -} - -func (i GetSubnetFilterArgs) ToGetSubnetFilterOutputWithContext(ctx context.Context) GetSubnetFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSubnetFilterOutput) -} - -// GetSubnetFilterArrayInput is an input type that accepts GetSubnetFilterArray and GetSubnetFilterArrayOutput values. -// You can construct a concrete instance of `GetSubnetFilterArrayInput` via: -// -// GetSubnetFilterArray{ GetSubnetFilterArgs{...} } -type GetSubnetFilterArrayInput interface { - pulumi.Input - - ToGetSubnetFilterArrayOutput() GetSubnetFilterArrayOutput - ToGetSubnetFilterArrayOutputWithContext(context.Context) GetSubnetFilterArrayOutput -} - -type GetSubnetFilterArray []GetSubnetFilterInput - -func (GetSubnetFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSubnetFilter)(nil)).Elem() -} - -func (i GetSubnetFilterArray) ToGetSubnetFilterArrayOutput() GetSubnetFilterArrayOutput { - return i.ToGetSubnetFilterArrayOutputWithContext(context.Background()) -} - -func (i GetSubnetFilterArray) ToGetSubnetFilterArrayOutputWithContext(ctx context.Context) GetSubnetFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSubnetFilterArrayOutput) -} - -type GetSubnetFilterOutput struct{ *pulumi.OutputState } - -func (GetSubnetFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSubnetFilter)(nil)).Elem() -} - -func (o GetSubnetFilterOutput) ToGetSubnetFilterOutput() GetSubnetFilterOutput { - return o -} - -func (o GetSubnetFilterOutput) ToGetSubnetFilterOutputWithContext(ctx context.Context) GetSubnetFilterOutput { - return o -} - -func (o GetSubnetFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetSubnetFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetSubnetFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetSubnetFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetSubnetFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetSubnetFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSubnetFilter)(nil)).Elem() -} - -func (o GetSubnetFilterArrayOutput) ToGetSubnetFilterArrayOutput() GetSubnetFilterArrayOutput { - return o -} - -func (o GetSubnetFilterArrayOutput) ToGetSubnetFilterArrayOutputWithContext(ctx context.Context) GetSubnetFilterArrayOutput { - return o -} - -func (o GetSubnetFilterArrayOutput) Index(i pulumi.IntInput) GetSubnetFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSubnetFilter { - return vs[0].([]GetSubnetFilter)[vs[1].(int)] - }).(GetSubnetFilterOutput) -} - -type GetSubnetTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetSubnetTagInput is an input type that accepts GetSubnetTagArgs and GetSubnetTagOutput values. -// You can construct a concrete instance of `GetSubnetTagInput` via: -// -// GetSubnetTagArgs{...} -type GetSubnetTagInput interface { - pulumi.Input - - ToGetSubnetTagOutput() GetSubnetTagOutput - ToGetSubnetTagOutputWithContext(context.Context) GetSubnetTagOutput -} - -type GetSubnetTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetSubnetTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSubnetTag)(nil)).Elem() -} - -func (i GetSubnetTagArgs) ToGetSubnetTagOutput() GetSubnetTagOutput { - return i.ToGetSubnetTagOutputWithContext(context.Background()) -} - -func (i GetSubnetTagArgs) ToGetSubnetTagOutputWithContext(ctx context.Context) GetSubnetTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSubnetTagOutput) -} - -// GetSubnetTagArrayInput is an input type that accepts GetSubnetTagArray and GetSubnetTagArrayOutput values. -// You can construct a concrete instance of `GetSubnetTagArrayInput` via: -// -// GetSubnetTagArray{ GetSubnetTagArgs{...} } -type GetSubnetTagArrayInput interface { - pulumi.Input - - ToGetSubnetTagArrayOutput() GetSubnetTagArrayOutput - ToGetSubnetTagArrayOutputWithContext(context.Context) GetSubnetTagArrayOutput -} - -type GetSubnetTagArray []GetSubnetTagInput - -func (GetSubnetTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSubnetTag)(nil)).Elem() -} - -func (i GetSubnetTagArray) ToGetSubnetTagArrayOutput() GetSubnetTagArrayOutput { - return i.ToGetSubnetTagArrayOutputWithContext(context.Background()) -} - -func (i GetSubnetTagArray) ToGetSubnetTagArrayOutputWithContext(ctx context.Context) GetSubnetTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSubnetTagArrayOutput) -} - -type GetSubnetTagOutput struct{ *pulumi.OutputState } - -func (GetSubnetTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSubnetTag)(nil)).Elem() -} - -func (o GetSubnetTagOutput) ToGetSubnetTagOutput() GetSubnetTagOutput { - return o -} - -func (o GetSubnetTagOutput) ToGetSubnetTagOutputWithContext(ctx context.Context) GetSubnetTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetSubnetTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetSubnetTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetSubnetTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetSubnetTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetSubnetTagArrayOutput struct{ *pulumi.OutputState } - -func (GetSubnetTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSubnetTag)(nil)).Elem() -} - -func (o GetSubnetTagArrayOutput) ToGetSubnetTagArrayOutput() GetSubnetTagArrayOutput { - return o -} - -func (o GetSubnetTagArrayOutput) ToGetSubnetTagArrayOutputWithContext(ctx context.Context) GetSubnetTagArrayOutput { - return o -} - -func (o GetSubnetTagArrayOutput) Index(i pulumi.IntInput) GetSubnetTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSubnetTag { - return vs[0].([]GetSubnetTag)[vs[1].(int)] - }).(GetSubnetTagOutput) -} - -type GetSubnetsFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetSubnetsFilterInput is an input type that accepts GetSubnetsFilterArgs and GetSubnetsFilterOutput values. -// You can construct a concrete instance of `GetSubnetsFilterInput` via: -// -// GetSubnetsFilterArgs{...} -type GetSubnetsFilterInput interface { - pulumi.Input - - ToGetSubnetsFilterOutput() GetSubnetsFilterOutput - ToGetSubnetsFilterOutputWithContext(context.Context) GetSubnetsFilterOutput -} - -type GetSubnetsFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetSubnetsFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSubnetsFilter)(nil)).Elem() -} - -func (i GetSubnetsFilterArgs) ToGetSubnetsFilterOutput() GetSubnetsFilterOutput { - return i.ToGetSubnetsFilterOutputWithContext(context.Background()) -} - -func (i GetSubnetsFilterArgs) ToGetSubnetsFilterOutputWithContext(ctx context.Context) GetSubnetsFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSubnetsFilterOutput) -} - -// GetSubnetsFilterArrayInput is an input type that accepts GetSubnetsFilterArray and GetSubnetsFilterArrayOutput values. -// You can construct a concrete instance of `GetSubnetsFilterArrayInput` via: -// -// GetSubnetsFilterArray{ GetSubnetsFilterArgs{...} } -type GetSubnetsFilterArrayInput interface { - pulumi.Input - - ToGetSubnetsFilterArrayOutput() GetSubnetsFilterArrayOutput - ToGetSubnetsFilterArrayOutputWithContext(context.Context) GetSubnetsFilterArrayOutput -} - -type GetSubnetsFilterArray []GetSubnetsFilterInput - -func (GetSubnetsFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSubnetsFilter)(nil)).Elem() -} - -func (i GetSubnetsFilterArray) ToGetSubnetsFilterArrayOutput() GetSubnetsFilterArrayOutput { - return i.ToGetSubnetsFilterArrayOutputWithContext(context.Background()) -} - -func (i GetSubnetsFilterArray) ToGetSubnetsFilterArrayOutputWithContext(ctx context.Context) GetSubnetsFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSubnetsFilterArrayOutput) -} - -type GetSubnetsFilterOutput struct{ *pulumi.OutputState } - -func (GetSubnetsFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSubnetsFilter)(nil)).Elem() -} - -func (o GetSubnetsFilterOutput) ToGetSubnetsFilterOutput() GetSubnetsFilterOutput { - return o -} - -func (o GetSubnetsFilterOutput) ToGetSubnetsFilterOutputWithContext(ctx context.Context) GetSubnetsFilterOutput { - return o -} - -func (o GetSubnetsFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetSubnetsFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetSubnetsFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetSubnetsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetSubnetsFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetSubnetsFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSubnetsFilter)(nil)).Elem() -} - -func (o GetSubnetsFilterArrayOutput) ToGetSubnetsFilterArrayOutput() GetSubnetsFilterArrayOutput { - return o -} - -func (o GetSubnetsFilterArrayOutput) ToGetSubnetsFilterArrayOutputWithContext(ctx context.Context) GetSubnetsFilterArrayOutput { - return o -} - -func (o GetSubnetsFilterArrayOutput) Index(i pulumi.IntInput) GetSubnetsFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSubnetsFilter { - return vs[0].([]GetSubnetsFilter)[vs[1].(int)] - }).(GetSubnetsFilterOutput) -} - -type GetSubnetsSubnet struct { - // The number of available IPs in the Subnets. - AvailableIpsCount int `pulumi:"availableIpsCount"` - // The IP range in the Subnet, in CIDR notation (for example, `10.0.0.0/16`). - IpRange string `pulumi:"ipRange"` - // If true, a public IP is assigned to the network interface cards (NICs) created in the specified Subnet. - MapPublicIpOnLaunch bool `pulumi:"mapPublicIpOnLaunch"` - // The ID of the Net in which the Subnet is. - NetId string `pulumi:"netId"` - // The state of the Subnet (`pending` \| `available` \| `deleted`). - State string `pulumi:"state"` - // The ID of the Subnet. - SubnetId string `pulumi:"subnetId"` - // The name of the Subregion in which the Subnet is located. - SubregionName string `pulumi:"subregionName"` - // The key/value combinations of the tags associated with the Subnets, in the following format: `TAGKEY=TAGVALUE`. - Tags []GetSubnetsSubnetTag `pulumi:"tags"` -} - -// GetSubnetsSubnetInput is an input type that accepts GetSubnetsSubnetArgs and GetSubnetsSubnetOutput values. -// You can construct a concrete instance of `GetSubnetsSubnetInput` via: -// -// GetSubnetsSubnetArgs{...} -type GetSubnetsSubnetInput interface { - pulumi.Input - - ToGetSubnetsSubnetOutput() GetSubnetsSubnetOutput - ToGetSubnetsSubnetOutputWithContext(context.Context) GetSubnetsSubnetOutput -} - -type GetSubnetsSubnetArgs struct { - // The number of available IPs in the Subnets. - AvailableIpsCount pulumi.IntInput `pulumi:"availableIpsCount"` - // The IP range in the Subnet, in CIDR notation (for example, `10.0.0.0/16`). - IpRange pulumi.StringInput `pulumi:"ipRange"` - // If true, a public IP is assigned to the network interface cards (NICs) created in the specified Subnet. - MapPublicIpOnLaunch pulumi.BoolInput `pulumi:"mapPublicIpOnLaunch"` - // The ID of the Net in which the Subnet is. - NetId pulumi.StringInput `pulumi:"netId"` - // The state of the Subnet (`pending` \| `available` \| `deleted`). - State pulumi.StringInput `pulumi:"state"` - // The ID of the Subnet. - SubnetId pulumi.StringInput `pulumi:"subnetId"` - // The name of the Subregion in which the Subnet is located. - SubregionName pulumi.StringInput `pulumi:"subregionName"` - // The key/value combinations of the tags associated with the Subnets, in the following format: `TAGKEY=TAGVALUE`. - Tags GetSubnetsSubnetTagArrayInput `pulumi:"tags"` -} - -func (GetSubnetsSubnetArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSubnetsSubnet)(nil)).Elem() -} - -func (i GetSubnetsSubnetArgs) ToGetSubnetsSubnetOutput() GetSubnetsSubnetOutput { - return i.ToGetSubnetsSubnetOutputWithContext(context.Background()) -} - -func (i GetSubnetsSubnetArgs) ToGetSubnetsSubnetOutputWithContext(ctx context.Context) GetSubnetsSubnetOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSubnetsSubnetOutput) -} - -// GetSubnetsSubnetArrayInput is an input type that accepts GetSubnetsSubnetArray and GetSubnetsSubnetArrayOutput values. -// You can construct a concrete instance of `GetSubnetsSubnetArrayInput` via: -// -// GetSubnetsSubnetArray{ GetSubnetsSubnetArgs{...} } -type GetSubnetsSubnetArrayInput interface { - pulumi.Input - - ToGetSubnetsSubnetArrayOutput() GetSubnetsSubnetArrayOutput - ToGetSubnetsSubnetArrayOutputWithContext(context.Context) GetSubnetsSubnetArrayOutput -} - -type GetSubnetsSubnetArray []GetSubnetsSubnetInput - -func (GetSubnetsSubnetArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSubnetsSubnet)(nil)).Elem() -} - -func (i GetSubnetsSubnetArray) ToGetSubnetsSubnetArrayOutput() GetSubnetsSubnetArrayOutput { - return i.ToGetSubnetsSubnetArrayOutputWithContext(context.Background()) -} - -func (i GetSubnetsSubnetArray) ToGetSubnetsSubnetArrayOutputWithContext(ctx context.Context) GetSubnetsSubnetArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSubnetsSubnetArrayOutput) -} - -type GetSubnetsSubnetOutput struct{ *pulumi.OutputState } - -func (GetSubnetsSubnetOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSubnetsSubnet)(nil)).Elem() -} - -func (o GetSubnetsSubnetOutput) ToGetSubnetsSubnetOutput() GetSubnetsSubnetOutput { - return o -} - -func (o GetSubnetsSubnetOutput) ToGetSubnetsSubnetOutputWithContext(ctx context.Context) GetSubnetsSubnetOutput { - return o -} - -// The number of available IPs in the Subnets. -func (o GetSubnetsSubnetOutput) AvailableIpsCount() pulumi.IntOutput { - return o.ApplyT(func(v GetSubnetsSubnet) int { return v.AvailableIpsCount }).(pulumi.IntOutput) -} - -// The IP range in the Subnet, in CIDR notation (for example, `10.0.0.0/16`). -func (o GetSubnetsSubnetOutput) IpRange() pulumi.StringOutput { - return o.ApplyT(func(v GetSubnetsSubnet) string { return v.IpRange }).(pulumi.StringOutput) -} - -// If true, a public IP is assigned to the network interface cards (NICs) created in the specified Subnet. -func (o GetSubnetsSubnetOutput) MapPublicIpOnLaunch() pulumi.BoolOutput { - return o.ApplyT(func(v GetSubnetsSubnet) bool { return v.MapPublicIpOnLaunch }).(pulumi.BoolOutput) -} - -// The ID of the Net in which the Subnet is. -func (o GetSubnetsSubnetOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v GetSubnetsSubnet) string { return v.NetId }).(pulumi.StringOutput) -} - -// The state of the Subnet (`pending` \| `available` \| `deleted`). -func (o GetSubnetsSubnetOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetSubnetsSubnet) string { return v.State }).(pulumi.StringOutput) -} - -// The ID of the Subnet. -func (o GetSubnetsSubnetOutput) SubnetId() pulumi.StringOutput { - return o.ApplyT(func(v GetSubnetsSubnet) string { return v.SubnetId }).(pulumi.StringOutput) -} - -// The name of the Subregion in which the Subnet is located. -func (o GetSubnetsSubnetOutput) SubregionName() pulumi.StringOutput { - return o.ApplyT(func(v GetSubnetsSubnet) string { return v.SubregionName }).(pulumi.StringOutput) -} - -// The key/value combinations of the tags associated with the Subnets, in the following format: `TAGKEY=TAGVALUE`. -func (o GetSubnetsSubnetOutput) Tags() GetSubnetsSubnetTagArrayOutput { - return o.ApplyT(func(v GetSubnetsSubnet) []GetSubnetsSubnetTag { return v.Tags }).(GetSubnetsSubnetTagArrayOutput) -} - -type GetSubnetsSubnetArrayOutput struct{ *pulumi.OutputState } - -func (GetSubnetsSubnetArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSubnetsSubnet)(nil)).Elem() -} - -func (o GetSubnetsSubnetArrayOutput) ToGetSubnetsSubnetArrayOutput() GetSubnetsSubnetArrayOutput { - return o -} - -func (o GetSubnetsSubnetArrayOutput) ToGetSubnetsSubnetArrayOutputWithContext(ctx context.Context) GetSubnetsSubnetArrayOutput { - return o -} - -func (o GetSubnetsSubnetArrayOutput) Index(i pulumi.IntInput) GetSubnetsSubnetOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSubnetsSubnet { - return vs[0].([]GetSubnetsSubnet)[vs[1].(int)] - }).(GetSubnetsSubnetOutput) -} - -type GetSubnetsSubnetTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetSubnetsSubnetTagInput is an input type that accepts GetSubnetsSubnetTagArgs and GetSubnetsSubnetTagOutput values. -// You can construct a concrete instance of `GetSubnetsSubnetTagInput` via: -// -// GetSubnetsSubnetTagArgs{...} -type GetSubnetsSubnetTagInput interface { - pulumi.Input - - ToGetSubnetsSubnetTagOutput() GetSubnetsSubnetTagOutput - ToGetSubnetsSubnetTagOutputWithContext(context.Context) GetSubnetsSubnetTagOutput -} - -type GetSubnetsSubnetTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetSubnetsSubnetTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSubnetsSubnetTag)(nil)).Elem() -} - -func (i GetSubnetsSubnetTagArgs) ToGetSubnetsSubnetTagOutput() GetSubnetsSubnetTagOutput { - return i.ToGetSubnetsSubnetTagOutputWithContext(context.Background()) -} - -func (i GetSubnetsSubnetTagArgs) ToGetSubnetsSubnetTagOutputWithContext(ctx context.Context) GetSubnetsSubnetTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSubnetsSubnetTagOutput) -} - -// GetSubnetsSubnetTagArrayInput is an input type that accepts GetSubnetsSubnetTagArray and GetSubnetsSubnetTagArrayOutput values. -// You can construct a concrete instance of `GetSubnetsSubnetTagArrayInput` via: -// -// GetSubnetsSubnetTagArray{ GetSubnetsSubnetTagArgs{...} } -type GetSubnetsSubnetTagArrayInput interface { - pulumi.Input - - ToGetSubnetsSubnetTagArrayOutput() GetSubnetsSubnetTagArrayOutput - ToGetSubnetsSubnetTagArrayOutputWithContext(context.Context) GetSubnetsSubnetTagArrayOutput -} - -type GetSubnetsSubnetTagArray []GetSubnetsSubnetTagInput - -func (GetSubnetsSubnetTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSubnetsSubnetTag)(nil)).Elem() -} - -func (i GetSubnetsSubnetTagArray) ToGetSubnetsSubnetTagArrayOutput() GetSubnetsSubnetTagArrayOutput { - return i.ToGetSubnetsSubnetTagArrayOutputWithContext(context.Background()) -} - -func (i GetSubnetsSubnetTagArray) ToGetSubnetsSubnetTagArrayOutputWithContext(ctx context.Context) GetSubnetsSubnetTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSubnetsSubnetTagArrayOutput) -} - -type GetSubnetsSubnetTagOutput struct{ *pulumi.OutputState } - -func (GetSubnetsSubnetTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSubnetsSubnetTag)(nil)).Elem() -} - -func (o GetSubnetsSubnetTagOutput) ToGetSubnetsSubnetTagOutput() GetSubnetsSubnetTagOutput { - return o -} - -func (o GetSubnetsSubnetTagOutput) ToGetSubnetsSubnetTagOutputWithContext(ctx context.Context) GetSubnetsSubnetTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetSubnetsSubnetTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetSubnetsSubnetTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetSubnetsSubnetTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetSubnetsSubnetTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetSubnetsSubnetTagArrayOutput struct{ *pulumi.OutputState } - -func (GetSubnetsSubnetTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSubnetsSubnetTag)(nil)).Elem() -} - -func (o GetSubnetsSubnetTagArrayOutput) ToGetSubnetsSubnetTagArrayOutput() GetSubnetsSubnetTagArrayOutput { - return o -} - -func (o GetSubnetsSubnetTagArrayOutput) ToGetSubnetsSubnetTagArrayOutputWithContext(ctx context.Context) GetSubnetsSubnetTagArrayOutput { - return o -} - -func (o GetSubnetsSubnetTagArrayOutput) Index(i pulumi.IntInput) GetSubnetsSubnetTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSubnetsSubnetTag { - return vs[0].([]GetSubnetsSubnetTag)[vs[1].(int)] - }).(GetSubnetsSubnetTagOutput) -} - -type GetSubregionsFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetSubregionsFilterInput is an input type that accepts GetSubregionsFilterArgs and GetSubregionsFilterOutput values. -// You can construct a concrete instance of `GetSubregionsFilterInput` via: -// -// GetSubregionsFilterArgs{...} -type GetSubregionsFilterInput interface { - pulumi.Input - - ToGetSubregionsFilterOutput() GetSubregionsFilterOutput - ToGetSubregionsFilterOutputWithContext(context.Context) GetSubregionsFilterOutput -} - -type GetSubregionsFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetSubregionsFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSubregionsFilter)(nil)).Elem() -} - -func (i GetSubregionsFilterArgs) ToGetSubregionsFilterOutput() GetSubregionsFilterOutput { - return i.ToGetSubregionsFilterOutputWithContext(context.Background()) -} - -func (i GetSubregionsFilterArgs) ToGetSubregionsFilterOutputWithContext(ctx context.Context) GetSubregionsFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSubregionsFilterOutput) -} - -// GetSubregionsFilterArrayInput is an input type that accepts GetSubregionsFilterArray and GetSubregionsFilterArrayOutput values. -// You can construct a concrete instance of `GetSubregionsFilterArrayInput` via: -// -// GetSubregionsFilterArray{ GetSubregionsFilterArgs{...} } -type GetSubregionsFilterArrayInput interface { - pulumi.Input - - ToGetSubregionsFilterArrayOutput() GetSubregionsFilterArrayOutput - ToGetSubregionsFilterArrayOutputWithContext(context.Context) GetSubregionsFilterArrayOutput -} - -type GetSubregionsFilterArray []GetSubregionsFilterInput - -func (GetSubregionsFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSubregionsFilter)(nil)).Elem() -} - -func (i GetSubregionsFilterArray) ToGetSubregionsFilterArrayOutput() GetSubregionsFilterArrayOutput { - return i.ToGetSubregionsFilterArrayOutputWithContext(context.Background()) -} - -func (i GetSubregionsFilterArray) ToGetSubregionsFilterArrayOutputWithContext(ctx context.Context) GetSubregionsFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSubregionsFilterArrayOutput) -} - -type GetSubregionsFilterOutput struct{ *pulumi.OutputState } - -func (GetSubregionsFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSubregionsFilter)(nil)).Elem() -} - -func (o GetSubregionsFilterOutput) ToGetSubregionsFilterOutput() GetSubregionsFilterOutput { - return o -} - -func (o GetSubregionsFilterOutput) ToGetSubregionsFilterOutputWithContext(ctx context.Context) GetSubregionsFilterOutput { - return o -} - -func (o GetSubregionsFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetSubregionsFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetSubregionsFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetSubregionsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetSubregionsFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetSubregionsFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSubregionsFilter)(nil)).Elem() -} - -func (o GetSubregionsFilterArrayOutput) ToGetSubregionsFilterArrayOutput() GetSubregionsFilterArrayOutput { - return o -} - -func (o GetSubregionsFilterArrayOutput) ToGetSubregionsFilterArrayOutputWithContext(ctx context.Context) GetSubregionsFilterArrayOutput { - return o -} - -func (o GetSubregionsFilterArrayOutput) Index(i pulumi.IntInput) GetSubregionsFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSubregionsFilter { - return vs[0].([]GetSubregionsFilter)[vs[1].(int)] - }).(GetSubregionsFilterOutput) -} - -type GetSubregionsSubregion struct { - // The location code of the Subregion. - LocationCode string `pulumi:"locationCode"` - // The name of the Region containing the Subregion. - RegionName string `pulumi:"regionName"` - // The state of the Subregion (`available` \| `information` \| `impaired` \| `unavailable`). - State string `pulumi:"state"` - // The name of the Subregion. - SubregionName string `pulumi:"subregionName"` -} - -// GetSubregionsSubregionInput is an input type that accepts GetSubregionsSubregionArgs and GetSubregionsSubregionOutput values. -// You can construct a concrete instance of `GetSubregionsSubregionInput` via: -// -// GetSubregionsSubregionArgs{...} -type GetSubregionsSubregionInput interface { - pulumi.Input - - ToGetSubregionsSubregionOutput() GetSubregionsSubregionOutput - ToGetSubregionsSubregionOutputWithContext(context.Context) GetSubregionsSubregionOutput -} - -type GetSubregionsSubregionArgs struct { - // The location code of the Subregion. - LocationCode pulumi.StringInput `pulumi:"locationCode"` - // The name of the Region containing the Subregion. - RegionName pulumi.StringInput `pulumi:"regionName"` - // The state of the Subregion (`available` \| `information` \| `impaired` \| `unavailable`). - State pulumi.StringInput `pulumi:"state"` - // The name of the Subregion. - SubregionName pulumi.StringInput `pulumi:"subregionName"` -} - -func (GetSubregionsSubregionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetSubregionsSubregion)(nil)).Elem() -} - -func (i GetSubregionsSubregionArgs) ToGetSubregionsSubregionOutput() GetSubregionsSubregionOutput { - return i.ToGetSubregionsSubregionOutputWithContext(context.Background()) -} - -func (i GetSubregionsSubregionArgs) ToGetSubregionsSubregionOutputWithContext(ctx context.Context) GetSubregionsSubregionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSubregionsSubregionOutput) -} - -// GetSubregionsSubregionArrayInput is an input type that accepts GetSubregionsSubregionArray and GetSubregionsSubregionArrayOutput values. -// You can construct a concrete instance of `GetSubregionsSubregionArrayInput` via: -// -// GetSubregionsSubregionArray{ GetSubregionsSubregionArgs{...} } -type GetSubregionsSubregionArrayInput interface { - pulumi.Input - - ToGetSubregionsSubregionArrayOutput() GetSubregionsSubregionArrayOutput - ToGetSubregionsSubregionArrayOutputWithContext(context.Context) GetSubregionsSubregionArrayOutput -} - -type GetSubregionsSubregionArray []GetSubregionsSubregionInput - -func (GetSubregionsSubregionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSubregionsSubregion)(nil)).Elem() -} - -func (i GetSubregionsSubregionArray) ToGetSubregionsSubregionArrayOutput() GetSubregionsSubregionArrayOutput { - return i.ToGetSubregionsSubregionArrayOutputWithContext(context.Background()) -} - -func (i GetSubregionsSubregionArray) ToGetSubregionsSubregionArrayOutputWithContext(ctx context.Context) GetSubregionsSubregionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetSubregionsSubregionArrayOutput) -} - -type GetSubregionsSubregionOutput struct{ *pulumi.OutputState } - -func (GetSubregionsSubregionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetSubregionsSubregion)(nil)).Elem() -} - -func (o GetSubregionsSubregionOutput) ToGetSubregionsSubregionOutput() GetSubregionsSubregionOutput { - return o -} - -func (o GetSubregionsSubregionOutput) ToGetSubregionsSubregionOutputWithContext(ctx context.Context) GetSubregionsSubregionOutput { - return o -} - -// The location code of the Subregion. -func (o GetSubregionsSubregionOutput) LocationCode() pulumi.StringOutput { - return o.ApplyT(func(v GetSubregionsSubregion) string { return v.LocationCode }).(pulumi.StringOutput) -} - -// The name of the Region containing the Subregion. -func (o GetSubregionsSubregionOutput) RegionName() pulumi.StringOutput { - return o.ApplyT(func(v GetSubregionsSubregion) string { return v.RegionName }).(pulumi.StringOutput) -} - -// The state of the Subregion (`available` \| `information` \| `impaired` \| `unavailable`). -func (o GetSubregionsSubregionOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetSubregionsSubregion) string { return v.State }).(pulumi.StringOutput) -} - -// The name of the Subregion. -func (o GetSubregionsSubregionOutput) SubregionName() pulumi.StringOutput { - return o.ApplyT(func(v GetSubregionsSubregion) string { return v.SubregionName }).(pulumi.StringOutput) -} - -type GetSubregionsSubregionArrayOutput struct{ *pulumi.OutputState } - -func (GetSubregionsSubregionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetSubregionsSubregion)(nil)).Elem() -} - -func (o GetSubregionsSubregionArrayOutput) ToGetSubregionsSubregionArrayOutput() GetSubregionsSubregionArrayOutput { - return o -} - -func (o GetSubregionsSubregionArrayOutput) ToGetSubregionsSubregionArrayOutputWithContext(ctx context.Context) GetSubregionsSubregionArrayOutput { - return o -} - -func (o GetSubregionsSubregionArrayOutput) Index(i pulumi.IntInput) GetSubregionsSubregionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSubregionsSubregion { - return vs[0].([]GetSubregionsSubregion)[vs[1].(int)] - }).(GetSubregionsSubregionOutput) -} - -type GetTagFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetTagFilterInput is an input type that accepts GetTagFilterArgs and GetTagFilterOutput values. -// You can construct a concrete instance of `GetTagFilterInput` via: -// -// GetTagFilterArgs{...} -type GetTagFilterInput interface { - pulumi.Input - - ToGetTagFilterOutput() GetTagFilterOutput - ToGetTagFilterOutputWithContext(context.Context) GetTagFilterOutput -} - -type GetTagFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetTagFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetTagFilter)(nil)).Elem() -} - -func (i GetTagFilterArgs) ToGetTagFilterOutput() GetTagFilterOutput { - return i.ToGetTagFilterOutputWithContext(context.Background()) -} - -func (i GetTagFilterArgs) ToGetTagFilterOutputWithContext(ctx context.Context) GetTagFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetTagFilterOutput) -} - -// GetTagFilterArrayInput is an input type that accepts GetTagFilterArray and GetTagFilterArrayOutput values. -// You can construct a concrete instance of `GetTagFilterArrayInput` via: -// -// GetTagFilterArray{ GetTagFilterArgs{...} } -type GetTagFilterArrayInput interface { - pulumi.Input - - ToGetTagFilterArrayOutput() GetTagFilterArrayOutput - ToGetTagFilterArrayOutputWithContext(context.Context) GetTagFilterArrayOutput -} - -type GetTagFilterArray []GetTagFilterInput - -func (GetTagFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetTagFilter)(nil)).Elem() -} - -func (i GetTagFilterArray) ToGetTagFilterArrayOutput() GetTagFilterArrayOutput { - return i.ToGetTagFilterArrayOutputWithContext(context.Background()) -} - -func (i GetTagFilterArray) ToGetTagFilterArrayOutputWithContext(ctx context.Context) GetTagFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetTagFilterArrayOutput) -} - -type GetTagFilterOutput struct{ *pulumi.OutputState } - -func (GetTagFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetTagFilter)(nil)).Elem() -} - -func (o GetTagFilterOutput) ToGetTagFilterOutput() GetTagFilterOutput { - return o -} - -func (o GetTagFilterOutput) ToGetTagFilterOutputWithContext(ctx context.Context) GetTagFilterOutput { - return o -} - -func (o GetTagFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetTagFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetTagFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetTagFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetTagFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetTagFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetTagFilter)(nil)).Elem() -} - -func (o GetTagFilterArrayOutput) ToGetTagFilterArrayOutput() GetTagFilterArrayOutput { - return o -} - -func (o GetTagFilterArrayOutput) ToGetTagFilterArrayOutputWithContext(ctx context.Context) GetTagFilterArrayOutput { - return o -} - -func (o GetTagFilterArrayOutput) Index(i pulumi.IntInput) GetTagFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetTagFilter { - return vs[0].([]GetTagFilter)[vs[1].(int)] - }).(GetTagFilterOutput) -} - -type GetVirtualGatewayFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetVirtualGatewayFilterInput is an input type that accepts GetVirtualGatewayFilterArgs and GetVirtualGatewayFilterOutput values. -// You can construct a concrete instance of `GetVirtualGatewayFilterInput` via: -// -// GetVirtualGatewayFilterArgs{...} -type GetVirtualGatewayFilterInput interface { - pulumi.Input - - ToGetVirtualGatewayFilterOutput() GetVirtualGatewayFilterOutput - ToGetVirtualGatewayFilterOutputWithContext(context.Context) GetVirtualGatewayFilterOutput -} - -type GetVirtualGatewayFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetVirtualGatewayFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVirtualGatewayFilter)(nil)).Elem() -} - -func (i GetVirtualGatewayFilterArgs) ToGetVirtualGatewayFilterOutput() GetVirtualGatewayFilterOutput { - return i.ToGetVirtualGatewayFilterOutputWithContext(context.Background()) -} - -func (i GetVirtualGatewayFilterArgs) ToGetVirtualGatewayFilterOutputWithContext(ctx context.Context) GetVirtualGatewayFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVirtualGatewayFilterOutput) -} - -// GetVirtualGatewayFilterArrayInput is an input type that accepts GetVirtualGatewayFilterArray and GetVirtualGatewayFilterArrayOutput values. -// You can construct a concrete instance of `GetVirtualGatewayFilterArrayInput` via: -// -// GetVirtualGatewayFilterArray{ GetVirtualGatewayFilterArgs{...} } -type GetVirtualGatewayFilterArrayInput interface { - pulumi.Input - - ToGetVirtualGatewayFilterArrayOutput() GetVirtualGatewayFilterArrayOutput - ToGetVirtualGatewayFilterArrayOutputWithContext(context.Context) GetVirtualGatewayFilterArrayOutput -} - -type GetVirtualGatewayFilterArray []GetVirtualGatewayFilterInput - -func (GetVirtualGatewayFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVirtualGatewayFilter)(nil)).Elem() -} - -func (i GetVirtualGatewayFilterArray) ToGetVirtualGatewayFilterArrayOutput() GetVirtualGatewayFilterArrayOutput { - return i.ToGetVirtualGatewayFilterArrayOutputWithContext(context.Background()) -} - -func (i GetVirtualGatewayFilterArray) ToGetVirtualGatewayFilterArrayOutputWithContext(ctx context.Context) GetVirtualGatewayFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVirtualGatewayFilterArrayOutput) -} - -type GetVirtualGatewayFilterOutput struct{ *pulumi.OutputState } - -func (GetVirtualGatewayFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVirtualGatewayFilter)(nil)).Elem() -} - -func (o GetVirtualGatewayFilterOutput) ToGetVirtualGatewayFilterOutput() GetVirtualGatewayFilterOutput { - return o -} - -func (o GetVirtualGatewayFilterOutput) ToGetVirtualGatewayFilterOutputWithContext(ctx context.Context) GetVirtualGatewayFilterOutput { - return o -} - -func (o GetVirtualGatewayFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetVirtualGatewayFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetVirtualGatewayFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetVirtualGatewayFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetVirtualGatewayFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetVirtualGatewayFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVirtualGatewayFilter)(nil)).Elem() -} - -func (o GetVirtualGatewayFilterArrayOutput) ToGetVirtualGatewayFilterArrayOutput() GetVirtualGatewayFilterArrayOutput { - return o -} - -func (o GetVirtualGatewayFilterArrayOutput) ToGetVirtualGatewayFilterArrayOutputWithContext(ctx context.Context) GetVirtualGatewayFilterArrayOutput { - return o -} - -func (o GetVirtualGatewayFilterArrayOutput) Index(i pulumi.IntInput) GetVirtualGatewayFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVirtualGatewayFilter { - return vs[0].([]GetVirtualGatewayFilter)[vs[1].(int)] - }).(GetVirtualGatewayFilterOutput) -} - -type GetVirtualGatewayNetToVirtualGatewayLink struct { - // The ID of the Net to which the virtual gateway is attached. - NetId string `pulumi:"netId"` - // The state of the virtual gateway (`pending` \| `available` \| `deleting` \| `deleted`). - State string `pulumi:"state"` -} - -// GetVirtualGatewayNetToVirtualGatewayLinkInput is an input type that accepts GetVirtualGatewayNetToVirtualGatewayLinkArgs and GetVirtualGatewayNetToVirtualGatewayLinkOutput values. -// You can construct a concrete instance of `GetVirtualGatewayNetToVirtualGatewayLinkInput` via: -// -// GetVirtualGatewayNetToVirtualGatewayLinkArgs{...} -type GetVirtualGatewayNetToVirtualGatewayLinkInput interface { - pulumi.Input - - ToGetVirtualGatewayNetToVirtualGatewayLinkOutput() GetVirtualGatewayNetToVirtualGatewayLinkOutput - ToGetVirtualGatewayNetToVirtualGatewayLinkOutputWithContext(context.Context) GetVirtualGatewayNetToVirtualGatewayLinkOutput -} - -type GetVirtualGatewayNetToVirtualGatewayLinkArgs struct { - // The ID of the Net to which the virtual gateway is attached. - NetId pulumi.StringInput `pulumi:"netId"` - // The state of the virtual gateway (`pending` \| `available` \| `deleting` \| `deleted`). - State pulumi.StringInput `pulumi:"state"` -} - -func (GetVirtualGatewayNetToVirtualGatewayLinkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVirtualGatewayNetToVirtualGatewayLink)(nil)).Elem() -} - -func (i GetVirtualGatewayNetToVirtualGatewayLinkArgs) ToGetVirtualGatewayNetToVirtualGatewayLinkOutput() GetVirtualGatewayNetToVirtualGatewayLinkOutput { - return i.ToGetVirtualGatewayNetToVirtualGatewayLinkOutputWithContext(context.Background()) -} - -func (i GetVirtualGatewayNetToVirtualGatewayLinkArgs) ToGetVirtualGatewayNetToVirtualGatewayLinkOutputWithContext(ctx context.Context) GetVirtualGatewayNetToVirtualGatewayLinkOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVirtualGatewayNetToVirtualGatewayLinkOutput) -} - -// GetVirtualGatewayNetToVirtualGatewayLinkArrayInput is an input type that accepts GetVirtualGatewayNetToVirtualGatewayLinkArray and GetVirtualGatewayNetToVirtualGatewayLinkArrayOutput values. -// You can construct a concrete instance of `GetVirtualGatewayNetToVirtualGatewayLinkArrayInput` via: -// -// GetVirtualGatewayNetToVirtualGatewayLinkArray{ GetVirtualGatewayNetToVirtualGatewayLinkArgs{...} } -type GetVirtualGatewayNetToVirtualGatewayLinkArrayInput interface { - pulumi.Input - - ToGetVirtualGatewayNetToVirtualGatewayLinkArrayOutput() GetVirtualGatewayNetToVirtualGatewayLinkArrayOutput - ToGetVirtualGatewayNetToVirtualGatewayLinkArrayOutputWithContext(context.Context) GetVirtualGatewayNetToVirtualGatewayLinkArrayOutput -} - -type GetVirtualGatewayNetToVirtualGatewayLinkArray []GetVirtualGatewayNetToVirtualGatewayLinkInput - -func (GetVirtualGatewayNetToVirtualGatewayLinkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVirtualGatewayNetToVirtualGatewayLink)(nil)).Elem() -} - -func (i GetVirtualGatewayNetToVirtualGatewayLinkArray) ToGetVirtualGatewayNetToVirtualGatewayLinkArrayOutput() GetVirtualGatewayNetToVirtualGatewayLinkArrayOutput { - return i.ToGetVirtualGatewayNetToVirtualGatewayLinkArrayOutputWithContext(context.Background()) -} - -func (i GetVirtualGatewayNetToVirtualGatewayLinkArray) ToGetVirtualGatewayNetToVirtualGatewayLinkArrayOutputWithContext(ctx context.Context) GetVirtualGatewayNetToVirtualGatewayLinkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVirtualGatewayNetToVirtualGatewayLinkArrayOutput) -} - -type GetVirtualGatewayNetToVirtualGatewayLinkOutput struct{ *pulumi.OutputState } - -func (GetVirtualGatewayNetToVirtualGatewayLinkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVirtualGatewayNetToVirtualGatewayLink)(nil)).Elem() -} - -func (o GetVirtualGatewayNetToVirtualGatewayLinkOutput) ToGetVirtualGatewayNetToVirtualGatewayLinkOutput() GetVirtualGatewayNetToVirtualGatewayLinkOutput { - return o -} - -func (o GetVirtualGatewayNetToVirtualGatewayLinkOutput) ToGetVirtualGatewayNetToVirtualGatewayLinkOutputWithContext(ctx context.Context) GetVirtualGatewayNetToVirtualGatewayLinkOutput { - return o -} - -// The ID of the Net to which the virtual gateway is attached. -func (o GetVirtualGatewayNetToVirtualGatewayLinkOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v GetVirtualGatewayNetToVirtualGatewayLink) string { return v.NetId }).(pulumi.StringOutput) -} - -// The state of the virtual gateway (`pending` \| `available` \| `deleting` \| `deleted`). -func (o GetVirtualGatewayNetToVirtualGatewayLinkOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetVirtualGatewayNetToVirtualGatewayLink) string { return v.State }).(pulumi.StringOutput) -} - -type GetVirtualGatewayNetToVirtualGatewayLinkArrayOutput struct{ *pulumi.OutputState } - -func (GetVirtualGatewayNetToVirtualGatewayLinkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVirtualGatewayNetToVirtualGatewayLink)(nil)).Elem() -} - -func (o GetVirtualGatewayNetToVirtualGatewayLinkArrayOutput) ToGetVirtualGatewayNetToVirtualGatewayLinkArrayOutput() GetVirtualGatewayNetToVirtualGatewayLinkArrayOutput { - return o -} - -func (o GetVirtualGatewayNetToVirtualGatewayLinkArrayOutput) ToGetVirtualGatewayNetToVirtualGatewayLinkArrayOutputWithContext(ctx context.Context) GetVirtualGatewayNetToVirtualGatewayLinkArrayOutput { - return o -} - -func (o GetVirtualGatewayNetToVirtualGatewayLinkArrayOutput) Index(i pulumi.IntInput) GetVirtualGatewayNetToVirtualGatewayLinkOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVirtualGatewayNetToVirtualGatewayLink { - return vs[0].([]GetVirtualGatewayNetToVirtualGatewayLink)[vs[1].(int)] - }).(GetVirtualGatewayNetToVirtualGatewayLinkOutput) -} - -type GetVirtualGatewayTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetVirtualGatewayTagInput is an input type that accepts GetVirtualGatewayTagArgs and GetVirtualGatewayTagOutput values. -// You can construct a concrete instance of `GetVirtualGatewayTagInput` via: -// -// GetVirtualGatewayTagArgs{...} -type GetVirtualGatewayTagInput interface { - pulumi.Input - - ToGetVirtualGatewayTagOutput() GetVirtualGatewayTagOutput - ToGetVirtualGatewayTagOutputWithContext(context.Context) GetVirtualGatewayTagOutput -} - -type GetVirtualGatewayTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetVirtualGatewayTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVirtualGatewayTag)(nil)).Elem() -} - -func (i GetVirtualGatewayTagArgs) ToGetVirtualGatewayTagOutput() GetVirtualGatewayTagOutput { - return i.ToGetVirtualGatewayTagOutputWithContext(context.Background()) -} - -func (i GetVirtualGatewayTagArgs) ToGetVirtualGatewayTagOutputWithContext(ctx context.Context) GetVirtualGatewayTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVirtualGatewayTagOutput) -} - -// GetVirtualGatewayTagArrayInput is an input type that accepts GetVirtualGatewayTagArray and GetVirtualGatewayTagArrayOutput values. -// You can construct a concrete instance of `GetVirtualGatewayTagArrayInput` via: -// -// GetVirtualGatewayTagArray{ GetVirtualGatewayTagArgs{...} } -type GetVirtualGatewayTagArrayInput interface { - pulumi.Input - - ToGetVirtualGatewayTagArrayOutput() GetVirtualGatewayTagArrayOutput - ToGetVirtualGatewayTagArrayOutputWithContext(context.Context) GetVirtualGatewayTagArrayOutput -} - -type GetVirtualGatewayTagArray []GetVirtualGatewayTagInput - -func (GetVirtualGatewayTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVirtualGatewayTag)(nil)).Elem() -} - -func (i GetVirtualGatewayTagArray) ToGetVirtualGatewayTagArrayOutput() GetVirtualGatewayTagArrayOutput { - return i.ToGetVirtualGatewayTagArrayOutputWithContext(context.Background()) -} - -func (i GetVirtualGatewayTagArray) ToGetVirtualGatewayTagArrayOutputWithContext(ctx context.Context) GetVirtualGatewayTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVirtualGatewayTagArrayOutput) -} - -type GetVirtualGatewayTagOutput struct{ *pulumi.OutputState } - -func (GetVirtualGatewayTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVirtualGatewayTag)(nil)).Elem() -} - -func (o GetVirtualGatewayTagOutput) ToGetVirtualGatewayTagOutput() GetVirtualGatewayTagOutput { - return o -} - -func (o GetVirtualGatewayTagOutput) ToGetVirtualGatewayTagOutputWithContext(ctx context.Context) GetVirtualGatewayTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetVirtualGatewayTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetVirtualGatewayTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetVirtualGatewayTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetVirtualGatewayTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetVirtualGatewayTagArrayOutput struct{ *pulumi.OutputState } - -func (GetVirtualGatewayTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVirtualGatewayTag)(nil)).Elem() -} - -func (o GetVirtualGatewayTagArrayOutput) ToGetVirtualGatewayTagArrayOutput() GetVirtualGatewayTagArrayOutput { - return o -} - -func (o GetVirtualGatewayTagArrayOutput) ToGetVirtualGatewayTagArrayOutputWithContext(ctx context.Context) GetVirtualGatewayTagArrayOutput { - return o -} - -func (o GetVirtualGatewayTagArrayOutput) Index(i pulumi.IntInput) GetVirtualGatewayTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVirtualGatewayTag { - return vs[0].([]GetVirtualGatewayTag)[vs[1].(int)] - }).(GetVirtualGatewayTagOutput) -} - -type GetVirtualGatewaysFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetVirtualGatewaysFilterInput is an input type that accepts GetVirtualGatewaysFilterArgs and GetVirtualGatewaysFilterOutput values. -// You can construct a concrete instance of `GetVirtualGatewaysFilterInput` via: -// -// GetVirtualGatewaysFilterArgs{...} -type GetVirtualGatewaysFilterInput interface { - pulumi.Input - - ToGetVirtualGatewaysFilterOutput() GetVirtualGatewaysFilterOutput - ToGetVirtualGatewaysFilterOutputWithContext(context.Context) GetVirtualGatewaysFilterOutput -} - -type GetVirtualGatewaysFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetVirtualGatewaysFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVirtualGatewaysFilter)(nil)).Elem() -} - -func (i GetVirtualGatewaysFilterArgs) ToGetVirtualGatewaysFilterOutput() GetVirtualGatewaysFilterOutput { - return i.ToGetVirtualGatewaysFilterOutputWithContext(context.Background()) -} - -func (i GetVirtualGatewaysFilterArgs) ToGetVirtualGatewaysFilterOutputWithContext(ctx context.Context) GetVirtualGatewaysFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVirtualGatewaysFilterOutput) -} - -// GetVirtualGatewaysFilterArrayInput is an input type that accepts GetVirtualGatewaysFilterArray and GetVirtualGatewaysFilterArrayOutput values. -// You can construct a concrete instance of `GetVirtualGatewaysFilterArrayInput` via: -// -// GetVirtualGatewaysFilterArray{ GetVirtualGatewaysFilterArgs{...} } -type GetVirtualGatewaysFilterArrayInput interface { - pulumi.Input - - ToGetVirtualGatewaysFilterArrayOutput() GetVirtualGatewaysFilterArrayOutput - ToGetVirtualGatewaysFilterArrayOutputWithContext(context.Context) GetVirtualGatewaysFilterArrayOutput -} - -type GetVirtualGatewaysFilterArray []GetVirtualGatewaysFilterInput - -func (GetVirtualGatewaysFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVirtualGatewaysFilter)(nil)).Elem() -} - -func (i GetVirtualGatewaysFilterArray) ToGetVirtualGatewaysFilterArrayOutput() GetVirtualGatewaysFilterArrayOutput { - return i.ToGetVirtualGatewaysFilterArrayOutputWithContext(context.Background()) -} - -func (i GetVirtualGatewaysFilterArray) ToGetVirtualGatewaysFilterArrayOutputWithContext(ctx context.Context) GetVirtualGatewaysFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVirtualGatewaysFilterArrayOutput) -} - -type GetVirtualGatewaysFilterOutput struct{ *pulumi.OutputState } - -func (GetVirtualGatewaysFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVirtualGatewaysFilter)(nil)).Elem() -} - -func (o GetVirtualGatewaysFilterOutput) ToGetVirtualGatewaysFilterOutput() GetVirtualGatewaysFilterOutput { - return o -} - -func (o GetVirtualGatewaysFilterOutput) ToGetVirtualGatewaysFilterOutputWithContext(ctx context.Context) GetVirtualGatewaysFilterOutput { - return o -} - -func (o GetVirtualGatewaysFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetVirtualGatewaysFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetVirtualGatewaysFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetVirtualGatewaysFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetVirtualGatewaysFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetVirtualGatewaysFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVirtualGatewaysFilter)(nil)).Elem() -} - -func (o GetVirtualGatewaysFilterArrayOutput) ToGetVirtualGatewaysFilterArrayOutput() GetVirtualGatewaysFilterArrayOutput { - return o -} - -func (o GetVirtualGatewaysFilterArrayOutput) ToGetVirtualGatewaysFilterArrayOutputWithContext(ctx context.Context) GetVirtualGatewaysFilterArrayOutput { - return o -} - -func (o GetVirtualGatewaysFilterArrayOutput) Index(i pulumi.IntInput) GetVirtualGatewaysFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVirtualGatewaysFilter { - return vs[0].([]GetVirtualGatewaysFilter)[vs[1].(int)] - }).(GetVirtualGatewaysFilterOutput) -} - -type GetVirtualGatewaysVirtualGateway struct { - // The type of VPN connection supported by the virtual gateway (only `ipsec.1` is supported). - ConnectionType string `pulumi:"connectionType"` - // The Net to which the virtual gateway is attached. - NetToVirtualGatewayLinks []GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLink `pulumi:"netToVirtualGatewayLinks"` - // The state of the virtual gateway (`pending` \| `available` \| `deleting` \| `deleted`). - State string `pulumi:"state"` - // The key/value combinations of the tags associated with the virtual gateways, in the following format: `TAGKEY=TAGVALUE`. - Tags []GetVirtualGatewaysVirtualGatewayTag `pulumi:"tags"` - // The ID of the virtual gateway. - VirtualGatewayId string `pulumi:"virtualGatewayId"` -} - -// GetVirtualGatewaysVirtualGatewayInput is an input type that accepts GetVirtualGatewaysVirtualGatewayArgs and GetVirtualGatewaysVirtualGatewayOutput values. -// You can construct a concrete instance of `GetVirtualGatewaysVirtualGatewayInput` via: -// -// GetVirtualGatewaysVirtualGatewayArgs{...} -type GetVirtualGatewaysVirtualGatewayInput interface { - pulumi.Input - - ToGetVirtualGatewaysVirtualGatewayOutput() GetVirtualGatewaysVirtualGatewayOutput - ToGetVirtualGatewaysVirtualGatewayOutputWithContext(context.Context) GetVirtualGatewaysVirtualGatewayOutput -} - -type GetVirtualGatewaysVirtualGatewayArgs struct { - // The type of VPN connection supported by the virtual gateway (only `ipsec.1` is supported). - ConnectionType pulumi.StringInput `pulumi:"connectionType"` - // The Net to which the virtual gateway is attached. - NetToVirtualGatewayLinks GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArrayInput `pulumi:"netToVirtualGatewayLinks"` - // The state of the virtual gateway (`pending` \| `available` \| `deleting` \| `deleted`). - State pulumi.StringInput `pulumi:"state"` - // The key/value combinations of the tags associated with the virtual gateways, in the following format: `TAGKEY=TAGVALUE`. - Tags GetVirtualGatewaysVirtualGatewayTagArrayInput `pulumi:"tags"` - // The ID of the virtual gateway. - VirtualGatewayId pulumi.StringInput `pulumi:"virtualGatewayId"` -} - -func (GetVirtualGatewaysVirtualGatewayArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVirtualGatewaysVirtualGateway)(nil)).Elem() -} - -func (i GetVirtualGatewaysVirtualGatewayArgs) ToGetVirtualGatewaysVirtualGatewayOutput() GetVirtualGatewaysVirtualGatewayOutput { - return i.ToGetVirtualGatewaysVirtualGatewayOutputWithContext(context.Background()) -} - -func (i GetVirtualGatewaysVirtualGatewayArgs) ToGetVirtualGatewaysVirtualGatewayOutputWithContext(ctx context.Context) GetVirtualGatewaysVirtualGatewayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVirtualGatewaysVirtualGatewayOutput) -} - -// GetVirtualGatewaysVirtualGatewayArrayInput is an input type that accepts GetVirtualGatewaysVirtualGatewayArray and GetVirtualGatewaysVirtualGatewayArrayOutput values. -// You can construct a concrete instance of `GetVirtualGatewaysVirtualGatewayArrayInput` via: -// -// GetVirtualGatewaysVirtualGatewayArray{ GetVirtualGatewaysVirtualGatewayArgs{...} } -type GetVirtualGatewaysVirtualGatewayArrayInput interface { - pulumi.Input - - ToGetVirtualGatewaysVirtualGatewayArrayOutput() GetVirtualGatewaysVirtualGatewayArrayOutput - ToGetVirtualGatewaysVirtualGatewayArrayOutputWithContext(context.Context) GetVirtualGatewaysVirtualGatewayArrayOutput -} - -type GetVirtualGatewaysVirtualGatewayArray []GetVirtualGatewaysVirtualGatewayInput - -func (GetVirtualGatewaysVirtualGatewayArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVirtualGatewaysVirtualGateway)(nil)).Elem() -} - -func (i GetVirtualGatewaysVirtualGatewayArray) ToGetVirtualGatewaysVirtualGatewayArrayOutput() GetVirtualGatewaysVirtualGatewayArrayOutput { - return i.ToGetVirtualGatewaysVirtualGatewayArrayOutputWithContext(context.Background()) -} - -func (i GetVirtualGatewaysVirtualGatewayArray) ToGetVirtualGatewaysVirtualGatewayArrayOutputWithContext(ctx context.Context) GetVirtualGatewaysVirtualGatewayArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVirtualGatewaysVirtualGatewayArrayOutput) -} - -type GetVirtualGatewaysVirtualGatewayOutput struct{ *pulumi.OutputState } - -func (GetVirtualGatewaysVirtualGatewayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVirtualGatewaysVirtualGateway)(nil)).Elem() -} - -func (o GetVirtualGatewaysVirtualGatewayOutput) ToGetVirtualGatewaysVirtualGatewayOutput() GetVirtualGatewaysVirtualGatewayOutput { - return o -} - -func (o GetVirtualGatewaysVirtualGatewayOutput) ToGetVirtualGatewaysVirtualGatewayOutputWithContext(ctx context.Context) GetVirtualGatewaysVirtualGatewayOutput { - return o -} - -// The type of VPN connection supported by the virtual gateway (only `ipsec.1` is supported). -func (o GetVirtualGatewaysVirtualGatewayOutput) ConnectionType() pulumi.StringOutput { - return o.ApplyT(func(v GetVirtualGatewaysVirtualGateway) string { return v.ConnectionType }).(pulumi.StringOutput) -} - -// The Net to which the virtual gateway is attached. -func (o GetVirtualGatewaysVirtualGatewayOutput) NetToVirtualGatewayLinks() GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArrayOutput { - return o.ApplyT(func(v GetVirtualGatewaysVirtualGateway) []GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLink { - return v.NetToVirtualGatewayLinks - }).(GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArrayOutput) -} - -// The state of the virtual gateway (`pending` \| `available` \| `deleting` \| `deleted`). -func (o GetVirtualGatewaysVirtualGatewayOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetVirtualGatewaysVirtualGateway) string { return v.State }).(pulumi.StringOutput) -} - -// The key/value combinations of the tags associated with the virtual gateways, in the following format: `TAGKEY=TAGVALUE`. -func (o GetVirtualGatewaysVirtualGatewayOutput) Tags() GetVirtualGatewaysVirtualGatewayTagArrayOutput { - return o.ApplyT(func(v GetVirtualGatewaysVirtualGateway) []GetVirtualGatewaysVirtualGatewayTag { return v.Tags }).(GetVirtualGatewaysVirtualGatewayTagArrayOutput) -} - -// The ID of the virtual gateway. -func (o GetVirtualGatewaysVirtualGatewayOutput) VirtualGatewayId() pulumi.StringOutput { - return o.ApplyT(func(v GetVirtualGatewaysVirtualGateway) string { return v.VirtualGatewayId }).(pulumi.StringOutput) -} - -type GetVirtualGatewaysVirtualGatewayArrayOutput struct{ *pulumi.OutputState } - -func (GetVirtualGatewaysVirtualGatewayArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVirtualGatewaysVirtualGateway)(nil)).Elem() -} - -func (o GetVirtualGatewaysVirtualGatewayArrayOutput) ToGetVirtualGatewaysVirtualGatewayArrayOutput() GetVirtualGatewaysVirtualGatewayArrayOutput { - return o -} - -func (o GetVirtualGatewaysVirtualGatewayArrayOutput) ToGetVirtualGatewaysVirtualGatewayArrayOutputWithContext(ctx context.Context) GetVirtualGatewaysVirtualGatewayArrayOutput { - return o -} - -func (o GetVirtualGatewaysVirtualGatewayArrayOutput) Index(i pulumi.IntInput) GetVirtualGatewaysVirtualGatewayOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVirtualGatewaysVirtualGateway { - return vs[0].([]GetVirtualGatewaysVirtualGateway)[vs[1].(int)] - }).(GetVirtualGatewaysVirtualGatewayOutput) -} - -type GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLink struct { - // The ID of the Net to which the virtual gateway is attached. - NetId string `pulumi:"netId"` - // The state of the virtual gateway (`pending` \| `available` \| `deleting` \| `deleted`). - State string `pulumi:"state"` -} - -// GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkInput is an input type that accepts GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArgs and GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkOutput values. -// You can construct a concrete instance of `GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkInput` via: -// -// GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArgs{...} -type GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkInput interface { - pulumi.Input - - ToGetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkOutput() GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkOutput - ToGetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkOutputWithContext(context.Context) GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkOutput -} - -type GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArgs struct { - // The ID of the Net to which the virtual gateway is attached. - NetId pulumi.StringInput `pulumi:"netId"` - // The state of the virtual gateway (`pending` \| `available` \| `deleting` \| `deleted`). - State pulumi.StringInput `pulumi:"state"` -} - -func (GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLink)(nil)).Elem() -} - -func (i GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArgs) ToGetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkOutput() GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkOutput { - return i.ToGetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkOutputWithContext(context.Background()) -} - -func (i GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArgs) ToGetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkOutputWithContext(ctx context.Context) GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkOutput) -} - -// GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArrayInput is an input type that accepts GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArray and GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArrayOutput values. -// You can construct a concrete instance of `GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArrayInput` via: -// -// GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArray{ GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArgs{...} } -type GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArrayInput interface { - pulumi.Input - - ToGetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArrayOutput() GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArrayOutput - ToGetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArrayOutputWithContext(context.Context) GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArrayOutput -} - -type GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArray []GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkInput - -func (GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLink)(nil)).Elem() -} - -func (i GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArray) ToGetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArrayOutput() GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArrayOutput { - return i.ToGetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArrayOutputWithContext(context.Background()) -} - -func (i GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArray) ToGetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArrayOutputWithContext(ctx context.Context) GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArrayOutput) -} - -type GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkOutput struct{ *pulumi.OutputState } - -func (GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLink)(nil)).Elem() -} - -func (o GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkOutput) ToGetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkOutput() GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkOutput { - return o -} - -func (o GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkOutput) ToGetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkOutputWithContext(ctx context.Context) GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkOutput { - return o -} - -// The ID of the Net to which the virtual gateway is attached. -func (o GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLink) string { return v.NetId }).(pulumi.StringOutput) -} - -// The state of the virtual gateway (`pending` \| `available` \| `deleting` \| `deleted`). -func (o GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLink) string { return v.State }).(pulumi.StringOutput) -} - -type GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArrayOutput struct{ *pulumi.OutputState } - -func (GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLink)(nil)).Elem() -} - -func (o GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArrayOutput) ToGetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArrayOutput() GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArrayOutput { - return o -} - -func (o GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArrayOutput) ToGetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArrayOutputWithContext(ctx context.Context) GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArrayOutput { - return o -} - -func (o GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArrayOutput) Index(i pulumi.IntInput) GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLink { - return vs[0].([]GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLink)[vs[1].(int)] - }).(GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkOutput) -} - -type GetVirtualGatewaysVirtualGatewayTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetVirtualGatewaysVirtualGatewayTagInput is an input type that accepts GetVirtualGatewaysVirtualGatewayTagArgs and GetVirtualGatewaysVirtualGatewayTagOutput values. -// You can construct a concrete instance of `GetVirtualGatewaysVirtualGatewayTagInput` via: -// -// GetVirtualGatewaysVirtualGatewayTagArgs{...} -type GetVirtualGatewaysVirtualGatewayTagInput interface { - pulumi.Input - - ToGetVirtualGatewaysVirtualGatewayTagOutput() GetVirtualGatewaysVirtualGatewayTagOutput - ToGetVirtualGatewaysVirtualGatewayTagOutputWithContext(context.Context) GetVirtualGatewaysVirtualGatewayTagOutput -} - -type GetVirtualGatewaysVirtualGatewayTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetVirtualGatewaysVirtualGatewayTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVirtualGatewaysVirtualGatewayTag)(nil)).Elem() -} - -func (i GetVirtualGatewaysVirtualGatewayTagArgs) ToGetVirtualGatewaysVirtualGatewayTagOutput() GetVirtualGatewaysVirtualGatewayTagOutput { - return i.ToGetVirtualGatewaysVirtualGatewayTagOutputWithContext(context.Background()) -} - -func (i GetVirtualGatewaysVirtualGatewayTagArgs) ToGetVirtualGatewaysVirtualGatewayTagOutputWithContext(ctx context.Context) GetVirtualGatewaysVirtualGatewayTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVirtualGatewaysVirtualGatewayTagOutput) -} - -// GetVirtualGatewaysVirtualGatewayTagArrayInput is an input type that accepts GetVirtualGatewaysVirtualGatewayTagArray and GetVirtualGatewaysVirtualGatewayTagArrayOutput values. -// You can construct a concrete instance of `GetVirtualGatewaysVirtualGatewayTagArrayInput` via: -// -// GetVirtualGatewaysVirtualGatewayTagArray{ GetVirtualGatewaysVirtualGatewayTagArgs{...} } -type GetVirtualGatewaysVirtualGatewayTagArrayInput interface { - pulumi.Input - - ToGetVirtualGatewaysVirtualGatewayTagArrayOutput() GetVirtualGatewaysVirtualGatewayTagArrayOutput - ToGetVirtualGatewaysVirtualGatewayTagArrayOutputWithContext(context.Context) GetVirtualGatewaysVirtualGatewayTagArrayOutput -} - -type GetVirtualGatewaysVirtualGatewayTagArray []GetVirtualGatewaysVirtualGatewayTagInput - -func (GetVirtualGatewaysVirtualGatewayTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVirtualGatewaysVirtualGatewayTag)(nil)).Elem() -} - -func (i GetVirtualGatewaysVirtualGatewayTagArray) ToGetVirtualGatewaysVirtualGatewayTagArrayOutput() GetVirtualGatewaysVirtualGatewayTagArrayOutput { - return i.ToGetVirtualGatewaysVirtualGatewayTagArrayOutputWithContext(context.Background()) -} - -func (i GetVirtualGatewaysVirtualGatewayTagArray) ToGetVirtualGatewaysVirtualGatewayTagArrayOutputWithContext(ctx context.Context) GetVirtualGatewaysVirtualGatewayTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVirtualGatewaysVirtualGatewayTagArrayOutput) -} - -type GetVirtualGatewaysVirtualGatewayTagOutput struct{ *pulumi.OutputState } - -func (GetVirtualGatewaysVirtualGatewayTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVirtualGatewaysVirtualGatewayTag)(nil)).Elem() -} - -func (o GetVirtualGatewaysVirtualGatewayTagOutput) ToGetVirtualGatewaysVirtualGatewayTagOutput() GetVirtualGatewaysVirtualGatewayTagOutput { - return o -} - -func (o GetVirtualGatewaysVirtualGatewayTagOutput) ToGetVirtualGatewaysVirtualGatewayTagOutputWithContext(ctx context.Context) GetVirtualGatewaysVirtualGatewayTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetVirtualGatewaysVirtualGatewayTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetVirtualGatewaysVirtualGatewayTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetVirtualGatewaysVirtualGatewayTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetVirtualGatewaysVirtualGatewayTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetVirtualGatewaysVirtualGatewayTagArrayOutput struct{ *pulumi.OutputState } - -func (GetVirtualGatewaysVirtualGatewayTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVirtualGatewaysVirtualGatewayTag)(nil)).Elem() -} - -func (o GetVirtualGatewaysVirtualGatewayTagArrayOutput) ToGetVirtualGatewaysVirtualGatewayTagArrayOutput() GetVirtualGatewaysVirtualGatewayTagArrayOutput { - return o -} - -func (o GetVirtualGatewaysVirtualGatewayTagArrayOutput) ToGetVirtualGatewaysVirtualGatewayTagArrayOutputWithContext(ctx context.Context) GetVirtualGatewaysVirtualGatewayTagArrayOutput { - return o -} - -func (o GetVirtualGatewaysVirtualGatewayTagArrayOutput) Index(i pulumi.IntInput) GetVirtualGatewaysVirtualGatewayTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVirtualGatewaysVirtualGatewayTag { - return vs[0].([]GetVirtualGatewaysVirtualGatewayTag)[vs[1].(int)] - }).(GetVirtualGatewaysVirtualGatewayTagOutput) -} - -type GetVmBlockDeviceMappingsCreated struct { - // Information about the created BSU volume. - Bsus []GetVmBlockDeviceMappingsCreatedBsus `pulumi:"bsus"` - // The name of the device. - DeviceName string `pulumi:"deviceName"` -} - -// GetVmBlockDeviceMappingsCreatedInput is an input type that accepts GetVmBlockDeviceMappingsCreatedArgs and GetVmBlockDeviceMappingsCreatedOutput values. -// You can construct a concrete instance of `GetVmBlockDeviceMappingsCreatedInput` via: -// -// GetVmBlockDeviceMappingsCreatedArgs{...} -type GetVmBlockDeviceMappingsCreatedInput interface { - pulumi.Input - - ToGetVmBlockDeviceMappingsCreatedOutput() GetVmBlockDeviceMappingsCreatedOutput - ToGetVmBlockDeviceMappingsCreatedOutputWithContext(context.Context) GetVmBlockDeviceMappingsCreatedOutput -} - -type GetVmBlockDeviceMappingsCreatedArgs struct { - // Information about the created BSU volume. - Bsus GetVmBlockDeviceMappingsCreatedBsusArrayInput `pulumi:"bsus"` - // The name of the device. - DeviceName pulumi.StringInput `pulumi:"deviceName"` -} - -func (GetVmBlockDeviceMappingsCreatedArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmBlockDeviceMappingsCreated)(nil)).Elem() -} - -func (i GetVmBlockDeviceMappingsCreatedArgs) ToGetVmBlockDeviceMappingsCreatedOutput() GetVmBlockDeviceMappingsCreatedOutput { - return i.ToGetVmBlockDeviceMappingsCreatedOutputWithContext(context.Background()) -} - -func (i GetVmBlockDeviceMappingsCreatedArgs) ToGetVmBlockDeviceMappingsCreatedOutputWithContext(ctx context.Context) GetVmBlockDeviceMappingsCreatedOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmBlockDeviceMappingsCreatedOutput) -} - -// GetVmBlockDeviceMappingsCreatedArrayInput is an input type that accepts GetVmBlockDeviceMappingsCreatedArray and GetVmBlockDeviceMappingsCreatedArrayOutput values. -// You can construct a concrete instance of `GetVmBlockDeviceMappingsCreatedArrayInput` via: -// -// GetVmBlockDeviceMappingsCreatedArray{ GetVmBlockDeviceMappingsCreatedArgs{...} } -type GetVmBlockDeviceMappingsCreatedArrayInput interface { - pulumi.Input - - ToGetVmBlockDeviceMappingsCreatedArrayOutput() GetVmBlockDeviceMappingsCreatedArrayOutput - ToGetVmBlockDeviceMappingsCreatedArrayOutputWithContext(context.Context) GetVmBlockDeviceMappingsCreatedArrayOutput -} - -type GetVmBlockDeviceMappingsCreatedArray []GetVmBlockDeviceMappingsCreatedInput - -func (GetVmBlockDeviceMappingsCreatedArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmBlockDeviceMappingsCreated)(nil)).Elem() -} - -func (i GetVmBlockDeviceMappingsCreatedArray) ToGetVmBlockDeviceMappingsCreatedArrayOutput() GetVmBlockDeviceMappingsCreatedArrayOutput { - return i.ToGetVmBlockDeviceMappingsCreatedArrayOutputWithContext(context.Background()) -} - -func (i GetVmBlockDeviceMappingsCreatedArray) ToGetVmBlockDeviceMappingsCreatedArrayOutputWithContext(ctx context.Context) GetVmBlockDeviceMappingsCreatedArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmBlockDeviceMappingsCreatedArrayOutput) -} - -type GetVmBlockDeviceMappingsCreatedOutput struct{ *pulumi.OutputState } - -func (GetVmBlockDeviceMappingsCreatedOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmBlockDeviceMappingsCreated)(nil)).Elem() -} - -func (o GetVmBlockDeviceMappingsCreatedOutput) ToGetVmBlockDeviceMappingsCreatedOutput() GetVmBlockDeviceMappingsCreatedOutput { - return o -} - -func (o GetVmBlockDeviceMappingsCreatedOutput) ToGetVmBlockDeviceMappingsCreatedOutputWithContext(ctx context.Context) GetVmBlockDeviceMappingsCreatedOutput { - return o -} - -// Information about the created BSU volume. -func (o GetVmBlockDeviceMappingsCreatedOutput) Bsus() GetVmBlockDeviceMappingsCreatedBsusArrayOutput { - return o.ApplyT(func(v GetVmBlockDeviceMappingsCreated) []GetVmBlockDeviceMappingsCreatedBsus { return v.Bsus }).(GetVmBlockDeviceMappingsCreatedBsusArrayOutput) -} - -// The name of the device. -func (o GetVmBlockDeviceMappingsCreatedOutput) DeviceName() pulumi.StringOutput { - return o.ApplyT(func(v GetVmBlockDeviceMappingsCreated) string { return v.DeviceName }).(pulumi.StringOutput) -} - -type GetVmBlockDeviceMappingsCreatedArrayOutput struct{ *pulumi.OutputState } - -func (GetVmBlockDeviceMappingsCreatedArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmBlockDeviceMappingsCreated)(nil)).Elem() -} - -func (o GetVmBlockDeviceMappingsCreatedArrayOutput) ToGetVmBlockDeviceMappingsCreatedArrayOutput() GetVmBlockDeviceMappingsCreatedArrayOutput { - return o -} - -func (o GetVmBlockDeviceMappingsCreatedArrayOutput) ToGetVmBlockDeviceMappingsCreatedArrayOutputWithContext(ctx context.Context) GetVmBlockDeviceMappingsCreatedArrayOutput { - return o -} - -func (o GetVmBlockDeviceMappingsCreatedArrayOutput) Index(i pulumi.IntInput) GetVmBlockDeviceMappingsCreatedOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmBlockDeviceMappingsCreated { - return vs[0].([]GetVmBlockDeviceMappingsCreated)[vs[1].(int)] - }).(GetVmBlockDeviceMappingsCreatedOutput) -} - -type GetVmBlockDeviceMappingsCreatedBsus struct { - // If true, the NIC is deleted when the VM is terminated. - DeleteOnVmDeletion bool `pulumi:"deleteOnVmDeletion"` - // The date and time of attachment of the volume to the VM, in ISO 8601 date-time format. - LinkDate string `pulumi:"linkDate"` - // The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - State string `pulumi:"state"` - // The key/value combinations of the tags associated with the VMs, in the following format: `TAGKEY=TAGVALUE`. - Tags []GetVmBlockDeviceMappingsCreatedBsusTag `pulumi:"tags"` - // The ID of the volume. - VolumeId string `pulumi:"volumeId"` -} - -// GetVmBlockDeviceMappingsCreatedBsusInput is an input type that accepts GetVmBlockDeviceMappingsCreatedBsusArgs and GetVmBlockDeviceMappingsCreatedBsusOutput values. -// You can construct a concrete instance of `GetVmBlockDeviceMappingsCreatedBsusInput` via: -// -// GetVmBlockDeviceMappingsCreatedBsusArgs{...} -type GetVmBlockDeviceMappingsCreatedBsusInput interface { - pulumi.Input - - ToGetVmBlockDeviceMappingsCreatedBsusOutput() GetVmBlockDeviceMappingsCreatedBsusOutput - ToGetVmBlockDeviceMappingsCreatedBsusOutputWithContext(context.Context) GetVmBlockDeviceMappingsCreatedBsusOutput -} - -type GetVmBlockDeviceMappingsCreatedBsusArgs struct { - // If true, the NIC is deleted when the VM is terminated. - DeleteOnVmDeletion pulumi.BoolInput `pulumi:"deleteOnVmDeletion"` - // The date and time of attachment of the volume to the VM, in ISO 8601 date-time format. - LinkDate pulumi.StringInput `pulumi:"linkDate"` - // The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - State pulumi.StringInput `pulumi:"state"` - // The key/value combinations of the tags associated with the VMs, in the following format: `TAGKEY=TAGVALUE`. - Tags GetVmBlockDeviceMappingsCreatedBsusTagArrayInput `pulumi:"tags"` - // The ID of the volume. - VolumeId pulumi.StringInput `pulumi:"volumeId"` -} - -func (GetVmBlockDeviceMappingsCreatedBsusArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmBlockDeviceMappingsCreatedBsus)(nil)).Elem() -} - -func (i GetVmBlockDeviceMappingsCreatedBsusArgs) ToGetVmBlockDeviceMappingsCreatedBsusOutput() GetVmBlockDeviceMappingsCreatedBsusOutput { - return i.ToGetVmBlockDeviceMappingsCreatedBsusOutputWithContext(context.Background()) -} - -func (i GetVmBlockDeviceMappingsCreatedBsusArgs) ToGetVmBlockDeviceMappingsCreatedBsusOutputWithContext(ctx context.Context) GetVmBlockDeviceMappingsCreatedBsusOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmBlockDeviceMappingsCreatedBsusOutput) -} - -// GetVmBlockDeviceMappingsCreatedBsusArrayInput is an input type that accepts GetVmBlockDeviceMappingsCreatedBsusArray and GetVmBlockDeviceMappingsCreatedBsusArrayOutput values. -// You can construct a concrete instance of `GetVmBlockDeviceMappingsCreatedBsusArrayInput` via: -// -// GetVmBlockDeviceMappingsCreatedBsusArray{ GetVmBlockDeviceMappingsCreatedBsusArgs{...} } -type GetVmBlockDeviceMappingsCreatedBsusArrayInput interface { - pulumi.Input - - ToGetVmBlockDeviceMappingsCreatedBsusArrayOutput() GetVmBlockDeviceMappingsCreatedBsusArrayOutput - ToGetVmBlockDeviceMappingsCreatedBsusArrayOutputWithContext(context.Context) GetVmBlockDeviceMappingsCreatedBsusArrayOutput -} - -type GetVmBlockDeviceMappingsCreatedBsusArray []GetVmBlockDeviceMappingsCreatedBsusInput - -func (GetVmBlockDeviceMappingsCreatedBsusArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmBlockDeviceMappingsCreatedBsus)(nil)).Elem() -} - -func (i GetVmBlockDeviceMappingsCreatedBsusArray) ToGetVmBlockDeviceMappingsCreatedBsusArrayOutput() GetVmBlockDeviceMappingsCreatedBsusArrayOutput { - return i.ToGetVmBlockDeviceMappingsCreatedBsusArrayOutputWithContext(context.Background()) -} - -func (i GetVmBlockDeviceMappingsCreatedBsusArray) ToGetVmBlockDeviceMappingsCreatedBsusArrayOutputWithContext(ctx context.Context) GetVmBlockDeviceMappingsCreatedBsusArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmBlockDeviceMappingsCreatedBsusArrayOutput) -} - -type GetVmBlockDeviceMappingsCreatedBsusOutput struct{ *pulumi.OutputState } - -func (GetVmBlockDeviceMappingsCreatedBsusOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmBlockDeviceMappingsCreatedBsus)(nil)).Elem() -} - -func (o GetVmBlockDeviceMappingsCreatedBsusOutput) ToGetVmBlockDeviceMappingsCreatedBsusOutput() GetVmBlockDeviceMappingsCreatedBsusOutput { - return o -} - -func (o GetVmBlockDeviceMappingsCreatedBsusOutput) ToGetVmBlockDeviceMappingsCreatedBsusOutputWithContext(ctx context.Context) GetVmBlockDeviceMappingsCreatedBsusOutput { - return o -} - -// If true, the NIC is deleted when the VM is terminated. -func (o GetVmBlockDeviceMappingsCreatedBsusOutput) DeleteOnVmDeletion() pulumi.BoolOutput { - return o.ApplyT(func(v GetVmBlockDeviceMappingsCreatedBsus) bool { return v.DeleteOnVmDeletion }).(pulumi.BoolOutput) -} - -// The date and time of attachment of the volume to the VM, in ISO 8601 date-time format. -func (o GetVmBlockDeviceMappingsCreatedBsusOutput) LinkDate() pulumi.StringOutput { - return o.ApplyT(func(v GetVmBlockDeviceMappingsCreatedBsus) string { return v.LinkDate }).(pulumi.StringOutput) -} - -// The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). -func (o GetVmBlockDeviceMappingsCreatedBsusOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetVmBlockDeviceMappingsCreatedBsus) string { return v.State }).(pulumi.StringOutput) -} - -// The key/value combinations of the tags associated with the VMs, in the following format: `TAGKEY=TAGVALUE`. -func (o GetVmBlockDeviceMappingsCreatedBsusOutput) Tags() GetVmBlockDeviceMappingsCreatedBsusTagArrayOutput { - return o.ApplyT(func(v GetVmBlockDeviceMappingsCreatedBsus) []GetVmBlockDeviceMappingsCreatedBsusTag { return v.Tags }).(GetVmBlockDeviceMappingsCreatedBsusTagArrayOutput) -} - -// The ID of the volume. -func (o GetVmBlockDeviceMappingsCreatedBsusOutput) VolumeId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmBlockDeviceMappingsCreatedBsus) string { return v.VolumeId }).(pulumi.StringOutput) -} - -type GetVmBlockDeviceMappingsCreatedBsusArrayOutput struct{ *pulumi.OutputState } - -func (GetVmBlockDeviceMappingsCreatedBsusArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmBlockDeviceMappingsCreatedBsus)(nil)).Elem() -} - -func (o GetVmBlockDeviceMappingsCreatedBsusArrayOutput) ToGetVmBlockDeviceMappingsCreatedBsusArrayOutput() GetVmBlockDeviceMappingsCreatedBsusArrayOutput { - return o -} - -func (o GetVmBlockDeviceMappingsCreatedBsusArrayOutput) ToGetVmBlockDeviceMappingsCreatedBsusArrayOutputWithContext(ctx context.Context) GetVmBlockDeviceMappingsCreatedBsusArrayOutput { - return o -} - -func (o GetVmBlockDeviceMappingsCreatedBsusArrayOutput) Index(i pulumi.IntInput) GetVmBlockDeviceMappingsCreatedBsusOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmBlockDeviceMappingsCreatedBsus { - return vs[0].([]GetVmBlockDeviceMappingsCreatedBsus)[vs[1].(int)] - }).(GetVmBlockDeviceMappingsCreatedBsusOutput) -} - -type GetVmBlockDeviceMappingsCreatedBsusTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetVmBlockDeviceMappingsCreatedBsusTagInput is an input type that accepts GetVmBlockDeviceMappingsCreatedBsusTagArgs and GetVmBlockDeviceMappingsCreatedBsusTagOutput values. -// You can construct a concrete instance of `GetVmBlockDeviceMappingsCreatedBsusTagInput` via: -// -// GetVmBlockDeviceMappingsCreatedBsusTagArgs{...} -type GetVmBlockDeviceMappingsCreatedBsusTagInput interface { - pulumi.Input - - ToGetVmBlockDeviceMappingsCreatedBsusTagOutput() GetVmBlockDeviceMappingsCreatedBsusTagOutput - ToGetVmBlockDeviceMappingsCreatedBsusTagOutputWithContext(context.Context) GetVmBlockDeviceMappingsCreatedBsusTagOutput -} - -type GetVmBlockDeviceMappingsCreatedBsusTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetVmBlockDeviceMappingsCreatedBsusTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmBlockDeviceMappingsCreatedBsusTag)(nil)).Elem() -} - -func (i GetVmBlockDeviceMappingsCreatedBsusTagArgs) ToGetVmBlockDeviceMappingsCreatedBsusTagOutput() GetVmBlockDeviceMappingsCreatedBsusTagOutput { - return i.ToGetVmBlockDeviceMappingsCreatedBsusTagOutputWithContext(context.Background()) -} - -func (i GetVmBlockDeviceMappingsCreatedBsusTagArgs) ToGetVmBlockDeviceMappingsCreatedBsusTagOutputWithContext(ctx context.Context) GetVmBlockDeviceMappingsCreatedBsusTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmBlockDeviceMappingsCreatedBsusTagOutput) -} - -// GetVmBlockDeviceMappingsCreatedBsusTagArrayInput is an input type that accepts GetVmBlockDeviceMappingsCreatedBsusTagArray and GetVmBlockDeviceMappingsCreatedBsusTagArrayOutput values. -// You can construct a concrete instance of `GetVmBlockDeviceMappingsCreatedBsusTagArrayInput` via: -// -// GetVmBlockDeviceMappingsCreatedBsusTagArray{ GetVmBlockDeviceMappingsCreatedBsusTagArgs{...} } -type GetVmBlockDeviceMappingsCreatedBsusTagArrayInput interface { - pulumi.Input - - ToGetVmBlockDeviceMappingsCreatedBsusTagArrayOutput() GetVmBlockDeviceMappingsCreatedBsusTagArrayOutput - ToGetVmBlockDeviceMappingsCreatedBsusTagArrayOutputWithContext(context.Context) GetVmBlockDeviceMappingsCreatedBsusTagArrayOutput -} - -type GetVmBlockDeviceMappingsCreatedBsusTagArray []GetVmBlockDeviceMappingsCreatedBsusTagInput - -func (GetVmBlockDeviceMappingsCreatedBsusTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmBlockDeviceMappingsCreatedBsusTag)(nil)).Elem() -} - -func (i GetVmBlockDeviceMappingsCreatedBsusTagArray) ToGetVmBlockDeviceMappingsCreatedBsusTagArrayOutput() GetVmBlockDeviceMappingsCreatedBsusTagArrayOutput { - return i.ToGetVmBlockDeviceMappingsCreatedBsusTagArrayOutputWithContext(context.Background()) -} - -func (i GetVmBlockDeviceMappingsCreatedBsusTagArray) ToGetVmBlockDeviceMappingsCreatedBsusTagArrayOutputWithContext(ctx context.Context) GetVmBlockDeviceMappingsCreatedBsusTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmBlockDeviceMappingsCreatedBsusTagArrayOutput) -} - -type GetVmBlockDeviceMappingsCreatedBsusTagOutput struct{ *pulumi.OutputState } - -func (GetVmBlockDeviceMappingsCreatedBsusTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmBlockDeviceMappingsCreatedBsusTag)(nil)).Elem() -} - -func (o GetVmBlockDeviceMappingsCreatedBsusTagOutput) ToGetVmBlockDeviceMappingsCreatedBsusTagOutput() GetVmBlockDeviceMappingsCreatedBsusTagOutput { - return o -} - -func (o GetVmBlockDeviceMappingsCreatedBsusTagOutput) ToGetVmBlockDeviceMappingsCreatedBsusTagOutputWithContext(ctx context.Context) GetVmBlockDeviceMappingsCreatedBsusTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetVmBlockDeviceMappingsCreatedBsusTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetVmBlockDeviceMappingsCreatedBsusTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetVmBlockDeviceMappingsCreatedBsusTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetVmBlockDeviceMappingsCreatedBsusTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetVmBlockDeviceMappingsCreatedBsusTagArrayOutput struct{ *pulumi.OutputState } - -func (GetVmBlockDeviceMappingsCreatedBsusTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmBlockDeviceMappingsCreatedBsusTag)(nil)).Elem() -} - -func (o GetVmBlockDeviceMappingsCreatedBsusTagArrayOutput) ToGetVmBlockDeviceMappingsCreatedBsusTagArrayOutput() GetVmBlockDeviceMappingsCreatedBsusTagArrayOutput { - return o -} - -func (o GetVmBlockDeviceMappingsCreatedBsusTagArrayOutput) ToGetVmBlockDeviceMappingsCreatedBsusTagArrayOutputWithContext(ctx context.Context) GetVmBlockDeviceMappingsCreatedBsusTagArrayOutput { - return o -} - -func (o GetVmBlockDeviceMappingsCreatedBsusTagArrayOutput) Index(i pulumi.IntInput) GetVmBlockDeviceMappingsCreatedBsusTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmBlockDeviceMappingsCreatedBsusTag { - return vs[0].([]GetVmBlockDeviceMappingsCreatedBsusTag)[vs[1].(int)] - }).(GetVmBlockDeviceMappingsCreatedBsusTagOutput) -} - -type GetVmFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetVmFilterInput is an input type that accepts GetVmFilterArgs and GetVmFilterOutput values. -// You can construct a concrete instance of `GetVmFilterInput` via: -// -// GetVmFilterArgs{...} -type GetVmFilterInput interface { - pulumi.Input - - ToGetVmFilterOutput() GetVmFilterOutput - ToGetVmFilterOutputWithContext(context.Context) GetVmFilterOutput -} - -type GetVmFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetVmFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmFilter)(nil)).Elem() -} - -func (i GetVmFilterArgs) ToGetVmFilterOutput() GetVmFilterOutput { - return i.ToGetVmFilterOutputWithContext(context.Background()) -} - -func (i GetVmFilterArgs) ToGetVmFilterOutputWithContext(ctx context.Context) GetVmFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmFilterOutput) -} - -// GetVmFilterArrayInput is an input type that accepts GetVmFilterArray and GetVmFilterArrayOutput values. -// You can construct a concrete instance of `GetVmFilterArrayInput` via: -// -// GetVmFilterArray{ GetVmFilterArgs{...} } -type GetVmFilterArrayInput interface { - pulumi.Input - - ToGetVmFilterArrayOutput() GetVmFilterArrayOutput - ToGetVmFilterArrayOutputWithContext(context.Context) GetVmFilterArrayOutput -} - -type GetVmFilterArray []GetVmFilterInput - -func (GetVmFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmFilter)(nil)).Elem() -} - -func (i GetVmFilterArray) ToGetVmFilterArrayOutput() GetVmFilterArrayOutput { - return i.ToGetVmFilterArrayOutputWithContext(context.Background()) -} - -func (i GetVmFilterArray) ToGetVmFilterArrayOutputWithContext(ctx context.Context) GetVmFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmFilterArrayOutput) -} - -type GetVmFilterOutput struct{ *pulumi.OutputState } - -func (GetVmFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmFilter)(nil)).Elem() -} - -func (o GetVmFilterOutput) ToGetVmFilterOutput() GetVmFilterOutput { - return o -} - -func (o GetVmFilterOutput) ToGetVmFilterOutputWithContext(ctx context.Context) GetVmFilterOutput { - return o -} - -func (o GetVmFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetVmFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetVmFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetVmFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetVmFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetVmFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmFilter)(nil)).Elem() -} - -func (o GetVmFilterArrayOutput) ToGetVmFilterArrayOutput() GetVmFilterArrayOutput { - return o -} - -func (o GetVmFilterArrayOutput) ToGetVmFilterArrayOutputWithContext(ctx context.Context) GetVmFilterArrayOutput { - return o -} - -func (o GetVmFilterArrayOutput) Index(i pulumi.IntInput) GetVmFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmFilter { - return vs[0].([]GetVmFilter)[vs[1].(int)] - }).(GetVmFilterOutput) -} - -type GetVmNic struct { - // The account ID of the owner of the NIC. - AccountId string `pulumi:"accountId"` - // If true, the NIC is deleted when the VM is terminated. - DeleteOnVmDeletion bool `pulumi:"deleteOnVmDeletion"` - // The description of the NIC. - Description string `pulumi:"description"` - // The device index for the NIC attachment (between `1` and `7`, both included). - DeviceNumber int `pulumi:"deviceNumber"` - // (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - IsSourceDestChecked bool `pulumi:"isSourceDestChecked"` - // Information about the network interface card (NIC). - LinkNics []GetVmNicLinkNic `pulumi:"linkNics"` - // Information about the public IP associated with the NIC. - LinkPublicIps []GetVmNicLinkPublicIp `pulumi:"linkPublicIps"` - // The Media Access Control (MAC) address of the NIC. - MacAddress string `pulumi:"macAddress"` - // The ID of the Net for the NIC. - NetId string `pulumi:"netId"` - // The ID of the NIC. - NicId string `pulumi:"nicId"` - // The name of the private DNS. - PrivateDnsName string `pulumi:"privateDnsName"` - // The private IP or IPs of the NIC. - PrivateIps []GetVmNicPrivateIp `pulumi:"privateIps"` - SecondaryPrivateIpCount int `pulumi:"secondaryPrivateIpCount"` - SecurityGroupIds []string `pulumi:"securityGroupIds"` - // One or more security groups associated with the VM. - SecurityGroups []GetVmNicSecurityGroup `pulumi:"securityGroups"` - SecurityGroupsNames []string `pulumi:"securityGroupsNames"` - // The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - State string `pulumi:"state"` - // The ID of the Subnet for the VM. - SubnetId string `pulumi:"subnetId"` -} - -// GetVmNicInput is an input type that accepts GetVmNicArgs and GetVmNicOutput values. -// You can construct a concrete instance of `GetVmNicInput` via: -// -// GetVmNicArgs{...} -type GetVmNicInput interface { - pulumi.Input - - ToGetVmNicOutput() GetVmNicOutput - ToGetVmNicOutputWithContext(context.Context) GetVmNicOutput -} - -type GetVmNicArgs struct { - // The account ID of the owner of the NIC. - AccountId pulumi.StringInput `pulumi:"accountId"` - // If true, the NIC is deleted when the VM is terminated. - DeleteOnVmDeletion pulumi.BoolInput `pulumi:"deleteOnVmDeletion"` - // The description of the NIC. - Description pulumi.StringInput `pulumi:"description"` - // The device index for the NIC attachment (between `1` and `7`, both included). - DeviceNumber pulumi.IntInput `pulumi:"deviceNumber"` - // (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - IsSourceDestChecked pulumi.BoolInput `pulumi:"isSourceDestChecked"` - // Information about the network interface card (NIC). - LinkNics GetVmNicLinkNicArrayInput `pulumi:"linkNics"` - // Information about the public IP associated with the NIC. - LinkPublicIps GetVmNicLinkPublicIpArrayInput `pulumi:"linkPublicIps"` - // The Media Access Control (MAC) address of the NIC. - MacAddress pulumi.StringInput `pulumi:"macAddress"` - // The ID of the Net for the NIC. - NetId pulumi.StringInput `pulumi:"netId"` - // The ID of the NIC. - NicId pulumi.StringInput `pulumi:"nicId"` - // The name of the private DNS. - PrivateDnsName pulumi.StringInput `pulumi:"privateDnsName"` - // The private IP or IPs of the NIC. - PrivateIps GetVmNicPrivateIpArrayInput `pulumi:"privateIps"` - SecondaryPrivateIpCount pulumi.IntInput `pulumi:"secondaryPrivateIpCount"` - SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"` - // One or more security groups associated with the VM. - SecurityGroups GetVmNicSecurityGroupArrayInput `pulumi:"securityGroups"` - SecurityGroupsNames pulumi.StringArrayInput `pulumi:"securityGroupsNames"` - // The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - State pulumi.StringInput `pulumi:"state"` - // The ID of the Subnet for the VM. - SubnetId pulumi.StringInput `pulumi:"subnetId"` -} - -func (GetVmNicArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmNic)(nil)).Elem() -} - -func (i GetVmNicArgs) ToGetVmNicOutput() GetVmNicOutput { - return i.ToGetVmNicOutputWithContext(context.Background()) -} - -func (i GetVmNicArgs) ToGetVmNicOutputWithContext(ctx context.Context) GetVmNicOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmNicOutput) -} - -// GetVmNicArrayInput is an input type that accepts GetVmNicArray and GetVmNicArrayOutput values. -// You can construct a concrete instance of `GetVmNicArrayInput` via: -// -// GetVmNicArray{ GetVmNicArgs{...} } -type GetVmNicArrayInput interface { - pulumi.Input - - ToGetVmNicArrayOutput() GetVmNicArrayOutput - ToGetVmNicArrayOutputWithContext(context.Context) GetVmNicArrayOutput -} - -type GetVmNicArray []GetVmNicInput - -func (GetVmNicArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmNic)(nil)).Elem() -} - -func (i GetVmNicArray) ToGetVmNicArrayOutput() GetVmNicArrayOutput { - return i.ToGetVmNicArrayOutputWithContext(context.Background()) -} - -func (i GetVmNicArray) ToGetVmNicArrayOutputWithContext(ctx context.Context) GetVmNicArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmNicArrayOutput) -} - -type GetVmNicOutput struct{ *pulumi.OutputState } - -func (GetVmNicOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmNic)(nil)).Elem() -} - -func (o GetVmNicOutput) ToGetVmNicOutput() GetVmNicOutput { - return o -} - -func (o GetVmNicOutput) ToGetVmNicOutputWithContext(ctx context.Context) GetVmNicOutput { - return o -} - -// The account ID of the owner of the NIC. -func (o GetVmNicOutput) AccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmNic) string { return v.AccountId }).(pulumi.StringOutput) -} - -// If true, the NIC is deleted when the VM is terminated. -func (o GetVmNicOutput) DeleteOnVmDeletion() pulumi.BoolOutput { - return o.ApplyT(func(v GetVmNic) bool { return v.DeleteOnVmDeletion }).(pulumi.BoolOutput) -} - -// The description of the NIC. -func (o GetVmNicOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetVmNic) string { return v.Description }).(pulumi.StringOutput) -} - -// The device index for the NIC attachment (between `1` and `7`, both included). -func (o GetVmNicOutput) DeviceNumber() pulumi.IntOutput { - return o.ApplyT(func(v GetVmNic) int { return v.DeviceNumber }).(pulumi.IntOutput) -} - -// (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. -func (o GetVmNicOutput) IsSourceDestChecked() pulumi.BoolOutput { - return o.ApplyT(func(v GetVmNic) bool { return v.IsSourceDestChecked }).(pulumi.BoolOutput) -} - -// Information about the network interface card (NIC). -func (o GetVmNicOutput) LinkNics() GetVmNicLinkNicArrayOutput { - return o.ApplyT(func(v GetVmNic) []GetVmNicLinkNic { return v.LinkNics }).(GetVmNicLinkNicArrayOutput) -} - -// Information about the public IP associated with the NIC. -func (o GetVmNicOutput) LinkPublicIps() GetVmNicLinkPublicIpArrayOutput { - return o.ApplyT(func(v GetVmNic) []GetVmNicLinkPublicIp { return v.LinkPublicIps }).(GetVmNicLinkPublicIpArrayOutput) -} - -// The Media Access Control (MAC) address of the NIC. -func (o GetVmNicOutput) MacAddress() pulumi.StringOutput { - return o.ApplyT(func(v GetVmNic) string { return v.MacAddress }).(pulumi.StringOutput) -} - -// The ID of the Net for the NIC. -func (o GetVmNicOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmNic) string { return v.NetId }).(pulumi.StringOutput) -} - -// The ID of the NIC. -func (o GetVmNicOutput) NicId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmNic) string { return v.NicId }).(pulumi.StringOutput) -} - -// The name of the private DNS. -func (o GetVmNicOutput) PrivateDnsName() pulumi.StringOutput { - return o.ApplyT(func(v GetVmNic) string { return v.PrivateDnsName }).(pulumi.StringOutput) -} - -// The private IP or IPs of the NIC. -func (o GetVmNicOutput) PrivateIps() GetVmNicPrivateIpArrayOutput { - return o.ApplyT(func(v GetVmNic) []GetVmNicPrivateIp { return v.PrivateIps }).(GetVmNicPrivateIpArrayOutput) -} - -func (o GetVmNicOutput) SecondaryPrivateIpCount() pulumi.IntOutput { - return o.ApplyT(func(v GetVmNic) int { return v.SecondaryPrivateIpCount }).(pulumi.IntOutput) -} - -func (o GetVmNicOutput) SecurityGroupIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetVmNic) []string { return v.SecurityGroupIds }).(pulumi.StringArrayOutput) -} - -// One or more security groups associated with the VM. -func (o GetVmNicOutput) SecurityGroups() GetVmNicSecurityGroupArrayOutput { - return o.ApplyT(func(v GetVmNic) []GetVmNicSecurityGroup { return v.SecurityGroups }).(GetVmNicSecurityGroupArrayOutput) -} - -func (o GetVmNicOutput) SecurityGroupsNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetVmNic) []string { return v.SecurityGroupsNames }).(pulumi.StringArrayOutput) -} - -// The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). -func (o GetVmNicOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetVmNic) string { return v.State }).(pulumi.StringOutput) -} - -// The ID of the Subnet for the VM. -func (o GetVmNicOutput) SubnetId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmNic) string { return v.SubnetId }).(pulumi.StringOutput) -} - -type GetVmNicArrayOutput struct{ *pulumi.OutputState } - -func (GetVmNicArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmNic)(nil)).Elem() -} - -func (o GetVmNicArrayOutput) ToGetVmNicArrayOutput() GetVmNicArrayOutput { - return o -} - -func (o GetVmNicArrayOutput) ToGetVmNicArrayOutputWithContext(ctx context.Context) GetVmNicArrayOutput { - return o -} - -func (o GetVmNicArrayOutput) Index(i pulumi.IntInput) GetVmNicOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmNic { - return vs[0].([]GetVmNic)[vs[1].(int)] - }).(GetVmNicOutput) -} - -type GetVmNicLinkNic struct { - // If true, the NIC is deleted when the VM is terminated. - DeleteOnVmDeletion bool `pulumi:"deleteOnVmDeletion"` - // The device index for the NIC attachment (between `1` and `7`, both included). - DeviceNumber string `pulumi:"deviceNumber"` - // The ID of the NIC to attach. - LinkNicId string `pulumi:"linkNicId"` - // The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - State string `pulumi:"state"` -} - -// GetVmNicLinkNicInput is an input type that accepts GetVmNicLinkNicArgs and GetVmNicLinkNicOutput values. -// You can construct a concrete instance of `GetVmNicLinkNicInput` via: -// -// GetVmNicLinkNicArgs{...} -type GetVmNicLinkNicInput interface { - pulumi.Input - - ToGetVmNicLinkNicOutput() GetVmNicLinkNicOutput - ToGetVmNicLinkNicOutputWithContext(context.Context) GetVmNicLinkNicOutput -} - -type GetVmNicLinkNicArgs struct { - // If true, the NIC is deleted when the VM is terminated. - DeleteOnVmDeletion pulumi.BoolInput `pulumi:"deleteOnVmDeletion"` - // The device index for the NIC attachment (between `1` and `7`, both included). - DeviceNumber pulumi.StringInput `pulumi:"deviceNumber"` - // The ID of the NIC to attach. - LinkNicId pulumi.StringInput `pulumi:"linkNicId"` - // The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - State pulumi.StringInput `pulumi:"state"` -} - -func (GetVmNicLinkNicArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmNicLinkNic)(nil)).Elem() -} - -func (i GetVmNicLinkNicArgs) ToGetVmNicLinkNicOutput() GetVmNicLinkNicOutput { - return i.ToGetVmNicLinkNicOutputWithContext(context.Background()) -} - -func (i GetVmNicLinkNicArgs) ToGetVmNicLinkNicOutputWithContext(ctx context.Context) GetVmNicLinkNicOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmNicLinkNicOutput) -} - -// GetVmNicLinkNicArrayInput is an input type that accepts GetVmNicLinkNicArray and GetVmNicLinkNicArrayOutput values. -// You can construct a concrete instance of `GetVmNicLinkNicArrayInput` via: -// -// GetVmNicLinkNicArray{ GetVmNicLinkNicArgs{...} } -type GetVmNicLinkNicArrayInput interface { - pulumi.Input - - ToGetVmNicLinkNicArrayOutput() GetVmNicLinkNicArrayOutput - ToGetVmNicLinkNicArrayOutputWithContext(context.Context) GetVmNicLinkNicArrayOutput -} - -type GetVmNicLinkNicArray []GetVmNicLinkNicInput - -func (GetVmNicLinkNicArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmNicLinkNic)(nil)).Elem() -} - -func (i GetVmNicLinkNicArray) ToGetVmNicLinkNicArrayOutput() GetVmNicLinkNicArrayOutput { - return i.ToGetVmNicLinkNicArrayOutputWithContext(context.Background()) -} - -func (i GetVmNicLinkNicArray) ToGetVmNicLinkNicArrayOutputWithContext(ctx context.Context) GetVmNicLinkNicArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmNicLinkNicArrayOutput) -} - -type GetVmNicLinkNicOutput struct{ *pulumi.OutputState } - -func (GetVmNicLinkNicOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmNicLinkNic)(nil)).Elem() -} - -func (o GetVmNicLinkNicOutput) ToGetVmNicLinkNicOutput() GetVmNicLinkNicOutput { - return o -} - -func (o GetVmNicLinkNicOutput) ToGetVmNicLinkNicOutputWithContext(ctx context.Context) GetVmNicLinkNicOutput { - return o -} - -// If true, the NIC is deleted when the VM is terminated. -func (o GetVmNicLinkNicOutput) DeleteOnVmDeletion() pulumi.BoolOutput { - return o.ApplyT(func(v GetVmNicLinkNic) bool { return v.DeleteOnVmDeletion }).(pulumi.BoolOutput) -} - -// The device index for the NIC attachment (between `1` and `7`, both included). -func (o GetVmNicLinkNicOutput) DeviceNumber() pulumi.StringOutput { - return o.ApplyT(func(v GetVmNicLinkNic) string { return v.DeviceNumber }).(pulumi.StringOutput) -} - -// The ID of the NIC to attach. -func (o GetVmNicLinkNicOutput) LinkNicId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmNicLinkNic) string { return v.LinkNicId }).(pulumi.StringOutput) -} - -// The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). -func (o GetVmNicLinkNicOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetVmNicLinkNic) string { return v.State }).(pulumi.StringOutput) -} - -type GetVmNicLinkNicArrayOutput struct{ *pulumi.OutputState } - -func (GetVmNicLinkNicArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmNicLinkNic)(nil)).Elem() -} - -func (o GetVmNicLinkNicArrayOutput) ToGetVmNicLinkNicArrayOutput() GetVmNicLinkNicArrayOutput { - return o -} - -func (o GetVmNicLinkNicArrayOutput) ToGetVmNicLinkNicArrayOutputWithContext(ctx context.Context) GetVmNicLinkNicArrayOutput { - return o -} - -func (o GetVmNicLinkNicArrayOutput) Index(i pulumi.IntInput) GetVmNicLinkNicOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmNicLinkNic { - return vs[0].([]GetVmNicLinkNic)[vs[1].(int)] - }).(GetVmNicLinkNicOutput) -} - -type GetVmNicLinkPublicIp struct { - // The name of the public DNS. - PublicDnsName string `pulumi:"publicDnsName"` - // The public IP of the VM. - PublicIp string `pulumi:"publicIp"` - // The account ID of the owner of the public IP. - PublicIpAccountId string `pulumi:"publicIpAccountId"` -} - -// GetVmNicLinkPublicIpInput is an input type that accepts GetVmNicLinkPublicIpArgs and GetVmNicLinkPublicIpOutput values. -// You can construct a concrete instance of `GetVmNicLinkPublicIpInput` via: -// -// GetVmNicLinkPublicIpArgs{...} -type GetVmNicLinkPublicIpInput interface { - pulumi.Input - - ToGetVmNicLinkPublicIpOutput() GetVmNicLinkPublicIpOutput - ToGetVmNicLinkPublicIpOutputWithContext(context.Context) GetVmNicLinkPublicIpOutput -} - -type GetVmNicLinkPublicIpArgs struct { - // The name of the public DNS. - PublicDnsName pulumi.StringInput `pulumi:"publicDnsName"` - // The public IP of the VM. - PublicIp pulumi.StringInput `pulumi:"publicIp"` - // The account ID of the owner of the public IP. - PublicIpAccountId pulumi.StringInput `pulumi:"publicIpAccountId"` -} - -func (GetVmNicLinkPublicIpArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmNicLinkPublicIp)(nil)).Elem() -} - -func (i GetVmNicLinkPublicIpArgs) ToGetVmNicLinkPublicIpOutput() GetVmNicLinkPublicIpOutput { - return i.ToGetVmNicLinkPublicIpOutputWithContext(context.Background()) -} - -func (i GetVmNicLinkPublicIpArgs) ToGetVmNicLinkPublicIpOutputWithContext(ctx context.Context) GetVmNicLinkPublicIpOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmNicLinkPublicIpOutput) -} - -// GetVmNicLinkPublicIpArrayInput is an input type that accepts GetVmNicLinkPublicIpArray and GetVmNicLinkPublicIpArrayOutput values. -// You can construct a concrete instance of `GetVmNicLinkPublicIpArrayInput` via: -// -// GetVmNicLinkPublicIpArray{ GetVmNicLinkPublicIpArgs{...} } -type GetVmNicLinkPublicIpArrayInput interface { - pulumi.Input - - ToGetVmNicLinkPublicIpArrayOutput() GetVmNicLinkPublicIpArrayOutput - ToGetVmNicLinkPublicIpArrayOutputWithContext(context.Context) GetVmNicLinkPublicIpArrayOutput -} - -type GetVmNicLinkPublicIpArray []GetVmNicLinkPublicIpInput - -func (GetVmNicLinkPublicIpArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmNicLinkPublicIp)(nil)).Elem() -} - -func (i GetVmNicLinkPublicIpArray) ToGetVmNicLinkPublicIpArrayOutput() GetVmNicLinkPublicIpArrayOutput { - return i.ToGetVmNicLinkPublicIpArrayOutputWithContext(context.Background()) -} - -func (i GetVmNicLinkPublicIpArray) ToGetVmNicLinkPublicIpArrayOutputWithContext(ctx context.Context) GetVmNicLinkPublicIpArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmNicLinkPublicIpArrayOutput) -} - -type GetVmNicLinkPublicIpOutput struct{ *pulumi.OutputState } - -func (GetVmNicLinkPublicIpOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmNicLinkPublicIp)(nil)).Elem() -} - -func (o GetVmNicLinkPublicIpOutput) ToGetVmNicLinkPublicIpOutput() GetVmNicLinkPublicIpOutput { - return o -} - -func (o GetVmNicLinkPublicIpOutput) ToGetVmNicLinkPublicIpOutputWithContext(ctx context.Context) GetVmNicLinkPublicIpOutput { - return o -} - -// The name of the public DNS. -func (o GetVmNicLinkPublicIpOutput) PublicDnsName() pulumi.StringOutput { - return o.ApplyT(func(v GetVmNicLinkPublicIp) string { return v.PublicDnsName }).(pulumi.StringOutput) -} - -// The public IP of the VM. -func (o GetVmNicLinkPublicIpOutput) PublicIp() pulumi.StringOutput { - return o.ApplyT(func(v GetVmNicLinkPublicIp) string { return v.PublicIp }).(pulumi.StringOutput) -} - -// The account ID of the owner of the public IP. -func (o GetVmNicLinkPublicIpOutput) PublicIpAccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmNicLinkPublicIp) string { return v.PublicIpAccountId }).(pulumi.StringOutput) -} - -type GetVmNicLinkPublicIpArrayOutput struct{ *pulumi.OutputState } - -func (GetVmNicLinkPublicIpArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmNicLinkPublicIp)(nil)).Elem() -} - -func (o GetVmNicLinkPublicIpArrayOutput) ToGetVmNicLinkPublicIpArrayOutput() GetVmNicLinkPublicIpArrayOutput { - return o -} - -func (o GetVmNicLinkPublicIpArrayOutput) ToGetVmNicLinkPublicIpArrayOutputWithContext(ctx context.Context) GetVmNicLinkPublicIpArrayOutput { - return o -} - -func (o GetVmNicLinkPublicIpArrayOutput) Index(i pulumi.IntInput) GetVmNicLinkPublicIpOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmNicLinkPublicIp { - return vs[0].([]GetVmNicLinkPublicIp)[vs[1].(int)] - }).(GetVmNicLinkPublicIpOutput) -} - -type GetVmNicPrivateIp struct { - // If true, the IP is the primary private IP of the NIC. - IsPrimary bool `pulumi:"isPrimary"` - // Information about the public IP associated with the NIC. - LinkPublicIps []GetVmNicPrivateIpLinkPublicIp `pulumi:"linkPublicIps"` - // The name of the private DNS. - PrivateDnsName string `pulumi:"privateDnsName"` - // The primary private IP of the VM. - PrivateIp string `pulumi:"privateIp"` -} - -// GetVmNicPrivateIpInput is an input type that accepts GetVmNicPrivateIpArgs and GetVmNicPrivateIpOutput values. -// You can construct a concrete instance of `GetVmNicPrivateIpInput` via: -// -// GetVmNicPrivateIpArgs{...} -type GetVmNicPrivateIpInput interface { - pulumi.Input - - ToGetVmNicPrivateIpOutput() GetVmNicPrivateIpOutput - ToGetVmNicPrivateIpOutputWithContext(context.Context) GetVmNicPrivateIpOutput -} - -type GetVmNicPrivateIpArgs struct { - // If true, the IP is the primary private IP of the NIC. - IsPrimary pulumi.BoolInput `pulumi:"isPrimary"` - // Information about the public IP associated with the NIC. - LinkPublicIps GetVmNicPrivateIpLinkPublicIpArrayInput `pulumi:"linkPublicIps"` - // The name of the private DNS. - PrivateDnsName pulumi.StringInput `pulumi:"privateDnsName"` - // The primary private IP of the VM. - PrivateIp pulumi.StringInput `pulumi:"privateIp"` -} - -func (GetVmNicPrivateIpArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmNicPrivateIp)(nil)).Elem() -} - -func (i GetVmNicPrivateIpArgs) ToGetVmNicPrivateIpOutput() GetVmNicPrivateIpOutput { - return i.ToGetVmNicPrivateIpOutputWithContext(context.Background()) -} - -func (i GetVmNicPrivateIpArgs) ToGetVmNicPrivateIpOutputWithContext(ctx context.Context) GetVmNicPrivateIpOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmNicPrivateIpOutput) -} - -// GetVmNicPrivateIpArrayInput is an input type that accepts GetVmNicPrivateIpArray and GetVmNicPrivateIpArrayOutput values. -// You can construct a concrete instance of `GetVmNicPrivateIpArrayInput` via: -// -// GetVmNicPrivateIpArray{ GetVmNicPrivateIpArgs{...} } -type GetVmNicPrivateIpArrayInput interface { - pulumi.Input - - ToGetVmNicPrivateIpArrayOutput() GetVmNicPrivateIpArrayOutput - ToGetVmNicPrivateIpArrayOutputWithContext(context.Context) GetVmNicPrivateIpArrayOutput -} - -type GetVmNicPrivateIpArray []GetVmNicPrivateIpInput - -func (GetVmNicPrivateIpArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmNicPrivateIp)(nil)).Elem() -} - -func (i GetVmNicPrivateIpArray) ToGetVmNicPrivateIpArrayOutput() GetVmNicPrivateIpArrayOutput { - return i.ToGetVmNicPrivateIpArrayOutputWithContext(context.Background()) -} - -func (i GetVmNicPrivateIpArray) ToGetVmNicPrivateIpArrayOutputWithContext(ctx context.Context) GetVmNicPrivateIpArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmNicPrivateIpArrayOutput) -} - -type GetVmNicPrivateIpOutput struct{ *pulumi.OutputState } - -func (GetVmNicPrivateIpOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmNicPrivateIp)(nil)).Elem() -} - -func (o GetVmNicPrivateIpOutput) ToGetVmNicPrivateIpOutput() GetVmNicPrivateIpOutput { - return o -} - -func (o GetVmNicPrivateIpOutput) ToGetVmNicPrivateIpOutputWithContext(ctx context.Context) GetVmNicPrivateIpOutput { - return o -} - -// If true, the IP is the primary private IP of the NIC. -func (o GetVmNicPrivateIpOutput) IsPrimary() pulumi.BoolOutput { - return o.ApplyT(func(v GetVmNicPrivateIp) bool { return v.IsPrimary }).(pulumi.BoolOutput) -} - -// Information about the public IP associated with the NIC. -func (o GetVmNicPrivateIpOutput) LinkPublicIps() GetVmNicPrivateIpLinkPublicIpArrayOutput { - return o.ApplyT(func(v GetVmNicPrivateIp) []GetVmNicPrivateIpLinkPublicIp { return v.LinkPublicIps }).(GetVmNicPrivateIpLinkPublicIpArrayOutput) -} - -// The name of the private DNS. -func (o GetVmNicPrivateIpOutput) PrivateDnsName() pulumi.StringOutput { - return o.ApplyT(func(v GetVmNicPrivateIp) string { return v.PrivateDnsName }).(pulumi.StringOutput) -} - -// The primary private IP of the VM. -func (o GetVmNicPrivateIpOutput) PrivateIp() pulumi.StringOutput { - return o.ApplyT(func(v GetVmNicPrivateIp) string { return v.PrivateIp }).(pulumi.StringOutput) -} - -type GetVmNicPrivateIpArrayOutput struct{ *pulumi.OutputState } - -func (GetVmNicPrivateIpArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmNicPrivateIp)(nil)).Elem() -} - -func (o GetVmNicPrivateIpArrayOutput) ToGetVmNicPrivateIpArrayOutput() GetVmNicPrivateIpArrayOutput { - return o -} - -func (o GetVmNicPrivateIpArrayOutput) ToGetVmNicPrivateIpArrayOutputWithContext(ctx context.Context) GetVmNicPrivateIpArrayOutput { - return o -} - -func (o GetVmNicPrivateIpArrayOutput) Index(i pulumi.IntInput) GetVmNicPrivateIpOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmNicPrivateIp { - return vs[0].([]GetVmNicPrivateIp)[vs[1].(int)] - }).(GetVmNicPrivateIpOutput) -} - -type GetVmNicPrivateIpLinkPublicIp struct { - // The name of the public DNS. - PublicDnsName string `pulumi:"publicDnsName"` - // The public IP of the VM. - PublicIp string `pulumi:"publicIp"` - // The account ID of the owner of the public IP. - PublicIpAccountId string `pulumi:"publicIpAccountId"` -} - -// GetVmNicPrivateIpLinkPublicIpInput is an input type that accepts GetVmNicPrivateIpLinkPublicIpArgs and GetVmNicPrivateIpLinkPublicIpOutput values. -// You can construct a concrete instance of `GetVmNicPrivateIpLinkPublicIpInput` via: -// -// GetVmNicPrivateIpLinkPublicIpArgs{...} -type GetVmNicPrivateIpLinkPublicIpInput interface { - pulumi.Input - - ToGetVmNicPrivateIpLinkPublicIpOutput() GetVmNicPrivateIpLinkPublicIpOutput - ToGetVmNicPrivateIpLinkPublicIpOutputWithContext(context.Context) GetVmNicPrivateIpLinkPublicIpOutput -} - -type GetVmNicPrivateIpLinkPublicIpArgs struct { - // The name of the public DNS. - PublicDnsName pulumi.StringInput `pulumi:"publicDnsName"` - // The public IP of the VM. - PublicIp pulumi.StringInput `pulumi:"publicIp"` - // The account ID of the owner of the public IP. - PublicIpAccountId pulumi.StringInput `pulumi:"publicIpAccountId"` -} - -func (GetVmNicPrivateIpLinkPublicIpArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmNicPrivateIpLinkPublicIp)(nil)).Elem() -} - -func (i GetVmNicPrivateIpLinkPublicIpArgs) ToGetVmNicPrivateIpLinkPublicIpOutput() GetVmNicPrivateIpLinkPublicIpOutput { - return i.ToGetVmNicPrivateIpLinkPublicIpOutputWithContext(context.Background()) -} - -func (i GetVmNicPrivateIpLinkPublicIpArgs) ToGetVmNicPrivateIpLinkPublicIpOutputWithContext(ctx context.Context) GetVmNicPrivateIpLinkPublicIpOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmNicPrivateIpLinkPublicIpOutput) -} - -// GetVmNicPrivateIpLinkPublicIpArrayInput is an input type that accepts GetVmNicPrivateIpLinkPublicIpArray and GetVmNicPrivateIpLinkPublicIpArrayOutput values. -// You can construct a concrete instance of `GetVmNicPrivateIpLinkPublicIpArrayInput` via: -// -// GetVmNicPrivateIpLinkPublicIpArray{ GetVmNicPrivateIpLinkPublicIpArgs{...} } -type GetVmNicPrivateIpLinkPublicIpArrayInput interface { - pulumi.Input - - ToGetVmNicPrivateIpLinkPublicIpArrayOutput() GetVmNicPrivateIpLinkPublicIpArrayOutput - ToGetVmNicPrivateIpLinkPublicIpArrayOutputWithContext(context.Context) GetVmNicPrivateIpLinkPublicIpArrayOutput -} - -type GetVmNicPrivateIpLinkPublicIpArray []GetVmNicPrivateIpLinkPublicIpInput - -func (GetVmNicPrivateIpLinkPublicIpArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmNicPrivateIpLinkPublicIp)(nil)).Elem() -} - -func (i GetVmNicPrivateIpLinkPublicIpArray) ToGetVmNicPrivateIpLinkPublicIpArrayOutput() GetVmNicPrivateIpLinkPublicIpArrayOutput { - return i.ToGetVmNicPrivateIpLinkPublicIpArrayOutputWithContext(context.Background()) -} - -func (i GetVmNicPrivateIpLinkPublicIpArray) ToGetVmNicPrivateIpLinkPublicIpArrayOutputWithContext(ctx context.Context) GetVmNicPrivateIpLinkPublicIpArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmNicPrivateIpLinkPublicIpArrayOutput) -} - -type GetVmNicPrivateIpLinkPublicIpOutput struct{ *pulumi.OutputState } - -func (GetVmNicPrivateIpLinkPublicIpOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmNicPrivateIpLinkPublicIp)(nil)).Elem() -} - -func (o GetVmNicPrivateIpLinkPublicIpOutput) ToGetVmNicPrivateIpLinkPublicIpOutput() GetVmNicPrivateIpLinkPublicIpOutput { - return o -} - -func (o GetVmNicPrivateIpLinkPublicIpOutput) ToGetVmNicPrivateIpLinkPublicIpOutputWithContext(ctx context.Context) GetVmNicPrivateIpLinkPublicIpOutput { - return o -} - -// The name of the public DNS. -func (o GetVmNicPrivateIpLinkPublicIpOutput) PublicDnsName() pulumi.StringOutput { - return o.ApplyT(func(v GetVmNicPrivateIpLinkPublicIp) string { return v.PublicDnsName }).(pulumi.StringOutput) -} - -// The public IP of the VM. -func (o GetVmNicPrivateIpLinkPublicIpOutput) PublicIp() pulumi.StringOutput { - return o.ApplyT(func(v GetVmNicPrivateIpLinkPublicIp) string { return v.PublicIp }).(pulumi.StringOutput) -} - -// The account ID of the owner of the public IP. -func (o GetVmNicPrivateIpLinkPublicIpOutput) PublicIpAccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmNicPrivateIpLinkPublicIp) string { return v.PublicIpAccountId }).(pulumi.StringOutput) -} - -type GetVmNicPrivateIpLinkPublicIpArrayOutput struct{ *pulumi.OutputState } - -func (GetVmNicPrivateIpLinkPublicIpArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmNicPrivateIpLinkPublicIp)(nil)).Elem() -} - -func (o GetVmNicPrivateIpLinkPublicIpArrayOutput) ToGetVmNicPrivateIpLinkPublicIpArrayOutput() GetVmNicPrivateIpLinkPublicIpArrayOutput { - return o -} - -func (o GetVmNicPrivateIpLinkPublicIpArrayOutput) ToGetVmNicPrivateIpLinkPublicIpArrayOutputWithContext(ctx context.Context) GetVmNicPrivateIpLinkPublicIpArrayOutput { - return o -} - -func (o GetVmNicPrivateIpLinkPublicIpArrayOutput) Index(i pulumi.IntInput) GetVmNicPrivateIpLinkPublicIpOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmNicPrivateIpLinkPublicIp { - return vs[0].([]GetVmNicPrivateIpLinkPublicIp)[vs[1].(int)] - }).(GetVmNicPrivateIpLinkPublicIpOutput) -} - -type GetVmNicSecurityGroup struct { - // The ID of the security group. - SecurityGroupId string `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName string `pulumi:"securityGroupName"` -} - -// GetVmNicSecurityGroupInput is an input type that accepts GetVmNicSecurityGroupArgs and GetVmNicSecurityGroupOutput values. -// You can construct a concrete instance of `GetVmNicSecurityGroupInput` via: -// -// GetVmNicSecurityGroupArgs{...} -type GetVmNicSecurityGroupInput interface { - pulumi.Input - - ToGetVmNicSecurityGroupOutput() GetVmNicSecurityGroupOutput - ToGetVmNicSecurityGroupOutputWithContext(context.Context) GetVmNicSecurityGroupOutput -} - -type GetVmNicSecurityGroupArgs struct { - // The ID of the security group. - SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName pulumi.StringInput `pulumi:"securityGroupName"` -} - -func (GetVmNicSecurityGroupArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmNicSecurityGroup)(nil)).Elem() -} - -func (i GetVmNicSecurityGroupArgs) ToGetVmNicSecurityGroupOutput() GetVmNicSecurityGroupOutput { - return i.ToGetVmNicSecurityGroupOutputWithContext(context.Background()) -} - -func (i GetVmNicSecurityGroupArgs) ToGetVmNicSecurityGroupOutputWithContext(ctx context.Context) GetVmNicSecurityGroupOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmNicSecurityGroupOutput) -} - -// GetVmNicSecurityGroupArrayInput is an input type that accepts GetVmNicSecurityGroupArray and GetVmNicSecurityGroupArrayOutput values. -// You can construct a concrete instance of `GetVmNicSecurityGroupArrayInput` via: -// -// GetVmNicSecurityGroupArray{ GetVmNicSecurityGroupArgs{...} } -type GetVmNicSecurityGroupArrayInput interface { - pulumi.Input - - ToGetVmNicSecurityGroupArrayOutput() GetVmNicSecurityGroupArrayOutput - ToGetVmNicSecurityGroupArrayOutputWithContext(context.Context) GetVmNicSecurityGroupArrayOutput -} - -type GetVmNicSecurityGroupArray []GetVmNicSecurityGroupInput - -func (GetVmNicSecurityGroupArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmNicSecurityGroup)(nil)).Elem() -} - -func (i GetVmNicSecurityGroupArray) ToGetVmNicSecurityGroupArrayOutput() GetVmNicSecurityGroupArrayOutput { - return i.ToGetVmNicSecurityGroupArrayOutputWithContext(context.Background()) -} - -func (i GetVmNicSecurityGroupArray) ToGetVmNicSecurityGroupArrayOutputWithContext(ctx context.Context) GetVmNicSecurityGroupArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmNicSecurityGroupArrayOutput) -} - -type GetVmNicSecurityGroupOutput struct{ *pulumi.OutputState } - -func (GetVmNicSecurityGroupOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmNicSecurityGroup)(nil)).Elem() -} - -func (o GetVmNicSecurityGroupOutput) ToGetVmNicSecurityGroupOutput() GetVmNicSecurityGroupOutput { - return o -} - -func (o GetVmNicSecurityGroupOutput) ToGetVmNicSecurityGroupOutputWithContext(ctx context.Context) GetVmNicSecurityGroupOutput { - return o -} - -// The ID of the security group. -func (o GetVmNicSecurityGroupOutput) SecurityGroupId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmNicSecurityGroup) string { return v.SecurityGroupId }).(pulumi.StringOutput) -} - -// The name of the security group. -func (o GetVmNicSecurityGroupOutput) SecurityGroupName() pulumi.StringOutput { - return o.ApplyT(func(v GetVmNicSecurityGroup) string { return v.SecurityGroupName }).(pulumi.StringOutput) -} - -type GetVmNicSecurityGroupArrayOutput struct{ *pulumi.OutputState } - -func (GetVmNicSecurityGroupArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmNicSecurityGroup)(nil)).Elem() -} - -func (o GetVmNicSecurityGroupArrayOutput) ToGetVmNicSecurityGroupArrayOutput() GetVmNicSecurityGroupArrayOutput { - return o -} - -func (o GetVmNicSecurityGroupArrayOutput) ToGetVmNicSecurityGroupArrayOutputWithContext(ctx context.Context) GetVmNicSecurityGroupArrayOutput { - return o -} - -func (o GetVmNicSecurityGroupArrayOutput) Index(i pulumi.IntInput) GetVmNicSecurityGroupOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmNicSecurityGroup { - return vs[0].([]GetVmNicSecurityGroup)[vs[1].(int)] - }).(GetVmNicSecurityGroupOutput) -} - -type GetVmPrimaryNic struct { - // The account ID of the owner of the NIC. - AccountId string `pulumi:"accountId"` - // If true, the NIC is deleted when the VM is terminated. - DeleteOnVmDeletion bool `pulumi:"deleteOnVmDeletion"` - // The description of the NIC. - Description string `pulumi:"description"` - // The device index for the NIC attachment (between `1` and `7`, both included). - DeviceNumber int `pulumi:"deviceNumber"` - // (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - IsSourceDestChecked bool `pulumi:"isSourceDestChecked"` - // Information about the network interface card (NIC). - LinkNics []GetVmPrimaryNicLinkNic `pulumi:"linkNics"` - // Information about the public IP associated with the NIC. - LinkPublicIps []GetVmPrimaryNicLinkPublicIp `pulumi:"linkPublicIps"` - // The Media Access Control (MAC) address of the NIC. - MacAddress string `pulumi:"macAddress"` - // The ID of the Net for the NIC. - NetId string `pulumi:"netId"` - // The ID of the NIC. - NicId string `pulumi:"nicId"` - // The name of the private DNS. - PrivateDnsName string `pulumi:"privateDnsName"` - // The private IP or IPs of the NIC. - PrivateIps []GetVmPrimaryNicPrivateIp `pulumi:"privateIps"` - SecondaryPrivateIpCount int `pulumi:"secondaryPrivateIpCount"` - SecurityGroupIds []string `pulumi:"securityGroupIds"` - // One or more security groups associated with the VM. - SecurityGroups []GetVmPrimaryNicSecurityGroup `pulumi:"securityGroups"` - // The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - State string `pulumi:"state"` - // The ID of the Subnet for the VM. - SubnetId string `pulumi:"subnetId"` -} - -// GetVmPrimaryNicInput is an input type that accepts GetVmPrimaryNicArgs and GetVmPrimaryNicOutput values. -// You can construct a concrete instance of `GetVmPrimaryNicInput` via: -// -// GetVmPrimaryNicArgs{...} -type GetVmPrimaryNicInput interface { - pulumi.Input - - ToGetVmPrimaryNicOutput() GetVmPrimaryNicOutput - ToGetVmPrimaryNicOutputWithContext(context.Context) GetVmPrimaryNicOutput -} - -type GetVmPrimaryNicArgs struct { - // The account ID of the owner of the NIC. - AccountId pulumi.StringInput `pulumi:"accountId"` - // If true, the NIC is deleted when the VM is terminated. - DeleteOnVmDeletion pulumi.BoolInput `pulumi:"deleteOnVmDeletion"` - // The description of the NIC. - Description pulumi.StringInput `pulumi:"description"` - // The device index for the NIC attachment (between `1` and `7`, both included). - DeviceNumber pulumi.IntInput `pulumi:"deviceNumber"` - // (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - IsSourceDestChecked pulumi.BoolInput `pulumi:"isSourceDestChecked"` - // Information about the network interface card (NIC). - LinkNics GetVmPrimaryNicLinkNicArrayInput `pulumi:"linkNics"` - // Information about the public IP associated with the NIC. - LinkPublicIps GetVmPrimaryNicLinkPublicIpArrayInput `pulumi:"linkPublicIps"` - // The Media Access Control (MAC) address of the NIC. - MacAddress pulumi.StringInput `pulumi:"macAddress"` - // The ID of the Net for the NIC. - NetId pulumi.StringInput `pulumi:"netId"` - // The ID of the NIC. - NicId pulumi.StringInput `pulumi:"nicId"` - // The name of the private DNS. - PrivateDnsName pulumi.StringInput `pulumi:"privateDnsName"` - // The private IP or IPs of the NIC. - PrivateIps GetVmPrimaryNicPrivateIpArrayInput `pulumi:"privateIps"` - SecondaryPrivateIpCount pulumi.IntInput `pulumi:"secondaryPrivateIpCount"` - SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"` - // One or more security groups associated with the VM. - SecurityGroups GetVmPrimaryNicSecurityGroupArrayInput `pulumi:"securityGroups"` - // The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - State pulumi.StringInput `pulumi:"state"` - // The ID of the Subnet for the VM. - SubnetId pulumi.StringInput `pulumi:"subnetId"` -} - -func (GetVmPrimaryNicArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmPrimaryNic)(nil)).Elem() -} - -func (i GetVmPrimaryNicArgs) ToGetVmPrimaryNicOutput() GetVmPrimaryNicOutput { - return i.ToGetVmPrimaryNicOutputWithContext(context.Background()) -} - -func (i GetVmPrimaryNicArgs) ToGetVmPrimaryNicOutputWithContext(ctx context.Context) GetVmPrimaryNicOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmPrimaryNicOutput) -} - -// GetVmPrimaryNicArrayInput is an input type that accepts GetVmPrimaryNicArray and GetVmPrimaryNicArrayOutput values. -// You can construct a concrete instance of `GetVmPrimaryNicArrayInput` via: -// -// GetVmPrimaryNicArray{ GetVmPrimaryNicArgs{...} } -type GetVmPrimaryNicArrayInput interface { - pulumi.Input - - ToGetVmPrimaryNicArrayOutput() GetVmPrimaryNicArrayOutput - ToGetVmPrimaryNicArrayOutputWithContext(context.Context) GetVmPrimaryNicArrayOutput -} - -type GetVmPrimaryNicArray []GetVmPrimaryNicInput - -func (GetVmPrimaryNicArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmPrimaryNic)(nil)).Elem() -} - -func (i GetVmPrimaryNicArray) ToGetVmPrimaryNicArrayOutput() GetVmPrimaryNicArrayOutput { - return i.ToGetVmPrimaryNicArrayOutputWithContext(context.Background()) -} - -func (i GetVmPrimaryNicArray) ToGetVmPrimaryNicArrayOutputWithContext(ctx context.Context) GetVmPrimaryNicArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmPrimaryNicArrayOutput) -} - -type GetVmPrimaryNicOutput struct{ *pulumi.OutputState } - -func (GetVmPrimaryNicOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmPrimaryNic)(nil)).Elem() -} - -func (o GetVmPrimaryNicOutput) ToGetVmPrimaryNicOutput() GetVmPrimaryNicOutput { - return o -} - -func (o GetVmPrimaryNicOutput) ToGetVmPrimaryNicOutputWithContext(ctx context.Context) GetVmPrimaryNicOutput { - return o -} - -// The account ID of the owner of the NIC. -func (o GetVmPrimaryNicOutput) AccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmPrimaryNic) string { return v.AccountId }).(pulumi.StringOutput) -} - -// If true, the NIC is deleted when the VM is terminated. -func (o GetVmPrimaryNicOutput) DeleteOnVmDeletion() pulumi.BoolOutput { - return o.ApplyT(func(v GetVmPrimaryNic) bool { return v.DeleteOnVmDeletion }).(pulumi.BoolOutput) -} - -// The description of the NIC. -func (o GetVmPrimaryNicOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetVmPrimaryNic) string { return v.Description }).(pulumi.StringOutput) -} - -// The device index for the NIC attachment (between `1` and `7`, both included). -func (o GetVmPrimaryNicOutput) DeviceNumber() pulumi.IntOutput { - return o.ApplyT(func(v GetVmPrimaryNic) int { return v.DeviceNumber }).(pulumi.IntOutput) -} - -// (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. -func (o GetVmPrimaryNicOutput) IsSourceDestChecked() pulumi.BoolOutput { - return o.ApplyT(func(v GetVmPrimaryNic) bool { return v.IsSourceDestChecked }).(pulumi.BoolOutput) -} - -// Information about the network interface card (NIC). -func (o GetVmPrimaryNicOutput) LinkNics() GetVmPrimaryNicLinkNicArrayOutput { - return o.ApplyT(func(v GetVmPrimaryNic) []GetVmPrimaryNicLinkNic { return v.LinkNics }).(GetVmPrimaryNicLinkNicArrayOutput) -} - -// Information about the public IP associated with the NIC. -func (o GetVmPrimaryNicOutput) LinkPublicIps() GetVmPrimaryNicLinkPublicIpArrayOutput { - return o.ApplyT(func(v GetVmPrimaryNic) []GetVmPrimaryNicLinkPublicIp { return v.LinkPublicIps }).(GetVmPrimaryNicLinkPublicIpArrayOutput) -} - -// The Media Access Control (MAC) address of the NIC. -func (o GetVmPrimaryNicOutput) MacAddress() pulumi.StringOutput { - return o.ApplyT(func(v GetVmPrimaryNic) string { return v.MacAddress }).(pulumi.StringOutput) -} - -// The ID of the Net for the NIC. -func (o GetVmPrimaryNicOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmPrimaryNic) string { return v.NetId }).(pulumi.StringOutput) -} - -// The ID of the NIC. -func (o GetVmPrimaryNicOutput) NicId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmPrimaryNic) string { return v.NicId }).(pulumi.StringOutput) -} - -// The name of the private DNS. -func (o GetVmPrimaryNicOutput) PrivateDnsName() pulumi.StringOutput { - return o.ApplyT(func(v GetVmPrimaryNic) string { return v.PrivateDnsName }).(pulumi.StringOutput) -} - -// The private IP or IPs of the NIC. -func (o GetVmPrimaryNicOutput) PrivateIps() GetVmPrimaryNicPrivateIpArrayOutput { - return o.ApplyT(func(v GetVmPrimaryNic) []GetVmPrimaryNicPrivateIp { return v.PrivateIps }).(GetVmPrimaryNicPrivateIpArrayOutput) -} - -func (o GetVmPrimaryNicOutput) SecondaryPrivateIpCount() pulumi.IntOutput { - return o.ApplyT(func(v GetVmPrimaryNic) int { return v.SecondaryPrivateIpCount }).(pulumi.IntOutput) -} - -func (o GetVmPrimaryNicOutput) SecurityGroupIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetVmPrimaryNic) []string { return v.SecurityGroupIds }).(pulumi.StringArrayOutput) -} - -// One or more security groups associated with the VM. -func (o GetVmPrimaryNicOutput) SecurityGroups() GetVmPrimaryNicSecurityGroupArrayOutput { - return o.ApplyT(func(v GetVmPrimaryNic) []GetVmPrimaryNicSecurityGroup { return v.SecurityGroups }).(GetVmPrimaryNicSecurityGroupArrayOutput) -} - -// The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). -func (o GetVmPrimaryNicOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetVmPrimaryNic) string { return v.State }).(pulumi.StringOutput) -} - -// The ID of the Subnet for the VM. -func (o GetVmPrimaryNicOutput) SubnetId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmPrimaryNic) string { return v.SubnetId }).(pulumi.StringOutput) -} - -type GetVmPrimaryNicArrayOutput struct{ *pulumi.OutputState } - -func (GetVmPrimaryNicArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmPrimaryNic)(nil)).Elem() -} - -func (o GetVmPrimaryNicArrayOutput) ToGetVmPrimaryNicArrayOutput() GetVmPrimaryNicArrayOutput { - return o -} - -func (o GetVmPrimaryNicArrayOutput) ToGetVmPrimaryNicArrayOutputWithContext(ctx context.Context) GetVmPrimaryNicArrayOutput { - return o -} - -func (o GetVmPrimaryNicArrayOutput) Index(i pulumi.IntInput) GetVmPrimaryNicOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmPrimaryNic { - return vs[0].([]GetVmPrimaryNic)[vs[1].(int)] - }).(GetVmPrimaryNicOutput) -} - -type GetVmPrimaryNicLinkNic struct { - // If true, the NIC is deleted when the VM is terminated. - DeleteOnVmDeletion bool `pulumi:"deleteOnVmDeletion"` - // The device index for the NIC attachment (between `1` and `7`, both included). - DeviceNumber string `pulumi:"deviceNumber"` - // The ID of the NIC to attach. - LinkNicId string `pulumi:"linkNicId"` - // The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - State string `pulumi:"state"` -} - -// GetVmPrimaryNicLinkNicInput is an input type that accepts GetVmPrimaryNicLinkNicArgs and GetVmPrimaryNicLinkNicOutput values. -// You can construct a concrete instance of `GetVmPrimaryNicLinkNicInput` via: -// -// GetVmPrimaryNicLinkNicArgs{...} -type GetVmPrimaryNicLinkNicInput interface { - pulumi.Input - - ToGetVmPrimaryNicLinkNicOutput() GetVmPrimaryNicLinkNicOutput - ToGetVmPrimaryNicLinkNicOutputWithContext(context.Context) GetVmPrimaryNicLinkNicOutput -} - -type GetVmPrimaryNicLinkNicArgs struct { - // If true, the NIC is deleted when the VM is terminated. - DeleteOnVmDeletion pulumi.BoolInput `pulumi:"deleteOnVmDeletion"` - // The device index for the NIC attachment (between `1` and `7`, both included). - DeviceNumber pulumi.StringInput `pulumi:"deviceNumber"` - // The ID of the NIC to attach. - LinkNicId pulumi.StringInput `pulumi:"linkNicId"` - // The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - State pulumi.StringInput `pulumi:"state"` -} - -func (GetVmPrimaryNicLinkNicArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmPrimaryNicLinkNic)(nil)).Elem() -} - -func (i GetVmPrimaryNicLinkNicArgs) ToGetVmPrimaryNicLinkNicOutput() GetVmPrimaryNicLinkNicOutput { - return i.ToGetVmPrimaryNicLinkNicOutputWithContext(context.Background()) -} - -func (i GetVmPrimaryNicLinkNicArgs) ToGetVmPrimaryNicLinkNicOutputWithContext(ctx context.Context) GetVmPrimaryNicLinkNicOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmPrimaryNicLinkNicOutput) -} - -// GetVmPrimaryNicLinkNicArrayInput is an input type that accepts GetVmPrimaryNicLinkNicArray and GetVmPrimaryNicLinkNicArrayOutput values. -// You can construct a concrete instance of `GetVmPrimaryNicLinkNicArrayInput` via: -// -// GetVmPrimaryNicLinkNicArray{ GetVmPrimaryNicLinkNicArgs{...} } -type GetVmPrimaryNicLinkNicArrayInput interface { - pulumi.Input - - ToGetVmPrimaryNicLinkNicArrayOutput() GetVmPrimaryNicLinkNicArrayOutput - ToGetVmPrimaryNicLinkNicArrayOutputWithContext(context.Context) GetVmPrimaryNicLinkNicArrayOutput -} - -type GetVmPrimaryNicLinkNicArray []GetVmPrimaryNicLinkNicInput - -func (GetVmPrimaryNicLinkNicArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmPrimaryNicLinkNic)(nil)).Elem() -} - -func (i GetVmPrimaryNicLinkNicArray) ToGetVmPrimaryNicLinkNicArrayOutput() GetVmPrimaryNicLinkNicArrayOutput { - return i.ToGetVmPrimaryNicLinkNicArrayOutputWithContext(context.Background()) -} - -func (i GetVmPrimaryNicLinkNicArray) ToGetVmPrimaryNicLinkNicArrayOutputWithContext(ctx context.Context) GetVmPrimaryNicLinkNicArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmPrimaryNicLinkNicArrayOutput) -} - -type GetVmPrimaryNicLinkNicOutput struct{ *pulumi.OutputState } - -func (GetVmPrimaryNicLinkNicOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmPrimaryNicLinkNic)(nil)).Elem() -} - -func (o GetVmPrimaryNicLinkNicOutput) ToGetVmPrimaryNicLinkNicOutput() GetVmPrimaryNicLinkNicOutput { - return o -} - -func (o GetVmPrimaryNicLinkNicOutput) ToGetVmPrimaryNicLinkNicOutputWithContext(ctx context.Context) GetVmPrimaryNicLinkNicOutput { - return o -} - -// If true, the NIC is deleted when the VM is terminated. -func (o GetVmPrimaryNicLinkNicOutput) DeleteOnVmDeletion() pulumi.BoolOutput { - return o.ApplyT(func(v GetVmPrimaryNicLinkNic) bool { return v.DeleteOnVmDeletion }).(pulumi.BoolOutput) -} - -// The device index for the NIC attachment (between `1` and `7`, both included). -func (o GetVmPrimaryNicLinkNicOutput) DeviceNumber() pulumi.StringOutput { - return o.ApplyT(func(v GetVmPrimaryNicLinkNic) string { return v.DeviceNumber }).(pulumi.StringOutput) -} - -// The ID of the NIC to attach. -func (o GetVmPrimaryNicLinkNicOutput) LinkNicId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmPrimaryNicLinkNic) string { return v.LinkNicId }).(pulumi.StringOutput) -} - -// The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). -func (o GetVmPrimaryNicLinkNicOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetVmPrimaryNicLinkNic) string { return v.State }).(pulumi.StringOutput) -} - -type GetVmPrimaryNicLinkNicArrayOutput struct{ *pulumi.OutputState } - -func (GetVmPrimaryNicLinkNicArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmPrimaryNicLinkNic)(nil)).Elem() -} - -func (o GetVmPrimaryNicLinkNicArrayOutput) ToGetVmPrimaryNicLinkNicArrayOutput() GetVmPrimaryNicLinkNicArrayOutput { - return o -} - -func (o GetVmPrimaryNicLinkNicArrayOutput) ToGetVmPrimaryNicLinkNicArrayOutputWithContext(ctx context.Context) GetVmPrimaryNicLinkNicArrayOutput { - return o -} - -func (o GetVmPrimaryNicLinkNicArrayOutput) Index(i pulumi.IntInput) GetVmPrimaryNicLinkNicOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmPrimaryNicLinkNic { - return vs[0].([]GetVmPrimaryNicLinkNic)[vs[1].(int)] - }).(GetVmPrimaryNicLinkNicOutput) -} - -type GetVmPrimaryNicLinkPublicIp struct { - // The name of the public DNS. - PublicDnsName string `pulumi:"publicDnsName"` - // The public IP of the VM. - PublicIp string `pulumi:"publicIp"` - // The account ID of the owner of the public IP. - PublicIpAccountId string `pulumi:"publicIpAccountId"` -} - -// GetVmPrimaryNicLinkPublicIpInput is an input type that accepts GetVmPrimaryNicLinkPublicIpArgs and GetVmPrimaryNicLinkPublicIpOutput values. -// You can construct a concrete instance of `GetVmPrimaryNicLinkPublicIpInput` via: -// -// GetVmPrimaryNicLinkPublicIpArgs{...} -type GetVmPrimaryNicLinkPublicIpInput interface { - pulumi.Input - - ToGetVmPrimaryNicLinkPublicIpOutput() GetVmPrimaryNicLinkPublicIpOutput - ToGetVmPrimaryNicLinkPublicIpOutputWithContext(context.Context) GetVmPrimaryNicLinkPublicIpOutput -} - -type GetVmPrimaryNicLinkPublicIpArgs struct { - // The name of the public DNS. - PublicDnsName pulumi.StringInput `pulumi:"publicDnsName"` - // The public IP of the VM. - PublicIp pulumi.StringInput `pulumi:"publicIp"` - // The account ID of the owner of the public IP. - PublicIpAccountId pulumi.StringInput `pulumi:"publicIpAccountId"` -} - -func (GetVmPrimaryNicLinkPublicIpArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmPrimaryNicLinkPublicIp)(nil)).Elem() -} - -func (i GetVmPrimaryNicLinkPublicIpArgs) ToGetVmPrimaryNicLinkPublicIpOutput() GetVmPrimaryNicLinkPublicIpOutput { - return i.ToGetVmPrimaryNicLinkPublicIpOutputWithContext(context.Background()) -} - -func (i GetVmPrimaryNicLinkPublicIpArgs) ToGetVmPrimaryNicLinkPublicIpOutputWithContext(ctx context.Context) GetVmPrimaryNicLinkPublicIpOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmPrimaryNicLinkPublicIpOutput) -} - -// GetVmPrimaryNicLinkPublicIpArrayInput is an input type that accepts GetVmPrimaryNicLinkPublicIpArray and GetVmPrimaryNicLinkPublicIpArrayOutput values. -// You can construct a concrete instance of `GetVmPrimaryNicLinkPublicIpArrayInput` via: -// -// GetVmPrimaryNicLinkPublicIpArray{ GetVmPrimaryNicLinkPublicIpArgs{...} } -type GetVmPrimaryNicLinkPublicIpArrayInput interface { - pulumi.Input - - ToGetVmPrimaryNicLinkPublicIpArrayOutput() GetVmPrimaryNicLinkPublicIpArrayOutput - ToGetVmPrimaryNicLinkPublicIpArrayOutputWithContext(context.Context) GetVmPrimaryNicLinkPublicIpArrayOutput -} - -type GetVmPrimaryNicLinkPublicIpArray []GetVmPrimaryNicLinkPublicIpInput - -func (GetVmPrimaryNicLinkPublicIpArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmPrimaryNicLinkPublicIp)(nil)).Elem() -} - -func (i GetVmPrimaryNicLinkPublicIpArray) ToGetVmPrimaryNicLinkPublicIpArrayOutput() GetVmPrimaryNicLinkPublicIpArrayOutput { - return i.ToGetVmPrimaryNicLinkPublicIpArrayOutputWithContext(context.Background()) -} - -func (i GetVmPrimaryNicLinkPublicIpArray) ToGetVmPrimaryNicLinkPublicIpArrayOutputWithContext(ctx context.Context) GetVmPrimaryNicLinkPublicIpArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmPrimaryNicLinkPublicIpArrayOutput) -} - -type GetVmPrimaryNicLinkPublicIpOutput struct{ *pulumi.OutputState } - -func (GetVmPrimaryNicLinkPublicIpOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmPrimaryNicLinkPublicIp)(nil)).Elem() -} - -func (o GetVmPrimaryNicLinkPublicIpOutput) ToGetVmPrimaryNicLinkPublicIpOutput() GetVmPrimaryNicLinkPublicIpOutput { - return o -} - -func (o GetVmPrimaryNicLinkPublicIpOutput) ToGetVmPrimaryNicLinkPublicIpOutputWithContext(ctx context.Context) GetVmPrimaryNicLinkPublicIpOutput { - return o -} - -// The name of the public DNS. -func (o GetVmPrimaryNicLinkPublicIpOutput) PublicDnsName() pulumi.StringOutput { - return o.ApplyT(func(v GetVmPrimaryNicLinkPublicIp) string { return v.PublicDnsName }).(pulumi.StringOutput) -} - -// The public IP of the VM. -func (o GetVmPrimaryNicLinkPublicIpOutput) PublicIp() pulumi.StringOutput { - return o.ApplyT(func(v GetVmPrimaryNicLinkPublicIp) string { return v.PublicIp }).(pulumi.StringOutput) -} - -// The account ID of the owner of the public IP. -func (o GetVmPrimaryNicLinkPublicIpOutput) PublicIpAccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmPrimaryNicLinkPublicIp) string { return v.PublicIpAccountId }).(pulumi.StringOutput) -} - -type GetVmPrimaryNicLinkPublicIpArrayOutput struct{ *pulumi.OutputState } - -func (GetVmPrimaryNicLinkPublicIpArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmPrimaryNicLinkPublicIp)(nil)).Elem() -} - -func (o GetVmPrimaryNicLinkPublicIpArrayOutput) ToGetVmPrimaryNicLinkPublicIpArrayOutput() GetVmPrimaryNicLinkPublicIpArrayOutput { - return o -} - -func (o GetVmPrimaryNicLinkPublicIpArrayOutput) ToGetVmPrimaryNicLinkPublicIpArrayOutputWithContext(ctx context.Context) GetVmPrimaryNicLinkPublicIpArrayOutput { - return o -} - -func (o GetVmPrimaryNicLinkPublicIpArrayOutput) Index(i pulumi.IntInput) GetVmPrimaryNicLinkPublicIpOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmPrimaryNicLinkPublicIp { - return vs[0].([]GetVmPrimaryNicLinkPublicIp)[vs[1].(int)] - }).(GetVmPrimaryNicLinkPublicIpOutput) -} - -type GetVmPrimaryNicPrivateIp struct { - // If true, the IP is the primary private IP of the NIC. - IsPrimary bool `pulumi:"isPrimary"` - // Information about the public IP associated with the NIC. - LinkPublicIps []GetVmPrimaryNicPrivateIpLinkPublicIp `pulumi:"linkPublicIps"` - // The name of the private DNS. - PrivateDnsName string `pulumi:"privateDnsName"` - // The primary private IP of the VM. - PrivateIp string `pulumi:"privateIp"` -} - -// GetVmPrimaryNicPrivateIpInput is an input type that accepts GetVmPrimaryNicPrivateIpArgs and GetVmPrimaryNicPrivateIpOutput values. -// You can construct a concrete instance of `GetVmPrimaryNicPrivateIpInput` via: -// -// GetVmPrimaryNicPrivateIpArgs{...} -type GetVmPrimaryNicPrivateIpInput interface { - pulumi.Input - - ToGetVmPrimaryNicPrivateIpOutput() GetVmPrimaryNicPrivateIpOutput - ToGetVmPrimaryNicPrivateIpOutputWithContext(context.Context) GetVmPrimaryNicPrivateIpOutput -} - -type GetVmPrimaryNicPrivateIpArgs struct { - // If true, the IP is the primary private IP of the NIC. - IsPrimary pulumi.BoolInput `pulumi:"isPrimary"` - // Information about the public IP associated with the NIC. - LinkPublicIps GetVmPrimaryNicPrivateIpLinkPublicIpArrayInput `pulumi:"linkPublicIps"` - // The name of the private DNS. - PrivateDnsName pulumi.StringInput `pulumi:"privateDnsName"` - // The primary private IP of the VM. - PrivateIp pulumi.StringInput `pulumi:"privateIp"` -} - -func (GetVmPrimaryNicPrivateIpArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmPrimaryNicPrivateIp)(nil)).Elem() -} - -func (i GetVmPrimaryNicPrivateIpArgs) ToGetVmPrimaryNicPrivateIpOutput() GetVmPrimaryNicPrivateIpOutput { - return i.ToGetVmPrimaryNicPrivateIpOutputWithContext(context.Background()) -} - -func (i GetVmPrimaryNicPrivateIpArgs) ToGetVmPrimaryNicPrivateIpOutputWithContext(ctx context.Context) GetVmPrimaryNicPrivateIpOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmPrimaryNicPrivateIpOutput) -} - -// GetVmPrimaryNicPrivateIpArrayInput is an input type that accepts GetVmPrimaryNicPrivateIpArray and GetVmPrimaryNicPrivateIpArrayOutput values. -// You can construct a concrete instance of `GetVmPrimaryNicPrivateIpArrayInput` via: -// -// GetVmPrimaryNicPrivateIpArray{ GetVmPrimaryNicPrivateIpArgs{...} } -type GetVmPrimaryNicPrivateIpArrayInput interface { - pulumi.Input - - ToGetVmPrimaryNicPrivateIpArrayOutput() GetVmPrimaryNicPrivateIpArrayOutput - ToGetVmPrimaryNicPrivateIpArrayOutputWithContext(context.Context) GetVmPrimaryNicPrivateIpArrayOutput -} - -type GetVmPrimaryNicPrivateIpArray []GetVmPrimaryNicPrivateIpInput - -func (GetVmPrimaryNicPrivateIpArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmPrimaryNicPrivateIp)(nil)).Elem() -} - -func (i GetVmPrimaryNicPrivateIpArray) ToGetVmPrimaryNicPrivateIpArrayOutput() GetVmPrimaryNicPrivateIpArrayOutput { - return i.ToGetVmPrimaryNicPrivateIpArrayOutputWithContext(context.Background()) -} - -func (i GetVmPrimaryNicPrivateIpArray) ToGetVmPrimaryNicPrivateIpArrayOutputWithContext(ctx context.Context) GetVmPrimaryNicPrivateIpArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmPrimaryNicPrivateIpArrayOutput) -} - -type GetVmPrimaryNicPrivateIpOutput struct{ *pulumi.OutputState } - -func (GetVmPrimaryNicPrivateIpOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmPrimaryNicPrivateIp)(nil)).Elem() -} - -func (o GetVmPrimaryNicPrivateIpOutput) ToGetVmPrimaryNicPrivateIpOutput() GetVmPrimaryNicPrivateIpOutput { - return o -} - -func (o GetVmPrimaryNicPrivateIpOutput) ToGetVmPrimaryNicPrivateIpOutputWithContext(ctx context.Context) GetVmPrimaryNicPrivateIpOutput { - return o -} - -// If true, the IP is the primary private IP of the NIC. -func (o GetVmPrimaryNicPrivateIpOutput) IsPrimary() pulumi.BoolOutput { - return o.ApplyT(func(v GetVmPrimaryNicPrivateIp) bool { return v.IsPrimary }).(pulumi.BoolOutput) -} - -// Information about the public IP associated with the NIC. -func (o GetVmPrimaryNicPrivateIpOutput) LinkPublicIps() GetVmPrimaryNicPrivateIpLinkPublicIpArrayOutput { - return o.ApplyT(func(v GetVmPrimaryNicPrivateIp) []GetVmPrimaryNicPrivateIpLinkPublicIp { return v.LinkPublicIps }).(GetVmPrimaryNicPrivateIpLinkPublicIpArrayOutput) -} - -// The name of the private DNS. -func (o GetVmPrimaryNicPrivateIpOutput) PrivateDnsName() pulumi.StringOutput { - return o.ApplyT(func(v GetVmPrimaryNicPrivateIp) string { return v.PrivateDnsName }).(pulumi.StringOutput) -} - -// The primary private IP of the VM. -func (o GetVmPrimaryNicPrivateIpOutput) PrivateIp() pulumi.StringOutput { - return o.ApplyT(func(v GetVmPrimaryNicPrivateIp) string { return v.PrivateIp }).(pulumi.StringOutput) -} - -type GetVmPrimaryNicPrivateIpArrayOutput struct{ *pulumi.OutputState } - -func (GetVmPrimaryNicPrivateIpArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmPrimaryNicPrivateIp)(nil)).Elem() -} - -func (o GetVmPrimaryNicPrivateIpArrayOutput) ToGetVmPrimaryNicPrivateIpArrayOutput() GetVmPrimaryNicPrivateIpArrayOutput { - return o -} - -func (o GetVmPrimaryNicPrivateIpArrayOutput) ToGetVmPrimaryNicPrivateIpArrayOutputWithContext(ctx context.Context) GetVmPrimaryNicPrivateIpArrayOutput { - return o -} - -func (o GetVmPrimaryNicPrivateIpArrayOutput) Index(i pulumi.IntInput) GetVmPrimaryNicPrivateIpOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmPrimaryNicPrivateIp { - return vs[0].([]GetVmPrimaryNicPrivateIp)[vs[1].(int)] - }).(GetVmPrimaryNicPrivateIpOutput) -} - -type GetVmPrimaryNicPrivateIpLinkPublicIp struct { - // The name of the public DNS. - PublicDnsName string `pulumi:"publicDnsName"` - // The public IP of the VM. - PublicIp string `pulumi:"publicIp"` - // The account ID of the owner of the public IP. - PublicIpAccountId string `pulumi:"publicIpAccountId"` -} - -// GetVmPrimaryNicPrivateIpLinkPublicIpInput is an input type that accepts GetVmPrimaryNicPrivateIpLinkPublicIpArgs and GetVmPrimaryNicPrivateIpLinkPublicIpOutput values. -// You can construct a concrete instance of `GetVmPrimaryNicPrivateIpLinkPublicIpInput` via: -// -// GetVmPrimaryNicPrivateIpLinkPublicIpArgs{...} -type GetVmPrimaryNicPrivateIpLinkPublicIpInput interface { - pulumi.Input - - ToGetVmPrimaryNicPrivateIpLinkPublicIpOutput() GetVmPrimaryNicPrivateIpLinkPublicIpOutput - ToGetVmPrimaryNicPrivateIpLinkPublicIpOutputWithContext(context.Context) GetVmPrimaryNicPrivateIpLinkPublicIpOutput -} - -type GetVmPrimaryNicPrivateIpLinkPublicIpArgs struct { - // The name of the public DNS. - PublicDnsName pulumi.StringInput `pulumi:"publicDnsName"` - // The public IP of the VM. - PublicIp pulumi.StringInput `pulumi:"publicIp"` - // The account ID of the owner of the public IP. - PublicIpAccountId pulumi.StringInput `pulumi:"publicIpAccountId"` -} - -func (GetVmPrimaryNicPrivateIpLinkPublicIpArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmPrimaryNicPrivateIpLinkPublicIp)(nil)).Elem() -} - -func (i GetVmPrimaryNicPrivateIpLinkPublicIpArgs) ToGetVmPrimaryNicPrivateIpLinkPublicIpOutput() GetVmPrimaryNicPrivateIpLinkPublicIpOutput { - return i.ToGetVmPrimaryNicPrivateIpLinkPublicIpOutputWithContext(context.Background()) -} - -func (i GetVmPrimaryNicPrivateIpLinkPublicIpArgs) ToGetVmPrimaryNicPrivateIpLinkPublicIpOutputWithContext(ctx context.Context) GetVmPrimaryNicPrivateIpLinkPublicIpOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmPrimaryNicPrivateIpLinkPublicIpOutput) -} - -// GetVmPrimaryNicPrivateIpLinkPublicIpArrayInput is an input type that accepts GetVmPrimaryNicPrivateIpLinkPublicIpArray and GetVmPrimaryNicPrivateIpLinkPublicIpArrayOutput values. -// You can construct a concrete instance of `GetVmPrimaryNicPrivateIpLinkPublicIpArrayInput` via: -// -// GetVmPrimaryNicPrivateIpLinkPublicIpArray{ GetVmPrimaryNicPrivateIpLinkPublicIpArgs{...} } -type GetVmPrimaryNicPrivateIpLinkPublicIpArrayInput interface { - pulumi.Input - - ToGetVmPrimaryNicPrivateIpLinkPublicIpArrayOutput() GetVmPrimaryNicPrivateIpLinkPublicIpArrayOutput - ToGetVmPrimaryNicPrivateIpLinkPublicIpArrayOutputWithContext(context.Context) GetVmPrimaryNicPrivateIpLinkPublicIpArrayOutput -} - -type GetVmPrimaryNicPrivateIpLinkPublicIpArray []GetVmPrimaryNicPrivateIpLinkPublicIpInput - -func (GetVmPrimaryNicPrivateIpLinkPublicIpArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmPrimaryNicPrivateIpLinkPublicIp)(nil)).Elem() -} - -func (i GetVmPrimaryNicPrivateIpLinkPublicIpArray) ToGetVmPrimaryNicPrivateIpLinkPublicIpArrayOutput() GetVmPrimaryNicPrivateIpLinkPublicIpArrayOutput { - return i.ToGetVmPrimaryNicPrivateIpLinkPublicIpArrayOutputWithContext(context.Background()) -} - -func (i GetVmPrimaryNicPrivateIpLinkPublicIpArray) ToGetVmPrimaryNicPrivateIpLinkPublicIpArrayOutputWithContext(ctx context.Context) GetVmPrimaryNicPrivateIpLinkPublicIpArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmPrimaryNicPrivateIpLinkPublicIpArrayOutput) -} - -type GetVmPrimaryNicPrivateIpLinkPublicIpOutput struct{ *pulumi.OutputState } - -func (GetVmPrimaryNicPrivateIpLinkPublicIpOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmPrimaryNicPrivateIpLinkPublicIp)(nil)).Elem() -} - -func (o GetVmPrimaryNicPrivateIpLinkPublicIpOutput) ToGetVmPrimaryNicPrivateIpLinkPublicIpOutput() GetVmPrimaryNicPrivateIpLinkPublicIpOutput { - return o -} - -func (o GetVmPrimaryNicPrivateIpLinkPublicIpOutput) ToGetVmPrimaryNicPrivateIpLinkPublicIpOutputWithContext(ctx context.Context) GetVmPrimaryNicPrivateIpLinkPublicIpOutput { - return o -} - -// The name of the public DNS. -func (o GetVmPrimaryNicPrivateIpLinkPublicIpOutput) PublicDnsName() pulumi.StringOutput { - return o.ApplyT(func(v GetVmPrimaryNicPrivateIpLinkPublicIp) string { return v.PublicDnsName }).(pulumi.StringOutput) -} - -// The public IP of the VM. -func (o GetVmPrimaryNicPrivateIpLinkPublicIpOutput) PublicIp() pulumi.StringOutput { - return o.ApplyT(func(v GetVmPrimaryNicPrivateIpLinkPublicIp) string { return v.PublicIp }).(pulumi.StringOutput) -} - -// The account ID of the owner of the public IP. -func (o GetVmPrimaryNicPrivateIpLinkPublicIpOutput) PublicIpAccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmPrimaryNicPrivateIpLinkPublicIp) string { return v.PublicIpAccountId }).(pulumi.StringOutput) -} - -type GetVmPrimaryNicPrivateIpLinkPublicIpArrayOutput struct{ *pulumi.OutputState } - -func (GetVmPrimaryNicPrivateIpLinkPublicIpArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmPrimaryNicPrivateIpLinkPublicIp)(nil)).Elem() -} - -func (o GetVmPrimaryNicPrivateIpLinkPublicIpArrayOutput) ToGetVmPrimaryNicPrivateIpLinkPublicIpArrayOutput() GetVmPrimaryNicPrivateIpLinkPublicIpArrayOutput { - return o -} - -func (o GetVmPrimaryNicPrivateIpLinkPublicIpArrayOutput) ToGetVmPrimaryNicPrivateIpLinkPublicIpArrayOutputWithContext(ctx context.Context) GetVmPrimaryNicPrivateIpLinkPublicIpArrayOutput { - return o -} - -func (o GetVmPrimaryNicPrivateIpLinkPublicIpArrayOutput) Index(i pulumi.IntInput) GetVmPrimaryNicPrivateIpLinkPublicIpOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmPrimaryNicPrivateIpLinkPublicIp { - return vs[0].([]GetVmPrimaryNicPrivateIpLinkPublicIp)[vs[1].(int)] - }).(GetVmPrimaryNicPrivateIpLinkPublicIpOutput) -} - -type GetVmPrimaryNicSecurityGroup struct { - // The ID of the security group. - SecurityGroupId string `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName string `pulumi:"securityGroupName"` -} - -// GetVmPrimaryNicSecurityGroupInput is an input type that accepts GetVmPrimaryNicSecurityGroupArgs and GetVmPrimaryNicSecurityGroupOutput values. -// You can construct a concrete instance of `GetVmPrimaryNicSecurityGroupInput` via: -// -// GetVmPrimaryNicSecurityGroupArgs{...} -type GetVmPrimaryNicSecurityGroupInput interface { - pulumi.Input - - ToGetVmPrimaryNicSecurityGroupOutput() GetVmPrimaryNicSecurityGroupOutput - ToGetVmPrimaryNicSecurityGroupOutputWithContext(context.Context) GetVmPrimaryNicSecurityGroupOutput -} - -type GetVmPrimaryNicSecurityGroupArgs struct { - // The ID of the security group. - SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName pulumi.StringInput `pulumi:"securityGroupName"` -} - -func (GetVmPrimaryNicSecurityGroupArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmPrimaryNicSecurityGroup)(nil)).Elem() -} - -func (i GetVmPrimaryNicSecurityGroupArgs) ToGetVmPrimaryNicSecurityGroupOutput() GetVmPrimaryNicSecurityGroupOutput { - return i.ToGetVmPrimaryNicSecurityGroupOutputWithContext(context.Background()) -} - -func (i GetVmPrimaryNicSecurityGroupArgs) ToGetVmPrimaryNicSecurityGroupOutputWithContext(ctx context.Context) GetVmPrimaryNicSecurityGroupOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmPrimaryNicSecurityGroupOutput) -} - -// GetVmPrimaryNicSecurityGroupArrayInput is an input type that accepts GetVmPrimaryNicSecurityGroupArray and GetVmPrimaryNicSecurityGroupArrayOutput values. -// You can construct a concrete instance of `GetVmPrimaryNicSecurityGroupArrayInput` via: -// -// GetVmPrimaryNicSecurityGroupArray{ GetVmPrimaryNicSecurityGroupArgs{...} } -type GetVmPrimaryNicSecurityGroupArrayInput interface { - pulumi.Input - - ToGetVmPrimaryNicSecurityGroupArrayOutput() GetVmPrimaryNicSecurityGroupArrayOutput - ToGetVmPrimaryNicSecurityGroupArrayOutputWithContext(context.Context) GetVmPrimaryNicSecurityGroupArrayOutput -} - -type GetVmPrimaryNicSecurityGroupArray []GetVmPrimaryNicSecurityGroupInput - -func (GetVmPrimaryNicSecurityGroupArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmPrimaryNicSecurityGroup)(nil)).Elem() -} - -func (i GetVmPrimaryNicSecurityGroupArray) ToGetVmPrimaryNicSecurityGroupArrayOutput() GetVmPrimaryNicSecurityGroupArrayOutput { - return i.ToGetVmPrimaryNicSecurityGroupArrayOutputWithContext(context.Background()) -} - -func (i GetVmPrimaryNicSecurityGroupArray) ToGetVmPrimaryNicSecurityGroupArrayOutputWithContext(ctx context.Context) GetVmPrimaryNicSecurityGroupArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmPrimaryNicSecurityGroupArrayOutput) -} - -type GetVmPrimaryNicSecurityGroupOutput struct{ *pulumi.OutputState } - -func (GetVmPrimaryNicSecurityGroupOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmPrimaryNicSecurityGroup)(nil)).Elem() -} - -func (o GetVmPrimaryNicSecurityGroupOutput) ToGetVmPrimaryNicSecurityGroupOutput() GetVmPrimaryNicSecurityGroupOutput { - return o -} - -func (o GetVmPrimaryNicSecurityGroupOutput) ToGetVmPrimaryNicSecurityGroupOutputWithContext(ctx context.Context) GetVmPrimaryNicSecurityGroupOutput { - return o -} - -// The ID of the security group. -func (o GetVmPrimaryNicSecurityGroupOutput) SecurityGroupId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmPrimaryNicSecurityGroup) string { return v.SecurityGroupId }).(pulumi.StringOutput) -} - -// The name of the security group. -func (o GetVmPrimaryNicSecurityGroupOutput) SecurityGroupName() pulumi.StringOutput { - return o.ApplyT(func(v GetVmPrimaryNicSecurityGroup) string { return v.SecurityGroupName }).(pulumi.StringOutput) -} - -type GetVmPrimaryNicSecurityGroupArrayOutput struct{ *pulumi.OutputState } - -func (GetVmPrimaryNicSecurityGroupArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmPrimaryNicSecurityGroup)(nil)).Elem() -} - -func (o GetVmPrimaryNicSecurityGroupArrayOutput) ToGetVmPrimaryNicSecurityGroupArrayOutput() GetVmPrimaryNicSecurityGroupArrayOutput { - return o -} - -func (o GetVmPrimaryNicSecurityGroupArrayOutput) ToGetVmPrimaryNicSecurityGroupArrayOutputWithContext(ctx context.Context) GetVmPrimaryNicSecurityGroupArrayOutput { - return o -} - -func (o GetVmPrimaryNicSecurityGroupArrayOutput) Index(i pulumi.IntInput) GetVmPrimaryNicSecurityGroupOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmPrimaryNicSecurityGroup { - return vs[0].([]GetVmPrimaryNicSecurityGroup)[vs[1].(int)] - }).(GetVmPrimaryNicSecurityGroupOutput) -} - -type GetVmSecurityGroup struct { - // The ID of the security group. - SecurityGroupId string `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName string `pulumi:"securityGroupName"` -} - -// GetVmSecurityGroupInput is an input type that accepts GetVmSecurityGroupArgs and GetVmSecurityGroupOutput values. -// You can construct a concrete instance of `GetVmSecurityGroupInput` via: -// -// GetVmSecurityGroupArgs{...} -type GetVmSecurityGroupInput interface { - pulumi.Input - - ToGetVmSecurityGroupOutput() GetVmSecurityGroupOutput - ToGetVmSecurityGroupOutputWithContext(context.Context) GetVmSecurityGroupOutput -} - -type GetVmSecurityGroupArgs struct { - // The ID of the security group. - SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName pulumi.StringInput `pulumi:"securityGroupName"` -} - -func (GetVmSecurityGroupArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmSecurityGroup)(nil)).Elem() -} - -func (i GetVmSecurityGroupArgs) ToGetVmSecurityGroupOutput() GetVmSecurityGroupOutput { - return i.ToGetVmSecurityGroupOutputWithContext(context.Background()) -} - -func (i GetVmSecurityGroupArgs) ToGetVmSecurityGroupOutputWithContext(ctx context.Context) GetVmSecurityGroupOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmSecurityGroupOutput) -} - -// GetVmSecurityGroupArrayInput is an input type that accepts GetVmSecurityGroupArray and GetVmSecurityGroupArrayOutput values. -// You can construct a concrete instance of `GetVmSecurityGroupArrayInput` via: -// -// GetVmSecurityGroupArray{ GetVmSecurityGroupArgs{...} } -type GetVmSecurityGroupArrayInput interface { - pulumi.Input - - ToGetVmSecurityGroupArrayOutput() GetVmSecurityGroupArrayOutput - ToGetVmSecurityGroupArrayOutputWithContext(context.Context) GetVmSecurityGroupArrayOutput -} - -type GetVmSecurityGroupArray []GetVmSecurityGroupInput - -func (GetVmSecurityGroupArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmSecurityGroup)(nil)).Elem() -} - -func (i GetVmSecurityGroupArray) ToGetVmSecurityGroupArrayOutput() GetVmSecurityGroupArrayOutput { - return i.ToGetVmSecurityGroupArrayOutputWithContext(context.Background()) -} - -func (i GetVmSecurityGroupArray) ToGetVmSecurityGroupArrayOutputWithContext(ctx context.Context) GetVmSecurityGroupArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmSecurityGroupArrayOutput) -} - -type GetVmSecurityGroupOutput struct{ *pulumi.OutputState } - -func (GetVmSecurityGroupOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmSecurityGroup)(nil)).Elem() -} - -func (o GetVmSecurityGroupOutput) ToGetVmSecurityGroupOutput() GetVmSecurityGroupOutput { - return o -} - -func (o GetVmSecurityGroupOutput) ToGetVmSecurityGroupOutputWithContext(ctx context.Context) GetVmSecurityGroupOutput { - return o -} - -// The ID of the security group. -func (o GetVmSecurityGroupOutput) SecurityGroupId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmSecurityGroup) string { return v.SecurityGroupId }).(pulumi.StringOutput) -} - -// The name of the security group. -func (o GetVmSecurityGroupOutput) SecurityGroupName() pulumi.StringOutput { - return o.ApplyT(func(v GetVmSecurityGroup) string { return v.SecurityGroupName }).(pulumi.StringOutput) -} - -type GetVmSecurityGroupArrayOutput struct{ *pulumi.OutputState } - -func (GetVmSecurityGroupArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmSecurityGroup)(nil)).Elem() -} - -func (o GetVmSecurityGroupArrayOutput) ToGetVmSecurityGroupArrayOutput() GetVmSecurityGroupArrayOutput { - return o -} - -func (o GetVmSecurityGroupArrayOutput) ToGetVmSecurityGroupArrayOutputWithContext(ctx context.Context) GetVmSecurityGroupArrayOutput { - return o -} - -func (o GetVmSecurityGroupArrayOutput) Index(i pulumi.IntInput) GetVmSecurityGroupOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmSecurityGroup { - return vs[0].([]GetVmSecurityGroup)[vs[1].(int)] - }).(GetVmSecurityGroupOutput) -} - -type GetVmStateFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetVmStateFilterInput is an input type that accepts GetVmStateFilterArgs and GetVmStateFilterOutput values. -// You can construct a concrete instance of `GetVmStateFilterInput` via: -// -// GetVmStateFilterArgs{...} -type GetVmStateFilterInput interface { - pulumi.Input - - ToGetVmStateFilterOutput() GetVmStateFilterOutput - ToGetVmStateFilterOutputWithContext(context.Context) GetVmStateFilterOutput -} - -type GetVmStateFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetVmStateFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmStateFilter)(nil)).Elem() -} - -func (i GetVmStateFilterArgs) ToGetVmStateFilterOutput() GetVmStateFilterOutput { - return i.ToGetVmStateFilterOutputWithContext(context.Background()) -} - -func (i GetVmStateFilterArgs) ToGetVmStateFilterOutputWithContext(ctx context.Context) GetVmStateFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmStateFilterOutput) -} - -// GetVmStateFilterArrayInput is an input type that accepts GetVmStateFilterArray and GetVmStateFilterArrayOutput values. -// You can construct a concrete instance of `GetVmStateFilterArrayInput` via: -// -// GetVmStateFilterArray{ GetVmStateFilterArgs{...} } -type GetVmStateFilterArrayInput interface { - pulumi.Input - - ToGetVmStateFilterArrayOutput() GetVmStateFilterArrayOutput - ToGetVmStateFilterArrayOutputWithContext(context.Context) GetVmStateFilterArrayOutput -} - -type GetVmStateFilterArray []GetVmStateFilterInput - -func (GetVmStateFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmStateFilter)(nil)).Elem() -} - -func (i GetVmStateFilterArray) ToGetVmStateFilterArrayOutput() GetVmStateFilterArrayOutput { - return i.ToGetVmStateFilterArrayOutputWithContext(context.Background()) -} - -func (i GetVmStateFilterArray) ToGetVmStateFilterArrayOutputWithContext(ctx context.Context) GetVmStateFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmStateFilterArrayOutput) -} - -type GetVmStateFilterOutput struct{ *pulumi.OutputState } - -func (GetVmStateFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmStateFilter)(nil)).Elem() -} - -func (o GetVmStateFilterOutput) ToGetVmStateFilterOutput() GetVmStateFilterOutput { - return o -} - -func (o GetVmStateFilterOutput) ToGetVmStateFilterOutputWithContext(ctx context.Context) GetVmStateFilterOutput { - return o -} - -func (o GetVmStateFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetVmStateFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetVmStateFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetVmStateFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetVmStateFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetVmStateFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmStateFilter)(nil)).Elem() -} - -func (o GetVmStateFilterArrayOutput) ToGetVmStateFilterArrayOutput() GetVmStateFilterArrayOutput { - return o -} - -func (o GetVmStateFilterArrayOutput) ToGetVmStateFilterArrayOutputWithContext(ctx context.Context) GetVmStateFilterArrayOutput { - return o -} - -func (o GetVmStateFilterArrayOutput) Index(i pulumi.IntInput) GetVmStateFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmStateFilter { - return vs[0].([]GetVmStateFilter)[vs[1].(int)] - }).(GetVmStateFilterOutput) -} - -type GetVmStateMaintenanceEvent struct { - // The code of the event (`system-reboot` \| `system-maintenance`). - Code string `pulumi:"code"` - // The description of the event. - Description string `pulumi:"description"` - // The latest scheduled end time for the event. - NotAfter string `pulumi:"notAfter"` - // The earliest scheduled start time for the event. - NotBefore string `pulumi:"notBefore"` -} - -// GetVmStateMaintenanceEventInput is an input type that accepts GetVmStateMaintenanceEventArgs and GetVmStateMaintenanceEventOutput values. -// You can construct a concrete instance of `GetVmStateMaintenanceEventInput` via: -// -// GetVmStateMaintenanceEventArgs{...} -type GetVmStateMaintenanceEventInput interface { - pulumi.Input - - ToGetVmStateMaintenanceEventOutput() GetVmStateMaintenanceEventOutput - ToGetVmStateMaintenanceEventOutputWithContext(context.Context) GetVmStateMaintenanceEventOutput -} - -type GetVmStateMaintenanceEventArgs struct { - // The code of the event (`system-reboot` \| `system-maintenance`). - Code pulumi.StringInput `pulumi:"code"` - // The description of the event. - Description pulumi.StringInput `pulumi:"description"` - // The latest scheduled end time for the event. - NotAfter pulumi.StringInput `pulumi:"notAfter"` - // The earliest scheduled start time for the event. - NotBefore pulumi.StringInput `pulumi:"notBefore"` -} - -func (GetVmStateMaintenanceEventArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmStateMaintenanceEvent)(nil)).Elem() -} - -func (i GetVmStateMaintenanceEventArgs) ToGetVmStateMaintenanceEventOutput() GetVmStateMaintenanceEventOutput { - return i.ToGetVmStateMaintenanceEventOutputWithContext(context.Background()) -} - -func (i GetVmStateMaintenanceEventArgs) ToGetVmStateMaintenanceEventOutputWithContext(ctx context.Context) GetVmStateMaintenanceEventOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmStateMaintenanceEventOutput) -} - -// GetVmStateMaintenanceEventArrayInput is an input type that accepts GetVmStateMaintenanceEventArray and GetVmStateMaintenanceEventArrayOutput values. -// You can construct a concrete instance of `GetVmStateMaintenanceEventArrayInput` via: -// -// GetVmStateMaintenanceEventArray{ GetVmStateMaintenanceEventArgs{...} } -type GetVmStateMaintenanceEventArrayInput interface { - pulumi.Input - - ToGetVmStateMaintenanceEventArrayOutput() GetVmStateMaintenanceEventArrayOutput - ToGetVmStateMaintenanceEventArrayOutputWithContext(context.Context) GetVmStateMaintenanceEventArrayOutput -} - -type GetVmStateMaintenanceEventArray []GetVmStateMaintenanceEventInput - -func (GetVmStateMaintenanceEventArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmStateMaintenanceEvent)(nil)).Elem() -} - -func (i GetVmStateMaintenanceEventArray) ToGetVmStateMaintenanceEventArrayOutput() GetVmStateMaintenanceEventArrayOutput { - return i.ToGetVmStateMaintenanceEventArrayOutputWithContext(context.Background()) -} - -func (i GetVmStateMaintenanceEventArray) ToGetVmStateMaintenanceEventArrayOutputWithContext(ctx context.Context) GetVmStateMaintenanceEventArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmStateMaintenanceEventArrayOutput) -} - -type GetVmStateMaintenanceEventOutput struct{ *pulumi.OutputState } - -func (GetVmStateMaintenanceEventOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmStateMaintenanceEvent)(nil)).Elem() -} - -func (o GetVmStateMaintenanceEventOutput) ToGetVmStateMaintenanceEventOutput() GetVmStateMaintenanceEventOutput { - return o -} - -func (o GetVmStateMaintenanceEventOutput) ToGetVmStateMaintenanceEventOutputWithContext(ctx context.Context) GetVmStateMaintenanceEventOutput { - return o -} - -// The code of the event (`system-reboot` \| `system-maintenance`). -func (o GetVmStateMaintenanceEventOutput) Code() pulumi.StringOutput { - return o.ApplyT(func(v GetVmStateMaintenanceEvent) string { return v.Code }).(pulumi.StringOutput) -} - -// The description of the event. -func (o GetVmStateMaintenanceEventOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetVmStateMaintenanceEvent) string { return v.Description }).(pulumi.StringOutput) -} - -// The latest scheduled end time for the event. -func (o GetVmStateMaintenanceEventOutput) NotAfter() pulumi.StringOutput { - return o.ApplyT(func(v GetVmStateMaintenanceEvent) string { return v.NotAfter }).(pulumi.StringOutput) -} - -// The earliest scheduled start time for the event. -func (o GetVmStateMaintenanceEventOutput) NotBefore() pulumi.StringOutput { - return o.ApplyT(func(v GetVmStateMaintenanceEvent) string { return v.NotBefore }).(pulumi.StringOutput) -} - -type GetVmStateMaintenanceEventArrayOutput struct{ *pulumi.OutputState } - -func (GetVmStateMaintenanceEventArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmStateMaintenanceEvent)(nil)).Elem() -} - -func (o GetVmStateMaintenanceEventArrayOutput) ToGetVmStateMaintenanceEventArrayOutput() GetVmStateMaintenanceEventArrayOutput { - return o -} - -func (o GetVmStateMaintenanceEventArrayOutput) ToGetVmStateMaintenanceEventArrayOutputWithContext(ctx context.Context) GetVmStateMaintenanceEventArrayOutput { - return o -} - -func (o GetVmStateMaintenanceEventArrayOutput) Index(i pulumi.IntInput) GetVmStateMaintenanceEventOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmStateMaintenanceEvent { - return vs[0].([]GetVmStateMaintenanceEvent)[vs[1].(int)] - }).(GetVmStateMaintenanceEventOutput) -} - -type GetVmStatesFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetVmStatesFilterInput is an input type that accepts GetVmStatesFilterArgs and GetVmStatesFilterOutput values. -// You can construct a concrete instance of `GetVmStatesFilterInput` via: -// -// GetVmStatesFilterArgs{...} -type GetVmStatesFilterInput interface { - pulumi.Input - - ToGetVmStatesFilterOutput() GetVmStatesFilterOutput - ToGetVmStatesFilterOutputWithContext(context.Context) GetVmStatesFilterOutput -} - -type GetVmStatesFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetVmStatesFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmStatesFilter)(nil)).Elem() -} - -func (i GetVmStatesFilterArgs) ToGetVmStatesFilterOutput() GetVmStatesFilterOutput { - return i.ToGetVmStatesFilterOutputWithContext(context.Background()) -} - -func (i GetVmStatesFilterArgs) ToGetVmStatesFilterOutputWithContext(ctx context.Context) GetVmStatesFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmStatesFilterOutput) -} - -// GetVmStatesFilterArrayInput is an input type that accepts GetVmStatesFilterArray and GetVmStatesFilterArrayOutput values. -// You can construct a concrete instance of `GetVmStatesFilterArrayInput` via: -// -// GetVmStatesFilterArray{ GetVmStatesFilterArgs{...} } -type GetVmStatesFilterArrayInput interface { - pulumi.Input - - ToGetVmStatesFilterArrayOutput() GetVmStatesFilterArrayOutput - ToGetVmStatesFilterArrayOutputWithContext(context.Context) GetVmStatesFilterArrayOutput -} - -type GetVmStatesFilterArray []GetVmStatesFilterInput - -func (GetVmStatesFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmStatesFilter)(nil)).Elem() -} - -func (i GetVmStatesFilterArray) ToGetVmStatesFilterArrayOutput() GetVmStatesFilterArrayOutput { - return i.ToGetVmStatesFilterArrayOutputWithContext(context.Background()) -} - -func (i GetVmStatesFilterArray) ToGetVmStatesFilterArrayOutputWithContext(ctx context.Context) GetVmStatesFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmStatesFilterArrayOutput) -} - -type GetVmStatesFilterOutput struct{ *pulumi.OutputState } - -func (GetVmStatesFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmStatesFilter)(nil)).Elem() -} - -func (o GetVmStatesFilterOutput) ToGetVmStatesFilterOutput() GetVmStatesFilterOutput { - return o -} - -func (o GetVmStatesFilterOutput) ToGetVmStatesFilterOutputWithContext(ctx context.Context) GetVmStatesFilterOutput { - return o -} - -func (o GetVmStatesFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetVmStatesFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetVmStatesFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetVmStatesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetVmStatesFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetVmStatesFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmStatesFilter)(nil)).Elem() -} - -func (o GetVmStatesFilterArrayOutput) ToGetVmStatesFilterArrayOutput() GetVmStatesFilterArrayOutput { - return o -} - -func (o GetVmStatesFilterArrayOutput) ToGetVmStatesFilterArrayOutputWithContext(ctx context.Context) GetVmStatesFilterArrayOutput { - return o -} - -func (o GetVmStatesFilterArrayOutput) Index(i pulumi.IntInput) GetVmStatesFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmStatesFilter { - return vs[0].([]GetVmStatesFilter)[vs[1].(int)] - }).(GetVmStatesFilterOutput) -} - -type GetVmStatesVmState struct { - // If true, includes the status of all VMs. By default or if set to false, only includes the status of running VMs. - AllVms *bool `pulumi:"allVms"` - // One or more scheduled events associated with the VM. - MaintenanceEvents []GetVmStatesVmStateMaintenanceEvent `pulumi:"maintenanceEvents"` - // The name of the Subregion of the VM. - SubregionName string `pulumi:"subregionName"` - // The ID of the VM. - VmId *string `pulumi:"vmId"` - // The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - VmState string `pulumi:"vmState"` -} - -// GetVmStatesVmStateInput is an input type that accepts GetVmStatesVmStateArgs and GetVmStatesVmStateOutput values. -// You can construct a concrete instance of `GetVmStatesVmStateInput` via: -// -// GetVmStatesVmStateArgs{...} -type GetVmStatesVmStateInput interface { - pulumi.Input - - ToGetVmStatesVmStateOutput() GetVmStatesVmStateOutput - ToGetVmStatesVmStateOutputWithContext(context.Context) GetVmStatesVmStateOutput -} - -type GetVmStatesVmStateArgs struct { - // If true, includes the status of all VMs. By default or if set to false, only includes the status of running VMs. - AllVms pulumi.BoolPtrInput `pulumi:"allVms"` - // One or more scheduled events associated with the VM. - MaintenanceEvents GetVmStatesVmStateMaintenanceEventArrayInput `pulumi:"maintenanceEvents"` - // The name of the Subregion of the VM. - SubregionName pulumi.StringInput `pulumi:"subregionName"` - // The ID of the VM. - VmId pulumi.StringPtrInput `pulumi:"vmId"` - // The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - VmState pulumi.StringInput `pulumi:"vmState"` -} - -func (GetVmStatesVmStateArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmStatesVmState)(nil)).Elem() -} - -func (i GetVmStatesVmStateArgs) ToGetVmStatesVmStateOutput() GetVmStatesVmStateOutput { - return i.ToGetVmStatesVmStateOutputWithContext(context.Background()) -} - -func (i GetVmStatesVmStateArgs) ToGetVmStatesVmStateOutputWithContext(ctx context.Context) GetVmStatesVmStateOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmStatesVmStateOutput) -} - -// GetVmStatesVmStateArrayInput is an input type that accepts GetVmStatesVmStateArray and GetVmStatesVmStateArrayOutput values. -// You can construct a concrete instance of `GetVmStatesVmStateArrayInput` via: -// -// GetVmStatesVmStateArray{ GetVmStatesVmStateArgs{...} } -type GetVmStatesVmStateArrayInput interface { - pulumi.Input - - ToGetVmStatesVmStateArrayOutput() GetVmStatesVmStateArrayOutput - ToGetVmStatesVmStateArrayOutputWithContext(context.Context) GetVmStatesVmStateArrayOutput -} - -type GetVmStatesVmStateArray []GetVmStatesVmStateInput - -func (GetVmStatesVmStateArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmStatesVmState)(nil)).Elem() -} - -func (i GetVmStatesVmStateArray) ToGetVmStatesVmStateArrayOutput() GetVmStatesVmStateArrayOutput { - return i.ToGetVmStatesVmStateArrayOutputWithContext(context.Background()) -} - -func (i GetVmStatesVmStateArray) ToGetVmStatesVmStateArrayOutputWithContext(ctx context.Context) GetVmStatesVmStateArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmStatesVmStateArrayOutput) -} - -type GetVmStatesVmStateOutput struct{ *pulumi.OutputState } - -func (GetVmStatesVmStateOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmStatesVmState)(nil)).Elem() -} - -func (o GetVmStatesVmStateOutput) ToGetVmStatesVmStateOutput() GetVmStatesVmStateOutput { - return o -} - -func (o GetVmStatesVmStateOutput) ToGetVmStatesVmStateOutputWithContext(ctx context.Context) GetVmStatesVmStateOutput { - return o -} - -// If true, includes the status of all VMs. By default or if set to false, only includes the status of running VMs. -func (o GetVmStatesVmStateOutput) AllVms() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetVmStatesVmState) *bool { return v.AllVms }).(pulumi.BoolPtrOutput) -} - -// One or more scheduled events associated with the VM. -func (o GetVmStatesVmStateOutput) MaintenanceEvents() GetVmStatesVmStateMaintenanceEventArrayOutput { - return o.ApplyT(func(v GetVmStatesVmState) []GetVmStatesVmStateMaintenanceEvent { return v.MaintenanceEvents }).(GetVmStatesVmStateMaintenanceEventArrayOutput) -} - -// The name of the Subregion of the VM. -func (o GetVmStatesVmStateOutput) SubregionName() pulumi.StringOutput { - return o.ApplyT(func(v GetVmStatesVmState) string { return v.SubregionName }).(pulumi.StringOutput) -} - -// The ID of the VM. -func (o GetVmStatesVmStateOutput) VmId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetVmStatesVmState) *string { return v.VmId }).(pulumi.StringPtrOutput) -} - -// The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). -func (o GetVmStatesVmStateOutput) VmState() pulumi.StringOutput { - return o.ApplyT(func(v GetVmStatesVmState) string { return v.VmState }).(pulumi.StringOutput) -} - -type GetVmStatesVmStateArrayOutput struct{ *pulumi.OutputState } - -func (GetVmStatesVmStateArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmStatesVmState)(nil)).Elem() -} - -func (o GetVmStatesVmStateArrayOutput) ToGetVmStatesVmStateArrayOutput() GetVmStatesVmStateArrayOutput { - return o -} - -func (o GetVmStatesVmStateArrayOutput) ToGetVmStatesVmStateArrayOutputWithContext(ctx context.Context) GetVmStatesVmStateArrayOutput { - return o -} - -func (o GetVmStatesVmStateArrayOutput) Index(i pulumi.IntInput) GetVmStatesVmStateOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmStatesVmState { - return vs[0].([]GetVmStatesVmState)[vs[1].(int)] - }).(GetVmStatesVmStateOutput) -} - -type GetVmStatesVmStateMaintenanceEvent struct { - // The code of the event (`system-reboot` \| `system-maintenance`). - Code string `pulumi:"code"` - // The description of the event. - Description string `pulumi:"description"` - // The latest scheduled end time for the event. - NotAfter string `pulumi:"notAfter"` - // The earliest scheduled start time for the event. - NotBefore string `pulumi:"notBefore"` -} - -// GetVmStatesVmStateMaintenanceEventInput is an input type that accepts GetVmStatesVmStateMaintenanceEventArgs and GetVmStatesVmStateMaintenanceEventOutput values. -// You can construct a concrete instance of `GetVmStatesVmStateMaintenanceEventInput` via: -// -// GetVmStatesVmStateMaintenanceEventArgs{...} -type GetVmStatesVmStateMaintenanceEventInput interface { - pulumi.Input - - ToGetVmStatesVmStateMaintenanceEventOutput() GetVmStatesVmStateMaintenanceEventOutput - ToGetVmStatesVmStateMaintenanceEventOutputWithContext(context.Context) GetVmStatesVmStateMaintenanceEventOutput -} - -type GetVmStatesVmStateMaintenanceEventArgs struct { - // The code of the event (`system-reboot` \| `system-maintenance`). - Code pulumi.StringInput `pulumi:"code"` - // The description of the event. - Description pulumi.StringInput `pulumi:"description"` - // The latest scheduled end time for the event. - NotAfter pulumi.StringInput `pulumi:"notAfter"` - // The earliest scheduled start time for the event. - NotBefore pulumi.StringInput `pulumi:"notBefore"` -} - -func (GetVmStatesVmStateMaintenanceEventArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmStatesVmStateMaintenanceEvent)(nil)).Elem() -} - -func (i GetVmStatesVmStateMaintenanceEventArgs) ToGetVmStatesVmStateMaintenanceEventOutput() GetVmStatesVmStateMaintenanceEventOutput { - return i.ToGetVmStatesVmStateMaintenanceEventOutputWithContext(context.Background()) -} - -func (i GetVmStatesVmStateMaintenanceEventArgs) ToGetVmStatesVmStateMaintenanceEventOutputWithContext(ctx context.Context) GetVmStatesVmStateMaintenanceEventOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmStatesVmStateMaintenanceEventOutput) -} - -// GetVmStatesVmStateMaintenanceEventArrayInput is an input type that accepts GetVmStatesVmStateMaintenanceEventArray and GetVmStatesVmStateMaintenanceEventArrayOutput values. -// You can construct a concrete instance of `GetVmStatesVmStateMaintenanceEventArrayInput` via: -// -// GetVmStatesVmStateMaintenanceEventArray{ GetVmStatesVmStateMaintenanceEventArgs{...} } -type GetVmStatesVmStateMaintenanceEventArrayInput interface { - pulumi.Input - - ToGetVmStatesVmStateMaintenanceEventArrayOutput() GetVmStatesVmStateMaintenanceEventArrayOutput - ToGetVmStatesVmStateMaintenanceEventArrayOutputWithContext(context.Context) GetVmStatesVmStateMaintenanceEventArrayOutput -} - -type GetVmStatesVmStateMaintenanceEventArray []GetVmStatesVmStateMaintenanceEventInput - -func (GetVmStatesVmStateMaintenanceEventArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmStatesVmStateMaintenanceEvent)(nil)).Elem() -} - -func (i GetVmStatesVmStateMaintenanceEventArray) ToGetVmStatesVmStateMaintenanceEventArrayOutput() GetVmStatesVmStateMaintenanceEventArrayOutput { - return i.ToGetVmStatesVmStateMaintenanceEventArrayOutputWithContext(context.Background()) -} - -func (i GetVmStatesVmStateMaintenanceEventArray) ToGetVmStatesVmStateMaintenanceEventArrayOutputWithContext(ctx context.Context) GetVmStatesVmStateMaintenanceEventArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmStatesVmStateMaintenanceEventArrayOutput) -} - -type GetVmStatesVmStateMaintenanceEventOutput struct{ *pulumi.OutputState } - -func (GetVmStatesVmStateMaintenanceEventOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmStatesVmStateMaintenanceEvent)(nil)).Elem() -} - -func (o GetVmStatesVmStateMaintenanceEventOutput) ToGetVmStatesVmStateMaintenanceEventOutput() GetVmStatesVmStateMaintenanceEventOutput { - return o -} - -func (o GetVmStatesVmStateMaintenanceEventOutput) ToGetVmStatesVmStateMaintenanceEventOutputWithContext(ctx context.Context) GetVmStatesVmStateMaintenanceEventOutput { - return o -} - -// The code of the event (`system-reboot` \| `system-maintenance`). -func (o GetVmStatesVmStateMaintenanceEventOutput) Code() pulumi.StringOutput { - return o.ApplyT(func(v GetVmStatesVmStateMaintenanceEvent) string { return v.Code }).(pulumi.StringOutput) -} - -// The description of the event. -func (o GetVmStatesVmStateMaintenanceEventOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetVmStatesVmStateMaintenanceEvent) string { return v.Description }).(pulumi.StringOutput) -} - -// The latest scheduled end time for the event. -func (o GetVmStatesVmStateMaintenanceEventOutput) NotAfter() pulumi.StringOutput { - return o.ApplyT(func(v GetVmStatesVmStateMaintenanceEvent) string { return v.NotAfter }).(pulumi.StringOutput) -} - -// The earliest scheduled start time for the event. -func (o GetVmStatesVmStateMaintenanceEventOutput) NotBefore() pulumi.StringOutput { - return o.ApplyT(func(v GetVmStatesVmStateMaintenanceEvent) string { return v.NotBefore }).(pulumi.StringOutput) -} - -type GetVmStatesVmStateMaintenanceEventArrayOutput struct{ *pulumi.OutputState } - -func (GetVmStatesVmStateMaintenanceEventArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmStatesVmStateMaintenanceEvent)(nil)).Elem() -} - -func (o GetVmStatesVmStateMaintenanceEventArrayOutput) ToGetVmStatesVmStateMaintenanceEventArrayOutput() GetVmStatesVmStateMaintenanceEventArrayOutput { - return o -} - -func (o GetVmStatesVmStateMaintenanceEventArrayOutput) ToGetVmStatesVmStateMaintenanceEventArrayOutputWithContext(ctx context.Context) GetVmStatesVmStateMaintenanceEventArrayOutput { - return o -} - -func (o GetVmStatesVmStateMaintenanceEventArrayOutput) Index(i pulumi.IntInput) GetVmStatesVmStateMaintenanceEventOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmStatesVmStateMaintenanceEvent { - return vs[0].([]GetVmStatesVmStateMaintenanceEvent)[vs[1].(int)] - }).(GetVmStatesVmStateMaintenanceEventOutput) -} - -type GetVmTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetVmTagInput is an input type that accepts GetVmTagArgs and GetVmTagOutput values. -// You can construct a concrete instance of `GetVmTagInput` via: -// -// GetVmTagArgs{...} -type GetVmTagInput interface { - pulumi.Input - - ToGetVmTagOutput() GetVmTagOutput - ToGetVmTagOutputWithContext(context.Context) GetVmTagOutput -} - -type GetVmTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetVmTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmTag)(nil)).Elem() -} - -func (i GetVmTagArgs) ToGetVmTagOutput() GetVmTagOutput { - return i.ToGetVmTagOutputWithContext(context.Background()) -} - -func (i GetVmTagArgs) ToGetVmTagOutputWithContext(ctx context.Context) GetVmTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmTagOutput) -} - -// GetVmTagArrayInput is an input type that accepts GetVmTagArray and GetVmTagArrayOutput values. -// You can construct a concrete instance of `GetVmTagArrayInput` via: -// -// GetVmTagArray{ GetVmTagArgs{...} } -type GetVmTagArrayInput interface { - pulumi.Input - - ToGetVmTagArrayOutput() GetVmTagArrayOutput - ToGetVmTagArrayOutputWithContext(context.Context) GetVmTagArrayOutput -} - -type GetVmTagArray []GetVmTagInput - -func (GetVmTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmTag)(nil)).Elem() -} - -func (i GetVmTagArray) ToGetVmTagArrayOutput() GetVmTagArrayOutput { - return i.ToGetVmTagArrayOutputWithContext(context.Background()) -} - -func (i GetVmTagArray) ToGetVmTagArrayOutputWithContext(ctx context.Context) GetVmTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmTagArrayOutput) -} - -type GetVmTagOutput struct{ *pulumi.OutputState } - -func (GetVmTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmTag)(nil)).Elem() -} - -func (o GetVmTagOutput) ToGetVmTagOutput() GetVmTagOutput { - return o -} - -func (o GetVmTagOutput) ToGetVmTagOutputWithContext(ctx context.Context) GetVmTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetVmTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetVmTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetVmTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetVmTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetVmTagArrayOutput struct{ *pulumi.OutputState } - -func (GetVmTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmTag)(nil)).Elem() -} - -func (o GetVmTagArrayOutput) ToGetVmTagArrayOutput() GetVmTagArrayOutput { - return o -} - -func (o GetVmTagArrayOutput) ToGetVmTagArrayOutputWithContext(ctx context.Context) GetVmTagArrayOutput { - return o -} - -func (o GetVmTagArrayOutput) Index(i pulumi.IntInput) GetVmTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmTag { - return vs[0].([]GetVmTag)[vs[1].(int)] - }).(GetVmTagOutput) -} - -type GetVmTypesFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetVmTypesFilterInput is an input type that accepts GetVmTypesFilterArgs and GetVmTypesFilterOutput values. -// You can construct a concrete instance of `GetVmTypesFilterInput` via: -// -// GetVmTypesFilterArgs{...} -type GetVmTypesFilterInput interface { - pulumi.Input - - ToGetVmTypesFilterOutput() GetVmTypesFilterOutput - ToGetVmTypesFilterOutputWithContext(context.Context) GetVmTypesFilterOutput -} - -type GetVmTypesFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetVmTypesFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmTypesFilter)(nil)).Elem() -} - -func (i GetVmTypesFilterArgs) ToGetVmTypesFilterOutput() GetVmTypesFilterOutput { - return i.ToGetVmTypesFilterOutputWithContext(context.Background()) -} - -func (i GetVmTypesFilterArgs) ToGetVmTypesFilterOutputWithContext(ctx context.Context) GetVmTypesFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmTypesFilterOutput) -} - -// GetVmTypesFilterArrayInput is an input type that accepts GetVmTypesFilterArray and GetVmTypesFilterArrayOutput values. -// You can construct a concrete instance of `GetVmTypesFilterArrayInput` via: -// -// GetVmTypesFilterArray{ GetVmTypesFilterArgs{...} } -type GetVmTypesFilterArrayInput interface { - pulumi.Input - - ToGetVmTypesFilterArrayOutput() GetVmTypesFilterArrayOutput - ToGetVmTypesFilterArrayOutputWithContext(context.Context) GetVmTypesFilterArrayOutput -} - -type GetVmTypesFilterArray []GetVmTypesFilterInput - -func (GetVmTypesFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmTypesFilter)(nil)).Elem() -} - -func (i GetVmTypesFilterArray) ToGetVmTypesFilterArrayOutput() GetVmTypesFilterArrayOutput { - return i.ToGetVmTypesFilterArrayOutputWithContext(context.Background()) -} - -func (i GetVmTypesFilterArray) ToGetVmTypesFilterArrayOutputWithContext(ctx context.Context) GetVmTypesFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmTypesFilterArrayOutput) -} - -type GetVmTypesFilterOutput struct{ *pulumi.OutputState } - -func (GetVmTypesFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmTypesFilter)(nil)).Elem() -} - -func (o GetVmTypesFilterOutput) ToGetVmTypesFilterOutput() GetVmTypesFilterOutput { - return o -} - -func (o GetVmTypesFilterOutput) ToGetVmTypesFilterOutputWithContext(ctx context.Context) GetVmTypesFilterOutput { - return o -} - -func (o GetVmTypesFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetVmTypesFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetVmTypesFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetVmTypesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetVmTypesFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetVmTypesFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmTypesFilter)(nil)).Elem() -} - -func (o GetVmTypesFilterArrayOutput) ToGetVmTypesFilterArrayOutput() GetVmTypesFilterArrayOutput { - return o -} - -func (o GetVmTypesFilterArrayOutput) ToGetVmTypesFilterArrayOutputWithContext(ctx context.Context) GetVmTypesFilterArrayOutput { - return o -} - -func (o GetVmTypesFilterArrayOutput) Index(i pulumi.IntInput) GetVmTypesFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmTypesFilter { - return vs[0].([]GetVmTypesFilter)[vs[1].(int)] - }).(GetVmTypesFilterOutput) -} - -type GetVmTypesVmType struct { - // This parameter is not available. It is present in our API for the sake of historical compatibility with AWS. - BsuOptimized bool `pulumi:"bsuOptimized"` - // The maximum number of private IPs per network interface card (NIC). - MaxPrivateIps int `pulumi:"maxPrivateIps"` - // The amount of memory, in gibibytes. - MemorySize int `pulumi:"memorySize"` - // The number of vCores. - VcoreCount int `pulumi:"vcoreCount"` - // The name of the VM type. - VmTypeName string `pulumi:"vmTypeName"` - // The maximum number of ephemeral storage disks. - VolumeCount int `pulumi:"volumeCount"` - // The size of one ephemeral storage disk, in gibibytes (GiB). - VolumeSize int `pulumi:"volumeSize"` -} - -// GetVmTypesVmTypeInput is an input type that accepts GetVmTypesVmTypeArgs and GetVmTypesVmTypeOutput values. -// You can construct a concrete instance of `GetVmTypesVmTypeInput` via: -// -// GetVmTypesVmTypeArgs{...} -type GetVmTypesVmTypeInput interface { - pulumi.Input - - ToGetVmTypesVmTypeOutput() GetVmTypesVmTypeOutput - ToGetVmTypesVmTypeOutputWithContext(context.Context) GetVmTypesVmTypeOutput -} - -type GetVmTypesVmTypeArgs struct { - // This parameter is not available. It is present in our API for the sake of historical compatibility with AWS. - BsuOptimized pulumi.BoolInput `pulumi:"bsuOptimized"` - // The maximum number of private IPs per network interface card (NIC). - MaxPrivateIps pulumi.IntInput `pulumi:"maxPrivateIps"` - // The amount of memory, in gibibytes. - MemorySize pulumi.IntInput `pulumi:"memorySize"` - // The number of vCores. - VcoreCount pulumi.IntInput `pulumi:"vcoreCount"` - // The name of the VM type. - VmTypeName pulumi.StringInput `pulumi:"vmTypeName"` - // The maximum number of ephemeral storage disks. - VolumeCount pulumi.IntInput `pulumi:"volumeCount"` - // The size of one ephemeral storage disk, in gibibytes (GiB). - VolumeSize pulumi.IntInput `pulumi:"volumeSize"` -} - -func (GetVmTypesVmTypeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmTypesVmType)(nil)).Elem() -} - -func (i GetVmTypesVmTypeArgs) ToGetVmTypesVmTypeOutput() GetVmTypesVmTypeOutput { - return i.ToGetVmTypesVmTypeOutputWithContext(context.Background()) -} - -func (i GetVmTypesVmTypeArgs) ToGetVmTypesVmTypeOutputWithContext(ctx context.Context) GetVmTypesVmTypeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmTypesVmTypeOutput) -} - -// GetVmTypesVmTypeArrayInput is an input type that accepts GetVmTypesVmTypeArray and GetVmTypesVmTypeArrayOutput values. -// You can construct a concrete instance of `GetVmTypesVmTypeArrayInput` via: -// -// GetVmTypesVmTypeArray{ GetVmTypesVmTypeArgs{...} } -type GetVmTypesVmTypeArrayInput interface { - pulumi.Input - - ToGetVmTypesVmTypeArrayOutput() GetVmTypesVmTypeArrayOutput - ToGetVmTypesVmTypeArrayOutputWithContext(context.Context) GetVmTypesVmTypeArrayOutput -} - -type GetVmTypesVmTypeArray []GetVmTypesVmTypeInput - -func (GetVmTypesVmTypeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmTypesVmType)(nil)).Elem() -} - -func (i GetVmTypesVmTypeArray) ToGetVmTypesVmTypeArrayOutput() GetVmTypesVmTypeArrayOutput { - return i.ToGetVmTypesVmTypeArrayOutputWithContext(context.Background()) -} - -func (i GetVmTypesVmTypeArray) ToGetVmTypesVmTypeArrayOutputWithContext(ctx context.Context) GetVmTypesVmTypeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmTypesVmTypeArrayOutput) -} - -type GetVmTypesVmTypeOutput struct{ *pulumi.OutputState } - -func (GetVmTypesVmTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmTypesVmType)(nil)).Elem() -} - -func (o GetVmTypesVmTypeOutput) ToGetVmTypesVmTypeOutput() GetVmTypesVmTypeOutput { - return o -} - -func (o GetVmTypesVmTypeOutput) ToGetVmTypesVmTypeOutputWithContext(ctx context.Context) GetVmTypesVmTypeOutput { - return o -} - -// This parameter is not available. It is present in our API for the sake of historical compatibility with AWS. -func (o GetVmTypesVmTypeOutput) BsuOptimized() pulumi.BoolOutput { - return o.ApplyT(func(v GetVmTypesVmType) bool { return v.BsuOptimized }).(pulumi.BoolOutput) -} - -// The maximum number of private IPs per network interface card (NIC). -func (o GetVmTypesVmTypeOutput) MaxPrivateIps() pulumi.IntOutput { - return o.ApplyT(func(v GetVmTypesVmType) int { return v.MaxPrivateIps }).(pulumi.IntOutput) -} - -// The amount of memory, in gibibytes. -func (o GetVmTypesVmTypeOutput) MemorySize() pulumi.IntOutput { - return o.ApplyT(func(v GetVmTypesVmType) int { return v.MemorySize }).(pulumi.IntOutput) -} - -// The number of vCores. -func (o GetVmTypesVmTypeOutput) VcoreCount() pulumi.IntOutput { - return o.ApplyT(func(v GetVmTypesVmType) int { return v.VcoreCount }).(pulumi.IntOutput) -} - -// The name of the VM type. -func (o GetVmTypesVmTypeOutput) VmTypeName() pulumi.StringOutput { - return o.ApplyT(func(v GetVmTypesVmType) string { return v.VmTypeName }).(pulumi.StringOutput) -} - -// The maximum number of ephemeral storage disks. -func (o GetVmTypesVmTypeOutput) VolumeCount() pulumi.IntOutput { - return o.ApplyT(func(v GetVmTypesVmType) int { return v.VolumeCount }).(pulumi.IntOutput) -} - -// The size of one ephemeral storage disk, in gibibytes (GiB). -func (o GetVmTypesVmTypeOutput) VolumeSize() pulumi.IntOutput { - return o.ApplyT(func(v GetVmTypesVmType) int { return v.VolumeSize }).(pulumi.IntOutput) -} - -type GetVmTypesVmTypeArrayOutput struct{ *pulumi.OutputState } - -func (GetVmTypesVmTypeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmTypesVmType)(nil)).Elem() -} - -func (o GetVmTypesVmTypeArrayOutput) ToGetVmTypesVmTypeArrayOutput() GetVmTypesVmTypeArrayOutput { - return o -} - -func (o GetVmTypesVmTypeArrayOutput) ToGetVmTypesVmTypeArrayOutputWithContext(ctx context.Context) GetVmTypesVmTypeArrayOutput { - return o -} - -func (o GetVmTypesVmTypeArrayOutput) Index(i pulumi.IntInput) GetVmTypesVmTypeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmTypesVmType { - return vs[0].([]GetVmTypesVmType)[vs[1].(int)] - }).(GetVmTypesVmTypeOutput) -} - -type GetVmsFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetVmsFilterInput is an input type that accepts GetVmsFilterArgs and GetVmsFilterOutput values. -// You can construct a concrete instance of `GetVmsFilterInput` via: -// -// GetVmsFilterArgs{...} -type GetVmsFilterInput interface { - pulumi.Input - - ToGetVmsFilterOutput() GetVmsFilterOutput - ToGetVmsFilterOutputWithContext(context.Context) GetVmsFilterOutput -} - -type GetVmsFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetVmsFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsFilter)(nil)).Elem() -} - -func (i GetVmsFilterArgs) ToGetVmsFilterOutput() GetVmsFilterOutput { - return i.ToGetVmsFilterOutputWithContext(context.Background()) -} - -func (i GetVmsFilterArgs) ToGetVmsFilterOutputWithContext(ctx context.Context) GetVmsFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsFilterOutput) -} - -// GetVmsFilterArrayInput is an input type that accepts GetVmsFilterArray and GetVmsFilterArrayOutput values. -// You can construct a concrete instance of `GetVmsFilterArrayInput` via: -// -// GetVmsFilterArray{ GetVmsFilterArgs{...} } -type GetVmsFilterArrayInput interface { - pulumi.Input - - ToGetVmsFilterArrayOutput() GetVmsFilterArrayOutput - ToGetVmsFilterArrayOutputWithContext(context.Context) GetVmsFilterArrayOutput -} - -type GetVmsFilterArray []GetVmsFilterInput - -func (GetVmsFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsFilter)(nil)).Elem() -} - -func (i GetVmsFilterArray) ToGetVmsFilterArrayOutput() GetVmsFilterArrayOutput { - return i.ToGetVmsFilterArrayOutputWithContext(context.Background()) -} - -func (i GetVmsFilterArray) ToGetVmsFilterArrayOutputWithContext(ctx context.Context) GetVmsFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsFilterArrayOutput) -} - -type GetVmsFilterOutput struct{ *pulumi.OutputState } - -func (GetVmsFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsFilter)(nil)).Elem() -} - -func (o GetVmsFilterOutput) ToGetVmsFilterOutput() GetVmsFilterOutput { - return o -} - -func (o GetVmsFilterOutput) ToGetVmsFilterOutputWithContext(ctx context.Context) GetVmsFilterOutput { - return o -} - -func (o GetVmsFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetVmsFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetVmsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetVmsFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetVmsFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsFilter)(nil)).Elem() -} - -func (o GetVmsFilterArrayOutput) ToGetVmsFilterArrayOutput() GetVmsFilterArrayOutput { - return o -} - -func (o GetVmsFilterArrayOutput) ToGetVmsFilterArrayOutputWithContext(ctx context.Context) GetVmsFilterArrayOutput { - return o -} - -func (o GetVmsFilterArrayOutput) Index(i pulumi.IntInput) GetVmsFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmsFilter { - return vs[0].([]GetVmsFilter)[vs[1].(int)] - }).(GetVmsFilterOutput) -} - -type GetVmsVm struct { - // The architecture of the VM (`i386` \| `x8664`). - Architecture string `pulumi:"architecture"` - // The block device mapping of the VM. - BlockDeviceMappingsCreateds []GetVmsVmBlockDeviceMappingsCreated `pulumi:"blockDeviceMappingsCreateds"` - BsuOptimized bool `pulumi:"bsuOptimized"` - // The idempotency token provided when launching the VM. - ClientToken string `pulumi:"clientToken"` - // The date and time of creation of the VM. - CreationDate string `pulumi:"creationDate"` - // If true, you cannot delete the VM unless you change this parameter back to false. - DeletionProtection bool `pulumi:"deletionProtection"` - // The hypervisor type of the VMs (`ovm` \| `xen`). - Hypervisor string `pulumi:"hypervisor"` - // The ID of the OMI used to create the VM. - ImageId string `pulumi:"imageId"` - // (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - IsSourceDestChecked bool `pulumi:"isSourceDestChecked"` - // The name of the keypair used when launching the VM. - KeypairName string `pulumi:"keypairName"` - // The number for the VM when launching a group of several VMs (for example, `0`, `1`, `2`, and so on). - LaunchNumber int `pulumi:"launchNumber"` - // If true, nested virtualization is enabled. If false, it is disabled. - NestedVirtualization bool `pulumi:"nestedVirtualization"` - // The ID of the Net for the NIC. - NetId string `pulumi:"netId"` - // (Net only) The network interface cards (NICs) the VMs are attached to. - Nics []GetVmsVmNic `pulumi:"nics"` - // Indicates the operating system (OS) of the VM. - OsFamily string `pulumi:"osFamily"` - // The performance of the VM (`medium` \| `high` \| `highest`). - Performance string `pulumi:"performance"` - PlacementSubregionName string `pulumi:"placementSubregionName"` - PlacementTenancy string `pulumi:"placementTenancy"` - PrimaryNics []GetVmsVmPrimaryNic `pulumi:"primaryNics"` - // The name of the private DNS. - PrivateDnsName string `pulumi:"privateDnsName"` - // The primary private IP of the VM. - PrivateIp string `pulumi:"privateIp"` - // The private IP or IPs of the NIC. - PrivateIps []string `pulumi:"privateIps"` - // The product codes associated with the OMI used to create the VM. - ProductCodes []string `pulumi:"productCodes"` - // The name of the public DNS. - PublicDnsName string `pulumi:"publicDnsName"` - // The public IP of the VM. - PublicIp string `pulumi:"publicIp"` - RequestId string `pulumi:"requestId"` - // The reservation ID of the VM. - ReservationId string `pulumi:"reservationId"` - // The name of the root device for the VM (for example, `/dev/vda1`). - RootDeviceName string `pulumi:"rootDeviceName"` - // The type of root device used by the VM (always `bsu`). - RootDeviceType string `pulumi:"rootDeviceType"` - SecurityGroupIds []string `pulumi:"securityGroupIds"` - SecurityGroupNames []string `pulumi:"securityGroupNames"` - // One or more security groups associated with the VM. - SecurityGroups []GetVmsVmSecurityGroup `pulumi:"securityGroups"` - // The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - State string `pulumi:"state"` - // The reason explaining the current state of the VM. - StateReason string `pulumi:"stateReason"` - // The ID of the Subnet for the VM. - SubnetId string `pulumi:"subnetId"` - // The key/value combinations of the tags associated with the VMs, in the following format: `TAGKEY=TAGVALUE`. - Tags []GetVmsVmTag `pulumi:"tags"` - // The Base64-encoded MIME user data. - UserData string `pulumi:"userData"` - // The ID of the VM. - VmId string `pulumi:"vmId"` - // The VM behavior when you stop it. If set to `stop`, the VM stops. If set to `restart`, the VM stops then automatically restarts. If set to `terminate`, the VM stops and is deleted. - VmInitiatedShutdownBehavior string `pulumi:"vmInitiatedShutdownBehavior"` - // The type of VM. For more information, see [Instance Types](https://docs.outscale.com/en/userguide/Instance-Types.html). - VmType string `pulumi:"vmType"` -} - -// GetVmsVmInput is an input type that accepts GetVmsVmArgs and GetVmsVmOutput values. -// You can construct a concrete instance of `GetVmsVmInput` via: -// -// GetVmsVmArgs{...} -type GetVmsVmInput interface { - pulumi.Input - - ToGetVmsVmOutput() GetVmsVmOutput - ToGetVmsVmOutputWithContext(context.Context) GetVmsVmOutput -} - -type GetVmsVmArgs struct { - // The architecture of the VM (`i386` \| `x8664`). - Architecture pulumi.StringInput `pulumi:"architecture"` - // The block device mapping of the VM. - BlockDeviceMappingsCreateds GetVmsVmBlockDeviceMappingsCreatedArrayInput `pulumi:"blockDeviceMappingsCreateds"` - BsuOptimized pulumi.BoolInput `pulumi:"bsuOptimized"` - // The idempotency token provided when launching the VM. - ClientToken pulumi.StringInput `pulumi:"clientToken"` - // The date and time of creation of the VM. - CreationDate pulumi.StringInput `pulumi:"creationDate"` - // If true, you cannot delete the VM unless you change this parameter back to false. - DeletionProtection pulumi.BoolInput `pulumi:"deletionProtection"` - // The hypervisor type of the VMs (`ovm` \| `xen`). - Hypervisor pulumi.StringInput `pulumi:"hypervisor"` - // The ID of the OMI used to create the VM. - ImageId pulumi.StringInput `pulumi:"imageId"` - // (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - IsSourceDestChecked pulumi.BoolInput `pulumi:"isSourceDestChecked"` - // The name of the keypair used when launching the VM. - KeypairName pulumi.StringInput `pulumi:"keypairName"` - // The number for the VM when launching a group of several VMs (for example, `0`, `1`, `2`, and so on). - LaunchNumber pulumi.IntInput `pulumi:"launchNumber"` - // If true, nested virtualization is enabled. If false, it is disabled. - NestedVirtualization pulumi.BoolInput `pulumi:"nestedVirtualization"` - // The ID of the Net for the NIC. - NetId pulumi.StringInput `pulumi:"netId"` - // (Net only) The network interface cards (NICs) the VMs are attached to. - Nics GetVmsVmNicArrayInput `pulumi:"nics"` - // Indicates the operating system (OS) of the VM. - OsFamily pulumi.StringInput `pulumi:"osFamily"` - // The performance of the VM (`medium` \| `high` \| `highest`). - Performance pulumi.StringInput `pulumi:"performance"` - PlacementSubregionName pulumi.StringInput `pulumi:"placementSubregionName"` - PlacementTenancy pulumi.StringInput `pulumi:"placementTenancy"` - PrimaryNics GetVmsVmPrimaryNicArrayInput `pulumi:"primaryNics"` - // The name of the private DNS. - PrivateDnsName pulumi.StringInput `pulumi:"privateDnsName"` - // The primary private IP of the VM. - PrivateIp pulumi.StringInput `pulumi:"privateIp"` - // The private IP or IPs of the NIC. - PrivateIps pulumi.StringArrayInput `pulumi:"privateIps"` - // The product codes associated with the OMI used to create the VM. - ProductCodes pulumi.StringArrayInput `pulumi:"productCodes"` - // The name of the public DNS. - PublicDnsName pulumi.StringInput `pulumi:"publicDnsName"` - // The public IP of the VM. - PublicIp pulumi.StringInput `pulumi:"publicIp"` - RequestId pulumi.StringInput `pulumi:"requestId"` - // The reservation ID of the VM. - ReservationId pulumi.StringInput `pulumi:"reservationId"` - // The name of the root device for the VM (for example, `/dev/vda1`). - RootDeviceName pulumi.StringInput `pulumi:"rootDeviceName"` - // The type of root device used by the VM (always `bsu`). - RootDeviceType pulumi.StringInput `pulumi:"rootDeviceType"` - SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"` - SecurityGroupNames pulumi.StringArrayInput `pulumi:"securityGroupNames"` - // One or more security groups associated with the VM. - SecurityGroups GetVmsVmSecurityGroupArrayInput `pulumi:"securityGroups"` - // The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - State pulumi.StringInput `pulumi:"state"` - // The reason explaining the current state of the VM. - StateReason pulumi.StringInput `pulumi:"stateReason"` - // The ID of the Subnet for the VM. - SubnetId pulumi.StringInput `pulumi:"subnetId"` - // The key/value combinations of the tags associated with the VMs, in the following format: `TAGKEY=TAGVALUE`. - Tags GetVmsVmTagArrayInput `pulumi:"tags"` - // The Base64-encoded MIME user data. - UserData pulumi.StringInput `pulumi:"userData"` - // The ID of the VM. - VmId pulumi.StringInput `pulumi:"vmId"` - // The VM behavior when you stop it. If set to `stop`, the VM stops. If set to `restart`, the VM stops then automatically restarts. If set to `terminate`, the VM stops and is deleted. - VmInitiatedShutdownBehavior pulumi.StringInput `pulumi:"vmInitiatedShutdownBehavior"` - // The type of VM. For more information, see [Instance Types](https://docs.outscale.com/en/userguide/Instance-Types.html). - VmType pulumi.StringInput `pulumi:"vmType"` -} - -func (GetVmsVmArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsVm)(nil)).Elem() -} - -func (i GetVmsVmArgs) ToGetVmsVmOutput() GetVmsVmOutput { - return i.ToGetVmsVmOutputWithContext(context.Background()) -} - -func (i GetVmsVmArgs) ToGetVmsVmOutputWithContext(ctx context.Context) GetVmsVmOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsVmOutput) -} - -// GetVmsVmArrayInput is an input type that accepts GetVmsVmArray and GetVmsVmArrayOutput values. -// You can construct a concrete instance of `GetVmsVmArrayInput` via: -// -// GetVmsVmArray{ GetVmsVmArgs{...} } -type GetVmsVmArrayInput interface { - pulumi.Input - - ToGetVmsVmArrayOutput() GetVmsVmArrayOutput - ToGetVmsVmArrayOutputWithContext(context.Context) GetVmsVmArrayOutput -} - -type GetVmsVmArray []GetVmsVmInput - -func (GetVmsVmArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsVm)(nil)).Elem() -} - -func (i GetVmsVmArray) ToGetVmsVmArrayOutput() GetVmsVmArrayOutput { - return i.ToGetVmsVmArrayOutputWithContext(context.Background()) -} - -func (i GetVmsVmArray) ToGetVmsVmArrayOutputWithContext(ctx context.Context) GetVmsVmArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsVmArrayOutput) -} - -type GetVmsVmOutput struct{ *pulumi.OutputState } - -func (GetVmsVmOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsVm)(nil)).Elem() -} - -func (o GetVmsVmOutput) ToGetVmsVmOutput() GetVmsVmOutput { - return o -} - -func (o GetVmsVmOutput) ToGetVmsVmOutputWithContext(ctx context.Context) GetVmsVmOutput { - return o -} - -// The architecture of the VM (`i386` \| `x8664`). -func (o GetVmsVmOutput) Architecture() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVm) string { return v.Architecture }).(pulumi.StringOutput) -} - -// The block device mapping of the VM. -func (o GetVmsVmOutput) BlockDeviceMappingsCreateds() GetVmsVmBlockDeviceMappingsCreatedArrayOutput { - return o.ApplyT(func(v GetVmsVm) []GetVmsVmBlockDeviceMappingsCreated { return v.BlockDeviceMappingsCreateds }).(GetVmsVmBlockDeviceMappingsCreatedArrayOutput) -} - -func (o GetVmsVmOutput) BsuOptimized() pulumi.BoolOutput { - return o.ApplyT(func(v GetVmsVm) bool { return v.BsuOptimized }).(pulumi.BoolOutput) -} - -// The idempotency token provided when launching the VM. -func (o GetVmsVmOutput) ClientToken() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVm) string { return v.ClientToken }).(pulumi.StringOutput) -} - -// The date and time of creation of the VM. -func (o GetVmsVmOutput) CreationDate() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVm) string { return v.CreationDate }).(pulumi.StringOutput) -} - -// If true, you cannot delete the VM unless you change this parameter back to false. -func (o GetVmsVmOutput) DeletionProtection() pulumi.BoolOutput { - return o.ApplyT(func(v GetVmsVm) bool { return v.DeletionProtection }).(pulumi.BoolOutput) -} - -// The hypervisor type of the VMs (`ovm` \| `xen`). -func (o GetVmsVmOutput) Hypervisor() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVm) string { return v.Hypervisor }).(pulumi.StringOutput) -} - -// The ID of the OMI used to create the VM. -func (o GetVmsVmOutput) ImageId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVm) string { return v.ImageId }).(pulumi.StringOutput) -} - -// (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. -func (o GetVmsVmOutput) IsSourceDestChecked() pulumi.BoolOutput { - return o.ApplyT(func(v GetVmsVm) bool { return v.IsSourceDestChecked }).(pulumi.BoolOutput) -} - -// The name of the keypair used when launching the VM. -func (o GetVmsVmOutput) KeypairName() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVm) string { return v.KeypairName }).(pulumi.StringOutput) -} - -// The number for the VM when launching a group of several VMs (for example, `0`, `1`, `2`, and so on). -func (o GetVmsVmOutput) LaunchNumber() pulumi.IntOutput { - return o.ApplyT(func(v GetVmsVm) int { return v.LaunchNumber }).(pulumi.IntOutput) -} - -// If true, nested virtualization is enabled. If false, it is disabled. -func (o GetVmsVmOutput) NestedVirtualization() pulumi.BoolOutput { - return o.ApplyT(func(v GetVmsVm) bool { return v.NestedVirtualization }).(pulumi.BoolOutput) -} - -// The ID of the Net for the NIC. -func (o GetVmsVmOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVm) string { return v.NetId }).(pulumi.StringOutput) -} - -// (Net only) The network interface cards (NICs) the VMs are attached to. -func (o GetVmsVmOutput) Nics() GetVmsVmNicArrayOutput { - return o.ApplyT(func(v GetVmsVm) []GetVmsVmNic { return v.Nics }).(GetVmsVmNicArrayOutput) -} - -// Indicates the operating system (OS) of the VM. -func (o GetVmsVmOutput) OsFamily() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVm) string { return v.OsFamily }).(pulumi.StringOutput) -} - -// The performance of the VM (`medium` \| `high` \| `highest`). -func (o GetVmsVmOutput) Performance() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVm) string { return v.Performance }).(pulumi.StringOutput) -} - -func (o GetVmsVmOutput) PlacementSubregionName() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVm) string { return v.PlacementSubregionName }).(pulumi.StringOutput) -} - -func (o GetVmsVmOutput) PlacementTenancy() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVm) string { return v.PlacementTenancy }).(pulumi.StringOutput) -} - -func (o GetVmsVmOutput) PrimaryNics() GetVmsVmPrimaryNicArrayOutput { - return o.ApplyT(func(v GetVmsVm) []GetVmsVmPrimaryNic { return v.PrimaryNics }).(GetVmsVmPrimaryNicArrayOutput) -} - -// The name of the private DNS. -func (o GetVmsVmOutput) PrivateDnsName() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVm) string { return v.PrivateDnsName }).(pulumi.StringOutput) -} - -// The primary private IP of the VM. -func (o GetVmsVmOutput) PrivateIp() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVm) string { return v.PrivateIp }).(pulumi.StringOutput) -} - -// The private IP or IPs of the NIC. -func (o GetVmsVmOutput) PrivateIps() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetVmsVm) []string { return v.PrivateIps }).(pulumi.StringArrayOutput) -} - -// The product codes associated with the OMI used to create the VM. -func (o GetVmsVmOutput) ProductCodes() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetVmsVm) []string { return v.ProductCodes }).(pulumi.StringArrayOutput) -} - -// The name of the public DNS. -func (o GetVmsVmOutput) PublicDnsName() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVm) string { return v.PublicDnsName }).(pulumi.StringOutput) -} - -// The public IP of the VM. -func (o GetVmsVmOutput) PublicIp() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVm) string { return v.PublicIp }).(pulumi.StringOutput) -} - -func (o GetVmsVmOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVm) string { return v.RequestId }).(pulumi.StringOutput) -} - -// The reservation ID of the VM. -func (o GetVmsVmOutput) ReservationId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVm) string { return v.ReservationId }).(pulumi.StringOutput) -} - -// The name of the root device for the VM (for example, `/dev/vda1`). -func (o GetVmsVmOutput) RootDeviceName() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVm) string { return v.RootDeviceName }).(pulumi.StringOutput) -} - -// The type of root device used by the VM (always `bsu`). -func (o GetVmsVmOutput) RootDeviceType() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVm) string { return v.RootDeviceType }).(pulumi.StringOutput) -} - -func (o GetVmsVmOutput) SecurityGroupIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetVmsVm) []string { return v.SecurityGroupIds }).(pulumi.StringArrayOutput) -} - -func (o GetVmsVmOutput) SecurityGroupNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetVmsVm) []string { return v.SecurityGroupNames }).(pulumi.StringArrayOutput) -} - -// One or more security groups associated with the VM. -func (o GetVmsVmOutput) SecurityGroups() GetVmsVmSecurityGroupArrayOutput { - return o.ApplyT(func(v GetVmsVm) []GetVmsVmSecurityGroup { return v.SecurityGroups }).(GetVmsVmSecurityGroupArrayOutput) -} - -// The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). -func (o GetVmsVmOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVm) string { return v.State }).(pulumi.StringOutput) -} - -// The reason explaining the current state of the VM. -func (o GetVmsVmOutput) StateReason() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVm) string { return v.StateReason }).(pulumi.StringOutput) -} - -// The ID of the Subnet for the VM. -func (o GetVmsVmOutput) SubnetId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVm) string { return v.SubnetId }).(pulumi.StringOutput) -} - -// The key/value combinations of the tags associated with the VMs, in the following format: `TAGKEY=TAGVALUE`. -func (o GetVmsVmOutput) Tags() GetVmsVmTagArrayOutput { - return o.ApplyT(func(v GetVmsVm) []GetVmsVmTag { return v.Tags }).(GetVmsVmTagArrayOutput) -} - -// The Base64-encoded MIME user data. -func (o GetVmsVmOutput) UserData() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVm) string { return v.UserData }).(pulumi.StringOutput) -} - -// The ID of the VM. -func (o GetVmsVmOutput) VmId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVm) string { return v.VmId }).(pulumi.StringOutput) -} - -// The VM behavior when you stop it. If set to `stop`, the VM stops. If set to `restart`, the VM stops then automatically restarts. If set to `terminate`, the VM stops and is deleted. -func (o GetVmsVmOutput) VmInitiatedShutdownBehavior() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVm) string { return v.VmInitiatedShutdownBehavior }).(pulumi.StringOutput) -} - -// The type of VM. For more information, see [Instance Types](https://docs.outscale.com/en/userguide/Instance-Types.html). -func (o GetVmsVmOutput) VmType() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVm) string { return v.VmType }).(pulumi.StringOutput) -} - -type GetVmsVmArrayOutput struct{ *pulumi.OutputState } - -func (GetVmsVmArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsVm)(nil)).Elem() -} - -func (o GetVmsVmArrayOutput) ToGetVmsVmArrayOutput() GetVmsVmArrayOutput { - return o -} - -func (o GetVmsVmArrayOutput) ToGetVmsVmArrayOutputWithContext(ctx context.Context) GetVmsVmArrayOutput { - return o -} - -func (o GetVmsVmArrayOutput) Index(i pulumi.IntInput) GetVmsVmOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmsVm { - return vs[0].([]GetVmsVm)[vs[1].(int)] - }).(GetVmsVmOutput) -} - -type GetVmsVmBlockDeviceMappingsCreated struct { - // Information about the created BSU volume. - Bsus []GetVmsVmBlockDeviceMappingsCreatedBsus `pulumi:"bsus"` - // The name of the device. - DeviceName string `pulumi:"deviceName"` -} - -// GetVmsVmBlockDeviceMappingsCreatedInput is an input type that accepts GetVmsVmBlockDeviceMappingsCreatedArgs and GetVmsVmBlockDeviceMappingsCreatedOutput values. -// You can construct a concrete instance of `GetVmsVmBlockDeviceMappingsCreatedInput` via: -// -// GetVmsVmBlockDeviceMappingsCreatedArgs{...} -type GetVmsVmBlockDeviceMappingsCreatedInput interface { - pulumi.Input - - ToGetVmsVmBlockDeviceMappingsCreatedOutput() GetVmsVmBlockDeviceMappingsCreatedOutput - ToGetVmsVmBlockDeviceMappingsCreatedOutputWithContext(context.Context) GetVmsVmBlockDeviceMappingsCreatedOutput -} - -type GetVmsVmBlockDeviceMappingsCreatedArgs struct { - // Information about the created BSU volume. - Bsus GetVmsVmBlockDeviceMappingsCreatedBsusArrayInput `pulumi:"bsus"` - // The name of the device. - DeviceName pulumi.StringInput `pulumi:"deviceName"` -} - -func (GetVmsVmBlockDeviceMappingsCreatedArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsVmBlockDeviceMappingsCreated)(nil)).Elem() -} - -func (i GetVmsVmBlockDeviceMappingsCreatedArgs) ToGetVmsVmBlockDeviceMappingsCreatedOutput() GetVmsVmBlockDeviceMappingsCreatedOutput { - return i.ToGetVmsVmBlockDeviceMappingsCreatedOutputWithContext(context.Background()) -} - -func (i GetVmsVmBlockDeviceMappingsCreatedArgs) ToGetVmsVmBlockDeviceMappingsCreatedOutputWithContext(ctx context.Context) GetVmsVmBlockDeviceMappingsCreatedOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsVmBlockDeviceMappingsCreatedOutput) -} - -// GetVmsVmBlockDeviceMappingsCreatedArrayInput is an input type that accepts GetVmsVmBlockDeviceMappingsCreatedArray and GetVmsVmBlockDeviceMappingsCreatedArrayOutput values. -// You can construct a concrete instance of `GetVmsVmBlockDeviceMappingsCreatedArrayInput` via: -// -// GetVmsVmBlockDeviceMappingsCreatedArray{ GetVmsVmBlockDeviceMappingsCreatedArgs{...} } -type GetVmsVmBlockDeviceMappingsCreatedArrayInput interface { - pulumi.Input - - ToGetVmsVmBlockDeviceMappingsCreatedArrayOutput() GetVmsVmBlockDeviceMappingsCreatedArrayOutput - ToGetVmsVmBlockDeviceMappingsCreatedArrayOutputWithContext(context.Context) GetVmsVmBlockDeviceMappingsCreatedArrayOutput -} - -type GetVmsVmBlockDeviceMappingsCreatedArray []GetVmsVmBlockDeviceMappingsCreatedInput - -func (GetVmsVmBlockDeviceMappingsCreatedArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsVmBlockDeviceMappingsCreated)(nil)).Elem() -} - -func (i GetVmsVmBlockDeviceMappingsCreatedArray) ToGetVmsVmBlockDeviceMappingsCreatedArrayOutput() GetVmsVmBlockDeviceMappingsCreatedArrayOutput { - return i.ToGetVmsVmBlockDeviceMappingsCreatedArrayOutputWithContext(context.Background()) -} - -func (i GetVmsVmBlockDeviceMappingsCreatedArray) ToGetVmsVmBlockDeviceMappingsCreatedArrayOutputWithContext(ctx context.Context) GetVmsVmBlockDeviceMappingsCreatedArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsVmBlockDeviceMappingsCreatedArrayOutput) -} - -type GetVmsVmBlockDeviceMappingsCreatedOutput struct{ *pulumi.OutputState } - -func (GetVmsVmBlockDeviceMappingsCreatedOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsVmBlockDeviceMappingsCreated)(nil)).Elem() -} - -func (o GetVmsVmBlockDeviceMappingsCreatedOutput) ToGetVmsVmBlockDeviceMappingsCreatedOutput() GetVmsVmBlockDeviceMappingsCreatedOutput { - return o -} - -func (o GetVmsVmBlockDeviceMappingsCreatedOutput) ToGetVmsVmBlockDeviceMappingsCreatedOutputWithContext(ctx context.Context) GetVmsVmBlockDeviceMappingsCreatedOutput { - return o -} - -// Information about the created BSU volume. -func (o GetVmsVmBlockDeviceMappingsCreatedOutput) Bsus() GetVmsVmBlockDeviceMappingsCreatedBsusArrayOutput { - return o.ApplyT(func(v GetVmsVmBlockDeviceMappingsCreated) []GetVmsVmBlockDeviceMappingsCreatedBsus { return v.Bsus }).(GetVmsVmBlockDeviceMappingsCreatedBsusArrayOutput) -} - -// The name of the device. -func (o GetVmsVmBlockDeviceMappingsCreatedOutput) DeviceName() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmBlockDeviceMappingsCreated) string { return v.DeviceName }).(pulumi.StringOutput) -} - -type GetVmsVmBlockDeviceMappingsCreatedArrayOutput struct{ *pulumi.OutputState } - -func (GetVmsVmBlockDeviceMappingsCreatedArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsVmBlockDeviceMappingsCreated)(nil)).Elem() -} - -func (o GetVmsVmBlockDeviceMappingsCreatedArrayOutput) ToGetVmsVmBlockDeviceMappingsCreatedArrayOutput() GetVmsVmBlockDeviceMappingsCreatedArrayOutput { - return o -} - -func (o GetVmsVmBlockDeviceMappingsCreatedArrayOutput) ToGetVmsVmBlockDeviceMappingsCreatedArrayOutputWithContext(ctx context.Context) GetVmsVmBlockDeviceMappingsCreatedArrayOutput { - return o -} - -func (o GetVmsVmBlockDeviceMappingsCreatedArrayOutput) Index(i pulumi.IntInput) GetVmsVmBlockDeviceMappingsCreatedOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmsVmBlockDeviceMappingsCreated { - return vs[0].([]GetVmsVmBlockDeviceMappingsCreated)[vs[1].(int)] - }).(GetVmsVmBlockDeviceMappingsCreatedOutput) -} - -type GetVmsVmBlockDeviceMappingsCreatedBsus struct { - // If true, the NIC is deleted when the VM is terminated. - DeleteOnVmDeletion bool `pulumi:"deleteOnVmDeletion"` - // The date and time of attachment of the volume to the VM, in ISO 8601 date-time format. - LinkDate string `pulumi:"linkDate"` - // The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - State string `pulumi:"state"` - // The key/value combinations of the tags associated with the VMs, in the following format: `TAGKEY=TAGVALUE`. - Tags []GetVmsVmBlockDeviceMappingsCreatedBsusTag `pulumi:"tags"` - // The ID of the volume. - VolumeId string `pulumi:"volumeId"` -} - -// GetVmsVmBlockDeviceMappingsCreatedBsusInput is an input type that accepts GetVmsVmBlockDeviceMappingsCreatedBsusArgs and GetVmsVmBlockDeviceMappingsCreatedBsusOutput values. -// You can construct a concrete instance of `GetVmsVmBlockDeviceMappingsCreatedBsusInput` via: -// -// GetVmsVmBlockDeviceMappingsCreatedBsusArgs{...} -type GetVmsVmBlockDeviceMappingsCreatedBsusInput interface { - pulumi.Input - - ToGetVmsVmBlockDeviceMappingsCreatedBsusOutput() GetVmsVmBlockDeviceMappingsCreatedBsusOutput - ToGetVmsVmBlockDeviceMappingsCreatedBsusOutputWithContext(context.Context) GetVmsVmBlockDeviceMappingsCreatedBsusOutput -} - -type GetVmsVmBlockDeviceMappingsCreatedBsusArgs struct { - // If true, the NIC is deleted when the VM is terminated. - DeleteOnVmDeletion pulumi.BoolInput `pulumi:"deleteOnVmDeletion"` - // The date and time of attachment of the volume to the VM, in ISO 8601 date-time format. - LinkDate pulumi.StringInput `pulumi:"linkDate"` - // The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - State pulumi.StringInput `pulumi:"state"` - // The key/value combinations of the tags associated with the VMs, in the following format: `TAGKEY=TAGVALUE`. - Tags GetVmsVmBlockDeviceMappingsCreatedBsusTagArrayInput `pulumi:"tags"` - // The ID of the volume. - VolumeId pulumi.StringInput `pulumi:"volumeId"` -} - -func (GetVmsVmBlockDeviceMappingsCreatedBsusArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsVmBlockDeviceMappingsCreatedBsus)(nil)).Elem() -} - -func (i GetVmsVmBlockDeviceMappingsCreatedBsusArgs) ToGetVmsVmBlockDeviceMappingsCreatedBsusOutput() GetVmsVmBlockDeviceMappingsCreatedBsusOutput { - return i.ToGetVmsVmBlockDeviceMappingsCreatedBsusOutputWithContext(context.Background()) -} - -func (i GetVmsVmBlockDeviceMappingsCreatedBsusArgs) ToGetVmsVmBlockDeviceMappingsCreatedBsusOutputWithContext(ctx context.Context) GetVmsVmBlockDeviceMappingsCreatedBsusOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsVmBlockDeviceMappingsCreatedBsusOutput) -} - -// GetVmsVmBlockDeviceMappingsCreatedBsusArrayInput is an input type that accepts GetVmsVmBlockDeviceMappingsCreatedBsusArray and GetVmsVmBlockDeviceMappingsCreatedBsusArrayOutput values. -// You can construct a concrete instance of `GetVmsVmBlockDeviceMappingsCreatedBsusArrayInput` via: -// -// GetVmsVmBlockDeviceMappingsCreatedBsusArray{ GetVmsVmBlockDeviceMappingsCreatedBsusArgs{...} } -type GetVmsVmBlockDeviceMappingsCreatedBsusArrayInput interface { - pulumi.Input - - ToGetVmsVmBlockDeviceMappingsCreatedBsusArrayOutput() GetVmsVmBlockDeviceMappingsCreatedBsusArrayOutput - ToGetVmsVmBlockDeviceMappingsCreatedBsusArrayOutputWithContext(context.Context) GetVmsVmBlockDeviceMappingsCreatedBsusArrayOutput -} - -type GetVmsVmBlockDeviceMappingsCreatedBsusArray []GetVmsVmBlockDeviceMappingsCreatedBsusInput - -func (GetVmsVmBlockDeviceMappingsCreatedBsusArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsVmBlockDeviceMappingsCreatedBsus)(nil)).Elem() -} - -func (i GetVmsVmBlockDeviceMappingsCreatedBsusArray) ToGetVmsVmBlockDeviceMappingsCreatedBsusArrayOutput() GetVmsVmBlockDeviceMappingsCreatedBsusArrayOutput { - return i.ToGetVmsVmBlockDeviceMappingsCreatedBsusArrayOutputWithContext(context.Background()) -} - -func (i GetVmsVmBlockDeviceMappingsCreatedBsusArray) ToGetVmsVmBlockDeviceMappingsCreatedBsusArrayOutputWithContext(ctx context.Context) GetVmsVmBlockDeviceMappingsCreatedBsusArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsVmBlockDeviceMappingsCreatedBsusArrayOutput) -} - -type GetVmsVmBlockDeviceMappingsCreatedBsusOutput struct{ *pulumi.OutputState } - -func (GetVmsVmBlockDeviceMappingsCreatedBsusOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsVmBlockDeviceMappingsCreatedBsus)(nil)).Elem() -} - -func (o GetVmsVmBlockDeviceMappingsCreatedBsusOutput) ToGetVmsVmBlockDeviceMappingsCreatedBsusOutput() GetVmsVmBlockDeviceMappingsCreatedBsusOutput { - return o -} - -func (o GetVmsVmBlockDeviceMappingsCreatedBsusOutput) ToGetVmsVmBlockDeviceMappingsCreatedBsusOutputWithContext(ctx context.Context) GetVmsVmBlockDeviceMappingsCreatedBsusOutput { - return o -} - -// If true, the NIC is deleted when the VM is terminated. -func (o GetVmsVmBlockDeviceMappingsCreatedBsusOutput) DeleteOnVmDeletion() pulumi.BoolOutput { - return o.ApplyT(func(v GetVmsVmBlockDeviceMappingsCreatedBsus) bool { return v.DeleteOnVmDeletion }).(pulumi.BoolOutput) -} - -// The date and time of attachment of the volume to the VM, in ISO 8601 date-time format. -func (o GetVmsVmBlockDeviceMappingsCreatedBsusOutput) LinkDate() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmBlockDeviceMappingsCreatedBsus) string { return v.LinkDate }).(pulumi.StringOutput) -} - -// The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). -func (o GetVmsVmBlockDeviceMappingsCreatedBsusOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmBlockDeviceMappingsCreatedBsus) string { return v.State }).(pulumi.StringOutput) -} - -// The key/value combinations of the tags associated with the VMs, in the following format: `TAGKEY=TAGVALUE`. -func (o GetVmsVmBlockDeviceMappingsCreatedBsusOutput) Tags() GetVmsVmBlockDeviceMappingsCreatedBsusTagArrayOutput { - return o.ApplyT(func(v GetVmsVmBlockDeviceMappingsCreatedBsus) []GetVmsVmBlockDeviceMappingsCreatedBsusTag { - return v.Tags - }).(GetVmsVmBlockDeviceMappingsCreatedBsusTagArrayOutput) -} - -// The ID of the volume. -func (o GetVmsVmBlockDeviceMappingsCreatedBsusOutput) VolumeId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmBlockDeviceMappingsCreatedBsus) string { return v.VolumeId }).(pulumi.StringOutput) -} - -type GetVmsVmBlockDeviceMappingsCreatedBsusArrayOutput struct{ *pulumi.OutputState } - -func (GetVmsVmBlockDeviceMappingsCreatedBsusArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsVmBlockDeviceMappingsCreatedBsus)(nil)).Elem() -} - -func (o GetVmsVmBlockDeviceMappingsCreatedBsusArrayOutput) ToGetVmsVmBlockDeviceMappingsCreatedBsusArrayOutput() GetVmsVmBlockDeviceMappingsCreatedBsusArrayOutput { - return o -} - -func (o GetVmsVmBlockDeviceMappingsCreatedBsusArrayOutput) ToGetVmsVmBlockDeviceMappingsCreatedBsusArrayOutputWithContext(ctx context.Context) GetVmsVmBlockDeviceMappingsCreatedBsusArrayOutput { - return o -} - -func (o GetVmsVmBlockDeviceMappingsCreatedBsusArrayOutput) Index(i pulumi.IntInput) GetVmsVmBlockDeviceMappingsCreatedBsusOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmsVmBlockDeviceMappingsCreatedBsus { - return vs[0].([]GetVmsVmBlockDeviceMappingsCreatedBsus)[vs[1].(int)] - }).(GetVmsVmBlockDeviceMappingsCreatedBsusOutput) -} - -type GetVmsVmBlockDeviceMappingsCreatedBsusTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetVmsVmBlockDeviceMappingsCreatedBsusTagInput is an input type that accepts GetVmsVmBlockDeviceMappingsCreatedBsusTagArgs and GetVmsVmBlockDeviceMappingsCreatedBsusTagOutput values. -// You can construct a concrete instance of `GetVmsVmBlockDeviceMappingsCreatedBsusTagInput` via: -// -// GetVmsVmBlockDeviceMappingsCreatedBsusTagArgs{...} -type GetVmsVmBlockDeviceMappingsCreatedBsusTagInput interface { - pulumi.Input - - ToGetVmsVmBlockDeviceMappingsCreatedBsusTagOutput() GetVmsVmBlockDeviceMappingsCreatedBsusTagOutput - ToGetVmsVmBlockDeviceMappingsCreatedBsusTagOutputWithContext(context.Context) GetVmsVmBlockDeviceMappingsCreatedBsusTagOutput -} - -type GetVmsVmBlockDeviceMappingsCreatedBsusTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetVmsVmBlockDeviceMappingsCreatedBsusTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsVmBlockDeviceMappingsCreatedBsusTag)(nil)).Elem() -} - -func (i GetVmsVmBlockDeviceMappingsCreatedBsusTagArgs) ToGetVmsVmBlockDeviceMappingsCreatedBsusTagOutput() GetVmsVmBlockDeviceMappingsCreatedBsusTagOutput { - return i.ToGetVmsVmBlockDeviceMappingsCreatedBsusTagOutputWithContext(context.Background()) -} - -func (i GetVmsVmBlockDeviceMappingsCreatedBsusTagArgs) ToGetVmsVmBlockDeviceMappingsCreatedBsusTagOutputWithContext(ctx context.Context) GetVmsVmBlockDeviceMappingsCreatedBsusTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsVmBlockDeviceMappingsCreatedBsusTagOutput) -} - -// GetVmsVmBlockDeviceMappingsCreatedBsusTagArrayInput is an input type that accepts GetVmsVmBlockDeviceMappingsCreatedBsusTagArray and GetVmsVmBlockDeviceMappingsCreatedBsusTagArrayOutput values. -// You can construct a concrete instance of `GetVmsVmBlockDeviceMappingsCreatedBsusTagArrayInput` via: -// -// GetVmsVmBlockDeviceMappingsCreatedBsusTagArray{ GetVmsVmBlockDeviceMappingsCreatedBsusTagArgs{...} } -type GetVmsVmBlockDeviceMappingsCreatedBsusTagArrayInput interface { - pulumi.Input - - ToGetVmsVmBlockDeviceMappingsCreatedBsusTagArrayOutput() GetVmsVmBlockDeviceMappingsCreatedBsusTagArrayOutput - ToGetVmsVmBlockDeviceMappingsCreatedBsusTagArrayOutputWithContext(context.Context) GetVmsVmBlockDeviceMappingsCreatedBsusTagArrayOutput -} - -type GetVmsVmBlockDeviceMappingsCreatedBsusTagArray []GetVmsVmBlockDeviceMappingsCreatedBsusTagInput - -func (GetVmsVmBlockDeviceMappingsCreatedBsusTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsVmBlockDeviceMappingsCreatedBsusTag)(nil)).Elem() -} - -func (i GetVmsVmBlockDeviceMappingsCreatedBsusTagArray) ToGetVmsVmBlockDeviceMappingsCreatedBsusTagArrayOutput() GetVmsVmBlockDeviceMappingsCreatedBsusTagArrayOutput { - return i.ToGetVmsVmBlockDeviceMappingsCreatedBsusTagArrayOutputWithContext(context.Background()) -} - -func (i GetVmsVmBlockDeviceMappingsCreatedBsusTagArray) ToGetVmsVmBlockDeviceMappingsCreatedBsusTagArrayOutputWithContext(ctx context.Context) GetVmsVmBlockDeviceMappingsCreatedBsusTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsVmBlockDeviceMappingsCreatedBsusTagArrayOutput) -} - -type GetVmsVmBlockDeviceMappingsCreatedBsusTagOutput struct{ *pulumi.OutputState } - -func (GetVmsVmBlockDeviceMappingsCreatedBsusTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsVmBlockDeviceMappingsCreatedBsusTag)(nil)).Elem() -} - -func (o GetVmsVmBlockDeviceMappingsCreatedBsusTagOutput) ToGetVmsVmBlockDeviceMappingsCreatedBsusTagOutput() GetVmsVmBlockDeviceMappingsCreatedBsusTagOutput { - return o -} - -func (o GetVmsVmBlockDeviceMappingsCreatedBsusTagOutput) ToGetVmsVmBlockDeviceMappingsCreatedBsusTagOutputWithContext(ctx context.Context) GetVmsVmBlockDeviceMappingsCreatedBsusTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetVmsVmBlockDeviceMappingsCreatedBsusTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmBlockDeviceMappingsCreatedBsusTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetVmsVmBlockDeviceMappingsCreatedBsusTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmBlockDeviceMappingsCreatedBsusTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetVmsVmBlockDeviceMappingsCreatedBsusTagArrayOutput struct{ *pulumi.OutputState } - -func (GetVmsVmBlockDeviceMappingsCreatedBsusTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsVmBlockDeviceMappingsCreatedBsusTag)(nil)).Elem() -} - -func (o GetVmsVmBlockDeviceMappingsCreatedBsusTagArrayOutput) ToGetVmsVmBlockDeviceMappingsCreatedBsusTagArrayOutput() GetVmsVmBlockDeviceMappingsCreatedBsusTagArrayOutput { - return o -} - -func (o GetVmsVmBlockDeviceMappingsCreatedBsusTagArrayOutput) ToGetVmsVmBlockDeviceMappingsCreatedBsusTagArrayOutputWithContext(ctx context.Context) GetVmsVmBlockDeviceMappingsCreatedBsusTagArrayOutput { - return o -} - -func (o GetVmsVmBlockDeviceMappingsCreatedBsusTagArrayOutput) Index(i pulumi.IntInput) GetVmsVmBlockDeviceMappingsCreatedBsusTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmsVmBlockDeviceMappingsCreatedBsusTag { - return vs[0].([]GetVmsVmBlockDeviceMappingsCreatedBsusTag)[vs[1].(int)] - }).(GetVmsVmBlockDeviceMappingsCreatedBsusTagOutput) -} - -type GetVmsVmNic struct { - // The account ID of the owner of the NIC. - AccountId string `pulumi:"accountId"` - // If true, the NIC is deleted when the VM is terminated. - DeleteOnVmDeletion bool `pulumi:"deleteOnVmDeletion"` - // The description of the NIC. - Description string `pulumi:"description"` - // The device index for the NIC attachment (between `1` and `7`, both included). - DeviceNumber int `pulumi:"deviceNumber"` - // (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - IsSourceDestChecked bool `pulumi:"isSourceDestChecked"` - // Information about the network interface card (NIC). - LinkNics []GetVmsVmNicLinkNic `pulumi:"linkNics"` - // Information about the public IP associated with the NIC. - LinkPublicIps []GetVmsVmNicLinkPublicIp `pulumi:"linkPublicIps"` - // The Media Access Control (MAC) address of the NIC. - MacAddress string `pulumi:"macAddress"` - // The ID of the Net for the NIC. - NetId string `pulumi:"netId"` - // The ID of the NIC. - NicId string `pulumi:"nicId"` - // The name of the private DNS. - PrivateDnsName string `pulumi:"privateDnsName"` - // The private IP or IPs of the NIC. - PrivateIps []GetVmsVmNicPrivateIp `pulumi:"privateIps"` - SecondaryPrivateIpCount int `pulumi:"secondaryPrivateIpCount"` - SecurityGroupIds []string `pulumi:"securityGroupIds"` - // One or more security groups associated with the VM. - SecurityGroups []GetVmsVmNicSecurityGroup `pulumi:"securityGroups"` - SecurityGroupsNames []string `pulumi:"securityGroupsNames"` - // The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - State string `pulumi:"state"` - // The ID of the Subnet for the VM. - SubnetId string `pulumi:"subnetId"` -} - -// GetVmsVmNicInput is an input type that accepts GetVmsVmNicArgs and GetVmsVmNicOutput values. -// You can construct a concrete instance of `GetVmsVmNicInput` via: -// -// GetVmsVmNicArgs{...} -type GetVmsVmNicInput interface { - pulumi.Input - - ToGetVmsVmNicOutput() GetVmsVmNicOutput - ToGetVmsVmNicOutputWithContext(context.Context) GetVmsVmNicOutput -} - -type GetVmsVmNicArgs struct { - // The account ID of the owner of the NIC. - AccountId pulumi.StringInput `pulumi:"accountId"` - // If true, the NIC is deleted when the VM is terminated. - DeleteOnVmDeletion pulumi.BoolInput `pulumi:"deleteOnVmDeletion"` - // The description of the NIC. - Description pulumi.StringInput `pulumi:"description"` - // The device index for the NIC attachment (between `1` and `7`, both included). - DeviceNumber pulumi.IntInput `pulumi:"deviceNumber"` - // (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - IsSourceDestChecked pulumi.BoolInput `pulumi:"isSourceDestChecked"` - // Information about the network interface card (NIC). - LinkNics GetVmsVmNicLinkNicArrayInput `pulumi:"linkNics"` - // Information about the public IP associated with the NIC. - LinkPublicIps GetVmsVmNicLinkPublicIpArrayInput `pulumi:"linkPublicIps"` - // The Media Access Control (MAC) address of the NIC. - MacAddress pulumi.StringInput `pulumi:"macAddress"` - // The ID of the Net for the NIC. - NetId pulumi.StringInput `pulumi:"netId"` - // The ID of the NIC. - NicId pulumi.StringInput `pulumi:"nicId"` - // The name of the private DNS. - PrivateDnsName pulumi.StringInput `pulumi:"privateDnsName"` - // The private IP or IPs of the NIC. - PrivateIps GetVmsVmNicPrivateIpArrayInput `pulumi:"privateIps"` - SecondaryPrivateIpCount pulumi.IntInput `pulumi:"secondaryPrivateIpCount"` - SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"` - // One or more security groups associated with the VM. - SecurityGroups GetVmsVmNicSecurityGroupArrayInput `pulumi:"securityGroups"` - SecurityGroupsNames pulumi.StringArrayInput `pulumi:"securityGroupsNames"` - // The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - State pulumi.StringInput `pulumi:"state"` - // The ID of the Subnet for the VM. - SubnetId pulumi.StringInput `pulumi:"subnetId"` -} - -func (GetVmsVmNicArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsVmNic)(nil)).Elem() -} - -func (i GetVmsVmNicArgs) ToGetVmsVmNicOutput() GetVmsVmNicOutput { - return i.ToGetVmsVmNicOutputWithContext(context.Background()) -} - -func (i GetVmsVmNicArgs) ToGetVmsVmNicOutputWithContext(ctx context.Context) GetVmsVmNicOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsVmNicOutput) -} - -// GetVmsVmNicArrayInput is an input type that accepts GetVmsVmNicArray and GetVmsVmNicArrayOutput values. -// You can construct a concrete instance of `GetVmsVmNicArrayInput` via: -// -// GetVmsVmNicArray{ GetVmsVmNicArgs{...} } -type GetVmsVmNicArrayInput interface { - pulumi.Input - - ToGetVmsVmNicArrayOutput() GetVmsVmNicArrayOutput - ToGetVmsVmNicArrayOutputWithContext(context.Context) GetVmsVmNicArrayOutput -} - -type GetVmsVmNicArray []GetVmsVmNicInput - -func (GetVmsVmNicArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsVmNic)(nil)).Elem() -} - -func (i GetVmsVmNicArray) ToGetVmsVmNicArrayOutput() GetVmsVmNicArrayOutput { - return i.ToGetVmsVmNicArrayOutputWithContext(context.Background()) -} - -func (i GetVmsVmNicArray) ToGetVmsVmNicArrayOutputWithContext(ctx context.Context) GetVmsVmNicArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsVmNicArrayOutput) -} - -type GetVmsVmNicOutput struct{ *pulumi.OutputState } - -func (GetVmsVmNicOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsVmNic)(nil)).Elem() -} - -func (o GetVmsVmNicOutput) ToGetVmsVmNicOutput() GetVmsVmNicOutput { - return o -} - -func (o GetVmsVmNicOutput) ToGetVmsVmNicOutputWithContext(ctx context.Context) GetVmsVmNicOutput { - return o -} - -// The account ID of the owner of the NIC. -func (o GetVmsVmNicOutput) AccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmNic) string { return v.AccountId }).(pulumi.StringOutput) -} - -// If true, the NIC is deleted when the VM is terminated. -func (o GetVmsVmNicOutput) DeleteOnVmDeletion() pulumi.BoolOutput { - return o.ApplyT(func(v GetVmsVmNic) bool { return v.DeleteOnVmDeletion }).(pulumi.BoolOutput) -} - -// The description of the NIC. -func (o GetVmsVmNicOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmNic) string { return v.Description }).(pulumi.StringOutput) -} - -// The device index for the NIC attachment (between `1` and `7`, both included). -func (o GetVmsVmNicOutput) DeviceNumber() pulumi.IntOutput { - return o.ApplyT(func(v GetVmsVmNic) int { return v.DeviceNumber }).(pulumi.IntOutput) -} - -// (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. -func (o GetVmsVmNicOutput) IsSourceDestChecked() pulumi.BoolOutput { - return o.ApplyT(func(v GetVmsVmNic) bool { return v.IsSourceDestChecked }).(pulumi.BoolOutput) -} - -// Information about the network interface card (NIC). -func (o GetVmsVmNicOutput) LinkNics() GetVmsVmNicLinkNicArrayOutput { - return o.ApplyT(func(v GetVmsVmNic) []GetVmsVmNicLinkNic { return v.LinkNics }).(GetVmsVmNicLinkNicArrayOutput) -} - -// Information about the public IP associated with the NIC. -func (o GetVmsVmNicOutput) LinkPublicIps() GetVmsVmNicLinkPublicIpArrayOutput { - return o.ApplyT(func(v GetVmsVmNic) []GetVmsVmNicLinkPublicIp { return v.LinkPublicIps }).(GetVmsVmNicLinkPublicIpArrayOutput) -} - -// The Media Access Control (MAC) address of the NIC. -func (o GetVmsVmNicOutput) MacAddress() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmNic) string { return v.MacAddress }).(pulumi.StringOutput) -} - -// The ID of the Net for the NIC. -func (o GetVmsVmNicOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmNic) string { return v.NetId }).(pulumi.StringOutput) -} - -// The ID of the NIC. -func (o GetVmsVmNicOutput) NicId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmNic) string { return v.NicId }).(pulumi.StringOutput) -} - -// The name of the private DNS. -func (o GetVmsVmNicOutput) PrivateDnsName() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmNic) string { return v.PrivateDnsName }).(pulumi.StringOutput) -} - -// The private IP or IPs of the NIC. -func (o GetVmsVmNicOutput) PrivateIps() GetVmsVmNicPrivateIpArrayOutput { - return o.ApplyT(func(v GetVmsVmNic) []GetVmsVmNicPrivateIp { return v.PrivateIps }).(GetVmsVmNicPrivateIpArrayOutput) -} - -func (o GetVmsVmNicOutput) SecondaryPrivateIpCount() pulumi.IntOutput { - return o.ApplyT(func(v GetVmsVmNic) int { return v.SecondaryPrivateIpCount }).(pulumi.IntOutput) -} - -func (o GetVmsVmNicOutput) SecurityGroupIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetVmsVmNic) []string { return v.SecurityGroupIds }).(pulumi.StringArrayOutput) -} - -// One or more security groups associated with the VM. -func (o GetVmsVmNicOutput) SecurityGroups() GetVmsVmNicSecurityGroupArrayOutput { - return o.ApplyT(func(v GetVmsVmNic) []GetVmsVmNicSecurityGroup { return v.SecurityGroups }).(GetVmsVmNicSecurityGroupArrayOutput) -} - -func (o GetVmsVmNicOutput) SecurityGroupsNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetVmsVmNic) []string { return v.SecurityGroupsNames }).(pulumi.StringArrayOutput) -} - -// The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). -func (o GetVmsVmNicOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmNic) string { return v.State }).(pulumi.StringOutput) -} - -// The ID of the Subnet for the VM. -func (o GetVmsVmNicOutput) SubnetId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmNic) string { return v.SubnetId }).(pulumi.StringOutput) -} - -type GetVmsVmNicArrayOutput struct{ *pulumi.OutputState } - -func (GetVmsVmNicArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsVmNic)(nil)).Elem() -} - -func (o GetVmsVmNicArrayOutput) ToGetVmsVmNicArrayOutput() GetVmsVmNicArrayOutput { - return o -} - -func (o GetVmsVmNicArrayOutput) ToGetVmsVmNicArrayOutputWithContext(ctx context.Context) GetVmsVmNicArrayOutput { - return o -} - -func (o GetVmsVmNicArrayOutput) Index(i pulumi.IntInput) GetVmsVmNicOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmsVmNic { - return vs[0].([]GetVmsVmNic)[vs[1].(int)] - }).(GetVmsVmNicOutput) -} - -type GetVmsVmNicLinkNic struct { - // If true, the NIC is deleted when the VM is terminated. - DeleteOnVmDeletion bool `pulumi:"deleteOnVmDeletion"` - // The device index for the NIC attachment (between `1` and `7`, both included). - DeviceNumber string `pulumi:"deviceNumber"` - // The ID of the NIC to attach. - LinkNicId string `pulumi:"linkNicId"` - // The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - State string `pulumi:"state"` -} - -// GetVmsVmNicLinkNicInput is an input type that accepts GetVmsVmNicLinkNicArgs and GetVmsVmNicLinkNicOutput values. -// You can construct a concrete instance of `GetVmsVmNicLinkNicInput` via: -// -// GetVmsVmNicLinkNicArgs{...} -type GetVmsVmNicLinkNicInput interface { - pulumi.Input - - ToGetVmsVmNicLinkNicOutput() GetVmsVmNicLinkNicOutput - ToGetVmsVmNicLinkNicOutputWithContext(context.Context) GetVmsVmNicLinkNicOutput -} - -type GetVmsVmNicLinkNicArgs struct { - // If true, the NIC is deleted when the VM is terminated. - DeleteOnVmDeletion pulumi.BoolInput `pulumi:"deleteOnVmDeletion"` - // The device index for the NIC attachment (between `1` and `7`, both included). - DeviceNumber pulumi.StringInput `pulumi:"deviceNumber"` - // The ID of the NIC to attach. - LinkNicId pulumi.StringInput `pulumi:"linkNicId"` - // The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - State pulumi.StringInput `pulumi:"state"` -} - -func (GetVmsVmNicLinkNicArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsVmNicLinkNic)(nil)).Elem() -} - -func (i GetVmsVmNicLinkNicArgs) ToGetVmsVmNicLinkNicOutput() GetVmsVmNicLinkNicOutput { - return i.ToGetVmsVmNicLinkNicOutputWithContext(context.Background()) -} - -func (i GetVmsVmNicLinkNicArgs) ToGetVmsVmNicLinkNicOutputWithContext(ctx context.Context) GetVmsVmNicLinkNicOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsVmNicLinkNicOutput) -} - -// GetVmsVmNicLinkNicArrayInput is an input type that accepts GetVmsVmNicLinkNicArray and GetVmsVmNicLinkNicArrayOutput values. -// You can construct a concrete instance of `GetVmsVmNicLinkNicArrayInput` via: -// -// GetVmsVmNicLinkNicArray{ GetVmsVmNicLinkNicArgs{...} } -type GetVmsVmNicLinkNicArrayInput interface { - pulumi.Input - - ToGetVmsVmNicLinkNicArrayOutput() GetVmsVmNicLinkNicArrayOutput - ToGetVmsVmNicLinkNicArrayOutputWithContext(context.Context) GetVmsVmNicLinkNicArrayOutput -} - -type GetVmsVmNicLinkNicArray []GetVmsVmNicLinkNicInput - -func (GetVmsVmNicLinkNicArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsVmNicLinkNic)(nil)).Elem() -} - -func (i GetVmsVmNicLinkNicArray) ToGetVmsVmNicLinkNicArrayOutput() GetVmsVmNicLinkNicArrayOutput { - return i.ToGetVmsVmNicLinkNicArrayOutputWithContext(context.Background()) -} - -func (i GetVmsVmNicLinkNicArray) ToGetVmsVmNicLinkNicArrayOutputWithContext(ctx context.Context) GetVmsVmNicLinkNicArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsVmNicLinkNicArrayOutput) -} - -type GetVmsVmNicLinkNicOutput struct{ *pulumi.OutputState } - -func (GetVmsVmNicLinkNicOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsVmNicLinkNic)(nil)).Elem() -} - -func (o GetVmsVmNicLinkNicOutput) ToGetVmsVmNicLinkNicOutput() GetVmsVmNicLinkNicOutput { - return o -} - -func (o GetVmsVmNicLinkNicOutput) ToGetVmsVmNicLinkNicOutputWithContext(ctx context.Context) GetVmsVmNicLinkNicOutput { - return o -} - -// If true, the NIC is deleted when the VM is terminated. -func (o GetVmsVmNicLinkNicOutput) DeleteOnVmDeletion() pulumi.BoolOutput { - return o.ApplyT(func(v GetVmsVmNicLinkNic) bool { return v.DeleteOnVmDeletion }).(pulumi.BoolOutput) -} - -// The device index for the NIC attachment (between `1` and `7`, both included). -func (o GetVmsVmNicLinkNicOutput) DeviceNumber() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmNicLinkNic) string { return v.DeviceNumber }).(pulumi.StringOutput) -} - -// The ID of the NIC to attach. -func (o GetVmsVmNicLinkNicOutput) LinkNicId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmNicLinkNic) string { return v.LinkNicId }).(pulumi.StringOutput) -} - -// The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). -func (o GetVmsVmNicLinkNicOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmNicLinkNic) string { return v.State }).(pulumi.StringOutput) -} - -type GetVmsVmNicLinkNicArrayOutput struct{ *pulumi.OutputState } - -func (GetVmsVmNicLinkNicArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsVmNicLinkNic)(nil)).Elem() -} - -func (o GetVmsVmNicLinkNicArrayOutput) ToGetVmsVmNicLinkNicArrayOutput() GetVmsVmNicLinkNicArrayOutput { - return o -} - -func (o GetVmsVmNicLinkNicArrayOutput) ToGetVmsVmNicLinkNicArrayOutputWithContext(ctx context.Context) GetVmsVmNicLinkNicArrayOutput { - return o -} - -func (o GetVmsVmNicLinkNicArrayOutput) Index(i pulumi.IntInput) GetVmsVmNicLinkNicOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmsVmNicLinkNic { - return vs[0].([]GetVmsVmNicLinkNic)[vs[1].(int)] - }).(GetVmsVmNicLinkNicOutput) -} - -type GetVmsVmNicLinkPublicIp struct { - // The name of the public DNS. - PublicDnsName string `pulumi:"publicDnsName"` - // The public IP of the VM. - PublicIp string `pulumi:"publicIp"` - // The account ID of the owner of the public IP. - PublicIpAccountId string `pulumi:"publicIpAccountId"` -} - -// GetVmsVmNicLinkPublicIpInput is an input type that accepts GetVmsVmNicLinkPublicIpArgs and GetVmsVmNicLinkPublicIpOutput values. -// You can construct a concrete instance of `GetVmsVmNicLinkPublicIpInput` via: -// -// GetVmsVmNicLinkPublicIpArgs{...} -type GetVmsVmNicLinkPublicIpInput interface { - pulumi.Input - - ToGetVmsVmNicLinkPublicIpOutput() GetVmsVmNicLinkPublicIpOutput - ToGetVmsVmNicLinkPublicIpOutputWithContext(context.Context) GetVmsVmNicLinkPublicIpOutput -} - -type GetVmsVmNicLinkPublicIpArgs struct { - // The name of the public DNS. - PublicDnsName pulumi.StringInput `pulumi:"publicDnsName"` - // The public IP of the VM. - PublicIp pulumi.StringInput `pulumi:"publicIp"` - // The account ID of the owner of the public IP. - PublicIpAccountId pulumi.StringInput `pulumi:"publicIpAccountId"` -} - -func (GetVmsVmNicLinkPublicIpArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsVmNicLinkPublicIp)(nil)).Elem() -} - -func (i GetVmsVmNicLinkPublicIpArgs) ToGetVmsVmNicLinkPublicIpOutput() GetVmsVmNicLinkPublicIpOutput { - return i.ToGetVmsVmNicLinkPublicIpOutputWithContext(context.Background()) -} - -func (i GetVmsVmNicLinkPublicIpArgs) ToGetVmsVmNicLinkPublicIpOutputWithContext(ctx context.Context) GetVmsVmNicLinkPublicIpOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsVmNicLinkPublicIpOutput) -} - -// GetVmsVmNicLinkPublicIpArrayInput is an input type that accepts GetVmsVmNicLinkPublicIpArray and GetVmsVmNicLinkPublicIpArrayOutput values. -// You can construct a concrete instance of `GetVmsVmNicLinkPublicIpArrayInput` via: -// -// GetVmsVmNicLinkPublicIpArray{ GetVmsVmNicLinkPublicIpArgs{...} } -type GetVmsVmNicLinkPublicIpArrayInput interface { - pulumi.Input - - ToGetVmsVmNicLinkPublicIpArrayOutput() GetVmsVmNicLinkPublicIpArrayOutput - ToGetVmsVmNicLinkPublicIpArrayOutputWithContext(context.Context) GetVmsVmNicLinkPublicIpArrayOutput -} - -type GetVmsVmNicLinkPublicIpArray []GetVmsVmNicLinkPublicIpInput - -func (GetVmsVmNicLinkPublicIpArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsVmNicLinkPublicIp)(nil)).Elem() -} - -func (i GetVmsVmNicLinkPublicIpArray) ToGetVmsVmNicLinkPublicIpArrayOutput() GetVmsVmNicLinkPublicIpArrayOutput { - return i.ToGetVmsVmNicLinkPublicIpArrayOutputWithContext(context.Background()) -} - -func (i GetVmsVmNicLinkPublicIpArray) ToGetVmsVmNicLinkPublicIpArrayOutputWithContext(ctx context.Context) GetVmsVmNicLinkPublicIpArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsVmNicLinkPublicIpArrayOutput) -} - -type GetVmsVmNicLinkPublicIpOutput struct{ *pulumi.OutputState } - -func (GetVmsVmNicLinkPublicIpOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsVmNicLinkPublicIp)(nil)).Elem() -} - -func (o GetVmsVmNicLinkPublicIpOutput) ToGetVmsVmNicLinkPublicIpOutput() GetVmsVmNicLinkPublicIpOutput { - return o -} - -func (o GetVmsVmNicLinkPublicIpOutput) ToGetVmsVmNicLinkPublicIpOutputWithContext(ctx context.Context) GetVmsVmNicLinkPublicIpOutput { - return o -} - -// The name of the public DNS. -func (o GetVmsVmNicLinkPublicIpOutput) PublicDnsName() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmNicLinkPublicIp) string { return v.PublicDnsName }).(pulumi.StringOutput) -} - -// The public IP of the VM. -func (o GetVmsVmNicLinkPublicIpOutput) PublicIp() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmNicLinkPublicIp) string { return v.PublicIp }).(pulumi.StringOutput) -} - -// The account ID of the owner of the public IP. -func (o GetVmsVmNicLinkPublicIpOutput) PublicIpAccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmNicLinkPublicIp) string { return v.PublicIpAccountId }).(pulumi.StringOutput) -} - -type GetVmsVmNicLinkPublicIpArrayOutput struct{ *pulumi.OutputState } - -func (GetVmsVmNicLinkPublicIpArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsVmNicLinkPublicIp)(nil)).Elem() -} - -func (o GetVmsVmNicLinkPublicIpArrayOutput) ToGetVmsVmNicLinkPublicIpArrayOutput() GetVmsVmNicLinkPublicIpArrayOutput { - return o -} - -func (o GetVmsVmNicLinkPublicIpArrayOutput) ToGetVmsVmNicLinkPublicIpArrayOutputWithContext(ctx context.Context) GetVmsVmNicLinkPublicIpArrayOutput { - return o -} - -func (o GetVmsVmNicLinkPublicIpArrayOutput) Index(i pulumi.IntInput) GetVmsVmNicLinkPublicIpOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmsVmNicLinkPublicIp { - return vs[0].([]GetVmsVmNicLinkPublicIp)[vs[1].(int)] - }).(GetVmsVmNicLinkPublicIpOutput) -} - -type GetVmsVmNicPrivateIp struct { - // If true, the IP is the primary private IP of the NIC. - IsPrimary bool `pulumi:"isPrimary"` - // Information about the public IP associated with the NIC. - LinkPublicIps []GetVmsVmNicPrivateIpLinkPublicIp `pulumi:"linkPublicIps"` - // The name of the private DNS. - PrivateDnsName string `pulumi:"privateDnsName"` - // The primary private IP of the VM. - PrivateIp string `pulumi:"privateIp"` -} - -// GetVmsVmNicPrivateIpInput is an input type that accepts GetVmsVmNicPrivateIpArgs and GetVmsVmNicPrivateIpOutput values. -// You can construct a concrete instance of `GetVmsVmNicPrivateIpInput` via: -// -// GetVmsVmNicPrivateIpArgs{...} -type GetVmsVmNicPrivateIpInput interface { - pulumi.Input - - ToGetVmsVmNicPrivateIpOutput() GetVmsVmNicPrivateIpOutput - ToGetVmsVmNicPrivateIpOutputWithContext(context.Context) GetVmsVmNicPrivateIpOutput -} - -type GetVmsVmNicPrivateIpArgs struct { - // If true, the IP is the primary private IP of the NIC. - IsPrimary pulumi.BoolInput `pulumi:"isPrimary"` - // Information about the public IP associated with the NIC. - LinkPublicIps GetVmsVmNicPrivateIpLinkPublicIpArrayInput `pulumi:"linkPublicIps"` - // The name of the private DNS. - PrivateDnsName pulumi.StringInput `pulumi:"privateDnsName"` - // The primary private IP of the VM. - PrivateIp pulumi.StringInput `pulumi:"privateIp"` -} - -func (GetVmsVmNicPrivateIpArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsVmNicPrivateIp)(nil)).Elem() -} - -func (i GetVmsVmNicPrivateIpArgs) ToGetVmsVmNicPrivateIpOutput() GetVmsVmNicPrivateIpOutput { - return i.ToGetVmsVmNicPrivateIpOutputWithContext(context.Background()) -} - -func (i GetVmsVmNicPrivateIpArgs) ToGetVmsVmNicPrivateIpOutputWithContext(ctx context.Context) GetVmsVmNicPrivateIpOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsVmNicPrivateIpOutput) -} - -// GetVmsVmNicPrivateIpArrayInput is an input type that accepts GetVmsVmNicPrivateIpArray and GetVmsVmNicPrivateIpArrayOutput values. -// You can construct a concrete instance of `GetVmsVmNicPrivateIpArrayInput` via: -// -// GetVmsVmNicPrivateIpArray{ GetVmsVmNicPrivateIpArgs{...} } -type GetVmsVmNicPrivateIpArrayInput interface { - pulumi.Input - - ToGetVmsVmNicPrivateIpArrayOutput() GetVmsVmNicPrivateIpArrayOutput - ToGetVmsVmNicPrivateIpArrayOutputWithContext(context.Context) GetVmsVmNicPrivateIpArrayOutput -} - -type GetVmsVmNicPrivateIpArray []GetVmsVmNicPrivateIpInput - -func (GetVmsVmNicPrivateIpArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsVmNicPrivateIp)(nil)).Elem() -} - -func (i GetVmsVmNicPrivateIpArray) ToGetVmsVmNicPrivateIpArrayOutput() GetVmsVmNicPrivateIpArrayOutput { - return i.ToGetVmsVmNicPrivateIpArrayOutputWithContext(context.Background()) -} - -func (i GetVmsVmNicPrivateIpArray) ToGetVmsVmNicPrivateIpArrayOutputWithContext(ctx context.Context) GetVmsVmNicPrivateIpArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsVmNicPrivateIpArrayOutput) -} - -type GetVmsVmNicPrivateIpOutput struct{ *pulumi.OutputState } - -func (GetVmsVmNicPrivateIpOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsVmNicPrivateIp)(nil)).Elem() -} - -func (o GetVmsVmNicPrivateIpOutput) ToGetVmsVmNicPrivateIpOutput() GetVmsVmNicPrivateIpOutput { - return o -} - -func (o GetVmsVmNicPrivateIpOutput) ToGetVmsVmNicPrivateIpOutputWithContext(ctx context.Context) GetVmsVmNicPrivateIpOutput { - return o -} - -// If true, the IP is the primary private IP of the NIC. -func (o GetVmsVmNicPrivateIpOutput) IsPrimary() pulumi.BoolOutput { - return o.ApplyT(func(v GetVmsVmNicPrivateIp) bool { return v.IsPrimary }).(pulumi.BoolOutput) -} - -// Information about the public IP associated with the NIC. -func (o GetVmsVmNicPrivateIpOutput) LinkPublicIps() GetVmsVmNicPrivateIpLinkPublicIpArrayOutput { - return o.ApplyT(func(v GetVmsVmNicPrivateIp) []GetVmsVmNicPrivateIpLinkPublicIp { return v.LinkPublicIps }).(GetVmsVmNicPrivateIpLinkPublicIpArrayOutput) -} - -// The name of the private DNS. -func (o GetVmsVmNicPrivateIpOutput) PrivateDnsName() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmNicPrivateIp) string { return v.PrivateDnsName }).(pulumi.StringOutput) -} - -// The primary private IP of the VM. -func (o GetVmsVmNicPrivateIpOutput) PrivateIp() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmNicPrivateIp) string { return v.PrivateIp }).(pulumi.StringOutput) -} - -type GetVmsVmNicPrivateIpArrayOutput struct{ *pulumi.OutputState } - -func (GetVmsVmNicPrivateIpArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsVmNicPrivateIp)(nil)).Elem() -} - -func (o GetVmsVmNicPrivateIpArrayOutput) ToGetVmsVmNicPrivateIpArrayOutput() GetVmsVmNicPrivateIpArrayOutput { - return o -} - -func (o GetVmsVmNicPrivateIpArrayOutput) ToGetVmsVmNicPrivateIpArrayOutputWithContext(ctx context.Context) GetVmsVmNicPrivateIpArrayOutput { - return o -} - -func (o GetVmsVmNicPrivateIpArrayOutput) Index(i pulumi.IntInput) GetVmsVmNicPrivateIpOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmsVmNicPrivateIp { - return vs[0].([]GetVmsVmNicPrivateIp)[vs[1].(int)] - }).(GetVmsVmNicPrivateIpOutput) -} - -type GetVmsVmNicPrivateIpLinkPublicIp struct { - // The name of the public DNS. - PublicDnsName string `pulumi:"publicDnsName"` - // The public IP of the VM. - PublicIp string `pulumi:"publicIp"` - // The account ID of the owner of the public IP. - PublicIpAccountId string `pulumi:"publicIpAccountId"` -} - -// GetVmsVmNicPrivateIpLinkPublicIpInput is an input type that accepts GetVmsVmNicPrivateIpLinkPublicIpArgs and GetVmsVmNicPrivateIpLinkPublicIpOutput values. -// You can construct a concrete instance of `GetVmsVmNicPrivateIpLinkPublicIpInput` via: -// -// GetVmsVmNicPrivateIpLinkPublicIpArgs{...} -type GetVmsVmNicPrivateIpLinkPublicIpInput interface { - pulumi.Input - - ToGetVmsVmNicPrivateIpLinkPublicIpOutput() GetVmsVmNicPrivateIpLinkPublicIpOutput - ToGetVmsVmNicPrivateIpLinkPublicIpOutputWithContext(context.Context) GetVmsVmNicPrivateIpLinkPublicIpOutput -} - -type GetVmsVmNicPrivateIpLinkPublicIpArgs struct { - // The name of the public DNS. - PublicDnsName pulumi.StringInput `pulumi:"publicDnsName"` - // The public IP of the VM. - PublicIp pulumi.StringInput `pulumi:"publicIp"` - // The account ID of the owner of the public IP. - PublicIpAccountId pulumi.StringInput `pulumi:"publicIpAccountId"` -} - -func (GetVmsVmNicPrivateIpLinkPublicIpArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsVmNicPrivateIpLinkPublicIp)(nil)).Elem() -} - -func (i GetVmsVmNicPrivateIpLinkPublicIpArgs) ToGetVmsVmNicPrivateIpLinkPublicIpOutput() GetVmsVmNicPrivateIpLinkPublicIpOutput { - return i.ToGetVmsVmNicPrivateIpLinkPublicIpOutputWithContext(context.Background()) -} - -func (i GetVmsVmNicPrivateIpLinkPublicIpArgs) ToGetVmsVmNicPrivateIpLinkPublicIpOutputWithContext(ctx context.Context) GetVmsVmNicPrivateIpLinkPublicIpOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsVmNicPrivateIpLinkPublicIpOutput) -} - -// GetVmsVmNicPrivateIpLinkPublicIpArrayInput is an input type that accepts GetVmsVmNicPrivateIpLinkPublicIpArray and GetVmsVmNicPrivateIpLinkPublicIpArrayOutput values. -// You can construct a concrete instance of `GetVmsVmNicPrivateIpLinkPublicIpArrayInput` via: -// -// GetVmsVmNicPrivateIpLinkPublicIpArray{ GetVmsVmNicPrivateIpLinkPublicIpArgs{...} } -type GetVmsVmNicPrivateIpLinkPublicIpArrayInput interface { - pulumi.Input - - ToGetVmsVmNicPrivateIpLinkPublicIpArrayOutput() GetVmsVmNicPrivateIpLinkPublicIpArrayOutput - ToGetVmsVmNicPrivateIpLinkPublicIpArrayOutputWithContext(context.Context) GetVmsVmNicPrivateIpLinkPublicIpArrayOutput -} - -type GetVmsVmNicPrivateIpLinkPublicIpArray []GetVmsVmNicPrivateIpLinkPublicIpInput - -func (GetVmsVmNicPrivateIpLinkPublicIpArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsVmNicPrivateIpLinkPublicIp)(nil)).Elem() -} - -func (i GetVmsVmNicPrivateIpLinkPublicIpArray) ToGetVmsVmNicPrivateIpLinkPublicIpArrayOutput() GetVmsVmNicPrivateIpLinkPublicIpArrayOutput { - return i.ToGetVmsVmNicPrivateIpLinkPublicIpArrayOutputWithContext(context.Background()) -} - -func (i GetVmsVmNicPrivateIpLinkPublicIpArray) ToGetVmsVmNicPrivateIpLinkPublicIpArrayOutputWithContext(ctx context.Context) GetVmsVmNicPrivateIpLinkPublicIpArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsVmNicPrivateIpLinkPublicIpArrayOutput) -} - -type GetVmsVmNicPrivateIpLinkPublicIpOutput struct{ *pulumi.OutputState } - -func (GetVmsVmNicPrivateIpLinkPublicIpOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsVmNicPrivateIpLinkPublicIp)(nil)).Elem() -} - -func (o GetVmsVmNicPrivateIpLinkPublicIpOutput) ToGetVmsVmNicPrivateIpLinkPublicIpOutput() GetVmsVmNicPrivateIpLinkPublicIpOutput { - return o -} - -func (o GetVmsVmNicPrivateIpLinkPublicIpOutput) ToGetVmsVmNicPrivateIpLinkPublicIpOutputWithContext(ctx context.Context) GetVmsVmNicPrivateIpLinkPublicIpOutput { - return o -} - -// The name of the public DNS. -func (o GetVmsVmNicPrivateIpLinkPublicIpOutput) PublicDnsName() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmNicPrivateIpLinkPublicIp) string { return v.PublicDnsName }).(pulumi.StringOutput) -} - -// The public IP of the VM. -func (o GetVmsVmNicPrivateIpLinkPublicIpOutput) PublicIp() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmNicPrivateIpLinkPublicIp) string { return v.PublicIp }).(pulumi.StringOutput) -} - -// The account ID of the owner of the public IP. -func (o GetVmsVmNicPrivateIpLinkPublicIpOutput) PublicIpAccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmNicPrivateIpLinkPublicIp) string { return v.PublicIpAccountId }).(pulumi.StringOutput) -} - -type GetVmsVmNicPrivateIpLinkPublicIpArrayOutput struct{ *pulumi.OutputState } - -func (GetVmsVmNicPrivateIpLinkPublicIpArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsVmNicPrivateIpLinkPublicIp)(nil)).Elem() -} - -func (o GetVmsVmNicPrivateIpLinkPublicIpArrayOutput) ToGetVmsVmNicPrivateIpLinkPublicIpArrayOutput() GetVmsVmNicPrivateIpLinkPublicIpArrayOutput { - return o -} - -func (o GetVmsVmNicPrivateIpLinkPublicIpArrayOutput) ToGetVmsVmNicPrivateIpLinkPublicIpArrayOutputWithContext(ctx context.Context) GetVmsVmNicPrivateIpLinkPublicIpArrayOutput { - return o -} - -func (o GetVmsVmNicPrivateIpLinkPublicIpArrayOutput) Index(i pulumi.IntInput) GetVmsVmNicPrivateIpLinkPublicIpOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmsVmNicPrivateIpLinkPublicIp { - return vs[0].([]GetVmsVmNicPrivateIpLinkPublicIp)[vs[1].(int)] - }).(GetVmsVmNicPrivateIpLinkPublicIpOutput) -} - -type GetVmsVmNicSecurityGroup struct { - // The ID of the security group. - SecurityGroupId string `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName string `pulumi:"securityGroupName"` -} - -// GetVmsVmNicSecurityGroupInput is an input type that accepts GetVmsVmNicSecurityGroupArgs and GetVmsVmNicSecurityGroupOutput values. -// You can construct a concrete instance of `GetVmsVmNicSecurityGroupInput` via: -// -// GetVmsVmNicSecurityGroupArgs{...} -type GetVmsVmNicSecurityGroupInput interface { - pulumi.Input - - ToGetVmsVmNicSecurityGroupOutput() GetVmsVmNicSecurityGroupOutput - ToGetVmsVmNicSecurityGroupOutputWithContext(context.Context) GetVmsVmNicSecurityGroupOutput -} - -type GetVmsVmNicSecurityGroupArgs struct { - // The ID of the security group. - SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName pulumi.StringInput `pulumi:"securityGroupName"` -} - -func (GetVmsVmNicSecurityGroupArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsVmNicSecurityGroup)(nil)).Elem() -} - -func (i GetVmsVmNicSecurityGroupArgs) ToGetVmsVmNicSecurityGroupOutput() GetVmsVmNicSecurityGroupOutput { - return i.ToGetVmsVmNicSecurityGroupOutputWithContext(context.Background()) -} - -func (i GetVmsVmNicSecurityGroupArgs) ToGetVmsVmNicSecurityGroupOutputWithContext(ctx context.Context) GetVmsVmNicSecurityGroupOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsVmNicSecurityGroupOutput) -} - -// GetVmsVmNicSecurityGroupArrayInput is an input type that accepts GetVmsVmNicSecurityGroupArray and GetVmsVmNicSecurityGroupArrayOutput values. -// You can construct a concrete instance of `GetVmsVmNicSecurityGroupArrayInput` via: -// -// GetVmsVmNicSecurityGroupArray{ GetVmsVmNicSecurityGroupArgs{...} } -type GetVmsVmNicSecurityGroupArrayInput interface { - pulumi.Input - - ToGetVmsVmNicSecurityGroupArrayOutput() GetVmsVmNicSecurityGroupArrayOutput - ToGetVmsVmNicSecurityGroupArrayOutputWithContext(context.Context) GetVmsVmNicSecurityGroupArrayOutput -} - -type GetVmsVmNicSecurityGroupArray []GetVmsVmNicSecurityGroupInput - -func (GetVmsVmNicSecurityGroupArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsVmNicSecurityGroup)(nil)).Elem() -} - -func (i GetVmsVmNicSecurityGroupArray) ToGetVmsVmNicSecurityGroupArrayOutput() GetVmsVmNicSecurityGroupArrayOutput { - return i.ToGetVmsVmNicSecurityGroupArrayOutputWithContext(context.Background()) -} - -func (i GetVmsVmNicSecurityGroupArray) ToGetVmsVmNicSecurityGroupArrayOutputWithContext(ctx context.Context) GetVmsVmNicSecurityGroupArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsVmNicSecurityGroupArrayOutput) -} - -type GetVmsVmNicSecurityGroupOutput struct{ *pulumi.OutputState } - -func (GetVmsVmNicSecurityGroupOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsVmNicSecurityGroup)(nil)).Elem() -} - -func (o GetVmsVmNicSecurityGroupOutput) ToGetVmsVmNicSecurityGroupOutput() GetVmsVmNicSecurityGroupOutput { - return o -} - -func (o GetVmsVmNicSecurityGroupOutput) ToGetVmsVmNicSecurityGroupOutputWithContext(ctx context.Context) GetVmsVmNicSecurityGroupOutput { - return o -} - -// The ID of the security group. -func (o GetVmsVmNicSecurityGroupOutput) SecurityGroupId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmNicSecurityGroup) string { return v.SecurityGroupId }).(pulumi.StringOutput) -} - -// The name of the security group. -func (o GetVmsVmNicSecurityGroupOutput) SecurityGroupName() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmNicSecurityGroup) string { return v.SecurityGroupName }).(pulumi.StringOutput) -} - -type GetVmsVmNicSecurityGroupArrayOutput struct{ *pulumi.OutputState } - -func (GetVmsVmNicSecurityGroupArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsVmNicSecurityGroup)(nil)).Elem() -} - -func (o GetVmsVmNicSecurityGroupArrayOutput) ToGetVmsVmNicSecurityGroupArrayOutput() GetVmsVmNicSecurityGroupArrayOutput { - return o -} - -func (o GetVmsVmNicSecurityGroupArrayOutput) ToGetVmsVmNicSecurityGroupArrayOutputWithContext(ctx context.Context) GetVmsVmNicSecurityGroupArrayOutput { - return o -} - -func (o GetVmsVmNicSecurityGroupArrayOutput) Index(i pulumi.IntInput) GetVmsVmNicSecurityGroupOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmsVmNicSecurityGroup { - return vs[0].([]GetVmsVmNicSecurityGroup)[vs[1].(int)] - }).(GetVmsVmNicSecurityGroupOutput) -} - -type GetVmsVmPrimaryNic struct { - // The account ID of the owner of the NIC. - AccountId string `pulumi:"accountId"` - // If true, the NIC is deleted when the VM is terminated. - DeleteOnVmDeletion bool `pulumi:"deleteOnVmDeletion"` - // The description of the NIC. - Description string `pulumi:"description"` - // The device index for the NIC attachment (between `1` and `7`, both included). - DeviceNumber int `pulumi:"deviceNumber"` - // (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - IsSourceDestChecked bool `pulumi:"isSourceDestChecked"` - // Information about the network interface card (NIC). - LinkNics []GetVmsVmPrimaryNicLinkNic `pulumi:"linkNics"` - // Information about the public IP associated with the NIC. - LinkPublicIps []GetVmsVmPrimaryNicLinkPublicIp `pulumi:"linkPublicIps"` - // The Media Access Control (MAC) address of the NIC. - MacAddress string `pulumi:"macAddress"` - // The ID of the Net for the NIC. - NetId string `pulumi:"netId"` - // The ID of the NIC. - NicId string `pulumi:"nicId"` - // The name of the private DNS. - PrivateDnsName string `pulumi:"privateDnsName"` - // The private IP or IPs of the NIC. - PrivateIps []GetVmsVmPrimaryNicPrivateIp `pulumi:"privateIps"` - SecondaryPrivateIpCount int `pulumi:"secondaryPrivateIpCount"` - SecurityGroupIds []string `pulumi:"securityGroupIds"` - // One or more security groups associated with the VM. - SecurityGroups []GetVmsVmPrimaryNicSecurityGroup `pulumi:"securityGroups"` - // The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - State string `pulumi:"state"` - // The ID of the Subnet for the VM. - SubnetId string `pulumi:"subnetId"` -} - -// GetVmsVmPrimaryNicInput is an input type that accepts GetVmsVmPrimaryNicArgs and GetVmsVmPrimaryNicOutput values. -// You can construct a concrete instance of `GetVmsVmPrimaryNicInput` via: -// -// GetVmsVmPrimaryNicArgs{...} -type GetVmsVmPrimaryNicInput interface { - pulumi.Input - - ToGetVmsVmPrimaryNicOutput() GetVmsVmPrimaryNicOutput - ToGetVmsVmPrimaryNicOutputWithContext(context.Context) GetVmsVmPrimaryNicOutput -} - -type GetVmsVmPrimaryNicArgs struct { - // The account ID of the owner of the NIC. - AccountId pulumi.StringInput `pulumi:"accountId"` - // If true, the NIC is deleted when the VM is terminated. - DeleteOnVmDeletion pulumi.BoolInput `pulumi:"deleteOnVmDeletion"` - // The description of the NIC. - Description pulumi.StringInput `pulumi:"description"` - // The device index for the NIC attachment (between `1` and `7`, both included). - DeviceNumber pulumi.IntInput `pulumi:"deviceNumber"` - // (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - IsSourceDestChecked pulumi.BoolInput `pulumi:"isSourceDestChecked"` - // Information about the network interface card (NIC). - LinkNics GetVmsVmPrimaryNicLinkNicArrayInput `pulumi:"linkNics"` - // Information about the public IP associated with the NIC. - LinkPublicIps GetVmsVmPrimaryNicLinkPublicIpArrayInput `pulumi:"linkPublicIps"` - // The Media Access Control (MAC) address of the NIC. - MacAddress pulumi.StringInput `pulumi:"macAddress"` - // The ID of the Net for the NIC. - NetId pulumi.StringInput `pulumi:"netId"` - // The ID of the NIC. - NicId pulumi.StringInput `pulumi:"nicId"` - // The name of the private DNS. - PrivateDnsName pulumi.StringInput `pulumi:"privateDnsName"` - // The private IP or IPs of the NIC. - PrivateIps GetVmsVmPrimaryNicPrivateIpArrayInput `pulumi:"privateIps"` - SecondaryPrivateIpCount pulumi.IntInput `pulumi:"secondaryPrivateIpCount"` - SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"` - // One or more security groups associated with the VM. - SecurityGroups GetVmsVmPrimaryNicSecurityGroupArrayInput `pulumi:"securityGroups"` - // The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - State pulumi.StringInput `pulumi:"state"` - // The ID of the Subnet for the VM. - SubnetId pulumi.StringInput `pulumi:"subnetId"` -} - -func (GetVmsVmPrimaryNicArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsVmPrimaryNic)(nil)).Elem() -} - -func (i GetVmsVmPrimaryNicArgs) ToGetVmsVmPrimaryNicOutput() GetVmsVmPrimaryNicOutput { - return i.ToGetVmsVmPrimaryNicOutputWithContext(context.Background()) -} - -func (i GetVmsVmPrimaryNicArgs) ToGetVmsVmPrimaryNicOutputWithContext(ctx context.Context) GetVmsVmPrimaryNicOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsVmPrimaryNicOutput) -} - -// GetVmsVmPrimaryNicArrayInput is an input type that accepts GetVmsVmPrimaryNicArray and GetVmsVmPrimaryNicArrayOutput values. -// You can construct a concrete instance of `GetVmsVmPrimaryNicArrayInput` via: -// -// GetVmsVmPrimaryNicArray{ GetVmsVmPrimaryNicArgs{...} } -type GetVmsVmPrimaryNicArrayInput interface { - pulumi.Input - - ToGetVmsVmPrimaryNicArrayOutput() GetVmsVmPrimaryNicArrayOutput - ToGetVmsVmPrimaryNicArrayOutputWithContext(context.Context) GetVmsVmPrimaryNicArrayOutput -} - -type GetVmsVmPrimaryNicArray []GetVmsVmPrimaryNicInput - -func (GetVmsVmPrimaryNicArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsVmPrimaryNic)(nil)).Elem() -} - -func (i GetVmsVmPrimaryNicArray) ToGetVmsVmPrimaryNicArrayOutput() GetVmsVmPrimaryNicArrayOutput { - return i.ToGetVmsVmPrimaryNicArrayOutputWithContext(context.Background()) -} - -func (i GetVmsVmPrimaryNicArray) ToGetVmsVmPrimaryNicArrayOutputWithContext(ctx context.Context) GetVmsVmPrimaryNicArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsVmPrimaryNicArrayOutput) -} - -type GetVmsVmPrimaryNicOutput struct{ *pulumi.OutputState } - -func (GetVmsVmPrimaryNicOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsVmPrimaryNic)(nil)).Elem() -} - -func (o GetVmsVmPrimaryNicOutput) ToGetVmsVmPrimaryNicOutput() GetVmsVmPrimaryNicOutput { - return o -} - -func (o GetVmsVmPrimaryNicOutput) ToGetVmsVmPrimaryNicOutputWithContext(ctx context.Context) GetVmsVmPrimaryNicOutput { - return o -} - -// The account ID of the owner of the NIC. -func (o GetVmsVmPrimaryNicOutput) AccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmPrimaryNic) string { return v.AccountId }).(pulumi.StringOutput) -} - -// If true, the NIC is deleted when the VM is terminated. -func (o GetVmsVmPrimaryNicOutput) DeleteOnVmDeletion() pulumi.BoolOutput { - return o.ApplyT(func(v GetVmsVmPrimaryNic) bool { return v.DeleteOnVmDeletion }).(pulumi.BoolOutput) -} - -// The description of the NIC. -func (o GetVmsVmPrimaryNicOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmPrimaryNic) string { return v.Description }).(pulumi.StringOutput) -} - -// The device index for the NIC attachment (between `1` and `7`, both included). -func (o GetVmsVmPrimaryNicOutput) DeviceNumber() pulumi.IntOutput { - return o.ApplyT(func(v GetVmsVmPrimaryNic) int { return v.DeviceNumber }).(pulumi.IntOutput) -} - -// (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. -func (o GetVmsVmPrimaryNicOutput) IsSourceDestChecked() pulumi.BoolOutput { - return o.ApplyT(func(v GetVmsVmPrimaryNic) bool { return v.IsSourceDestChecked }).(pulumi.BoolOutput) -} - -// Information about the network interface card (NIC). -func (o GetVmsVmPrimaryNicOutput) LinkNics() GetVmsVmPrimaryNicLinkNicArrayOutput { - return o.ApplyT(func(v GetVmsVmPrimaryNic) []GetVmsVmPrimaryNicLinkNic { return v.LinkNics }).(GetVmsVmPrimaryNicLinkNicArrayOutput) -} - -// Information about the public IP associated with the NIC. -func (o GetVmsVmPrimaryNicOutput) LinkPublicIps() GetVmsVmPrimaryNicLinkPublicIpArrayOutput { - return o.ApplyT(func(v GetVmsVmPrimaryNic) []GetVmsVmPrimaryNicLinkPublicIp { return v.LinkPublicIps }).(GetVmsVmPrimaryNicLinkPublicIpArrayOutput) -} - -// The Media Access Control (MAC) address of the NIC. -func (o GetVmsVmPrimaryNicOutput) MacAddress() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmPrimaryNic) string { return v.MacAddress }).(pulumi.StringOutput) -} - -// The ID of the Net for the NIC. -func (o GetVmsVmPrimaryNicOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmPrimaryNic) string { return v.NetId }).(pulumi.StringOutput) -} - -// The ID of the NIC. -func (o GetVmsVmPrimaryNicOutput) NicId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmPrimaryNic) string { return v.NicId }).(pulumi.StringOutput) -} - -// The name of the private DNS. -func (o GetVmsVmPrimaryNicOutput) PrivateDnsName() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmPrimaryNic) string { return v.PrivateDnsName }).(pulumi.StringOutput) -} - -// The private IP or IPs of the NIC. -func (o GetVmsVmPrimaryNicOutput) PrivateIps() GetVmsVmPrimaryNicPrivateIpArrayOutput { - return o.ApplyT(func(v GetVmsVmPrimaryNic) []GetVmsVmPrimaryNicPrivateIp { return v.PrivateIps }).(GetVmsVmPrimaryNicPrivateIpArrayOutput) -} - -func (o GetVmsVmPrimaryNicOutput) SecondaryPrivateIpCount() pulumi.IntOutput { - return o.ApplyT(func(v GetVmsVmPrimaryNic) int { return v.SecondaryPrivateIpCount }).(pulumi.IntOutput) -} - -func (o GetVmsVmPrimaryNicOutput) SecurityGroupIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetVmsVmPrimaryNic) []string { return v.SecurityGroupIds }).(pulumi.StringArrayOutput) -} - -// One or more security groups associated with the VM. -func (o GetVmsVmPrimaryNicOutput) SecurityGroups() GetVmsVmPrimaryNicSecurityGroupArrayOutput { - return o.ApplyT(func(v GetVmsVmPrimaryNic) []GetVmsVmPrimaryNicSecurityGroup { return v.SecurityGroups }).(GetVmsVmPrimaryNicSecurityGroupArrayOutput) -} - -// The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). -func (o GetVmsVmPrimaryNicOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmPrimaryNic) string { return v.State }).(pulumi.StringOutput) -} - -// The ID of the Subnet for the VM. -func (o GetVmsVmPrimaryNicOutput) SubnetId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmPrimaryNic) string { return v.SubnetId }).(pulumi.StringOutput) -} - -type GetVmsVmPrimaryNicArrayOutput struct{ *pulumi.OutputState } - -func (GetVmsVmPrimaryNicArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsVmPrimaryNic)(nil)).Elem() -} - -func (o GetVmsVmPrimaryNicArrayOutput) ToGetVmsVmPrimaryNicArrayOutput() GetVmsVmPrimaryNicArrayOutput { - return o -} - -func (o GetVmsVmPrimaryNicArrayOutput) ToGetVmsVmPrimaryNicArrayOutputWithContext(ctx context.Context) GetVmsVmPrimaryNicArrayOutput { - return o -} - -func (o GetVmsVmPrimaryNicArrayOutput) Index(i pulumi.IntInput) GetVmsVmPrimaryNicOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmsVmPrimaryNic { - return vs[0].([]GetVmsVmPrimaryNic)[vs[1].(int)] - }).(GetVmsVmPrimaryNicOutput) -} - -type GetVmsVmPrimaryNicLinkNic struct { - // If true, the NIC is deleted when the VM is terminated. - DeleteOnVmDeletion bool `pulumi:"deleteOnVmDeletion"` - // The device index for the NIC attachment (between `1` and `7`, both included). - DeviceNumber string `pulumi:"deviceNumber"` - // The ID of the NIC to attach. - LinkNicId string `pulumi:"linkNicId"` - // The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - State string `pulumi:"state"` -} - -// GetVmsVmPrimaryNicLinkNicInput is an input type that accepts GetVmsVmPrimaryNicLinkNicArgs and GetVmsVmPrimaryNicLinkNicOutput values. -// You can construct a concrete instance of `GetVmsVmPrimaryNicLinkNicInput` via: -// -// GetVmsVmPrimaryNicLinkNicArgs{...} -type GetVmsVmPrimaryNicLinkNicInput interface { - pulumi.Input - - ToGetVmsVmPrimaryNicLinkNicOutput() GetVmsVmPrimaryNicLinkNicOutput - ToGetVmsVmPrimaryNicLinkNicOutputWithContext(context.Context) GetVmsVmPrimaryNicLinkNicOutput -} - -type GetVmsVmPrimaryNicLinkNicArgs struct { - // If true, the NIC is deleted when the VM is terminated. - DeleteOnVmDeletion pulumi.BoolInput `pulumi:"deleteOnVmDeletion"` - // The device index for the NIC attachment (between `1` and `7`, both included). - DeviceNumber pulumi.StringInput `pulumi:"deviceNumber"` - // The ID of the NIC to attach. - LinkNicId pulumi.StringInput `pulumi:"linkNicId"` - // The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). - State pulumi.StringInput `pulumi:"state"` -} - -func (GetVmsVmPrimaryNicLinkNicArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsVmPrimaryNicLinkNic)(nil)).Elem() -} - -func (i GetVmsVmPrimaryNicLinkNicArgs) ToGetVmsVmPrimaryNicLinkNicOutput() GetVmsVmPrimaryNicLinkNicOutput { - return i.ToGetVmsVmPrimaryNicLinkNicOutputWithContext(context.Background()) -} - -func (i GetVmsVmPrimaryNicLinkNicArgs) ToGetVmsVmPrimaryNicLinkNicOutputWithContext(ctx context.Context) GetVmsVmPrimaryNicLinkNicOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsVmPrimaryNicLinkNicOutput) -} - -// GetVmsVmPrimaryNicLinkNicArrayInput is an input type that accepts GetVmsVmPrimaryNicLinkNicArray and GetVmsVmPrimaryNicLinkNicArrayOutput values. -// You can construct a concrete instance of `GetVmsVmPrimaryNicLinkNicArrayInput` via: -// -// GetVmsVmPrimaryNicLinkNicArray{ GetVmsVmPrimaryNicLinkNicArgs{...} } -type GetVmsVmPrimaryNicLinkNicArrayInput interface { - pulumi.Input - - ToGetVmsVmPrimaryNicLinkNicArrayOutput() GetVmsVmPrimaryNicLinkNicArrayOutput - ToGetVmsVmPrimaryNicLinkNicArrayOutputWithContext(context.Context) GetVmsVmPrimaryNicLinkNicArrayOutput -} - -type GetVmsVmPrimaryNicLinkNicArray []GetVmsVmPrimaryNicLinkNicInput - -func (GetVmsVmPrimaryNicLinkNicArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsVmPrimaryNicLinkNic)(nil)).Elem() -} - -func (i GetVmsVmPrimaryNicLinkNicArray) ToGetVmsVmPrimaryNicLinkNicArrayOutput() GetVmsVmPrimaryNicLinkNicArrayOutput { - return i.ToGetVmsVmPrimaryNicLinkNicArrayOutputWithContext(context.Background()) -} - -func (i GetVmsVmPrimaryNicLinkNicArray) ToGetVmsVmPrimaryNicLinkNicArrayOutputWithContext(ctx context.Context) GetVmsVmPrimaryNicLinkNicArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsVmPrimaryNicLinkNicArrayOutput) -} - -type GetVmsVmPrimaryNicLinkNicOutput struct{ *pulumi.OutputState } - -func (GetVmsVmPrimaryNicLinkNicOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsVmPrimaryNicLinkNic)(nil)).Elem() -} - -func (o GetVmsVmPrimaryNicLinkNicOutput) ToGetVmsVmPrimaryNicLinkNicOutput() GetVmsVmPrimaryNicLinkNicOutput { - return o -} - -func (o GetVmsVmPrimaryNicLinkNicOutput) ToGetVmsVmPrimaryNicLinkNicOutputWithContext(ctx context.Context) GetVmsVmPrimaryNicLinkNicOutput { - return o -} - -// If true, the NIC is deleted when the VM is terminated. -func (o GetVmsVmPrimaryNicLinkNicOutput) DeleteOnVmDeletion() pulumi.BoolOutput { - return o.ApplyT(func(v GetVmsVmPrimaryNicLinkNic) bool { return v.DeleteOnVmDeletion }).(pulumi.BoolOutput) -} - -// The device index for the NIC attachment (between `1` and `7`, both included). -func (o GetVmsVmPrimaryNicLinkNicOutput) DeviceNumber() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmPrimaryNicLinkNic) string { return v.DeviceNumber }).(pulumi.StringOutput) -} - -// The ID of the NIC to attach. -func (o GetVmsVmPrimaryNicLinkNicOutput) LinkNicId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmPrimaryNicLinkNic) string { return v.LinkNicId }).(pulumi.StringOutput) -} - -// The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`). -func (o GetVmsVmPrimaryNicLinkNicOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmPrimaryNicLinkNic) string { return v.State }).(pulumi.StringOutput) -} - -type GetVmsVmPrimaryNicLinkNicArrayOutput struct{ *pulumi.OutputState } - -func (GetVmsVmPrimaryNicLinkNicArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsVmPrimaryNicLinkNic)(nil)).Elem() -} - -func (o GetVmsVmPrimaryNicLinkNicArrayOutput) ToGetVmsVmPrimaryNicLinkNicArrayOutput() GetVmsVmPrimaryNicLinkNicArrayOutput { - return o -} - -func (o GetVmsVmPrimaryNicLinkNicArrayOutput) ToGetVmsVmPrimaryNicLinkNicArrayOutputWithContext(ctx context.Context) GetVmsVmPrimaryNicLinkNicArrayOutput { - return o -} - -func (o GetVmsVmPrimaryNicLinkNicArrayOutput) Index(i pulumi.IntInput) GetVmsVmPrimaryNicLinkNicOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmsVmPrimaryNicLinkNic { - return vs[0].([]GetVmsVmPrimaryNicLinkNic)[vs[1].(int)] - }).(GetVmsVmPrimaryNicLinkNicOutput) -} - -type GetVmsVmPrimaryNicLinkPublicIp struct { - // The name of the public DNS. - PublicDnsName string `pulumi:"publicDnsName"` - // The public IP of the VM. - PublicIp string `pulumi:"publicIp"` - // The account ID of the owner of the public IP. - PublicIpAccountId string `pulumi:"publicIpAccountId"` -} - -// GetVmsVmPrimaryNicLinkPublicIpInput is an input type that accepts GetVmsVmPrimaryNicLinkPublicIpArgs and GetVmsVmPrimaryNicLinkPublicIpOutput values. -// You can construct a concrete instance of `GetVmsVmPrimaryNicLinkPublicIpInput` via: -// -// GetVmsVmPrimaryNicLinkPublicIpArgs{...} -type GetVmsVmPrimaryNicLinkPublicIpInput interface { - pulumi.Input - - ToGetVmsVmPrimaryNicLinkPublicIpOutput() GetVmsVmPrimaryNicLinkPublicIpOutput - ToGetVmsVmPrimaryNicLinkPublicIpOutputWithContext(context.Context) GetVmsVmPrimaryNicLinkPublicIpOutput -} - -type GetVmsVmPrimaryNicLinkPublicIpArgs struct { - // The name of the public DNS. - PublicDnsName pulumi.StringInput `pulumi:"publicDnsName"` - // The public IP of the VM. - PublicIp pulumi.StringInput `pulumi:"publicIp"` - // The account ID of the owner of the public IP. - PublicIpAccountId pulumi.StringInput `pulumi:"publicIpAccountId"` -} - -func (GetVmsVmPrimaryNicLinkPublicIpArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsVmPrimaryNicLinkPublicIp)(nil)).Elem() -} - -func (i GetVmsVmPrimaryNicLinkPublicIpArgs) ToGetVmsVmPrimaryNicLinkPublicIpOutput() GetVmsVmPrimaryNicLinkPublicIpOutput { - return i.ToGetVmsVmPrimaryNicLinkPublicIpOutputWithContext(context.Background()) -} - -func (i GetVmsVmPrimaryNicLinkPublicIpArgs) ToGetVmsVmPrimaryNicLinkPublicIpOutputWithContext(ctx context.Context) GetVmsVmPrimaryNicLinkPublicIpOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsVmPrimaryNicLinkPublicIpOutput) -} - -// GetVmsVmPrimaryNicLinkPublicIpArrayInput is an input type that accepts GetVmsVmPrimaryNicLinkPublicIpArray and GetVmsVmPrimaryNicLinkPublicIpArrayOutput values. -// You can construct a concrete instance of `GetVmsVmPrimaryNicLinkPublicIpArrayInput` via: -// -// GetVmsVmPrimaryNicLinkPublicIpArray{ GetVmsVmPrimaryNicLinkPublicIpArgs{...} } -type GetVmsVmPrimaryNicLinkPublicIpArrayInput interface { - pulumi.Input - - ToGetVmsVmPrimaryNicLinkPublicIpArrayOutput() GetVmsVmPrimaryNicLinkPublicIpArrayOutput - ToGetVmsVmPrimaryNicLinkPublicIpArrayOutputWithContext(context.Context) GetVmsVmPrimaryNicLinkPublicIpArrayOutput -} - -type GetVmsVmPrimaryNicLinkPublicIpArray []GetVmsVmPrimaryNicLinkPublicIpInput - -func (GetVmsVmPrimaryNicLinkPublicIpArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsVmPrimaryNicLinkPublicIp)(nil)).Elem() -} - -func (i GetVmsVmPrimaryNicLinkPublicIpArray) ToGetVmsVmPrimaryNicLinkPublicIpArrayOutput() GetVmsVmPrimaryNicLinkPublicIpArrayOutput { - return i.ToGetVmsVmPrimaryNicLinkPublicIpArrayOutputWithContext(context.Background()) -} - -func (i GetVmsVmPrimaryNicLinkPublicIpArray) ToGetVmsVmPrimaryNicLinkPublicIpArrayOutputWithContext(ctx context.Context) GetVmsVmPrimaryNicLinkPublicIpArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsVmPrimaryNicLinkPublicIpArrayOutput) -} - -type GetVmsVmPrimaryNicLinkPublicIpOutput struct{ *pulumi.OutputState } - -func (GetVmsVmPrimaryNicLinkPublicIpOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsVmPrimaryNicLinkPublicIp)(nil)).Elem() -} - -func (o GetVmsVmPrimaryNicLinkPublicIpOutput) ToGetVmsVmPrimaryNicLinkPublicIpOutput() GetVmsVmPrimaryNicLinkPublicIpOutput { - return o -} - -func (o GetVmsVmPrimaryNicLinkPublicIpOutput) ToGetVmsVmPrimaryNicLinkPublicIpOutputWithContext(ctx context.Context) GetVmsVmPrimaryNicLinkPublicIpOutput { - return o -} - -// The name of the public DNS. -func (o GetVmsVmPrimaryNicLinkPublicIpOutput) PublicDnsName() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmPrimaryNicLinkPublicIp) string { return v.PublicDnsName }).(pulumi.StringOutput) -} - -// The public IP of the VM. -func (o GetVmsVmPrimaryNicLinkPublicIpOutput) PublicIp() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmPrimaryNicLinkPublicIp) string { return v.PublicIp }).(pulumi.StringOutput) -} - -// The account ID of the owner of the public IP. -func (o GetVmsVmPrimaryNicLinkPublicIpOutput) PublicIpAccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmPrimaryNicLinkPublicIp) string { return v.PublicIpAccountId }).(pulumi.StringOutput) -} - -type GetVmsVmPrimaryNicLinkPublicIpArrayOutput struct{ *pulumi.OutputState } - -func (GetVmsVmPrimaryNicLinkPublicIpArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsVmPrimaryNicLinkPublicIp)(nil)).Elem() -} - -func (o GetVmsVmPrimaryNicLinkPublicIpArrayOutput) ToGetVmsVmPrimaryNicLinkPublicIpArrayOutput() GetVmsVmPrimaryNicLinkPublicIpArrayOutput { - return o -} - -func (o GetVmsVmPrimaryNicLinkPublicIpArrayOutput) ToGetVmsVmPrimaryNicLinkPublicIpArrayOutputWithContext(ctx context.Context) GetVmsVmPrimaryNicLinkPublicIpArrayOutput { - return o -} - -func (o GetVmsVmPrimaryNicLinkPublicIpArrayOutput) Index(i pulumi.IntInput) GetVmsVmPrimaryNicLinkPublicIpOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmsVmPrimaryNicLinkPublicIp { - return vs[0].([]GetVmsVmPrimaryNicLinkPublicIp)[vs[1].(int)] - }).(GetVmsVmPrimaryNicLinkPublicIpOutput) -} - -type GetVmsVmPrimaryNicPrivateIp struct { - // If true, the IP is the primary private IP of the NIC. - IsPrimary bool `pulumi:"isPrimary"` - // Information about the public IP associated with the NIC. - LinkPublicIps []GetVmsVmPrimaryNicPrivateIpLinkPublicIp `pulumi:"linkPublicIps"` - // The name of the private DNS. - PrivateDnsName string `pulumi:"privateDnsName"` - // The primary private IP of the VM. - PrivateIp string `pulumi:"privateIp"` -} - -// GetVmsVmPrimaryNicPrivateIpInput is an input type that accepts GetVmsVmPrimaryNicPrivateIpArgs and GetVmsVmPrimaryNicPrivateIpOutput values. -// You can construct a concrete instance of `GetVmsVmPrimaryNicPrivateIpInput` via: -// -// GetVmsVmPrimaryNicPrivateIpArgs{...} -type GetVmsVmPrimaryNicPrivateIpInput interface { - pulumi.Input - - ToGetVmsVmPrimaryNicPrivateIpOutput() GetVmsVmPrimaryNicPrivateIpOutput - ToGetVmsVmPrimaryNicPrivateIpOutputWithContext(context.Context) GetVmsVmPrimaryNicPrivateIpOutput -} - -type GetVmsVmPrimaryNicPrivateIpArgs struct { - // If true, the IP is the primary private IP of the NIC. - IsPrimary pulumi.BoolInput `pulumi:"isPrimary"` - // Information about the public IP associated with the NIC. - LinkPublicIps GetVmsVmPrimaryNicPrivateIpLinkPublicIpArrayInput `pulumi:"linkPublicIps"` - // The name of the private DNS. - PrivateDnsName pulumi.StringInput `pulumi:"privateDnsName"` - // The primary private IP of the VM. - PrivateIp pulumi.StringInput `pulumi:"privateIp"` -} - -func (GetVmsVmPrimaryNicPrivateIpArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsVmPrimaryNicPrivateIp)(nil)).Elem() -} - -func (i GetVmsVmPrimaryNicPrivateIpArgs) ToGetVmsVmPrimaryNicPrivateIpOutput() GetVmsVmPrimaryNicPrivateIpOutput { - return i.ToGetVmsVmPrimaryNicPrivateIpOutputWithContext(context.Background()) -} - -func (i GetVmsVmPrimaryNicPrivateIpArgs) ToGetVmsVmPrimaryNicPrivateIpOutputWithContext(ctx context.Context) GetVmsVmPrimaryNicPrivateIpOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsVmPrimaryNicPrivateIpOutput) -} - -// GetVmsVmPrimaryNicPrivateIpArrayInput is an input type that accepts GetVmsVmPrimaryNicPrivateIpArray and GetVmsVmPrimaryNicPrivateIpArrayOutput values. -// You can construct a concrete instance of `GetVmsVmPrimaryNicPrivateIpArrayInput` via: -// -// GetVmsVmPrimaryNicPrivateIpArray{ GetVmsVmPrimaryNicPrivateIpArgs{...} } -type GetVmsVmPrimaryNicPrivateIpArrayInput interface { - pulumi.Input - - ToGetVmsVmPrimaryNicPrivateIpArrayOutput() GetVmsVmPrimaryNicPrivateIpArrayOutput - ToGetVmsVmPrimaryNicPrivateIpArrayOutputWithContext(context.Context) GetVmsVmPrimaryNicPrivateIpArrayOutput -} - -type GetVmsVmPrimaryNicPrivateIpArray []GetVmsVmPrimaryNicPrivateIpInput - -func (GetVmsVmPrimaryNicPrivateIpArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsVmPrimaryNicPrivateIp)(nil)).Elem() -} - -func (i GetVmsVmPrimaryNicPrivateIpArray) ToGetVmsVmPrimaryNicPrivateIpArrayOutput() GetVmsVmPrimaryNicPrivateIpArrayOutput { - return i.ToGetVmsVmPrimaryNicPrivateIpArrayOutputWithContext(context.Background()) -} - -func (i GetVmsVmPrimaryNicPrivateIpArray) ToGetVmsVmPrimaryNicPrivateIpArrayOutputWithContext(ctx context.Context) GetVmsVmPrimaryNicPrivateIpArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsVmPrimaryNicPrivateIpArrayOutput) -} - -type GetVmsVmPrimaryNicPrivateIpOutput struct{ *pulumi.OutputState } - -func (GetVmsVmPrimaryNicPrivateIpOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsVmPrimaryNicPrivateIp)(nil)).Elem() -} - -func (o GetVmsVmPrimaryNicPrivateIpOutput) ToGetVmsVmPrimaryNicPrivateIpOutput() GetVmsVmPrimaryNicPrivateIpOutput { - return o -} - -func (o GetVmsVmPrimaryNicPrivateIpOutput) ToGetVmsVmPrimaryNicPrivateIpOutputWithContext(ctx context.Context) GetVmsVmPrimaryNicPrivateIpOutput { - return o -} - -// If true, the IP is the primary private IP of the NIC. -func (o GetVmsVmPrimaryNicPrivateIpOutput) IsPrimary() pulumi.BoolOutput { - return o.ApplyT(func(v GetVmsVmPrimaryNicPrivateIp) bool { return v.IsPrimary }).(pulumi.BoolOutput) -} - -// Information about the public IP associated with the NIC. -func (o GetVmsVmPrimaryNicPrivateIpOutput) LinkPublicIps() GetVmsVmPrimaryNicPrivateIpLinkPublicIpArrayOutput { - return o.ApplyT(func(v GetVmsVmPrimaryNicPrivateIp) []GetVmsVmPrimaryNicPrivateIpLinkPublicIp { return v.LinkPublicIps }).(GetVmsVmPrimaryNicPrivateIpLinkPublicIpArrayOutput) -} - -// The name of the private DNS. -func (o GetVmsVmPrimaryNicPrivateIpOutput) PrivateDnsName() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmPrimaryNicPrivateIp) string { return v.PrivateDnsName }).(pulumi.StringOutput) -} - -// The primary private IP of the VM. -func (o GetVmsVmPrimaryNicPrivateIpOutput) PrivateIp() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmPrimaryNicPrivateIp) string { return v.PrivateIp }).(pulumi.StringOutput) -} - -type GetVmsVmPrimaryNicPrivateIpArrayOutput struct{ *pulumi.OutputState } - -func (GetVmsVmPrimaryNicPrivateIpArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsVmPrimaryNicPrivateIp)(nil)).Elem() -} - -func (o GetVmsVmPrimaryNicPrivateIpArrayOutput) ToGetVmsVmPrimaryNicPrivateIpArrayOutput() GetVmsVmPrimaryNicPrivateIpArrayOutput { - return o -} - -func (o GetVmsVmPrimaryNicPrivateIpArrayOutput) ToGetVmsVmPrimaryNicPrivateIpArrayOutputWithContext(ctx context.Context) GetVmsVmPrimaryNicPrivateIpArrayOutput { - return o -} - -func (o GetVmsVmPrimaryNicPrivateIpArrayOutput) Index(i pulumi.IntInput) GetVmsVmPrimaryNicPrivateIpOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmsVmPrimaryNicPrivateIp { - return vs[0].([]GetVmsVmPrimaryNicPrivateIp)[vs[1].(int)] - }).(GetVmsVmPrimaryNicPrivateIpOutput) -} - -type GetVmsVmPrimaryNicPrivateIpLinkPublicIp struct { - // The name of the public DNS. - PublicDnsName string `pulumi:"publicDnsName"` - // The public IP of the VM. - PublicIp string `pulumi:"publicIp"` - // The account ID of the owner of the public IP. - PublicIpAccountId string `pulumi:"publicIpAccountId"` -} - -// GetVmsVmPrimaryNicPrivateIpLinkPublicIpInput is an input type that accepts GetVmsVmPrimaryNicPrivateIpLinkPublicIpArgs and GetVmsVmPrimaryNicPrivateIpLinkPublicIpOutput values. -// You can construct a concrete instance of `GetVmsVmPrimaryNicPrivateIpLinkPublicIpInput` via: -// -// GetVmsVmPrimaryNicPrivateIpLinkPublicIpArgs{...} -type GetVmsVmPrimaryNicPrivateIpLinkPublicIpInput interface { - pulumi.Input - - ToGetVmsVmPrimaryNicPrivateIpLinkPublicIpOutput() GetVmsVmPrimaryNicPrivateIpLinkPublicIpOutput - ToGetVmsVmPrimaryNicPrivateIpLinkPublicIpOutputWithContext(context.Context) GetVmsVmPrimaryNicPrivateIpLinkPublicIpOutput -} - -type GetVmsVmPrimaryNicPrivateIpLinkPublicIpArgs struct { - // The name of the public DNS. - PublicDnsName pulumi.StringInput `pulumi:"publicDnsName"` - // The public IP of the VM. - PublicIp pulumi.StringInput `pulumi:"publicIp"` - // The account ID of the owner of the public IP. - PublicIpAccountId pulumi.StringInput `pulumi:"publicIpAccountId"` -} - -func (GetVmsVmPrimaryNicPrivateIpLinkPublicIpArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsVmPrimaryNicPrivateIpLinkPublicIp)(nil)).Elem() -} - -func (i GetVmsVmPrimaryNicPrivateIpLinkPublicIpArgs) ToGetVmsVmPrimaryNicPrivateIpLinkPublicIpOutput() GetVmsVmPrimaryNicPrivateIpLinkPublicIpOutput { - return i.ToGetVmsVmPrimaryNicPrivateIpLinkPublicIpOutputWithContext(context.Background()) -} - -func (i GetVmsVmPrimaryNicPrivateIpLinkPublicIpArgs) ToGetVmsVmPrimaryNicPrivateIpLinkPublicIpOutputWithContext(ctx context.Context) GetVmsVmPrimaryNicPrivateIpLinkPublicIpOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsVmPrimaryNicPrivateIpLinkPublicIpOutput) -} - -// GetVmsVmPrimaryNicPrivateIpLinkPublicIpArrayInput is an input type that accepts GetVmsVmPrimaryNicPrivateIpLinkPublicIpArray and GetVmsVmPrimaryNicPrivateIpLinkPublicIpArrayOutput values. -// You can construct a concrete instance of `GetVmsVmPrimaryNicPrivateIpLinkPublicIpArrayInput` via: -// -// GetVmsVmPrimaryNicPrivateIpLinkPublicIpArray{ GetVmsVmPrimaryNicPrivateIpLinkPublicIpArgs{...} } -type GetVmsVmPrimaryNicPrivateIpLinkPublicIpArrayInput interface { - pulumi.Input - - ToGetVmsVmPrimaryNicPrivateIpLinkPublicIpArrayOutput() GetVmsVmPrimaryNicPrivateIpLinkPublicIpArrayOutput - ToGetVmsVmPrimaryNicPrivateIpLinkPublicIpArrayOutputWithContext(context.Context) GetVmsVmPrimaryNicPrivateIpLinkPublicIpArrayOutput -} - -type GetVmsVmPrimaryNicPrivateIpLinkPublicIpArray []GetVmsVmPrimaryNicPrivateIpLinkPublicIpInput - -func (GetVmsVmPrimaryNicPrivateIpLinkPublicIpArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsVmPrimaryNicPrivateIpLinkPublicIp)(nil)).Elem() -} - -func (i GetVmsVmPrimaryNicPrivateIpLinkPublicIpArray) ToGetVmsVmPrimaryNicPrivateIpLinkPublicIpArrayOutput() GetVmsVmPrimaryNicPrivateIpLinkPublicIpArrayOutput { - return i.ToGetVmsVmPrimaryNicPrivateIpLinkPublicIpArrayOutputWithContext(context.Background()) -} - -func (i GetVmsVmPrimaryNicPrivateIpLinkPublicIpArray) ToGetVmsVmPrimaryNicPrivateIpLinkPublicIpArrayOutputWithContext(ctx context.Context) GetVmsVmPrimaryNicPrivateIpLinkPublicIpArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsVmPrimaryNicPrivateIpLinkPublicIpArrayOutput) -} - -type GetVmsVmPrimaryNicPrivateIpLinkPublicIpOutput struct{ *pulumi.OutputState } - -func (GetVmsVmPrimaryNicPrivateIpLinkPublicIpOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsVmPrimaryNicPrivateIpLinkPublicIp)(nil)).Elem() -} - -func (o GetVmsVmPrimaryNicPrivateIpLinkPublicIpOutput) ToGetVmsVmPrimaryNicPrivateIpLinkPublicIpOutput() GetVmsVmPrimaryNicPrivateIpLinkPublicIpOutput { - return o -} - -func (o GetVmsVmPrimaryNicPrivateIpLinkPublicIpOutput) ToGetVmsVmPrimaryNicPrivateIpLinkPublicIpOutputWithContext(ctx context.Context) GetVmsVmPrimaryNicPrivateIpLinkPublicIpOutput { - return o -} - -// The name of the public DNS. -func (o GetVmsVmPrimaryNicPrivateIpLinkPublicIpOutput) PublicDnsName() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmPrimaryNicPrivateIpLinkPublicIp) string { return v.PublicDnsName }).(pulumi.StringOutput) -} - -// The public IP of the VM. -func (o GetVmsVmPrimaryNicPrivateIpLinkPublicIpOutput) PublicIp() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmPrimaryNicPrivateIpLinkPublicIp) string { return v.PublicIp }).(pulumi.StringOutput) -} - -// The account ID of the owner of the public IP. -func (o GetVmsVmPrimaryNicPrivateIpLinkPublicIpOutput) PublicIpAccountId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmPrimaryNicPrivateIpLinkPublicIp) string { return v.PublicIpAccountId }).(pulumi.StringOutput) -} - -type GetVmsVmPrimaryNicPrivateIpLinkPublicIpArrayOutput struct{ *pulumi.OutputState } - -func (GetVmsVmPrimaryNicPrivateIpLinkPublicIpArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsVmPrimaryNicPrivateIpLinkPublicIp)(nil)).Elem() -} - -func (o GetVmsVmPrimaryNicPrivateIpLinkPublicIpArrayOutput) ToGetVmsVmPrimaryNicPrivateIpLinkPublicIpArrayOutput() GetVmsVmPrimaryNicPrivateIpLinkPublicIpArrayOutput { - return o -} - -func (o GetVmsVmPrimaryNicPrivateIpLinkPublicIpArrayOutput) ToGetVmsVmPrimaryNicPrivateIpLinkPublicIpArrayOutputWithContext(ctx context.Context) GetVmsVmPrimaryNicPrivateIpLinkPublicIpArrayOutput { - return o -} - -func (o GetVmsVmPrimaryNicPrivateIpLinkPublicIpArrayOutput) Index(i pulumi.IntInput) GetVmsVmPrimaryNicPrivateIpLinkPublicIpOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmsVmPrimaryNicPrivateIpLinkPublicIp { - return vs[0].([]GetVmsVmPrimaryNicPrivateIpLinkPublicIp)[vs[1].(int)] - }).(GetVmsVmPrimaryNicPrivateIpLinkPublicIpOutput) -} - -type GetVmsVmPrimaryNicSecurityGroup struct { - // The ID of the security group. - SecurityGroupId string `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName string `pulumi:"securityGroupName"` -} - -// GetVmsVmPrimaryNicSecurityGroupInput is an input type that accepts GetVmsVmPrimaryNicSecurityGroupArgs and GetVmsVmPrimaryNicSecurityGroupOutput values. -// You can construct a concrete instance of `GetVmsVmPrimaryNicSecurityGroupInput` via: -// -// GetVmsVmPrimaryNicSecurityGroupArgs{...} -type GetVmsVmPrimaryNicSecurityGroupInput interface { - pulumi.Input - - ToGetVmsVmPrimaryNicSecurityGroupOutput() GetVmsVmPrimaryNicSecurityGroupOutput - ToGetVmsVmPrimaryNicSecurityGroupOutputWithContext(context.Context) GetVmsVmPrimaryNicSecurityGroupOutput -} - -type GetVmsVmPrimaryNicSecurityGroupArgs struct { - // The ID of the security group. - SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName pulumi.StringInput `pulumi:"securityGroupName"` -} - -func (GetVmsVmPrimaryNicSecurityGroupArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsVmPrimaryNicSecurityGroup)(nil)).Elem() -} - -func (i GetVmsVmPrimaryNicSecurityGroupArgs) ToGetVmsVmPrimaryNicSecurityGroupOutput() GetVmsVmPrimaryNicSecurityGroupOutput { - return i.ToGetVmsVmPrimaryNicSecurityGroupOutputWithContext(context.Background()) -} - -func (i GetVmsVmPrimaryNicSecurityGroupArgs) ToGetVmsVmPrimaryNicSecurityGroupOutputWithContext(ctx context.Context) GetVmsVmPrimaryNicSecurityGroupOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsVmPrimaryNicSecurityGroupOutput) -} - -// GetVmsVmPrimaryNicSecurityGroupArrayInput is an input type that accepts GetVmsVmPrimaryNicSecurityGroupArray and GetVmsVmPrimaryNicSecurityGroupArrayOutput values. -// You can construct a concrete instance of `GetVmsVmPrimaryNicSecurityGroupArrayInput` via: -// -// GetVmsVmPrimaryNicSecurityGroupArray{ GetVmsVmPrimaryNicSecurityGroupArgs{...} } -type GetVmsVmPrimaryNicSecurityGroupArrayInput interface { - pulumi.Input - - ToGetVmsVmPrimaryNicSecurityGroupArrayOutput() GetVmsVmPrimaryNicSecurityGroupArrayOutput - ToGetVmsVmPrimaryNicSecurityGroupArrayOutputWithContext(context.Context) GetVmsVmPrimaryNicSecurityGroupArrayOutput -} - -type GetVmsVmPrimaryNicSecurityGroupArray []GetVmsVmPrimaryNicSecurityGroupInput - -func (GetVmsVmPrimaryNicSecurityGroupArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsVmPrimaryNicSecurityGroup)(nil)).Elem() -} - -func (i GetVmsVmPrimaryNicSecurityGroupArray) ToGetVmsVmPrimaryNicSecurityGroupArrayOutput() GetVmsVmPrimaryNicSecurityGroupArrayOutput { - return i.ToGetVmsVmPrimaryNicSecurityGroupArrayOutputWithContext(context.Background()) -} - -func (i GetVmsVmPrimaryNicSecurityGroupArray) ToGetVmsVmPrimaryNicSecurityGroupArrayOutputWithContext(ctx context.Context) GetVmsVmPrimaryNicSecurityGroupArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsVmPrimaryNicSecurityGroupArrayOutput) -} - -type GetVmsVmPrimaryNicSecurityGroupOutput struct{ *pulumi.OutputState } - -func (GetVmsVmPrimaryNicSecurityGroupOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsVmPrimaryNicSecurityGroup)(nil)).Elem() -} - -func (o GetVmsVmPrimaryNicSecurityGroupOutput) ToGetVmsVmPrimaryNicSecurityGroupOutput() GetVmsVmPrimaryNicSecurityGroupOutput { - return o -} - -func (o GetVmsVmPrimaryNicSecurityGroupOutput) ToGetVmsVmPrimaryNicSecurityGroupOutputWithContext(ctx context.Context) GetVmsVmPrimaryNicSecurityGroupOutput { - return o -} - -// The ID of the security group. -func (o GetVmsVmPrimaryNicSecurityGroupOutput) SecurityGroupId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmPrimaryNicSecurityGroup) string { return v.SecurityGroupId }).(pulumi.StringOutput) -} - -// The name of the security group. -func (o GetVmsVmPrimaryNicSecurityGroupOutput) SecurityGroupName() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmPrimaryNicSecurityGroup) string { return v.SecurityGroupName }).(pulumi.StringOutput) -} - -type GetVmsVmPrimaryNicSecurityGroupArrayOutput struct{ *pulumi.OutputState } - -func (GetVmsVmPrimaryNicSecurityGroupArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsVmPrimaryNicSecurityGroup)(nil)).Elem() -} - -func (o GetVmsVmPrimaryNicSecurityGroupArrayOutput) ToGetVmsVmPrimaryNicSecurityGroupArrayOutput() GetVmsVmPrimaryNicSecurityGroupArrayOutput { - return o -} - -func (o GetVmsVmPrimaryNicSecurityGroupArrayOutput) ToGetVmsVmPrimaryNicSecurityGroupArrayOutputWithContext(ctx context.Context) GetVmsVmPrimaryNicSecurityGroupArrayOutput { - return o -} - -func (o GetVmsVmPrimaryNicSecurityGroupArrayOutput) Index(i pulumi.IntInput) GetVmsVmPrimaryNicSecurityGroupOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmsVmPrimaryNicSecurityGroup { - return vs[0].([]GetVmsVmPrimaryNicSecurityGroup)[vs[1].(int)] - }).(GetVmsVmPrimaryNicSecurityGroupOutput) -} - -type GetVmsVmSecurityGroup struct { - // The ID of the security group. - SecurityGroupId string `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName string `pulumi:"securityGroupName"` -} - -// GetVmsVmSecurityGroupInput is an input type that accepts GetVmsVmSecurityGroupArgs and GetVmsVmSecurityGroupOutput values. -// You can construct a concrete instance of `GetVmsVmSecurityGroupInput` via: -// -// GetVmsVmSecurityGroupArgs{...} -type GetVmsVmSecurityGroupInput interface { - pulumi.Input - - ToGetVmsVmSecurityGroupOutput() GetVmsVmSecurityGroupOutput - ToGetVmsVmSecurityGroupOutputWithContext(context.Context) GetVmsVmSecurityGroupOutput -} - -type GetVmsVmSecurityGroupArgs struct { - // The ID of the security group. - SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"` - // The name of the security group. - SecurityGroupName pulumi.StringInput `pulumi:"securityGroupName"` -} - -func (GetVmsVmSecurityGroupArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsVmSecurityGroup)(nil)).Elem() -} - -func (i GetVmsVmSecurityGroupArgs) ToGetVmsVmSecurityGroupOutput() GetVmsVmSecurityGroupOutput { - return i.ToGetVmsVmSecurityGroupOutputWithContext(context.Background()) -} - -func (i GetVmsVmSecurityGroupArgs) ToGetVmsVmSecurityGroupOutputWithContext(ctx context.Context) GetVmsVmSecurityGroupOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsVmSecurityGroupOutput) -} - -// GetVmsVmSecurityGroupArrayInput is an input type that accepts GetVmsVmSecurityGroupArray and GetVmsVmSecurityGroupArrayOutput values. -// You can construct a concrete instance of `GetVmsVmSecurityGroupArrayInput` via: -// -// GetVmsVmSecurityGroupArray{ GetVmsVmSecurityGroupArgs{...} } -type GetVmsVmSecurityGroupArrayInput interface { - pulumi.Input - - ToGetVmsVmSecurityGroupArrayOutput() GetVmsVmSecurityGroupArrayOutput - ToGetVmsVmSecurityGroupArrayOutputWithContext(context.Context) GetVmsVmSecurityGroupArrayOutput -} - -type GetVmsVmSecurityGroupArray []GetVmsVmSecurityGroupInput - -func (GetVmsVmSecurityGroupArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsVmSecurityGroup)(nil)).Elem() -} - -func (i GetVmsVmSecurityGroupArray) ToGetVmsVmSecurityGroupArrayOutput() GetVmsVmSecurityGroupArrayOutput { - return i.ToGetVmsVmSecurityGroupArrayOutputWithContext(context.Background()) -} - -func (i GetVmsVmSecurityGroupArray) ToGetVmsVmSecurityGroupArrayOutputWithContext(ctx context.Context) GetVmsVmSecurityGroupArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsVmSecurityGroupArrayOutput) -} - -type GetVmsVmSecurityGroupOutput struct{ *pulumi.OutputState } - -func (GetVmsVmSecurityGroupOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsVmSecurityGroup)(nil)).Elem() -} - -func (o GetVmsVmSecurityGroupOutput) ToGetVmsVmSecurityGroupOutput() GetVmsVmSecurityGroupOutput { - return o -} - -func (o GetVmsVmSecurityGroupOutput) ToGetVmsVmSecurityGroupOutputWithContext(ctx context.Context) GetVmsVmSecurityGroupOutput { - return o -} - -// The ID of the security group. -func (o GetVmsVmSecurityGroupOutput) SecurityGroupId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmSecurityGroup) string { return v.SecurityGroupId }).(pulumi.StringOutput) -} - -// The name of the security group. -func (o GetVmsVmSecurityGroupOutput) SecurityGroupName() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmSecurityGroup) string { return v.SecurityGroupName }).(pulumi.StringOutput) -} - -type GetVmsVmSecurityGroupArrayOutput struct{ *pulumi.OutputState } - -func (GetVmsVmSecurityGroupArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsVmSecurityGroup)(nil)).Elem() -} - -func (o GetVmsVmSecurityGroupArrayOutput) ToGetVmsVmSecurityGroupArrayOutput() GetVmsVmSecurityGroupArrayOutput { - return o -} - -func (o GetVmsVmSecurityGroupArrayOutput) ToGetVmsVmSecurityGroupArrayOutputWithContext(ctx context.Context) GetVmsVmSecurityGroupArrayOutput { - return o -} - -func (o GetVmsVmSecurityGroupArrayOutput) Index(i pulumi.IntInput) GetVmsVmSecurityGroupOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmsVmSecurityGroup { - return vs[0].([]GetVmsVmSecurityGroup)[vs[1].(int)] - }).(GetVmsVmSecurityGroupOutput) -} - -type GetVmsVmTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetVmsVmTagInput is an input type that accepts GetVmsVmTagArgs and GetVmsVmTagOutput values. -// You can construct a concrete instance of `GetVmsVmTagInput` via: -// -// GetVmsVmTagArgs{...} -type GetVmsVmTagInput interface { - pulumi.Input - - ToGetVmsVmTagOutput() GetVmsVmTagOutput - ToGetVmsVmTagOutputWithContext(context.Context) GetVmsVmTagOutput -} - -type GetVmsVmTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetVmsVmTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsVmTag)(nil)).Elem() -} - -func (i GetVmsVmTagArgs) ToGetVmsVmTagOutput() GetVmsVmTagOutput { - return i.ToGetVmsVmTagOutputWithContext(context.Background()) -} - -func (i GetVmsVmTagArgs) ToGetVmsVmTagOutputWithContext(ctx context.Context) GetVmsVmTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsVmTagOutput) -} - -// GetVmsVmTagArrayInput is an input type that accepts GetVmsVmTagArray and GetVmsVmTagArrayOutput values. -// You can construct a concrete instance of `GetVmsVmTagArrayInput` via: -// -// GetVmsVmTagArray{ GetVmsVmTagArgs{...} } -type GetVmsVmTagArrayInput interface { - pulumi.Input - - ToGetVmsVmTagArrayOutput() GetVmsVmTagArrayOutput - ToGetVmsVmTagArrayOutputWithContext(context.Context) GetVmsVmTagArrayOutput -} - -type GetVmsVmTagArray []GetVmsVmTagInput - -func (GetVmsVmTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsVmTag)(nil)).Elem() -} - -func (i GetVmsVmTagArray) ToGetVmsVmTagArrayOutput() GetVmsVmTagArrayOutput { - return i.ToGetVmsVmTagArrayOutputWithContext(context.Background()) -} - -func (i GetVmsVmTagArray) ToGetVmsVmTagArrayOutputWithContext(ctx context.Context) GetVmsVmTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmsVmTagArrayOutput) -} - -type GetVmsVmTagOutput struct{ *pulumi.OutputState } - -func (GetVmsVmTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmsVmTag)(nil)).Elem() -} - -func (o GetVmsVmTagOutput) ToGetVmsVmTagOutput() GetVmsVmTagOutput { - return o -} - -func (o GetVmsVmTagOutput) ToGetVmsVmTagOutputWithContext(ctx context.Context) GetVmsVmTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetVmsVmTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetVmsVmTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetVmsVmTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetVmsVmTagArrayOutput struct{ *pulumi.OutputState } - -func (GetVmsVmTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmsVmTag)(nil)).Elem() -} - -func (o GetVmsVmTagArrayOutput) ToGetVmsVmTagArrayOutput() GetVmsVmTagArrayOutput { - return o -} - -func (o GetVmsVmTagArrayOutput) ToGetVmsVmTagArrayOutputWithContext(ctx context.Context) GetVmsVmTagArrayOutput { - return o -} - -func (o GetVmsVmTagArrayOutput) Index(i pulumi.IntInput) GetVmsVmTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmsVmTag { - return vs[0].([]GetVmsVmTag)[vs[1].(int)] - }).(GetVmsVmTagOutput) -} - -type GetVolumeFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetVolumeFilterInput is an input type that accepts GetVolumeFilterArgs and GetVolumeFilterOutput values. -// You can construct a concrete instance of `GetVolumeFilterInput` via: -// -// GetVolumeFilterArgs{...} -type GetVolumeFilterInput interface { - pulumi.Input - - ToGetVolumeFilterOutput() GetVolumeFilterOutput - ToGetVolumeFilterOutputWithContext(context.Context) GetVolumeFilterOutput -} - -type GetVolumeFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetVolumeFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVolumeFilter)(nil)).Elem() -} - -func (i GetVolumeFilterArgs) ToGetVolumeFilterOutput() GetVolumeFilterOutput { - return i.ToGetVolumeFilterOutputWithContext(context.Background()) -} - -func (i GetVolumeFilterArgs) ToGetVolumeFilterOutputWithContext(ctx context.Context) GetVolumeFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVolumeFilterOutput) -} - -// GetVolumeFilterArrayInput is an input type that accepts GetVolumeFilterArray and GetVolumeFilterArrayOutput values. -// You can construct a concrete instance of `GetVolumeFilterArrayInput` via: -// -// GetVolumeFilterArray{ GetVolumeFilterArgs{...} } -type GetVolumeFilterArrayInput interface { - pulumi.Input - - ToGetVolumeFilterArrayOutput() GetVolumeFilterArrayOutput - ToGetVolumeFilterArrayOutputWithContext(context.Context) GetVolumeFilterArrayOutput -} - -type GetVolumeFilterArray []GetVolumeFilterInput - -func (GetVolumeFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVolumeFilter)(nil)).Elem() -} - -func (i GetVolumeFilterArray) ToGetVolumeFilterArrayOutput() GetVolumeFilterArrayOutput { - return i.ToGetVolumeFilterArrayOutputWithContext(context.Background()) -} - -func (i GetVolumeFilterArray) ToGetVolumeFilterArrayOutputWithContext(ctx context.Context) GetVolumeFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVolumeFilterArrayOutput) -} - -type GetVolumeFilterOutput struct{ *pulumi.OutputState } - -func (GetVolumeFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVolumeFilter)(nil)).Elem() -} - -func (o GetVolumeFilterOutput) ToGetVolumeFilterOutput() GetVolumeFilterOutput { - return o -} - -func (o GetVolumeFilterOutput) ToGetVolumeFilterOutputWithContext(ctx context.Context) GetVolumeFilterOutput { - return o -} - -func (o GetVolumeFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetVolumeFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetVolumeFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetVolumeFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetVolumeFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetVolumeFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVolumeFilter)(nil)).Elem() -} - -func (o GetVolumeFilterArrayOutput) ToGetVolumeFilterArrayOutput() GetVolumeFilterArrayOutput { - return o -} - -func (o GetVolumeFilterArrayOutput) ToGetVolumeFilterArrayOutputWithContext(ctx context.Context) GetVolumeFilterArrayOutput { - return o -} - -func (o GetVolumeFilterArrayOutput) Index(i pulumi.IntInput) GetVolumeFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVolumeFilter { - return vs[0].([]GetVolumeFilter)[vs[1].(int)] - }).(GetVolumeFilterOutput) -} - -type GetVolumeLinkedVolume struct { - // If true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - DeleteOnVmDeletion bool `pulumi:"deleteOnVmDeletion"` - // The name of the device. - DeviceName string `pulumi:"deviceName"` - // The state of the volume (`creating` \| `available` \| `in-use` \| `updating` \| `deleting` \| `error`). - State string `pulumi:"state"` - // The ID of the VM. - VmId string `pulumi:"vmId"` - // The ID of the volume. - VolumeId string `pulumi:"volumeId"` -} - -// GetVolumeLinkedVolumeInput is an input type that accepts GetVolumeLinkedVolumeArgs and GetVolumeLinkedVolumeOutput values. -// You can construct a concrete instance of `GetVolumeLinkedVolumeInput` via: -// -// GetVolumeLinkedVolumeArgs{...} -type GetVolumeLinkedVolumeInput interface { - pulumi.Input - - ToGetVolumeLinkedVolumeOutput() GetVolumeLinkedVolumeOutput - ToGetVolumeLinkedVolumeOutputWithContext(context.Context) GetVolumeLinkedVolumeOutput -} - -type GetVolumeLinkedVolumeArgs struct { - // If true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - DeleteOnVmDeletion pulumi.BoolInput `pulumi:"deleteOnVmDeletion"` - // The name of the device. - DeviceName pulumi.StringInput `pulumi:"deviceName"` - // The state of the volume (`creating` \| `available` \| `in-use` \| `updating` \| `deleting` \| `error`). - State pulumi.StringInput `pulumi:"state"` - // The ID of the VM. - VmId pulumi.StringInput `pulumi:"vmId"` - // The ID of the volume. - VolumeId pulumi.StringInput `pulumi:"volumeId"` -} - -func (GetVolumeLinkedVolumeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVolumeLinkedVolume)(nil)).Elem() -} - -func (i GetVolumeLinkedVolumeArgs) ToGetVolumeLinkedVolumeOutput() GetVolumeLinkedVolumeOutput { - return i.ToGetVolumeLinkedVolumeOutputWithContext(context.Background()) -} - -func (i GetVolumeLinkedVolumeArgs) ToGetVolumeLinkedVolumeOutputWithContext(ctx context.Context) GetVolumeLinkedVolumeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVolumeLinkedVolumeOutput) -} - -// GetVolumeLinkedVolumeArrayInput is an input type that accepts GetVolumeLinkedVolumeArray and GetVolumeLinkedVolumeArrayOutput values. -// You can construct a concrete instance of `GetVolumeLinkedVolumeArrayInput` via: -// -// GetVolumeLinkedVolumeArray{ GetVolumeLinkedVolumeArgs{...} } -type GetVolumeLinkedVolumeArrayInput interface { - pulumi.Input - - ToGetVolumeLinkedVolumeArrayOutput() GetVolumeLinkedVolumeArrayOutput - ToGetVolumeLinkedVolumeArrayOutputWithContext(context.Context) GetVolumeLinkedVolumeArrayOutput -} - -type GetVolumeLinkedVolumeArray []GetVolumeLinkedVolumeInput - -func (GetVolumeLinkedVolumeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVolumeLinkedVolume)(nil)).Elem() -} - -func (i GetVolumeLinkedVolumeArray) ToGetVolumeLinkedVolumeArrayOutput() GetVolumeLinkedVolumeArrayOutput { - return i.ToGetVolumeLinkedVolumeArrayOutputWithContext(context.Background()) -} - -func (i GetVolumeLinkedVolumeArray) ToGetVolumeLinkedVolumeArrayOutputWithContext(ctx context.Context) GetVolumeLinkedVolumeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVolumeLinkedVolumeArrayOutput) -} - -type GetVolumeLinkedVolumeOutput struct{ *pulumi.OutputState } - -func (GetVolumeLinkedVolumeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVolumeLinkedVolume)(nil)).Elem() -} - -func (o GetVolumeLinkedVolumeOutput) ToGetVolumeLinkedVolumeOutput() GetVolumeLinkedVolumeOutput { - return o -} - -func (o GetVolumeLinkedVolumeOutput) ToGetVolumeLinkedVolumeOutputWithContext(ctx context.Context) GetVolumeLinkedVolumeOutput { - return o -} - -// If true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. -func (o GetVolumeLinkedVolumeOutput) DeleteOnVmDeletion() pulumi.BoolOutput { - return o.ApplyT(func(v GetVolumeLinkedVolume) bool { return v.DeleteOnVmDeletion }).(pulumi.BoolOutput) -} - -// The name of the device. -func (o GetVolumeLinkedVolumeOutput) DeviceName() pulumi.StringOutput { - return o.ApplyT(func(v GetVolumeLinkedVolume) string { return v.DeviceName }).(pulumi.StringOutput) -} - -// The state of the volume (`creating` \| `available` \| `in-use` \| `updating` \| `deleting` \| `error`). -func (o GetVolumeLinkedVolumeOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetVolumeLinkedVolume) string { return v.State }).(pulumi.StringOutput) -} - -// The ID of the VM. -func (o GetVolumeLinkedVolumeOutput) VmId() pulumi.StringOutput { - return o.ApplyT(func(v GetVolumeLinkedVolume) string { return v.VmId }).(pulumi.StringOutput) -} - -// The ID of the volume. -func (o GetVolumeLinkedVolumeOutput) VolumeId() pulumi.StringOutput { - return o.ApplyT(func(v GetVolumeLinkedVolume) string { return v.VolumeId }).(pulumi.StringOutput) -} - -type GetVolumeLinkedVolumeArrayOutput struct{ *pulumi.OutputState } - -func (GetVolumeLinkedVolumeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVolumeLinkedVolume)(nil)).Elem() -} - -func (o GetVolumeLinkedVolumeArrayOutput) ToGetVolumeLinkedVolumeArrayOutput() GetVolumeLinkedVolumeArrayOutput { - return o -} - -func (o GetVolumeLinkedVolumeArrayOutput) ToGetVolumeLinkedVolumeArrayOutputWithContext(ctx context.Context) GetVolumeLinkedVolumeArrayOutput { - return o -} - -func (o GetVolumeLinkedVolumeArrayOutput) Index(i pulumi.IntInput) GetVolumeLinkedVolumeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVolumeLinkedVolume { - return vs[0].([]GetVolumeLinkedVolume)[vs[1].(int)] - }).(GetVolumeLinkedVolumeOutput) -} - -type GetVolumeTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetVolumeTagInput is an input type that accepts GetVolumeTagArgs and GetVolumeTagOutput values. -// You can construct a concrete instance of `GetVolumeTagInput` via: -// -// GetVolumeTagArgs{...} -type GetVolumeTagInput interface { - pulumi.Input - - ToGetVolumeTagOutput() GetVolumeTagOutput - ToGetVolumeTagOutputWithContext(context.Context) GetVolumeTagOutput -} - -type GetVolumeTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetVolumeTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVolumeTag)(nil)).Elem() -} - -func (i GetVolumeTagArgs) ToGetVolumeTagOutput() GetVolumeTagOutput { - return i.ToGetVolumeTagOutputWithContext(context.Background()) -} - -func (i GetVolumeTagArgs) ToGetVolumeTagOutputWithContext(ctx context.Context) GetVolumeTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVolumeTagOutput) -} - -// GetVolumeTagArrayInput is an input type that accepts GetVolumeTagArray and GetVolumeTagArrayOutput values. -// You can construct a concrete instance of `GetVolumeTagArrayInput` via: -// -// GetVolumeTagArray{ GetVolumeTagArgs{...} } -type GetVolumeTagArrayInput interface { - pulumi.Input - - ToGetVolumeTagArrayOutput() GetVolumeTagArrayOutput - ToGetVolumeTagArrayOutputWithContext(context.Context) GetVolumeTagArrayOutput -} - -type GetVolumeTagArray []GetVolumeTagInput - -func (GetVolumeTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVolumeTag)(nil)).Elem() -} - -func (i GetVolumeTagArray) ToGetVolumeTagArrayOutput() GetVolumeTagArrayOutput { - return i.ToGetVolumeTagArrayOutputWithContext(context.Background()) -} - -func (i GetVolumeTagArray) ToGetVolumeTagArrayOutputWithContext(ctx context.Context) GetVolumeTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVolumeTagArrayOutput) -} - -type GetVolumeTagOutput struct{ *pulumi.OutputState } - -func (GetVolumeTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVolumeTag)(nil)).Elem() -} - -func (o GetVolumeTagOutput) ToGetVolumeTagOutput() GetVolumeTagOutput { - return o -} - -func (o GetVolumeTagOutput) ToGetVolumeTagOutputWithContext(ctx context.Context) GetVolumeTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetVolumeTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetVolumeTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetVolumeTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetVolumeTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetVolumeTagArrayOutput struct{ *pulumi.OutputState } - -func (GetVolumeTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVolumeTag)(nil)).Elem() -} - -func (o GetVolumeTagArrayOutput) ToGetVolumeTagArrayOutput() GetVolumeTagArrayOutput { - return o -} - -func (o GetVolumeTagArrayOutput) ToGetVolumeTagArrayOutputWithContext(ctx context.Context) GetVolumeTagArrayOutput { - return o -} - -func (o GetVolumeTagArrayOutput) Index(i pulumi.IntInput) GetVolumeTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVolumeTag { - return vs[0].([]GetVolumeTag)[vs[1].(int)] - }).(GetVolumeTagOutput) -} - -type GetVolumesFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetVolumesFilterInput is an input type that accepts GetVolumesFilterArgs and GetVolumesFilterOutput values. -// You can construct a concrete instance of `GetVolumesFilterInput` via: -// -// GetVolumesFilterArgs{...} -type GetVolumesFilterInput interface { - pulumi.Input - - ToGetVolumesFilterOutput() GetVolumesFilterOutput - ToGetVolumesFilterOutputWithContext(context.Context) GetVolumesFilterOutput -} - -type GetVolumesFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetVolumesFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVolumesFilter)(nil)).Elem() -} - -func (i GetVolumesFilterArgs) ToGetVolumesFilterOutput() GetVolumesFilterOutput { - return i.ToGetVolumesFilterOutputWithContext(context.Background()) -} - -func (i GetVolumesFilterArgs) ToGetVolumesFilterOutputWithContext(ctx context.Context) GetVolumesFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVolumesFilterOutput) -} - -// GetVolumesFilterArrayInput is an input type that accepts GetVolumesFilterArray and GetVolumesFilterArrayOutput values. -// You can construct a concrete instance of `GetVolumesFilterArrayInput` via: -// -// GetVolumesFilterArray{ GetVolumesFilterArgs{...} } -type GetVolumesFilterArrayInput interface { - pulumi.Input - - ToGetVolumesFilterArrayOutput() GetVolumesFilterArrayOutput - ToGetVolumesFilterArrayOutputWithContext(context.Context) GetVolumesFilterArrayOutput -} - -type GetVolumesFilterArray []GetVolumesFilterInput - -func (GetVolumesFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVolumesFilter)(nil)).Elem() -} - -func (i GetVolumesFilterArray) ToGetVolumesFilterArrayOutput() GetVolumesFilterArrayOutput { - return i.ToGetVolumesFilterArrayOutputWithContext(context.Background()) -} - -func (i GetVolumesFilterArray) ToGetVolumesFilterArrayOutputWithContext(ctx context.Context) GetVolumesFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVolumesFilterArrayOutput) -} - -type GetVolumesFilterOutput struct{ *pulumi.OutputState } - -func (GetVolumesFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVolumesFilter)(nil)).Elem() -} - -func (o GetVolumesFilterOutput) ToGetVolumesFilterOutput() GetVolumesFilterOutput { - return o -} - -func (o GetVolumesFilterOutput) ToGetVolumesFilterOutputWithContext(ctx context.Context) GetVolumesFilterOutput { - return o -} - -func (o GetVolumesFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetVolumesFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetVolumesFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetVolumesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetVolumesFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetVolumesFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVolumesFilter)(nil)).Elem() -} - -func (o GetVolumesFilterArrayOutput) ToGetVolumesFilterArrayOutput() GetVolumesFilterArrayOutput { - return o -} - -func (o GetVolumesFilterArrayOutput) ToGetVolumesFilterArrayOutputWithContext(ctx context.Context) GetVolumesFilterArrayOutput { - return o -} - -func (o GetVolumesFilterArrayOutput) Index(i pulumi.IntInput) GetVolumesFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVolumesFilter { - return vs[0].([]GetVolumesFilter)[vs[1].(int)] - }).(GetVolumesFilterOutput) -} - -type GetVolumesVolume struct { - // The date and time of creation of the volume. - CreationDate string `pulumi:"creationDate"` - // The number of I/O operations per second (IOPS):
- For `io1` volumes, the number of provisioned IOPS.
- For `gp2` volumes, the baseline performance of the volume. - Iops int `pulumi:"iops"` - // Information about your volume attachment. - LinkedVolumes []GetVolumesVolumeLinkedVolume `pulumi:"linkedVolumes"` - // The size of the volume, in gibibytes (GiB). - Size int `pulumi:"size"` - // The snapshot from which the volume was created. - SnapshotId string `pulumi:"snapshotId"` - // The state of the volume (`creating` \| `available` \| `in-use` \| `updating` \| `deleting` \| `error`). - State string `pulumi:"state"` - // The Subregion in which the volume was created. - SubregionName string `pulumi:"subregionName"` - // The key/value combinations of the tags associated with the volumes, in the following format: `TAGKEY=TAGVALUE`. - Tags []GetVolumesVolumeTag `pulumi:"tags"` - // The ID of the volume. - VolumeId string `pulumi:"volumeId"` - // The type of the volume (`standard` \| `gp2` \| `io1`). - VolumeType string `pulumi:"volumeType"` -} - -// GetVolumesVolumeInput is an input type that accepts GetVolumesVolumeArgs and GetVolumesVolumeOutput values. -// You can construct a concrete instance of `GetVolumesVolumeInput` via: -// -// GetVolumesVolumeArgs{...} -type GetVolumesVolumeInput interface { - pulumi.Input - - ToGetVolumesVolumeOutput() GetVolumesVolumeOutput - ToGetVolumesVolumeOutputWithContext(context.Context) GetVolumesVolumeOutput -} - -type GetVolumesVolumeArgs struct { - // The date and time of creation of the volume. - CreationDate pulumi.StringInput `pulumi:"creationDate"` - // The number of I/O operations per second (IOPS):
- For `io1` volumes, the number of provisioned IOPS.
- For `gp2` volumes, the baseline performance of the volume. - Iops pulumi.IntInput `pulumi:"iops"` - // Information about your volume attachment. - LinkedVolumes GetVolumesVolumeLinkedVolumeArrayInput `pulumi:"linkedVolumes"` - // The size of the volume, in gibibytes (GiB). - Size pulumi.IntInput `pulumi:"size"` - // The snapshot from which the volume was created. - SnapshotId pulumi.StringInput `pulumi:"snapshotId"` - // The state of the volume (`creating` \| `available` \| `in-use` \| `updating` \| `deleting` \| `error`). - State pulumi.StringInput `pulumi:"state"` - // The Subregion in which the volume was created. - SubregionName pulumi.StringInput `pulumi:"subregionName"` - // The key/value combinations of the tags associated with the volumes, in the following format: `TAGKEY=TAGVALUE`. - Tags GetVolumesVolumeTagArrayInput `pulumi:"tags"` - // The ID of the volume. - VolumeId pulumi.StringInput `pulumi:"volumeId"` - // The type of the volume (`standard` \| `gp2` \| `io1`). - VolumeType pulumi.StringInput `pulumi:"volumeType"` -} - -func (GetVolumesVolumeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVolumesVolume)(nil)).Elem() -} - -func (i GetVolumesVolumeArgs) ToGetVolumesVolumeOutput() GetVolumesVolumeOutput { - return i.ToGetVolumesVolumeOutputWithContext(context.Background()) -} - -func (i GetVolumesVolumeArgs) ToGetVolumesVolumeOutputWithContext(ctx context.Context) GetVolumesVolumeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVolumesVolumeOutput) -} - -// GetVolumesVolumeArrayInput is an input type that accepts GetVolumesVolumeArray and GetVolumesVolumeArrayOutput values. -// You can construct a concrete instance of `GetVolumesVolumeArrayInput` via: -// -// GetVolumesVolumeArray{ GetVolumesVolumeArgs{...} } -type GetVolumesVolumeArrayInput interface { - pulumi.Input - - ToGetVolumesVolumeArrayOutput() GetVolumesVolumeArrayOutput - ToGetVolumesVolumeArrayOutputWithContext(context.Context) GetVolumesVolumeArrayOutput -} - -type GetVolumesVolumeArray []GetVolumesVolumeInput - -func (GetVolumesVolumeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVolumesVolume)(nil)).Elem() -} - -func (i GetVolumesVolumeArray) ToGetVolumesVolumeArrayOutput() GetVolumesVolumeArrayOutput { - return i.ToGetVolumesVolumeArrayOutputWithContext(context.Background()) -} - -func (i GetVolumesVolumeArray) ToGetVolumesVolumeArrayOutputWithContext(ctx context.Context) GetVolumesVolumeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVolumesVolumeArrayOutput) -} - -type GetVolumesVolumeOutput struct{ *pulumi.OutputState } - -func (GetVolumesVolumeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVolumesVolume)(nil)).Elem() -} - -func (o GetVolumesVolumeOutput) ToGetVolumesVolumeOutput() GetVolumesVolumeOutput { - return o -} - -func (o GetVolumesVolumeOutput) ToGetVolumesVolumeOutputWithContext(ctx context.Context) GetVolumesVolumeOutput { - return o -} - -// The date and time of creation of the volume. -func (o GetVolumesVolumeOutput) CreationDate() pulumi.StringOutput { - return o.ApplyT(func(v GetVolumesVolume) string { return v.CreationDate }).(pulumi.StringOutput) -} - -// The number of I/O operations per second (IOPS):
- For `io1` volumes, the number of provisioned IOPS.
- For `gp2` volumes, the baseline performance of the volume. -func (o GetVolumesVolumeOutput) Iops() pulumi.IntOutput { - return o.ApplyT(func(v GetVolumesVolume) int { return v.Iops }).(pulumi.IntOutput) -} - -// Information about your volume attachment. -func (o GetVolumesVolumeOutput) LinkedVolumes() GetVolumesVolumeLinkedVolumeArrayOutput { - return o.ApplyT(func(v GetVolumesVolume) []GetVolumesVolumeLinkedVolume { return v.LinkedVolumes }).(GetVolumesVolumeLinkedVolumeArrayOutput) -} - -// The size of the volume, in gibibytes (GiB). -func (o GetVolumesVolumeOutput) Size() pulumi.IntOutput { - return o.ApplyT(func(v GetVolumesVolume) int { return v.Size }).(pulumi.IntOutput) -} - -// The snapshot from which the volume was created. -func (o GetVolumesVolumeOutput) SnapshotId() pulumi.StringOutput { - return o.ApplyT(func(v GetVolumesVolume) string { return v.SnapshotId }).(pulumi.StringOutput) -} - -// The state of the volume (`creating` \| `available` \| `in-use` \| `updating` \| `deleting` \| `error`). -func (o GetVolumesVolumeOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetVolumesVolume) string { return v.State }).(pulumi.StringOutput) -} - -// The Subregion in which the volume was created. -func (o GetVolumesVolumeOutput) SubregionName() pulumi.StringOutput { - return o.ApplyT(func(v GetVolumesVolume) string { return v.SubregionName }).(pulumi.StringOutput) -} - -// The key/value combinations of the tags associated with the volumes, in the following format: `TAGKEY=TAGVALUE`. -func (o GetVolumesVolumeOutput) Tags() GetVolumesVolumeTagArrayOutput { - return o.ApplyT(func(v GetVolumesVolume) []GetVolumesVolumeTag { return v.Tags }).(GetVolumesVolumeTagArrayOutput) -} - -// The ID of the volume. -func (o GetVolumesVolumeOutput) VolumeId() pulumi.StringOutput { - return o.ApplyT(func(v GetVolumesVolume) string { return v.VolumeId }).(pulumi.StringOutput) -} - -// The type of the volume (`standard` \| `gp2` \| `io1`). -func (o GetVolumesVolumeOutput) VolumeType() pulumi.StringOutput { - return o.ApplyT(func(v GetVolumesVolume) string { return v.VolumeType }).(pulumi.StringOutput) -} - -type GetVolumesVolumeArrayOutput struct{ *pulumi.OutputState } - -func (GetVolumesVolumeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVolumesVolume)(nil)).Elem() -} - -func (o GetVolumesVolumeArrayOutput) ToGetVolumesVolumeArrayOutput() GetVolumesVolumeArrayOutput { - return o -} - -func (o GetVolumesVolumeArrayOutput) ToGetVolumesVolumeArrayOutputWithContext(ctx context.Context) GetVolumesVolumeArrayOutput { - return o -} - -func (o GetVolumesVolumeArrayOutput) Index(i pulumi.IntInput) GetVolumesVolumeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVolumesVolume { - return vs[0].([]GetVolumesVolume)[vs[1].(int)] - }).(GetVolumesVolumeOutput) -} - -type GetVolumesVolumeLinkedVolume struct { - // If true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - DeleteOnVmDeletion bool `pulumi:"deleteOnVmDeletion"` - // The name of the device. - DeviceName string `pulumi:"deviceName"` - // The state of the volume (`creating` \| `available` \| `in-use` \| `updating` \| `deleting` \| `error`). - State string `pulumi:"state"` - // The ID of the VM. - VmId string `pulumi:"vmId"` - // The ID of the volume. - VolumeId string `pulumi:"volumeId"` -} - -// GetVolumesVolumeLinkedVolumeInput is an input type that accepts GetVolumesVolumeLinkedVolumeArgs and GetVolumesVolumeLinkedVolumeOutput values. -// You can construct a concrete instance of `GetVolumesVolumeLinkedVolumeInput` via: -// -// GetVolumesVolumeLinkedVolumeArgs{...} -type GetVolumesVolumeLinkedVolumeInput interface { - pulumi.Input - - ToGetVolumesVolumeLinkedVolumeOutput() GetVolumesVolumeLinkedVolumeOutput - ToGetVolumesVolumeLinkedVolumeOutputWithContext(context.Context) GetVolumesVolumeLinkedVolumeOutput -} - -type GetVolumesVolumeLinkedVolumeArgs struct { - // If true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - DeleteOnVmDeletion pulumi.BoolInput `pulumi:"deleteOnVmDeletion"` - // The name of the device. - DeviceName pulumi.StringInput `pulumi:"deviceName"` - // The state of the volume (`creating` \| `available` \| `in-use` \| `updating` \| `deleting` \| `error`). - State pulumi.StringInput `pulumi:"state"` - // The ID of the VM. - VmId pulumi.StringInput `pulumi:"vmId"` - // The ID of the volume. - VolumeId pulumi.StringInput `pulumi:"volumeId"` -} - -func (GetVolumesVolumeLinkedVolumeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVolumesVolumeLinkedVolume)(nil)).Elem() -} - -func (i GetVolumesVolumeLinkedVolumeArgs) ToGetVolumesVolumeLinkedVolumeOutput() GetVolumesVolumeLinkedVolumeOutput { - return i.ToGetVolumesVolumeLinkedVolumeOutputWithContext(context.Background()) -} - -func (i GetVolumesVolumeLinkedVolumeArgs) ToGetVolumesVolumeLinkedVolumeOutputWithContext(ctx context.Context) GetVolumesVolumeLinkedVolumeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVolumesVolumeLinkedVolumeOutput) -} - -// GetVolumesVolumeLinkedVolumeArrayInput is an input type that accepts GetVolumesVolumeLinkedVolumeArray and GetVolumesVolumeLinkedVolumeArrayOutput values. -// You can construct a concrete instance of `GetVolumesVolumeLinkedVolumeArrayInput` via: -// -// GetVolumesVolumeLinkedVolumeArray{ GetVolumesVolumeLinkedVolumeArgs{...} } -type GetVolumesVolumeLinkedVolumeArrayInput interface { - pulumi.Input - - ToGetVolumesVolumeLinkedVolumeArrayOutput() GetVolumesVolumeLinkedVolumeArrayOutput - ToGetVolumesVolumeLinkedVolumeArrayOutputWithContext(context.Context) GetVolumesVolumeLinkedVolumeArrayOutput -} - -type GetVolumesVolumeLinkedVolumeArray []GetVolumesVolumeLinkedVolumeInput - -func (GetVolumesVolumeLinkedVolumeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVolumesVolumeLinkedVolume)(nil)).Elem() -} - -func (i GetVolumesVolumeLinkedVolumeArray) ToGetVolumesVolumeLinkedVolumeArrayOutput() GetVolumesVolumeLinkedVolumeArrayOutput { - return i.ToGetVolumesVolumeLinkedVolumeArrayOutputWithContext(context.Background()) -} - -func (i GetVolumesVolumeLinkedVolumeArray) ToGetVolumesVolumeLinkedVolumeArrayOutputWithContext(ctx context.Context) GetVolumesVolumeLinkedVolumeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVolumesVolumeLinkedVolumeArrayOutput) -} - -type GetVolumesVolumeLinkedVolumeOutput struct{ *pulumi.OutputState } - -func (GetVolumesVolumeLinkedVolumeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVolumesVolumeLinkedVolume)(nil)).Elem() -} - -func (o GetVolumesVolumeLinkedVolumeOutput) ToGetVolumesVolumeLinkedVolumeOutput() GetVolumesVolumeLinkedVolumeOutput { - return o -} - -func (o GetVolumesVolumeLinkedVolumeOutput) ToGetVolumesVolumeLinkedVolumeOutputWithContext(ctx context.Context) GetVolumesVolumeLinkedVolumeOutput { - return o -} - -// If true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. -func (o GetVolumesVolumeLinkedVolumeOutput) DeleteOnVmDeletion() pulumi.BoolOutput { - return o.ApplyT(func(v GetVolumesVolumeLinkedVolume) bool { return v.DeleteOnVmDeletion }).(pulumi.BoolOutput) -} - -// The name of the device. -func (o GetVolumesVolumeLinkedVolumeOutput) DeviceName() pulumi.StringOutput { - return o.ApplyT(func(v GetVolumesVolumeLinkedVolume) string { return v.DeviceName }).(pulumi.StringOutput) -} - -// The state of the volume (`creating` \| `available` \| `in-use` \| `updating` \| `deleting` \| `error`). -func (o GetVolumesVolumeLinkedVolumeOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetVolumesVolumeLinkedVolume) string { return v.State }).(pulumi.StringOutput) -} - -// The ID of the VM. -func (o GetVolumesVolumeLinkedVolumeOutput) VmId() pulumi.StringOutput { - return o.ApplyT(func(v GetVolumesVolumeLinkedVolume) string { return v.VmId }).(pulumi.StringOutput) -} - -// The ID of the volume. -func (o GetVolumesVolumeLinkedVolumeOutput) VolumeId() pulumi.StringOutput { - return o.ApplyT(func(v GetVolumesVolumeLinkedVolume) string { return v.VolumeId }).(pulumi.StringOutput) -} - -type GetVolumesVolumeLinkedVolumeArrayOutput struct{ *pulumi.OutputState } - -func (GetVolumesVolumeLinkedVolumeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVolumesVolumeLinkedVolume)(nil)).Elem() -} - -func (o GetVolumesVolumeLinkedVolumeArrayOutput) ToGetVolumesVolumeLinkedVolumeArrayOutput() GetVolumesVolumeLinkedVolumeArrayOutput { - return o -} - -func (o GetVolumesVolumeLinkedVolumeArrayOutput) ToGetVolumesVolumeLinkedVolumeArrayOutputWithContext(ctx context.Context) GetVolumesVolumeLinkedVolumeArrayOutput { - return o -} - -func (o GetVolumesVolumeLinkedVolumeArrayOutput) Index(i pulumi.IntInput) GetVolumesVolumeLinkedVolumeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVolumesVolumeLinkedVolume { - return vs[0].([]GetVolumesVolumeLinkedVolume)[vs[1].(int)] - }).(GetVolumesVolumeLinkedVolumeOutput) -} - -type GetVolumesVolumeTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetVolumesVolumeTagInput is an input type that accepts GetVolumesVolumeTagArgs and GetVolumesVolumeTagOutput values. -// You can construct a concrete instance of `GetVolumesVolumeTagInput` via: -// -// GetVolumesVolumeTagArgs{...} -type GetVolumesVolumeTagInput interface { - pulumi.Input - - ToGetVolumesVolumeTagOutput() GetVolumesVolumeTagOutput - ToGetVolumesVolumeTagOutputWithContext(context.Context) GetVolumesVolumeTagOutput -} - -type GetVolumesVolumeTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetVolumesVolumeTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVolumesVolumeTag)(nil)).Elem() -} - -func (i GetVolumesVolumeTagArgs) ToGetVolumesVolumeTagOutput() GetVolumesVolumeTagOutput { - return i.ToGetVolumesVolumeTagOutputWithContext(context.Background()) -} - -func (i GetVolumesVolumeTagArgs) ToGetVolumesVolumeTagOutputWithContext(ctx context.Context) GetVolumesVolumeTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVolumesVolumeTagOutput) -} - -// GetVolumesVolumeTagArrayInput is an input type that accepts GetVolumesVolumeTagArray and GetVolumesVolumeTagArrayOutput values. -// You can construct a concrete instance of `GetVolumesVolumeTagArrayInput` via: -// -// GetVolumesVolumeTagArray{ GetVolumesVolumeTagArgs{...} } -type GetVolumesVolumeTagArrayInput interface { - pulumi.Input - - ToGetVolumesVolumeTagArrayOutput() GetVolumesVolumeTagArrayOutput - ToGetVolumesVolumeTagArrayOutputWithContext(context.Context) GetVolumesVolumeTagArrayOutput -} - -type GetVolumesVolumeTagArray []GetVolumesVolumeTagInput - -func (GetVolumesVolumeTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVolumesVolumeTag)(nil)).Elem() -} - -func (i GetVolumesVolumeTagArray) ToGetVolumesVolumeTagArrayOutput() GetVolumesVolumeTagArrayOutput { - return i.ToGetVolumesVolumeTagArrayOutputWithContext(context.Background()) -} - -func (i GetVolumesVolumeTagArray) ToGetVolumesVolumeTagArrayOutputWithContext(ctx context.Context) GetVolumesVolumeTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVolumesVolumeTagArrayOutput) -} - -type GetVolumesVolumeTagOutput struct{ *pulumi.OutputState } - -func (GetVolumesVolumeTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVolumesVolumeTag)(nil)).Elem() -} - -func (o GetVolumesVolumeTagOutput) ToGetVolumesVolumeTagOutput() GetVolumesVolumeTagOutput { - return o -} - -func (o GetVolumesVolumeTagOutput) ToGetVolumesVolumeTagOutputWithContext(ctx context.Context) GetVolumesVolumeTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetVolumesVolumeTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetVolumesVolumeTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetVolumesVolumeTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetVolumesVolumeTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetVolumesVolumeTagArrayOutput struct{ *pulumi.OutputState } - -func (GetVolumesVolumeTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVolumesVolumeTag)(nil)).Elem() -} - -func (o GetVolumesVolumeTagArrayOutput) ToGetVolumesVolumeTagArrayOutput() GetVolumesVolumeTagArrayOutput { - return o -} - -func (o GetVolumesVolumeTagArrayOutput) ToGetVolumesVolumeTagArrayOutputWithContext(ctx context.Context) GetVolumesVolumeTagArrayOutput { - return o -} - -func (o GetVolumesVolumeTagArrayOutput) Index(i pulumi.IntInput) GetVolumesVolumeTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVolumesVolumeTag { - return vs[0].([]GetVolumesVolumeTag)[vs[1].(int)] - }).(GetVolumesVolumeTagOutput) -} - -type GetVpnConnectionFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetVpnConnectionFilterInput is an input type that accepts GetVpnConnectionFilterArgs and GetVpnConnectionFilterOutput values. -// You can construct a concrete instance of `GetVpnConnectionFilterInput` via: -// -// GetVpnConnectionFilterArgs{...} -type GetVpnConnectionFilterInput interface { - pulumi.Input - - ToGetVpnConnectionFilterOutput() GetVpnConnectionFilterOutput - ToGetVpnConnectionFilterOutputWithContext(context.Context) GetVpnConnectionFilterOutput -} - -type GetVpnConnectionFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetVpnConnectionFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpnConnectionFilter)(nil)).Elem() -} - -func (i GetVpnConnectionFilterArgs) ToGetVpnConnectionFilterOutput() GetVpnConnectionFilterOutput { - return i.ToGetVpnConnectionFilterOutputWithContext(context.Background()) -} - -func (i GetVpnConnectionFilterArgs) ToGetVpnConnectionFilterOutputWithContext(ctx context.Context) GetVpnConnectionFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpnConnectionFilterOutput) -} - -// GetVpnConnectionFilterArrayInput is an input type that accepts GetVpnConnectionFilterArray and GetVpnConnectionFilterArrayOutput values. -// You can construct a concrete instance of `GetVpnConnectionFilterArrayInput` via: -// -// GetVpnConnectionFilterArray{ GetVpnConnectionFilterArgs{...} } -type GetVpnConnectionFilterArrayInput interface { - pulumi.Input - - ToGetVpnConnectionFilterArrayOutput() GetVpnConnectionFilterArrayOutput - ToGetVpnConnectionFilterArrayOutputWithContext(context.Context) GetVpnConnectionFilterArrayOutput -} - -type GetVpnConnectionFilterArray []GetVpnConnectionFilterInput - -func (GetVpnConnectionFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpnConnectionFilter)(nil)).Elem() -} - -func (i GetVpnConnectionFilterArray) ToGetVpnConnectionFilterArrayOutput() GetVpnConnectionFilterArrayOutput { - return i.ToGetVpnConnectionFilterArrayOutputWithContext(context.Background()) -} - -func (i GetVpnConnectionFilterArray) ToGetVpnConnectionFilterArrayOutputWithContext(ctx context.Context) GetVpnConnectionFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpnConnectionFilterArrayOutput) -} - -type GetVpnConnectionFilterOutput struct{ *pulumi.OutputState } - -func (GetVpnConnectionFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpnConnectionFilter)(nil)).Elem() -} - -func (o GetVpnConnectionFilterOutput) ToGetVpnConnectionFilterOutput() GetVpnConnectionFilterOutput { - return o -} - -func (o GetVpnConnectionFilterOutput) ToGetVpnConnectionFilterOutputWithContext(ctx context.Context) GetVpnConnectionFilterOutput { - return o -} - -func (o GetVpnConnectionFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetVpnConnectionFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetVpnConnectionFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetVpnConnectionFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetVpnConnectionFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetVpnConnectionFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpnConnectionFilter)(nil)).Elem() -} - -func (o GetVpnConnectionFilterArrayOutput) ToGetVpnConnectionFilterArrayOutput() GetVpnConnectionFilterArrayOutput { - return o -} - -func (o GetVpnConnectionFilterArrayOutput) ToGetVpnConnectionFilterArrayOutputWithContext(ctx context.Context) GetVpnConnectionFilterArrayOutput { - return o -} - -func (o GetVpnConnectionFilterArrayOutput) Index(i pulumi.IntInput) GetVpnConnectionFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVpnConnectionFilter { - return vs[0].([]GetVpnConnectionFilter)[vs[1].(int)] - }).(GetVpnConnectionFilterOutput) -} - -type GetVpnConnectionRouteType struct { - // The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - DestinationIpRange string `pulumi:"destinationIpRange"` - // The type of route (always `static`). - RouteType string `pulumi:"routeType"` - // The state of the IPSEC tunnel (`UP` \| `DOWN`). - State string `pulumi:"state"` -} - -// GetVpnConnectionRouteTypeInput is an input type that accepts GetVpnConnectionRouteTypeArgs and GetVpnConnectionRouteTypeOutput values. -// You can construct a concrete instance of `GetVpnConnectionRouteTypeInput` via: -// -// GetVpnConnectionRouteTypeArgs{...} -type GetVpnConnectionRouteTypeInput interface { - pulumi.Input - - ToGetVpnConnectionRouteTypeOutput() GetVpnConnectionRouteTypeOutput - ToGetVpnConnectionRouteTypeOutputWithContext(context.Context) GetVpnConnectionRouteTypeOutput -} - -type GetVpnConnectionRouteTypeArgs struct { - // The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - DestinationIpRange pulumi.StringInput `pulumi:"destinationIpRange"` - // The type of route (always `static`). - RouteType pulumi.StringInput `pulumi:"routeType"` - // The state of the IPSEC tunnel (`UP` \| `DOWN`). - State pulumi.StringInput `pulumi:"state"` -} - -func (GetVpnConnectionRouteTypeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpnConnectionRouteType)(nil)).Elem() -} - -func (i GetVpnConnectionRouteTypeArgs) ToGetVpnConnectionRouteTypeOutput() GetVpnConnectionRouteTypeOutput { - return i.ToGetVpnConnectionRouteTypeOutputWithContext(context.Background()) -} - -func (i GetVpnConnectionRouteTypeArgs) ToGetVpnConnectionRouteTypeOutputWithContext(ctx context.Context) GetVpnConnectionRouteTypeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpnConnectionRouteTypeOutput) -} - -// GetVpnConnectionRouteTypeArrayInput is an input type that accepts GetVpnConnectionRouteTypeArray and GetVpnConnectionRouteTypeArrayOutput values. -// You can construct a concrete instance of `GetVpnConnectionRouteTypeArrayInput` via: -// -// GetVpnConnectionRouteTypeArray{ GetVpnConnectionRouteTypeArgs{...} } -type GetVpnConnectionRouteTypeArrayInput interface { - pulumi.Input - - ToGetVpnConnectionRouteTypeArrayOutput() GetVpnConnectionRouteTypeArrayOutput - ToGetVpnConnectionRouteTypeArrayOutputWithContext(context.Context) GetVpnConnectionRouteTypeArrayOutput -} - -type GetVpnConnectionRouteTypeArray []GetVpnConnectionRouteTypeInput - -func (GetVpnConnectionRouteTypeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpnConnectionRouteType)(nil)).Elem() -} - -func (i GetVpnConnectionRouteTypeArray) ToGetVpnConnectionRouteTypeArrayOutput() GetVpnConnectionRouteTypeArrayOutput { - return i.ToGetVpnConnectionRouteTypeArrayOutputWithContext(context.Background()) -} - -func (i GetVpnConnectionRouteTypeArray) ToGetVpnConnectionRouteTypeArrayOutputWithContext(ctx context.Context) GetVpnConnectionRouteTypeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpnConnectionRouteTypeArrayOutput) -} - -type GetVpnConnectionRouteTypeOutput struct{ *pulumi.OutputState } - -func (GetVpnConnectionRouteTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpnConnectionRouteType)(nil)).Elem() -} - -func (o GetVpnConnectionRouteTypeOutput) ToGetVpnConnectionRouteTypeOutput() GetVpnConnectionRouteTypeOutput { - return o -} - -func (o GetVpnConnectionRouteTypeOutput) ToGetVpnConnectionRouteTypeOutputWithContext(ctx context.Context) GetVpnConnectionRouteTypeOutput { - return o -} - -// The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). -func (o GetVpnConnectionRouteTypeOutput) DestinationIpRange() pulumi.StringOutput { - return o.ApplyT(func(v GetVpnConnectionRouteType) string { return v.DestinationIpRange }).(pulumi.StringOutput) -} - -// The type of route (always `static`). -func (o GetVpnConnectionRouteTypeOutput) RouteType() pulumi.StringOutput { - return o.ApplyT(func(v GetVpnConnectionRouteType) string { return v.RouteType }).(pulumi.StringOutput) -} - -// The state of the IPSEC tunnel (`UP` \| `DOWN`). -func (o GetVpnConnectionRouteTypeOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetVpnConnectionRouteType) string { return v.State }).(pulumi.StringOutput) -} - -type GetVpnConnectionRouteTypeArrayOutput struct{ *pulumi.OutputState } - -func (GetVpnConnectionRouteTypeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpnConnectionRouteType)(nil)).Elem() -} - -func (o GetVpnConnectionRouteTypeArrayOutput) ToGetVpnConnectionRouteTypeArrayOutput() GetVpnConnectionRouteTypeArrayOutput { - return o -} - -func (o GetVpnConnectionRouteTypeArrayOutput) ToGetVpnConnectionRouteTypeArrayOutputWithContext(ctx context.Context) GetVpnConnectionRouteTypeArrayOutput { - return o -} - -func (o GetVpnConnectionRouteTypeArrayOutput) Index(i pulumi.IntInput) GetVpnConnectionRouteTypeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVpnConnectionRouteType { - return vs[0].([]GetVpnConnectionRouteType)[vs[1].(int)] - }).(GetVpnConnectionRouteTypeOutput) -} - -type GetVpnConnectionTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetVpnConnectionTagInput is an input type that accepts GetVpnConnectionTagArgs and GetVpnConnectionTagOutput values. -// You can construct a concrete instance of `GetVpnConnectionTagInput` via: -// -// GetVpnConnectionTagArgs{...} -type GetVpnConnectionTagInput interface { - pulumi.Input - - ToGetVpnConnectionTagOutput() GetVpnConnectionTagOutput - ToGetVpnConnectionTagOutputWithContext(context.Context) GetVpnConnectionTagOutput -} - -type GetVpnConnectionTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetVpnConnectionTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpnConnectionTag)(nil)).Elem() -} - -func (i GetVpnConnectionTagArgs) ToGetVpnConnectionTagOutput() GetVpnConnectionTagOutput { - return i.ToGetVpnConnectionTagOutputWithContext(context.Background()) -} - -func (i GetVpnConnectionTagArgs) ToGetVpnConnectionTagOutputWithContext(ctx context.Context) GetVpnConnectionTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpnConnectionTagOutput) -} - -// GetVpnConnectionTagArrayInput is an input type that accepts GetVpnConnectionTagArray and GetVpnConnectionTagArrayOutput values. -// You can construct a concrete instance of `GetVpnConnectionTagArrayInput` via: -// -// GetVpnConnectionTagArray{ GetVpnConnectionTagArgs{...} } -type GetVpnConnectionTagArrayInput interface { - pulumi.Input - - ToGetVpnConnectionTagArrayOutput() GetVpnConnectionTagArrayOutput - ToGetVpnConnectionTagArrayOutputWithContext(context.Context) GetVpnConnectionTagArrayOutput -} - -type GetVpnConnectionTagArray []GetVpnConnectionTagInput - -func (GetVpnConnectionTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpnConnectionTag)(nil)).Elem() -} - -func (i GetVpnConnectionTagArray) ToGetVpnConnectionTagArrayOutput() GetVpnConnectionTagArrayOutput { - return i.ToGetVpnConnectionTagArrayOutputWithContext(context.Background()) -} - -func (i GetVpnConnectionTagArray) ToGetVpnConnectionTagArrayOutputWithContext(ctx context.Context) GetVpnConnectionTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpnConnectionTagArrayOutput) -} - -type GetVpnConnectionTagOutput struct{ *pulumi.OutputState } - -func (GetVpnConnectionTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpnConnectionTag)(nil)).Elem() -} - -func (o GetVpnConnectionTagOutput) ToGetVpnConnectionTagOutput() GetVpnConnectionTagOutput { - return o -} - -func (o GetVpnConnectionTagOutput) ToGetVpnConnectionTagOutputWithContext(ctx context.Context) GetVpnConnectionTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetVpnConnectionTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetVpnConnectionTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetVpnConnectionTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetVpnConnectionTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetVpnConnectionTagArrayOutput struct{ *pulumi.OutputState } - -func (GetVpnConnectionTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpnConnectionTag)(nil)).Elem() -} - -func (o GetVpnConnectionTagArrayOutput) ToGetVpnConnectionTagArrayOutput() GetVpnConnectionTagArrayOutput { - return o -} - -func (o GetVpnConnectionTagArrayOutput) ToGetVpnConnectionTagArrayOutputWithContext(ctx context.Context) GetVpnConnectionTagArrayOutput { - return o -} - -func (o GetVpnConnectionTagArrayOutput) Index(i pulumi.IntInput) GetVpnConnectionTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVpnConnectionTag { - return vs[0].([]GetVpnConnectionTag)[vs[1].(int)] - }).(GetVpnConnectionTagOutput) -} - -type GetVpnConnectionVgwTelemetry struct { - // The number of routes accepted through BGP (Border Gateway Protocol) route exchanges. - AcceptedRouteCount int `pulumi:"acceptedRouteCount"` - // The date and time (UTC) of the latest state update. - LastStateChangeDate string `pulumi:"lastStateChangeDate"` - // The IP on the OUTSCALE side of the tunnel. - OutsideIpAddress string `pulumi:"outsideIpAddress"` - // The state of the IPSEC tunnel (`UP` \| `DOWN`). - State string `pulumi:"state"` - // A description of the current state of the tunnel. - StateDescription string `pulumi:"stateDescription"` -} - -// GetVpnConnectionVgwTelemetryInput is an input type that accepts GetVpnConnectionVgwTelemetryArgs and GetVpnConnectionVgwTelemetryOutput values. -// You can construct a concrete instance of `GetVpnConnectionVgwTelemetryInput` via: -// -// GetVpnConnectionVgwTelemetryArgs{...} -type GetVpnConnectionVgwTelemetryInput interface { - pulumi.Input - - ToGetVpnConnectionVgwTelemetryOutput() GetVpnConnectionVgwTelemetryOutput - ToGetVpnConnectionVgwTelemetryOutputWithContext(context.Context) GetVpnConnectionVgwTelemetryOutput -} - -type GetVpnConnectionVgwTelemetryArgs struct { - // The number of routes accepted through BGP (Border Gateway Protocol) route exchanges. - AcceptedRouteCount pulumi.IntInput `pulumi:"acceptedRouteCount"` - // The date and time (UTC) of the latest state update. - LastStateChangeDate pulumi.StringInput `pulumi:"lastStateChangeDate"` - // The IP on the OUTSCALE side of the tunnel. - OutsideIpAddress pulumi.StringInput `pulumi:"outsideIpAddress"` - // The state of the IPSEC tunnel (`UP` \| `DOWN`). - State pulumi.StringInput `pulumi:"state"` - // A description of the current state of the tunnel. - StateDescription pulumi.StringInput `pulumi:"stateDescription"` -} - -func (GetVpnConnectionVgwTelemetryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpnConnectionVgwTelemetry)(nil)).Elem() -} - -func (i GetVpnConnectionVgwTelemetryArgs) ToGetVpnConnectionVgwTelemetryOutput() GetVpnConnectionVgwTelemetryOutput { - return i.ToGetVpnConnectionVgwTelemetryOutputWithContext(context.Background()) -} - -func (i GetVpnConnectionVgwTelemetryArgs) ToGetVpnConnectionVgwTelemetryOutputWithContext(ctx context.Context) GetVpnConnectionVgwTelemetryOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpnConnectionVgwTelemetryOutput) -} - -// GetVpnConnectionVgwTelemetryArrayInput is an input type that accepts GetVpnConnectionVgwTelemetryArray and GetVpnConnectionVgwTelemetryArrayOutput values. -// You can construct a concrete instance of `GetVpnConnectionVgwTelemetryArrayInput` via: -// -// GetVpnConnectionVgwTelemetryArray{ GetVpnConnectionVgwTelemetryArgs{...} } -type GetVpnConnectionVgwTelemetryArrayInput interface { - pulumi.Input - - ToGetVpnConnectionVgwTelemetryArrayOutput() GetVpnConnectionVgwTelemetryArrayOutput - ToGetVpnConnectionVgwTelemetryArrayOutputWithContext(context.Context) GetVpnConnectionVgwTelemetryArrayOutput -} - -type GetVpnConnectionVgwTelemetryArray []GetVpnConnectionVgwTelemetryInput - -func (GetVpnConnectionVgwTelemetryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpnConnectionVgwTelemetry)(nil)).Elem() -} - -func (i GetVpnConnectionVgwTelemetryArray) ToGetVpnConnectionVgwTelemetryArrayOutput() GetVpnConnectionVgwTelemetryArrayOutput { - return i.ToGetVpnConnectionVgwTelemetryArrayOutputWithContext(context.Background()) -} - -func (i GetVpnConnectionVgwTelemetryArray) ToGetVpnConnectionVgwTelemetryArrayOutputWithContext(ctx context.Context) GetVpnConnectionVgwTelemetryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpnConnectionVgwTelemetryArrayOutput) -} - -type GetVpnConnectionVgwTelemetryOutput struct{ *pulumi.OutputState } - -func (GetVpnConnectionVgwTelemetryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpnConnectionVgwTelemetry)(nil)).Elem() -} - -func (o GetVpnConnectionVgwTelemetryOutput) ToGetVpnConnectionVgwTelemetryOutput() GetVpnConnectionVgwTelemetryOutput { - return o -} - -func (o GetVpnConnectionVgwTelemetryOutput) ToGetVpnConnectionVgwTelemetryOutputWithContext(ctx context.Context) GetVpnConnectionVgwTelemetryOutput { - return o -} - -// The number of routes accepted through BGP (Border Gateway Protocol) route exchanges. -func (o GetVpnConnectionVgwTelemetryOutput) AcceptedRouteCount() pulumi.IntOutput { - return o.ApplyT(func(v GetVpnConnectionVgwTelemetry) int { return v.AcceptedRouteCount }).(pulumi.IntOutput) -} - -// The date and time (UTC) of the latest state update. -func (o GetVpnConnectionVgwTelemetryOutput) LastStateChangeDate() pulumi.StringOutput { - return o.ApplyT(func(v GetVpnConnectionVgwTelemetry) string { return v.LastStateChangeDate }).(pulumi.StringOutput) -} - -// The IP on the OUTSCALE side of the tunnel. -func (o GetVpnConnectionVgwTelemetryOutput) OutsideIpAddress() pulumi.StringOutput { - return o.ApplyT(func(v GetVpnConnectionVgwTelemetry) string { return v.OutsideIpAddress }).(pulumi.StringOutput) -} - -// The state of the IPSEC tunnel (`UP` \| `DOWN`). -func (o GetVpnConnectionVgwTelemetryOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetVpnConnectionVgwTelemetry) string { return v.State }).(pulumi.StringOutput) -} - -// A description of the current state of the tunnel. -func (o GetVpnConnectionVgwTelemetryOutput) StateDescription() pulumi.StringOutput { - return o.ApplyT(func(v GetVpnConnectionVgwTelemetry) string { return v.StateDescription }).(pulumi.StringOutput) -} - -type GetVpnConnectionVgwTelemetryArrayOutput struct{ *pulumi.OutputState } - -func (GetVpnConnectionVgwTelemetryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpnConnectionVgwTelemetry)(nil)).Elem() -} - -func (o GetVpnConnectionVgwTelemetryArrayOutput) ToGetVpnConnectionVgwTelemetryArrayOutput() GetVpnConnectionVgwTelemetryArrayOutput { - return o -} - -func (o GetVpnConnectionVgwTelemetryArrayOutput) ToGetVpnConnectionVgwTelemetryArrayOutputWithContext(ctx context.Context) GetVpnConnectionVgwTelemetryArrayOutput { - return o -} - -func (o GetVpnConnectionVgwTelemetryArrayOutput) Index(i pulumi.IntInput) GetVpnConnectionVgwTelemetryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVpnConnectionVgwTelemetry { - return vs[0].([]GetVpnConnectionVgwTelemetry)[vs[1].(int)] - }).(GetVpnConnectionVgwTelemetryOutput) -} - -type GetVpnConnectionsFilter struct { - Name string `pulumi:"name"` - Values []string `pulumi:"values"` -} - -// GetVpnConnectionsFilterInput is an input type that accepts GetVpnConnectionsFilterArgs and GetVpnConnectionsFilterOutput values. -// You can construct a concrete instance of `GetVpnConnectionsFilterInput` via: -// -// GetVpnConnectionsFilterArgs{...} -type GetVpnConnectionsFilterInput interface { - pulumi.Input - - ToGetVpnConnectionsFilterOutput() GetVpnConnectionsFilterOutput - ToGetVpnConnectionsFilterOutputWithContext(context.Context) GetVpnConnectionsFilterOutput -} - -type GetVpnConnectionsFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetVpnConnectionsFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpnConnectionsFilter)(nil)).Elem() -} - -func (i GetVpnConnectionsFilterArgs) ToGetVpnConnectionsFilterOutput() GetVpnConnectionsFilterOutput { - return i.ToGetVpnConnectionsFilterOutputWithContext(context.Background()) -} - -func (i GetVpnConnectionsFilterArgs) ToGetVpnConnectionsFilterOutputWithContext(ctx context.Context) GetVpnConnectionsFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpnConnectionsFilterOutput) -} - -// GetVpnConnectionsFilterArrayInput is an input type that accepts GetVpnConnectionsFilterArray and GetVpnConnectionsFilterArrayOutput values. -// You can construct a concrete instance of `GetVpnConnectionsFilterArrayInput` via: -// -// GetVpnConnectionsFilterArray{ GetVpnConnectionsFilterArgs{...} } -type GetVpnConnectionsFilterArrayInput interface { - pulumi.Input - - ToGetVpnConnectionsFilterArrayOutput() GetVpnConnectionsFilterArrayOutput - ToGetVpnConnectionsFilterArrayOutputWithContext(context.Context) GetVpnConnectionsFilterArrayOutput -} - -type GetVpnConnectionsFilterArray []GetVpnConnectionsFilterInput - -func (GetVpnConnectionsFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpnConnectionsFilter)(nil)).Elem() -} - -func (i GetVpnConnectionsFilterArray) ToGetVpnConnectionsFilterArrayOutput() GetVpnConnectionsFilterArrayOutput { - return i.ToGetVpnConnectionsFilterArrayOutputWithContext(context.Background()) -} - -func (i GetVpnConnectionsFilterArray) ToGetVpnConnectionsFilterArrayOutputWithContext(ctx context.Context) GetVpnConnectionsFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpnConnectionsFilterArrayOutput) -} - -type GetVpnConnectionsFilterOutput struct{ *pulumi.OutputState } - -func (GetVpnConnectionsFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpnConnectionsFilter)(nil)).Elem() -} - -func (o GetVpnConnectionsFilterOutput) ToGetVpnConnectionsFilterOutput() GetVpnConnectionsFilterOutput { - return o -} - -func (o GetVpnConnectionsFilterOutput) ToGetVpnConnectionsFilterOutputWithContext(ctx context.Context) GetVpnConnectionsFilterOutput { - return o -} - -func (o GetVpnConnectionsFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetVpnConnectionsFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetVpnConnectionsFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetVpnConnectionsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetVpnConnectionsFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetVpnConnectionsFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpnConnectionsFilter)(nil)).Elem() -} - -func (o GetVpnConnectionsFilterArrayOutput) ToGetVpnConnectionsFilterArrayOutput() GetVpnConnectionsFilterArrayOutput { - return o -} - -func (o GetVpnConnectionsFilterArrayOutput) ToGetVpnConnectionsFilterArrayOutputWithContext(ctx context.Context) GetVpnConnectionsFilterArrayOutput { - return o -} - -func (o GetVpnConnectionsFilterArrayOutput) Index(i pulumi.IntInput) GetVpnConnectionsFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVpnConnectionsFilter { - return vs[0].([]GetVpnConnectionsFilter)[vs[1].(int)] - }).(GetVpnConnectionsFilterOutput) -} - -type GetVpnConnectionsVpnConnection struct { - // Example configuration for the client gateway. - ClientGatewayConfiguration string `pulumi:"clientGatewayConfiguration"` - // The ID of the client gateway used on the client end of the connection. - ClientGatewayId string `pulumi:"clientGatewayId"` - // The type of VPN connection (always `ipsec.1`). - ConnectionType string `pulumi:"connectionType"` - // Information about one or more static routes associated with the VPN connection, if any. - Routes []GetVpnConnectionsVpnConnectionRoute `pulumi:"routes"` - // The state of the IPSEC tunnel (`UP` \| `DOWN`). - State string `pulumi:"state"` - // If false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see [CreateVpnConnectionRoute](https://docs.outscale.com/api#createvpnconnectionroute) and [DeleteVpnConnectionRoute](https://docs.outscale.com/api#deletevpnconnectionroute). - StaticRoutesOnly *bool `pulumi:"staticRoutesOnly"` - // The key/value combinations of the tags associated with the VPN connections, in the following format: `TAGKEY=TAGVALUE`. - Tags []GetVpnConnectionsVpnConnectionTag `pulumi:"tags"` - // Information about the current state of one or more of the VPN tunnels. - VgwTelemetries []GetVpnConnectionsVpnConnectionVgwTelemetry `pulumi:"vgwTelemetries"` - // The ID of the virtual gateway used on the OUTSCALE end of the connection. - VirtualGatewayId string `pulumi:"virtualGatewayId"` - // The ID of the VPN connection. - VpnConnectionId string `pulumi:"vpnConnectionId"` -} - -// GetVpnConnectionsVpnConnectionInput is an input type that accepts GetVpnConnectionsVpnConnectionArgs and GetVpnConnectionsVpnConnectionOutput values. -// You can construct a concrete instance of `GetVpnConnectionsVpnConnectionInput` via: -// -// GetVpnConnectionsVpnConnectionArgs{...} -type GetVpnConnectionsVpnConnectionInput interface { - pulumi.Input - - ToGetVpnConnectionsVpnConnectionOutput() GetVpnConnectionsVpnConnectionOutput - ToGetVpnConnectionsVpnConnectionOutputWithContext(context.Context) GetVpnConnectionsVpnConnectionOutput -} - -type GetVpnConnectionsVpnConnectionArgs struct { - // Example configuration for the client gateway. - ClientGatewayConfiguration pulumi.StringInput `pulumi:"clientGatewayConfiguration"` - // The ID of the client gateway used on the client end of the connection. - ClientGatewayId pulumi.StringInput `pulumi:"clientGatewayId"` - // The type of VPN connection (always `ipsec.1`). - ConnectionType pulumi.StringInput `pulumi:"connectionType"` - // Information about one or more static routes associated with the VPN connection, if any. - Routes GetVpnConnectionsVpnConnectionRouteArrayInput `pulumi:"routes"` - // The state of the IPSEC tunnel (`UP` \| `DOWN`). - State pulumi.StringInput `pulumi:"state"` - // If false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see [CreateVpnConnectionRoute](https://docs.outscale.com/api#createvpnconnectionroute) and [DeleteVpnConnectionRoute](https://docs.outscale.com/api#deletevpnconnectionroute). - StaticRoutesOnly pulumi.BoolPtrInput `pulumi:"staticRoutesOnly"` - // The key/value combinations of the tags associated with the VPN connections, in the following format: `TAGKEY=TAGVALUE`. - Tags GetVpnConnectionsVpnConnectionTagArrayInput `pulumi:"tags"` - // Information about the current state of one or more of the VPN tunnels. - VgwTelemetries GetVpnConnectionsVpnConnectionVgwTelemetryArrayInput `pulumi:"vgwTelemetries"` - // The ID of the virtual gateway used on the OUTSCALE end of the connection. - VirtualGatewayId pulumi.StringInput `pulumi:"virtualGatewayId"` - // The ID of the VPN connection. - VpnConnectionId pulumi.StringInput `pulumi:"vpnConnectionId"` -} - -func (GetVpnConnectionsVpnConnectionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpnConnectionsVpnConnection)(nil)).Elem() -} - -func (i GetVpnConnectionsVpnConnectionArgs) ToGetVpnConnectionsVpnConnectionOutput() GetVpnConnectionsVpnConnectionOutput { - return i.ToGetVpnConnectionsVpnConnectionOutputWithContext(context.Background()) -} - -func (i GetVpnConnectionsVpnConnectionArgs) ToGetVpnConnectionsVpnConnectionOutputWithContext(ctx context.Context) GetVpnConnectionsVpnConnectionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpnConnectionsVpnConnectionOutput) -} - -// GetVpnConnectionsVpnConnectionArrayInput is an input type that accepts GetVpnConnectionsVpnConnectionArray and GetVpnConnectionsVpnConnectionArrayOutput values. -// You can construct a concrete instance of `GetVpnConnectionsVpnConnectionArrayInput` via: -// -// GetVpnConnectionsVpnConnectionArray{ GetVpnConnectionsVpnConnectionArgs{...} } -type GetVpnConnectionsVpnConnectionArrayInput interface { - pulumi.Input - - ToGetVpnConnectionsVpnConnectionArrayOutput() GetVpnConnectionsVpnConnectionArrayOutput - ToGetVpnConnectionsVpnConnectionArrayOutputWithContext(context.Context) GetVpnConnectionsVpnConnectionArrayOutput -} - -type GetVpnConnectionsVpnConnectionArray []GetVpnConnectionsVpnConnectionInput - -func (GetVpnConnectionsVpnConnectionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpnConnectionsVpnConnection)(nil)).Elem() -} - -func (i GetVpnConnectionsVpnConnectionArray) ToGetVpnConnectionsVpnConnectionArrayOutput() GetVpnConnectionsVpnConnectionArrayOutput { - return i.ToGetVpnConnectionsVpnConnectionArrayOutputWithContext(context.Background()) -} - -func (i GetVpnConnectionsVpnConnectionArray) ToGetVpnConnectionsVpnConnectionArrayOutputWithContext(ctx context.Context) GetVpnConnectionsVpnConnectionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpnConnectionsVpnConnectionArrayOutput) -} - -type GetVpnConnectionsVpnConnectionOutput struct{ *pulumi.OutputState } - -func (GetVpnConnectionsVpnConnectionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpnConnectionsVpnConnection)(nil)).Elem() -} - -func (o GetVpnConnectionsVpnConnectionOutput) ToGetVpnConnectionsVpnConnectionOutput() GetVpnConnectionsVpnConnectionOutput { - return o -} - -func (o GetVpnConnectionsVpnConnectionOutput) ToGetVpnConnectionsVpnConnectionOutputWithContext(ctx context.Context) GetVpnConnectionsVpnConnectionOutput { - return o -} - -// Example configuration for the client gateway. -func (o GetVpnConnectionsVpnConnectionOutput) ClientGatewayConfiguration() pulumi.StringOutput { - return o.ApplyT(func(v GetVpnConnectionsVpnConnection) string { return v.ClientGatewayConfiguration }).(pulumi.StringOutput) -} - -// The ID of the client gateway used on the client end of the connection. -func (o GetVpnConnectionsVpnConnectionOutput) ClientGatewayId() pulumi.StringOutput { - return o.ApplyT(func(v GetVpnConnectionsVpnConnection) string { return v.ClientGatewayId }).(pulumi.StringOutput) -} - -// The type of VPN connection (always `ipsec.1`). -func (o GetVpnConnectionsVpnConnectionOutput) ConnectionType() pulumi.StringOutput { - return o.ApplyT(func(v GetVpnConnectionsVpnConnection) string { return v.ConnectionType }).(pulumi.StringOutput) -} - -// Information about one or more static routes associated with the VPN connection, if any. -func (o GetVpnConnectionsVpnConnectionOutput) Routes() GetVpnConnectionsVpnConnectionRouteArrayOutput { - return o.ApplyT(func(v GetVpnConnectionsVpnConnection) []GetVpnConnectionsVpnConnectionRoute { return v.Routes }).(GetVpnConnectionsVpnConnectionRouteArrayOutput) -} - -// The state of the IPSEC tunnel (`UP` \| `DOWN`). -func (o GetVpnConnectionsVpnConnectionOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetVpnConnectionsVpnConnection) string { return v.State }).(pulumi.StringOutput) -} - -// If false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see [CreateVpnConnectionRoute](https://docs.outscale.com/api#createvpnconnectionroute) and [DeleteVpnConnectionRoute](https://docs.outscale.com/api#deletevpnconnectionroute). -func (o GetVpnConnectionsVpnConnectionOutput) StaticRoutesOnly() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetVpnConnectionsVpnConnection) *bool { return v.StaticRoutesOnly }).(pulumi.BoolPtrOutput) -} - -// The key/value combinations of the tags associated with the VPN connections, in the following format: `TAGKEY=TAGVALUE`. -func (o GetVpnConnectionsVpnConnectionOutput) Tags() GetVpnConnectionsVpnConnectionTagArrayOutput { - return o.ApplyT(func(v GetVpnConnectionsVpnConnection) []GetVpnConnectionsVpnConnectionTag { return v.Tags }).(GetVpnConnectionsVpnConnectionTagArrayOutput) -} - -// Information about the current state of one or more of the VPN tunnels. -func (o GetVpnConnectionsVpnConnectionOutput) VgwTelemetries() GetVpnConnectionsVpnConnectionVgwTelemetryArrayOutput { - return o.ApplyT(func(v GetVpnConnectionsVpnConnection) []GetVpnConnectionsVpnConnectionVgwTelemetry { - return v.VgwTelemetries - }).(GetVpnConnectionsVpnConnectionVgwTelemetryArrayOutput) -} - -// The ID of the virtual gateway used on the OUTSCALE end of the connection. -func (o GetVpnConnectionsVpnConnectionOutput) VirtualGatewayId() pulumi.StringOutput { - return o.ApplyT(func(v GetVpnConnectionsVpnConnection) string { return v.VirtualGatewayId }).(pulumi.StringOutput) -} - -// The ID of the VPN connection. -func (o GetVpnConnectionsVpnConnectionOutput) VpnConnectionId() pulumi.StringOutput { - return o.ApplyT(func(v GetVpnConnectionsVpnConnection) string { return v.VpnConnectionId }).(pulumi.StringOutput) -} - -type GetVpnConnectionsVpnConnectionArrayOutput struct{ *pulumi.OutputState } - -func (GetVpnConnectionsVpnConnectionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpnConnectionsVpnConnection)(nil)).Elem() -} - -func (o GetVpnConnectionsVpnConnectionArrayOutput) ToGetVpnConnectionsVpnConnectionArrayOutput() GetVpnConnectionsVpnConnectionArrayOutput { - return o -} - -func (o GetVpnConnectionsVpnConnectionArrayOutput) ToGetVpnConnectionsVpnConnectionArrayOutputWithContext(ctx context.Context) GetVpnConnectionsVpnConnectionArrayOutput { - return o -} - -func (o GetVpnConnectionsVpnConnectionArrayOutput) Index(i pulumi.IntInput) GetVpnConnectionsVpnConnectionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVpnConnectionsVpnConnection { - return vs[0].([]GetVpnConnectionsVpnConnection)[vs[1].(int)] - }).(GetVpnConnectionsVpnConnectionOutput) -} - -type GetVpnConnectionsVpnConnectionRoute struct { - // The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - DestinationIpRange string `pulumi:"destinationIpRange"` - // The type of route (always `static`). - RouteType string `pulumi:"routeType"` - // The state of the IPSEC tunnel (`UP` \| `DOWN`). - State string `pulumi:"state"` -} - -// GetVpnConnectionsVpnConnectionRouteInput is an input type that accepts GetVpnConnectionsVpnConnectionRouteArgs and GetVpnConnectionsVpnConnectionRouteOutput values. -// You can construct a concrete instance of `GetVpnConnectionsVpnConnectionRouteInput` via: -// -// GetVpnConnectionsVpnConnectionRouteArgs{...} -type GetVpnConnectionsVpnConnectionRouteInput interface { - pulumi.Input - - ToGetVpnConnectionsVpnConnectionRouteOutput() GetVpnConnectionsVpnConnectionRouteOutput - ToGetVpnConnectionsVpnConnectionRouteOutputWithContext(context.Context) GetVpnConnectionsVpnConnectionRouteOutput -} - -type GetVpnConnectionsVpnConnectionRouteArgs struct { - // The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - DestinationIpRange pulumi.StringInput `pulumi:"destinationIpRange"` - // The type of route (always `static`). - RouteType pulumi.StringInput `pulumi:"routeType"` - // The state of the IPSEC tunnel (`UP` \| `DOWN`). - State pulumi.StringInput `pulumi:"state"` -} - -func (GetVpnConnectionsVpnConnectionRouteArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpnConnectionsVpnConnectionRoute)(nil)).Elem() -} - -func (i GetVpnConnectionsVpnConnectionRouteArgs) ToGetVpnConnectionsVpnConnectionRouteOutput() GetVpnConnectionsVpnConnectionRouteOutput { - return i.ToGetVpnConnectionsVpnConnectionRouteOutputWithContext(context.Background()) -} - -func (i GetVpnConnectionsVpnConnectionRouteArgs) ToGetVpnConnectionsVpnConnectionRouteOutputWithContext(ctx context.Context) GetVpnConnectionsVpnConnectionRouteOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpnConnectionsVpnConnectionRouteOutput) -} - -// GetVpnConnectionsVpnConnectionRouteArrayInput is an input type that accepts GetVpnConnectionsVpnConnectionRouteArray and GetVpnConnectionsVpnConnectionRouteArrayOutput values. -// You can construct a concrete instance of `GetVpnConnectionsVpnConnectionRouteArrayInput` via: -// -// GetVpnConnectionsVpnConnectionRouteArray{ GetVpnConnectionsVpnConnectionRouteArgs{...} } -type GetVpnConnectionsVpnConnectionRouteArrayInput interface { - pulumi.Input - - ToGetVpnConnectionsVpnConnectionRouteArrayOutput() GetVpnConnectionsVpnConnectionRouteArrayOutput - ToGetVpnConnectionsVpnConnectionRouteArrayOutputWithContext(context.Context) GetVpnConnectionsVpnConnectionRouteArrayOutput -} - -type GetVpnConnectionsVpnConnectionRouteArray []GetVpnConnectionsVpnConnectionRouteInput - -func (GetVpnConnectionsVpnConnectionRouteArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpnConnectionsVpnConnectionRoute)(nil)).Elem() -} - -func (i GetVpnConnectionsVpnConnectionRouteArray) ToGetVpnConnectionsVpnConnectionRouteArrayOutput() GetVpnConnectionsVpnConnectionRouteArrayOutput { - return i.ToGetVpnConnectionsVpnConnectionRouteArrayOutputWithContext(context.Background()) -} - -func (i GetVpnConnectionsVpnConnectionRouteArray) ToGetVpnConnectionsVpnConnectionRouteArrayOutputWithContext(ctx context.Context) GetVpnConnectionsVpnConnectionRouteArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpnConnectionsVpnConnectionRouteArrayOutput) -} - -type GetVpnConnectionsVpnConnectionRouteOutput struct{ *pulumi.OutputState } - -func (GetVpnConnectionsVpnConnectionRouteOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpnConnectionsVpnConnectionRoute)(nil)).Elem() -} - -func (o GetVpnConnectionsVpnConnectionRouteOutput) ToGetVpnConnectionsVpnConnectionRouteOutput() GetVpnConnectionsVpnConnectionRouteOutput { - return o -} - -func (o GetVpnConnectionsVpnConnectionRouteOutput) ToGetVpnConnectionsVpnConnectionRouteOutputWithContext(ctx context.Context) GetVpnConnectionsVpnConnectionRouteOutput { - return o -} - -// The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). -func (o GetVpnConnectionsVpnConnectionRouteOutput) DestinationIpRange() pulumi.StringOutput { - return o.ApplyT(func(v GetVpnConnectionsVpnConnectionRoute) string { return v.DestinationIpRange }).(pulumi.StringOutput) -} - -// The type of route (always `static`). -func (o GetVpnConnectionsVpnConnectionRouteOutput) RouteType() pulumi.StringOutput { - return o.ApplyT(func(v GetVpnConnectionsVpnConnectionRoute) string { return v.RouteType }).(pulumi.StringOutput) -} - -// The state of the IPSEC tunnel (`UP` \| `DOWN`). -func (o GetVpnConnectionsVpnConnectionRouteOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetVpnConnectionsVpnConnectionRoute) string { return v.State }).(pulumi.StringOutput) -} - -type GetVpnConnectionsVpnConnectionRouteArrayOutput struct{ *pulumi.OutputState } - -func (GetVpnConnectionsVpnConnectionRouteArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpnConnectionsVpnConnectionRoute)(nil)).Elem() -} - -func (o GetVpnConnectionsVpnConnectionRouteArrayOutput) ToGetVpnConnectionsVpnConnectionRouteArrayOutput() GetVpnConnectionsVpnConnectionRouteArrayOutput { - return o -} - -func (o GetVpnConnectionsVpnConnectionRouteArrayOutput) ToGetVpnConnectionsVpnConnectionRouteArrayOutputWithContext(ctx context.Context) GetVpnConnectionsVpnConnectionRouteArrayOutput { - return o -} - -func (o GetVpnConnectionsVpnConnectionRouteArrayOutput) Index(i pulumi.IntInput) GetVpnConnectionsVpnConnectionRouteOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVpnConnectionsVpnConnectionRoute { - return vs[0].([]GetVpnConnectionsVpnConnectionRoute)[vs[1].(int)] - }).(GetVpnConnectionsVpnConnectionRouteOutput) -} - -type GetVpnConnectionsVpnConnectionTag struct { - // The key of the tag, with a minimum of 1 character. - Key string `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value string `pulumi:"value"` -} - -// GetVpnConnectionsVpnConnectionTagInput is an input type that accepts GetVpnConnectionsVpnConnectionTagArgs and GetVpnConnectionsVpnConnectionTagOutput values. -// You can construct a concrete instance of `GetVpnConnectionsVpnConnectionTagInput` via: -// -// GetVpnConnectionsVpnConnectionTagArgs{...} -type GetVpnConnectionsVpnConnectionTagInput interface { - pulumi.Input - - ToGetVpnConnectionsVpnConnectionTagOutput() GetVpnConnectionsVpnConnectionTagOutput - ToGetVpnConnectionsVpnConnectionTagOutputWithContext(context.Context) GetVpnConnectionsVpnConnectionTagOutput -} - -type GetVpnConnectionsVpnConnectionTagArgs struct { - // The key of the tag, with a minimum of 1 character. - Key pulumi.StringInput `pulumi:"key"` - // The value of the tag, between 0 and 255 characters. - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetVpnConnectionsVpnConnectionTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpnConnectionsVpnConnectionTag)(nil)).Elem() -} - -func (i GetVpnConnectionsVpnConnectionTagArgs) ToGetVpnConnectionsVpnConnectionTagOutput() GetVpnConnectionsVpnConnectionTagOutput { - return i.ToGetVpnConnectionsVpnConnectionTagOutputWithContext(context.Background()) -} - -func (i GetVpnConnectionsVpnConnectionTagArgs) ToGetVpnConnectionsVpnConnectionTagOutputWithContext(ctx context.Context) GetVpnConnectionsVpnConnectionTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpnConnectionsVpnConnectionTagOutput) -} - -// GetVpnConnectionsVpnConnectionTagArrayInput is an input type that accepts GetVpnConnectionsVpnConnectionTagArray and GetVpnConnectionsVpnConnectionTagArrayOutput values. -// You can construct a concrete instance of `GetVpnConnectionsVpnConnectionTagArrayInput` via: -// -// GetVpnConnectionsVpnConnectionTagArray{ GetVpnConnectionsVpnConnectionTagArgs{...} } -type GetVpnConnectionsVpnConnectionTagArrayInput interface { - pulumi.Input - - ToGetVpnConnectionsVpnConnectionTagArrayOutput() GetVpnConnectionsVpnConnectionTagArrayOutput - ToGetVpnConnectionsVpnConnectionTagArrayOutputWithContext(context.Context) GetVpnConnectionsVpnConnectionTagArrayOutput -} - -type GetVpnConnectionsVpnConnectionTagArray []GetVpnConnectionsVpnConnectionTagInput - -func (GetVpnConnectionsVpnConnectionTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpnConnectionsVpnConnectionTag)(nil)).Elem() -} - -func (i GetVpnConnectionsVpnConnectionTagArray) ToGetVpnConnectionsVpnConnectionTagArrayOutput() GetVpnConnectionsVpnConnectionTagArrayOutput { - return i.ToGetVpnConnectionsVpnConnectionTagArrayOutputWithContext(context.Background()) -} - -func (i GetVpnConnectionsVpnConnectionTagArray) ToGetVpnConnectionsVpnConnectionTagArrayOutputWithContext(ctx context.Context) GetVpnConnectionsVpnConnectionTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpnConnectionsVpnConnectionTagArrayOutput) -} - -type GetVpnConnectionsVpnConnectionTagOutput struct{ *pulumi.OutputState } - -func (GetVpnConnectionsVpnConnectionTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpnConnectionsVpnConnectionTag)(nil)).Elem() -} - -func (o GetVpnConnectionsVpnConnectionTagOutput) ToGetVpnConnectionsVpnConnectionTagOutput() GetVpnConnectionsVpnConnectionTagOutput { - return o -} - -func (o GetVpnConnectionsVpnConnectionTagOutput) ToGetVpnConnectionsVpnConnectionTagOutputWithContext(ctx context.Context) GetVpnConnectionsVpnConnectionTagOutput { - return o -} - -// The key of the tag, with a minimum of 1 character. -func (o GetVpnConnectionsVpnConnectionTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetVpnConnectionsVpnConnectionTag) string { return v.Key }).(pulumi.StringOutput) -} - -// The value of the tag, between 0 and 255 characters. -func (o GetVpnConnectionsVpnConnectionTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetVpnConnectionsVpnConnectionTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetVpnConnectionsVpnConnectionTagArrayOutput struct{ *pulumi.OutputState } - -func (GetVpnConnectionsVpnConnectionTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpnConnectionsVpnConnectionTag)(nil)).Elem() -} - -func (o GetVpnConnectionsVpnConnectionTagArrayOutput) ToGetVpnConnectionsVpnConnectionTagArrayOutput() GetVpnConnectionsVpnConnectionTagArrayOutput { - return o -} - -func (o GetVpnConnectionsVpnConnectionTagArrayOutput) ToGetVpnConnectionsVpnConnectionTagArrayOutputWithContext(ctx context.Context) GetVpnConnectionsVpnConnectionTagArrayOutput { - return o -} - -func (o GetVpnConnectionsVpnConnectionTagArrayOutput) Index(i pulumi.IntInput) GetVpnConnectionsVpnConnectionTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVpnConnectionsVpnConnectionTag { - return vs[0].([]GetVpnConnectionsVpnConnectionTag)[vs[1].(int)] - }).(GetVpnConnectionsVpnConnectionTagOutput) -} - -type GetVpnConnectionsVpnConnectionVgwTelemetry struct { - // The number of routes accepted through BGP (Border Gateway Protocol) route exchanges. - AcceptedRouteCount int `pulumi:"acceptedRouteCount"` - // The date and time (UTC) of the latest state update. - LastStateChangeDate string `pulumi:"lastStateChangeDate"` - // The IP on the OUTSCALE side of the tunnel. - OutsideIpAddress string `pulumi:"outsideIpAddress"` - // The state of the IPSEC tunnel (`UP` \| `DOWN`). - State string `pulumi:"state"` - // A description of the current state of the tunnel. - StateDescription string `pulumi:"stateDescription"` -} - -// GetVpnConnectionsVpnConnectionVgwTelemetryInput is an input type that accepts GetVpnConnectionsVpnConnectionVgwTelemetryArgs and GetVpnConnectionsVpnConnectionVgwTelemetryOutput values. -// You can construct a concrete instance of `GetVpnConnectionsVpnConnectionVgwTelemetryInput` via: -// -// GetVpnConnectionsVpnConnectionVgwTelemetryArgs{...} -type GetVpnConnectionsVpnConnectionVgwTelemetryInput interface { - pulumi.Input - - ToGetVpnConnectionsVpnConnectionVgwTelemetryOutput() GetVpnConnectionsVpnConnectionVgwTelemetryOutput - ToGetVpnConnectionsVpnConnectionVgwTelemetryOutputWithContext(context.Context) GetVpnConnectionsVpnConnectionVgwTelemetryOutput -} - -type GetVpnConnectionsVpnConnectionVgwTelemetryArgs struct { - // The number of routes accepted through BGP (Border Gateway Protocol) route exchanges. - AcceptedRouteCount pulumi.IntInput `pulumi:"acceptedRouteCount"` - // The date and time (UTC) of the latest state update. - LastStateChangeDate pulumi.StringInput `pulumi:"lastStateChangeDate"` - // The IP on the OUTSCALE side of the tunnel. - OutsideIpAddress pulumi.StringInput `pulumi:"outsideIpAddress"` - // The state of the IPSEC tunnel (`UP` \| `DOWN`). - State pulumi.StringInput `pulumi:"state"` - // A description of the current state of the tunnel. - StateDescription pulumi.StringInput `pulumi:"stateDescription"` -} - -func (GetVpnConnectionsVpnConnectionVgwTelemetryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpnConnectionsVpnConnectionVgwTelemetry)(nil)).Elem() -} - -func (i GetVpnConnectionsVpnConnectionVgwTelemetryArgs) ToGetVpnConnectionsVpnConnectionVgwTelemetryOutput() GetVpnConnectionsVpnConnectionVgwTelemetryOutput { - return i.ToGetVpnConnectionsVpnConnectionVgwTelemetryOutputWithContext(context.Background()) -} - -func (i GetVpnConnectionsVpnConnectionVgwTelemetryArgs) ToGetVpnConnectionsVpnConnectionVgwTelemetryOutputWithContext(ctx context.Context) GetVpnConnectionsVpnConnectionVgwTelemetryOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpnConnectionsVpnConnectionVgwTelemetryOutput) -} - -// GetVpnConnectionsVpnConnectionVgwTelemetryArrayInput is an input type that accepts GetVpnConnectionsVpnConnectionVgwTelemetryArray and GetVpnConnectionsVpnConnectionVgwTelemetryArrayOutput values. -// You can construct a concrete instance of `GetVpnConnectionsVpnConnectionVgwTelemetryArrayInput` via: -// -// GetVpnConnectionsVpnConnectionVgwTelemetryArray{ GetVpnConnectionsVpnConnectionVgwTelemetryArgs{...} } -type GetVpnConnectionsVpnConnectionVgwTelemetryArrayInput interface { - pulumi.Input - - ToGetVpnConnectionsVpnConnectionVgwTelemetryArrayOutput() GetVpnConnectionsVpnConnectionVgwTelemetryArrayOutput - ToGetVpnConnectionsVpnConnectionVgwTelemetryArrayOutputWithContext(context.Context) GetVpnConnectionsVpnConnectionVgwTelemetryArrayOutput -} - -type GetVpnConnectionsVpnConnectionVgwTelemetryArray []GetVpnConnectionsVpnConnectionVgwTelemetryInput - -func (GetVpnConnectionsVpnConnectionVgwTelemetryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpnConnectionsVpnConnectionVgwTelemetry)(nil)).Elem() -} - -func (i GetVpnConnectionsVpnConnectionVgwTelemetryArray) ToGetVpnConnectionsVpnConnectionVgwTelemetryArrayOutput() GetVpnConnectionsVpnConnectionVgwTelemetryArrayOutput { - return i.ToGetVpnConnectionsVpnConnectionVgwTelemetryArrayOutputWithContext(context.Background()) -} - -func (i GetVpnConnectionsVpnConnectionVgwTelemetryArray) ToGetVpnConnectionsVpnConnectionVgwTelemetryArrayOutputWithContext(ctx context.Context) GetVpnConnectionsVpnConnectionVgwTelemetryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpnConnectionsVpnConnectionVgwTelemetryArrayOutput) -} - -type GetVpnConnectionsVpnConnectionVgwTelemetryOutput struct{ *pulumi.OutputState } - -func (GetVpnConnectionsVpnConnectionVgwTelemetryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpnConnectionsVpnConnectionVgwTelemetry)(nil)).Elem() -} - -func (o GetVpnConnectionsVpnConnectionVgwTelemetryOutput) ToGetVpnConnectionsVpnConnectionVgwTelemetryOutput() GetVpnConnectionsVpnConnectionVgwTelemetryOutput { - return o -} - -func (o GetVpnConnectionsVpnConnectionVgwTelemetryOutput) ToGetVpnConnectionsVpnConnectionVgwTelemetryOutputWithContext(ctx context.Context) GetVpnConnectionsVpnConnectionVgwTelemetryOutput { - return o -} - -// The number of routes accepted through BGP (Border Gateway Protocol) route exchanges. -func (o GetVpnConnectionsVpnConnectionVgwTelemetryOutput) AcceptedRouteCount() pulumi.IntOutput { - return o.ApplyT(func(v GetVpnConnectionsVpnConnectionVgwTelemetry) int { return v.AcceptedRouteCount }).(pulumi.IntOutput) -} - -// The date and time (UTC) of the latest state update. -func (o GetVpnConnectionsVpnConnectionVgwTelemetryOutput) LastStateChangeDate() pulumi.StringOutput { - return o.ApplyT(func(v GetVpnConnectionsVpnConnectionVgwTelemetry) string { return v.LastStateChangeDate }).(pulumi.StringOutput) -} - -// The IP on the OUTSCALE side of the tunnel. -func (o GetVpnConnectionsVpnConnectionVgwTelemetryOutput) OutsideIpAddress() pulumi.StringOutput { - return o.ApplyT(func(v GetVpnConnectionsVpnConnectionVgwTelemetry) string { return v.OutsideIpAddress }).(pulumi.StringOutput) -} - -// The state of the IPSEC tunnel (`UP` \| `DOWN`). -func (o GetVpnConnectionsVpnConnectionVgwTelemetryOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetVpnConnectionsVpnConnectionVgwTelemetry) string { return v.State }).(pulumi.StringOutput) -} - -// A description of the current state of the tunnel. -func (o GetVpnConnectionsVpnConnectionVgwTelemetryOutput) StateDescription() pulumi.StringOutput { - return o.ApplyT(func(v GetVpnConnectionsVpnConnectionVgwTelemetry) string { return v.StateDescription }).(pulumi.StringOutput) -} - -type GetVpnConnectionsVpnConnectionVgwTelemetryArrayOutput struct{ *pulumi.OutputState } - -func (GetVpnConnectionsVpnConnectionVgwTelemetryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpnConnectionsVpnConnectionVgwTelemetry)(nil)).Elem() -} - -func (o GetVpnConnectionsVpnConnectionVgwTelemetryArrayOutput) ToGetVpnConnectionsVpnConnectionVgwTelemetryArrayOutput() GetVpnConnectionsVpnConnectionVgwTelemetryArrayOutput { - return o -} - -func (o GetVpnConnectionsVpnConnectionVgwTelemetryArrayOutput) ToGetVpnConnectionsVpnConnectionVgwTelemetryArrayOutputWithContext(ctx context.Context) GetVpnConnectionsVpnConnectionVgwTelemetryArrayOutput { - return o -} - -func (o GetVpnConnectionsVpnConnectionVgwTelemetryArrayOutput) Index(i pulumi.IntInput) GetVpnConnectionsVpnConnectionVgwTelemetryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVpnConnectionsVpnConnectionVgwTelemetry { - return vs[0].([]GetVpnConnectionsVpnConnectionVgwTelemetry)[vs[1].(int)] - }).(GetVpnConnectionsVpnConnectionVgwTelemetryOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*ClientGatewayTagInput)(nil)).Elem(), ClientGatewayTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*ClientGatewayTagArrayInput)(nil)).Elem(), ClientGatewayTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DhcpOptionTagInput)(nil)).Elem(), DhcpOptionTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DhcpOptionTagArrayInput)(nil)).Elem(), DhcpOptionTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*ImageBlockDeviceMappingInput)(nil)).Elem(), ImageBlockDeviceMappingArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*ImageBlockDeviceMappingArrayInput)(nil)).Elem(), ImageBlockDeviceMappingArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*ImageBlockDeviceMappingBsusInput)(nil)).Elem(), ImageBlockDeviceMappingBsusArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*ImageBlockDeviceMappingBsusArrayInput)(nil)).Elem(), ImageBlockDeviceMappingBsusArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*ImageExportTaskOsuExportInput)(nil)).Elem(), ImageExportTaskOsuExportArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*ImageExportTaskOsuExportArrayInput)(nil)).Elem(), ImageExportTaskOsuExportArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*ImageExportTaskOsuExportOsuApiKeyInput)(nil)).Elem(), ImageExportTaskOsuExportOsuApiKeyArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*ImageExportTaskOsuExportOsuApiKeyArrayInput)(nil)).Elem(), ImageExportTaskOsuExportOsuApiKeyArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*ImageExportTaskTagInput)(nil)).Elem(), ImageExportTaskTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*ImageExportTaskTagArrayInput)(nil)).Elem(), ImageExportTaskTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*ImageLaunchPermissionPermissionAdditionsInput)(nil)).Elem(), ImageLaunchPermissionPermissionAdditionsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*ImageLaunchPermissionPermissionAdditionsPtrInput)(nil)).Elem(), ImageLaunchPermissionPermissionAdditionsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*ImageLaunchPermissionPermissionRemovalsInput)(nil)).Elem(), ImageLaunchPermissionPermissionRemovalsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*ImageLaunchPermissionPermissionRemovalsPtrInput)(nil)).Elem(), ImageLaunchPermissionPermissionRemovalsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*ImageLaunchPermissionPermissionsToLaunchInput)(nil)).Elem(), ImageLaunchPermissionPermissionsToLaunchArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*ImageLaunchPermissionPermissionsToLaunchArrayInput)(nil)).Elem(), ImageLaunchPermissionPermissionsToLaunchArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*ImagePermissionsToLaunchInput)(nil)).Elem(), ImagePermissionsToLaunchArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*ImagePermissionsToLaunchArrayInput)(nil)).Elem(), ImagePermissionsToLaunchArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*ImageStateCommentInput)(nil)).Elem(), ImageStateCommentArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*ImageStateCommentArrayInput)(nil)).Elem(), ImageStateCommentArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*ImageTagInput)(nil)).Elem(), ImageTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*ImageTagArrayInput)(nil)).Elem(), ImageTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*InternetServiceLinkTagInput)(nil)).Elem(), InternetServiceLinkTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*InternetServiceLinkTagArrayInput)(nil)).Elem(), InternetServiceLinkTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*InternetServiceTagInput)(nil)).Elem(), InternetServiceTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*InternetServiceTagArrayInput)(nil)).Elem(), InternetServiceTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerAccessLogInput)(nil)).Elem(), LoadBalancerAccessLogArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerAccessLogArrayInput)(nil)).Elem(), LoadBalancerAccessLogArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerApplicationStickyCookiePolicyInput)(nil)).Elem(), LoadBalancerApplicationStickyCookiePolicyArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerApplicationStickyCookiePolicyArrayInput)(nil)).Elem(), LoadBalancerApplicationStickyCookiePolicyArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerAttributesAccessLogInput)(nil)).Elem(), LoadBalancerAttributesAccessLogArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerAttributesAccessLogPtrInput)(nil)).Elem(), LoadBalancerAttributesAccessLogArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerAttributesApplicationStickyCookiePolicyInput)(nil)).Elem(), LoadBalancerAttributesApplicationStickyCookiePolicyArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerAttributesApplicationStickyCookiePolicyArrayInput)(nil)).Elem(), LoadBalancerAttributesApplicationStickyCookiePolicyArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerAttributesHealthCheckInput)(nil)).Elem(), LoadBalancerAttributesHealthCheckArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerAttributesHealthCheckPtrInput)(nil)).Elem(), LoadBalancerAttributesHealthCheckArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerAttributesListenerInput)(nil)).Elem(), LoadBalancerAttributesListenerArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerAttributesListenerArrayInput)(nil)).Elem(), LoadBalancerAttributesListenerArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerAttributesLoadBalancerStickyCookiePolicyInput)(nil)).Elem(), LoadBalancerAttributesLoadBalancerStickyCookiePolicyArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerAttributesLoadBalancerStickyCookiePolicyArrayInput)(nil)).Elem(), LoadBalancerAttributesLoadBalancerStickyCookiePolicyArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerAttributesSourceSecurityGroupInput)(nil)).Elem(), LoadBalancerAttributesSourceSecurityGroupArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerAttributesSourceSecurityGroupArrayInput)(nil)).Elem(), LoadBalancerAttributesSourceSecurityGroupArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerAttributesTagInput)(nil)).Elem(), LoadBalancerAttributesTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerAttributesTagArrayInput)(nil)).Elem(), LoadBalancerAttributesTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerHealthCheckInput)(nil)).Elem(), LoadBalancerHealthCheckArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerHealthCheckArrayInput)(nil)).Elem(), LoadBalancerHealthCheckArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerListenerInput)(nil)).Elem(), LoadBalancerListenerArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerListenerArrayInput)(nil)).Elem(), LoadBalancerListenerArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerLoadBalancerStickyCookiePolicyInput)(nil)).Elem(), LoadBalancerLoadBalancerStickyCookiePolicyArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerLoadBalancerStickyCookiePolicyArrayInput)(nil)).Elem(), LoadBalancerLoadBalancerStickyCookiePolicyArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerPolicyAccessLogInput)(nil)).Elem(), LoadBalancerPolicyAccessLogArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerPolicyAccessLogArrayInput)(nil)).Elem(), LoadBalancerPolicyAccessLogArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerPolicyApplicationStickyCookiePolicyInput)(nil)).Elem(), LoadBalancerPolicyApplicationStickyCookiePolicyArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerPolicyApplicationStickyCookiePolicyArrayInput)(nil)).Elem(), LoadBalancerPolicyApplicationStickyCookiePolicyArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerPolicyHealthCheckInput)(nil)).Elem(), LoadBalancerPolicyHealthCheckArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerPolicyHealthCheckArrayInput)(nil)).Elem(), LoadBalancerPolicyHealthCheckArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerPolicyListenerInput)(nil)).Elem(), LoadBalancerPolicyListenerArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerPolicyListenerArrayInput)(nil)).Elem(), LoadBalancerPolicyListenerArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerPolicyLoadBalancerStickyCookiePolicyInput)(nil)).Elem(), LoadBalancerPolicyLoadBalancerStickyCookiePolicyArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerPolicyLoadBalancerStickyCookiePolicyArrayInput)(nil)).Elem(), LoadBalancerPolicyLoadBalancerStickyCookiePolicyArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerPolicySourceSecurityGroupInput)(nil)).Elem(), LoadBalancerPolicySourceSecurityGroupArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerPolicySourceSecurityGroupArrayInput)(nil)).Elem(), LoadBalancerPolicySourceSecurityGroupArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerPolicyTagInput)(nil)).Elem(), LoadBalancerPolicyTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerPolicyTagArrayInput)(nil)).Elem(), LoadBalancerPolicyTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerSourceSecurityGroupInput)(nil)).Elem(), LoadBalancerSourceSecurityGroupArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerSourceSecurityGroupArrayInput)(nil)).Elem(), LoadBalancerSourceSecurityGroupArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerTagInput)(nil)).Elem(), LoadBalancerTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LoadBalancerTagArrayInput)(nil)).Elem(), LoadBalancerTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*NatServicePublicIpInput)(nil)).Elem(), NatServicePublicIpArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*NatServicePublicIpArrayInput)(nil)).Elem(), NatServicePublicIpArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*NatServiceTagInput)(nil)).Elem(), NatServiceTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*NatServiceTagArrayInput)(nil)).Elem(), NatServiceTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*NetAccessPointTagInput)(nil)).Elem(), NetAccessPointTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*NetAccessPointTagArrayInput)(nil)).Elem(), NetAccessPointTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*NetAttributesTagInput)(nil)).Elem(), NetAttributesTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*NetAttributesTagArrayInput)(nil)).Elem(), NetAttributesTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*NetPeeringAccepterNetInput)(nil)).Elem(), NetPeeringAccepterNetArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*NetPeeringAccepterNetArrayInput)(nil)).Elem(), NetPeeringAccepterNetArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*NetPeeringAcceptionAccepterNetInput)(nil)).Elem(), NetPeeringAcceptionAccepterNetArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*NetPeeringAcceptionAccepterNetArrayInput)(nil)).Elem(), NetPeeringAcceptionAccepterNetArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*NetPeeringAcceptionSourceNetInput)(nil)).Elem(), NetPeeringAcceptionSourceNetArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*NetPeeringAcceptionSourceNetArrayInput)(nil)).Elem(), NetPeeringAcceptionSourceNetArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*NetPeeringAcceptionStateTypeInput)(nil)).Elem(), NetPeeringAcceptionStateTypeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*NetPeeringAcceptionStateTypeArrayInput)(nil)).Elem(), NetPeeringAcceptionStateTypeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*NetPeeringAcceptionTagInput)(nil)).Elem(), NetPeeringAcceptionTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*NetPeeringAcceptionTagArrayInput)(nil)).Elem(), NetPeeringAcceptionTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*NetPeeringSourceNetInput)(nil)).Elem(), NetPeeringSourceNetArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*NetPeeringSourceNetArrayInput)(nil)).Elem(), NetPeeringSourceNetArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*NetPeeringStateTypeInput)(nil)).Elem(), NetPeeringStateTypeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*NetPeeringStateTypeArrayInput)(nil)).Elem(), NetPeeringStateTypeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*NetPeeringTagInput)(nil)).Elem(), NetPeeringTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*NetPeeringTagArrayInput)(nil)).Elem(), NetPeeringTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*NetTagInput)(nil)).Elem(), NetTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*NetTagArrayInput)(nil)).Elem(), NetTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*NicLinkNicInput)(nil)).Elem(), NicLinkNicArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*NicLinkNicArrayInput)(nil)).Elem(), NicLinkNicArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*NicLinkPublicIpInput)(nil)).Elem(), NicLinkPublicIpArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*NicLinkPublicIpArrayInput)(nil)).Elem(), NicLinkPublicIpArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*NicPrivateIpTypeInput)(nil)).Elem(), NicPrivateIpTypeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*NicPrivateIpTypeArrayInput)(nil)).Elem(), NicPrivateIpTypeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*NicPrivateIpLinkPublicIpInput)(nil)).Elem(), NicPrivateIpLinkPublicIpArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*NicPrivateIpLinkPublicIpArrayInput)(nil)).Elem(), NicPrivateIpLinkPublicIpArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*NicSecurityGroupInput)(nil)).Elem(), NicSecurityGroupArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*NicSecurityGroupArrayInput)(nil)).Elem(), NicSecurityGroupArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*NicTagInput)(nil)).Elem(), NicTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*NicTagArrayInput)(nil)).Elem(), NicTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*OutboundRuleRuleInput)(nil)).Elem(), OutboundRuleRuleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*OutboundRuleRuleArrayInput)(nil)).Elem(), OutboundRuleRuleArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*OutboundRuleRuleSecurityGroupsMemberInput)(nil)).Elem(), OutboundRuleRuleSecurityGroupsMemberArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*OutboundRuleRuleSecurityGroupsMemberArrayInput)(nil)).Elem(), OutboundRuleRuleSecurityGroupsMemberArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*ProviderEndpointInput)(nil)).Elem(), ProviderEndpointArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*ProviderEndpointArrayInput)(nil)).Elem(), ProviderEndpointArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PublicIpLinkTagInput)(nil)).Elem(), PublicIpLinkTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PublicIpLinkTagArrayInput)(nil)).Elem(), PublicIpLinkTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PublicIpTagInput)(nil)).Elem(), PublicIpTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PublicIpTagArrayInput)(nil)).Elem(), PublicIpTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*RouteTableLinkRouteTableInput)(nil)).Elem(), RouteTableLinkRouteTableArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*RouteTableLinkRouteTableArrayInput)(nil)).Elem(), RouteTableLinkRouteTableArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*RouteTableRouteInput)(nil)).Elem(), RouteTableRouteArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*RouteTableRouteArrayInput)(nil)).Elem(), RouteTableRouteArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*RouteTableRoutePropagatingVirtualGatewayInput)(nil)).Elem(), RouteTableRoutePropagatingVirtualGatewayArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*RouteTableRoutePropagatingVirtualGatewayArrayInput)(nil)).Elem(), RouteTableRoutePropagatingVirtualGatewayArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*RouteTableTagInput)(nil)).Elem(), RouteTableTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*RouteTableTagArrayInput)(nil)).Elem(), RouteTableTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityGroupInboundRuleInput)(nil)).Elem(), SecurityGroupInboundRuleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityGroupInboundRuleArrayInput)(nil)).Elem(), SecurityGroupInboundRuleArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityGroupOutboundRuleInput)(nil)).Elem(), SecurityGroupOutboundRuleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityGroupOutboundRuleArrayInput)(nil)).Elem(), SecurityGroupOutboundRuleArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityGroupRuleRuleInput)(nil)).Elem(), SecurityGroupRuleRuleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityGroupRuleRuleArrayInput)(nil)).Elem(), SecurityGroupRuleRuleArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityGroupRuleRuleSecurityGroupsMemberInput)(nil)).Elem(), SecurityGroupRuleRuleSecurityGroupsMemberArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityGroupRuleRuleSecurityGroupsMemberArrayInput)(nil)).Elem(), SecurityGroupRuleRuleSecurityGroupsMemberArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityGroupTagInput)(nil)).Elem(), SecurityGroupTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityGroupTagArrayInput)(nil)).Elem(), SecurityGroupTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*SnapshotAttributesPermissionsToCreateVolumeAdditionsInput)(nil)).Elem(), SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*SnapshotAttributesPermissionsToCreateVolumeAdditionsPtrInput)(nil)).Elem(), SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*SnapshotAttributesPermissionsToCreateVolumeRemovalInput)(nil)).Elem(), SnapshotAttributesPermissionsToCreateVolumeRemovalArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*SnapshotAttributesPermissionsToCreateVolumeRemovalArrayInput)(nil)).Elem(), SnapshotAttributesPermissionsToCreateVolumeRemovalArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*SnapshotExportTaskOsuExportInput)(nil)).Elem(), SnapshotExportTaskOsuExportArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*SnapshotExportTaskOsuExportArrayInput)(nil)).Elem(), SnapshotExportTaskOsuExportArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*SnapshotExportTaskOsuExportOsuApiKeyInput)(nil)).Elem(), SnapshotExportTaskOsuExportOsuApiKeyArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*SnapshotExportTaskOsuExportOsuApiKeyArrayInput)(nil)).Elem(), SnapshotExportTaskOsuExportOsuApiKeyArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*SnapshotExportTaskTagInput)(nil)).Elem(), SnapshotExportTaskTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*SnapshotExportTaskTagArrayInput)(nil)).Elem(), SnapshotExportTaskTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*SnapshotPermissionsToCreateVolumeInput)(nil)).Elem(), SnapshotPermissionsToCreateVolumeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*SnapshotPermissionsToCreateVolumeArrayInput)(nil)).Elem(), SnapshotPermissionsToCreateVolumeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*SnapshotTagInput)(nil)).Elem(), SnapshotTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*SnapshotTagArrayInput)(nil)).Elem(), SnapshotTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*SubnetTagInput)(nil)).Elem(), SubnetTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*SubnetTagArrayInput)(nil)).Elem(), SubnetTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*TagTagInput)(nil)).Elem(), TagTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*TagTagArrayInput)(nil)).Elem(), TagTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*VirtualGatewayLinkNetToVirtualGatewayLinkInput)(nil)).Elem(), VirtualGatewayLinkNetToVirtualGatewayLinkArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*VirtualGatewayLinkNetToVirtualGatewayLinkArrayInput)(nil)).Elem(), VirtualGatewayLinkNetToVirtualGatewayLinkArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*VirtualGatewayNetToVirtualGatewayLinkInput)(nil)).Elem(), VirtualGatewayNetToVirtualGatewayLinkArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*VirtualGatewayNetToVirtualGatewayLinkArrayInput)(nil)).Elem(), VirtualGatewayNetToVirtualGatewayLinkArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*VirtualGatewayTagInput)(nil)).Elem(), VirtualGatewayTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*VirtualGatewayTagArrayInput)(nil)).Elem(), VirtualGatewayTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmBlockDeviceMappingInput)(nil)).Elem(), VmBlockDeviceMappingArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmBlockDeviceMappingArrayInput)(nil)).Elem(), VmBlockDeviceMappingArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmBlockDeviceMappingBsuInput)(nil)).Elem(), VmBlockDeviceMappingBsuArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmBlockDeviceMappingBsuPtrInput)(nil)).Elem(), VmBlockDeviceMappingBsuArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmBlockDeviceMappingBsuTagInput)(nil)).Elem(), VmBlockDeviceMappingBsuTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmBlockDeviceMappingBsuTagArrayInput)(nil)).Elem(), VmBlockDeviceMappingBsuTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmBlockDeviceMappingsCreatedInput)(nil)).Elem(), VmBlockDeviceMappingsCreatedArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmBlockDeviceMappingsCreatedArrayInput)(nil)).Elem(), VmBlockDeviceMappingsCreatedArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmBlockDeviceMappingsCreatedBsusInput)(nil)).Elem(), VmBlockDeviceMappingsCreatedBsusArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmBlockDeviceMappingsCreatedBsusArrayInput)(nil)).Elem(), VmBlockDeviceMappingsCreatedBsusArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmBlockDeviceMappingsCreatedBsusTagInput)(nil)).Elem(), VmBlockDeviceMappingsCreatedBsusTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmBlockDeviceMappingsCreatedBsusTagArrayInput)(nil)).Elem(), VmBlockDeviceMappingsCreatedBsusTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmNicInput)(nil)).Elem(), VmNicArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmNicArrayInput)(nil)).Elem(), VmNicArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmNicLinkNicInput)(nil)).Elem(), VmNicLinkNicArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmNicLinkNicArrayInput)(nil)).Elem(), VmNicLinkNicArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmNicLinkPublicIpInput)(nil)).Elem(), VmNicLinkPublicIpArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmNicLinkPublicIpArrayInput)(nil)).Elem(), VmNicLinkPublicIpArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmNicPrivateIpInput)(nil)).Elem(), VmNicPrivateIpArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmNicPrivateIpArrayInput)(nil)).Elem(), VmNicPrivateIpArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmNicPrivateIpLinkPublicIpInput)(nil)).Elem(), VmNicPrivateIpLinkPublicIpArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmNicPrivateIpLinkPublicIpArrayInput)(nil)).Elem(), VmNicPrivateIpLinkPublicIpArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmNicSecurityGroupInput)(nil)).Elem(), VmNicSecurityGroupArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmNicSecurityGroupArrayInput)(nil)).Elem(), VmNicSecurityGroupArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmPrimaryNicInput)(nil)).Elem(), VmPrimaryNicArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmPrimaryNicArrayInput)(nil)).Elem(), VmPrimaryNicArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmPrimaryNicLinkNicInput)(nil)).Elem(), VmPrimaryNicLinkNicArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmPrimaryNicLinkNicArrayInput)(nil)).Elem(), VmPrimaryNicLinkNicArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmPrimaryNicLinkPublicIpInput)(nil)).Elem(), VmPrimaryNicLinkPublicIpArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmPrimaryNicLinkPublicIpArrayInput)(nil)).Elem(), VmPrimaryNicLinkPublicIpArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmPrimaryNicPrivateIpInput)(nil)).Elem(), VmPrimaryNicPrivateIpArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmPrimaryNicPrivateIpArrayInput)(nil)).Elem(), VmPrimaryNicPrivateIpArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmPrimaryNicPrivateIpLinkPublicIpInput)(nil)).Elem(), VmPrimaryNicPrivateIpLinkPublicIpArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmPrimaryNicPrivateIpLinkPublicIpArrayInput)(nil)).Elem(), VmPrimaryNicPrivateIpLinkPublicIpArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmPrimaryNicSecurityGroupInput)(nil)).Elem(), VmPrimaryNicSecurityGroupArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmPrimaryNicSecurityGroupArrayInput)(nil)).Elem(), VmPrimaryNicSecurityGroupArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmSecurityGroupInput)(nil)).Elem(), VmSecurityGroupArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmSecurityGroupArrayInput)(nil)).Elem(), VmSecurityGroupArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmTagInput)(nil)).Elem(), VmTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmTagArrayInput)(nil)).Elem(), VmTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*VolumeLinkedVolumeInput)(nil)).Elem(), VolumeLinkedVolumeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*VolumeLinkedVolumeArrayInput)(nil)).Elem(), VolumeLinkedVolumeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*VolumeTagInput)(nil)).Elem(), VolumeTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*VolumeTagArrayInput)(nil)).Elem(), VolumeTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*VpnConnectionRouteTypeInput)(nil)).Elem(), VpnConnectionRouteTypeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*VpnConnectionRouteTypeArrayInput)(nil)).Elem(), VpnConnectionRouteTypeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*VpnConnectionTagInput)(nil)).Elem(), VpnConnectionTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*VpnConnectionTagArrayInput)(nil)).Elem(), VpnConnectionTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*VpnConnectionVgwTelemetryInput)(nil)).Elem(), VpnConnectionVgwTelemetryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*VpnConnectionVgwTelemetryArrayInput)(nil)).Elem(), VpnConnectionVgwTelemetryArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetAccessKeyFilterInput)(nil)).Elem(), GetAccessKeyFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetAccessKeyFilterArrayInput)(nil)).Elem(), GetAccessKeyFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetAccessKeysAccessKeyInput)(nil)).Elem(), GetAccessKeysAccessKeyArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetAccessKeysAccessKeyArrayInput)(nil)).Elem(), GetAccessKeysAccessKeyArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetAccessKeysFilterInput)(nil)).Elem(), GetAccessKeysFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetAccessKeysFilterArrayInput)(nil)).Elem(), GetAccessKeysFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetAccountsAccountInput)(nil)).Elem(), GetAccountsAccountArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetAccountsAccountArrayInput)(nil)).Elem(), GetAccountsAccountArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetApiAccessRuleFilterInput)(nil)).Elem(), GetApiAccessRuleFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetApiAccessRuleFilterArrayInput)(nil)).Elem(), GetApiAccessRuleFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetApiAccessRulesApiAccessRuleInput)(nil)).Elem(), GetApiAccessRulesApiAccessRuleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetApiAccessRulesApiAccessRuleArrayInput)(nil)).Elem(), GetApiAccessRulesApiAccessRuleArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetApiAccessRulesFilterInput)(nil)).Elem(), GetApiAccessRulesFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetApiAccessRulesFilterArrayInput)(nil)).Elem(), GetApiAccessRulesFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetCaFilterInput)(nil)).Elem(), GetCaFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetCaFilterArrayInput)(nil)).Elem(), GetCaFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetCasCaInput)(nil)).Elem(), GetCasCaArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetCasCaArrayInput)(nil)).Elem(), GetCasCaArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetCasFilterInput)(nil)).Elem(), GetCasFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetCasFilterArrayInput)(nil)).Elem(), GetCasFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClientGatewayFilterInput)(nil)).Elem(), GetClientGatewayFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClientGatewayFilterArrayInput)(nil)).Elem(), GetClientGatewayFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClientGatewayTagInput)(nil)).Elem(), GetClientGatewayTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClientGatewayTagArrayInput)(nil)).Elem(), GetClientGatewayTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClientGatewaysClientGatewayInput)(nil)).Elem(), GetClientGatewaysClientGatewayArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClientGatewaysClientGatewayArrayInput)(nil)).Elem(), GetClientGatewaysClientGatewayArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClientGatewaysClientGatewayTagInput)(nil)).Elem(), GetClientGatewaysClientGatewayTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClientGatewaysClientGatewayTagArrayInput)(nil)).Elem(), GetClientGatewaysClientGatewayTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClientGatewaysFilterInput)(nil)).Elem(), GetClientGatewaysFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetClientGatewaysFilterArrayInput)(nil)).Elem(), GetClientGatewaysFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetDhcpOptionFilterInput)(nil)).Elem(), GetDhcpOptionFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetDhcpOptionFilterArrayInput)(nil)).Elem(), GetDhcpOptionFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetDhcpOptionTagInput)(nil)).Elem(), GetDhcpOptionTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetDhcpOptionTagArrayInput)(nil)).Elem(), GetDhcpOptionTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetDhcpOptionsDhcpOptionInput)(nil)).Elem(), GetDhcpOptionsDhcpOptionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetDhcpOptionsDhcpOptionArrayInput)(nil)).Elem(), GetDhcpOptionsDhcpOptionArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetDhcpOptionsDhcpOptionTagInput)(nil)).Elem(), GetDhcpOptionsDhcpOptionTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetDhcpOptionsDhcpOptionTagArrayInput)(nil)).Elem(), GetDhcpOptionsDhcpOptionTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetDhcpOptionsFilterInput)(nil)).Elem(), GetDhcpOptionsFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetDhcpOptionsFilterArrayInput)(nil)).Elem(), GetDhcpOptionsFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFlexibleGpuCatalogFilterInput)(nil)).Elem(), GetFlexibleGpuCatalogFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFlexibleGpuCatalogFilterArrayInput)(nil)).Elem(), GetFlexibleGpuCatalogFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFlexibleGpuCatalogFlexibleGpuCatalogInput)(nil)).Elem(), GetFlexibleGpuCatalogFlexibleGpuCatalogArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFlexibleGpuCatalogFlexibleGpuCatalogArrayInput)(nil)).Elem(), GetFlexibleGpuCatalogFlexibleGpuCatalogArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFlexibleGpuFilterInput)(nil)).Elem(), GetFlexibleGpuFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFlexibleGpuFilterArrayInput)(nil)).Elem(), GetFlexibleGpuFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFlexibleGpusFilterInput)(nil)).Elem(), GetFlexibleGpusFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFlexibleGpusFilterArrayInput)(nil)).Elem(), GetFlexibleGpusFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFlexibleGpusFlexibleGpusInput)(nil)).Elem(), GetFlexibleGpusFlexibleGpusArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFlexibleGpusFlexibleGpusArrayInput)(nil)).Elem(), GetFlexibleGpusFlexibleGpusArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImageBlockDeviceMappingInput)(nil)).Elem(), GetImageBlockDeviceMappingArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImageBlockDeviceMappingArrayInput)(nil)).Elem(), GetImageBlockDeviceMappingArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImageBlockDeviceMappingBsusInput)(nil)).Elem(), GetImageBlockDeviceMappingBsusArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImageBlockDeviceMappingBsusArrayInput)(nil)).Elem(), GetImageBlockDeviceMappingBsusArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImageExportTaskFilterInput)(nil)).Elem(), GetImageExportTaskFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImageExportTaskFilterArrayInput)(nil)).Elem(), GetImageExportTaskFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImageExportTaskOsuExportInput)(nil)).Elem(), GetImageExportTaskOsuExportArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImageExportTaskOsuExportArrayInput)(nil)).Elem(), GetImageExportTaskOsuExportArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImageExportTaskTagInput)(nil)).Elem(), GetImageExportTaskTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImageExportTaskTagArrayInput)(nil)).Elem(), GetImageExportTaskTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImageExportTasksFilterInput)(nil)).Elem(), GetImageExportTasksFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImageExportTasksFilterArrayInput)(nil)).Elem(), GetImageExportTasksFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImageExportTasksImageExportTaskInput)(nil)).Elem(), GetImageExportTasksImageExportTaskArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImageExportTasksImageExportTaskArrayInput)(nil)).Elem(), GetImageExportTasksImageExportTaskArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImageExportTasksImageExportTaskOsuExportInput)(nil)).Elem(), GetImageExportTasksImageExportTaskOsuExportArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImageExportTasksImageExportTaskOsuExportArrayInput)(nil)).Elem(), GetImageExportTasksImageExportTaskOsuExportArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImageExportTasksImageExportTaskTagInput)(nil)).Elem(), GetImageExportTasksImageExportTaskTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImageExportTasksImageExportTaskTagArrayInput)(nil)).Elem(), GetImageExportTasksImageExportTaskTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImageFilterInput)(nil)).Elem(), GetImageFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImageFilterArrayInput)(nil)).Elem(), GetImageFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImagePermissionsToLaunchInput)(nil)).Elem(), GetImagePermissionsToLaunchArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImagePermissionsToLaunchArrayInput)(nil)).Elem(), GetImagePermissionsToLaunchArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImageStateCommentInput)(nil)).Elem(), GetImageStateCommentArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImageStateCommentArrayInput)(nil)).Elem(), GetImageStateCommentArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImageTagInput)(nil)).Elem(), GetImageTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImageTagArrayInput)(nil)).Elem(), GetImageTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImagesFilterInput)(nil)).Elem(), GetImagesFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImagesFilterArrayInput)(nil)).Elem(), GetImagesFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImagesImageInput)(nil)).Elem(), GetImagesImageArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImagesImageArrayInput)(nil)).Elem(), GetImagesImageArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImagesImageBlockDeviceMappingInput)(nil)).Elem(), GetImagesImageBlockDeviceMappingArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImagesImageBlockDeviceMappingArrayInput)(nil)).Elem(), GetImagesImageBlockDeviceMappingArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImagesImageBlockDeviceMappingBsusInput)(nil)).Elem(), GetImagesImageBlockDeviceMappingBsusArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImagesImageBlockDeviceMappingBsusArrayInput)(nil)).Elem(), GetImagesImageBlockDeviceMappingBsusArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImagesImagePermissionsToLaunchInput)(nil)).Elem(), GetImagesImagePermissionsToLaunchArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImagesImagePermissionsToLaunchArrayInput)(nil)).Elem(), GetImagesImagePermissionsToLaunchArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImagesImageStateCommentInput)(nil)).Elem(), GetImagesImageStateCommentArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImagesImageStateCommentArrayInput)(nil)).Elem(), GetImagesImageStateCommentArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImagesImageTagInput)(nil)).Elem(), GetImagesImageTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetImagesImageTagArrayInput)(nil)).Elem(), GetImagesImageTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetInternetServiceFilterInput)(nil)).Elem(), GetInternetServiceFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetInternetServiceFilterArrayInput)(nil)).Elem(), GetInternetServiceFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetInternetServiceTagInput)(nil)).Elem(), GetInternetServiceTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetInternetServiceTagArrayInput)(nil)).Elem(), GetInternetServiceTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetInternetServicesFilterInput)(nil)).Elem(), GetInternetServicesFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetInternetServicesFilterArrayInput)(nil)).Elem(), GetInternetServicesFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetInternetServicesInternetServiceInput)(nil)).Elem(), GetInternetServicesInternetServiceArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetInternetServicesInternetServiceArrayInput)(nil)).Elem(), GetInternetServicesInternetServiceArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetInternetServicesInternetServiceTagInput)(nil)).Elem(), GetInternetServicesInternetServiceTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetInternetServicesInternetServiceTagArrayInput)(nil)).Elem(), GetInternetServicesInternetServiceTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetKeypairFilterInput)(nil)).Elem(), GetKeypairFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetKeypairFilterArrayInput)(nil)).Elem(), GetKeypairFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetKeypairsFilterInput)(nil)).Elem(), GetKeypairsFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetKeypairsFilterArrayInput)(nil)).Elem(), GetKeypairsFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetKeypairsKeypairInput)(nil)).Elem(), GetKeypairsKeypairArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetKeypairsKeypairArrayInput)(nil)).Elem(), GetKeypairsKeypairArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancerAccessLogInput)(nil)).Elem(), GetLoadBalancerAccessLogArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancerAccessLogArrayInput)(nil)).Elem(), GetLoadBalancerAccessLogArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancerApplicationStickyCookiePolicyInput)(nil)).Elem(), GetLoadBalancerApplicationStickyCookiePolicyArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancerApplicationStickyCookiePolicyArrayInput)(nil)).Elem(), GetLoadBalancerApplicationStickyCookiePolicyArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancerFilterInput)(nil)).Elem(), GetLoadBalancerFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancerFilterArrayInput)(nil)).Elem(), GetLoadBalancerFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancerHealthCheckInput)(nil)).Elem(), GetLoadBalancerHealthCheckArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancerHealthCheckArrayInput)(nil)).Elem(), GetLoadBalancerHealthCheckArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancerListenerInput)(nil)).Elem(), GetLoadBalancerListenerArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancerListenerArrayInput)(nil)).Elem(), GetLoadBalancerListenerArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancerLoadBalancerStickyCookiePolicyInput)(nil)).Elem(), GetLoadBalancerLoadBalancerStickyCookiePolicyArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancerLoadBalancerStickyCookiePolicyArrayInput)(nil)).Elem(), GetLoadBalancerLoadBalancerStickyCookiePolicyArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancerSourceSecurityGroupInput)(nil)).Elem(), GetLoadBalancerSourceSecurityGroupArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancerSourceSecurityGroupArrayInput)(nil)).Elem(), GetLoadBalancerSourceSecurityGroupArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancerTagInput)(nil)).Elem(), GetLoadBalancerTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancerTagArrayInput)(nil)).Elem(), GetLoadBalancerTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancerTagsFilterInput)(nil)).Elem(), GetLoadBalancerTagsFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancerTagsFilterArrayInput)(nil)).Elem(), GetLoadBalancerTagsFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancerTagsTagInput)(nil)).Elem(), GetLoadBalancerTagsTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancerTagsTagArrayInput)(nil)).Elem(), GetLoadBalancerTagsTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancerVmHealthBackendVmHealthInput)(nil)).Elem(), GetLoadBalancerVmHealthBackendVmHealthArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancerVmHealthBackendVmHealthArrayInput)(nil)).Elem(), GetLoadBalancerVmHealthBackendVmHealthArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancerVmHealthFilterInput)(nil)).Elem(), GetLoadBalancerVmHealthFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancerVmHealthFilterArrayInput)(nil)).Elem(), GetLoadBalancerVmHealthFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancersFilterInput)(nil)).Elem(), GetLoadBalancersFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancersFilterArrayInput)(nil)).Elem(), GetLoadBalancersFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancersLoadBalancerInput)(nil)).Elem(), GetLoadBalancersLoadBalancerArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancersLoadBalancerArrayInput)(nil)).Elem(), GetLoadBalancersLoadBalancerArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancersLoadBalancerAccessLogInput)(nil)).Elem(), GetLoadBalancersLoadBalancerAccessLogArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancersLoadBalancerAccessLogArrayInput)(nil)).Elem(), GetLoadBalancersLoadBalancerAccessLogArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyInput)(nil)).Elem(), GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArrayInput)(nil)).Elem(), GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancersLoadBalancerBackendVmIdInput)(nil)).Elem(), GetLoadBalancersLoadBalancerBackendVmIdArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancersLoadBalancerBackendVmIdArrayInput)(nil)).Elem(), GetLoadBalancersLoadBalancerBackendVmIdArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancersLoadBalancerHealthCheckInput)(nil)).Elem(), GetLoadBalancersLoadBalancerHealthCheckArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancersLoadBalancerHealthCheckArrayInput)(nil)).Elem(), GetLoadBalancersLoadBalancerHealthCheckArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancersLoadBalancerListenerInput)(nil)).Elem(), GetLoadBalancersLoadBalancerListenerArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancersLoadBalancerListenerArrayInput)(nil)).Elem(), GetLoadBalancersLoadBalancerListenerArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyInput)(nil)).Elem(), GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArrayInput)(nil)).Elem(), GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancersLoadBalancerSourceSecurityGroupInput)(nil)).Elem(), GetLoadBalancersLoadBalancerSourceSecurityGroupArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancersLoadBalancerSourceSecurityGroupArrayInput)(nil)).Elem(), GetLoadBalancersLoadBalancerSourceSecurityGroupArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancersLoadBalancerTagInput)(nil)).Elem(), GetLoadBalancersLoadBalancerTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancersLoadBalancerTagArrayInput)(nil)).Elem(), GetLoadBalancersLoadBalancerTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNatServiceFilterInput)(nil)).Elem(), GetNatServiceFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNatServiceFilterArrayInput)(nil)).Elem(), GetNatServiceFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNatServicePublicIpInput)(nil)).Elem(), GetNatServicePublicIpArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNatServicePublicIpArrayInput)(nil)).Elem(), GetNatServicePublicIpArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNatServiceTagInput)(nil)).Elem(), GetNatServiceTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNatServiceTagArrayInput)(nil)).Elem(), GetNatServiceTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNatServicesFilterInput)(nil)).Elem(), GetNatServicesFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNatServicesFilterArrayInput)(nil)).Elem(), GetNatServicesFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNatServicesNatServiceInput)(nil)).Elem(), GetNatServicesNatServiceArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNatServicesNatServiceArrayInput)(nil)).Elem(), GetNatServicesNatServiceArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNatServicesNatServicePublicIpInput)(nil)).Elem(), GetNatServicesNatServicePublicIpArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNatServicesNatServicePublicIpArrayInput)(nil)).Elem(), GetNatServicesNatServicePublicIpArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNatServicesNatServiceTagInput)(nil)).Elem(), GetNatServicesNatServiceTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNatServicesNatServiceTagArrayInput)(nil)).Elem(), GetNatServicesNatServiceTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetAccessPointFilterInput)(nil)).Elem(), GetNetAccessPointFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetAccessPointFilterArrayInput)(nil)).Elem(), GetNetAccessPointFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetAccessPointServicesFilterInput)(nil)).Elem(), GetNetAccessPointServicesFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetAccessPointServicesFilterArrayInput)(nil)).Elem(), GetNetAccessPointServicesFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetAccessPointServicesServiceInput)(nil)).Elem(), GetNetAccessPointServicesServiceArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetAccessPointServicesServiceArrayInput)(nil)).Elem(), GetNetAccessPointServicesServiceArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetAccessPointTagInput)(nil)).Elem(), GetNetAccessPointTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetAccessPointTagArrayInput)(nil)).Elem(), GetNetAccessPointTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetAccessPointsFilterInput)(nil)).Elem(), GetNetAccessPointsFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetAccessPointsFilterArrayInput)(nil)).Elem(), GetNetAccessPointsFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetAccessPointsNetAccessPointInput)(nil)).Elem(), GetNetAccessPointsNetAccessPointArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetAccessPointsNetAccessPointArrayInput)(nil)).Elem(), GetNetAccessPointsNetAccessPointArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetAccessPointsNetAccessPointTagInput)(nil)).Elem(), GetNetAccessPointsNetAccessPointTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetAccessPointsNetAccessPointTagArrayInput)(nil)).Elem(), GetNetAccessPointsNetAccessPointTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetAttributesTagInput)(nil)).Elem(), GetNetAttributesTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetAttributesTagArrayInput)(nil)).Elem(), GetNetAttributesTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetFilterInput)(nil)).Elem(), GetNetFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetFilterArrayInput)(nil)).Elem(), GetNetFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetPeeringAccepterNetInput)(nil)).Elem(), GetNetPeeringAccepterNetArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetPeeringAccepterNetArrayInput)(nil)).Elem(), GetNetPeeringAccepterNetArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetPeeringFilterInput)(nil)).Elem(), GetNetPeeringFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetPeeringFilterArrayInput)(nil)).Elem(), GetNetPeeringFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetPeeringSourceNetInput)(nil)).Elem(), GetNetPeeringSourceNetArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetPeeringSourceNetArrayInput)(nil)).Elem(), GetNetPeeringSourceNetArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetPeeringStateInput)(nil)).Elem(), GetNetPeeringStateArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetPeeringStateArrayInput)(nil)).Elem(), GetNetPeeringStateArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetPeeringTagInput)(nil)).Elem(), GetNetPeeringTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetPeeringTagArrayInput)(nil)).Elem(), GetNetPeeringTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetPeeringsFilterInput)(nil)).Elem(), GetNetPeeringsFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetPeeringsFilterArrayInput)(nil)).Elem(), GetNetPeeringsFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetPeeringsNetPeeringInput)(nil)).Elem(), GetNetPeeringsNetPeeringArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetPeeringsNetPeeringArrayInput)(nil)).Elem(), GetNetPeeringsNetPeeringArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetPeeringsNetPeeringAccepterNetInput)(nil)).Elem(), GetNetPeeringsNetPeeringAccepterNetArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetPeeringsNetPeeringAccepterNetArrayInput)(nil)).Elem(), GetNetPeeringsNetPeeringAccepterNetArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetPeeringsNetPeeringSourceNetInput)(nil)).Elem(), GetNetPeeringsNetPeeringSourceNetArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetPeeringsNetPeeringSourceNetArrayInput)(nil)).Elem(), GetNetPeeringsNetPeeringSourceNetArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetPeeringsNetPeeringStateInput)(nil)).Elem(), GetNetPeeringsNetPeeringStateArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetPeeringsNetPeeringStateArrayInput)(nil)).Elem(), GetNetPeeringsNetPeeringStateArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetPeeringsNetPeeringTagInput)(nil)).Elem(), GetNetPeeringsNetPeeringTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetPeeringsNetPeeringTagArrayInput)(nil)).Elem(), GetNetPeeringsNetPeeringTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetTagInput)(nil)).Elem(), GetNetTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetTagArrayInput)(nil)).Elem(), GetNetTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetsFilterInput)(nil)).Elem(), GetNetsFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetsFilterArrayInput)(nil)).Elem(), GetNetsFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetsNetInput)(nil)).Elem(), GetNetsNetArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetsNetArrayInput)(nil)).Elem(), GetNetsNetArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetsNetTagInput)(nil)).Elem(), GetNetsNetTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNetsNetTagArrayInput)(nil)).Elem(), GetNetsNetTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNicFilterInput)(nil)).Elem(), GetNicFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNicFilterArrayInput)(nil)).Elem(), GetNicFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNicLinkNicInput)(nil)).Elem(), GetNicLinkNicArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNicLinkNicArrayInput)(nil)).Elem(), GetNicLinkNicArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNicLinkPublicIpInput)(nil)).Elem(), GetNicLinkPublicIpArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNicLinkPublicIpArrayInput)(nil)).Elem(), GetNicLinkPublicIpArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNicPrivateIpTypeInput)(nil)).Elem(), GetNicPrivateIpTypeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNicPrivateIpTypeArrayInput)(nil)).Elem(), GetNicPrivateIpTypeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNicPrivateIpLinkPublicIpInput)(nil)).Elem(), GetNicPrivateIpLinkPublicIpArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNicPrivateIpLinkPublicIpArrayInput)(nil)).Elem(), GetNicPrivateIpLinkPublicIpArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNicSecurityGroupInput)(nil)).Elem(), GetNicSecurityGroupArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNicSecurityGroupArrayInput)(nil)).Elem(), GetNicSecurityGroupArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNicTagInput)(nil)).Elem(), GetNicTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNicTagArrayInput)(nil)).Elem(), GetNicTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNicsFilterInput)(nil)).Elem(), GetNicsFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNicsFilterArrayInput)(nil)).Elem(), GetNicsFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNicsNicInput)(nil)).Elem(), GetNicsNicArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNicsNicArrayInput)(nil)).Elem(), GetNicsNicArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNicsNicLinkNicInput)(nil)).Elem(), GetNicsNicLinkNicArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNicsNicLinkNicArrayInput)(nil)).Elem(), GetNicsNicLinkNicArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNicsNicLinkPublicIpInput)(nil)).Elem(), GetNicsNicLinkPublicIpArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNicsNicLinkPublicIpArrayInput)(nil)).Elem(), GetNicsNicLinkPublicIpArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNicsNicPrivateIpInput)(nil)).Elem(), GetNicsNicPrivateIpArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNicsNicPrivateIpArrayInput)(nil)).Elem(), GetNicsNicPrivateIpArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNicsNicPrivateIpLinkPublicIpInput)(nil)).Elem(), GetNicsNicPrivateIpLinkPublicIpArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNicsNicPrivateIpLinkPublicIpArrayInput)(nil)).Elem(), GetNicsNicPrivateIpLinkPublicIpArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNicsNicSecurityGroupInput)(nil)).Elem(), GetNicsNicSecurityGroupArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNicsNicSecurityGroupArrayInput)(nil)).Elem(), GetNicsNicSecurityGroupArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNicsNicTagInput)(nil)).Elem(), GetNicsNicTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNicsNicTagArrayInput)(nil)).Elem(), GetNicsNicTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetProductTypeFilterInput)(nil)).Elem(), GetProductTypeFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetProductTypeFilterArrayInput)(nil)).Elem(), GetProductTypeFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetProductTypesFilterInput)(nil)).Elem(), GetProductTypesFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetProductTypesFilterArrayInput)(nil)).Elem(), GetProductTypesFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetProductTypesProductTypeInput)(nil)).Elem(), GetProductTypesProductTypeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetProductTypesProductTypeArrayInput)(nil)).Elem(), GetProductTypesProductTypeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPublicIpFilterInput)(nil)).Elem(), GetPublicIpFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPublicIpFilterArrayInput)(nil)).Elem(), GetPublicIpFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPublicIpTagInput)(nil)).Elem(), GetPublicIpTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPublicIpTagArrayInput)(nil)).Elem(), GetPublicIpTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPublicIpsFilterInput)(nil)).Elem(), GetPublicIpsFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPublicIpsFilterArrayInput)(nil)).Elem(), GetPublicIpsFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPublicIpsPublicIpInput)(nil)).Elem(), GetPublicIpsPublicIpArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPublicIpsPublicIpArrayInput)(nil)).Elem(), GetPublicIpsPublicIpArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPublicIpsPublicIpTagInput)(nil)).Elem(), GetPublicIpsPublicIpTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPublicIpsPublicIpTagArrayInput)(nil)).Elem(), GetPublicIpsPublicIpTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPulicCatalogCatalogInput)(nil)).Elem(), GetPulicCatalogCatalogArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPulicCatalogCatalogArrayInput)(nil)).Elem(), GetPulicCatalogCatalogArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPulicCatalogCatalogEntryInput)(nil)).Elem(), GetPulicCatalogCatalogEntryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPulicCatalogCatalogEntryArrayInput)(nil)).Elem(), GetPulicCatalogCatalogEntryArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetQuotaFilterInput)(nil)).Elem(), GetQuotaFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetQuotaFilterArrayInput)(nil)).Elem(), GetQuotaFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetQuotasFilterInput)(nil)).Elem(), GetQuotasFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetQuotasFilterArrayInput)(nil)).Elem(), GetQuotasFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetQuotasQuotaInput)(nil)).Elem(), GetQuotasQuotaArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetQuotasQuotaArrayInput)(nil)).Elem(), GetQuotasQuotaArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetRegionsRegionInput)(nil)).Elem(), GetRegionsRegionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetRegionsRegionArrayInput)(nil)).Elem(), GetRegionsRegionArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetRouteTableFilterInput)(nil)).Elem(), GetRouteTableFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetRouteTableFilterArrayInput)(nil)).Elem(), GetRouteTableFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetRouteTableLinkRouteTableInput)(nil)).Elem(), GetRouteTableLinkRouteTableArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetRouteTableLinkRouteTableArrayInput)(nil)).Elem(), GetRouteTableLinkRouteTableArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetRouteTableRouteInput)(nil)).Elem(), GetRouteTableRouteArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetRouteTableRouteArrayInput)(nil)).Elem(), GetRouteTableRouteArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetRouteTableRoutePropagatingVirtualGatewayInput)(nil)).Elem(), GetRouteTableRoutePropagatingVirtualGatewayArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetRouteTableRoutePropagatingVirtualGatewayArrayInput)(nil)).Elem(), GetRouteTableRoutePropagatingVirtualGatewayArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetRouteTableTagInput)(nil)).Elem(), GetRouteTableTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetRouteTableTagArrayInput)(nil)).Elem(), GetRouteTableTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetRouteTablesFilterInput)(nil)).Elem(), GetRouteTablesFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetRouteTablesFilterArrayInput)(nil)).Elem(), GetRouteTablesFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetRouteTablesRouteTableInput)(nil)).Elem(), GetRouteTablesRouteTableArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetRouteTablesRouteTableArrayInput)(nil)).Elem(), GetRouteTablesRouteTableArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetRouteTablesRouteTableLinkRouteTableInput)(nil)).Elem(), GetRouteTablesRouteTableLinkRouteTableArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetRouteTablesRouteTableLinkRouteTableArrayInput)(nil)).Elem(), GetRouteTablesRouteTableLinkRouteTableArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetRouteTablesRouteTableRouteInput)(nil)).Elem(), GetRouteTablesRouteTableRouteArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetRouteTablesRouteTableRouteArrayInput)(nil)).Elem(), GetRouteTablesRouteTableRouteArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetRouteTablesRouteTableRoutePropagatingVirtualGatewayInput)(nil)).Elem(), GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArrayInput)(nil)).Elem(), GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetRouteTablesRouteTableTagInput)(nil)).Elem(), GetRouteTablesRouteTableTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetRouteTablesRouteTableTagArrayInput)(nil)).Elem(), GetRouteTablesRouteTableTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityGroupFilterInput)(nil)).Elem(), GetSecurityGroupFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityGroupFilterArrayInput)(nil)).Elem(), GetSecurityGroupFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityGroupInboundRuleInput)(nil)).Elem(), GetSecurityGroupInboundRuleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityGroupInboundRuleArrayInput)(nil)).Elem(), GetSecurityGroupInboundRuleArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityGroupInboundRuleSecurityGroupsMemberInput)(nil)).Elem(), GetSecurityGroupInboundRuleSecurityGroupsMemberArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityGroupInboundRuleSecurityGroupsMemberArrayInput)(nil)).Elem(), GetSecurityGroupInboundRuleSecurityGroupsMemberArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityGroupOutboundRuleInput)(nil)).Elem(), GetSecurityGroupOutboundRuleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityGroupOutboundRuleArrayInput)(nil)).Elem(), GetSecurityGroupOutboundRuleArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityGroupOutboundRuleSecurityGroupsMemberInput)(nil)).Elem(), GetSecurityGroupOutboundRuleSecurityGroupsMemberArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityGroupOutboundRuleSecurityGroupsMemberArrayInput)(nil)).Elem(), GetSecurityGroupOutboundRuleSecurityGroupsMemberArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityGroupTagInput)(nil)).Elem(), GetSecurityGroupTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityGroupTagArrayInput)(nil)).Elem(), GetSecurityGroupTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityGroupsFilterInput)(nil)).Elem(), GetSecurityGroupsFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityGroupsFilterArrayInput)(nil)).Elem(), GetSecurityGroupsFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityGroupsSecurityGroupInput)(nil)).Elem(), GetSecurityGroupsSecurityGroupArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityGroupsSecurityGroupArrayInput)(nil)).Elem(), GetSecurityGroupsSecurityGroupArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityGroupsSecurityGroupInboundRuleInput)(nil)).Elem(), GetSecurityGroupsSecurityGroupInboundRuleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityGroupsSecurityGroupInboundRuleArrayInput)(nil)).Elem(), GetSecurityGroupsSecurityGroupInboundRuleArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberInput)(nil)).Elem(), GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArrayInput)(nil)).Elem(), GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityGroupsSecurityGroupOutboundRuleInput)(nil)).Elem(), GetSecurityGroupsSecurityGroupOutboundRuleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityGroupsSecurityGroupOutboundRuleArrayInput)(nil)).Elem(), GetSecurityGroupsSecurityGroupOutboundRuleArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberInput)(nil)).Elem(), GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArrayInput)(nil)).Elem(), GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityGroupsSecurityGroupTagInput)(nil)).Elem(), GetSecurityGroupsSecurityGroupTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityGroupsSecurityGroupTagArrayInput)(nil)).Elem(), GetSecurityGroupsSecurityGroupTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetServerCertificateFilterInput)(nil)).Elem(), GetServerCertificateFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetServerCertificateFilterArrayInput)(nil)).Elem(), GetServerCertificateFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetServerCertificatesFilterInput)(nil)).Elem(), GetServerCertificatesFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetServerCertificatesFilterArrayInput)(nil)).Elem(), GetServerCertificatesFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetServerCertificatesServerCertificateInput)(nil)).Elem(), GetServerCertificatesServerCertificateArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetServerCertificatesServerCertificateArrayInput)(nil)).Elem(), GetServerCertificatesServerCertificateArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSnapshotExportTaskFilterInput)(nil)).Elem(), GetSnapshotExportTaskFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSnapshotExportTaskFilterArrayInput)(nil)).Elem(), GetSnapshotExportTaskFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSnapshotExportTaskOsuExportInput)(nil)).Elem(), GetSnapshotExportTaskOsuExportArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSnapshotExportTaskOsuExportArrayInput)(nil)).Elem(), GetSnapshotExportTaskOsuExportArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSnapshotExportTaskTagInput)(nil)).Elem(), GetSnapshotExportTaskTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSnapshotExportTaskTagArrayInput)(nil)).Elem(), GetSnapshotExportTaskTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSnapshotExportTasksFilterInput)(nil)).Elem(), GetSnapshotExportTasksFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSnapshotExportTasksFilterArrayInput)(nil)).Elem(), GetSnapshotExportTasksFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSnapshotExportTasksSnapshotExportTaskInput)(nil)).Elem(), GetSnapshotExportTasksSnapshotExportTaskArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSnapshotExportTasksSnapshotExportTaskArrayInput)(nil)).Elem(), GetSnapshotExportTasksSnapshotExportTaskArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSnapshotExportTasksSnapshotExportTaskOsuExportInput)(nil)).Elem(), GetSnapshotExportTasksSnapshotExportTaskOsuExportArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSnapshotExportTasksSnapshotExportTaskOsuExportArrayInput)(nil)).Elem(), GetSnapshotExportTasksSnapshotExportTaskOsuExportArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSnapshotExportTasksSnapshotExportTaskTagInput)(nil)).Elem(), GetSnapshotExportTasksSnapshotExportTaskTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSnapshotExportTasksSnapshotExportTaskTagArrayInput)(nil)).Elem(), GetSnapshotExportTasksSnapshotExportTaskTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSnapshotFilterInput)(nil)).Elem(), GetSnapshotFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSnapshotFilterArrayInput)(nil)).Elem(), GetSnapshotFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSnapshotPermissionsToCreateVolumeInput)(nil)).Elem(), GetSnapshotPermissionsToCreateVolumeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSnapshotPermissionsToCreateVolumeArrayInput)(nil)).Elem(), GetSnapshotPermissionsToCreateVolumeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSnapshotTagInput)(nil)).Elem(), GetSnapshotTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSnapshotTagArrayInput)(nil)).Elem(), GetSnapshotTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSnapshotsFilterInput)(nil)).Elem(), GetSnapshotsFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSnapshotsFilterArrayInput)(nil)).Elem(), GetSnapshotsFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSnapshotsSnapshotInput)(nil)).Elem(), GetSnapshotsSnapshotArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSnapshotsSnapshotArrayInput)(nil)).Elem(), GetSnapshotsSnapshotArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSnapshotsSnapshotPermissionsToCreateVolumeInput)(nil)).Elem(), GetSnapshotsSnapshotPermissionsToCreateVolumeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSnapshotsSnapshotPermissionsToCreateVolumeArrayInput)(nil)).Elem(), GetSnapshotsSnapshotPermissionsToCreateVolumeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSnapshotsSnapshotTagInput)(nil)).Elem(), GetSnapshotsSnapshotTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSnapshotsSnapshotTagArrayInput)(nil)).Elem(), GetSnapshotsSnapshotTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSubnetFilterInput)(nil)).Elem(), GetSubnetFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSubnetFilterArrayInput)(nil)).Elem(), GetSubnetFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSubnetTagInput)(nil)).Elem(), GetSubnetTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSubnetTagArrayInput)(nil)).Elem(), GetSubnetTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSubnetsFilterInput)(nil)).Elem(), GetSubnetsFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSubnetsFilterArrayInput)(nil)).Elem(), GetSubnetsFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSubnetsSubnetInput)(nil)).Elem(), GetSubnetsSubnetArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSubnetsSubnetArrayInput)(nil)).Elem(), GetSubnetsSubnetArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSubnetsSubnetTagInput)(nil)).Elem(), GetSubnetsSubnetTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSubnetsSubnetTagArrayInput)(nil)).Elem(), GetSubnetsSubnetTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSubregionsFilterInput)(nil)).Elem(), GetSubregionsFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSubregionsFilterArrayInput)(nil)).Elem(), GetSubregionsFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSubregionsSubregionInput)(nil)).Elem(), GetSubregionsSubregionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetSubregionsSubregionArrayInput)(nil)).Elem(), GetSubregionsSubregionArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetTagFilterInput)(nil)).Elem(), GetTagFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetTagFilterArrayInput)(nil)).Elem(), GetTagFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVirtualGatewayFilterInput)(nil)).Elem(), GetVirtualGatewayFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVirtualGatewayFilterArrayInput)(nil)).Elem(), GetVirtualGatewayFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVirtualGatewayNetToVirtualGatewayLinkInput)(nil)).Elem(), GetVirtualGatewayNetToVirtualGatewayLinkArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVirtualGatewayNetToVirtualGatewayLinkArrayInput)(nil)).Elem(), GetVirtualGatewayNetToVirtualGatewayLinkArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVirtualGatewayTagInput)(nil)).Elem(), GetVirtualGatewayTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVirtualGatewayTagArrayInput)(nil)).Elem(), GetVirtualGatewayTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVirtualGatewaysFilterInput)(nil)).Elem(), GetVirtualGatewaysFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVirtualGatewaysFilterArrayInput)(nil)).Elem(), GetVirtualGatewaysFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVirtualGatewaysVirtualGatewayInput)(nil)).Elem(), GetVirtualGatewaysVirtualGatewayArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVirtualGatewaysVirtualGatewayArrayInput)(nil)).Elem(), GetVirtualGatewaysVirtualGatewayArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkInput)(nil)).Elem(), GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArrayInput)(nil)).Elem(), GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVirtualGatewaysVirtualGatewayTagInput)(nil)).Elem(), GetVirtualGatewaysVirtualGatewayTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVirtualGatewaysVirtualGatewayTagArrayInput)(nil)).Elem(), GetVirtualGatewaysVirtualGatewayTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmBlockDeviceMappingsCreatedInput)(nil)).Elem(), GetVmBlockDeviceMappingsCreatedArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmBlockDeviceMappingsCreatedArrayInput)(nil)).Elem(), GetVmBlockDeviceMappingsCreatedArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmBlockDeviceMappingsCreatedBsusInput)(nil)).Elem(), GetVmBlockDeviceMappingsCreatedBsusArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmBlockDeviceMappingsCreatedBsusArrayInput)(nil)).Elem(), GetVmBlockDeviceMappingsCreatedBsusArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmBlockDeviceMappingsCreatedBsusTagInput)(nil)).Elem(), GetVmBlockDeviceMappingsCreatedBsusTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmBlockDeviceMappingsCreatedBsusTagArrayInput)(nil)).Elem(), GetVmBlockDeviceMappingsCreatedBsusTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmFilterInput)(nil)).Elem(), GetVmFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmFilterArrayInput)(nil)).Elem(), GetVmFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmNicInput)(nil)).Elem(), GetVmNicArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmNicArrayInput)(nil)).Elem(), GetVmNicArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmNicLinkNicInput)(nil)).Elem(), GetVmNicLinkNicArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmNicLinkNicArrayInput)(nil)).Elem(), GetVmNicLinkNicArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmNicLinkPublicIpInput)(nil)).Elem(), GetVmNicLinkPublicIpArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmNicLinkPublicIpArrayInput)(nil)).Elem(), GetVmNicLinkPublicIpArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmNicPrivateIpInput)(nil)).Elem(), GetVmNicPrivateIpArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmNicPrivateIpArrayInput)(nil)).Elem(), GetVmNicPrivateIpArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmNicPrivateIpLinkPublicIpInput)(nil)).Elem(), GetVmNicPrivateIpLinkPublicIpArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmNicPrivateIpLinkPublicIpArrayInput)(nil)).Elem(), GetVmNicPrivateIpLinkPublicIpArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmNicSecurityGroupInput)(nil)).Elem(), GetVmNicSecurityGroupArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmNicSecurityGroupArrayInput)(nil)).Elem(), GetVmNicSecurityGroupArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmPrimaryNicInput)(nil)).Elem(), GetVmPrimaryNicArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmPrimaryNicArrayInput)(nil)).Elem(), GetVmPrimaryNicArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmPrimaryNicLinkNicInput)(nil)).Elem(), GetVmPrimaryNicLinkNicArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmPrimaryNicLinkNicArrayInput)(nil)).Elem(), GetVmPrimaryNicLinkNicArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmPrimaryNicLinkPublicIpInput)(nil)).Elem(), GetVmPrimaryNicLinkPublicIpArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmPrimaryNicLinkPublicIpArrayInput)(nil)).Elem(), GetVmPrimaryNicLinkPublicIpArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmPrimaryNicPrivateIpInput)(nil)).Elem(), GetVmPrimaryNicPrivateIpArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmPrimaryNicPrivateIpArrayInput)(nil)).Elem(), GetVmPrimaryNicPrivateIpArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmPrimaryNicPrivateIpLinkPublicIpInput)(nil)).Elem(), GetVmPrimaryNicPrivateIpLinkPublicIpArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmPrimaryNicPrivateIpLinkPublicIpArrayInput)(nil)).Elem(), GetVmPrimaryNicPrivateIpLinkPublicIpArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmPrimaryNicSecurityGroupInput)(nil)).Elem(), GetVmPrimaryNicSecurityGroupArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmPrimaryNicSecurityGroupArrayInput)(nil)).Elem(), GetVmPrimaryNicSecurityGroupArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmSecurityGroupInput)(nil)).Elem(), GetVmSecurityGroupArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmSecurityGroupArrayInput)(nil)).Elem(), GetVmSecurityGroupArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmStateFilterInput)(nil)).Elem(), GetVmStateFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmStateFilterArrayInput)(nil)).Elem(), GetVmStateFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmStateMaintenanceEventInput)(nil)).Elem(), GetVmStateMaintenanceEventArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmStateMaintenanceEventArrayInput)(nil)).Elem(), GetVmStateMaintenanceEventArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmStatesFilterInput)(nil)).Elem(), GetVmStatesFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmStatesFilterArrayInput)(nil)).Elem(), GetVmStatesFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmStatesVmStateInput)(nil)).Elem(), GetVmStatesVmStateArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmStatesVmStateArrayInput)(nil)).Elem(), GetVmStatesVmStateArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmStatesVmStateMaintenanceEventInput)(nil)).Elem(), GetVmStatesVmStateMaintenanceEventArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmStatesVmStateMaintenanceEventArrayInput)(nil)).Elem(), GetVmStatesVmStateMaintenanceEventArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmTagInput)(nil)).Elem(), GetVmTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmTagArrayInput)(nil)).Elem(), GetVmTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmTypesFilterInput)(nil)).Elem(), GetVmTypesFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmTypesFilterArrayInput)(nil)).Elem(), GetVmTypesFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmTypesVmTypeInput)(nil)).Elem(), GetVmTypesVmTypeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmTypesVmTypeArrayInput)(nil)).Elem(), GetVmTypesVmTypeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsFilterInput)(nil)).Elem(), GetVmsFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsFilterArrayInput)(nil)).Elem(), GetVmsFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsVmInput)(nil)).Elem(), GetVmsVmArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsVmArrayInput)(nil)).Elem(), GetVmsVmArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsVmBlockDeviceMappingsCreatedInput)(nil)).Elem(), GetVmsVmBlockDeviceMappingsCreatedArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsVmBlockDeviceMappingsCreatedArrayInput)(nil)).Elem(), GetVmsVmBlockDeviceMappingsCreatedArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsVmBlockDeviceMappingsCreatedBsusInput)(nil)).Elem(), GetVmsVmBlockDeviceMappingsCreatedBsusArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsVmBlockDeviceMappingsCreatedBsusArrayInput)(nil)).Elem(), GetVmsVmBlockDeviceMappingsCreatedBsusArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsVmBlockDeviceMappingsCreatedBsusTagInput)(nil)).Elem(), GetVmsVmBlockDeviceMappingsCreatedBsusTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsVmBlockDeviceMappingsCreatedBsusTagArrayInput)(nil)).Elem(), GetVmsVmBlockDeviceMappingsCreatedBsusTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsVmNicInput)(nil)).Elem(), GetVmsVmNicArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsVmNicArrayInput)(nil)).Elem(), GetVmsVmNicArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsVmNicLinkNicInput)(nil)).Elem(), GetVmsVmNicLinkNicArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsVmNicLinkNicArrayInput)(nil)).Elem(), GetVmsVmNicLinkNicArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsVmNicLinkPublicIpInput)(nil)).Elem(), GetVmsVmNicLinkPublicIpArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsVmNicLinkPublicIpArrayInput)(nil)).Elem(), GetVmsVmNicLinkPublicIpArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsVmNicPrivateIpInput)(nil)).Elem(), GetVmsVmNicPrivateIpArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsVmNicPrivateIpArrayInput)(nil)).Elem(), GetVmsVmNicPrivateIpArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsVmNicPrivateIpLinkPublicIpInput)(nil)).Elem(), GetVmsVmNicPrivateIpLinkPublicIpArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsVmNicPrivateIpLinkPublicIpArrayInput)(nil)).Elem(), GetVmsVmNicPrivateIpLinkPublicIpArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsVmNicSecurityGroupInput)(nil)).Elem(), GetVmsVmNicSecurityGroupArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsVmNicSecurityGroupArrayInput)(nil)).Elem(), GetVmsVmNicSecurityGroupArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsVmPrimaryNicInput)(nil)).Elem(), GetVmsVmPrimaryNicArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsVmPrimaryNicArrayInput)(nil)).Elem(), GetVmsVmPrimaryNicArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsVmPrimaryNicLinkNicInput)(nil)).Elem(), GetVmsVmPrimaryNicLinkNicArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsVmPrimaryNicLinkNicArrayInput)(nil)).Elem(), GetVmsVmPrimaryNicLinkNicArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsVmPrimaryNicLinkPublicIpInput)(nil)).Elem(), GetVmsVmPrimaryNicLinkPublicIpArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsVmPrimaryNicLinkPublicIpArrayInput)(nil)).Elem(), GetVmsVmPrimaryNicLinkPublicIpArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsVmPrimaryNicPrivateIpInput)(nil)).Elem(), GetVmsVmPrimaryNicPrivateIpArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsVmPrimaryNicPrivateIpArrayInput)(nil)).Elem(), GetVmsVmPrimaryNicPrivateIpArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsVmPrimaryNicPrivateIpLinkPublicIpInput)(nil)).Elem(), GetVmsVmPrimaryNicPrivateIpLinkPublicIpArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsVmPrimaryNicPrivateIpLinkPublicIpArrayInput)(nil)).Elem(), GetVmsVmPrimaryNicPrivateIpLinkPublicIpArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsVmPrimaryNicSecurityGroupInput)(nil)).Elem(), GetVmsVmPrimaryNicSecurityGroupArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsVmPrimaryNicSecurityGroupArrayInput)(nil)).Elem(), GetVmsVmPrimaryNicSecurityGroupArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsVmSecurityGroupInput)(nil)).Elem(), GetVmsVmSecurityGroupArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsVmSecurityGroupArrayInput)(nil)).Elem(), GetVmsVmSecurityGroupArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsVmTagInput)(nil)).Elem(), GetVmsVmTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmsVmTagArrayInput)(nil)).Elem(), GetVmsVmTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVolumeFilterInput)(nil)).Elem(), GetVolumeFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVolumeFilterArrayInput)(nil)).Elem(), GetVolumeFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVolumeLinkedVolumeInput)(nil)).Elem(), GetVolumeLinkedVolumeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVolumeLinkedVolumeArrayInput)(nil)).Elem(), GetVolumeLinkedVolumeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVolumeTagInput)(nil)).Elem(), GetVolumeTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVolumeTagArrayInput)(nil)).Elem(), GetVolumeTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVolumesFilterInput)(nil)).Elem(), GetVolumesFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVolumesFilterArrayInput)(nil)).Elem(), GetVolumesFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVolumesVolumeInput)(nil)).Elem(), GetVolumesVolumeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVolumesVolumeArrayInput)(nil)).Elem(), GetVolumesVolumeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVolumesVolumeLinkedVolumeInput)(nil)).Elem(), GetVolumesVolumeLinkedVolumeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVolumesVolumeLinkedVolumeArrayInput)(nil)).Elem(), GetVolumesVolumeLinkedVolumeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVolumesVolumeTagInput)(nil)).Elem(), GetVolumesVolumeTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVolumesVolumeTagArrayInput)(nil)).Elem(), GetVolumesVolumeTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpnConnectionFilterInput)(nil)).Elem(), GetVpnConnectionFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpnConnectionFilterArrayInput)(nil)).Elem(), GetVpnConnectionFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpnConnectionRouteTypeInput)(nil)).Elem(), GetVpnConnectionRouteTypeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpnConnectionRouteTypeArrayInput)(nil)).Elem(), GetVpnConnectionRouteTypeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpnConnectionTagInput)(nil)).Elem(), GetVpnConnectionTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpnConnectionTagArrayInput)(nil)).Elem(), GetVpnConnectionTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpnConnectionVgwTelemetryInput)(nil)).Elem(), GetVpnConnectionVgwTelemetryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpnConnectionVgwTelemetryArrayInput)(nil)).Elem(), GetVpnConnectionVgwTelemetryArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpnConnectionsFilterInput)(nil)).Elem(), GetVpnConnectionsFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpnConnectionsFilterArrayInput)(nil)).Elem(), GetVpnConnectionsFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpnConnectionsVpnConnectionInput)(nil)).Elem(), GetVpnConnectionsVpnConnectionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpnConnectionsVpnConnectionArrayInput)(nil)).Elem(), GetVpnConnectionsVpnConnectionArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpnConnectionsVpnConnectionRouteInput)(nil)).Elem(), GetVpnConnectionsVpnConnectionRouteArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpnConnectionsVpnConnectionRouteArrayInput)(nil)).Elem(), GetVpnConnectionsVpnConnectionRouteArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpnConnectionsVpnConnectionTagInput)(nil)).Elem(), GetVpnConnectionsVpnConnectionTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpnConnectionsVpnConnectionTagArrayInput)(nil)).Elem(), GetVpnConnectionsVpnConnectionTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpnConnectionsVpnConnectionVgwTelemetryInput)(nil)).Elem(), GetVpnConnectionsVpnConnectionVgwTelemetryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpnConnectionsVpnConnectionVgwTelemetryArrayInput)(nil)).Elem(), GetVpnConnectionsVpnConnectionVgwTelemetryArray{}) - pulumi.RegisterOutputType(ClientGatewayTagOutput{}) - pulumi.RegisterOutputType(ClientGatewayTagArrayOutput{}) - pulumi.RegisterOutputType(DhcpOptionTagOutput{}) - pulumi.RegisterOutputType(DhcpOptionTagArrayOutput{}) - pulumi.RegisterOutputType(ImageBlockDeviceMappingOutput{}) - pulumi.RegisterOutputType(ImageBlockDeviceMappingArrayOutput{}) - pulumi.RegisterOutputType(ImageBlockDeviceMappingBsusOutput{}) - pulumi.RegisterOutputType(ImageBlockDeviceMappingBsusArrayOutput{}) - pulumi.RegisterOutputType(ImageExportTaskOsuExportOutput{}) - pulumi.RegisterOutputType(ImageExportTaskOsuExportArrayOutput{}) - pulumi.RegisterOutputType(ImageExportTaskOsuExportOsuApiKeyOutput{}) - pulumi.RegisterOutputType(ImageExportTaskOsuExportOsuApiKeyArrayOutput{}) - pulumi.RegisterOutputType(ImageExportTaskTagOutput{}) - pulumi.RegisterOutputType(ImageExportTaskTagArrayOutput{}) - pulumi.RegisterOutputType(ImageLaunchPermissionPermissionAdditionsOutput{}) - pulumi.RegisterOutputType(ImageLaunchPermissionPermissionAdditionsPtrOutput{}) - pulumi.RegisterOutputType(ImageLaunchPermissionPermissionRemovalsOutput{}) - pulumi.RegisterOutputType(ImageLaunchPermissionPermissionRemovalsPtrOutput{}) - pulumi.RegisterOutputType(ImageLaunchPermissionPermissionsToLaunchOutput{}) - pulumi.RegisterOutputType(ImageLaunchPermissionPermissionsToLaunchArrayOutput{}) - pulumi.RegisterOutputType(ImagePermissionsToLaunchOutput{}) - pulumi.RegisterOutputType(ImagePermissionsToLaunchArrayOutput{}) - pulumi.RegisterOutputType(ImageStateCommentOutput{}) - pulumi.RegisterOutputType(ImageStateCommentArrayOutput{}) - pulumi.RegisterOutputType(ImageTagOutput{}) - pulumi.RegisterOutputType(ImageTagArrayOutput{}) - pulumi.RegisterOutputType(InternetServiceLinkTagOutput{}) - pulumi.RegisterOutputType(InternetServiceLinkTagArrayOutput{}) - pulumi.RegisterOutputType(InternetServiceTagOutput{}) - pulumi.RegisterOutputType(InternetServiceTagArrayOutput{}) - pulumi.RegisterOutputType(LoadBalancerAccessLogOutput{}) - pulumi.RegisterOutputType(LoadBalancerAccessLogArrayOutput{}) - pulumi.RegisterOutputType(LoadBalancerApplicationStickyCookiePolicyOutput{}) - pulumi.RegisterOutputType(LoadBalancerApplicationStickyCookiePolicyArrayOutput{}) - pulumi.RegisterOutputType(LoadBalancerAttributesAccessLogOutput{}) - pulumi.RegisterOutputType(LoadBalancerAttributesAccessLogPtrOutput{}) - pulumi.RegisterOutputType(LoadBalancerAttributesApplicationStickyCookiePolicyOutput{}) - pulumi.RegisterOutputType(LoadBalancerAttributesApplicationStickyCookiePolicyArrayOutput{}) - pulumi.RegisterOutputType(LoadBalancerAttributesHealthCheckOutput{}) - pulumi.RegisterOutputType(LoadBalancerAttributesHealthCheckPtrOutput{}) - pulumi.RegisterOutputType(LoadBalancerAttributesListenerOutput{}) - pulumi.RegisterOutputType(LoadBalancerAttributesListenerArrayOutput{}) - pulumi.RegisterOutputType(LoadBalancerAttributesLoadBalancerStickyCookiePolicyOutput{}) - pulumi.RegisterOutputType(LoadBalancerAttributesLoadBalancerStickyCookiePolicyArrayOutput{}) - pulumi.RegisterOutputType(LoadBalancerAttributesSourceSecurityGroupOutput{}) - pulumi.RegisterOutputType(LoadBalancerAttributesSourceSecurityGroupArrayOutput{}) - pulumi.RegisterOutputType(LoadBalancerAttributesTagOutput{}) - pulumi.RegisterOutputType(LoadBalancerAttributesTagArrayOutput{}) - pulumi.RegisterOutputType(LoadBalancerHealthCheckOutput{}) - pulumi.RegisterOutputType(LoadBalancerHealthCheckArrayOutput{}) - pulumi.RegisterOutputType(LoadBalancerListenerOutput{}) - pulumi.RegisterOutputType(LoadBalancerListenerArrayOutput{}) - pulumi.RegisterOutputType(LoadBalancerLoadBalancerStickyCookiePolicyOutput{}) - pulumi.RegisterOutputType(LoadBalancerLoadBalancerStickyCookiePolicyArrayOutput{}) - pulumi.RegisterOutputType(LoadBalancerPolicyAccessLogOutput{}) - pulumi.RegisterOutputType(LoadBalancerPolicyAccessLogArrayOutput{}) - pulumi.RegisterOutputType(LoadBalancerPolicyApplicationStickyCookiePolicyOutput{}) - pulumi.RegisterOutputType(LoadBalancerPolicyApplicationStickyCookiePolicyArrayOutput{}) - pulumi.RegisterOutputType(LoadBalancerPolicyHealthCheckOutput{}) - pulumi.RegisterOutputType(LoadBalancerPolicyHealthCheckArrayOutput{}) - pulumi.RegisterOutputType(LoadBalancerPolicyListenerOutput{}) - pulumi.RegisterOutputType(LoadBalancerPolicyListenerArrayOutput{}) - pulumi.RegisterOutputType(LoadBalancerPolicyLoadBalancerStickyCookiePolicyOutput{}) - pulumi.RegisterOutputType(LoadBalancerPolicyLoadBalancerStickyCookiePolicyArrayOutput{}) - pulumi.RegisterOutputType(LoadBalancerPolicySourceSecurityGroupOutput{}) - pulumi.RegisterOutputType(LoadBalancerPolicySourceSecurityGroupArrayOutput{}) - pulumi.RegisterOutputType(LoadBalancerPolicyTagOutput{}) - pulumi.RegisterOutputType(LoadBalancerPolicyTagArrayOutput{}) - pulumi.RegisterOutputType(LoadBalancerSourceSecurityGroupOutput{}) - pulumi.RegisterOutputType(LoadBalancerSourceSecurityGroupArrayOutput{}) - pulumi.RegisterOutputType(LoadBalancerTagOutput{}) - pulumi.RegisterOutputType(LoadBalancerTagArrayOutput{}) - pulumi.RegisterOutputType(NatServicePublicIpOutput{}) - pulumi.RegisterOutputType(NatServicePublicIpArrayOutput{}) - pulumi.RegisterOutputType(NatServiceTagOutput{}) - pulumi.RegisterOutputType(NatServiceTagArrayOutput{}) - pulumi.RegisterOutputType(NetAccessPointTagOutput{}) - pulumi.RegisterOutputType(NetAccessPointTagArrayOutput{}) - pulumi.RegisterOutputType(NetAttributesTagOutput{}) - pulumi.RegisterOutputType(NetAttributesTagArrayOutput{}) - pulumi.RegisterOutputType(NetPeeringAccepterNetOutput{}) - pulumi.RegisterOutputType(NetPeeringAccepterNetArrayOutput{}) - pulumi.RegisterOutputType(NetPeeringAcceptionAccepterNetOutput{}) - pulumi.RegisterOutputType(NetPeeringAcceptionAccepterNetArrayOutput{}) - pulumi.RegisterOutputType(NetPeeringAcceptionSourceNetOutput{}) - pulumi.RegisterOutputType(NetPeeringAcceptionSourceNetArrayOutput{}) - pulumi.RegisterOutputType(NetPeeringAcceptionStateTypeOutput{}) - pulumi.RegisterOutputType(NetPeeringAcceptionStateTypeArrayOutput{}) - pulumi.RegisterOutputType(NetPeeringAcceptionTagOutput{}) - pulumi.RegisterOutputType(NetPeeringAcceptionTagArrayOutput{}) - pulumi.RegisterOutputType(NetPeeringSourceNetOutput{}) - pulumi.RegisterOutputType(NetPeeringSourceNetArrayOutput{}) - pulumi.RegisterOutputType(NetPeeringStateTypeOutput{}) - pulumi.RegisterOutputType(NetPeeringStateTypeArrayOutput{}) - pulumi.RegisterOutputType(NetPeeringTagOutput{}) - pulumi.RegisterOutputType(NetPeeringTagArrayOutput{}) - pulumi.RegisterOutputType(NetTagOutput{}) - pulumi.RegisterOutputType(NetTagArrayOutput{}) - pulumi.RegisterOutputType(NicLinkNicOutput{}) - pulumi.RegisterOutputType(NicLinkNicArrayOutput{}) - pulumi.RegisterOutputType(NicLinkPublicIpOutput{}) - pulumi.RegisterOutputType(NicLinkPublicIpArrayOutput{}) - pulumi.RegisterOutputType(NicPrivateIpTypeOutput{}) - pulumi.RegisterOutputType(NicPrivateIpTypeArrayOutput{}) - pulumi.RegisterOutputType(NicPrivateIpLinkPublicIpOutput{}) - pulumi.RegisterOutputType(NicPrivateIpLinkPublicIpArrayOutput{}) - pulumi.RegisterOutputType(NicSecurityGroupOutput{}) - pulumi.RegisterOutputType(NicSecurityGroupArrayOutput{}) - pulumi.RegisterOutputType(NicTagOutput{}) - pulumi.RegisterOutputType(NicTagArrayOutput{}) - pulumi.RegisterOutputType(OutboundRuleRuleOutput{}) - pulumi.RegisterOutputType(OutboundRuleRuleArrayOutput{}) - pulumi.RegisterOutputType(OutboundRuleRuleSecurityGroupsMemberOutput{}) - pulumi.RegisterOutputType(OutboundRuleRuleSecurityGroupsMemberArrayOutput{}) - pulumi.RegisterOutputType(ProviderEndpointOutput{}) - pulumi.RegisterOutputType(ProviderEndpointArrayOutput{}) - pulumi.RegisterOutputType(PublicIpLinkTagOutput{}) - pulumi.RegisterOutputType(PublicIpLinkTagArrayOutput{}) - pulumi.RegisterOutputType(PublicIpTagOutput{}) - pulumi.RegisterOutputType(PublicIpTagArrayOutput{}) - pulumi.RegisterOutputType(RouteTableLinkRouteTableOutput{}) - pulumi.RegisterOutputType(RouteTableLinkRouteTableArrayOutput{}) - pulumi.RegisterOutputType(RouteTableRouteOutput{}) - pulumi.RegisterOutputType(RouteTableRouteArrayOutput{}) - pulumi.RegisterOutputType(RouteTableRoutePropagatingVirtualGatewayOutput{}) - pulumi.RegisterOutputType(RouteTableRoutePropagatingVirtualGatewayArrayOutput{}) - pulumi.RegisterOutputType(RouteTableTagOutput{}) - pulumi.RegisterOutputType(RouteTableTagArrayOutput{}) - pulumi.RegisterOutputType(SecurityGroupInboundRuleOutput{}) - pulumi.RegisterOutputType(SecurityGroupInboundRuleArrayOutput{}) - pulumi.RegisterOutputType(SecurityGroupOutboundRuleOutput{}) - pulumi.RegisterOutputType(SecurityGroupOutboundRuleArrayOutput{}) - pulumi.RegisterOutputType(SecurityGroupRuleRuleOutput{}) - pulumi.RegisterOutputType(SecurityGroupRuleRuleArrayOutput{}) - pulumi.RegisterOutputType(SecurityGroupRuleRuleSecurityGroupsMemberOutput{}) - pulumi.RegisterOutputType(SecurityGroupRuleRuleSecurityGroupsMemberArrayOutput{}) - pulumi.RegisterOutputType(SecurityGroupTagOutput{}) - pulumi.RegisterOutputType(SecurityGroupTagArrayOutput{}) - pulumi.RegisterOutputType(SnapshotAttributesPermissionsToCreateVolumeAdditionsOutput{}) - pulumi.RegisterOutputType(SnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutput{}) - pulumi.RegisterOutputType(SnapshotAttributesPermissionsToCreateVolumeRemovalOutput{}) - pulumi.RegisterOutputType(SnapshotAttributesPermissionsToCreateVolumeRemovalArrayOutput{}) - pulumi.RegisterOutputType(SnapshotExportTaskOsuExportOutput{}) - pulumi.RegisterOutputType(SnapshotExportTaskOsuExportArrayOutput{}) - pulumi.RegisterOutputType(SnapshotExportTaskOsuExportOsuApiKeyOutput{}) - pulumi.RegisterOutputType(SnapshotExportTaskOsuExportOsuApiKeyArrayOutput{}) - pulumi.RegisterOutputType(SnapshotExportTaskTagOutput{}) - pulumi.RegisterOutputType(SnapshotExportTaskTagArrayOutput{}) - pulumi.RegisterOutputType(SnapshotPermissionsToCreateVolumeOutput{}) - pulumi.RegisterOutputType(SnapshotPermissionsToCreateVolumeArrayOutput{}) - pulumi.RegisterOutputType(SnapshotTagOutput{}) - pulumi.RegisterOutputType(SnapshotTagArrayOutput{}) - pulumi.RegisterOutputType(SubnetTagOutput{}) - pulumi.RegisterOutputType(SubnetTagArrayOutput{}) - pulumi.RegisterOutputType(TagTagOutput{}) - pulumi.RegisterOutputType(TagTagArrayOutput{}) - pulumi.RegisterOutputType(VirtualGatewayLinkNetToVirtualGatewayLinkOutput{}) - pulumi.RegisterOutputType(VirtualGatewayLinkNetToVirtualGatewayLinkArrayOutput{}) - pulumi.RegisterOutputType(VirtualGatewayNetToVirtualGatewayLinkOutput{}) - pulumi.RegisterOutputType(VirtualGatewayNetToVirtualGatewayLinkArrayOutput{}) - pulumi.RegisterOutputType(VirtualGatewayTagOutput{}) - pulumi.RegisterOutputType(VirtualGatewayTagArrayOutput{}) - pulumi.RegisterOutputType(VmBlockDeviceMappingOutput{}) - pulumi.RegisterOutputType(VmBlockDeviceMappingArrayOutput{}) - pulumi.RegisterOutputType(VmBlockDeviceMappingBsuOutput{}) - pulumi.RegisterOutputType(VmBlockDeviceMappingBsuPtrOutput{}) - pulumi.RegisterOutputType(VmBlockDeviceMappingBsuTagOutput{}) - pulumi.RegisterOutputType(VmBlockDeviceMappingBsuTagArrayOutput{}) - pulumi.RegisterOutputType(VmBlockDeviceMappingsCreatedOutput{}) - pulumi.RegisterOutputType(VmBlockDeviceMappingsCreatedArrayOutput{}) - pulumi.RegisterOutputType(VmBlockDeviceMappingsCreatedBsusOutput{}) - pulumi.RegisterOutputType(VmBlockDeviceMappingsCreatedBsusArrayOutput{}) - pulumi.RegisterOutputType(VmBlockDeviceMappingsCreatedBsusTagOutput{}) - pulumi.RegisterOutputType(VmBlockDeviceMappingsCreatedBsusTagArrayOutput{}) - pulumi.RegisterOutputType(VmNicOutput{}) - pulumi.RegisterOutputType(VmNicArrayOutput{}) - pulumi.RegisterOutputType(VmNicLinkNicOutput{}) - pulumi.RegisterOutputType(VmNicLinkNicArrayOutput{}) - pulumi.RegisterOutputType(VmNicLinkPublicIpOutput{}) - pulumi.RegisterOutputType(VmNicLinkPublicIpArrayOutput{}) - pulumi.RegisterOutputType(VmNicPrivateIpOutput{}) - pulumi.RegisterOutputType(VmNicPrivateIpArrayOutput{}) - pulumi.RegisterOutputType(VmNicPrivateIpLinkPublicIpOutput{}) - pulumi.RegisterOutputType(VmNicPrivateIpLinkPublicIpArrayOutput{}) - pulumi.RegisterOutputType(VmNicSecurityGroupOutput{}) - pulumi.RegisterOutputType(VmNicSecurityGroupArrayOutput{}) - pulumi.RegisterOutputType(VmPrimaryNicOutput{}) - pulumi.RegisterOutputType(VmPrimaryNicArrayOutput{}) - pulumi.RegisterOutputType(VmPrimaryNicLinkNicOutput{}) - pulumi.RegisterOutputType(VmPrimaryNicLinkNicArrayOutput{}) - pulumi.RegisterOutputType(VmPrimaryNicLinkPublicIpOutput{}) - pulumi.RegisterOutputType(VmPrimaryNicLinkPublicIpArrayOutput{}) - pulumi.RegisterOutputType(VmPrimaryNicPrivateIpOutput{}) - pulumi.RegisterOutputType(VmPrimaryNicPrivateIpArrayOutput{}) - pulumi.RegisterOutputType(VmPrimaryNicPrivateIpLinkPublicIpOutput{}) - pulumi.RegisterOutputType(VmPrimaryNicPrivateIpLinkPublicIpArrayOutput{}) - pulumi.RegisterOutputType(VmPrimaryNicSecurityGroupOutput{}) - pulumi.RegisterOutputType(VmPrimaryNicSecurityGroupArrayOutput{}) - pulumi.RegisterOutputType(VmSecurityGroupOutput{}) - pulumi.RegisterOutputType(VmSecurityGroupArrayOutput{}) - pulumi.RegisterOutputType(VmTagOutput{}) - pulumi.RegisterOutputType(VmTagArrayOutput{}) - pulumi.RegisterOutputType(VolumeLinkedVolumeOutput{}) - pulumi.RegisterOutputType(VolumeLinkedVolumeArrayOutput{}) - pulumi.RegisterOutputType(VolumeTagOutput{}) - pulumi.RegisterOutputType(VolumeTagArrayOutput{}) - pulumi.RegisterOutputType(VpnConnectionRouteTypeOutput{}) - pulumi.RegisterOutputType(VpnConnectionRouteTypeArrayOutput{}) - pulumi.RegisterOutputType(VpnConnectionTagOutput{}) - pulumi.RegisterOutputType(VpnConnectionTagArrayOutput{}) - pulumi.RegisterOutputType(VpnConnectionVgwTelemetryOutput{}) - pulumi.RegisterOutputType(VpnConnectionVgwTelemetryArrayOutput{}) - pulumi.RegisterOutputType(GetAccessKeyFilterOutput{}) - pulumi.RegisterOutputType(GetAccessKeyFilterArrayOutput{}) - pulumi.RegisterOutputType(GetAccessKeysAccessKeyOutput{}) - pulumi.RegisterOutputType(GetAccessKeysAccessKeyArrayOutput{}) - pulumi.RegisterOutputType(GetAccessKeysFilterOutput{}) - pulumi.RegisterOutputType(GetAccessKeysFilterArrayOutput{}) - pulumi.RegisterOutputType(GetAccountsAccountOutput{}) - pulumi.RegisterOutputType(GetAccountsAccountArrayOutput{}) - pulumi.RegisterOutputType(GetApiAccessRuleFilterOutput{}) - pulumi.RegisterOutputType(GetApiAccessRuleFilterArrayOutput{}) - pulumi.RegisterOutputType(GetApiAccessRulesApiAccessRuleOutput{}) - pulumi.RegisterOutputType(GetApiAccessRulesApiAccessRuleArrayOutput{}) - pulumi.RegisterOutputType(GetApiAccessRulesFilterOutput{}) - pulumi.RegisterOutputType(GetApiAccessRulesFilterArrayOutput{}) - pulumi.RegisterOutputType(GetCaFilterOutput{}) - pulumi.RegisterOutputType(GetCaFilterArrayOutput{}) - pulumi.RegisterOutputType(GetCasCaOutput{}) - pulumi.RegisterOutputType(GetCasCaArrayOutput{}) - pulumi.RegisterOutputType(GetCasFilterOutput{}) - pulumi.RegisterOutputType(GetCasFilterArrayOutput{}) - pulumi.RegisterOutputType(GetClientGatewayFilterOutput{}) - pulumi.RegisterOutputType(GetClientGatewayFilterArrayOutput{}) - pulumi.RegisterOutputType(GetClientGatewayTagOutput{}) - pulumi.RegisterOutputType(GetClientGatewayTagArrayOutput{}) - pulumi.RegisterOutputType(GetClientGatewaysClientGatewayOutput{}) - pulumi.RegisterOutputType(GetClientGatewaysClientGatewayArrayOutput{}) - pulumi.RegisterOutputType(GetClientGatewaysClientGatewayTagOutput{}) - pulumi.RegisterOutputType(GetClientGatewaysClientGatewayTagArrayOutput{}) - pulumi.RegisterOutputType(GetClientGatewaysFilterOutput{}) - pulumi.RegisterOutputType(GetClientGatewaysFilterArrayOutput{}) - pulumi.RegisterOutputType(GetDhcpOptionFilterOutput{}) - pulumi.RegisterOutputType(GetDhcpOptionFilterArrayOutput{}) - pulumi.RegisterOutputType(GetDhcpOptionTagOutput{}) - pulumi.RegisterOutputType(GetDhcpOptionTagArrayOutput{}) - pulumi.RegisterOutputType(GetDhcpOptionsDhcpOptionOutput{}) - pulumi.RegisterOutputType(GetDhcpOptionsDhcpOptionArrayOutput{}) - pulumi.RegisterOutputType(GetDhcpOptionsDhcpOptionTagOutput{}) - pulumi.RegisterOutputType(GetDhcpOptionsDhcpOptionTagArrayOutput{}) - pulumi.RegisterOutputType(GetDhcpOptionsFilterOutput{}) - pulumi.RegisterOutputType(GetDhcpOptionsFilterArrayOutput{}) - pulumi.RegisterOutputType(GetFlexibleGpuCatalogFilterOutput{}) - pulumi.RegisterOutputType(GetFlexibleGpuCatalogFilterArrayOutput{}) - pulumi.RegisterOutputType(GetFlexibleGpuCatalogFlexibleGpuCatalogOutput{}) - pulumi.RegisterOutputType(GetFlexibleGpuCatalogFlexibleGpuCatalogArrayOutput{}) - pulumi.RegisterOutputType(GetFlexibleGpuFilterOutput{}) - pulumi.RegisterOutputType(GetFlexibleGpuFilterArrayOutput{}) - pulumi.RegisterOutputType(GetFlexibleGpusFilterOutput{}) - pulumi.RegisterOutputType(GetFlexibleGpusFilterArrayOutput{}) - pulumi.RegisterOutputType(GetFlexibleGpusFlexibleGpusOutput{}) - pulumi.RegisterOutputType(GetFlexibleGpusFlexibleGpusArrayOutput{}) - pulumi.RegisterOutputType(GetImageBlockDeviceMappingOutput{}) - pulumi.RegisterOutputType(GetImageBlockDeviceMappingArrayOutput{}) - pulumi.RegisterOutputType(GetImageBlockDeviceMappingBsusOutput{}) - pulumi.RegisterOutputType(GetImageBlockDeviceMappingBsusArrayOutput{}) - pulumi.RegisterOutputType(GetImageExportTaskFilterOutput{}) - pulumi.RegisterOutputType(GetImageExportTaskFilterArrayOutput{}) - pulumi.RegisterOutputType(GetImageExportTaskOsuExportOutput{}) - pulumi.RegisterOutputType(GetImageExportTaskOsuExportArrayOutput{}) - pulumi.RegisterOutputType(GetImageExportTaskTagOutput{}) - pulumi.RegisterOutputType(GetImageExportTaskTagArrayOutput{}) - pulumi.RegisterOutputType(GetImageExportTasksFilterOutput{}) - pulumi.RegisterOutputType(GetImageExportTasksFilterArrayOutput{}) - pulumi.RegisterOutputType(GetImageExportTasksImageExportTaskOutput{}) - pulumi.RegisterOutputType(GetImageExportTasksImageExportTaskArrayOutput{}) - pulumi.RegisterOutputType(GetImageExportTasksImageExportTaskOsuExportOutput{}) - pulumi.RegisterOutputType(GetImageExportTasksImageExportTaskOsuExportArrayOutput{}) - pulumi.RegisterOutputType(GetImageExportTasksImageExportTaskTagOutput{}) - pulumi.RegisterOutputType(GetImageExportTasksImageExportTaskTagArrayOutput{}) - pulumi.RegisterOutputType(GetImageFilterOutput{}) - pulumi.RegisterOutputType(GetImageFilterArrayOutput{}) - pulumi.RegisterOutputType(GetImagePermissionsToLaunchOutput{}) - pulumi.RegisterOutputType(GetImagePermissionsToLaunchArrayOutput{}) - pulumi.RegisterOutputType(GetImageStateCommentOutput{}) - pulumi.RegisterOutputType(GetImageStateCommentArrayOutput{}) - pulumi.RegisterOutputType(GetImageTagOutput{}) - pulumi.RegisterOutputType(GetImageTagArrayOutput{}) - pulumi.RegisterOutputType(GetImagesFilterOutput{}) - pulumi.RegisterOutputType(GetImagesFilterArrayOutput{}) - pulumi.RegisterOutputType(GetImagesImageOutput{}) - pulumi.RegisterOutputType(GetImagesImageArrayOutput{}) - pulumi.RegisterOutputType(GetImagesImageBlockDeviceMappingOutput{}) - pulumi.RegisterOutputType(GetImagesImageBlockDeviceMappingArrayOutput{}) - pulumi.RegisterOutputType(GetImagesImageBlockDeviceMappingBsusOutput{}) - pulumi.RegisterOutputType(GetImagesImageBlockDeviceMappingBsusArrayOutput{}) - pulumi.RegisterOutputType(GetImagesImagePermissionsToLaunchOutput{}) - pulumi.RegisterOutputType(GetImagesImagePermissionsToLaunchArrayOutput{}) - pulumi.RegisterOutputType(GetImagesImageStateCommentOutput{}) - pulumi.RegisterOutputType(GetImagesImageStateCommentArrayOutput{}) - pulumi.RegisterOutputType(GetImagesImageTagOutput{}) - pulumi.RegisterOutputType(GetImagesImageTagArrayOutput{}) - pulumi.RegisterOutputType(GetInternetServiceFilterOutput{}) - pulumi.RegisterOutputType(GetInternetServiceFilterArrayOutput{}) - pulumi.RegisterOutputType(GetInternetServiceTagOutput{}) - pulumi.RegisterOutputType(GetInternetServiceTagArrayOutput{}) - pulumi.RegisterOutputType(GetInternetServicesFilterOutput{}) - pulumi.RegisterOutputType(GetInternetServicesFilterArrayOutput{}) - pulumi.RegisterOutputType(GetInternetServicesInternetServiceOutput{}) - pulumi.RegisterOutputType(GetInternetServicesInternetServiceArrayOutput{}) - pulumi.RegisterOutputType(GetInternetServicesInternetServiceTagOutput{}) - pulumi.RegisterOutputType(GetInternetServicesInternetServiceTagArrayOutput{}) - pulumi.RegisterOutputType(GetKeypairFilterOutput{}) - pulumi.RegisterOutputType(GetKeypairFilterArrayOutput{}) - pulumi.RegisterOutputType(GetKeypairsFilterOutput{}) - pulumi.RegisterOutputType(GetKeypairsFilterArrayOutput{}) - pulumi.RegisterOutputType(GetKeypairsKeypairOutput{}) - pulumi.RegisterOutputType(GetKeypairsKeypairArrayOutput{}) - pulumi.RegisterOutputType(GetLoadBalancerAccessLogOutput{}) - pulumi.RegisterOutputType(GetLoadBalancerAccessLogArrayOutput{}) - pulumi.RegisterOutputType(GetLoadBalancerApplicationStickyCookiePolicyOutput{}) - pulumi.RegisterOutputType(GetLoadBalancerApplicationStickyCookiePolicyArrayOutput{}) - pulumi.RegisterOutputType(GetLoadBalancerFilterOutput{}) - pulumi.RegisterOutputType(GetLoadBalancerFilterArrayOutput{}) - pulumi.RegisterOutputType(GetLoadBalancerHealthCheckOutput{}) - pulumi.RegisterOutputType(GetLoadBalancerHealthCheckArrayOutput{}) - pulumi.RegisterOutputType(GetLoadBalancerListenerOutput{}) - pulumi.RegisterOutputType(GetLoadBalancerListenerArrayOutput{}) - pulumi.RegisterOutputType(GetLoadBalancerLoadBalancerStickyCookiePolicyOutput{}) - pulumi.RegisterOutputType(GetLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput{}) - pulumi.RegisterOutputType(GetLoadBalancerSourceSecurityGroupOutput{}) - pulumi.RegisterOutputType(GetLoadBalancerSourceSecurityGroupArrayOutput{}) - pulumi.RegisterOutputType(GetLoadBalancerTagOutput{}) - pulumi.RegisterOutputType(GetLoadBalancerTagArrayOutput{}) - pulumi.RegisterOutputType(GetLoadBalancerTagsFilterOutput{}) - pulumi.RegisterOutputType(GetLoadBalancerTagsFilterArrayOutput{}) - pulumi.RegisterOutputType(GetLoadBalancerTagsTagOutput{}) - pulumi.RegisterOutputType(GetLoadBalancerTagsTagArrayOutput{}) - pulumi.RegisterOutputType(GetLoadBalancerVmHealthBackendVmHealthOutput{}) - pulumi.RegisterOutputType(GetLoadBalancerVmHealthBackendVmHealthArrayOutput{}) - pulumi.RegisterOutputType(GetLoadBalancerVmHealthFilterOutput{}) - pulumi.RegisterOutputType(GetLoadBalancerVmHealthFilterArrayOutput{}) - pulumi.RegisterOutputType(GetLoadBalancersFilterOutput{}) - pulumi.RegisterOutputType(GetLoadBalancersFilterArrayOutput{}) - pulumi.RegisterOutputType(GetLoadBalancersLoadBalancerOutput{}) - pulumi.RegisterOutputType(GetLoadBalancersLoadBalancerArrayOutput{}) - pulumi.RegisterOutputType(GetLoadBalancersLoadBalancerAccessLogOutput{}) - pulumi.RegisterOutputType(GetLoadBalancersLoadBalancerAccessLogArrayOutput{}) - pulumi.RegisterOutputType(GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyOutput{}) - pulumi.RegisterOutputType(GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArrayOutput{}) - pulumi.RegisterOutputType(GetLoadBalancersLoadBalancerBackendVmIdOutput{}) - pulumi.RegisterOutputType(GetLoadBalancersLoadBalancerBackendVmIdArrayOutput{}) - pulumi.RegisterOutputType(GetLoadBalancersLoadBalancerHealthCheckOutput{}) - pulumi.RegisterOutputType(GetLoadBalancersLoadBalancerHealthCheckArrayOutput{}) - pulumi.RegisterOutputType(GetLoadBalancersLoadBalancerListenerOutput{}) - pulumi.RegisterOutputType(GetLoadBalancersLoadBalancerListenerArrayOutput{}) - pulumi.RegisterOutputType(GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyOutput{}) - pulumi.RegisterOutputType(GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArrayOutput{}) - pulumi.RegisterOutputType(GetLoadBalancersLoadBalancerSourceSecurityGroupOutput{}) - pulumi.RegisterOutputType(GetLoadBalancersLoadBalancerSourceSecurityGroupArrayOutput{}) - pulumi.RegisterOutputType(GetLoadBalancersLoadBalancerTagOutput{}) - pulumi.RegisterOutputType(GetLoadBalancersLoadBalancerTagArrayOutput{}) - pulumi.RegisterOutputType(GetNatServiceFilterOutput{}) - pulumi.RegisterOutputType(GetNatServiceFilterArrayOutput{}) - pulumi.RegisterOutputType(GetNatServicePublicIpOutput{}) - pulumi.RegisterOutputType(GetNatServicePublicIpArrayOutput{}) - pulumi.RegisterOutputType(GetNatServiceTagOutput{}) - pulumi.RegisterOutputType(GetNatServiceTagArrayOutput{}) - pulumi.RegisterOutputType(GetNatServicesFilterOutput{}) - pulumi.RegisterOutputType(GetNatServicesFilterArrayOutput{}) - pulumi.RegisterOutputType(GetNatServicesNatServiceOutput{}) - pulumi.RegisterOutputType(GetNatServicesNatServiceArrayOutput{}) - pulumi.RegisterOutputType(GetNatServicesNatServicePublicIpOutput{}) - pulumi.RegisterOutputType(GetNatServicesNatServicePublicIpArrayOutput{}) - pulumi.RegisterOutputType(GetNatServicesNatServiceTagOutput{}) - pulumi.RegisterOutputType(GetNatServicesNatServiceTagArrayOutput{}) - pulumi.RegisterOutputType(GetNetAccessPointFilterOutput{}) - pulumi.RegisterOutputType(GetNetAccessPointFilterArrayOutput{}) - pulumi.RegisterOutputType(GetNetAccessPointServicesFilterOutput{}) - pulumi.RegisterOutputType(GetNetAccessPointServicesFilterArrayOutput{}) - pulumi.RegisterOutputType(GetNetAccessPointServicesServiceOutput{}) - pulumi.RegisterOutputType(GetNetAccessPointServicesServiceArrayOutput{}) - pulumi.RegisterOutputType(GetNetAccessPointTagOutput{}) - pulumi.RegisterOutputType(GetNetAccessPointTagArrayOutput{}) - pulumi.RegisterOutputType(GetNetAccessPointsFilterOutput{}) - pulumi.RegisterOutputType(GetNetAccessPointsFilterArrayOutput{}) - pulumi.RegisterOutputType(GetNetAccessPointsNetAccessPointOutput{}) - pulumi.RegisterOutputType(GetNetAccessPointsNetAccessPointArrayOutput{}) - pulumi.RegisterOutputType(GetNetAccessPointsNetAccessPointTagOutput{}) - pulumi.RegisterOutputType(GetNetAccessPointsNetAccessPointTagArrayOutput{}) - pulumi.RegisterOutputType(GetNetAttributesTagOutput{}) - pulumi.RegisterOutputType(GetNetAttributesTagArrayOutput{}) - pulumi.RegisterOutputType(GetNetFilterOutput{}) - pulumi.RegisterOutputType(GetNetFilterArrayOutput{}) - pulumi.RegisterOutputType(GetNetPeeringAccepterNetOutput{}) - pulumi.RegisterOutputType(GetNetPeeringAccepterNetArrayOutput{}) - pulumi.RegisterOutputType(GetNetPeeringFilterOutput{}) - pulumi.RegisterOutputType(GetNetPeeringFilterArrayOutput{}) - pulumi.RegisterOutputType(GetNetPeeringSourceNetOutput{}) - pulumi.RegisterOutputType(GetNetPeeringSourceNetArrayOutput{}) - pulumi.RegisterOutputType(GetNetPeeringStateOutput{}) - pulumi.RegisterOutputType(GetNetPeeringStateArrayOutput{}) - pulumi.RegisterOutputType(GetNetPeeringTagOutput{}) - pulumi.RegisterOutputType(GetNetPeeringTagArrayOutput{}) - pulumi.RegisterOutputType(GetNetPeeringsFilterOutput{}) - pulumi.RegisterOutputType(GetNetPeeringsFilterArrayOutput{}) - pulumi.RegisterOutputType(GetNetPeeringsNetPeeringOutput{}) - pulumi.RegisterOutputType(GetNetPeeringsNetPeeringArrayOutput{}) - pulumi.RegisterOutputType(GetNetPeeringsNetPeeringAccepterNetOutput{}) - pulumi.RegisterOutputType(GetNetPeeringsNetPeeringAccepterNetArrayOutput{}) - pulumi.RegisterOutputType(GetNetPeeringsNetPeeringSourceNetOutput{}) - pulumi.RegisterOutputType(GetNetPeeringsNetPeeringSourceNetArrayOutput{}) - pulumi.RegisterOutputType(GetNetPeeringsNetPeeringStateOutput{}) - pulumi.RegisterOutputType(GetNetPeeringsNetPeeringStateArrayOutput{}) - pulumi.RegisterOutputType(GetNetPeeringsNetPeeringTagOutput{}) - pulumi.RegisterOutputType(GetNetPeeringsNetPeeringTagArrayOutput{}) - pulumi.RegisterOutputType(GetNetTagOutput{}) - pulumi.RegisterOutputType(GetNetTagArrayOutput{}) - pulumi.RegisterOutputType(GetNetsFilterOutput{}) - pulumi.RegisterOutputType(GetNetsFilterArrayOutput{}) - pulumi.RegisterOutputType(GetNetsNetOutput{}) - pulumi.RegisterOutputType(GetNetsNetArrayOutput{}) - pulumi.RegisterOutputType(GetNetsNetTagOutput{}) - pulumi.RegisterOutputType(GetNetsNetTagArrayOutput{}) - pulumi.RegisterOutputType(GetNicFilterOutput{}) - pulumi.RegisterOutputType(GetNicFilterArrayOutput{}) - pulumi.RegisterOutputType(GetNicLinkNicOutput{}) - pulumi.RegisterOutputType(GetNicLinkNicArrayOutput{}) - pulumi.RegisterOutputType(GetNicLinkPublicIpOutput{}) - pulumi.RegisterOutputType(GetNicLinkPublicIpArrayOutput{}) - pulumi.RegisterOutputType(GetNicPrivateIpTypeOutput{}) - pulumi.RegisterOutputType(GetNicPrivateIpTypeArrayOutput{}) - pulumi.RegisterOutputType(GetNicPrivateIpLinkPublicIpOutput{}) - pulumi.RegisterOutputType(GetNicPrivateIpLinkPublicIpArrayOutput{}) - pulumi.RegisterOutputType(GetNicSecurityGroupOutput{}) - pulumi.RegisterOutputType(GetNicSecurityGroupArrayOutput{}) - pulumi.RegisterOutputType(GetNicTagOutput{}) - pulumi.RegisterOutputType(GetNicTagArrayOutput{}) - pulumi.RegisterOutputType(GetNicsFilterOutput{}) - pulumi.RegisterOutputType(GetNicsFilterArrayOutput{}) - pulumi.RegisterOutputType(GetNicsNicOutput{}) - pulumi.RegisterOutputType(GetNicsNicArrayOutput{}) - pulumi.RegisterOutputType(GetNicsNicLinkNicOutput{}) - pulumi.RegisterOutputType(GetNicsNicLinkNicArrayOutput{}) - pulumi.RegisterOutputType(GetNicsNicLinkPublicIpOutput{}) - pulumi.RegisterOutputType(GetNicsNicLinkPublicIpArrayOutput{}) - pulumi.RegisterOutputType(GetNicsNicPrivateIpOutput{}) - pulumi.RegisterOutputType(GetNicsNicPrivateIpArrayOutput{}) - pulumi.RegisterOutputType(GetNicsNicPrivateIpLinkPublicIpOutput{}) - pulumi.RegisterOutputType(GetNicsNicPrivateIpLinkPublicIpArrayOutput{}) - pulumi.RegisterOutputType(GetNicsNicSecurityGroupOutput{}) - pulumi.RegisterOutputType(GetNicsNicSecurityGroupArrayOutput{}) - pulumi.RegisterOutputType(GetNicsNicTagOutput{}) - pulumi.RegisterOutputType(GetNicsNicTagArrayOutput{}) - pulumi.RegisterOutputType(GetProductTypeFilterOutput{}) - pulumi.RegisterOutputType(GetProductTypeFilterArrayOutput{}) - pulumi.RegisterOutputType(GetProductTypesFilterOutput{}) - pulumi.RegisterOutputType(GetProductTypesFilterArrayOutput{}) - pulumi.RegisterOutputType(GetProductTypesProductTypeOutput{}) - pulumi.RegisterOutputType(GetProductTypesProductTypeArrayOutput{}) - pulumi.RegisterOutputType(GetPublicIpFilterOutput{}) - pulumi.RegisterOutputType(GetPublicIpFilterArrayOutput{}) - pulumi.RegisterOutputType(GetPublicIpTagOutput{}) - pulumi.RegisterOutputType(GetPublicIpTagArrayOutput{}) - pulumi.RegisterOutputType(GetPublicIpsFilterOutput{}) - pulumi.RegisterOutputType(GetPublicIpsFilterArrayOutput{}) - pulumi.RegisterOutputType(GetPublicIpsPublicIpOutput{}) - pulumi.RegisterOutputType(GetPublicIpsPublicIpArrayOutput{}) - pulumi.RegisterOutputType(GetPublicIpsPublicIpTagOutput{}) - pulumi.RegisterOutputType(GetPublicIpsPublicIpTagArrayOutput{}) - pulumi.RegisterOutputType(GetPulicCatalogCatalogOutput{}) - pulumi.RegisterOutputType(GetPulicCatalogCatalogArrayOutput{}) - pulumi.RegisterOutputType(GetPulicCatalogCatalogEntryOutput{}) - pulumi.RegisterOutputType(GetPulicCatalogCatalogEntryArrayOutput{}) - pulumi.RegisterOutputType(GetQuotaFilterOutput{}) - pulumi.RegisterOutputType(GetQuotaFilterArrayOutput{}) - pulumi.RegisterOutputType(GetQuotasFilterOutput{}) - pulumi.RegisterOutputType(GetQuotasFilterArrayOutput{}) - pulumi.RegisterOutputType(GetQuotasQuotaOutput{}) - pulumi.RegisterOutputType(GetQuotasQuotaArrayOutput{}) - pulumi.RegisterOutputType(GetRegionsRegionOutput{}) - pulumi.RegisterOutputType(GetRegionsRegionArrayOutput{}) - pulumi.RegisterOutputType(GetRouteTableFilterOutput{}) - pulumi.RegisterOutputType(GetRouteTableFilterArrayOutput{}) - pulumi.RegisterOutputType(GetRouteTableLinkRouteTableOutput{}) - pulumi.RegisterOutputType(GetRouteTableLinkRouteTableArrayOutput{}) - pulumi.RegisterOutputType(GetRouteTableRouteOutput{}) - pulumi.RegisterOutputType(GetRouteTableRouteArrayOutput{}) - pulumi.RegisterOutputType(GetRouteTableRoutePropagatingVirtualGatewayOutput{}) - pulumi.RegisterOutputType(GetRouteTableRoutePropagatingVirtualGatewayArrayOutput{}) - pulumi.RegisterOutputType(GetRouteTableTagOutput{}) - pulumi.RegisterOutputType(GetRouteTableTagArrayOutput{}) - pulumi.RegisterOutputType(GetRouteTablesFilterOutput{}) - pulumi.RegisterOutputType(GetRouteTablesFilterArrayOutput{}) - pulumi.RegisterOutputType(GetRouteTablesRouteTableOutput{}) - pulumi.RegisterOutputType(GetRouteTablesRouteTableArrayOutput{}) - pulumi.RegisterOutputType(GetRouteTablesRouteTableLinkRouteTableOutput{}) - pulumi.RegisterOutputType(GetRouteTablesRouteTableLinkRouteTableArrayOutput{}) - pulumi.RegisterOutputType(GetRouteTablesRouteTableRouteOutput{}) - pulumi.RegisterOutputType(GetRouteTablesRouteTableRouteArrayOutput{}) - pulumi.RegisterOutputType(GetRouteTablesRouteTableRoutePropagatingVirtualGatewayOutput{}) - pulumi.RegisterOutputType(GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArrayOutput{}) - pulumi.RegisterOutputType(GetRouteTablesRouteTableTagOutput{}) - pulumi.RegisterOutputType(GetRouteTablesRouteTableTagArrayOutput{}) - pulumi.RegisterOutputType(GetSecurityGroupFilterOutput{}) - pulumi.RegisterOutputType(GetSecurityGroupFilterArrayOutput{}) - pulumi.RegisterOutputType(GetSecurityGroupInboundRuleOutput{}) - pulumi.RegisterOutputType(GetSecurityGroupInboundRuleArrayOutput{}) - pulumi.RegisterOutputType(GetSecurityGroupInboundRuleSecurityGroupsMemberOutput{}) - pulumi.RegisterOutputType(GetSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput{}) - pulumi.RegisterOutputType(GetSecurityGroupOutboundRuleOutput{}) - pulumi.RegisterOutputType(GetSecurityGroupOutboundRuleArrayOutput{}) - pulumi.RegisterOutputType(GetSecurityGroupOutboundRuleSecurityGroupsMemberOutput{}) - pulumi.RegisterOutputType(GetSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput{}) - pulumi.RegisterOutputType(GetSecurityGroupTagOutput{}) - pulumi.RegisterOutputType(GetSecurityGroupTagArrayOutput{}) - pulumi.RegisterOutputType(GetSecurityGroupsFilterOutput{}) - pulumi.RegisterOutputType(GetSecurityGroupsFilterArrayOutput{}) - pulumi.RegisterOutputType(GetSecurityGroupsSecurityGroupOutput{}) - pulumi.RegisterOutputType(GetSecurityGroupsSecurityGroupArrayOutput{}) - pulumi.RegisterOutputType(GetSecurityGroupsSecurityGroupInboundRuleOutput{}) - pulumi.RegisterOutputType(GetSecurityGroupsSecurityGroupInboundRuleArrayOutput{}) - pulumi.RegisterOutputType(GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberOutput{}) - pulumi.RegisterOutputType(GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArrayOutput{}) - pulumi.RegisterOutputType(GetSecurityGroupsSecurityGroupOutboundRuleOutput{}) - pulumi.RegisterOutputType(GetSecurityGroupsSecurityGroupOutboundRuleArrayOutput{}) - pulumi.RegisterOutputType(GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberOutput{}) - pulumi.RegisterOutputType(GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArrayOutput{}) - pulumi.RegisterOutputType(GetSecurityGroupsSecurityGroupTagOutput{}) - pulumi.RegisterOutputType(GetSecurityGroupsSecurityGroupTagArrayOutput{}) - pulumi.RegisterOutputType(GetServerCertificateFilterOutput{}) - pulumi.RegisterOutputType(GetServerCertificateFilterArrayOutput{}) - pulumi.RegisterOutputType(GetServerCertificatesFilterOutput{}) - pulumi.RegisterOutputType(GetServerCertificatesFilterArrayOutput{}) - pulumi.RegisterOutputType(GetServerCertificatesServerCertificateOutput{}) - pulumi.RegisterOutputType(GetServerCertificatesServerCertificateArrayOutput{}) - pulumi.RegisterOutputType(GetSnapshotExportTaskFilterOutput{}) - pulumi.RegisterOutputType(GetSnapshotExportTaskFilterArrayOutput{}) - pulumi.RegisterOutputType(GetSnapshotExportTaskOsuExportOutput{}) - pulumi.RegisterOutputType(GetSnapshotExportTaskOsuExportArrayOutput{}) - pulumi.RegisterOutputType(GetSnapshotExportTaskTagOutput{}) - pulumi.RegisterOutputType(GetSnapshotExportTaskTagArrayOutput{}) - pulumi.RegisterOutputType(GetSnapshotExportTasksFilterOutput{}) - pulumi.RegisterOutputType(GetSnapshotExportTasksFilterArrayOutput{}) - pulumi.RegisterOutputType(GetSnapshotExportTasksSnapshotExportTaskOutput{}) - pulumi.RegisterOutputType(GetSnapshotExportTasksSnapshotExportTaskArrayOutput{}) - pulumi.RegisterOutputType(GetSnapshotExportTasksSnapshotExportTaskOsuExportOutput{}) - pulumi.RegisterOutputType(GetSnapshotExportTasksSnapshotExportTaskOsuExportArrayOutput{}) - pulumi.RegisterOutputType(GetSnapshotExportTasksSnapshotExportTaskTagOutput{}) - pulumi.RegisterOutputType(GetSnapshotExportTasksSnapshotExportTaskTagArrayOutput{}) - pulumi.RegisterOutputType(GetSnapshotFilterOutput{}) - pulumi.RegisterOutputType(GetSnapshotFilterArrayOutput{}) - pulumi.RegisterOutputType(GetSnapshotPermissionsToCreateVolumeOutput{}) - pulumi.RegisterOutputType(GetSnapshotPermissionsToCreateVolumeArrayOutput{}) - pulumi.RegisterOutputType(GetSnapshotTagOutput{}) - pulumi.RegisterOutputType(GetSnapshotTagArrayOutput{}) - pulumi.RegisterOutputType(GetSnapshotsFilterOutput{}) - pulumi.RegisterOutputType(GetSnapshotsFilterArrayOutput{}) - pulumi.RegisterOutputType(GetSnapshotsSnapshotOutput{}) - pulumi.RegisterOutputType(GetSnapshotsSnapshotArrayOutput{}) - pulumi.RegisterOutputType(GetSnapshotsSnapshotPermissionsToCreateVolumeOutput{}) - pulumi.RegisterOutputType(GetSnapshotsSnapshotPermissionsToCreateVolumeArrayOutput{}) - pulumi.RegisterOutputType(GetSnapshotsSnapshotTagOutput{}) - pulumi.RegisterOutputType(GetSnapshotsSnapshotTagArrayOutput{}) - pulumi.RegisterOutputType(GetSubnetFilterOutput{}) - pulumi.RegisterOutputType(GetSubnetFilterArrayOutput{}) - pulumi.RegisterOutputType(GetSubnetTagOutput{}) - pulumi.RegisterOutputType(GetSubnetTagArrayOutput{}) - pulumi.RegisterOutputType(GetSubnetsFilterOutput{}) - pulumi.RegisterOutputType(GetSubnetsFilterArrayOutput{}) - pulumi.RegisterOutputType(GetSubnetsSubnetOutput{}) - pulumi.RegisterOutputType(GetSubnetsSubnetArrayOutput{}) - pulumi.RegisterOutputType(GetSubnetsSubnetTagOutput{}) - pulumi.RegisterOutputType(GetSubnetsSubnetTagArrayOutput{}) - pulumi.RegisterOutputType(GetSubregionsFilterOutput{}) - pulumi.RegisterOutputType(GetSubregionsFilterArrayOutput{}) - pulumi.RegisterOutputType(GetSubregionsSubregionOutput{}) - pulumi.RegisterOutputType(GetSubregionsSubregionArrayOutput{}) - pulumi.RegisterOutputType(GetTagFilterOutput{}) - pulumi.RegisterOutputType(GetTagFilterArrayOutput{}) - pulumi.RegisterOutputType(GetVirtualGatewayFilterOutput{}) - pulumi.RegisterOutputType(GetVirtualGatewayFilterArrayOutput{}) - pulumi.RegisterOutputType(GetVirtualGatewayNetToVirtualGatewayLinkOutput{}) - pulumi.RegisterOutputType(GetVirtualGatewayNetToVirtualGatewayLinkArrayOutput{}) - pulumi.RegisterOutputType(GetVirtualGatewayTagOutput{}) - pulumi.RegisterOutputType(GetVirtualGatewayTagArrayOutput{}) - pulumi.RegisterOutputType(GetVirtualGatewaysFilterOutput{}) - pulumi.RegisterOutputType(GetVirtualGatewaysFilterArrayOutput{}) - pulumi.RegisterOutputType(GetVirtualGatewaysVirtualGatewayOutput{}) - pulumi.RegisterOutputType(GetVirtualGatewaysVirtualGatewayArrayOutput{}) - pulumi.RegisterOutputType(GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkOutput{}) - pulumi.RegisterOutputType(GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArrayOutput{}) - pulumi.RegisterOutputType(GetVirtualGatewaysVirtualGatewayTagOutput{}) - pulumi.RegisterOutputType(GetVirtualGatewaysVirtualGatewayTagArrayOutput{}) - pulumi.RegisterOutputType(GetVmBlockDeviceMappingsCreatedOutput{}) - pulumi.RegisterOutputType(GetVmBlockDeviceMappingsCreatedArrayOutput{}) - pulumi.RegisterOutputType(GetVmBlockDeviceMappingsCreatedBsusOutput{}) - pulumi.RegisterOutputType(GetVmBlockDeviceMappingsCreatedBsusArrayOutput{}) - pulumi.RegisterOutputType(GetVmBlockDeviceMappingsCreatedBsusTagOutput{}) - pulumi.RegisterOutputType(GetVmBlockDeviceMappingsCreatedBsusTagArrayOutput{}) - pulumi.RegisterOutputType(GetVmFilterOutput{}) - pulumi.RegisterOutputType(GetVmFilterArrayOutput{}) - pulumi.RegisterOutputType(GetVmNicOutput{}) - pulumi.RegisterOutputType(GetVmNicArrayOutput{}) - pulumi.RegisterOutputType(GetVmNicLinkNicOutput{}) - pulumi.RegisterOutputType(GetVmNicLinkNicArrayOutput{}) - pulumi.RegisterOutputType(GetVmNicLinkPublicIpOutput{}) - pulumi.RegisterOutputType(GetVmNicLinkPublicIpArrayOutput{}) - pulumi.RegisterOutputType(GetVmNicPrivateIpOutput{}) - pulumi.RegisterOutputType(GetVmNicPrivateIpArrayOutput{}) - pulumi.RegisterOutputType(GetVmNicPrivateIpLinkPublicIpOutput{}) - pulumi.RegisterOutputType(GetVmNicPrivateIpLinkPublicIpArrayOutput{}) - pulumi.RegisterOutputType(GetVmNicSecurityGroupOutput{}) - pulumi.RegisterOutputType(GetVmNicSecurityGroupArrayOutput{}) - pulumi.RegisterOutputType(GetVmPrimaryNicOutput{}) - pulumi.RegisterOutputType(GetVmPrimaryNicArrayOutput{}) - pulumi.RegisterOutputType(GetVmPrimaryNicLinkNicOutput{}) - pulumi.RegisterOutputType(GetVmPrimaryNicLinkNicArrayOutput{}) - pulumi.RegisterOutputType(GetVmPrimaryNicLinkPublicIpOutput{}) - pulumi.RegisterOutputType(GetVmPrimaryNicLinkPublicIpArrayOutput{}) - pulumi.RegisterOutputType(GetVmPrimaryNicPrivateIpOutput{}) - pulumi.RegisterOutputType(GetVmPrimaryNicPrivateIpArrayOutput{}) - pulumi.RegisterOutputType(GetVmPrimaryNicPrivateIpLinkPublicIpOutput{}) - pulumi.RegisterOutputType(GetVmPrimaryNicPrivateIpLinkPublicIpArrayOutput{}) - pulumi.RegisterOutputType(GetVmPrimaryNicSecurityGroupOutput{}) - pulumi.RegisterOutputType(GetVmPrimaryNicSecurityGroupArrayOutput{}) - pulumi.RegisterOutputType(GetVmSecurityGroupOutput{}) - pulumi.RegisterOutputType(GetVmSecurityGroupArrayOutput{}) - pulumi.RegisterOutputType(GetVmStateFilterOutput{}) - pulumi.RegisterOutputType(GetVmStateFilterArrayOutput{}) - pulumi.RegisterOutputType(GetVmStateMaintenanceEventOutput{}) - pulumi.RegisterOutputType(GetVmStateMaintenanceEventArrayOutput{}) - pulumi.RegisterOutputType(GetVmStatesFilterOutput{}) - pulumi.RegisterOutputType(GetVmStatesFilterArrayOutput{}) - pulumi.RegisterOutputType(GetVmStatesVmStateOutput{}) - pulumi.RegisterOutputType(GetVmStatesVmStateArrayOutput{}) - pulumi.RegisterOutputType(GetVmStatesVmStateMaintenanceEventOutput{}) - pulumi.RegisterOutputType(GetVmStatesVmStateMaintenanceEventArrayOutput{}) - pulumi.RegisterOutputType(GetVmTagOutput{}) - pulumi.RegisterOutputType(GetVmTagArrayOutput{}) - pulumi.RegisterOutputType(GetVmTypesFilterOutput{}) - pulumi.RegisterOutputType(GetVmTypesFilterArrayOutput{}) - pulumi.RegisterOutputType(GetVmTypesVmTypeOutput{}) - pulumi.RegisterOutputType(GetVmTypesVmTypeArrayOutput{}) - pulumi.RegisterOutputType(GetVmsFilterOutput{}) - pulumi.RegisterOutputType(GetVmsFilterArrayOutput{}) - pulumi.RegisterOutputType(GetVmsVmOutput{}) - pulumi.RegisterOutputType(GetVmsVmArrayOutput{}) - pulumi.RegisterOutputType(GetVmsVmBlockDeviceMappingsCreatedOutput{}) - pulumi.RegisterOutputType(GetVmsVmBlockDeviceMappingsCreatedArrayOutput{}) - pulumi.RegisterOutputType(GetVmsVmBlockDeviceMappingsCreatedBsusOutput{}) - pulumi.RegisterOutputType(GetVmsVmBlockDeviceMappingsCreatedBsusArrayOutput{}) - pulumi.RegisterOutputType(GetVmsVmBlockDeviceMappingsCreatedBsusTagOutput{}) - pulumi.RegisterOutputType(GetVmsVmBlockDeviceMappingsCreatedBsusTagArrayOutput{}) - pulumi.RegisterOutputType(GetVmsVmNicOutput{}) - pulumi.RegisterOutputType(GetVmsVmNicArrayOutput{}) - pulumi.RegisterOutputType(GetVmsVmNicLinkNicOutput{}) - pulumi.RegisterOutputType(GetVmsVmNicLinkNicArrayOutput{}) - pulumi.RegisterOutputType(GetVmsVmNicLinkPublicIpOutput{}) - pulumi.RegisterOutputType(GetVmsVmNicLinkPublicIpArrayOutput{}) - pulumi.RegisterOutputType(GetVmsVmNicPrivateIpOutput{}) - pulumi.RegisterOutputType(GetVmsVmNicPrivateIpArrayOutput{}) - pulumi.RegisterOutputType(GetVmsVmNicPrivateIpLinkPublicIpOutput{}) - pulumi.RegisterOutputType(GetVmsVmNicPrivateIpLinkPublicIpArrayOutput{}) - pulumi.RegisterOutputType(GetVmsVmNicSecurityGroupOutput{}) - pulumi.RegisterOutputType(GetVmsVmNicSecurityGroupArrayOutput{}) - pulumi.RegisterOutputType(GetVmsVmPrimaryNicOutput{}) - pulumi.RegisterOutputType(GetVmsVmPrimaryNicArrayOutput{}) - pulumi.RegisterOutputType(GetVmsVmPrimaryNicLinkNicOutput{}) - pulumi.RegisterOutputType(GetVmsVmPrimaryNicLinkNicArrayOutput{}) - pulumi.RegisterOutputType(GetVmsVmPrimaryNicLinkPublicIpOutput{}) - pulumi.RegisterOutputType(GetVmsVmPrimaryNicLinkPublicIpArrayOutput{}) - pulumi.RegisterOutputType(GetVmsVmPrimaryNicPrivateIpOutput{}) - pulumi.RegisterOutputType(GetVmsVmPrimaryNicPrivateIpArrayOutput{}) - pulumi.RegisterOutputType(GetVmsVmPrimaryNicPrivateIpLinkPublicIpOutput{}) - pulumi.RegisterOutputType(GetVmsVmPrimaryNicPrivateIpLinkPublicIpArrayOutput{}) - pulumi.RegisterOutputType(GetVmsVmPrimaryNicSecurityGroupOutput{}) - pulumi.RegisterOutputType(GetVmsVmPrimaryNicSecurityGroupArrayOutput{}) - pulumi.RegisterOutputType(GetVmsVmSecurityGroupOutput{}) - pulumi.RegisterOutputType(GetVmsVmSecurityGroupArrayOutput{}) - pulumi.RegisterOutputType(GetVmsVmTagOutput{}) - pulumi.RegisterOutputType(GetVmsVmTagArrayOutput{}) - pulumi.RegisterOutputType(GetVolumeFilterOutput{}) - pulumi.RegisterOutputType(GetVolumeFilterArrayOutput{}) - pulumi.RegisterOutputType(GetVolumeLinkedVolumeOutput{}) - pulumi.RegisterOutputType(GetVolumeLinkedVolumeArrayOutput{}) - pulumi.RegisterOutputType(GetVolumeTagOutput{}) - pulumi.RegisterOutputType(GetVolumeTagArrayOutput{}) - pulumi.RegisterOutputType(GetVolumesFilterOutput{}) - pulumi.RegisterOutputType(GetVolumesFilterArrayOutput{}) - pulumi.RegisterOutputType(GetVolumesVolumeOutput{}) - pulumi.RegisterOutputType(GetVolumesVolumeArrayOutput{}) - pulumi.RegisterOutputType(GetVolumesVolumeLinkedVolumeOutput{}) - pulumi.RegisterOutputType(GetVolumesVolumeLinkedVolumeArrayOutput{}) - pulumi.RegisterOutputType(GetVolumesVolumeTagOutput{}) - pulumi.RegisterOutputType(GetVolumesVolumeTagArrayOutput{}) - pulumi.RegisterOutputType(GetVpnConnectionFilterOutput{}) - pulumi.RegisterOutputType(GetVpnConnectionFilterArrayOutput{}) - pulumi.RegisterOutputType(GetVpnConnectionRouteTypeOutput{}) - pulumi.RegisterOutputType(GetVpnConnectionRouteTypeArrayOutput{}) - pulumi.RegisterOutputType(GetVpnConnectionTagOutput{}) - pulumi.RegisterOutputType(GetVpnConnectionTagArrayOutput{}) - pulumi.RegisterOutputType(GetVpnConnectionVgwTelemetryOutput{}) - pulumi.RegisterOutputType(GetVpnConnectionVgwTelemetryArrayOutput{}) - pulumi.RegisterOutputType(GetVpnConnectionsFilterOutput{}) - pulumi.RegisterOutputType(GetVpnConnectionsFilterArrayOutput{}) - pulumi.RegisterOutputType(GetVpnConnectionsVpnConnectionOutput{}) - pulumi.RegisterOutputType(GetVpnConnectionsVpnConnectionArrayOutput{}) - pulumi.RegisterOutputType(GetVpnConnectionsVpnConnectionRouteOutput{}) - pulumi.RegisterOutputType(GetVpnConnectionsVpnConnectionRouteArrayOutput{}) - pulumi.RegisterOutputType(GetVpnConnectionsVpnConnectionTagOutput{}) - pulumi.RegisterOutputType(GetVpnConnectionsVpnConnectionTagArrayOutput{}) - pulumi.RegisterOutputType(GetVpnConnectionsVpnConnectionVgwTelemetryOutput{}) - pulumi.RegisterOutputType(GetVpnConnectionsVpnConnectionVgwTelemetryArrayOutput{}) -} diff --git a/sdk/go/outscale/route.go b/sdk/go/outscale/route.go deleted file mode 100644 index 65e772c..0000000 --- a/sdk/go/outscale/route.go +++ /dev/null @@ -1,469 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "errors" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages a route. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Route-Tables.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-route). -// -// ## Example Usage -// ### Required resources -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// net01, err := outscale.NewNet(ctx, "net01", &outscale.NetArgs{ -// IpRange: pulumi.String("10.0.0.0/16"), -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewRouteTable(ctx, "routeTable01", &outscale.RouteTableArgs{ -// NetId: net01.NetId, -// }) -// if err != nil { -// return err -// } -// internetService01, err := outscale.NewInternetService(ctx, "internetService01", nil) -// if err != nil { -// return err -// } -// _, err = outscale.NewInternetServiceLink(ctx, "internetServiceLink01", &outscale.InternetServiceLinkArgs{ -// InternetServiceId: internetService01.InternetServiceId, -// NetId: net01.NetId, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Create a route to an Internet service -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewRoute(ctx, "route01", &outscale.RouteArgs{ -// GatewayId: pulumi.Any(outscale_internet_service.Internet_service01.Internet_service_id), -// DestinationIpRange: pulumi.String("0.0.0.0/0"), -// RouteTableId: pulumi.Any(outscale_route_table.Route_table01.Route_table_id), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// A route can be imported using the route table ID and the destination IP range. For exampleconsole -// -// ```sh -// -// $ pulumi import outscale:index/route:Route outscale_routeImportedRoute rtb-12345678_10.0.0.0/0 -// -// ``` -type Route struct { - pulumi.CustomResourceState - - // By default or if set to true, waits for the route to be in the `active` state to declare its successful creation.
If false, the created route is in the `active` state if available, or the `blackhole` state if not available. - AwaitActiveState pulumi.BoolPtrOutput `pulumi:"awaitActiveState"` - // The method used to create the route. - CreationMethod pulumi.StringOutput `pulumi:"creationMethod"` - // The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - DestinationIpRange pulumi.StringOutput `pulumi:"destinationIpRange"` - // The ID of the OUTSCALE service. - DestinationServiceId pulumi.StringOutput `pulumi:"destinationServiceId"` - // The ID of an Internet service or virtual gateway attached to your Net. - GatewayId pulumi.StringPtrOutput `pulumi:"gatewayId"` - NatAccessPoint pulumi.StringOutput `pulumi:"natAccessPoint"` - // The ID of a NAT service. - NatServiceId pulumi.StringPtrOutput `pulumi:"natServiceId"` - // The ID of a Net peering. - NetPeeringId pulumi.StringPtrOutput `pulumi:"netPeeringId"` - // The ID of a NIC. - NicId pulumi.StringOutput `pulumi:"nicId"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - // The ID of the route table for which you want to create a route. - RouteTableId pulumi.StringOutput `pulumi:"routeTableId"` - // The state of a route in the route table (always `active`). - State pulumi.StringOutput `pulumi:"state"` - // The account ID of the owner of the VM. - VmAccountId pulumi.StringOutput `pulumi:"vmAccountId"` - // The ID of a NAT VM in your Net (attached to exactly one NIC). - VmId pulumi.StringOutput `pulumi:"vmId"` -} - -// NewRoute registers a new resource with the given unique name, arguments, and options. -func NewRoute(ctx *pulumi.Context, - name string, args *RouteArgs, opts ...pulumi.ResourceOption) (*Route, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.DestinationIpRange == nil { - return nil, errors.New("invalid value for required argument 'DestinationIpRange'") - } - if args.RouteTableId == nil { - return nil, errors.New("invalid value for required argument 'RouteTableId'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource Route - err := ctx.RegisterResource("outscale:index/route:Route", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetRoute gets an existing Route resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetRoute(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *RouteState, opts ...pulumi.ResourceOption) (*Route, error) { - var resource Route - err := ctx.ReadResource("outscale:index/route:Route", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering Route resources. -type routeState struct { - // By default or if set to true, waits for the route to be in the `active` state to declare its successful creation.
If false, the created route is in the `active` state if available, or the `blackhole` state if not available. - AwaitActiveState *bool `pulumi:"awaitActiveState"` - // The method used to create the route. - CreationMethod *string `pulumi:"creationMethod"` - // The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - DestinationIpRange *string `pulumi:"destinationIpRange"` - // The ID of the OUTSCALE service. - DestinationServiceId *string `pulumi:"destinationServiceId"` - // The ID of an Internet service or virtual gateway attached to your Net. - GatewayId *string `pulumi:"gatewayId"` - NatAccessPoint *string `pulumi:"natAccessPoint"` - // The ID of a NAT service. - NatServiceId *string `pulumi:"natServiceId"` - // The ID of a Net peering. - NetPeeringId *string `pulumi:"netPeeringId"` - // The ID of a NIC. - NicId *string `pulumi:"nicId"` - RequestId *string `pulumi:"requestId"` - // The ID of the route table for which you want to create a route. - RouteTableId *string `pulumi:"routeTableId"` - // The state of a route in the route table (always `active`). - State *string `pulumi:"state"` - // The account ID of the owner of the VM. - VmAccountId *string `pulumi:"vmAccountId"` - // The ID of a NAT VM in your Net (attached to exactly one NIC). - VmId *string `pulumi:"vmId"` -} - -type RouteState struct { - // By default or if set to true, waits for the route to be in the `active` state to declare its successful creation.
If false, the created route is in the `active` state if available, or the `blackhole` state if not available. - AwaitActiveState pulumi.BoolPtrInput - // The method used to create the route. - CreationMethod pulumi.StringPtrInput - // The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - DestinationIpRange pulumi.StringPtrInput - // The ID of the OUTSCALE service. - DestinationServiceId pulumi.StringPtrInput - // The ID of an Internet service or virtual gateway attached to your Net. - GatewayId pulumi.StringPtrInput - NatAccessPoint pulumi.StringPtrInput - // The ID of a NAT service. - NatServiceId pulumi.StringPtrInput - // The ID of a Net peering. - NetPeeringId pulumi.StringPtrInput - // The ID of a NIC. - NicId pulumi.StringPtrInput - RequestId pulumi.StringPtrInput - // The ID of the route table for which you want to create a route. - RouteTableId pulumi.StringPtrInput - // The state of a route in the route table (always `active`). - State pulumi.StringPtrInput - // The account ID of the owner of the VM. - VmAccountId pulumi.StringPtrInput - // The ID of a NAT VM in your Net (attached to exactly one NIC). - VmId pulumi.StringPtrInput -} - -func (RouteState) ElementType() reflect.Type { - return reflect.TypeOf((*routeState)(nil)).Elem() -} - -type routeArgs struct { - // By default or if set to true, waits for the route to be in the `active` state to declare its successful creation.
If false, the created route is in the `active` state if available, or the `blackhole` state if not available. - AwaitActiveState *bool `pulumi:"awaitActiveState"` - // The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - DestinationIpRange string `pulumi:"destinationIpRange"` - // The ID of an Internet service or virtual gateway attached to your Net. - GatewayId *string `pulumi:"gatewayId"` - // The ID of a NAT service. - NatServiceId *string `pulumi:"natServiceId"` - // The ID of a Net peering. - NetPeeringId *string `pulumi:"netPeeringId"` - // The ID of a NIC. - NicId *string `pulumi:"nicId"` - // The ID of the route table for which you want to create a route. - RouteTableId string `pulumi:"routeTableId"` - // The ID of a NAT VM in your Net (attached to exactly one NIC). - VmId *string `pulumi:"vmId"` -} - -// The set of arguments for constructing a Route resource. -type RouteArgs struct { - // By default or if set to true, waits for the route to be in the `active` state to declare its successful creation.
If false, the created route is in the `active` state if available, or the `blackhole` state if not available. - AwaitActiveState pulumi.BoolPtrInput - // The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - DestinationIpRange pulumi.StringInput - // The ID of an Internet service or virtual gateway attached to your Net. - GatewayId pulumi.StringPtrInput - // The ID of a NAT service. - NatServiceId pulumi.StringPtrInput - // The ID of a Net peering. - NetPeeringId pulumi.StringPtrInput - // The ID of a NIC. - NicId pulumi.StringPtrInput - // The ID of the route table for which you want to create a route. - RouteTableId pulumi.StringInput - // The ID of a NAT VM in your Net (attached to exactly one NIC). - VmId pulumi.StringPtrInput -} - -func (RouteArgs) ElementType() reflect.Type { - return reflect.TypeOf((*routeArgs)(nil)).Elem() -} - -type RouteInput interface { - pulumi.Input - - ToRouteOutput() RouteOutput - ToRouteOutputWithContext(ctx context.Context) RouteOutput -} - -func (*Route) ElementType() reflect.Type { - return reflect.TypeOf((**Route)(nil)).Elem() -} - -func (i *Route) ToRouteOutput() RouteOutput { - return i.ToRouteOutputWithContext(context.Background()) -} - -func (i *Route) ToRouteOutputWithContext(ctx context.Context) RouteOutput { - return pulumi.ToOutputWithContext(ctx, i).(RouteOutput) -} - -// RouteArrayInput is an input type that accepts RouteArray and RouteArrayOutput values. -// You can construct a concrete instance of `RouteArrayInput` via: -// -// RouteArray{ RouteArgs{...} } -type RouteArrayInput interface { - pulumi.Input - - ToRouteArrayOutput() RouteArrayOutput - ToRouteArrayOutputWithContext(context.Context) RouteArrayOutput -} - -type RouteArray []RouteInput - -func (RouteArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*Route)(nil)).Elem() -} - -func (i RouteArray) ToRouteArrayOutput() RouteArrayOutput { - return i.ToRouteArrayOutputWithContext(context.Background()) -} - -func (i RouteArray) ToRouteArrayOutputWithContext(ctx context.Context) RouteArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(RouteArrayOutput) -} - -// RouteMapInput is an input type that accepts RouteMap and RouteMapOutput values. -// You can construct a concrete instance of `RouteMapInput` via: -// -// RouteMap{ "key": RouteArgs{...} } -type RouteMapInput interface { - pulumi.Input - - ToRouteMapOutput() RouteMapOutput - ToRouteMapOutputWithContext(context.Context) RouteMapOutput -} - -type RouteMap map[string]RouteInput - -func (RouteMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*Route)(nil)).Elem() -} - -func (i RouteMap) ToRouteMapOutput() RouteMapOutput { - return i.ToRouteMapOutputWithContext(context.Background()) -} - -func (i RouteMap) ToRouteMapOutputWithContext(ctx context.Context) RouteMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(RouteMapOutput) -} - -type RouteOutput struct{ *pulumi.OutputState } - -func (RouteOutput) ElementType() reflect.Type { - return reflect.TypeOf((**Route)(nil)).Elem() -} - -func (o RouteOutput) ToRouteOutput() RouteOutput { - return o -} - -func (o RouteOutput) ToRouteOutputWithContext(ctx context.Context) RouteOutput { - return o -} - -// By default or if set to true, waits for the route to be in the `active` state to declare its successful creation.
If false, the created route is in the `active` state if available, or the `blackhole` state if not available. -func (o RouteOutput) AwaitActiveState() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *Route) pulumi.BoolPtrOutput { return v.AwaitActiveState }).(pulumi.BoolPtrOutput) -} - -// The method used to create the route. -func (o RouteOutput) CreationMethod() pulumi.StringOutput { - return o.ApplyT(func(v *Route) pulumi.StringOutput { return v.CreationMethod }).(pulumi.StringOutput) -} - -// The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). -func (o RouteOutput) DestinationIpRange() pulumi.StringOutput { - return o.ApplyT(func(v *Route) pulumi.StringOutput { return v.DestinationIpRange }).(pulumi.StringOutput) -} - -// The ID of the OUTSCALE service. -func (o RouteOutput) DestinationServiceId() pulumi.StringOutput { - return o.ApplyT(func(v *Route) pulumi.StringOutput { return v.DestinationServiceId }).(pulumi.StringOutput) -} - -// The ID of an Internet service or virtual gateway attached to your Net. -func (o RouteOutput) GatewayId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Route) pulumi.StringPtrOutput { return v.GatewayId }).(pulumi.StringPtrOutput) -} - -func (o RouteOutput) NatAccessPoint() pulumi.StringOutput { - return o.ApplyT(func(v *Route) pulumi.StringOutput { return v.NatAccessPoint }).(pulumi.StringOutput) -} - -// The ID of a NAT service. -func (o RouteOutput) NatServiceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Route) pulumi.StringPtrOutput { return v.NatServiceId }).(pulumi.StringPtrOutput) -} - -// The ID of a Net peering. -func (o RouteOutput) NetPeeringId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Route) pulumi.StringPtrOutput { return v.NetPeeringId }).(pulumi.StringPtrOutput) -} - -// The ID of a NIC. -func (o RouteOutput) NicId() pulumi.StringOutput { - return o.ApplyT(func(v *Route) pulumi.StringOutput { return v.NicId }).(pulumi.StringOutput) -} - -func (o RouteOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *Route) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -// The ID of the route table for which you want to create a route. -func (o RouteOutput) RouteTableId() pulumi.StringOutput { - return o.ApplyT(func(v *Route) pulumi.StringOutput { return v.RouteTableId }).(pulumi.StringOutput) -} - -// The state of a route in the route table (always `active`). -func (o RouteOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v *Route) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) -} - -// The account ID of the owner of the VM. -func (o RouteOutput) VmAccountId() pulumi.StringOutput { - return o.ApplyT(func(v *Route) pulumi.StringOutput { return v.VmAccountId }).(pulumi.StringOutput) -} - -// The ID of a NAT VM in your Net (attached to exactly one NIC). -func (o RouteOutput) VmId() pulumi.StringOutput { - return o.ApplyT(func(v *Route) pulumi.StringOutput { return v.VmId }).(pulumi.StringOutput) -} - -type RouteArrayOutput struct{ *pulumi.OutputState } - -func (RouteArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*Route)(nil)).Elem() -} - -func (o RouteArrayOutput) ToRouteArrayOutput() RouteArrayOutput { - return o -} - -func (o RouteArrayOutput) ToRouteArrayOutputWithContext(ctx context.Context) RouteArrayOutput { - return o -} - -func (o RouteArrayOutput) Index(i pulumi.IntInput) RouteOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Route { - return vs[0].([]*Route)[vs[1].(int)] - }).(RouteOutput) -} - -type RouteMapOutput struct{ *pulumi.OutputState } - -func (RouteMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*Route)(nil)).Elem() -} - -func (o RouteMapOutput) ToRouteMapOutput() RouteMapOutput { - return o -} - -func (o RouteMapOutput) ToRouteMapOutputWithContext(ctx context.Context) RouteMapOutput { - return o -} - -func (o RouteMapOutput) MapIndex(k pulumi.StringInput) RouteOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Route { - return vs[0].(map[string]*Route)[vs[1].(string)] - }).(RouteOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*RouteInput)(nil)).Elem(), &Route{}) - pulumi.RegisterInputType(reflect.TypeOf((*RouteArrayInput)(nil)).Elem(), RouteArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*RouteMapInput)(nil)).Elem(), RouteMap{}) - pulumi.RegisterOutputType(RouteOutput{}) - pulumi.RegisterOutputType(RouteArrayOutput{}) - pulumi.RegisterOutputType(RouteMapOutput{}) -} diff --git a/sdk/go/outscale/routeTable.go b/sdk/go/outscale/routeTable.go deleted file mode 100644 index 54a0aba..0000000 --- a/sdk/go/outscale/routeTable.go +++ /dev/null @@ -1,352 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "errors" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages a route table. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Route-Tables.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-routetable). -// -// ## Example Usage -// ### Required resource -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewNet(ctx, "net01", &outscale.NetArgs{ -// IpRange: pulumi.String("10.0.0.0/16"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Create a route table -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewRouteTable(ctx, "routeTable01", &outscale.RouteTableArgs{ -// NetId: pulumi.Any(outscale_net.Net01.Net_id), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// A route table can be imported using its ID. For exampleconsole -// -// ```sh -// -// $ pulumi import outscale:index/routeTable:RouteTable ImportedRouteTable rtb-12345678 -// -// ``` -type RouteTable struct { - pulumi.CustomResourceState - - // One or more associations between the route table and Subnets. - LinkRouteTables RouteTableLinkRouteTableArrayOutput `pulumi:"linkRouteTables"` - // The ID of the Net for which you want to create a route table. - NetId pulumi.StringOutput `pulumi:"netId"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - // Information about virtual gateways propagating routes. - RoutePropagatingVirtualGateways RouteTableRoutePropagatingVirtualGatewayArrayOutput `pulumi:"routePropagatingVirtualGateways"` - // The ID of the route table. - RouteTableId pulumi.StringOutput `pulumi:"routeTableId"` - // One or more routes in the route table. - Routes RouteTableRouteArrayOutput `pulumi:"routes"` - // A tag to add to this resource. You can specify this argument several times. - Tags RouteTableTagArrayOutput `pulumi:"tags"` -} - -// NewRouteTable registers a new resource with the given unique name, arguments, and options. -func NewRouteTable(ctx *pulumi.Context, - name string, args *RouteTableArgs, opts ...pulumi.ResourceOption) (*RouteTable, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.NetId == nil { - return nil, errors.New("invalid value for required argument 'NetId'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource RouteTable - err := ctx.RegisterResource("outscale:index/routeTable:RouteTable", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetRouteTable gets an existing RouteTable resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetRouteTable(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *RouteTableState, opts ...pulumi.ResourceOption) (*RouteTable, error) { - var resource RouteTable - err := ctx.ReadResource("outscale:index/routeTable:RouteTable", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering RouteTable resources. -type routeTableState struct { - // One or more associations between the route table and Subnets. - LinkRouteTables []RouteTableLinkRouteTable `pulumi:"linkRouteTables"` - // The ID of the Net for which you want to create a route table. - NetId *string `pulumi:"netId"` - RequestId *string `pulumi:"requestId"` - // Information about virtual gateways propagating routes. - RoutePropagatingVirtualGateways []RouteTableRoutePropagatingVirtualGateway `pulumi:"routePropagatingVirtualGateways"` - // The ID of the route table. - RouteTableId *string `pulumi:"routeTableId"` - // One or more routes in the route table. - Routes []RouteTableRoute `pulumi:"routes"` - // A tag to add to this resource. You can specify this argument several times. - Tags []RouteTableTag `pulumi:"tags"` -} - -type RouteTableState struct { - // One or more associations between the route table and Subnets. - LinkRouteTables RouteTableLinkRouteTableArrayInput - // The ID of the Net for which you want to create a route table. - NetId pulumi.StringPtrInput - RequestId pulumi.StringPtrInput - // Information about virtual gateways propagating routes. - RoutePropagatingVirtualGateways RouteTableRoutePropagatingVirtualGatewayArrayInput - // The ID of the route table. - RouteTableId pulumi.StringPtrInput - // One or more routes in the route table. - Routes RouteTableRouteArrayInput - // A tag to add to this resource. You can specify this argument several times. - Tags RouteTableTagArrayInput -} - -func (RouteTableState) ElementType() reflect.Type { - return reflect.TypeOf((*routeTableState)(nil)).Elem() -} - -type routeTableArgs struct { - // The ID of the Net for which you want to create a route table. - NetId string `pulumi:"netId"` - // A tag to add to this resource. You can specify this argument several times. - Tags []RouteTableTag `pulumi:"tags"` -} - -// The set of arguments for constructing a RouteTable resource. -type RouteTableArgs struct { - // The ID of the Net for which you want to create a route table. - NetId pulumi.StringInput - // A tag to add to this resource. You can specify this argument several times. - Tags RouteTableTagArrayInput -} - -func (RouteTableArgs) ElementType() reflect.Type { - return reflect.TypeOf((*routeTableArgs)(nil)).Elem() -} - -type RouteTableInput interface { - pulumi.Input - - ToRouteTableOutput() RouteTableOutput - ToRouteTableOutputWithContext(ctx context.Context) RouteTableOutput -} - -func (*RouteTable) ElementType() reflect.Type { - return reflect.TypeOf((**RouteTable)(nil)).Elem() -} - -func (i *RouteTable) ToRouteTableOutput() RouteTableOutput { - return i.ToRouteTableOutputWithContext(context.Background()) -} - -func (i *RouteTable) ToRouteTableOutputWithContext(ctx context.Context) RouteTableOutput { - return pulumi.ToOutputWithContext(ctx, i).(RouteTableOutput) -} - -// RouteTableArrayInput is an input type that accepts RouteTableArray and RouteTableArrayOutput values. -// You can construct a concrete instance of `RouteTableArrayInput` via: -// -// RouteTableArray{ RouteTableArgs{...} } -type RouteTableArrayInput interface { - pulumi.Input - - ToRouteTableArrayOutput() RouteTableArrayOutput - ToRouteTableArrayOutputWithContext(context.Context) RouteTableArrayOutput -} - -type RouteTableArray []RouteTableInput - -func (RouteTableArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*RouteTable)(nil)).Elem() -} - -func (i RouteTableArray) ToRouteTableArrayOutput() RouteTableArrayOutput { - return i.ToRouteTableArrayOutputWithContext(context.Background()) -} - -func (i RouteTableArray) ToRouteTableArrayOutputWithContext(ctx context.Context) RouteTableArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(RouteTableArrayOutput) -} - -// RouteTableMapInput is an input type that accepts RouteTableMap and RouteTableMapOutput values. -// You can construct a concrete instance of `RouteTableMapInput` via: -// -// RouteTableMap{ "key": RouteTableArgs{...} } -type RouteTableMapInput interface { - pulumi.Input - - ToRouteTableMapOutput() RouteTableMapOutput - ToRouteTableMapOutputWithContext(context.Context) RouteTableMapOutput -} - -type RouteTableMap map[string]RouteTableInput - -func (RouteTableMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*RouteTable)(nil)).Elem() -} - -func (i RouteTableMap) ToRouteTableMapOutput() RouteTableMapOutput { - return i.ToRouteTableMapOutputWithContext(context.Background()) -} - -func (i RouteTableMap) ToRouteTableMapOutputWithContext(ctx context.Context) RouteTableMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(RouteTableMapOutput) -} - -type RouteTableOutput struct{ *pulumi.OutputState } - -func (RouteTableOutput) ElementType() reflect.Type { - return reflect.TypeOf((**RouteTable)(nil)).Elem() -} - -func (o RouteTableOutput) ToRouteTableOutput() RouteTableOutput { - return o -} - -func (o RouteTableOutput) ToRouteTableOutputWithContext(ctx context.Context) RouteTableOutput { - return o -} - -// One or more associations between the route table and Subnets. -func (o RouteTableOutput) LinkRouteTables() RouteTableLinkRouteTableArrayOutput { - return o.ApplyT(func(v *RouteTable) RouteTableLinkRouteTableArrayOutput { return v.LinkRouteTables }).(RouteTableLinkRouteTableArrayOutput) -} - -// The ID of the Net for which you want to create a route table. -func (o RouteTableOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v *RouteTable) pulumi.StringOutput { return v.NetId }).(pulumi.StringOutput) -} - -func (o RouteTableOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *RouteTable) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -// Information about virtual gateways propagating routes. -func (o RouteTableOutput) RoutePropagatingVirtualGateways() RouteTableRoutePropagatingVirtualGatewayArrayOutput { - return o.ApplyT(func(v *RouteTable) RouteTableRoutePropagatingVirtualGatewayArrayOutput { - return v.RoutePropagatingVirtualGateways - }).(RouteTableRoutePropagatingVirtualGatewayArrayOutput) -} - -// The ID of the route table. -func (o RouteTableOutput) RouteTableId() pulumi.StringOutput { - return o.ApplyT(func(v *RouteTable) pulumi.StringOutput { return v.RouteTableId }).(pulumi.StringOutput) -} - -// One or more routes in the route table. -func (o RouteTableOutput) Routes() RouteTableRouteArrayOutput { - return o.ApplyT(func(v *RouteTable) RouteTableRouteArrayOutput { return v.Routes }).(RouteTableRouteArrayOutput) -} - -// A tag to add to this resource. You can specify this argument several times. -func (o RouteTableOutput) Tags() RouteTableTagArrayOutput { - return o.ApplyT(func(v *RouteTable) RouteTableTagArrayOutput { return v.Tags }).(RouteTableTagArrayOutput) -} - -type RouteTableArrayOutput struct{ *pulumi.OutputState } - -func (RouteTableArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*RouteTable)(nil)).Elem() -} - -func (o RouteTableArrayOutput) ToRouteTableArrayOutput() RouteTableArrayOutput { - return o -} - -func (o RouteTableArrayOutput) ToRouteTableArrayOutputWithContext(ctx context.Context) RouteTableArrayOutput { - return o -} - -func (o RouteTableArrayOutput) Index(i pulumi.IntInput) RouteTableOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *RouteTable { - return vs[0].([]*RouteTable)[vs[1].(int)] - }).(RouteTableOutput) -} - -type RouteTableMapOutput struct{ *pulumi.OutputState } - -func (RouteTableMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*RouteTable)(nil)).Elem() -} - -func (o RouteTableMapOutput) ToRouteTableMapOutput() RouteTableMapOutput { - return o -} - -func (o RouteTableMapOutput) ToRouteTableMapOutputWithContext(ctx context.Context) RouteTableMapOutput { - return o -} - -func (o RouteTableMapOutput) MapIndex(k pulumi.StringInput) RouteTableOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *RouteTable { - return vs[0].(map[string]*RouteTable)[vs[1].(string)] - }).(RouteTableOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*RouteTableInput)(nil)).Elem(), &RouteTable{}) - pulumi.RegisterInputType(reflect.TypeOf((*RouteTableArrayInput)(nil)).Elem(), RouteTableArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*RouteTableMapInput)(nil)).Elem(), RouteTableMap{}) - pulumi.RegisterOutputType(RouteTableOutput{}) - pulumi.RegisterOutputType(RouteTableArrayOutput{}) - pulumi.RegisterOutputType(RouteTableMapOutput{}) -} diff --git a/sdk/go/outscale/routeTableLink.go b/sdk/go/outscale/routeTableLink.go deleted file mode 100644 index 98811d0..0000000 --- a/sdk/go/outscale/routeTableLink.go +++ /dev/null @@ -1,345 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "errors" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages a route table link. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Route-Tables.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-routetable). -// -// ## Example Usage -// ### Required resources -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// net01, err := outscale.NewNet(ctx, "net01", &outscale.NetArgs{ -// IpRange: pulumi.String("10.0.0.0/16"), -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewSubnet(ctx, "subnet01", &outscale.SubnetArgs{ -// NetId: net01.NetId, -// IpRange: pulumi.String("10.0.0.0/18"), -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewRouteTable(ctx, "routeTable01", &outscale.RouteTableArgs{ -// NetId: net01.NetId, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Link a route table to a subnet -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewRouteTableLink(ctx, "routeTableLink01", &outscale.RouteTableLinkArgs{ -// SubnetId: pulumi.Any(outscale_subnet.Subnet01.Subnet_id), -// RouteTableId: pulumi.Any(outscale_route_table.Route_table01.Route_table_id), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// A route table link can be imported using the route table ID and the route table link ID. For exampleconsole -// -// ```sh -// -// $ pulumi import outscale:index/routeTableLink:RouteTableLink ImportedRouteTableLink rtb-12345678_rtbassoc-87654321 -// -// ``` -type RouteTableLink struct { - pulumi.CustomResourceState - - // The ID of the association between the route table and the Subnet. - LinkRouteTableId pulumi.StringOutput `pulumi:"linkRouteTableId"` - // If true, the route table is the main one. - Main pulumi.BoolOutput `pulumi:"main"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - // The ID of the route table. - RouteTableId pulumi.StringOutput `pulumi:"routeTableId"` - // The ID of the Subnet. - SubnetId pulumi.StringOutput `pulumi:"subnetId"` -} - -// NewRouteTableLink registers a new resource with the given unique name, arguments, and options. -func NewRouteTableLink(ctx *pulumi.Context, - name string, args *RouteTableLinkArgs, opts ...pulumi.ResourceOption) (*RouteTableLink, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.RouteTableId == nil { - return nil, errors.New("invalid value for required argument 'RouteTableId'") - } - if args.SubnetId == nil { - return nil, errors.New("invalid value for required argument 'SubnetId'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource RouteTableLink - err := ctx.RegisterResource("outscale:index/routeTableLink:RouteTableLink", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetRouteTableLink gets an existing RouteTableLink resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetRouteTableLink(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *RouteTableLinkState, opts ...pulumi.ResourceOption) (*RouteTableLink, error) { - var resource RouteTableLink - err := ctx.ReadResource("outscale:index/routeTableLink:RouteTableLink", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering RouteTableLink resources. -type routeTableLinkState struct { - // The ID of the association between the route table and the Subnet. - LinkRouteTableId *string `pulumi:"linkRouteTableId"` - // If true, the route table is the main one. - Main *bool `pulumi:"main"` - RequestId *string `pulumi:"requestId"` - // The ID of the route table. - RouteTableId *string `pulumi:"routeTableId"` - // The ID of the Subnet. - SubnetId *string `pulumi:"subnetId"` -} - -type RouteTableLinkState struct { - // The ID of the association between the route table and the Subnet. - LinkRouteTableId pulumi.StringPtrInput - // If true, the route table is the main one. - Main pulumi.BoolPtrInput - RequestId pulumi.StringPtrInput - // The ID of the route table. - RouteTableId pulumi.StringPtrInput - // The ID of the Subnet. - SubnetId pulumi.StringPtrInput -} - -func (RouteTableLinkState) ElementType() reflect.Type { - return reflect.TypeOf((*routeTableLinkState)(nil)).Elem() -} - -type routeTableLinkArgs struct { - // The ID of the route table. - RouteTableId string `pulumi:"routeTableId"` - // The ID of the Subnet. - SubnetId string `pulumi:"subnetId"` -} - -// The set of arguments for constructing a RouteTableLink resource. -type RouteTableLinkArgs struct { - // The ID of the route table. - RouteTableId pulumi.StringInput - // The ID of the Subnet. - SubnetId pulumi.StringInput -} - -func (RouteTableLinkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*routeTableLinkArgs)(nil)).Elem() -} - -type RouteTableLinkInput interface { - pulumi.Input - - ToRouteTableLinkOutput() RouteTableLinkOutput - ToRouteTableLinkOutputWithContext(ctx context.Context) RouteTableLinkOutput -} - -func (*RouteTableLink) ElementType() reflect.Type { - return reflect.TypeOf((**RouteTableLink)(nil)).Elem() -} - -func (i *RouteTableLink) ToRouteTableLinkOutput() RouteTableLinkOutput { - return i.ToRouteTableLinkOutputWithContext(context.Background()) -} - -func (i *RouteTableLink) ToRouteTableLinkOutputWithContext(ctx context.Context) RouteTableLinkOutput { - return pulumi.ToOutputWithContext(ctx, i).(RouteTableLinkOutput) -} - -// RouteTableLinkArrayInput is an input type that accepts RouteTableLinkArray and RouteTableLinkArrayOutput values. -// You can construct a concrete instance of `RouteTableLinkArrayInput` via: -// -// RouteTableLinkArray{ RouteTableLinkArgs{...} } -type RouteTableLinkArrayInput interface { - pulumi.Input - - ToRouteTableLinkArrayOutput() RouteTableLinkArrayOutput - ToRouteTableLinkArrayOutputWithContext(context.Context) RouteTableLinkArrayOutput -} - -type RouteTableLinkArray []RouteTableLinkInput - -func (RouteTableLinkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*RouteTableLink)(nil)).Elem() -} - -func (i RouteTableLinkArray) ToRouteTableLinkArrayOutput() RouteTableLinkArrayOutput { - return i.ToRouteTableLinkArrayOutputWithContext(context.Background()) -} - -func (i RouteTableLinkArray) ToRouteTableLinkArrayOutputWithContext(ctx context.Context) RouteTableLinkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(RouteTableLinkArrayOutput) -} - -// RouteTableLinkMapInput is an input type that accepts RouteTableLinkMap and RouteTableLinkMapOutput values. -// You can construct a concrete instance of `RouteTableLinkMapInput` via: -// -// RouteTableLinkMap{ "key": RouteTableLinkArgs{...} } -type RouteTableLinkMapInput interface { - pulumi.Input - - ToRouteTableLinkMapOutput() RouteTableLinkMapOutput - ToRouteTableLinkMapOutputWithContext(context.Context) RouteTableLinkMapOutput -} - -type RouteTableLinkMap map[string]RouteTableLinkInput - -func (RouteTableLinkMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*RouteTableLink)(nil)).Elem() -} - -func (i RouteTableLinkMap) ToRouteTableLinkMapOutput() RouteTableLinkMapOutput { - return i.ToRouteTableLinkMapOutputWithContext(context.Background()) -} - -func (i RouteTableLinkMap) ToRouteTableLinkMapOutputWithContext(ctx context.Context) RouteTableLinkMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(RouteTableLinkMapOutput) -} - -type RouteTableLinkOutput struct{ *pulumi.OutputState } - -func (RouteTableLinkOutput) ElementType() reflect.Type { - return reflect.TypeOf((**RouteTableLink)(nil)).Elem() -} - -func (o RouteTableLinkOutput) ToRouteTableLinkOutput() RouteTableLinkOutput { - return o -} - -func (o RouteTableLinkOutput) ToRouteTableLinkOutputWithContext(ctx context.Context) RouteTableLinkOutput { - return o -} - -// The ID of the association between the route table and the Subnet. -func (o RouteTableLinkOutput) LinkRouteTableId() pulumi.StringOutput { - return o.ApplyT(func(v *RouteTableLink) pulumi.StringOutput { return v.LinkRouteTableId }).(pulumi.StringOutput) -} - -// If true, the route table is the main one. -func (o RouteTableLinkOutput) Main() pulumi.BoolOutput { - return o.ApplyT(func(v *RouteTableLink) pulumi.BoolOutput { return v.Main }).(pulumi.BoolOutput) -} - -func (o RouteTableLinkOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *RouteTableLink) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -// The ID of the route table. -func (o RouteTableLinkOutput) RouteTableId() pulumi.StringOutput { - return o.ApplyT(func(v *RouteTableLink) pulumi.StringOutput { return v.RouteTableId }).(pulumi.StringOutput) -} - -// The ID of the Subnet. -func (o RouteTableLinkOutput) SubnetId() pulumi.StringOutput { - return o.ApplyT(func(v *RouteTableLink) pulumi.StringOutput { return v.SubnetId }).(pulumi.StringOutput) -} - -type RouteTableLinkArrayOutput struct{ *pulumi.OutputState } - -func (RouteTableLinkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*RouteTableLink)(nil)).Elem() -} - -func (o RouteTableLinkArrayOutput) ToRouteTableLinkArrayOutput() RouteTableLinkArrayOutput { - return o -} - -func (o RouteTableLinkArrayOutput) ToRouteTableLinkArrayOutputWithContext(ctx context.Context) RouteTableLinkArrayOutput { - return o -} - -func (o RouteTableLinkArrayOutput) Index(i pulumi.IntInput) RouteTableLinkOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *RouteTableLink { - return vs[0].([]*RouteTableLink)[vs[1].(int)] - }).(RouteTableLinkOutput) -} - -type RouteTableLinkMapOutput struct{ *pulumi.OutputState } - -func (RouteTableLinkMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*RouteTableLink)(nil)).Elem() -} - -func (o RouteTableLinkMapOutput) ToRouteTableLinkMapOutput() RouteTableLinkMapOutput { - return o -} - -func (o RouteTableLinkMapOutput) ToRouteTableLinkMapOutputWithContext(ctx context.Context) RouteTableLinkMapOutput { - return o -} - -func (o RouteTableLinkMapOutput) MapIndex(k pulumi.StringInput) RouteTableLinkOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *RouteTableLink { - return vs[0].(map[string]*RouteTableLink)[vs[1].(string)] - }).(RouteTableLinkOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*RouteTableLinkInput)(nil)).Elem(), &RouteTableLink{}) - pulumi.RegisterInputType(reflect.TypeOf((*RouteTableLinkArrayInput)(nil)).Elem(), RouteTableLinkArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*RouteTableLinkMapInput)(nil)).Elem(), RouteTableLinkMap{}) - pulumi.RegisterOutputType(RouteTableLinkOutput{}) - pulumi.RegisterOutputType(RouteTableLinkArrayOutput{}) - pulumi.RegisterOutputType(RouteTableLinkMapOutput{}) -} diff --git a/sdk/go/outscale/securityGroup.go b/sdk/go/outscale/securityGroup.go deleted file mode 100644 index 865664f..0000000 --- a/sdk/go/outscale/securityGroup.go +++ /dev/null @@ -1,444 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages a security group. -// -// Security groups you create to use in a Net contain a default outbound rule that allows all outbound flows. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Security-Groups.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-securitygroup). -// -// ## Example Usage -// ### Optional resource -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewNet(ctx, "net01", &outscale.NetArgs{ -// IpRange: pulumi.String("10.0.0.0/16"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Create a security group for a Net -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewSecurityGroup(ctx, "securityGroup01", &outscale.SecurityGroupArgs{ -// Description: pulumi.String("Terraform security group"), -// SecurityGroupName: pulumi.String("terraform-security-group"), -// NetId: pulumi.Any(outscale_net.Net01.Net_id), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Create a security group for a Net without the default outbound rule -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewSecurityGroup(ctx, "securityGroup02", &outscale.SecurityGroupArgs{ -// RemoveDefaultOutboundRule: pulumi.Bool(true), -// Description: pulumi.String("Terraform security group without outbound rule"), -// SecurityGroupName: pulumi.String("terraform-security-group-empty"), -// NetId: pulumi.Any(outscale_net.Net01.Net_id), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// A security group can be imported using its ID. For exampleconsole -// -// ```sh -// -// $ pulumi import outscale:index/securityGroup:SecurityGroup ImportedSecurityGroup sg-87654321 -// -// ``` -type SecurityGroup struct { - pulumi.CustomResourceState - - // The account ID that owns the source or destination security group. - AccountId pulumi.StringOutput `pulumi:"accountId"` - // A description for the security group, with a maximum length of 255 [ASCII printable characters](https://en.wikipedia.org/wiki/ASCII#Printable_characters). - Description pulumi.StringPtrOutput `pulumi:"description"` - // The inbound rules associated with the security group. - InboundRules SecurityGroupInboundRuleArrayOutput `pulumi:"inboundRules"` - // The ID of the Net for the security group. - NetId pulumi.StringOutput `pulumi:"netId"` - // The outbound rules associated with the security group. - OutboundRules SecurityGroupOutboundRuleArrayOutput `pulumi:"outboundRules"` - // (Net only) By default or if set to false, the security group is created with a default outbound rule allowing all outbound flows. If set to true, the security group is created without a default outbound rule. For an existing security group, setting this parameter to true deletes the security group and creates a new one. - RemoveDefaultOutboundRule pulumi.BoolPtrOutput `pulumi:"removeDefaultOutboundRule"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - // The ID of the security group. - SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"` - // The name of the security group.
- // This name must not start with `sg-`.
- // This name must be unique and contain between 1 and 255 ASCII characters. Accented letters are not allowed. - SecurityGroupName pulumi.StringOutput `pulumi:"securityGroupName"` - Tag pulumi.MapOutput `pulumi:"tag"` - // A tag to add to this resource. You can specify this argument several times. - Tags SecurityGroupTagArrayOutput `pulumi:"tags"` -} - -// NewSecurityGroup registers a new resource with the given unique name, arguments, and options. -func NewSecurityGroup(ctx *pulumi.Context, - name string, args *SecurityGroupArgs, opts ...pulumi.ResourceOption) (*SecurityGroup, error) { - if args == nil { - args = &SecurityGroupArgs{} - } - - opts = internal.PkgResourceDefaultOpts(opts) - var resource SecurityGroup - err := ctx.RegisterResource("outscale:index/securityGroup:SecurityGroup", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetSecurityGroup gets an existing SecurityGroup resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetSecurityGroup(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *SecurityGroupState, opts ...pulumi.ResourceOption) (*SecurityGroup, error) { - var resource SecurityGroup - err := ctx.ReadResource("outscale:index/securityGroup:SecurityGroup", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering SecurityGroup resources. -type securityGroupState struct { - // The account ID that owns the source or destination security group. - AccountId *string `pulumi:"accountId"` - // A description for the security group, with a maximum length of 255 [ASCII printable characters](https://en.wikipedia.org/wiki/ASCII#Printable_characters). - Description *string `pulumi:"description"` - // The inbound rules associated with the security group. - InboundRules []SecurityGroupInboundRule `pulumi:"inboundRules"` - // The ID of the Net for the security group. - NetId *string `pulumi:"netId"` - // The outbound rules associated with the security group. - OutboundRules []SecurityGroupOutboundRule `pulumi:"outboundRules"` - // (Net only) By default or if set to false, the security group is created with a default outbound rule allowing all outbound flows. If set to true, the security group is created without a default outbound rule. For an existing security group, setting this parameter to true deletes the security group and creates a new one. - RemoveDefaultOutboundRule *bool `pulumi:"removeDefaultOutboundRule"` - RequestId *string `pulumi:"requestId"` - // The ID of the security group. - SecurityGroupId *string `pulumi:"securityGroupId"` - // The name of the security group.
- // This name must not start with `sg-`.
- // This name must be unique and contain between 1 and 255 ASCII characters. Accented letters are not allowed. - SecurityGroupName *string `pulumi:"securityGroupName"` - Tag map[string]interface{} `pulumi:"tag"` - // A tag to add to this resource. You can specify this argument several times. - Tags []SecurityGroupTag `pulumi:"tags"` -} - -type SecurityGroupState struct { - // The account ID that owns the source or destination security group. - AccountId pulumi.StringPtrInput - // A description for the security group, with a maximum length of 255 [ASCII printable characters](https://en.wikipedia.org/wiki/ASCII#Printable_characters). - Description pulumi.StringPtrInput - // The inbound rules associated with the security group. - InboundRules SecurityGroupInboundRuleArrayInput - // The ID of the Net for the security group. - NetId pulumi.StringPtrInput - // The outbound rules associated with the security group. - OutboundRules SecurityGroupOutboundRuleArrayInput - // (Net only) By default or if set to false, the security group is created with a default outbound rule allowing all outbound flows. If set to true, the security group is created without a default outbound rule. For an existing security group, setting this parameter to true deletes the security group and creates a new one. - RemoveDefaultOutboundRule pulumi.BoolPtrInput - RequestId pulumi.StringPtrInput - // The ID of the security group. - SecurityGroupId pulumi.StringPtrInput - // The name of the security group.
- // This name must not start with `sg-`.
- // This name must be unique and contain between 1 and 255 ASCII characters. Accented letters are not allowed. - SecurityGroupName pulumi.StringPtrInput - Tag pulumi.MapInput - // A tag to add to this resource. You can specify this argument several times. - Tags SecurityGroupTagArrayInput -} - -func (SecurityGroupState) ElementType() reflect.Type { - return reflect.TypeOf((*securityGroupState)(nil)).Elem() -} - -type securityGroupArgs struct { - // A description for the security group, with a maximum length of 255 [ASCII printable characters](https://en.wikipedia.org/wiki/ASCII#Printable_characters). - Description *string `pulumi:"description"` - // The ID of the Net for the security group. - NetId *string `pulumi:"netId"` - // (Net only) By default or if set to false, the security group is created with a default outbound rule allowing all outbound flows. If set to true, the security group is created without a default outbound rule. For an existing security group, setting this parameter to true deletes the security group and creates a new one. - RemoveDefaultOutboundRule *bool `pulumi:"removeDefaultOutboundRule"` - // The name of the security group.
- // This name must not start with `sg-`.
- // This name must be unique and contain between 1 and 255 ASCII characters. Accented letters are not allowed. - SecurityGroupName *string `pulumi:"securityGroupName"` - Tag map[string]interface{} `pulumi:"tag"` - // A tag to add to this resource. You can specify this argument several times. - Tags []SecurityGroupTag `pulumi:"tags"` -} - -// The set of arguments for constructing a SecurityGroup resource. -type SecurityGroupArgs struct { - // A description for the security group, with a maximum length of 255 [ASCII printable characters](https://en.wikipedia.org/wiki/ASCII#Printable_characters). - Description pulumi.StringPtrInput - // The ID of the Net for the security group. - NetId pulumi.StringPtrInput - // (Net only) By default or if set to false, the security group is created with a default outbound rule allowing all outbound flows. If set to true, the security group is created without a default outbound rule. For an existing security group, setting this parameter to true deletes the security group and creates a new one. - RemoveDefaultOutboundRule pulumi.BoolPtrInput - // The name of the security group.
- // This name must not start with `sg-`.
- // This name must be unique and contain between 1 and 255 ASCII characters. Accented letters are not allowed. - SecurityGroupName pulumi.StringPtrInput - Tag pulumi.MapInput - // A tag to add to this resource. You can specify this argument several times. - Tags SecurityGroupTagArrayInput -} - -func (SecurityGroupArgs) ElementType() reflect.Type { - return reflect.TypeOf((*securityGroupArgs)(nil)).Elem() -} - -type SecurityGroupInput interface { - pulumi.Input - - ToSecurityGroupOutput() SecurityGroupOutput - ToSecurityGroupOutputWithContext(ctx context.Context) SecurityGroupOutput -} - -func (*SecurityGroup) ElementType() reflect.Type { - return reflect.TypeOf((**SecurityGroup)(nil)).Elem() -} - -func (i *SecurityGroup) ToSecurityGroupOutput() SecurityGroupOutput { - return i.ToSecurityGroupOutputWithContext(context.Background()) -} - -func (i *SecurityGroup) ToSecurityGroupOutputWithContext(ctx context.Context) SecurityGroupOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityGroupOutput) -} - -// SecurityGroupArrayInput is an input type that accepts SecurityGroupArray and SecurityGroupArrayOutput values. -// You can construct a concrete instance of `SecurityGroupArrayInput` via: -// -// SecurityGroupArray{ SecurityGroupArgs{...} } -type SecurityGroupArrayInput interface { - pulumi.Input - - ToSecurityGroupArrayOutput() SecurityGroupArrayOutput - ToSecurityGroupArrayOutputWithContext(context.Context) SecurityGroupArrayOutput -} - -type SecurityGroupArray []SecurityGroupInput - -func (SecurityGroupArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*SecurityGroup)(nil)).Elem() -} - -func (i SecurityGroupArray) ToSecurityGroupArrayOutput() SecurityGroupArrayOutput { - return i.ToSecurityGroupArrayOutputWithContext(context.Background()) -} - -func (i SecurityGroupArray) ToSecurityGroupArrayOutputWithContext(ctx context.Context) SecurityGroupArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityGroupArrayOutput) -} - -// SecurityGroupMapInput is an input type that accepts SecurityGroupMap and SecurityGroupMapOutput values. -// You can construct a concrete instance of `SecurityGroupMapInput` via: -// -// SecurityGroupMap{ "key": SecurityGroupArgs{...} } -type SecurityGroupMapInput interface { - pulumi.Input - - ToSecurityGroupMapOutput() SecurityGroupMapOutput - ToSecurityGroupMapOutputWithContext(context.Context) SecurityGroupMapOutput -} - -type SecurityGroupMap map[string]SecurityGroupInput - -func (SecurityGroupMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*SecurityGroup)(nil)).Elem() -} - -func (i SecurityGroupMap) ToSecurityGroupMapOutput() SecurityGroupMapOutput { - return i.ToSecurityGroupMapOutputWithContext(context.Background()) -} - -func (i SecurityGroupMap) ToSecurityGroupMapOutputWithContext(ctx context.Context) SecurityGroupMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityGroupMapOutput) -} - -type SecurityGroupOutput struct{ *pulumi.OutputState } - -func (SecurityGroupOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SecurityGroup)(nil)).Elem() -} - -func (o SecurityGroupOutput) ToSecurityGroupOutput() SecurityGroupOutput { - return o -} - -func (o SecurityGroupOutput) ToSecurityGroupOutputWithContext(ctx context.Context) SecurityGroupOutput { - return o -} - -// The account ID that owns the source or destination security group. -func (o SecurityGroupOutput) AccountId() pulumi.StringOutput { - return o.ApplyT(func(v *SecurityGroup) pulumi.StringOutput { return v.AccountId }).(pulumi.StringOutput) -} - -// A description for the security group, with a maximum length of 255 [ASCII printable characters](https://en.wikipedia.org/wiki/ASCII#Printable_characters). -func (o SecurityGroupOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecurityGroup) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) -} - -// The inbound rules associated with the security group. -func (o SecurityGroupOutput) InboundRules() SecurityGroupInboundRuleArrayOutput { - return o.ApplyT(func(v *SecurityGroup) SecurityGroupInboundRuleArrayOutput { return v.InboundRules }).(SecurityGroupInboundRuleArrayOutput) -} - -// The ID of the Net for the security group. -func (o SecurityGroupOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v *SecurityGroup) pulumi.StringOutput { return v.NetId }).(pulumi.StringOutput) -} - -// The outbound rules associated with the security group. -func (o SecurityGroupOutput) OutboundRules() SecurityGroupOutboundRuleArrayOutput { - return o.ApplyT(func(v *SecurityGroup) SecurityGroupOutboundRuleArrayOutput { return v.OutboundRules }).(SecurityGroupOutboundRuleArrayOutput) -} - -// (Net only) By default or if set to false, the security group is created with a default outbound rule allowing all outbound flows. If set to true, the security group is created without a default outbound rule. For an existing security group, setting this parameter to true deletes the security group and creates a new one. -func (o SecurityGroupOutput) RemoveDefaultOutboundRule() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *SecurityGroup) pulumi.BoolPtrOutput { return v.RemoveDefaultOutboundRule }).(pulumi.BoolPtrOutput) -} - -func (o SecurityGroupOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *SecurityGroup) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -// The ID of the security group. -func (o SecurityGroupOutput) SecurityGroupId() pulumi.StringOutput { - return o.ApplyT(func(v *SecurityGroup) pulumi.StringOutput { return v.SecurityGroupId }).(pulumi.StringOutput) -} - -// The name of the security group.
-// This name must not start with `sg-`.
-// This name must be unique and contain between 1 and 255 ASCII characters. Accented letters are not allowed. -func (o SecurityGroupOutput) SecurityGroupName() pulumi.StringOutput { - return o.ApplyT(func(v *SecurityGroup) pulumi.StringOutput { return v.SecurityGroupName }).(pulumi.StringOutput) -} - -func (o SecurityGroupOutput) Tag() pulumi.MapOutput { - return o.ApplyT(func(v *SecurityGroup) pulumi.MapOutput { return v.Tag }).(pulumi.MapOutput) -} - -// A tag to add to this resource. You can specify this argument several times. -func (o SecurityGroupOutput) Tags() SecurityGroupTagArrayOutput { - return o.ApplyT(func(v *SecurityGroup) SecurityGroupTagArrayOutput { return v.Tags }).(SecurityGroupTagArrayOutput) -} - -type SecurityGroupArrayOutput struct{ *pulumi.OutputState } - -func (SecurityGroupArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*SecurityGroup)(nil)).Elem() -} - -func (o SecurityGroupArrayOutput) ToSecurityGroupArrayOutput() SecurityGroupArrayOutput { - return o -} - -func (o SecurityGroupArrayOutput) ToSecurityGroupArrayOutputWithContext(ctx context.Context) SecurityGroupArrayOutput { - return o -} - -func (o SecurityGroupArrayOutput) Index(i pulumi.IntInput) SecurityGroupOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecurityGroup { - return vs[0].([]*SecurityGroup)[vs[1].(int)] - }).(SecurityGroupOutput) -} - -type SecurityGroupMapOutput struct{ *pulumi.OutputState } - -func (SecurityGroupMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*SecurityGroup)(nil)).Elem() -} - -func (o SecurityGroupMapOutput) ToSecurityGroupMapOutput() SecurityGroupMapOutput { - return o -} - -func (o SecurityGroupMapOutput) ToSecurityGroupMapOutputWithContext(ctx context.Context) SecurityGroupMapOutput { - return o -} - -func (o SecurityGroupMapOutput) MapIndex(k pulumi.StringInput) SecurityGroupOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecurityGroup { - return vs[0].(map[string]*SecurityGroup)[vs[1].(string)] - }).(SecurityGroupOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*SecurityGroupInput)(nil)).Elem(), &SecurityGroup{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityGroupArrayInput)(nil)).Elem(), SecurityGroupArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityGroupMapInput)(nil)).Elem(), SecurityGroupMap{}) - pulumi.RegisterOutputType(SecurityGroupOutput{}) - pulumi.RegisterOutputType(SecurityGroupArrayOutput{}) - pulumi.RegisterOutputType(SecurityGroupMapOutput{}) -} diff --git a/sdk/go/outscale/securityGroupRule.go b/sdk/go/outscale/securityGroupRule.go deleted file mode 100644 index 5a13ec3..0000000 --- a/sdk/go/outscale/securityGroupRule.go +++ /dev/null @@ -1,488 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "errors" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages a security group rule. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Security-Group-Rules.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-securitygrouprule). -// -// ## Example Usage -// ### Required resources -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewSecurityGroup(ctx, "securityGroup01", &outscale.SecurityGroupArgs{ -// Description: pulumi.String("Terraform target security group for SG rule from IP and SG"), -// SecurityGroupName: pulumi.String("terraform-security-group-test-01"), -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewSecurityGroup(ctx, "securityGroup02", &outscale.SecurityGroupArgs{ -// Description: pulumi.String("Terraform source security group for SG rule from SG"), -// SecurityGroupName: pulumi.String("terraform-security-group-test-02"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Set an inbound rule from an IP range -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewSecurityGroupRule(ctx, "securityGroupRule01", &outscale.SecurityGroupRuleArgs{ -// Flow: pulumi.String("Inbound"), -// SecurityGroupId: pulumi.Any(outscale_security_group.Security_group01.Security_group_id), -// FromPortRange: pulumi.Int(80), -// ToPortRange: pulumi.Int(80), -// IpProtocol: pulumi.String("tcp"), -// IpRange: pulumi.String("10.0.0.0/16"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Set an inbound rule from another security group -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewSecurityGroupRule(ctx, "securityGroupRule02", &outscale.SecurityGroupRuleArgs{ -// Flow: pulumi.String("Inbound"), -// SecurityGroupId: pulumi.Any(outscale_security_group.Security_group01.Security_group_id), -// Rules: outscale.SecurityGroupRuleRuleArray{ -// &outscale.SecurityGroupRuleRuleArgs{ -// FromPortRange: pulumi.Int(22), -// ToPortRange: pulumi.Int(22), -// IpProtocol: pulumi.String("tcp"), -// SecurityGroupsMembers: outscale.SecurityGroupRuleRuleSecurityGroupsMemberArray{ -// &outscale.SecurityGroupRuleRuleSecurityGroupsMemberArgs{ -// AccountId: pulumi.String("012345678910"), -// SecurityGroupName: pulumi.String("terraform-security-group-test-02"), -// }, -// }, -// }, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// A security group rule can be imported using the following format`SecurityGroupId_Flow_IpProtocol_FromPortRange_ToPortRange_IpRange`. For exampleconsole -// -// ```sh -// -// $ pulumi import outscale:index/securityGroupRule:SecurityGroupRule ImportedRule sg-87654321_outbound_-1_-1_-1_10.0.0.0/16 -// -// ``` -type SecurityGroupRule struct { - pulumi.CustomResourceState - - // The direction of the flow: `Inbound` or `Outbound`. You can specify `Outbound` for Nets only. - Flow pulumi.StringOutput `pulumi:"flow"` - // The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - FromPortRange pulumi.IntPtrOutput `pulumi:"fromPortRange"` - // The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - IpProtocol pulumi.StringPtrOutput `pulumi:"ipProtocol"` - // The IP range for the security group rule, in CIDR notation (for example, 10.0.0.0/16). If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - IpRange pulumi.StringPtrOutput `pulumi:"ipRange"` - // The ID of the Net for the security group. - NetId pulumi.StringOutput `pulumi:"netId"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - // Information about the security group rule to create. If you specify this parent parameter and its subparameters, you cannot specify the following parent parameters: `fromPortRange`, `ipProtocol`, `ipRange`, and `toPortRange`. - Rules SecurityGroupRuleRuleArrayOutput `pulumi:"rules"` - // The account ID that owns the source or destination security group specified in the `securityGroupNameToLink` parameter. - SecurityGroupAccountIdToLink pulumi.StringPtrOutput `pulumi:"securityGroupAccountIdToLink"` - // The ID of the security group for which you want to create a rule. - SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"` - // (Public Cloud only) The name of a source or destination security group that you want to link to the security group of the rule. - SecurityGroupName pulumi.StringOutput `pulumi:"securityGroupName"` - // The ID of a source or destination security group that you want to link to the security group of the rule. - SecurityGroupNameToLink pulumi.StringPtrOutput `pulumi:"securityGroupNameToLink"` - // The end of the port range for the TCP and UDP protocols, or an ICMP code number. If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - ToPortRange pulumi.IntPtrOutput `pulumi:"toPortRange"` -} - -// NewSecurityGroupRule registers a new resource with the given unique name, arguments, and options. -func NewSecurityGroupRule(ctx *pulumi.Context, - name string, args *SecurityGroupRuleArgs, opts ...pulumi.ResourceOption) (*SecurityGroupRule, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.Flow == nil { - return nil, errors.New("invalid value for required argument 'Flow'") - } - if args.SecurityGroupId == nil { - return nil, errors.New("invalid value for required argument 'SecurityGroupId'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource SecurityGroupRule - err := ctx.RegisterResource("outscale:index/securityGroupRule:SecurityGroupRule", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetSecurityGroupRule gets an existing SecurityGroupRule resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetSecurityGroupRule(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *SecurityGroupRuleState, opts ...pulumi.ResourceOption) (*SecurityGroupRule, error) { - var resource SecurityGroupRule - err := ctx.ReadResource("outscale:index/securityGroupRule:SecurityGroupRule", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering SecurityGroupRule resources. -type securityGroupRuleState struct { - // The direction of the flow: `Inbound` or `Outbound`. You can specify `Outbound` for Nets only. - Flow *string `pulumi:"flow"` - // The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - FromPortRange *int `pulumi:"fromPortRange"` - // The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - IpProtocol *string `pulumi:"ipProtocol"` - // The IP range for the security group rule, in CIDR notation (for example, 10.0.0.0/16). If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - IpRange *string `pulumi:"ipRange"` - // The ID of the Net for the security group. - NetId *string `pulumi:"netId"` - RequestId *string `pulumi:"requestId"` - // Information about the security group rule to create. If you specify this parent parameter and its subparameters, you cannot specify the following parent parameters: `fromPortRange`, `ipProtocol`, `ipRange`, and `toPortRange`. - Rules []SecurityGroupRuleRule `pulumi:"rules"` - // The account ID that owns the source or destination security group specified in the `securityGroupNameToLink` parameter. - SecurityGroupAccountIdToLink *string `pulumi:"securityGroupAccountIdToLink"` - // The ID of the security group for which you want to create a rule. - SecurityGroupId *string `pulumi:"securityGroupId"` - // (Public Cloud only) The name of a source or destination security group that you want to link to the security group of the rule. - SecurityGroupName *string `pulumi:"securityGroupName"` - // The ID of a source or destination security group that you want to link to the security group of the rule. - SecurityGroupNameToLink *string `pulumi:"securityGroupNameToLink"` - // The end of the port range for the TCP and UDP protocols, or an ICMP code number. If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - ToPortRange *int `pulumi:"toPortRange"` -} - -type SecurityGroupRuleState struct { - // The direction of the flow: `Inbound` or `Outbound`. You can specify `Outbound` for Nets only. - Flow pulumi.StringPtrInput - // The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - FromPortRange pulumi.IntPtrInput - // The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - IpProtocol pulumi.StringPtrInput - // The IP range for the security group rule, in CIDR notation (for example, 10.0.0.0/16). If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - IpRange pulumi.StringPtrInput - // The ID of the Net for the security group. - NetId pulumi.StringPtrInput - RequestId pulumi.StringPtrInput - // Information about the security group rule to create. If you specify this parent parameter and its subparameters, you cannot specify the following parent parameters: `fromPortRange`, `ipProtocol`, `ipRange`, and `toPortRange`. - Rules SecurityGroupRuleRuleArrayInput - // The account ID that owns the source or destination security group specified in the `securityGroupNameToLink` parameter. - SecurityGroupAccountIdToLink pulumi.StringPtrInput - // The ID of the security group for which you want to create a rule. - SecurityGroupId pulumi.StringPtrInput - // (Public Cloud only) The name of a source or destination security group that you want to link to the security group of the rule. - SecurityGroupName pulumi.StringPtrInput - // The ID of a source or destination security group that you want to link to the security group of the rule. - SecurityGroupNameToLink pulumi.StringPtrInput - // The end of the port range for the TCP and UDP protocols, or an ICMP code number. If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - ToPortRange pulumi.IntPtrInput -} - -func (SecurityGroupRuleState) ElementType() reflect.Type { - return reflect.TypeOf((*securityGroupRuleState)(nil)).Elem() -} - -type securityGroupRuleArgs struct { - // The direction of the flow: `Inbound` or `Outbound`. You can specify `Outbound` for Nets only. - Flow string `pulumi:"flow"` - // The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - FromPortRange *int `pulumi:"fromPortRange"` - // The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - IpProtocol *string `pulumi:"ipProtocol"` - // The IP range for the security group rule, in CIDR notation (for example, 10.0.0.0/16). If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - IpRange *string `pulumi:"ipRange"` - // Information about the security group rule to create. If you specify this parent parameter and its subparameters, you cannot specify the following parent parameters: `fromPortRange`, `ipProtocol`, `ipRange`, and `toPortRange`. - Rules []SecurityGroupRuleRule `pulumi:"rules"` - // The account ID that owns the source or destination security group specified in the `securityGroupNameToLink` parameter. - SecurityGroupAccountIdToLink *string `pulumi:"securityGroupAccountIdToLink"` - // The ID of the security group for which you want to create a rule. - SecurityGroupId string `pulumi:"securityGroupId"` - // The ID of a source or destination security group that you want to link to the security group of the rule. - SecurityGroupNameToLink *string `pulumi:"securityGroupNameToLink"` - // The end of the port range for the TCP and UDP protocols, or an ICMP code number. If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - ToPortRange *int `pulumi:"toPortRange"` -} - -// The set of arguments for constructing a SecurityGroupRule resource. -type SecurityGroupRuleArgs struct { - // The direction of the flow: `Inbound` or `Outbound`. You can specify `Outbound` for Nets only. - Flow pulumi.StringInput - // The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - FromPortRange pulumi.IntPtrInput - // The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - IpProtocol pulumi.StringPtrInput - // The IP range for the security group rule, in CIDR notation (for example, 10.0.0.0/16). If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - IpRange pulumi.StringPtrInput - // Information about the security group rule to create. If you specify this parent parameter and its subparameters, you cannot specify the following parent parameters: `fromPortRange`, `ipProtocol`, `ipRange`, and `toPortRange`. - Rules SecurityGroupRuleRuleArrayInput - // The account ID that owns the source or destination security group specified in the `securityGroupNameToLink` parameter. - SecurityGroupAccountIdToLink pulumi.StringPtrInput - // The ID of the security group for which you want to create a rule. - SecurityGroupId pulumi.StringInput - // The ID of a source or destination security group that you want to link to the security group of the rule. - SecurityGroupNameToLink pulumi.StringPtrInput - // The end of the port range for the TCP and UDP protocols, or an ICMP code number. If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - ToPortRange pulumi.IntPtrInput -} - -func (SecurityGroupRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*securityGroupRuleArgs)(nil)).Elem() -} - -type SecurityGroupRuleInput interface { - pulumi.Input - - ToSecurityGroupRuleOutput() SecurityGroupRuleOutput - ToSecurityGroupRuleOutputWithContext(ctx context.Context) SecurityGroupRuleOutput -} - -func (*SecurityGroupRule) ElementType() reflect.Type { - return reflect.TypeOf((**SecurityGroupRule)(nil)).Elem() -} - -func (i *SecurityGroupRule) ToSecurityGroupRuleOutput() SecurityGroupRuleOutput { - return i.ToSecurityGroupRuleOutputWithContext(context.Background()) -} - -func (i *SecurityGroupRule) ToSecurityGroupRuleOutputWithContext(ctx context.Context) SecurityGroupRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityGroupRuleOutput) -} - -// SecurityGroupRuleArrayInput is an input type that accepts SecurityGroupRuleArray and SecurityGroupRuleArrayOutput values. -// You can construct a concrete instance of `SecurityGroupRuleArrayInput` via: -// -// SecurityGroupRuleArray{ SecurityGroupRuleArgs{...} } -type SecurityGroupRuleArrayInput interface { - pulumi.Input - - ToSecurityGroupRuleArrayOutput() SecurityGroupRuleArrayOutput - ToSecurityGroupRuleArrayOutputWithContext(context.Context) SecurityGroupRuleArrayOutput -} - -type SecurityGroupRuleArray []SecurityGroupRuleInput - -func (SecurityGroupRuleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*SecurityGroupRule)(nil)).Elem() -} - -func (i SecurityGroupRuleArray) ToSecurityGroupRuleArrayOutput() SecurityGroupRuleArrayOutput { - return i.ToSecurityGroupRuleArrayOutputWithContext(context.Background()) -} - -func (i SecurityGroupRuleArray) ToSecurityGroupRuleArrayOutputWithContext(ctx context.Context) SecurityGroupRuleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityGroupRuleArrayOutput) -} - -// SecurityGroupRuleMapInput is an input type that accepts SecurityGroupRuleMap and SecurityGroupRuleMapOutput values. -// You can construct a concrete instance of `SecurityGroupRuleMapInput` via: -// -// SecurityGroupRuleMap{ "key": SecurityGroupRuleArgs{...} } -type SecurityGroupRuleMapInput interface { - pulumi.Input - - ToSecurityGroupRuleMapOutput() SecurityGroupRuleMapOutput - ToSecurityGroupRuleMapOutputWithContext(context.Context) SecurityGroupRuleMapOutput -} - -type SecurityGroupRuleMap map[string]SecurityGroupRuleInput - -func (SecurityGroupRuleMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*SecurityGroupRule)(nil)).Elem() -} - -func (i SecurityGroupRuleMap) ToSecurityGroupRuleMapOutput() SecurityGroupRuleMapOutput { - return i.ToSecurityGroupRuleMapOutputWithContext(context.Background()) -} - -func (i SecurityGroupRuleMap) ToSecurityGroupRuleMapOutputWithContext(ctx context.Context) SecurityGroupRuleMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityGroupRuleMapOutput) -} - -type SecurityGroupRuleOutput struct{ *pulumi.OutputState } - -func (SecurityGroupRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SecurityGroupRule)(nil)).Elem() -} - -func (o SecurityGroupRuleOutput) ToSecurityGroupRuleOutput() SecurityGroupRuleOutput { - return o -} - -func (o SecurityGroupRuleOutput) ToSecurityGroupRuleOutputWithContext(ctx context.Context) SecurityGroupRuleOutput { - return o -} - -// The direction of the flow: `Inbound` or `Outbound`. You can specify `Outbound` for Nets only. -func (o SecurityGroupRuleOutput) Flow() pulumi.StringOutput { - return o.ApplyT(func(v *SecurityGroupRule) pulumi.StringOutput { return v.Flow }).(pulumi.StringOutput) -} - -// The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. -func (o SecurityGroupRuleOutput) FromPortRange() pulumi.IntPtrOutput { - return o.ApplyT(func(v *SecurityGroupRule) pulumi.IntPtrOutput { return v.FromPortRange }).(pulumi.IntPtrOutput) -} - -// The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). -func (o SecurityGroupRuleOutput) IpProtocol() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecurityGroupRule) pulumi.StringPtrOutput { return v.IpProtocol }).(pulumi.StringPtrOutput) -} - -// The IP range for the security group rule, in CIDR notation (for example, 10.0.0.0/16). If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. -func (o SecurityGroupRuleOutput) IpRange() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecurityGroupRule) pulumi.StringPtrOutput { return v.IpRange }).(pulumi.StringPtrOutput) -} - -// The ID of the Net for the security group. -func (o SecurityGroupRuleOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v *SecurityGroupRule) pulumi.StringOutput { return v.NetId }).(pulumi.StringOutput) -} - -func (o SecurityGroupRuleOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *SecurityGroupRule) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -// Information about the security group rule to create. If you specify this parent parameter and its subparameters, you cannot specify the following parent parameters: `fromPortRange`, `ipProtocol`, `ipRange`, and `toPortRange`. -func (o SecurityGroupRuleOutput) Rules() SecurityGroupRuleRuleArrayOutput { - return o.ApplyT(func(v *SecurityGroupRule) SecurityGroupRuleRuleArrayOutput { return v.Rules }).(SecurityGroupRuleRuleArrayOutput) -} - -// The account ID that owns the source or destination security group specified in the `securityGroupNameToLink` parameter. -func (o SecurityGroupRuleOutput) SecurityGroupAccountIdToLink() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecurityGroupRule) pulumi.StringPtrOutput { return v.SecurityGroupAccountIdToLink }).(pulumi.StringPtrOutput) -} - -// The ID of the security group for which you want to create a rule. -func (o SecurityGroupRuleOutput) SecurityGroupId() pulumi.StringOutput { - return o.ApplyT(func(v *SecurityGroupRule) pulumi.StringOutput { return v.SecurityGroupId }).(pulumi.StringOutput) -} - -// (Public Cloud only) The name of a source or destination security group that you want to link to the security group of the rule. -func (o SecurityGroupRuleOutput) SecurityGroupName() pulumi.StringOutput { - return o.ApplyT(func(v *SecurityGroupRule) pulumi.StringOutput { return v.SecurityGroupName }).(pulumi.StringOutput) -} - -// The ID of a source or destination security group that you want to link to the security group of the rule. -func (o SecurityGroupRuleOutput) SecurityGroupNameToLink() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecurityGroupRule) pulumi.StringPtrOutput { return v.SecurityGroupNameToLink }).(pulumi.StringPtrOutput) -} - -// The end of the port range for the TCP and UDP protocols, or an ICMP code number. If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. -func (o SecurityGroupRuleOutput) ToPortRange() pulumi.IntPtrOutput { - return o.ApplyT(func(v *SecurityGroupRule) pulumi.IntPtrOutput { return v.ToPortRange }).(pulumi.IntPtrOutput) -} - -type SecurityGroupRuleArrayOutput struct{ *pulumi.OutputState } - -func (SecurityGroupRuleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*SecurityGroupRule)(nil)).Elem() -} - -func (o SecurityGroupRuleArrayOutput) ToSecurityGroupRuleArrayOutput() SecurityGroupRuleArrayOutput { - return o -} - -func (o SecurityGroupRuleArrayOutput) ToSecurityGroupRuleArrayOutputWithContext(ctx context.Context) SecurityGroupRuleArrayOutput { - return o -} - -func (o SecurityGroupRuleArrayOutput) Index(i pulumi.IntInput) SecurityGroupRuleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecurityGroupRule { - return vs[0].([]*SecurityGroupRule)[vs[1].(int)] - }).(SecurityGroupRuleOutput) -} - -type SecurityGroupRuleMapOutput struct{ *pulumi.OutputState } - -func (SecurityGroupRuleMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*SecurityGroupRule)(nil)).Elem() -} - -func (o SecurityGroupRuleMapOutput) ToSecurityGroupRuleMapOutput() SecurityGroupRuleMapOutput { - return o -} - -func (o SecurityGroupRuleMapOutput) ToSecurityGroupRuleMapOutputWithContext(ctx context.Context) SecurityGroupRuleMapOutput { - return o -} - -func (o SecurityGroupRuleMapOutput) MapIndex(k pulumi.StringInput) SecurityGroupRuleOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecurityGroupRule { - return vs[0].(map[string]*SecurityGroupRule)[vs[1].(string)] - }).(SecurityGroupRuleOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*SecurityGroupRuleInput)(nil)).Elem(), &SecurityGroupRule{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityGroupRuleArrayInput)(nil)).Elem(), SecurityGroupRuleArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityGroupRuleMapInput)(nil)).Elem(), SecurityGroupRuleMap{}) - pulumi.RegisterOutputType(SecurityGroupRuleOutput{}) - pulumi.RegisterOutputType(SecurityGroupRuleArrayOutput{}) - pulumi.RegisterOutputType(SecurityGroupRuleMapOutput{}) -} diff --git a/sdk/go/outscale/serverCertificate.go b/sdk/go/outscale/serverCertificate.go deleted file mode 100644 index 2036da5..0000000 --- a/sdk/go/outscale/serverCertificate.go +++ /dev/null @@ -1,376 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages a server certificate. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Server-Certificates-in-EIM.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-servercertificate). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "os" -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func readFileOrPanic(path string) pulumi.StringPtrInput { -// data, err := os.ReadFile(path) -// if err != nil { -// panic(err.Error()) -// } -// return pulumi.String(string(data)) -// } -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewServerCertificate(ctx, "serverCertificate01", &outscale.ServerCertificateArgs{ -// Body: readFileOrPanic(""), -// Chain: readFileOrPanic(""), -// PrivateKey: readFileOrPanic(""), -// Path: pulumi.String(""), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// A server certificate can be imported using its ID. For exampleconsole -// -// ```sh -// -// $ pulumi import outscale:index/serverCertificate:ServerCertificate ImportedServerCertificate 0123456789 -// -// ``` -type ServerCertificate struct { - pulumi.CustomResourceState - - // The PEM-encoded X509 certificate. - Body pulumi.StringPtrOutput `pulumi:"body"` - // The PEM-encoded intermediate certification authorities. - Chain pulumi.StringPtrOutput `pulumi:"chain"` - DryRun pulumi.StringPtrOutput `pulumi:"dryRun"` - // The date at which the server certificate expires. - ExpirationDate pulumi.StringOutput `pulumi:"expirationDate"` - // A unique name for the certificate. Constraints: 1-128 alphanumeric characters, pluses (+), equals (=), commas (,), periods (.), at signs (@), minuses (-), or underscores (_). - Name pulumi.StringOutput `pulumi:"name"` - // The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - Orn pulumi.StringOutput `pulumi:"orn"` - // The path to the server certificate, set to a slash (/) if not specified. - Path pulumi.StringOutput `pulumi:"path"` - // The PEM-encoded private key matching the certificate. - PrivateKey pulumi.StringPtrOutput `pulumi:"privateKey"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - // The date at which the server certificate has been uploaded. - UploadDate pulumi.StringOutput `pulumi:"uploadDate"` -} - -// NewServerCertificate registers a new resource with the given unique name, arguments, and options. -func NewServerCertificate(ctx *pulumi.Context, - name string, args *ServerCertificateArgs, opts ...pulumi.ResourceOption) (*ServerCertificate, error) { - if args == nil { - args = &ServerCertificateArgs{} - } - - opts = internal.PkgResourceDefaultOpts(opts) - var resource ServerCertificate - err := ctx.RegisterResource("outscale:index/serverCertificate:ServerCertificate", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetServerCertificate gets an existing ServerCertificate resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetServerCertificate(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *ServerCertificateState, opts ...pulumi.ResourceOption) (*ServerCertificate, error) { - var resource ServerCertificate - err := ctx.ReadResource("outscale:index/serverCertificate:ServerCertificate", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering ServerCertificate resources. -type serverCertificateState struct { - // The PEM-encoded X509 certificate. - Body *string `pulumi:"body"` - // The PEM-encoded intermediate certification authorities. - Chain *string `pulumi:"chain"` - DryRun *string `pulumi:"dryRun"` - // The date at which the server certificate expires. - ExpirationDate *string `pulumi:"expirationDate"` - // A unique name for the certificate. Constraints: 1-128 alphanumeric characters, pluses (+), equals (=), commas (,), periods (.), at signs (@), minuses (-), or underscores (_). - Name *string `pulumi:"name"` - // The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - Orn *string `pulumi:"orn"` - // The path to the server certificate, set to a slash (/) if not specified. - Path *string `pulumi:"path"` - // The PEM-encoded private key matching the certificate. - PrivateKey *string `pulumi:"privateKey"` - RequestId *string `pulumi:"requestId"` - // The date at which the server certificate has been uploaded. - UploadDate *string `pulumi:"uploadDate"` -} - -type ServerCertificateState struct { - // The PEM-encoded X509 certificate. - Body pulumi.StringPtrInput - // The PEM-encoded intermediate certification authorities. - Chain pulumi.StringPtrInput - DryRun pulumi.StringPtrInput - // The date at which the server certificate expires. - ExpirationDate pulumi.StringPtrInput - // A unique name for the certificate. Constraints: 1-128 alphanumeric characters, pluses (+), equals (=), commas (,), periods (.), at signs (@), minuses (-), or underscores (_). - Name pulumi.StringPtrInput - // The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - Orn pulumi.StringPtrInput - // The path to the server certificate, set to a slash (/) if not specified. - Path pulumi.StringPtrInput - // The PEM-encoded private key matching the certificate. - PrivateKey pulumi.StringPtrInput - RequestId pulumi.StringPtrInput - // The date at which the server certificate has been uploaded. - UploadDate pulumi.StringPtrInput -} - -func (ServerCertificateState) ElementType() reflect.Type { - return reflect.TypeOf((*serverCertificateState)(nil)).Elem() -} - -type serverCertificateArgs struct { - // The PEM-encoded X509 certificate. - Body *string `pulumi:"body"` - // The PEM-encoded intermediate certification authorities. - Chain *string `pulumi:"chain"` - DryRun *string `pulumi:"dryRun"` - // A unique name for the certificate. Constraints: 1-128 alphanumeric characters, pluses (+), equals (=), commas (,), periods (.), at signs (@), minuses (-), or underscores (_). - Name *string `pulumi:"name"` - // The path to the server certificate, set to a slash (/) if not specified. - Path *string `pulumi:"path"` - // The PEM-encoded private key matching the certificate. - PrivateKey *string `pulumi:"privateKey"` -} - -// The set of arguments for constructing a ServerCertificate resource. -type ServerCertificateArgs struct { - // The PEM-encoded X509 certificate. - Body pulumi.StringPtrInput - // The PEM-encoded intermediate certification authorities. - Chain pulumi.StringPtrInput - DryRun pulumi.StringPtrInput - // A unique name for the certificate. Constraints: 1-128 alphanumeric characters, pluses (+), equals (=), commas (,), periods (.), at signs (@), minuses (-), or underscores (_). - Name pulumi.StringPtrInput - // The path to the server certificate, set to a slash (/) if not specified. - Path pulumi.StringPtrInput - // The PEM-encoded private key matching the certificate. - PrivateKey pulumi.StringPtrInput -} - -func (ServerCertificateArgs) ElementType() reflect.Type { - return reflect.TypeOf((*serverCertificateArgs)(nil)).Elem() -} - -type ServerCertificateInput interface { - pulumi.Input - - ToServerCertificateOutput() ServerCertificateOutput - ToServerCertificateOutputWithContext(ctx context.Context) ServerCertificateOutput -} - -func (*ServerCertificate) ElementType() reflect.Type { - return reflect.TypeOf((**ServerCertificate)(nil)).Elem() -} - -func (i *ServerCertificate) ToServerCertificateOutput() ServerCertificateOutput { - return i.ToServerCertificateOutputWithContext(context.Background()) -} - -func (i *ServerCertificate) ToServerCertificateOutputWithContext(ctx context.Context) ServerCertificateOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServerCertificateOutput) -} - -// ServerCertificateArrayInput is an input type that accepts ServerCertificateArray and ServerCertificateArrayOutput values. -// You can construct a concrete instance of `ServerCertificateArrayInput` via: -// -// ServerCertificateArray{ ServerCertificateArgs{...} } -type ServerCertificateArrayInput interface { - pulumi.Input - - ToServerCertificateArrayOutput() ServerCertificateArrayOutput - ToServerCertificateArrayOutputWithContext(context.Context) ServerCertificateArrayOutput -} - -type ServerCertificateArray []ServerCertificateInput - -func (ServerCertificateArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*ServerCertificate)(nil)).Elem() -} - -func (i ServerCertificateArray) ToServerCertificateArrayOutput() ServerCertificateArrayOutput { - return i.ToServerCertificateArrayOutputWithContext(context.Background()) -} - -func (i ServerCertificateArray) ToServerCertificateArrayOutputWithContext(ctx context.Context) ServerCertificateArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServerCertificateArrayOutput) -} - -// ServerCertificateMapInput is an input type that accepts ServerCertificateMap and ServerCertificateMapOutput values. -// You can construct a concrete instance of `ServerCertificateMapInput` via: -// -// ServerCertificateMap{ "key": ServerCertificateArgs{...} } -type ServerCertificateMapInput interface { - pulumi.Input - - ToServerCertificateMapOutput() ServerCertificateMapOutput - ToServerCertificateMapOutputWithContext(context.Context) ServerCertificateMapOutput -} - -type ServerCertificateMap map[string]ServerCertificateInput - -func (ServerCertificateMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*ServerCertificate)(nil)).Elem() -} - -func (i ServerCertificateMap) ToServerCertificateMapOutput() ServerCertificateMapOutput { - return i.ToServerCertificateMapOutputWithContext(context.Background()) -} - -func (i ServerCertificateMap) ToServerCertificateMapOutputWithContext(ctx context.Context) ServerCertificateMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServerCertificateMapOutput) -} - -type ServerCertificateOutput struct{ *pulumi.OutputState } - -func (ServerCertificateOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ServerCertificate)(nil)).Elem() -} - -func (o ServerCertificateOutput) ToServerCertificateOutput() ServerCertificateOutput { - return o -} - -func (o ServerCertificateOutput) ToServerCertificateOutputWithContext(ctx context.Context) ServerCertificateOutput { - return o -} - -// The PEM-encoded X509 certificate. -func (o ServerCertificateOutput) Body() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServerCertificate) pulumi.StringPtrOutput { return v.Body }).(pulumi.StringPtrOutput) -} - -// The PEM-encoded intermediate certification authorities. -func (o ServerCertificateOutput) Chain() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServerCertificate) pulumi.StringPtrOutput { return v.Chain }).(pulumi.StringPtrOutput) -} - -func (o ServerCertificateOutput) DryRun() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServerCertificate) pulumi.StringPtrOutput { return v.DryRun }).(pulumi.StringPtrOutput) -} - -// The date at which the server certificate expires. -func (o ServerCertificateOutput) ExpirationDate() pulumi.StringOutput { - return o.ApplyT(func(v *ServerCertificate) pulumi.StringOutput { return v.ExpirationDate }).(pulumi.StringOutput) -} - -// A unique name for the certificate. Constraints: 1-128 alphanumeric characters, pluses (+), equals (=), commas (,), periods (.), at signs (@), minuses (-), or underscores (_). -func (o ServerCertificateOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v *ServerCertificate) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) -} - -// The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). -func (o ServerCertificateOutput) Orn() pulumi.StringOutput { - return o.ApplyT(func(v *ServerCertificate) pulumi.StringOutput { return v.Orn }).(pulumi.StringOutput) -} - -// The path to the server certificate, set to a slash (/) if not specified. -func (o ServerCertificateOutput) Path() pulumi.StringOutput { - return o.ApplyT(func(v *ServerCertificate) pulumi.StringOutput { return v.Path }).(pulumi.StringOutput) -} - -// The PEM-encoded private key matching the certificate. -func (o ServerCertificateOutput) PrivateKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServerCertificate) pulumi.StringPtrOutput { return v.PrivateKey }).(pulumi.StringPtrOutput) -} - -func (o ServerCertificateOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *ServerCertificate) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -// The date at which the server certificate has been uploaded. -func (o ServerCertificateOutput) UploadDate() pulumi.StringOutput { - return o.ApplyT(func(v *ServerCertificate) pulumi.StringOutput { return v.UploadDate }).(pulumi.StringOutput) -} - -type ServerCertificateArrayOutput struct{ *pulumi.OutputState } - -func (ServerCertificateArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*ServerCertificate)(nil)).Elem() -} - -func (o ServerCertificateArrayOutput) ToServerCertificateArrayOutput() ServerCertificateArrayOutput { - return o -} - -func (o ServerCertificateArrayOutput) ToServerCertificateArrayOutputWithContext(ctx context.Context) ServerCertificateArrayOutput { - return o -} - -func (o ServerCertificateArrayOutput) Index(i pulumi.IntInput) ServerCertificateOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ServerCertificate { - return vs[0].([]*ServerCertificate)[vs[1].(int)] - }).(ServerCertificateOutput) -} - -type ServerCertificateMapOutput struct{ *pulumi.OutputState } - -func (ServerCertificateMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*ServerCertificate)(nil)).Elem() -} - -func (o ServerCertificateMapOutput) ToServerCertificateMapOutput() ServerCertificateMapOutput { - return o -} - -func (o ServerCertificateMapOutput) ToServerCertificateMapOutputWithContext(ctx context.Context) ServerCertificateMapOutput { - return o -} - -func (o ServerCertificateMapOutput) MapIndex(k pulumi.StringInput) ServerCertificateOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ServerCertificate { - return vs[0].(map[string]*ServerCertificate)[vs[1].(string)] - }).(ServerCertificateOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*ServerCertificateInput)(nil)).Elem(), &ServerCertificate{}) - pulumi.RegisterInputType(reflect.TypeOf((*ServerCertificateArrayInput)(nil)).Elem(), ServerCertificateArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*ServerCertificateMapInput)(nil)).Elem(), ServerCertificateMap{}) - pulumi.RegisterOutputType(ServerCertificateOutput{}) - pulumi.RegisterOutputType(ServerCertificateArrayOutput{}) - pulumi.RegisterOutputType(ServerCertificateMapOutput{}) -} diff --git a/sdk/go/outscale/snapshot.go b/sdk/go/outscale/snapshot.go deleted file mode 100644 index 7aff842..0000000 --- a/sdk/go/outscale/snapshot.go +++ /dev/null @@ -1,495 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages a snapshot. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Snapshots.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-snapshot). -// -// ## Example Usage -// ### Required resource -// -// ```go -// package main -// -// import ( -// -// "fmt" -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewVolume(ctx, "volume01", &outscale.VolumeArgs{ -// Size: pulumi.Int(40), -// SubregionName: pulumi.String(fmt.Sprintf("%va", _var.Region)), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Create a snapshot -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewSnapshot(ctx, "snapshot01", &outscale.SnapshotArgs{ -// VolumeId: pulumi.Any(outscale_volume.Volume01.Volume_id), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Copy a snapshot -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewSnapshot(ctx, "snapshot02", &outscale.SnapshotArgs{ -// Description: pulumi.String("Terraform snapshot copy"), -// SourceRegionName: pulumi.String("eu-west-2"), -// SourceSnapshotId: pulumi.String("snap-12345678"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// A snapshot can be imported using its ID. For exampleconsole -// -// ```sh -// -// $ pulumi import outscale:index/snapshot:Snapshot ImportedSnapshot snap-12345678 -// -// ``` -type Snapshot struct { - pulumi.CustomResourceState - - // The account alias of the owner of the snapshot. - AccountAlias pulumi.StringOutput `pulumi:"accountAlias"` - // The account ID of the owner of the snapshot. - AccountId pulumi.StringOutput `pulumi:"accountId"` - // The date and time of creation of the snapshot. - CreationDate pulumi.StringOutput `pulumi:"creationDate"` - // A description for the snapshot. - Description pulumi.StringOutput `pulumi:"description"` - // (When importing) The pre-signed URL of the snapshot you want to import, or the normal URL of the snapshot if you have permission on the OOS bucket. For more information, see [Configuring a Pre-signed URL](https://docs.outscale.com/en/userguide/Configuring-a-Pre-signed-URL.html) or [Managing Access to Your Buckets and Objects](https://docs.outscale.com/en/userguide/Managing-Access-to-Your-Buckets-and-Objects.html). - FileLocation pulumi.StringOutput `pulumi:"fileLocation"` - // Permissions for the resource. - PermissionsToCreateVolumes SnapshotPermissionsToCreateVolumeArrayOutput `pulumi:"permissionsToCreateVolumes"` - // The progress of the snapshot, as a percentage. - Progress pulumi.IntOutput `pulumi:"progress"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - // The ID of the snapshot. - SnapshotId pulumi.StringOutput `pulumi:"snapshotId"` - // (When importing) The size of the snapshot you want to create in your account, in bytes. This size must be greater than or equal to the size of the original, uncompressed snapshot. - SnapshotSize pulumi.IntOutput `pulumi:"snapshotSize"` - // (When copying) The name of the source Region, which must be the same as the Region of your account. - SourceRegionName pulumi.StringOutput `pulumi:"sourceRegionName"` - // (When copying) The ID of the snapshot you want to copy. - SourceSnapshotId pulumi.StringOutput `pulumi:"sourceSnapshotId"` - // The state of the snapshot (`in-queue` \| `completed` \| `error`). - State pulumi.StringOutput `pulumi:"state"` - // A tag to add to this resource. You can specify this argument several times. - Tags SnapshotTagArrayOutput `pulumi:"tags"` - // (When creating) The ID of the volume you want to create a snapshot of. - VolumeId pulumi.StringOutput `pulumi:"volumeId"` - // The size of the volume used to create the snapshot, in gibibytes (GiB). - VolumeSize pulumi.IntOutput `pulumi:"volumeSize"` -} - -// NewSnapshot registers a new resource with the given unique name, arguments, and options. -func NewSnapshot(ctx *pulumi.Context, - name string, args *SnapshotArgs, opts ...pulumi.ResourceOption) (*Snapshot, error) { - if args == nil { - args = &SnapshotArgs{} - } - - opts = internal.PkgResourceDefaultOpts(opts) - var resource Snapshot - err := ctx.RegisterResource("outscale:index/snapshot:Snapshot", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetSnapshot gets an existing Snapshot resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetSnapshot(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *SnapshotState, opts ...pulumi.ResourceOption) (*Snapshot, error) { - var resource Snapshot - err := ctx.ReadResource("outscale:index/snapshot:Snapshot", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering Snapshot resources. -type snapshotState struct { - // The account alias of the owner of the snapshot. - AccountAlias *string `pulumi:"accountAlias"` - // The account ID of the owner of the snapshot. - AccountId *string `pulumi:"accountId"` - // The date and time of creation of the snapshot. - CreationDate *string `pulumi:"creationDate"` - // A description for the snapshot. - Description *string `pulumi:"description"` - // (When importing) The pre-signed URL of the snapshot you want to import, or the normal URL of the snapshot if you have permission on the OOS bucket. For more information, see [Configuring a Pre-signed URL](https://docs.outscale.com/en/userguide/Configuring-a-Pre-signed-URL.html) or [Managing Access to Your Buckets and Objects](https://docs.outscale.com/en/userguide/Managing-Access-to-Your-Buckets-and-Objects.html). - FileLocation *string `pulumi:"fileLocation"` - // Permissions for the resource. - PermissionsToCreateVolumes []SnapshotPermissionsToCreateVolume `pulumi:"permissionsToCreateVolumes"` - // The progress of the snapshot, as a percentage. - Progress *int `pulumi:"progress"` - RequestId *string `pulumi:"requestId"` - // The ID of the snapshot. - SnapshotId *string `pulumi:"snapshotId"` - // (When importing) The size of the snapshot you want to create in your account, in bytes. This size must be greater than or equal to the size of the original, uncompressed snapshot. - SnapshotSize *int `pulumi:"snapshotSize"` - // (When copying) The name of the source Region, which must be the same as the Region of your account. - SourceRegionName *string `pulumi:"sourceRegionName"` - // (When copying) The ID of the snapshot you want to copy. - SourceSnapshotId *string `pulumi:"sourceSnapshotId"` - // The state of the snapshot (`in-queue` \| `completed` \| `error`). - State *string `pulumi:"state"` - // A tag to add to this resource. You can specify this argument several times. - Tags []SnapshotTag `pulumi:"tags"` - // (When creating) The ID of the volume you want to create a snapshot of. - VolumeId *string `pulumi:"volumeId"` - // The size of the volume used to create the snapshot, in gibibytes (GiB). - VolumeSize *int `pulumi:"volumeSize"` -} - -type SnapshotState struct { - // The account alias of the owner of the snapshot. - AccountAlias pulumi.StringPtrInput - // The account ID of the owner of the snapshot. - AccountId pulumi.StringPtrInput - // The date and time of creation of the snapshot. - CreationDate pulumi.StringPtrInput - // A description for the snapshot. - Description pulumi.StringPtrInput - // (When importing) The pre-signed URL of the snapshot you want to import, or the normal URL of the snapshot if you have permission on the OOS bucket. For more information, see [Configuring a Pre-signed URL](https://docs.outscale.com/en/userguide/Configuring-a-Pre-signed-URL.html) or [Managing Access to Your Buckets and Objects](https://docs.outscale.com/en/userguide/Managing-Access-to-Your-Buckets-and-Objects.html). - FileLocation pulumi.StringPtrInput - // Permissions for the resource. - PermissionsToCreateVolumes SnapshotPermissionsToCreateVolumeArrayInput - // The progress of the snapshot, as a percentage. - Progress pulumi.IntPtrInput - RequestId pulumi.StringPtrInput - // The ID of the snapshot. - SnapshotId pulumi.StringPtrInput - // (When importing) The size of the snapshot you want to create in your account, in bytes. This size must be greater than or equal to the size of the original, uncompressed snapshot. - SnapshotSize pulumi.IntPtrInput - // (When copying) The name of the source Region, which must be the same as the Region of your account. - SourceRegionName pulumi.StringPtrInput - // (When copying) The ID of the snapshot you want to copy. - SourceSnapshotId pulumi.StringPtrInput - // The state of the snapshot (`in-queue` \| `completed` \| `error`). - State pulumi.StringPtrInput - // A tag to add to this resource. You can specify this argument several times. - Tags SnapshotTagArrayInput - // (When creating) The ID of the volume you want to create a snapshot of. - VolumeId pulumi.StringPtrInput - // The size of the volume used to create the snapshot, in gibibytes (GiB). - VolumeSize pulumi.IntPtrInput -} - -func (SnapshotState) ElementType() reflect.Type { - return reflect.TypeOf((*snapshotState)(nil)).Elem() -} - -type snapshotArgs struct { - // A description for the snapshot. - Description *string `pulumi:"description"` - // (When importing) The pre-signed URL of the snapshot you want to import, or the normal URL of the snapshot if you have permission on the OOS bucket. For more information, see [Configuring a Pre-signed URL](https://docs.outscale.com/en/userguide/Configuring-a-Pre-signed-URL.html) or [Managing Access to Your Buckets and Objects](https://docs.outscale.com/en/userguide/Managing-Access-to-Your-Buckets-and-Objects.html). - FileLocation *string `pulumi:"fileLocation"` - // (When importing) The size of the snapshot you want to create in your account, in bytes. This size must be greater than or equal to the size of the original, uncompressed snapshot. - SnapshotSize *int `pulumi:"snapshotSize"` - // (When copying) The name of the source Region, which must be the same as the Region of your account. - SourceRegionName *string `pulumi:"sourceRegionName"` - // (When copying) The ID of the snapshot you want to copy. - SourceSnapshotId *string `pulumi:"sourceSnapshotId"` - // A tag to add to this resource. You can specify this argument several times. - Tags []SnapshotTag `pulumi:"tags"` - // (When creating) The ID of the volume you want to create a snapshot of. - VolumeId *string `pulumi:"volumeId"` -} - -// The set of arguments for constructing a Snapshot resource. -type SnapshotArgs struct { - // A description for the snapshot. - Description pulumi.StringPtrInput - // (When importing) The pre-signed URL of the snapshot you want to import, or the normal URL of the snapshot if you have permission on the OOS bucket. For more information, see [Configuring a Pre-signed URL](https://docs.outscale.com/en/userguide/Configuring-a-Pre-signed-URL.html) or [Managing Access to Your Buckets and Objects](https://docs.outscale.com/en/userguide/Managing-Access-to-Your-Buckets-and-Objects.html). - FileLocation pulumi.StringPtrInput - // (When importing) The size of the snapshot you want to create in your account, in bytes. This size must be greater than or equal to the size of the original, uncompressed snapshot. - SnapshotSize pulumi.IntPtrInput - // (When copying) The name of the source Region, which must be the same as the Region of your account. - SourceRegionName pulumi.StringPtrInput - // (When copying) The ID of the snapshot you want to copy. - SourceSnapshotId pulumi.StringPtrInput - // A tag to add to this resource. You can specify this argument several times. - Tags SnapshotTagArrayInput - // (When creating) The ID of the volume you want to create a snapshot of. - VolumeId pulumi.StringPtrInput -} - -func (SnapshotArgs) ElementType() reflect.Type { - return reflect.TypeOf((*snapshotArgs)(nil)).Elem() -} - -type SnapshotInput interface { - pulumi.Input - - ToSnapshotOutput() SnapshotOutput - ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput -} - -func (*Snapshot) ElementType() reflect.Type { - return reflect.TypeOf((**Snapshot)(nil)).Elem() -} - -func (i *Snapshot) ToSnapshotOutput() SnapshotOutput { - return i.ToSnapshotOutputWithContext(context.Background()) -} - -func (i *Snapshot) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput { - return pulumi.ToOutputWithContext(ctx, i).(SnapshotOutput) -} - -// SnapshotArrayInput is an input type that accepts SnapshotArray and SnapshotArrayOutput values. -// You can construct a concrete instance of `SnapshotArrayInput` via: -// -// SnapshotArray{ SnapshotArgs{...} } -type SnapshotArrayInput interface { - pulumi.Input - - ToSnapshotArrayOutput() SnapshotArrayOutput - ToSnapshotArrayOutputWithContext(context.Context) SnapshotArrayOutput -} - -type SnapshotArray []SnapshotInput - -func (SnapshotArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*Snapshot)(nil)).Elem() -} - -func (i SnapshotArray) ToSnapshotArrayOutput() SnapshotArrayOutput { - return i.ToSnapshotArrayOutputWithContext(context.Background()) -} - -func (i SnapshotArray) ToSnapshotArrayOutputWithContext(ctx context.Context) SnapshotArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SnapshotArrayOutput) -} - -// SnapshotMapInput is an input type that accepts SnapshotMap and SnapshotMapOutput values. -// You can construct a concrete instance of `SnapshotMapInput` via: -// -// SnapshotMap{ "key": SnapshotArgs{...} } -type SnapshotMapInput interface { - pulumi.Input - - ToSnapshotMapOutput() SnapshotMapOutput - ToSnapshotMapOutputWithContext(context.Context) SnapshotMapOutput -} - -type SnapshotMap map[string]SnapshotInput - -func (SnapshotMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*Snapshot)(nil)).Elem() -} - -func (i SnapshotMap) ToSnapshotMapOutput() SnapshotMapOutput { - return i.ToSnapshotMapOutputWithContext(context.Background()) -} - -func (i SnapshotMap) ToSnapshotMapOutputWithContext(ctx context.Context) SnapshotMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(SnapshotMapOutput) -} - -type SnapshotOutput struct{ *pulumi.OutputState } - -func (SnapshotOutput) ElementType() reflect.Type { - return reflect.TypeOf((**Snapshot)(nil)).Elem() -} - -func (o SnapshotOutput) ToSnapshotOutput() SnapshotOutput { - return o -} - -func (o SnapshotOutput) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput { - return o -} - -// The account alias of the owner of the snapshot. -func (o SnapshotOutput) AccountAlias() pulumi.StringOutput { - return o.ApplyT(func(v *Snapshot) pulumi.StringOutput { return v.AccountAlias }).(pulumi.StringOutput) -} - -// The account ID of the owner of the snapshot. -func (o SnapshotOutput) AccountId() pulumi.StringOutput { - return o.ApplyT(func(v *Snapshot) pulumi.StringOutput { return v.AccountId }).(pulumi.StringOutput) -} - -// The date and time of creation of the snapshot. -func (o SnapshotOutput) CreationDate() pulumi.StringOutput { - return o.ApplyT(func(v *Snapshot) pulumi.StringOutput { return v.CreationDate }).(pulumi.StringOutput) -} - -// A description for the snapshot. -func (o SnapshotOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v *Snapshot) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) -} - -// (When importing) The pre-signed URL of the snapshot you want to import, or the normal URL of the snapshot if you have permission on the OOS bucket. For more information, see [Configuring a Pre-signed URL](https://docs.outscale.com/en/userguide/Configuring-a-Pre-signed-URL.html) or [Managing Access to Your Buckets and Objects](https://docs.outscale.com/en/userguide/Managing-Access-to-Your-Buckets-and-Objects.html). -func (o SnapshotOutput) FileLocation() pulumi.StringOutput { - return o.ApplyT(func(v *Snapshot) pulumi.StringOutput { return v.FileLocation }).(pulumi.StringOutput) -} - -// Permissions for the resource. -func (o SnapshotOutput) PermissionsToCreateVolumes() SnapshotPermissionsToCreateVolumeArrayOutput { - return o.ApplyT(func(v *Snapshot) SnapshotPermissionsToCreateVolumeArrayOutput { return v.PermissionsToCreateVolumes }).(SnapshotPermissionsToCreateVolumeArrayOutput) -} - -// The progress of the snapshot, as a percentage. -func (o SnapshotOutput) Progress() pulumi.IntOutput { - return o.ApplyT(func(v *Snapshot) pulumi.IntOutput { return v.Progress }).(pulumi.IntOutput) -} - -func (o SnapshotOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *Snapshot) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -// The ID of the snapshot. -func (o SnapshotOutput) SnapshotId() pulumi.StringOutput { - return o.ApplyT(func(v *Snapshot) pulumi.StringOutput { return v.SnapshotId }).(pulumi.StringOutput) -} - -// (When importing) The size of the snapshot you want to create in your account, in bytes. This size must be greater than or equal to the size of the original, uncompressed snapshot. -func (o SnapshotOutput) SnapshotSize() pulumi.IntOutput { - return o.ApplyT(func(v *Snapshot) pulumi.IntOutput { return v.SnapshotSize }).(pulumi.IntOutput) -} - -// (When copying) The name of the source Region, which must be the same as the Region of your account. -func (o SnapshotOutput) SourceRegionName() pulumi.StringOutput { - return o.ApplyT(func(v *Snapshot) pulumi.StringOutput { return v.SourceRegionName }).(pulumi.StringOutput) -} - -// (When copying) The ID of the snapshot you want to copy. -func (o SnapshotOutput) SourceSnapshotId() pulumi.StringOutput { - return o.ApplyT(func(v *Snapshot) pulumi.StringOutput { return v.SourceSnapshotId }).(pulumi.StringOutput) -} - -// The state of the snapshot (`in-queue` \| `completed` \| `error`). -func (o SnapshotOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v *Snapshot) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) -} - -// A tag to add to this resource. You can specify this argument several times. -func (o SnapshotOutput) Tags() SnapshotTagArrayOutput { - return o.ApplyT(func(v *Snapshot) SnapshotTagArrayOutput { return v.Tags }).(SnapshotTagArrayOutput) -} - -// (When creating) The ID of the volume you want to create a snapshot of. -func (o SnapshotOutput) VolumeId() pulumi.StringOutput { - return o.ApplyT(func(v *Snapshot) pulumi.StringOutput { return v.VolumeId }).(pulumi.StringOutput) -} - -// The size of the volume used to create the snapshot, in gibibytes (GiB). -func (o SnapshotOutput) VolumeSize() pulumi.IntOutput { - return o.ApplyT(func(v *Snapshot) pulumi.IntOutput { return v.VolumeSize }).(pulumi.IntOutput) -} - -type SnapshotArrayOutput struct{ *pulumi.OutputState } - -func (SnapshotArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*Snapshot)(nil)).Elem() -} - -func (o SnapshotArrayOutput) ToSnapshotArrayOutput() SnapshotArrayOutput { - return o -} - -func (o SnapshotArrayOutput) ToSnapshotArrayOutputWithContext(ctx context.Context) SnapshotArrayOutput { - return o -} - -func (o SnapshotArrayOutput) Index(i pulumi.IntInput) SnapshotOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Snapshot { - return vs[0].([]*Snapshot)[vs[1].(int)] - }).(SnapshotOutput) -} - -type SnapshotMapOutput struct{ *pulumi.OutputState } - -func (SnapshotMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*Snapshot)(nil)).Elem() -} - -func (o SnapshotMapOutput) ToSnapshotMapOutput() SnapshotMapOutput { - return o -} - -func (o SnapshotMapOutput) ToSnapshotMapOutputWithContext(ctx context.Context) SnapshotMapOutput { - return o -} - -func (o SnapshotMapOutput) MapIndex(k pulumi.StringInput) SnapshotOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Snapshot { - return vs[0].(map[string]*Snapshot)[vs[1].(string)] - }).(SnapshotOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*SnapshotInput)(nil)).Elem(), &Snapshot{}) - pulumi.RegisterInputType(reflect.TypeOf((*SnapshotArrayInput)(nil)).Elem(), SnapshotArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*SnapshotMapInput)(nil)).Elem(), SnapshotMap{}) - pulumi.RegisterOutputType(SnapshotOutput{}) - pulumi.RegisterOutputType(SnapshotArrayOutput{}) - pulumi.RegisterOutputType(SnapshotMapOutput{}) -} diff --git a/sdk/go/outscale/snapshotAttributes.go b/sdk/go/outscale/snapshotAttributes.go deleted file mode 100644 index a6b0633..0000000 --- a/sdk/go/outscale/snapshotAttributes.go +++ /dev/null @@ -1,376 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "errors" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages snapshot attributes. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Snapshots.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#updatesnapshot). -// -// ## Example Usage -// ### Required resources -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// volume01, err := outscale.NewVolume(ctx, "volume01", &outscale.VolumeArgs{ -// SubregionName: pulumi.String("eu-west-2a"), -// Size: pulumi.Int(40), -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewSnapshot(ctx, "snapshot01", &outscale.SnapshotArgs{ -// VolumeId: volume01.VolumeId, -// Tags: outscale.SnapshotTagArray{ -// &outscale.SnapshotTagArgs{ -// Key: pulumi.String("name"), -// Value: pulumi.String("terraform-snapshot-test"), -// }, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Add permissions -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewSnapshotAttributes(ctx, "snapshotAttributes01", &outscale.SnapshotAttributesArgs{ -// SnapshotId: pulumi.Any(outscale_snapshot.Snapshot01.Snapshot_id), -// PermissionsToCreateVolumeAdditions: &outscale.SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs{ -// AccountIds: pulumi.StringArray{ -// pulumi.String("012345678910"), -// }, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Remove permissions -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewSnapshotAttributes(ctx, "snapshotAttributes02", &outscale.SnapshotAttributesArgs{ -// SnapshotId: pulumi.Any(outscale_snapshot.Snapshot01.Snapshot_id), -// PermissionsToCreateVolumeRemovals: outscale.SnapshotAttributesPermissionsToCreateVolumeRemovalArray{ -// &outscale.SnapshotAttributesPermissionsToCreateVolumeRemovalArgs{ -// AccountIds: pulumi.StringArray{ -// pulumi.String("012345678910"), -// }, -// }, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -type SnapshotAttributes struct { - pulumi.CustomResourceState - - // The account ID of the owner of the snapshot. - AccountId pulumi.StringOutput `pulumi:"accountId"` - // Information about the users to whom you want to give permissions for the resource. - PermissionsToCreateVolumeAdditions SnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutput `pulumi:"permissionsToCreateVolumeAdditions"` - // Information about the users from whom you want to remove permissions for the resource. - PermissionsToCreateVolumeRemovals SnapshotAttributesPermissionsToCreateVolumeRemovalArrayOutput `pulumi:"permissionsToCreateVolumeRemovals"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - // The ID of the snapshot. - SnapshotId pulumi.StringOutput `pulumi:"snapshotId"` -} - -// NewSnapshotAttributes registers a new resource with the given unique name, arguments, and options. -func NewSnapshotAttributes(ctx *pulumi.Context, - name string, args *SnapshotAttributesArgs, opts ...pulumi.ResourceOption) (*SnapshotAttributes, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.SnapshotId == nil { - return nil, errors.New("invalid value for required argument 'SnapshotId'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource SnapshotAttributes - err := ctx.RegisterResource("outscale:index/snapshotAttributes:SnapshotAttributes", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetSnapshotAttributes gets an existing SnapshotAttributes resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetSnapshotAttributes(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *SnapshotAttributesState, opts ...pulumi.ResourceOption) (*SnapshotAttributes, error) { - var resource SnapshotAttributes - err := ctx.ReadResource("outscale:index/snapshotAttributes:SnapshotAttributes", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering SnapshotAttributes resources. -type snapshotAttributesState struct { - // The account ID of the owner of the snapshot. - AccountId *string `pulumi:"accountId"` - // Information about the users to whom you want to give permissions for the resource. - PermissionsToCreateVolumeAdditions *SnapshotAttributesPermissionsToCreateVolumeAdditions `pulumi:"permissionsToCreateVolumeAdditions"` - // Information about the users from whom you want to remove permissions for the resource. - PermissionsToCreateVolumeRemovals []SnapshotAttributesPermissionsToCreateVolumeRemoval `pulumi:"permissionsToCreateVolumeRemovals"` - RequestId *string `pulumi:"requestId"` - // The ID of the snapshot. - SnapshotId *string `pulumi:"snapshotId"` -} - -type SnapshotAttributesState struct { - // The account ID of the owner of the snapshot. - AccountId pulumi.StringPtrInput - // Information about the users to whom you want to give permissions for the resource. - PermissionsToCreateVolumeAdditions SnapshotAttributesPermissionsToCreateVolumeAdditionsPtrInput - // Information about the users from whom you want to remove permissions for the resource. - PermissionsToCreateVolumeRemovals SnapshotAttributesPermissionsToCreateVolumeRemovalArrayInput - RequestId pulumi.StringPtrInput - // The ID of the snapshot. - SnapshotId pulumi.StringPtrInput -} - -func (SnapshotAttributesState) ElementType() reflect.Type { - return reflect.TypeOf((*snapshotAttributesState)(nil)).Elem() -} - -type snapshotAttributesArgs struct { - // Information about the users to whom you want to give permissions for the resource. - PermissionsToCreateVolumeAdditions *SnapshotAttributesPermissionsToCreateVolumeAdditions `pulumi:"permissionsToCreateVolumeAdditions"` - // Information about the users from whom you want to remove permissions for the resource. - PermissionsToCreateVolumeRemovals []SnapshotAttributesPermissionsToCreateVolumeRemoval `pulumi:"permissionsToCreateVolumeRemovals"` - // The ID of the snapshot. - SnapshotId string `pulumi:"snapshotId"` -} - -// The set of arguments for constructing a SnapshotAttributes resource. -type SnapshotAttributesArgs struct { - // Information about the users to whom you want to give permissions for the resource. - PermissionsToCreateVolumeAdditions SnapshotAttributesPermissionsToCreateVolumeAdditionsPtrInput - // Information about the users from whom you want to remove permissions for the resource. - PermissionsToCreateVolumeRemovals SnapshotAttributesPermissionsToCreateVolumeRemovalArrayInput - // The ID of the snapshot. - SnapshotId pulumi.StringInput -} - -func (SnapshotAttributesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*snapshotAttributesArgs)(nil)).Elem() -} - -type SnapshotAttributesInput interface { - pulumi.Input - - ToSnapshotAttributesOutput() SnapshotAttributesOutput - ToSnapshotAttributesOutputWithContext(ctx context.Context) SnapshotAttributesOutput -} - -func (*SnapshotAttributes) ElementType() reflect.Type { - return reflect.TypeOf((**SnapshotAttributes)(nil)).Elem() -} - -func (i *SnapshotAttributes) ToSnapshotAttributesOutput() SnapshotAttributesOutput { - return i.ToSnapshotAttributesOutputWithContext(context.Background()) -} - -func (i *SnapshotAttributes) ToSnapshotAttributesOutputWithContext(ctx context.Context) SnapshotAttributesOutput { - return pulumi.ToOutputWithContext(ctx, i).(SnapshotAttributesOutput) -} - -// SnapshotAttributesArrayInput is an input type that accepts SnapshotAttributesArray and SnapshotAttributesArrayOutput values. -// You can construct a concrete instance of `SnapshotAttributesArrayInput` via: -// -// SnapshotAttributesArray{ SnapshotAttributesArgs{...} } -type SnapshotAttributesArrayInput interface { - pulumi.Input - - ToSnapshotAttributesArrayOutput() SnapshotAttributesArrayOutput - ToSnapshotAttributesArrayOutputWithContext(context.Context) SnapshotAttributesArrayOutput -} - -type SnapshotAttributesArray []SnapshotAttributesInput - -func (SnapshotAttributesArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*SnapshotAttributes)(nil)).Elem() -} - -func (i SnapshotAttributesArray) ToSnapshotAttributesArrayOutput() SnapshotAttributesArrayOutput { - return i.ToSnapshotAttributesArrayOutputWithContext(context.Background()) -} - -func (i SnapshotAttributesArray) ToSnapshotAttributesArrayOutputWithContext(ctx context.Context) SnapshotAttributesArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SnapshotAttributesArrayOutput) -} - -// SnapshotAttributesMapInput is an input type that accepts SnapshotAttributesMap and SnapshotAttributesMapOutput values. -// You can construct a concrete instance of `SnapshotAttributesMapInput` via: -// -// SnapshotAttributesMap{ "key": SnapshotAttributesArgs{...} } -type SnapshotAttributesMapInput interface { - pulumi.Input - - ToSnapshotAttributesMapOutput() SnapshotAttributesMapOutput - ToSnapshotAttributesMapOutputWithContext(context.Context) SnapshotAttributesMapOutput -} - -type SnapshotAttributesMap map[string]SnapshotAttributesInput - -func (SnapshotAttributesMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*SnapshotAttributes)(nil)).Elem() -} - -func (i SnapshotAttributesMap) ToSnapshotAttributesMapOutput() SnapshotAttributesMapOutput { - return i.ToSnapshotAttributesMapOutputWithContext(context.Background()) -} - -func (i SnapshotAttributesMap) ToSnapshotAttributesMapOutputWithContext(ctx context.Context) SnapshotAttributesMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(SnapshotAttributesMapOutput) -} - -type SnapshotAttributesOutput struct{ *pulumi.OutputState } - -func (SnapshotAttributesOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SnapshotAttributes)(nil)).Elem() -} - -func (o SnapshotAttributesOutput) ToSnapshotAttributesOutput() SnapshotAttributesOutput { - return o -} - -func (o SnapshotAttributesOutput) ToSnapshotAttributesOutputWithContext(ctx context.Context) SnapshotAttributesOutput { - return o -} - -// The account ID of the owner of the snapshot. -func (o SnapshotAttributesOutput) AccountId() pulumi.StringOutput { - return o.ApplyT(func(v *SnapshotAttributes) pulumi.StringOutput { return v.AccountId }).(pulumi.StringOutput) -} - -// Information about the users to whom you want to give permissions for the resource. -func (o SnapshotAttributesOutput) PermissionsToCreateVolumeAdditions() SnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutput { - return o.ApplyT(func(v *SnapshotAttributes) SnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutput { - return v.PermissionsToCreateVolumeAdditions - }).(SnapshotAttributesPermissionsToCreateVolumeAdditionsPtrOutput) -} - -// Information about the users from whom you want to remove permissions for the resource. -func (o SnapshotAttributesOutput) PermissionsToCreateVolumeRemovals() SnapshotAttributesPermissionsToCreateVolumeRemovalArrayOutput { - return o.ApplyT(func(v *SnapshotAttributes) SnapshotAttributesPermissionsToCreateVolumeRemovalArrayOutput { - return v.PermissionsToCreateVolumeRemovals - }).(SnapshotAttributesPermissionsToCreateVolumeRemovalArrayOutput) -} - -func (o SnapshotAttributesOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *SnapshotAttributes) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -// The ID of the snapshot. -func (o SnapshotAttributesOutput) SnapshotId() pulumi.StringOutput { - return o.ApplyT(func(v *SnapshotAttributes) pulumi.StringOutput { return v.SnapshotId }).(pulumi.StringOutput) -} - -type SnapshotAttributesArrayOutput struct{ *pulumi.OutputState } - -func (SnapshotAttributesArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*SnapshotAttributes)(nil)).Elem() -} - -func (o SnapshotAttributesArrayOutput) ToSnapshotAttributesArrayOutput() SnapshotAttributesArrayOutput { - return o -} - -func (o SnapshotAttributesArrayOutput) ToSnapshotAttributesArrayOutputWithContext(ctx context.Context) SnapshotAttributesArrayOutput { - return o -} - -func (o SnapshotAttributesArrayOutput) Index(i pulumi.IntInput) SnapshotAttributesOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SnapshotAttributes { - return vs[0].([]*SnapshotAttributes)[vs[1].(int)] - }).(SnapshotAttributesOutput) -} - -type SnapshotAttributesMapOutput struct{ *pulumi.OutputState } - -func (SnapshotAttributesMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*SnapshotAttributes)(nil)).Elem() -} - -func (o SnapshotAttributesMapOutput) ToSnapshotAttributesMapOutput() SnapshotAttributesMapOutput { - return o -} - -func (o SnapshotAttributesMapOutput) ToSnapshotAttributesMapOutputWithContext(ctx context.Context) SnapshotAttributesMapOutput { - return o -} - -func (o SnapshotAttributesMapOutput) MapIndex(k pulumi.StringInput) SnapshotAttributesOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SnapshotAttributes { - return vs[0].(map[string]*SnapshotAttributes)[vs[1].(string)] - }).(SnapshotAttributesOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*SnapshotAttributesInput)(nil)).Elem(), &SnapshotAttributes{}) - pulumi.RegisterInputType(reflect.TypeOf((*SnapshotAttributesArrayInput)(nil)).Elem(), SnapshotAttributesArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*SnapshotAttributesMapInput)(nil)).Elem(), SnapshotAttributesMap{}) - pulumi.RegisterOutputType(SnapshotAttributesOutput{}) - pulumi.RegisterOutputType(SnapshotAttributesArrayOutput{}) - pulumi.RegisterOutputType(SnapshotAttributesMapOutput{}) -} diff --git a/sdk/go/outscale/snapshotExportTask.go b/sdk/go/outscale/snapshotExportTask.go deleted file mode 100644 index 3b7036c..0000000 --- a/sdk/go/outscale/snapshotExportTask.go +++ /dev/null @@ -1,386 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "errors" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages a snapshot export task. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Snapshots.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-snapshot). -// -// ## Example Usage -// ### Required resources -// -// ```go -// package main -// -// import ( -// -// "fmt" -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// volume01, err := outscale.NewVolume(ctx, "volume01", &outscale.VolumeArgs{ -// SubregionName: pulumi.String(fmt.Sprintf("%va", _var.Region)), -// Size: pulumi.Int(40), -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewSnapshot(ctx, "snapshot01", &outscale.SnapshotArgs{ -// VolumeId: volume01.VolumeId, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Create a snapshot export task -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewSnapshotExportTask(ctx, "snapshotExportTask01", &outscale.SnapshotExportTaskArgs{ -// SnapshotId: pulumi.Any(outscale_snapshot.Snapshot01.Snapshot_id), -// OsuExports: outscale.SnapshotExportTaskOsuExportArray{ -// &outscale.SnapshotExportTaskOsuExportArgs{ -// DiskImageFormat: pulumi.String("qcow2"), -// OsuBucket: pulumi.String("terraform-bucket"), -// OsuPrefix: pulumi.String("new-export"), -// OsuApiKeys: outscale.SnapshotExportTaskOsuExportOsuApiKeyArray{ -// &outscale.SnapshotExportTaskOsuExportOsuApiKeyArgs{ -// ApiKeyId: pulumi.Any(_var.Access_key_id), -// SecretKey: pulumi.Any(_var.Secret_key_id), -// }, -// }, -// }, -// }, -// Tags: outscale.SnapshotExportTaskTagArray{ -// &outscale.SnapshotExportTaskTagArgs{ -// Key: pulumi.String("Name"), -// Value: pulumi.String("terraform-snapshot-export-task"), -// }, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -type SnapshotExportTask struct { - pulumi.CustomResourceState - - // If the snapshot export task fails, an error message appears. - Comment pulumi.StringOutput `pulumi:"comment"` - // Information about the OOS export task to create. - OsuExports SnapshotExportTaskOsuExportArrayOutput `pulumi:"osuExports"` - // The progress of the snapshot export task, as a percentage. - Progress pulumi.IntOutput `pulumi:"progress"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - // The ID of the snapshot to export. - SnapshotId pulumi.StringOutput `pulumi:"snapshotId"` - // The state of the snapshot export task (`pending` \| `active` \| `completed` \| `failed`). - State pulumi.StringOutput `pulumi:"state"` - // A tag to add to this resource. You can specify this argument several times. - Tags SnapshotExportTaskTagArrayOutput `pulumi:"tags"` - // The ID of the snapshot export task. - TaskId pulumi.StringOutput `pulumi:"taskId"` -} - -// NewSnapshotExportTask registers a new resource with the given unique name, arguments, and options. -func NewSnapshotExportTask(ctx *pulumi.Context, - name string, args *SnapshotExportTaskArgs, opts ...pulumi.ResourceOption) (*SnapshotExportTask, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.OsuExports == nil { - return nil, errors.New("invalid value for required argument 'OsuExports'") - } - if args.SnapshotId == nil { - return nil, errors.New("invalid value for required argument 'SnapshotId'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource SnapshotExportTask - err := ctx.RegisterResource("outscale:index/snapshotExportTask:SnapshotExportTask", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetSnapshotExportTask gets an existing SnapshotExportTask resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetSnapshotExportTask(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *SnapshotExportTaskState, opts ...pulumi.ResourceOption) (*SnapshotExportTask, error) { - var resource SnapshotExportTask - err := ctx.ReadResource("outscale:index/snapshotExportTask:SnapshotExportTask", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering SnapshotExportTask resources. -type snapshotExportTaskState struct { - // If the snapshot export task fails, an error message appears. - Comment *string `pulumi:"comment"` - // Information about the OOS export task to create. - OsuExports []SnapshotExportTaskOsuExport `pulumi:"osuExports"` - // The progress of the snapshot export task, as a percentage. - Progress *int `pulumi:"progress"` - RequestId *string `pulumi:"requestId"` - // The ID of the snapshot to export. - SnapshotId *string `pulumi:"snapshotId"` - // The state of the snapshot export task (`pending` \| `active` \| `completed` \| `failed`). - State *string `pulumi:"state"` - // A tag to add to this resource. You can specify this argument several times. - Tags []SnapshotExportTaskTag `pulumi:"tags"` - // The ID of the snapshot export task. - TaskId *string `pulumi:"taskId"` -} - -type SnapshotExportTaskState struct { - // If the snapshot export task fails, an error message appears. - Comment pulumi.StringPtrInput - // Information about the OOS export task to create. - OsuExports SnapshotExportTaskOsuExportArrayInput - // The progress of the snapshot export task, as a percentage. - Progress pulumi.IntPtrInput - RequestId pulumi.StringPtrInput - // The ID of the snapshot to export. - SnapshotId pulumi.StringPtrInput - // The state of the snapshot export task (`pending` \| `active` \| `completed` \| `failed`). - State pulumi.StringPtrInput - // A tag to add to this resource. You can specify this argument several times. - Tags SnapshotExportTaskTagArrayInput - // The ID of the snapshot export task. - TaskId pulumi.StringPtrInput -} - -func (SnapshotExportTaskState) ElementType() reflect.Type { - return reflect.TypeOf((*snapshotExportTaskState)(nil)).Elem() -} - -type snapshotExportTaskArgs struct { - // Information about the OOS export task to create. - OsuExports []SnapshotExportTaskOsuExport `pulumi:"osuExports"` - // The ID of the snapshot to export. - SnapshotId string `pulumi:"snapshotId"` - // A tag to add to this resource. You can specify this argument several times. - Tags []SnapshotExportTaskTag `pulumi:"tags"` -} - -// The set of arguments for constructing a SnapshotExportTask resource. -type SnapshotExportTaskArgs struct { - // Information about the OOS export task to create. - OsuExports SnapshotExportTaskOsuExportArrayInput - // The ID of the snapshot to export. - SnapshotId pulumi.StringInput - // A tag to add to this resource. You can specify this argument several times. - Tags SnapshotExportTaskTagArrayInput -} - -func (SnapshotExportTaskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*snapshotExportTaskArgs)(nil)).Elem() -} - -type SnapshotExportTaskInput interface { - pulumi.Input - - ToSnapshotExportTaskOutput() SnapshotExportTaskOutput - ToSnapshotExportTaskOutputWithContext(ctx context.Context) SnapshotExportTaskOutput -} - -func (*SnapshotExportTask) ElementType() reflect.Type { - return reflect.TypeOf((**SnapshotExportTask)(nil)).Elem() -} - -func (i *SnapshotExportTask) ToSnapshotExportTaskOutput() SnapshotExportTaskOutput { - return i.ToSnapshotExportTaskOutputWithContext(context.Background()) -} - -func (i *SnapshotExportTask) ToSnapshotExportTaskOutputWithContext(ctx context.Context) SnapshotExportTaskOutput { - return pulumi.ToOutputWithContext(ctx, i).(SnapshotExportTaskOutput) -} - -// SnapshotExportTaskArrayInput is an input type that accepts SnapshotExportTaskArray and SnapshotExportTaskArrayOutput values. -// You can construct a concrete instance of `SnapshotExportTaskArrayInput` via: -// -// SnapshotExportTaskArray{ SnapshotExportTaskArgs{...} } -type SnapshotExportTaskArrayInput interface { - pulumi.Input - - ToSnapshotExportTaskArrayOutput() SnapshotExportTaskArrayOutput - ToSnapshotExportTaskArrayOutputWithContext(context.Context) SnapshotExportTaskArrayOutput -} - -type SnapshotExportTaskArray []SnapshotExportTaskInput - -func (SnapshotExportTaskArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*SnapshotExportTask)(nil)).Elem() -} - -func (i SnapshotExportTaskArray) ToSnapshotExportTaskArrayOutput() SnapshotExportTaskArrayOutput { - return i.ToSnapshotExportTaskArrayOutputWithContext(context.Background()) -} - -func (i SnapshotExportTaskArray) ToSnapshotExportTaskArrayOutputWithContext(ctx context.Context) SnapshotExportTaskArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SnapshotExportTaskArrayOutput) -} - -// SnapshotExportTaskMapInput is an input type that accepts SnapshotExportTaskMap and SnapshotExportTaskMapOutput values. -// You can construct a concrete instance of `SnapshotExportTaskMapInput` via: -// -// SnapshotExportTaskMap{ "key": SnapshotExportTaskArgs{...} } -type SnapshotExportTaskMapInput interface { - pulumi.Input - - ToSnapshotExportTaskMapOutput() SnapshotExportTaskMapOutput - ToSnapshotExportTaskMapOutputWithContext(context.Context) SnapshotExportTaskMapOutput -} - -type SnapshotExportTaskMap map[string]SnapshotExportTaskInput - -func (SnapshotExportTaskMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*SnapshotExportTask)(nil)).Elem() -} - -func (i SnapshotExportTaskMap) ToSnapshotExportTaskMapOutput() SnapshotExportTaskMapOutput { - return i.ToSnapshotExportTaskMapOutputWithContext(context.Background()) -} - -func (i SnapshotExportTaskMap) ToSnapshotExportTaskMapOutputWithContext(ctx context.Context) SnapshotExportTaskMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(SnapshotExportTaskMapOutput) -} - -type SnapshotExportTaskOutput struct{ *pulumi.OutputState } - -func (SnapshotExportTaskOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SnapshotExportTask)(nil)).Elem() -} - -func (o SnapshotExportTaskOutput) ToSnapshotExportTaskOutput() SnapshotExportTaskOutput { - return o -} - -func (o SnapshotExportTaskOutput) ToSnapshotExportTaskOutputWithContext(ctx context.Context) SnapshotExportTaskOutput { - return o -} - -// If the snapshot export task fails, an error message appears. -func (o SnapshotExportTaskOutput) Comment() pulumi.StringOutput { - return o.ApplyT(func(v *SnapshotExportTask) pulumi.StringOutput { return v.Comment }).(pulumi.StringOutput) -} - -// Information about the OOS export task to create. -func (o SnapshotExportTaskOutput) OsuExports() SnapshotExportTaskOsuExportArrayOutput { - return o.ApplyT(func(v *SnapshotExportTask) SnapshotExportTaskOsuExportArrayOutput { return v.OsuExports }).(SnapshotExportTaskOsuExportArrayOutput) -} - -// The progress of the snapshot export task, as a percentage. -func (o SnapshotExportTaskOutput) Progress() pulumi.IntOutput { - return o.ApplyT(func(v *SnapshotExportTask) pulumi.IntOutput { return v.Progress }).(pulumi.IntOutput) -} - -func (o SnapshotExportTaskOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *SnapshotExportTask) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -// The ID of the snapshot to export. -func (o SnapshotExportTaskOutput) SnapshotId() pulumi.StringOutput { - return o.ApplyT(func(v *SnapshotExportTask) pulumi.StringOutput { return v.SnapshotId }).(pulumi.StringOutput) -} - -// The state of the snapshot export task (`pending` \| `active` \| `completed` \| `failed`). -func (o SnapshotExportTaskOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v *SnapshotExportTask) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) -} - -// A tag to add to this resource. You can specify this argument several times. -func (o SnapshotExportTaskOutput) Tags() SnapshotExportTaskTagArrayOutput { - return o.ApplyT(func(v *SnapshotExportTask) SnapshotExportTaskTagArrayOutput { return v.Tags }).(SnapshotExportTaskTagArrayOutput) -} - -// The ID of the snapshot export task. -func (o SnapshotExportTaskOutput) TaskId() pulumi.StringOutput { - return o.ApplyT(func(v *SnapshotExportTask) pulumi.StringOutput { return v.TaskId }).(pulumi.StringOutput) -} - -type SnapshotExportTaskArrayOutput struct{ *pulumi.OutputState } - -func (SnapshotExportTaskArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*SnapshotExportTask)(nil)).Elem() -} - -func (o SnapshotExportTaskArrayOutput) ToSnapshotExportTaskArrayOutput() SnapshotExportTaskArrayOutput { - return o -} - -func (o SnapshotExportTaskArrayOutput) ToSnapshotExportTaskArrayOutputWithContext(ctx context.Context) SnapshotExportTaskArrayOutput { - return o -} - -func (o SnapshotExportTaskArrayOutput) Index(i pulumi.IntInput) SnapshotExportTaskOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SnapshotExportTask { - return vs[0].([]*SnapshotExportTask)[vs[1].(int)] - }).(SnapshotExportTaskOutput) -} - -type SnapshotExportTaskMapOutput struct{ *pulumi.OutputState } - -func (SnapshotExportTaskMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*SnapshotExportTask)(nil)).Elem() -} - -func (o SnapshotExportTaskMapOutput) ToSnapshotExportTaskMapOutput() SnapshotExportTaskMapOutput { - return o -} - -func (o SnapshotExportTaskMapOutput) ToSnapshotExportTaskMapOutputWithContext(ctx context.Context) SnapshotExportTaskMapOutput { - return o -} - -func (o SnapshotExportTaskMapOutput) MapIndex(k pulumi.StringInput) SnapshotExportTaskOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SnapshotExportTask { - return vs[0].(map[string]*SnapshotExportTask)[vs[1].(string)] - }).(SnapshotExportTaskOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*SnapshotExportTaskInput)(nil)).Elem(), &SnapshotExportTask{}) - pulumi.RegisterInputType(reflect.TypeOf((*SnapshotExportTaskArrayInput)(nil)).Elem(), SnapshotExportTaskArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*SnapshotExportTaskMapInput)(nil)).Elem(), SnapshotExportTaskMap{}) - pulumi.RegisterOutputType(SnapshotExportTaskOutput{}) - pulumi.RegisterOutputType(SnapshotExportTaskArrayOutput{}) - pulumi.RegisterOutputType(SnapshotExportTaskMapOutput{}) -} diff --git a/sdk/go/outscale/subnet.go b/sdk/go/outscale/subnet.go deleted file mode 100644 index b5a26d4..0000000 --- a/sdk/go/outscale/subnet.go +++ /dev/null @@ -1,394 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "errors" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages a Subnet. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPCs.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-subnet). -// -// ## Example Usage -// ### Required resource -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewNet(ctx, "net01", &outscale.NetArgs{ -// IpRange: pulumi.String("10.0.0.0/16"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Create a subnet -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewSubnet(ctx, "subnet01", &outscale.SubnetArgs{ -// NetId: pulumi.Any(outscale_net.Net01.Net_id), -// IpRange: pulumi.String("10.0.0.0/18"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// A subnet can be imported using its ID. For exampleconsole -// -// ```sh -// -// $ pulumi import outscale:index/subnet:Subnet ImportedSubnet subnet-12345678 -// -// ``` -type Subnet struct { - pulumi.CustomResourceState - - // The number of available IPs in the Subnets. - AvailableIpsCount pulumi.IntOutput `pulumi:"availableIpsCount"` - // The IP range in the Subnet, in CIDR notation (for example, `10.0.0.0/16`).
- // The IP range of the Subnet can be either the same as the Net one if you create only a single Subnet in this Net, or a subset of the Net one. In case of several Subnets in a Net, their IP ranges must not overlap. The smallest Subnet you can create uses a /29 netmask (eight IPs). For more information, see [About VPCs](https://docs.outscale.com/en/userguide/About-VPCs.html). - IpRange pulumi.StringOutput `pulumi:"ipRange"` - // If true, a public IP is assigned to the network interface cards (NICs) created in the specified Subnet. - MapPublicIpOnLaunch pulumi.BoolPtrOutput `pulumi:"mapPublicIpOnLaunch"` - // The ID of the Net for which you want to create a Subnet. - NetId pulumi.StringOutput `pulumi:"netId"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - // The state of the Subnet (`pending` \| `available` \| `deleted`). - State pulumi.StringOutput `pulumi:"state"` - // The ID of the Subnet. - SubnetId pulumi.StringOutput `pulumi:"subnetId"` - // The name of the Subregion in which you want to create the Subnet. - SubregionName pulumi.StringOutput `pulumi:"subregionName"` - // A tag to add to this resource. You can specify this argument several times. - Tags SubnetTagArrayOutput `pulumi:"tags"` -} - -// NewSubnet registers a new resource with the given unique name, arguments, and options. -func NewSubnet(ctx *pulumi.Context, - name string, args *SubnetArgs, opts ...pulumi.ResourceOption) (*Subnet, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.IpRange == nil { - return nil, errors.New("invalid value for required argument 'IpRange'") - } - if args.NetId == nil { - return nil, errors.New("invalid value for required argument 'NetId'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource Subnet - err := ctx.RegisterResource("outscale:index/subnet:Subnet", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetSubnet gets an existing Subnet resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetSubnet(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *SubnetState, opts ...pulumi.ResourceOption) (*Subnet, error) { - var resource Subnet - err := ctx.ReadResource("outscale:index/subnet:Subnet", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering Subnet resources. -type subnetState struct { - // The number of available IPs in the Subnets. - AvailableIpsCount *int `pulumi:"availableIpsCount"` - // The IP range in the Subnet, in CIDR notation (for example, `10.0.0.0/16`).
- // The IP range of the Subnet can be either the same as the Net one if you create only a single Subnet in this Net, or a subset of the Net one. In case of several Subnets in a Net, their IP ranges must not overlap. The smallest Subnet you can create uses a /29 netmask (eight IPs). For more information, see [About VPCs](https://docs.outscale.com/en/userguide/About-VPCs.html). - IpRange *string `pulumi:"ipRange"` - // If true, a public IP is assigned to the network interface cards (NICs) created in the specified Subnet. - MapPublicIpOnLaunch *bool `pulumi:"mapPublicIpOnLaunch"` - // The ID of the Net for which you want to create a Subnet. - NetId *string `pulumi:"netId"` - RequestId *string `pulumi:"requestId"` - // The state of the Subnet (`pending` \| `available` \| `deleted`). - State *string `pulumi:"state"` - // The ID of the Subnet. - SubnetId *string `pulumi:"subnetId"` - // The name of the Subregion in which you want to create the Subnet. - SubregionName *string `pulumi:"subregionName"` - // A tag to add to this resource. You can specify this argument several times. - Tags []SubnetTag `pulumi:"tags"` -} - -type SubnetState struct { - // The number of available IPs in the Subnets. - AvailableIpsCount pulumi.IntPtrInput - // The IP range in the Subnet, in CIDR notation (for example, `10.0.0.0/16`).
- // The IP range of the Subnet can be either the same as the Net one if you create only a single Subnet in this Net, or a subset of the Net one. In case of several Subnets in a Net, their IP ranges must not overlap. The smallest Subnet you can create uses a /29 netmask (eight IPs). For more information, see [About VPCs](https://docs.outscale.com/en/userguide/About-VPCs.html). - IpRange pulumi.StringPtrInput - // If true, a public IP is assigned to the network interface cards (NICs) created in the specified Subnet. - MapPublicIpOnLaunch pulumi.BoolPtrInput - // The ID of the Net for which you want to create a Subnet. - NetId pulumi.StringPtrInput - RequestId pulumi.StringPtrInput - // The state of the Subnet (`pending` \| `available` \| `deleted`). - State pulumi.StringPtrInput - // The ID of the Subnet. - SubnetId pulumi.StringPtrInput - // The name of the Subregion in which you want to create the Subnet. - SubregionName pulumi.StringPtrInput - // A tag to add to this resource. You can specify this argument several times. - Tags SubnetTagArrayInput -} - -func (SubnetState) ElementType() reflect.Type { - return reflect.TypeOf((*subnetState)(nil)).Elem() -} - -type subnetArgs struct { - // The IP range in the Subnet, in CIDR notation (for example, `10.0.0.0/16`).
- // The IP range of the Subnet can be either the same as the Net one if you create only a single Subnet in this Net, or a subset of the Net one. In case of several Subnets in a Net, their IP ranges must not overlap. The smallest Subnet you can create uses a /29 netmask (eight IPs). For more information, see [About VPCs](https://docs.outscale.com/en/userguide/About-VPCs.html). - IpRange string `pulumi:"ipRange"` - // If true, a public IP is assigned to the network interface cards (NICs) created in the specified Subnet. - MapPublicIpOnLaunch *bool `pulumi:"mapPublicIpOnLaunch"` - // The ID of the Net for which you want to create a Subnet. - NetId string `pulumi:"netId"` - // The name of the Subregion in which you want to create the Subnet. - SubregionName *string `pulumi:"subregionName"` - // A tag to add to this resource. You can specify this argument several times. - Tags []SubnetTag `pulumi:"tags"` -} - -// The set of arguments for constructing a Subnet resource. -type SubnetArgs struct { - // The IP range in the Subnet, in CIDR notation (for example, `10.0.0.0/16`).
- // The IP range of the Subnet can be either the same as the Net one if you create only a single Subnet in this Net, or a subset of the Net one. In case of several Subnets in a Net, their IP ranges must not overlap. The smallest Subnet you can create uses a /29 netmask (eight IPs). For more information, see [About VPCs](https://docs.outscale.com/en/userguide/About-VPCs.html). - IpRange pulumi.StringInput - // If true, a public IP is assigned to the network interface cards (NICs) created in the specified Subnet. - MapPublicIpOnLaunch pulumi.BoolPtrInput - // The ID of the Net for which you want to create a Subnet. - NetId pulumi.StringInput - // The name of the Subregion in which you want to create the Subnet. - SubregionName pulumi.StringPtrInput - // A tag to add to this resource. You can specify this argument several times. - Tags SubnetTagArrayInput -} - -func (SubnetArgs) ElementType() reflect.Type { - return reflect.TypeOf((*subnetArgs)(nil)).Elem() -} - -type SubnetInput interface { - pulumi.Input - - ToSubnetOutput() SubnetOutput - ToSubnetOutputWithContext(ctx context.Context) SubnetOutput -} - -func (*Subnet) ElementType() reflect.Type { - return reflect.TypeOf((**Subnet)(nil)).Elem() -} - -func (i *Subnet) ToSubnetOutput() SubnetOutput { - return i.ToSubnetOutputWithContext(context.Background()) -} - -func (i *Subnet) ToSubnetOutputWithContext(ctx context.Context) SubnetOutput { - return pulumi.ToOutputWithContext(ctx, i).(SubnetOutput) -} - -// SubnetArrayInput is an input type that accepts SubnetArray and SubnetArrayOutput values. -// You can construct a concrete instance of `SubnetArrayInput` via: -// -// SubnetArray{ SubnetArgs{...} } -type SubnetArrayInput interface { - pulumi.Input - - ToSubnetArrayOutput() SubnetArrayOutput - ToSubnetArrayOutputWithContext(context.Context) SubnetArrayOutput -} - -type SubnetArray []SubnetInput - -func (SubnetArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*Subnet)(nil)).Elem() -} - -func (i SubnetArray) ToSubnetArrayOutput() SubnetArrayOutput { - return i.ToSubnetArrayOutputWithContext(context.Background()) -} - -func (i SubnetArray) ToSubnetArrayOutputWithContext(ctx context.Context) SubnetArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SubnetArrayOutput) -} - -// SubnetMapInput is an input type that accepts SubnetMap and SubnetMapOutput values. -// You can construct a concrete instance of `SubnetMapInput` via: -// -// SubnetMap{ "key": SubnetArgs{...} } -type SubnetMapInput interface { - pulumi.Input - - ToSubnetMapOutput() SubnetMapOutput - ToSubnetMapOutputWithContext(context.Context) SubnetMapOutput -} - -type SubnetMap map[string]SubnetInput - -func (SubnetMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*Subnet)(nil)).Elem() -} - -func (i SubnetMap) ToSubnetMapOutput() SubnetMapOutput { - return i.ToSubnetMapOutputWithContext(context.Background()) -} - -func (i SubnetMap) ToSubnetMapOutputWithContext(ctx context.Context) SubnetMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(SubnetMapOutput) -} - -type SubnetOutput struct{ *pulumi.OutputState } - -func (SubnetOutput) ElementType() reflect.Type { - return reflect.TypeOf((**Subnet)(nil)).Elem() -} - -func (o SubnetOutput) ToSubnetOutput() SubnetOutput { - return o -} - -func (o SubnetOutput) ToSubnetOutputWithContext(ctx context.Context) SubnetOutput { - return o -} - -// The number of available IPs in the Subnets. -func (o SubnetOutput) AvailableIpsCount() pulumi.IntOutput { - return o.ApplyT(func(v *Subnet) pulumi.IntOutput { return v.AvailableIpsCount }).(pulumi.IntOutput) -} - -// The IP range in the Subnet, in CIDR notation (for example, `10.0.0.0/16`).
-// The IP range of the Subnet can be either the same as the Net one if you create only a single Subnet in this Net, or a subset of the Net one. In case of several Subnets in a Net, their IP ranges must not overlap. The smallest Subnet you can create uses a /29 netmask (eight IPs). For more information, see [About VPCs](https://docs.outscale.com/en/userguide/About-VPCs.html). -func (o SubnetOutput) IpRange() pulumi.StringOutput { - return o.ApplyT(func(v *Subnet) pulumi.StringOutput { return v.IpRange }).(pulumi.StringOutput) -} - -// If true, a public IP is assigned to the network interface cards (NICs) created in the specified Subnet. -func (o SubnetOutput) MapPublicIpOnLaunch() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *Subnet) pulumi.BoolPtrOutput { return v.MapPublicIpOnLaunch }).(pulumi.BoolPtrOutput) -} - -// The ID of the Net for which you want to create a Subnet. -func (o SubnetOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v *Subnet) pulumi.StringOutput { return v.NetId }).(pulumi.StringOutput) -} - -func (o SubnetOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *Subnet) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -// The state of the Subnet (`pending` \| `available` \| `deleted`). -func (o SubnetOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v *Subnet) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) -} - -// The ID of the Subnet. -func (o SubnetOutput) SubnetId() pulumi.StringOutput { - return o.ApplyT(func(v *Subnet) pulumi.StringOutput { return v.SubnetId }).(pulumi.StringOutput) -} - -// The name of the Subregion in which you want to create the Subnet. -func (o SubnetOutput) SubregionName() pulumi.StringOutput { - return o.ApplyT(func(v *Subnet) pulumi.StringOutput { return v.SubregionName }).(pulumi.StringOutput) -} - -// A tag to add to this resource. You can specify this argument several times. -func (o SubnetOutput) Tags() SubnetTagArrayOutput { - return o.ApplyT(func(v *Subnet) SubnetTagArrayOutput { return v.Tags }).(SubnetTagArrayOutput) -} - -type SubnetArrayOutput struct{ *pulumi.OutputState } - -func (SubnetArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*Subnet)(nil)).Elem() -} - -func (o SubnetArrayOutput) ToSubnetArrayOutput() SubnetArrayOutput { - return o -} - -func (o SubnetArrayOutput) ToSubnetArrayOutputWithContext(ctx context.Context) SubnetArrayOutput { - return o -} - -func (o SubnetArrayOutput) Index(i pulumi.IntInput) SubnetOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Subnet { - return vs[0].([]*Subnet)[vs[1].(int)] - }).(SubnetOutput) -} - -type SubnetMapOutput struct{ *pulumi.OutputState } - -func (SubnetMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*Subnet)(nil)).Elem() -} - -func (o SubnetMapOutput) ToSubnetMapOutput() SubnetMapOutput { - return o -} - -func (o SubnetMapOutput) ToSubnetMapOutputWithContext(ctx context.Context) SubnetMapOutput { - return o -} - -func (o SubnetMapOutput) MapIndex(k pulumi.StringInput) SubnetOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Subnet { - return vs[0].(map[string]*Subnet)[vs[1].(string)] - }).(SubnetOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*SubnetInput)(nil)).Elem(), &Subnet{}) - pulumi.RegisterInputType(reflect.TypeOf((*SubnetArrayInput)(nil)).Elem(), SubnetArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*SubnetMapInput)(nil)).Elem(), SubnetMap{}) - pulumi.RegisterOutputType(SubnetOutput{}) - pulumi.RegisterOutputType(SubnetArrayOutput{}) - pulumi.RegisterOutputType(SubnetMapOutput{}) -} diff --git a/sdk/go/outscale/tag.go b/sdk/go/outscale/tag.go deleted file mode 100644 index 7d48341..0000000 --- a/sdk/go/outscale/tag.go +++ /dev/null @@ -1,231 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -type Tag struct { - pulumi.CustomResourceState - - RequestId pulumi.StringOutput `pulumi:"requestId"` - ResourceIds pulumi.StringArrayOutput `pulumi:"resourceIds"` - Tag TagTagArrayOutput `pulumi:"tag"` - Tags TagTagArrayOutput `pulumi:"tags"` -} - -// NewTag registers a new resource with the given unique name, arguments, and options. -func NewTag(ctx *pulumi.Context, - name string, args *TagArgs, opts ...pulumi.ResourceOption) (*Tag, error) { - if args == nil { - args = &TagArgs{} - } - - opts = internal.PkgResourceDefaultOpts(opts) - var resource Tag - err := ctx.RegisterResource("outscale:index/tag:Tag", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetTag gets an existing Tag resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetTag(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *TagState, opts ...pulumi.ResourceOption) (*Tag, error) { - var resource Tag - err := ctx.ReadResource("outscale:index/tag:Tag", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering Tag resources. -type tagState struct { - RequestId *string `pulumi:"requestId"` - ResourceIds []string `pulumi:"resourceIds"` - Tag []TagTag `pulumi:"tag"` - Tags []TagTag `pulumi:"tags"` -} - -type TagState struct { - RequestId pulumi.StringPtrInput - ResourceIds pulumi.StringArrayInput - Tag TagTagArrayInput - Tags TagTagArrayInput -} - -func (TagState) ElementType() reflect.Type { - return reflect.TypeOf((*tagState)(nil)).Elem() -} - -type tagArgs struct { - ResourceIds []string `pulumi:"resourceIds"` - Tag []TagTag `pulumi:"tag"` -} - -// The set of arguments for constructing a Tag resource. -type TagArgs struct { - ResourceIds pulumi.StringArrayInput - Tag TagTagArrayInput -} - -func (TagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*tagArgs)(nil)).Elem() -} - -type TagInput interface { - pulumi.Input - - ToTagOutput() TagOutput - ToTagOutputWithContext(ctx context.Context) TagOutput -} - -func (*Tag) ElementType() reflect.Type { - return reflect.TypeOf((**Tag)(nil)).Elem() -} - -func (i *Tag) ToTagOutput() TagOutput { - return i.ToTagOutputWithContext(context.Background()) -} - -func (i *Tag) ToTagOutputWithContext(ctx context.Context) TagOutput { - return pulumi.ToOutputWithContext(ctx, i).(TagOutput) -} - -// TagArrayInput is an input type that accepts TagArray and TagArrayOutput values. -// You can construct a concrete instance of `TagArrayInput` via: -// -// TagArray{ TagArgs{...} } -type TagArrayInput interface { - pulumi.Input - - ToTagArrayOutput() TagArrayOutput - ToTagArrayOutputWithContext(context.Context) TagArrayOutput -} - -type TagArray []TagInput - -func (TagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*Tag)(nil)).Elem() -} - -func (i TagArray) ToTagArrayOutput() TagArrayOutput { - return i.ToTagArrayOutputWithContext(context.Background()) -} - -func (i TagArray) ToTagArrayOutputWithContext(ctx context.Context) TagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(TagArrayOutput) -} - -// TagMapInput is an input type that accepts TagMap and TagMapOutput values. -// You can construct a concrete instance of `TagMapInput` via: -// -// TagMap{ "key": TagArgs{...} } -type TagMapInput interface { - pulumi.Input - - ToTagMapOutput() TagMapOutput - ToTagMapOutputWithContext(context.Context) TagMapOutput -} - -type TagMap map[string]TagInput - -func (TagMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*Tag)(nil)).Elem() -} - -func (i TagMap) ToTagMapOutput() TagMapOutput { - return i.ToTagMapOutputWithContext(context.Background()) -} - -func (i TagMap) ToTagMapOutputWithContext(ctx context.Context) TagMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(TagMapOutput) -} - -type TagOutput struct{ *pulumi.OutputState } - -func (TagOutput) ElementType() reflect.Type { - return reflect.TypeOf((**Tag)(nil)).Elem() -} - -func (o TagOutput) ToTagOutput() TagOutput { - return o -} - -func (o TagOutput) ToTagOutputWithContext(ctx context.Context) TagOutput { - return o -} - -func (o TagOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *Tag) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -func (o TagOutput) ResourceIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v *Tag) pulumi.StringArrayOutput { return v.ResourceIds }).(pulumi.StringArrayOutput) -} - -func (o TagOutput) Tag() TagTagArrayOutput { - return o.ApplyT(func(v *Tag) TagTagArrayOutput { return v.Tag }).(TagTagArrayOutput) -} - -func (o TagOutput) Tags() TagTagArrayOutput { - return o.ApplyT(func(v *Tag) TagTagArrayOutput { return v.Tags }).(TagTagArrayOutput) -} - -type TagArrayOutput struct{ *pulumi.OutputState } - -func (TagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*Tag)(nil)).Elem() -} - -func (o TagArrayOutput) ToTagArrayOutput() TagArrayOutput { - return o -} - -func (o TagArrayOutput) ToTagArrayOutputWithContext(ctx context.Context) TagArrayOutput { - return o -} - -func (o TagArrayOutput) Index(i pulumi.IntInput) TagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Tag { - return vs[0].([]*Tag)[vs[1].(int)] - }).(TagOutput) -} - -type TagMapOutput struct{ *pulumi.OutputState } - -func (TagMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*Tag)(nil)).Elem() -} - -func (o TagMapOutput) ToTagMapOutput() TagMapOutput { - return o -} - -func (o TagMapOutput) ToTagMapOutputWithContext(ctx context.Context) TagMapOutput { - return o -} - -func (o TagMapOutput) MapIndex(k pulumi.StringInput) TagOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Tag { - return vs[0].(map[string]*Tag)[vs[1].(string)] - }).(TagOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*TagInput)(nil)).Elem(), &Tag{}) - pulumi.RegisterInputType(reflect.TypeOf((*TagArrayInput)(nil)).Elem(), TagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*TagMapInput)(nil)).Elem(), TagMap{}) - pulumi.RegisterOutputType(TagOutput{}) - pulumi.RegisterOutputType(TagArrayOutput{}) - pulumi.RegisterOutputType(TagMapOutput{}) -} diff --git a/sdk/go/outscale/virtualGateway.go b/sdk/go/outscale/virtualGateway.go deleted file mode 100644 index 5d17f6d..0000000 --- a/sdk/go/outscale/virtualGateway.go +++ /dev/null @@ -1,335 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "errors" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages a virtual gateway. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Virtual-Private-Gateways.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-virtualgateway). -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewVirtualGateway(ctx, "virtualGateway01", &outscale.VirtualGatewayArgs{ -// ConnectionType: pulumi.String("ipsec.1"), -// Tags: outscale.VirtualGatewayTagArray{ -// &outscale.VirtualGatewayTagArgs{ -// Key: pulumi.String("name"), -// Value: pulumi.String("terraform-virtual-gateway"), -// }, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// A virtual gateway can be imported using its ID. For exampleconsole -// -// ```sh -// -// $ pulumi import outscale:index/virtualGateway:VirtualGateway ImportedVirtualGateway vgw-12345678 -// -// ``` -type VirtualGateway struct { - pulumi.CustomResourceState - - // The type of VPN connection supported by the virtual gateway (only `ipsec.1` is supported). - ConnectionType pulumi.StringOutput `pulumi:"connectionType"` - // The Net to which the virtual gateway is attached. - NetToVirtualGatewayLinks VirtualGatewayNetToVirtualGatewayLinkArrayOutput `pulumi:"netToVirtualGatewayLinks"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - // The state of the virtual gateway (`pending` \| `available` \| `deleting` \| `deleted`). - State pulumi.StringOutput `pulumi:"state"` - // A tag to add to this resource. You can specify this argument several times. - Tags VirtualGatewayTagArrayOutput `pulumi:"tags"` - // The ID of the virtual gateway. - VirtualGatewayId pulumi.StringOutput `pulumi:"virtualGatewayId"` -} - -// NewVirtualGateway registers a new resource with the given unique name, arguments, and options. -func NewVirtualGateway(ctx *pulumi.Context, - name string, args *VirtualGatewayArgs, opts ...pulumi.ResourceOption) (*VirtualGateway, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.ConnectionType == nil { - return nil, errors.New("invalid value for required argument 'ConnectionType'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource VirtualGateway - err := ctx.RegisterResource("outscale:index/virtualGateway:VirtualGateway", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetVirtualGateway gets an existing VirtualGateway resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetVirtualGateway(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *VirtualGatewayState, opts ...pulumi.ResourceOption) (*VirtualGateway, error) { - var resource VirtualGateway - err := ctx.ReadResource("outscale:index/virtualGateway:VirtualGateway", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering VirtualGateway resources. -type virtualGatewayState struct { - // The type of VPN connection supported by the virtual gateway (only `ipsec.1` is supported). - ConnectionType *string `pulumi:"connectionType"` - // The Net to which the virtual gateway is attached. - NetToVirtualGatewayLinks []VirtualGatewayNetToVirtualGatewayLink `pulumi:"netToVirtualGatewayLinks"` - RequestId *string `pulumi:"requestId"` - // The state of the virtual gateway (`pending` \| `available` \| `deleting` \| `deleted`). - State *string `pulumi:"state"` - // A tag to add to this resource. You can specify this argument several times. - Tags []VirtualGatewayTag `pulumi:"tags"` - // The ID of the virtual gateway. - VirtualGatewayId *string `pulumi:"virtualGatewayId"` -} - -type VirtualGatewayState struct { - // The type of VPN connection supported by the virtual gateway (only `ipsec.1` is supported). - ConnectionType pulumi.StringPtrInput - // The Net to which the virtual gateway is attached. - NetToVirtualGatewayLinks VirtualGatewayNetToVirtualGatewayLinkArrayInput - RequestId pulumi.StringPtrInput - // The state of the virtual gateway (`pending` \| `available` \| `deleting` \| `deleted`). - State pulumi.StringPtrInput - // A tag to add to this resource. You can specify this argument several times. - Tags VirtualGatewayTagArrayInput - // The ID of the virtual gateway. - VirtualGatewayId pulumi.StringPtrInput -} - -func (VirtualGatewayState) ElementType() reflect.Type { - return reflect.TypeOf((*virtualGatewayState)(nil)).Elem() -} - -type virtualGatewayArgs struct { - // The type of VPN connection supported by the virtual gateway (only `ipsec.1` is supported). - ConnectionType string `pulumi:"connectionType"` - // The Net to which the virtual gateway is attached. - NetToVirtualGatewayLinks []VirtualGatewayNetToVirtualGatewayLink `pulumi:"netToVirtualGatewayLinks"` - RequestId *string `pulumi:"requestId"` - // The state of the virtual gateway (`pending` \| `available` \| `deleting` \| `deleted`). - State *string `pulumi:"state"` - // A tag to add to this resource. You can specify this argument several times. - Tags []VirtualGatewayTag `pulumi:"tags"` - // The ID of the virtual gateway. - VirtualGatewayId *string `pulumi:"virtualGatewayId"` -} - -// The set of arguments for constructing a VirtualGateway resource. -type VirtualGatewayArgs struct { - // The type of VPN connection supported by the virtual gateway (only `ipsec.1` is supported). - ConnectionType pulumi.StringInput - // The Net to which the virtual gateway is attached. - NetToVirtualGatewayLinks VirtualGatewayNetToVirtualGatewayLinkArrayInput - RequestId pulumi.StringPtrInput - // The state of the virtual gateway (`pending` \| `available` \| `deleting` \| `deleted`). - State pulumi.StringPtrInput - // A tag to add to this resource. You can specify this argument several times. - Tags VirtualGatewayTagArrayInput - // The ID of the virtual gateway. - VirtualGatewayId pulumi.StringPtrInput -} - -func (VirtualGatewayArgs) ElementType() reflect.Type { - return reflect.TypeOf((*virtualGatewayArgs)(nil)).Elem() -} - -type VirtualGatewayInput interface { - pulumi.Input - - ToVirtualGatewayOutput() VirtualGatewayOutput - ToVirtualGatewayOutputWithContext(ctx context.Context) VirtualGatewayOutput -} - -func (*VirtualGateway) ElementType() reflect.Type { - return reflect.TypeOf((**VirtualGateway)(nil)).Elem() -} - -func (i *VirtualGateway) ToVirtualGatewayOutput() VirtualGatewayOutput { - return i.ToVirtualGatewayOutputWithContext(context.Background()) -} - -func (i *VirtualGateway) ToVirtualGatewayOutputWithContext(ctx context.Context) VirtualGatewayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VirtualGatewayOutput) -} - -// VirtualGatewayArrayInput is an input type that accepts VirtualGatewayArray and VirtualGatewayArrayOutput values. -// You can construct a concrete instance of `VirtualGatewayArrayInput` via: -// -// VirtualGatewayArray{ VirtualGatewayArgs{...} } -type VirtualGatewayArrayInput interface { - pulumi.Input - - ToVirtualGatewayArrayOutput() VirtualGatewayArrayOutput - ToVirtualGatewayArrayOutputWithContext(context.Context) VirtualGatewayArrayOutput -} - -type VirtualGatewayArray []VirtualGatewayInput - -func (VirtualGatewayArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*VirtualGateway)(nil)).Elem() -} - -func (i VirtualGatewayArray) ToVirtualGatewayArrayOutput() VirtualGatewayArrayOutput { - return i.ToVirtualGatewayArrayOutputWithContext(context.Background()) -} - -func (i VirtualGatewayArray) ToVirtualGatewayArrayOutputWithContext(ctx context.Context) VirtualGatewayArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VirtualGatewayArrayOutput) -} - -// VirtualGatewayMapInput is an input type that accepts VirtualGatewayMap and VirtualGatewayMapOutput values. -// You can construct a concrete instance of `VirtualGatewayMapInput` via: -// -// VirtualGatewayMap{ "key": VirtualGatewayArgs{...} } -type VirtualGatewayMapInput interface { - pulumi.Input - - ToVirtualGatewayMapOutput() VirtualGatewayMapOutput - ToVirtualGatewayMapOutputWithContext(context.Context) VirtualGatewayMapOutput -} - -type VirtualGatewayMap map[string]VirtualGatewayInput - -func (VirtualGatewayMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*VirtualGateway)(nil)).Elem() -} - -func (i VirtualGatewayMap) ToVirtualGatewayMapOutput() VirtualGatewayMapOutput { - return i.ToVirtualGatewayMapOutputWithContext(context.Background()) -} - -func (i VirtualGatewayMap) ToVirtualGatewayMapOutputWithContext(ctx context.Context) VirtualGatewayMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(VirtualGatewayMapOutput) -} - -type VirtualGatewayOutput struct{ *pulumi.OutputState } - -func (VirtualGatewayOutput) ElementType() reflect.Type { - return reflect.TypeOf((**VirtualGateway)(nil)).Elem() -} - -func (o VirtualGatewayOutput) ToVirtualGatewayOutput() VirtualGatewayOutput { - return o -} - -func (o VirtualGatewayOutput) ToVirtualGatewayOutputWithContext(ctx context.Context) VirtualGatewayOutput { - return o -} - -// The type of VPN connection supported by the virtual gateway (only `ipsec.1` is supported). -func (o VirtualGatewayOutput) ConnectionType() pulumi.StringOutput { - return o.ApplyT(func(v *VirtualGateway) pulumi.StringOutput { return v.ConnectionType }).(pulumi.StringOutput) -} - -// The Net to which the virtual gateway is attached. -func (o VirtualGatewayOutput) NetToVirtualGatewayLinks() VirtualGatewayNetToVirtualGatewayLinkArrayOutput { - return o.ApplyT(func(v *VirtualGateway) VirtualGatewayNetToVirtualGatewayLinkArrayOutput { - return v.NetToVirtualGatewayLinks - }).(VirtualGatewayNetToVirtualGatewayLinkArrayOutput) -} - -func (o VirtualGatewayOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *VirtualGateway) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -// The state of the virtual gateway (`pending` \| `available` \| `deleting` \| `deleted`). -func (o VirtualGatewayOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v *VirtualGateway) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) -} - -// A tag to add to this resource. You can specify this argument several times. -func (o VirtualGatewayOutput) Tags() VirtualGatewayTagArrayOutput { - return o.ApplyT(func(v *VirtualGateway) VirtualGatewayTagArrayOutput { return v.Tags }).(VirtualGatewayTagArrayOutput) -} - -// The ID of the virtual gateway. -func (o VirtualGatewayOutput) VirtualGatewayId() pulumi.StringOutput { - return o.ApplyT(func(v *VirtualGateway) pulumi.StringOutput { return v.VirtualGatewayId }).(pulumi.StringOutput) -} - -type VirtualGatewayArrayOutput struct{ *pulumi.OutputState } - -func (VirtualGatewayArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*VirtualGateway)(nil)).Elem() -} - -func (o VirtualGatewayArrayOutput) ToVirtualGatewayArrayOutput() VirtualGatewayArrayOutput { - return o -} - -func (o VirtualGatewayArrayOutput) ToVirtualGatewayArrayOutputWithContext(ctx context.Context) VirtualGatewayArrayOutput { - return o -} - -func (o VirtualGatewayArrayOutput) Index(i pulumi.IntInput) VirtualGatewayOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *VirtualGateway { - return vs[0].([]*VirtualGateway)[vs[1].(int)] - }).(VirtualGatewayOutput) -} - -type VirtualGatewayMapOutput struct{ *pulumi.OutputState } - -func (VirtualGatewayMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*VirtualGateway)(nil)).Elem() -} - -func (o VirtualGatewayMapOutput) ToVirtualGatewayMapOutput() VirtualGatewayMapOutput { - return o -} - -func (o VirtualGatewayMapOutput) ToVirtualGatewayMapOutputWithContext(ctx context.Context) VirtualGatewayMapOutput { - return o -} - -func (o VirtualGatewayMapOutput) MapIndex(k pulumi.StringInput) VirtualGatewayOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *VirtualGateway { - return vs[0].(map[string]*VirtualGateway)[vs[1].(string)] - }).(VirtualGatewayOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*VirtualGatewayInput)(nil)).Elem(), &VirtualGateway{}) - pulumi.RegisterInputType(reflect.TypeOf((*VirtualGatewayArrayInput)(nil)).Elem(), VirtualGatewayArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*VirtualGatewayMapInput)(nil)).Elem(), VirtualGatewayMap{}) - pulumi.RegisterOutputType(VirtualGatewayOutput{}) - pulumi.RegisterOutputType(VirtualGatewayArrayOutput{}) - pulumi.RegisterOutputType(VirtualGatewayMapOutput{}) -} diff --git a/sdk/go/outscale/virtualGatewayLink.go b/sdk/go/outscale/virtualGatewayLink.go deleted file mode 100644 index 6b2ddb1..0000000 --- a/sdk/go/outscale/virtualGatewayLink.go +++ /dev/null @@ -1,334 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "errors" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages a virtual gateway link. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Virtual-Private-Gateways.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-virtualgateway). -// -// ## Example Usage -// ### Required resources -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewVirtualGateway(ctx, "virtualGateway01", &outscale.VirtualGatewayArgs{ -// ConnectionType: pulumi.String("ipsec.1"), -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewNet(ctx, "net01", &outscale.NetArgs{ -// IpRange: pulumi.String("10.0.0.0/16"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Link a virtual gateway to a Net -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewVirtualGatewayLink(ctx, "virtualGatewayLink01", &outscale.VirtualGatewayLinkArgs{ -// VirtualGatewayId: pulumi.Any(outscale_virtual_gateway.Virtual_gateway01.Virtual_gateway_id), -// NetId: pulumi.Any(outscale_net.Net01.Net_id), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// A virtual gateway link can be imported using its virtual gateway ID. For exampleconsole -// -// ```sh -// -// $ pulumi import outscale:index/virtualGatewayLink:VirtualGatewayLink ImportedVirtualGatewayLink vgw-12345678 -// -// ``` -type VirtualGatewayLink struct { - pulumi.CustomResourceState - - DryRun pulumi.StringOutput `pulumi:"dryRun"` - // The ID of the Net to which you want to attach the virtual gateway. - NetId pulumi.StringOutput `pulumi:"netId"` - NetToVirtualGatewayLinks VirtualGatewayLinkNetToVirtualGatewayLinkArrayOutput `pulumi:"netToVirtualGatewayLinks"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - // The ID of the virtual gateway. - VirtualGatewayId pulumi.StringOutput `pulumi:"virtualGatewayId"` -} - -// NewVirtualGatewayLink registers a new resource with the given unique name, arguments, and options. -func NewVirtualGatewayLink(ctx *pulumi.Context, - name string, args *VirtualGatewayLinkArgs, opts ...pulumi.ResourceOption) (*VirtualGatewayLink, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.NetId == nil { - return nil, errors.New("invalid value for required argument 'NetId'") - } - if args.VirtualGatewayId == nil { - return nil, errors.New("invalid value for required argument 'VirtualGatewayId'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource VirtualGatewayLink - err := ctx.RegisterResource("outscale:index/virtualGatewayLink:VirtualGatewayLink", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetVirtualGatewayLink gets an existing VirtualGatewayLink resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetVirtualGatewayLink(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *VirtualGatewayLinkState, opts ...pulumi.ResourceOption) (*VirtualGatewayLink, error) { - var resource VirtualGatewayLink - err := ctx.ReadResource("outscale:index/virtualGatewayLink:VirtualGatewayLink", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering VirtualGatewayLink resources. -type virtualGatewayLinkState struct { - DryRun *string `pulumi:"dryRun"` - // The ID of the Net to which you want to attach the virtual gateway. - NetId *string `pulumi:"netId"` - NetToVirtualGatewayLinks []VirtualGatewayLinkNetToVirtualGatewayLink `pulumi:"netToVirtualGatewayLinks"` - RequestId *string `pulumi:"requestId"` - // The ID of the virtual gateway. - VirtualGatewayId *string `pulumi:"virtualGatewayId"` -} - -type VirtualGatewayLinkState struct { - DryRun pulumi.StringPtrInput - // The ID of the Net to which you want to attach the virtual gateway. - NetId pulumi.StringPtrInput - NetToVirtualGatewayLinks VirtualGatewayLinkNetToVirtualGatewayLinkArrayInput - RequestId pulumi.StringPtrInput - // The ID of the virtual gateway. - VirtualGatewayId pulumi.StringPtrInput -} - -func (VirtualGatewayLinkState) ElementType() reflect.Type { - return reflect.TypeOf((*virtualGatewayLinkState)(nil)).Elem() -} - -type virtualGatewayLinkArgs struct { - DryRun *string `pulumi:"dryRun"` - // The ID of the Net to which you want to attach the virtual gateway. - NetId string `pulumi:"netId"` - // The ID of the virtual gateway. - VirtualGatewayId string `pulumi:"virtualGatewayId"` -} - -// The set of arguments for constructing a VirtualGatewayLink resource. -type VirtualGatewayLinkArgs struct { - DryRun pulumi.StringPtrInput - // The ID of the Net to which you want to attach the virtual gateway. - NetId pulumi.StringInput - // The ID of the virtual gateway. - VirtualGatewayId pulumi.StringInput -} - -func (VirtualGatewayLinkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*virtualGatewayLinkArgs)(nil)).Elem() -} - -type VirtualGatewayLinkInput interface { - pulumi.Input - - ToVirtualGatewayLinkOutput() VirtualGatewayLinkOutput - ToVirtualGatewayLinkOutputWithContext(ctx context.Context) VirtualGatewayLinkOutput -} - -func (*VirtualGatewayLink) ElementType() reflect.Type { - return reflect.TypeOf((**VirtualGatewayLink)(nil)).Elem() -} - -func (i *VirtualGatewayLink) ToVirtualGatewayLinkOutput() VirtualGatewayLinkOutput { - return i.ToVirtualGatewayLinkOutputWithContext(context.Background()) -} - -func (i *VirtualGatewayLink) ToVirtualGatewayLinkOutputWithContext(ctx context.Context) VirtualGatewayLinkOutput { - return pulumi.ToOutputWithContext(ctx, i).(VirtualGatewayLinkOutput) -} - -// VirtualGatewayLinkArrayInput is an input type that accepts VirtualGatewayLinkArray and VirtualGatewayLinkArrayOutput values. -// You can construct a concrete instance of `VirtualGatewayLinkArrayInput` via: -// -// VirtualGatewayLinkArray{ VirtualGatewayLinkArgs{...} } -type VirtualGatewayLinkArrayInput interface { - pulumi.Input - - ToVirtualGatewayLinkArrayOutput() VirtualGatewayLinkArrayOutput - ToVirtualGatewayLinkArrayOutputWithContext(context.Context) VirtualGatewayLinkArrayOutput -} - -type VirtualGatewayLinkArray []VirtualGatewayLinkInput - -func (VirtualGatewayLinkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*VirtualGatewayLink)(nil)).Elem() -} - -func (i VirtualGatewayLinkArray) ToVirtualGatewayLinkArrayOutput() VirtualGatewayLinkArrayOutput { - return i.ToVirtualGatewayLinkArrayOutputWithContext(context.Background()) -} - -func (i VirtualGatewayLinkArray) ToVirtualGatewayLinkArrayOutputWithContext(ctx context.Context) VirtualGatewayLinkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VirtualGatewayLinkArrayOutput) -} - -// VirtualGatewayLinkMapInput is an input type that accepts VirtualGatewayLinkMap and VirtualGatewayLinkMapOutput values. -// You can construct a concrete instance of `VirtualGatewayLinkMapInput` via: -// -// VirtualGatewayLinkMap{ "key": VirtualGatewayLinkArgs{...} } -type VirtualGatewayLinkMapInput interface { - pulumi.Input - - ToVirtualGatewayLinkMapOutput() VirtualGatewayLinkMapOutput - ToVirtualGatewayLinkMapOutputWithContext(context.Context) VirtualGatewayLinkMapOutput -} - -type VirtualGatewayLinkMap map[string]VirtualGatewayLinkInput - -func (VirtualGatewayLinkMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*VirtualGatewayLink)(nil)).Elem() -} - -func (i VirtualGatewayLinkMap) ToVirtualGatewayLinkMapOutput() VirtualGatewayLinkMapOutput { - return i.ToVirtualGatewayLinkMapOutputWithContext(context.Background()) -} - -func (i VirtualGatewayLinkMap) ToVirtualGatewayLinkMapOutputWithContext(ctx context.Context) VirtualGatewayLinkMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(VirtualGatewayLinkMapOutput) -} - -type VirtualGatewayLinkOutput struct{ *pulumi.OutputState } - -func (VirtualGatewayLinkOutput) ElementType() reflect.Type { - return reflect.TypeOf((**VirtualGatewayLink)(nil)).Elem() -} - -func (o VirtualGatewayLinkOutput) ToVirtualGatewayLinkOutput() VirtualGatewayLinkOutput { - return o -} - -func (o VirtualGatewayLinkOutput) ToVirtualGatewayLinkOutputWithContext(ctx context.Context) VirtualGatewayLinkOutput { - return o -} - -func (o VirtualGatewayLinkOutput) DryRun() pulumi.StringOutput { - return o.ApplyT(func(v *VirtualGatewayLink) pulumi.StringOutput { return v.DryRun }).(pulumi.StringOutput) -} - -// The ID of the Net to which you want to attach the virtual gateway. -func (o VirtualGatewayLinkOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v *VirtualGatewayLink) pulumi.StringOutput { return v.NetId }).(pulumi.StringOutput) -} - -func (o VirtualGatewayLinkOutput) NetToVirtualGatewayLinks() VirtualGatewayLinkNetToVirtualGatewayLinkArrayOutput { - return o.ApplyT(func(v *VirtualGatewayLink) VirtualGatewayLinkNetToVirtualGatewayLinkArrayOutput { - return v.NetToVirtualGatewayLinks - }).(VirtualGatewayLinkNetToVirtualGatewayLinkArrayOutput) -} - -func (o VirtualGatewayLinkOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *VirtualGatewayLink) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -// The ID of the virtual gateway. -func (o VirtualGatewayLinkOutput) VirtualGatewayId() pulumi.StringOutput { - return o.ApplyT(func(v *VirtualGatewayLink) pulumi.StringOutput { return v.VirtualGatewayId }).(pulumi.StringOutput) -} - -type VirtualGatewayLinkArrayOutput struct{ *pulumi.OutputState } - -func (VirtualGatewayLinkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*VirtualGatewayLink)(nil)).Elem() -} - -func (o VirtualGatewayLinkArrayOutput) ToVirtualGatewayLinkArrayOutput() VirtualGatewayLinkArrayOutput { - return o -} - -func (o VirtualGatewayLinkArrayOutput) ToVirtualGatewayLinkArrayOutputWithContext(ctx context.Context) VirtualGatewayLinkArrayOutput { - return o -} - -func (o VirtualGatewayLinkArrayOutput) Index(i pulumi.IntInput) VirtualGatewayLinkOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *VirtualGatewayLink { - return vs[0].([]*VirtualGatewayLink)[vs[1].(int)] - }).(VirtualGatewayLinkOutput) -} - -type VirtualGatewayLinkMapOutput struct{ *pulumi.OutputState } - -func (VirtualGatewayLinkMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*VirtualGatewayLink)(nil)).Elem() -} - -func (o VirtualGatewayLinkMapOutput) ToVirtualGatewayLinkMapOutput() VirtualGatewayLinkMapOutput { - return o -} - -func (o VirtualGatewayLinkMapOutput) ToVirtualGatewayLinkMapOutputWithContext(ctx context.Context) VirtualGatewayLinkMapOutput { - return o -} - -func (o VirtualGatewayLinkMapOutput) MapIndex(k pulumi.StringInput) VirtualGatewayLinkOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *VirtualGatewayLink { - return vs[0].(map[string]*VirtualGatewayLink)[vs[1].(string)] - }).(VirtualGatewayLinkOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*VirtualGatewayLinkInput)(nil)).Elem(), &VirtualGatewayLink{}) - pulumi.RegisterInputType(reflect.TypeOf((*VirtualGatewayLinkArrayInput)(nil)).Elem(), VirtualGatewayLinkArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*VirtualGatewayLinkMapInput)(nil)).Elem(), VirtualGatewayLinkMap{}) - pulumi.RegisterOutputType(VirtualGatewayLinkOutput{}) - pulumi.RegisterOutputType(VirtualGatewayLinkArrayOutput{}) - pulumi.RegisterOutputType(VirtualGatewayLinkMapOutput{}) -} diff --git a/sdk/go/outscale/virtualGatewayRoutePropagation.go b/sdk/go/outscale/virtualGatewayRoutePropagation.go deleted file mode 100644 index 3020511..0000000 --- a/sdk/go/outscale/virtualGatewayRoutePropagation.go +++ /dev/null @@ -1,340 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "errors" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages a virtual gateway route propagation. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Routing-Configuration-for-VPN-Connections.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#updateroutepropagation). -// -// ## Example Usage -// ### Required resources -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// virtualGateway01, err := outscale.NewVirtualGateway(ctx, "virtualGateway01", &outscale.VirtualGatewayArgs{ -// ConnectionType: pulumi.String("ipsec.1"), -// }) -// if err != nil { -// return err -// } -// net01, err := outscale.NewNet(ctx, "net01", &outscale.NetArgs{ -// IpRange: pulumi.String("10.0.0.0/16"), -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewRouteTable(ctx, "routeTable01", &outscale.RouteTableArgs{ -// NetId: net01.NetId, -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewVirtualGatewayLink(ctx, "virtualGatewayLink01", &outscale.VirtualGatewayLinkArgs{ -// VirtualGatewayId: virtualGateway01.VirtualGatewayId, -// NetId: net01.NetId, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Activate the propagation of routes to a route table of a Net by a virtual gateway -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewVirtualGatewayRoutePropagation(ctx, "virtualGatewayRoutePropagation01", &outscale.VirtualGatewayRoutePropagationArgs{ -// Enable: pulumi.Bool(true), -// VirtualGatewayId: pulumi.Any(outscale_virtual_gateway.Virtual_gateway01.Virtual_gateway_id), -// RouteTableId: pulumi.Any(outscale_route_table.Route_table01.Route_table_id), -// }, pulumi.DependsOn([]pulumi.Resource{ -// outscale_virtual_gateway_link.Virtual_gateway_link01, -// })) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -type VirtualGatewayRoutePropagation struct { - pulumi.CustomResourceState - - // If true, a virtual gateway can propagate routes to a specified route table of a Net. If false, the propagation is disabled. - Enable pulumi.BoolOutput `pulumi:"enable"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - // The ID of the route table. - RouteTableId pulumi.StringOutput `pulumi:"routeTableId"` - // The ID of the virtual gateway. - VirtualGatewayId pulumi.StringOutput `pulumi:"virtualGatewayId"` -} - -// NewVirtualGatewayRoutePropagation registers a new resource with the given unique name, arguments, and options. -func NewVirtualGatewayRoutePropagation(ctx *pulumi.Context, - name string, args *VirtualGatewayRoutePropagationArgs, opts ...pulumi.ResourceOption) (*VirtualGatewayRoutePropagation, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.Enable == nil { - return nil, errors.New("invalid value for required argument 'Enable'") - } - if args.RouteTableId == nil { - return nil, errors.New("invalid value for required argument 'RouteTableId'") - } - if args.VirtualGatewayId == nil { - return nil, errors.New("invalid value for required argument 'VirtualGatewayId'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource VirtualGatewayRoutePropagation - err := ctx.RegisterResource("outscale:index/virtualGatewayRoutePropagation:VirtualGatewayRoutePropagation", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetVirtualGatewayRoutePropagation gets an existing VirtualGatewayRoutePropagation resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetVirtualGatewayRoutePropagation(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *VirtualGatewayRoutePropagationState, opts ...pulumi.ResourceOption) (*VirtualGatewayRoutePropagation, error) { - var resource VirtualGatewayRoutePropagation - err := ctx.ReadResource("outscale:index/virtualGatewayRoutePropagation:VirtualGatewayRoutePropagation", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering VirtualGatewayRoutePropagation resources. -type virtualGatewayRoutePropagationState struct { - // If true, a virtual gateway can propagate routes to a specified route table of a Net. If false, the propagation is disabled. - Enable *bool `pulumi:"enable"` - RequestId *string `pulumi:"requestId"` - // The ID of the route table. - RouteTableId *string `pulumi:"routeTableId"` - // The ID of the virtual gateway. - VirtualGatewayId *string `pulumi:"virtualGatewayId"` -} - -type VirtualGatewayRoutePropagationState struct { - // If true, a virtual gateway can propagate routes to a specified route table of a Net. If false, the propagation is disabled. - Enable pulumi.BoolPtrInput - RequestId pulumi.StringPtrInput - // The ID of the route table. - RouteTableId pulumi.StringPtrInput - // The ID of the virtual gateway. - VirtualGatewayId pulumi.StringPtrInput -} - -func (VirtualGatewayRoutePropagationState) ElementType() reflect.Type { - return reflect.TypeOf((*virtualGatewayRoutePropagationState)(nil)).Elem() -} - -type virtualGatewayRoutePropagationArgs struct { - // If true, a virtual gateway can propagate routes to a specified route table of a Net. If false, the propagation is disabled. - Enable bool `pulumi:"enable"` - // The ID of the route table. - RouteTableId string `pulumi:"routeTableId"` - // The ID of the virtual gateway. - VirtualGatewayId string `pulumi:"virtualGatewayId"` -} - -// The set of arguments for constructing a VirtualGatewayRoutePropagation resource. -type VirtualGatewayRoutePropagationArgs struct { - // If true, a virtual gateway can propagate routes to a specified route table of a Net. If false, the propagation is disabled. - Enable pulumi.BoolInput - // The ID of the route table. - RouteTableId pulumi.StringInput - // The ID of the virtual gateway. - VirtualGatewayId pulumi.StringInput -} - -func (VirtualGatewayRoutePropagationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*virtualGatewayRoutePropagationArgs)(nil)).Elem() -} - -type VirtualGatewayRoutePropagationInput interface { - pulumi.Input - - ToVirtualGatewayRoutePropagationOutput() VirtualGatewayRoutePropagationOutput - ToVirtualGatewayRoutePropagationOutputWithContext(ctx context.Context) VirtualGatewayRoutePropagationOutput -} - -func (*VirtualGatewayRoutePropagation) ElementType() reflect.Type { - return reflect.TypeOf((**VirtualGatewayRoutePropagation)(nil)).Elem() -} - -func (i *VirtualGatewayRoutePropagation) ToVirtualGatewayRoutePropagationOutput() VirtualGatewayRoutePropagationOutput { - return i.ToVirtualGatewayRoutePropagationOutputWithContext(context.Background()) -} - -func (i *VirtualGatewayRoutePropagation) ToVirtualGatewayRoutePropagationOutputWithContext(ctx context.Context) VirtualGatewayRoutePropagationOutput { - return pulumi.ToOutputWithContext(ctx, i).(VirtualGatewayRoutePropagationOutput) -} - -// VirtualGatewayRoutePropagationArrayInput is an input type that accepts VirtualGatewayRoutePropagationArray and VirtualGatewayRoutePropagationArrayOutput values. -// You can construct a concrete instance of `VirtualGatewayRoutePropagationArrayInput` via: -// -// VirtualGatewayRoutePropagationArray{ VirtualGatewayRoutePropagationArgs{...} } -type VirtualGatewayRoutePropagationArrayInput interface { - pulumi.Input - - ToVirtualGatewayRoutePropagationArrayOutput() VirtualGatewayRoutePropagationArrayOutput - ToVirtualGatewayRoutePropagationArrayOutputWithContext(context.Context) VirtualGatewayRoutePropagationArrayOutput -} - -type VirtualGatewayRoutePropagationArray []VirtualGatewayRoutePropagationInput - -func (VirtualGatewayRoutePropagationArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*VirtualGatewayRoutePropagation)(nil)).Elem() -} - -func (i VirtualGatewayRoutePropagationArray) ToVirtualGatewayRoutePropagationArrayOutput() VirtualGatewayRoutePropagationArrayOutput { - return i.ToVirtualGatewayRoutePropagationArrayOutputWithContext(context.Background()) -} - -func (i VirtualGatewayRoutePropagationArray) ToVirtualGatewayRoutePropagationArrayOutputWithContext(ctx context.Context) VirtualGatewayRoutePropagationArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VirtualGatewayRoutePropagationArrayOutput) -} - -// VirtualGatewayRoutePropagationMapInput is an input type that accepts VirtualGatewayRoutePropagationMap and VirtualGatewayRoutePropagationMapOutput values. -// You can construct a concrete instance of `VirtualGatewayRoutePropagationMapInput` via: -// -// VirtualGatewayRoutePropagationMap{ "key": VirtualGatewayRoutePropagationArgs{...} } -type VirtualGatewayRoutePropagationMapInput interface { - pulumi.Input - - ToVirtualGatewayRoutePropagationMapOutput() VirtualGatewayRoutePropagationMapOutput - ToVirtualGatewayRoutePropagationMapOutputWithContext(context.Context) VirtualGatewayRoutePropagationMapOutput -} - -type VirtualGatewayRoutePropagationMap map[string]VirtualGatewayRoutePropagationInput - -func (VirtualGatewayRoutePropagationMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*VirtualGatewayRoutePropagation)(nil)).Elem() -} - -func (i VirtualGatewayRoutePropagationMap) ToVirtualGatewayRoutePropagationMapOutput() VirtualGatewayRoutePropagationMapOutput { - return i.ToVirtualGatewayRoutePropagationMapOutputWithContext(context.Background()) -} - -func (i VirtualGatewayRoutePropagationMap) ToVirtualGatewayRoutePropagationMapOutputWithContext(ctx context.Context) VirtualGatewayRoutePropagationMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(VirtualGatewayRoutePropagationMapOutput) -} - -type VirtualGatewayRoutePropagationOutput struct{ *pulumi.OutputState } - -func (VirtualGatewayRoutePropagationOutput) ElementType() reflect.Type { - return reflect.TypeOf((**VirtualGatewayRoutePropagation)(nil)).Elem() -} - -func (o VirtualGatewayRoutePropagationOutput) ToVirtualGatewayRoutePropagationOutput() VirtualGatewayRoutePropagationOutput { - return o -} - -func (o VirtualGatewayRoutePropagationOutput) ToVirtualGatewayRoutePropagationOutputWithContext(ctx context.Context) VirtualGatewayRoutePropagationOutput { - return o -} - -// If true, a virtual gateway can propagate routes to a specified route table of a Net. If false, the propagation is disabled. -func (o VirtualGatewayRoutePropagationOutput) Enable() pulumi.BoolOutput { - return o.ApplyT(func(v *VirtualGatewayRoutePropagation) pulumi.BoolOutput { return v.Enable }).(pulumi.BoolOutput) -} - -func (o VirtualGatewayRoutePropagationOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *VirtualGatewayRoutePropagation) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -// The ID of the route table. -func (o VirtualGatewayRoutePropagationOutput) RouteTableId() pulumi.StringOutput { - return o.ApplyT(func(v *VirtualGatewayRoutePropagation) pulumi.StringOutput { return v.RouteTableId }).(pulumi.StringOutput) -} - -// The ID of the virtual gateway. -func (o VirtualGatewayRoutePropagationOutput) VirtualGatewayId() pulumi.StringOutput { - return o.ApplyT(func(v *VirtualGatewayRoutePropagation) pulumi.StringOutput { return v.VirtualGatewayId }).(pulumi.StringOutput) -} - -type VirtualGatewayRoutePropagationArrayOutput struct{ *pulumi.OutputState } - -func (VirtualGatewayRoutePropagationArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*VirtualGatewayRoutePropagation)(nil)).Elem() -} - -func (o VirtualGatewayRoutePropagationArrayOutput) ToVirtualGatewayRoutePropagationArrayOutput() VirtualGatewayRoutePropagationArrayOutput { - return o -} - -func (o VirtualGatewayRoutePropagationArrayOutput) ToVirtualGatewayRoutePropagationArrayOutputWithContext(ctx context.Context) VirtualGatewayRoutePropagationArrayOutput { - return o -} - -func (o VirtualGatewayRoutePropagationArrayOutput) Index(i pulumi.IntInput) VirtualGatewayRoutePropagationOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *VirtualGatewayRoutePropagation { - return vs[0].([]*VirtualGatewayRoutePropagation)[vs[1].(int)] - }).(VirtualGatewayRoutePropagationOutput) -} - -type VirtualGatewayRoutePropagationMapOutput struct{ *pulumi.OutputState } - -func (VirtualGatewayRoutePropagationMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*VirtualGatewayRoutePropagation)(nil)).Elem() -} - -func (o VirtualGatewayRoutePropagationMapOutput) ToVirtualGatewayRoutePropagationMapOutput() VirtualGatewayRoutePropagationMapOutput { - return o -} - -func (o VirtualGatewayRoutePropagationMapOutput) ToVirtualGatewayRoutePropagationMapOutputWithContext(ctx context.Context) VirtualGatewayRoutePropagationMapOutput { - return o -} - -func (o VirtualGatewayRoutePropagationMapOutput) MapIndex(k pulumi.StringInput) VirtualGatewayRoutePropagationOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *VirtualGatewayRoutePropagation { - return vs[0].(map[string]*VirtualGatewayRoutePropagation)[vs[1].(string)] - }).(VirtualGatewayRoutePropagationOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*VirtualGatewayRoutePropagationInput)(nil)).Elem(), &VirtualGatewayRoutePropagation{}) - pulumi.RegisterInputType(reflect.TypeOf((*VirtualGatewayRoutePropagationArrayInput)(nil)).Elem(), VirtualGatewayRoutePropagationArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*VirtualGatewayRoutePropagationMapInput)(nil)).Elem(), VirtualGatewayRoutePropagationMap{}) - pulumi.RegisterOutputType(VirtualGatewayRoutePropagationOutput{}) - pulumi.RegisterOutputType(VirtualGatewayRoutePropagationArrayOutput{}) - pulumi.RegisterOutputType(VirtualGatewayRoutePropagationMapOutput{}) -} diff --git a/sdk/go/outscale/vm.go b/sdk/go/outscale/vm.go deleted file mode 100644 index b8232e1..0000000 --- a/sdk/go/outscale/vm.go +++ /dev/null @@ -1,1009 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "errors" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages a virtual machine (VM). -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Instances.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-vm). -// -// ## Example Usage -// ### Optional resource -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewKeypair(ctx, "keypair01", &outscale.KeypairArgs{ -// KeypairName: pulumi.String("terraform-keypair-for-vm"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Create a VM with block device mappings -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewVm(ctx, "vm02", &outscale.VmArgs{ -// ImageId: pulumi.Any(_var.Image_id), -// VmType: pulumi.Any(_var.Vm_type), -// KeypairName: pulumi.Any(_var.Keypair_name), -// BlockDeviceMappings: outscale.VmBlockDeviceMappingArray{ -// &outscale.VmBlockDeviceMappingArgs{ -// DeviceName: pulumi.String("/dev/sda1"), -// Bsu: &outscale.VmBlockDeviceMappingBsuArgs{ -// VolumeSize: pulumi.Int(15), -// VolumeType: pulumi.String("gp2"), -// SnapshotId: pulumi.Any(_var.Snapshot_id), -// }, -// }, -// &outscale.VmBlockDeviceMappingArgs{ -// DeviceName: pulumi.String("/dev/sdb"), -// Bsu: &outscale.VmBlockDeviceMappingBsuArgs{ -// VolumeSize: pulumi.Int(22), -// VolumeType: pulumi.String("io1"), -// Iops: pulumi.Int(150), -// DeleteOnVmDeletion: pulumi.Bool(true), -// }, -// }, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Create a VM in a Net with a network -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// net01, err := outscale.NewNet(ctx, "net01", &outscale.NetArgs{ -// IpRange: pulumi.String("10.0.0.0/16"), -// Tags: outscale.NetTagArray{ -// &outscale.NetTagArgs{ -// Key: pulumi.String("name"), -// Value: pulumi.String("terraform-net-for-vm"), -// }, -// }, -// }) -// if err != nil { -// return err -// } -// subnet01, err := outscale.NewSubnet(ctx, "subnet01", &outscale.SubnetArgs{ -// NetId: net01.NetId, -// IpRange: pulumi.String("10.0.0.0/24"), -// SubregionName: pulumi.String("eu-west-2b"), -// Tags: outscale.SubnetTagArray{ -// &outscale.SubnetTagArgs{ -// Key: pulumi.String("name"), -// Value: pulumi.String("terraform-subnet-for-vm"), -// }, -// }, -// }) -// if err != nil { -// return err -// } -// securityGroup01, err := outscale.NewSecurityGroup(ctx, "securityGroup01", &outscale.SecurityGroupArgs{ -// Description: pulumi.String("Terraform security group for VM"), -// SecurityGroupName: pulumi.String("terraform-security-group-for-vm"), -// NetId: net01.NetId, -// }) -// if err != nil { -// return err -// } -// internetService01, err := outscale.NewInternetService(ctx, "internetService01", nil) -// if err != nil { -// return err -// } -// routeTable01, err := outscale.NewRouteTable(ctx, "routeTable01", &outscale.RouteTableArgs{ -// NetId: net01.NetId, -// Tags: outscale.RouteTableTagArray{ -// &outscale.RouteTableTagArgs{ -// Key: pulumi.String("name"), -// Value: pulumi.String("terraform-route-table-for-vm"), -// }, -// }, -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewRouteTableLink(ctx, "routeTableLink01", &outscale.RouteTableLinkArgs{ -// RouteTableId: routeTable01.RouteTableId, -// SubnetId: subnet01.SubnetId, -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewInternetServiceLink(ctx, "internetServiceLink01", &outscale.InternetServiceLinkArgs{ -// InternetServiceId: internetService01.InternetServiceId, -// NetId: net01.NetId, -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewRoute(ctx, "route01", &outscale.RouteArgs{ -// GatewayId: internetService01.InternetServiceId, -// DestinationIpRange: pulumi.String("0.0.0.0/0"), -// RouteTableId: routeTable01.RouteTableId, -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewVm(ctx, "vm03", &outscale.VmArgs{ -// ImageId: pulumi.Any(_var.Image_id), -// VmType: pulumi.Any(_var.Vm_type), -// KeypairName: pulumi.Any(_var.Keypair_name), -// SecurityGroupIds: pulumi.StringArray{ -// securityGroup01.SecurityGroupId, -// }, -// SubnetId: subnet01.SubnetId, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Create a VM with a NIC -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// net02, err := outscale.NewNet(ctx, "net02", &outscale.NetArgs{ -// IpRange: pulumi.String("10.0.0.0/16"), -// Tags: outscale.NetTagArray{ -// &outscale.NetTagArgs{ -// Key: pulumi.String("name"), -// Value: pulumi.String("terraform-net-for-vm-with-nic"), -// }, -// }, -// }) -// if err != nil { -// return err -// } -// subnet02, err := outscale.NewSubnet(ctx, "subnet02", &outscale.SubnetArgs{ -// NetId: net02.NetId, -// IpRange: pulumi.String("10.0.0.0/24"), -// SubregionName: pulumi.String("eu-west-2a"), -// Tags: outscale.SubnetTagArray{ -// &outscale.SubnetTagArgs{ -// Key: pulumi.String("name"), -// Value: pulumi.String("terraform-subnet-for-vm-with-nic"), -// }, -// }, -// }) -// if err != nil { -// return err -// } -// nic01, err := outscale.NewNic(ctx, "nic01", &outscale.NicArgs{ -// SubnetId: subnet02.SubnetId, -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewVm(ctx, "vm04", &outscale.VmArgs{ -// ImageId: pulumi.Any(_var.Image_id), -// VmType: pulumi.String("c4.large"), -// KeypairName: pulumi.Any(_var.Keypair_name), -// PrimaryNics: outscale.VmPrimaryNicArray{ -// &outscale.VmPrimaryNicArgs{ -// NicId: nic01.NicId, -// DeviceNumber: pulumi.Int(0), -// }, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// A VM can be imported using its ID. For exampleconsole -// -// ```sh -// -// $ pulumi import outscale:index/vm:Vm ImportedVm i-12345678 -// -// ``` -type Vm struct { - pulumi.CustomResourceState - - AdminPassword pulumi.StringOutput `pulumi:"adminPassword"` - // The architecture of the VM (`i386` \| `x8664`). - Architecture pulumi.StringOutput `pulumi:"architecture"` - // One or more block device mappings. - BlockDeviceMappings VmBlockDeviceMappingArrayOutput `pulumi:"blockDeviceMappings"` - // The block device mapping of the VM. - BlockDeviceMappingsCreateds VmBlockDeviceMappingsCreatedArrayOutput `pulumi:"blockDeviceMappingsCreateds"` - BsuOptimized pulumi.BoolOutput `pulumi:"bsuOptimized"` - // A unique identifier which enables you to manage the idempotency. - ClientToken pulumi.StringOutput `pulumi:"clientToken"` - // The date and time of creation of the VM. - CreationDate pulumi.StringOutput `pulumi:"creationDate"` - // If true, you cannot delete the VM unless you change this parameter back to false. - DeletionProtection pulumi.BoolOutput `pulumi:"deletionProtection"` - // (Windows VM only) If true, waits for the administrator password of the VM to become available in order to retrieve the VM. The password is exported to the `adminPassword` attribute. - GetAdminPassword pulumi.BoolPtrOutput `pulumi:"getAdminPassword"` - // The hypervisor type of the VMs (`ovm` \| `xen`). - Hypervisor pulumi.StringOutput `pulumi:"hypervisor"` - // The ID of the OMI used to create the VM. You can find the list of OMIs by calling the [ReadImages](https://docs.outscale.com/api#readimages) method. - ImageId pulumi.StringOutput `pulumi:"imageId"` - // (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - IsSourceDestChecked pulumi.BoolOutput `pulumi:"isSourceDestChecked"` - // The name of the keypair. - KeypairName pulumi.StringOutput `pulumi:"keypairName"` - // The number for the VM when launching a group of several VMs (for example, `0`, `1`, `2`, and so on). - LaunchNumber pulumi.IntOutput `pulumi:"launchNumber"` - // (dedicated tenancy only) If true, nested virtualization is enabled. If false, it is disabled. - NestedVirtualization pulumi.BoolPtrOutput `pulumi:"nestedVirtualization"` - // The ID of the Net for the NIC. - NetId pulumi.StringOutput `pulumi:"netId"` - // One or more NICs. If you specify this parameter, you must not specify the `subnetId` and `subregionName` parameters. To define a NIC as the primary network interface of the VM, use the `primaryNic` argument. - Nics VmNicArrayOutput `pulumi:"nics"` - // Indicates the operating system (OS) of the VM. - OsFamily pulumi.StringOutput `pulumi:"osFamily"` - // The performance of the VM (`medium` | `high` | `highest`). Updating this parameter will trigger a stop/start of the VM. - Performance pulumi.StringOutput `pulumi:"performance"` - // The name of the Subregion where the VM is placed. - PlacementSubregionName pulumi.StringOutput `pulumi:"placementSubregionName"` - // The tenancy of the VM (`default` | `dedicated`). - PlacementTenancy pulumi.StringOutput `pulumi:"placementTenancy"` - // The primary network interface of the VM. - PrimaryNics VmPrimaryNicArrayOutput `pulumi:"primaryNics"` - // The name of the private DNS. - PrivateDnsName pulumi.StringOutput `pulumi:"privateDnsName"` - // The private IP of the NIC. - PrivateIp pulumi.StringOutput `pulumi:"privateIp"` - // One or more private IPs of the VM. - PrivateIps pulumi.StringArrayOutput `pulumi:"privateIps"` - // The product codes associated with the OMI used to create the VM. - ProductCodes pulumi.StringArrayOutput `pulumi:"productCodes"` - // The name of the public DNS. - PublicDnsName pulumi.StringOutput `pulumi:"publicDnsName"` - // The public IP of the VM. - PublicIp pulumi.StringOutput `pulumi:"publicIp"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - // The reservation ID of the VM. - ReservationId pulumi.StringOutput `pulumi:"reservationId"` - // The name of the root device for the VM (for example, `/dev/vda1`). - RootDeviceName pulumi.StringOutput `pulumi:"rootDeviceName"` - // The type of root device used by the VM (always `bsu`). - RootDeviceType pulumi.StringOutput `pulumi:"rootDeviceType"` - // One or more IDs of security group for the VMs. - SecurityGroupIds pulumi.StringArrayOutput `pulumi:"securityGroupIds"` - // One or more names of security groups for the VMs. - SecurityGroupNames pulumi.StringArrayOutput `pulumi:"securityGroupNames"` - // One or more security groups associated with the VM. - SecurityGroups VmSecurityGroupArrayOutput `pulumi:"securityGroups"` - // The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vmInitiatedShutdownBehavior` argument. - State pulumi.StringPtrOutput `pulumi:"state"` - // The reason explaining the current state of the VM. - StateReason pulumi.StringOutput `pulumi:"stateReason"` - // The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `nics` parameter. - SubnetId pulumi.StringOutput `pulumi:"subnetId"` - // A tag to add to this resource. You can specify this argument several times. - Tags VmTagArrayOutput `pulumi:"tags"` - // Data or script used to add a specific configuration to the VM. It must be Base64-encoded, either directly or using the base64encode. Updating this parameter will trigger a stop/start of the VM. - UserData pulumi.StringPtrOutput `pulumi:"userData"` - // The ID of the VM. - VmId pulumi.StringOutput `pulumi:"vmId"` - // The VM behavior when you stop it. By default or if set to `stop`, the VM stops. If set to `restart`, the VM stops then automatically restarts. If set to `terminate`, the VM stops and is terminated. - VmInitiatedShutdownBehavior pulumi.StringOutput `pulumi:"vmInitiatedShutdownBehavior"` - // The type of VM (`t2.small` by default). Updating this parameter will trigger a stop/start of the VM.
For more information, see [Instance Types](https://docs.outscale.com/en/userguide/Instance-Types.html). - VmType pulumi.StringOutput `pulumi:"vmType"` -} - -// NewVm registers a new resource with the given unique name, arguments, and options. -func NewVm(ctx *pulumi.Context, - name string, args *VmArgs, opts ...pulumi.ResourceOption) (*Vm, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.ImageId == nil { - return nil, errors.New("invalid value for required argument 'ImageId'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource Vm - err := ctx.RegisterResource("outscale:index/vm:Vm", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetVm gets an existing Vm resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetVm(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *VmState, opts ...pulumi.ResourceOption) (*Vm, error) { - var resource Vm - err := ctx.ReadResource("outscale:index/vm:Vm", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering Vm resources. -type vmState struct { - AdminPassword *string `pulumi:"adminPassword"` - // The architecture of the VM (`i386` \| `x8664`). - Architecture *string `pulumi:"architecture"` - // One or more block device mappings. - BlockDeviceMappings []VmBlockDeviceMapping `pulumi:"blockDeviceMappings"` - // The block device mapping of the VM. - BlockDeviceMappingsCreateds []VmBlockDeviceMappingsCreated `pulumi:"blockDeviceMappingsCreateds"` - BsuOptimized *bool `pulumi:"bsuOptimized"` - // A unique identifier which enables you to manage the idempotency. - ClientToken *string `pulumi:"clientToken"` - // The date and time of creation of the VM. - CreationDate *string `pulumi:"creationDate"` - // If true, you cannot delete the VM unless you change this parameter back to false. - DeletionProtection *bool `pulumi:"deletionProtection"` - // (Windows VM only) If true, waits for the administrator password of the VM to become available in order to retrieve the VM. The password is exported to the `adminPassword` attribute. - GetAdminPassword *bool `pulumi:"getAdminPassword"` - // The hypervisor type of the VMs (`ovm` \| `xen`). - Hypervisor *string `pulumi:"hypervisor"` - // The ID of the OMI used to create the VM. You can find the list of OMIs by calling the [ReadImages](https://docs.outscale.com/api#readimages) method. - ImageId *string `pulumi:"imageId"` - // (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - IsSourceDestChecked *bool `pulumi:"isSourceDestChecked"` - // The name of the keypair. - KeypairName *string `pulumi:"keypairName"` - // The number for the VM when launching a group of several VMs (for example, `0`, `1`, `2`, and so on). - LaunchNumber *int `pulumi:"launchNumber"` - // (dedicated tenancy only) If true, nested virtualization is enabled. If false, it is disabled. - NestedVirtualization *bool `pulumi:"nestedVirtualization"` - // The ID of the Net for the NIC. - NetId *string `pulumi:"netId"` - // One or more NICs. If you specify this parameter, you must not specify the `subnetId` and `subregionName` parameters. To define a NIC as the primary network interface of the VM, use the `primaryNic` argument. - Nics []VmNic `pulumi:"nics"` - // Indicates the operating system (OS) of the VM. - OsFamily *string `pulumi:"osFamily"` - // The performance of the VM (`medium` | `high` | `highest`). Updating this parameter will trigger a stop/start of the VM. - Performance *string `pulumi:"performance"` - // The name of the Subregion where the VM is placed. - PlacementSubregionName *string `pulumi:"placementSubregionName"` - // The tenancy of the VM (`default` | `dedicated`). - PlacementTenancy *string `pulumi:"placementTenancy"` - // The primary network interface of the VM. - PrimaryNics []VmPrimaryNic `pulumi:"primaryNics"` - // The name of the private DNS. - PrivateDnsName *string `pulumi:"privateDnsName"` - // The private IP of the NIC. - PrivateIp *string `pulumi:"privateIp"` - // One or more private IPs of the VM. - PrivateIps []string `pulumi:"privateIps"` - // The product codes associated with the OMI used to create the VM. - ProductCodes []string `pulumi:"productCodes"` - // The name of the public DNS. - PublicDnsName *string `pulumi:"publicDnsName"` - // The public IP of the VM. - PublicIp *string `pulumi:"publicIp"` - RequestId *string `pulumi:"requestId"` - // The reservation ID of the VM. - ReservationId *string `pulumi:"reservationId"` - // The name of the root device for the VM (for example, `/dev/vda1`). - RootDeviceName *string `pulumi:"rootDeviceName"` - // The type of root device used by the VM (always `bsu`). - RootDeviceType *string `pulumi:"rootDeviceType"` - // One or more IDs of security group for the VMs. - SecurityGroupIds []string `pulumi:"securityGroupIds"` - // One or more names of security groups for the VMs. - SecurityGroupNames []string `pulumi:"securityGroupNames"` - // One or more security groups associated with the VM. - SecurityGroups []VmSecurityGroup `pulumi:"securityGroups"` - // The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vmInitiatedShutdownBehavior` argument. - State *string `pulumi:"state"` - // The reason explaining the current state of the VM. - StateReason *string `pulumi:"stateReason"` - // The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `nics` parameter. - SubnetId *string `pulumi:"subnetId"` - // A tag to add to this resource. You can specify this argument several times. - Tags []VmTag `pulumi:"tags"` - // Data or script used to add a specific configuration to the VM. It must be Base64-encoded, either directly or using the base64encode. Updating this parameter will trigger a stop/start of the VM. - UserData *string `pulumi:"userData"` - // The ID of the VM. - VmId *string `pulumi:"vmId"` - // The VM behavior when you stop it. By default or if set to `stop`, the VM stops. If set to `restart`, the VM stops then automatically restarts. If set to `terminate`, the VM stops and is terminated. - VmInitiatedShutdownBehavior *string `pulumi:"vmInitiatedShutdownBehavior"` - // The type of VM (`t2.small` by default). Updating this parameter will trigger a stop/start of the VM.
For more information, see [Instance Types](https://docs.outscale.com/en/userguide/Instance-Types.html). - VmType *string `pulumi:"vmType"` -} - -type VmState struct { - AdminPassword pulumi.StringPtrInput - // The architecture of the VM (`i386` \| `x8664`). - Architecture pulumi.StringPtrInput - // One or more block device mappings. - BlockDeviceMappings VmBlockDeviceMappingArrayInput - // The block device mapping of the VM. - BlockDeviceMappingsCreateds VmBlockDeviceMappingsCreatedArrayInput - BsuOptimized pulumi.BoolPtrInput - // A unique identifier which enables you to manage the idempotency. - ClientToken pulumi.StringPtrInput - // The date and time of creation of the VM. - CreationDate pulumi.StringPtrInput - // If true, you cannot delete the VM unless you change this parameter back to false. - DeletionProtection pulumi.BoolPtrInput - // (Windows VM only) If true, waits for the administrator password of the VM to become available in order to retrieve the VM. The password is exported to the `adminPassword` attribute. - GetAdminPassword pulumi.BoolPtrInput - // The hypervisor type of the VMs (`ovm` \| `xen`). - Hypervisor pulumi.StringPtrInput - // The ID of the OMI used to create the VM. You can find the list of OMIs by calling the [ReadImages](https://docs.outscale.com/api#readimages) method. - ImageId pulumi.StringPtrInput - // (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - IsSourceDestChecked pulumi.BoolPtrInput - // The name of the keypair. - KeypairName pulumi.StringPtrInput - // The number for the VM when launching a group of several VMs (for example, `0`, `1`, `2`, and so on). - LaunchNumber pulumi.IntPtrInput - // (dedicated tenancy only) If true, nested virtualization is enabled. If false, it is disabled. - NestedVirtualization pulumi.BoolPtrInput - // The ID of the Net for the NIC. - NetId pulumi.StringPtrInput - // One or more NICs. If you specify this parameter, you must not specify the `subnetId` and `subregionName` parameters. To define a NIC as the primary network interface of the VM, use the `primaryNic` argument. - Nics VmNicArrayInput - // Indicates the operating system (OS) of the VM. - OsFamily pulumi.StringPtrInput - // The performance of the VM (`medium` | `high` | `highest`). Updating this parameter will trigger a stop/start of the VM. - Performance pulumi.StringPtrInput - // The name of the Subregion where the VM is placed. - PlacementSubregionName pulumi.StringPtrInput - // The tenancy of the VM (`default` | `dedicated`). - PlacementTenancy pulumi.StringPtrInput - // The primary network interface of the VM. - PrimaryNics VmPrimaryNicArrayInput - // The name of the private DNS. - PrivateDnsName pulumi.StringPtrInput - // The private IP of the NIC. - PrivateIp pulumi.StringPtrInput - // One or more private IPs of the VM. - PrivateIps pulumi.StringArrayInput - // The product codes associated with the OMI used to create the VM. - ProductCodes pulumi.StringArrayInput - // The name of the public DNS. - PublicDnsName pulumi.StringPtrInput - // The public IP of the VM. - PublicIp pulumi.StringPtrInput - RequestId pulumi.StringPtrInput - // The reservation ID of the VM. - ReservationId pulumi.StringPtrInput - // The name of the root device for the VM (for example, `/dev/vda1`). - RootDeviceName pulumi.StringPtrInput - // The type of root device used by the VM (always `bsu`). - RootDeviceType pulumi.StringPtrInput - // One or more IDs of security group for the VMs. - SecurityGroupIds pulumi.StringArrayInput - // One or more names of security groups for the VMs. - SecurityGroupNames pulumi.StringArrayInput - // One or more security groups associated with the VM. - SecurityGroups VmSecurityGroupArrayInput - // The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vmInitiatedShutdownBehavior` argument. - State pulumi.StringPtrInput - // The reason explaining the current state of the VM. - StateReason pulumi.StringPtrInput - // The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `nics` parameter. - SubnetId pulumi.StringPtrInput - // A tag to add to this resource. You can specify this argument several times. - Tags VmTagArrayInput - // Data or script used to add a specific configuration to the VM. It must be Base64-encoded, either directly or using the base64encode. Updating this parameter will trigger a stop/start of the VM. - UserData pulumi.StringPtrInput - // The ID of the VM. - VmId pulumi.StringPtrInput - // The VM behavior when you stop it. By default or if set to `stop`, the VM stops. If set to `restart`, the VM stops then automatically restarts. If set to `terminate`, the VM stops and is terminated. - VmInitiatedShutdownBehavior pulumi.StringPtrInput - // The type of VM (`t2.small` by default). Updating this parameter will trigger a stop/start of the VM.
For more information, see [Instance Types](https://docs.outscale.com/en/userguide/Instance-Types.html). - VmType pulumi.StringPtrInput -} - -func (VmState) ElementType() reflect.Type { - return reflect.TypeOf((*vmState)(nil)).Elem() -} - -type vmArgs struct { - // One or more block device mappings. - BlockDeviceMappings []VmBlockDeviceMapping `pulumi:"blockDeviceMappings"` - BsuOptimized *bool `pulumi:"bsuOptimized"` - // If true, you cannot delete the VM unless you change this parameter back to false. - DeletionProtection *bool `pulumi:"deletionProtection"` - // (Windows VM only) If true, waits for the administrator password of the VM to become available in order to retrieve the VM. The password is exported to the `adminPassword` attribute. - GetAdminPassword *bool `pulumi:"getAdminPassword"` - // The ID of the OMI used to create the VM. You can find the list of OMIs by calling the [ReadImages](https://docs.outscale.com/api#readimages) method. - ImageId string `pulumi:"imageId"` - // (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - IsSourceDestChecked *bool `pulumi:"isSourceDestChecked"` - // The name of the keypair. - KeypairName *string `pulumi:"keypairName"` - // (dedicated tenancy only) If true, nested virtualization is enabled. If false, it is disabled. - NestedVirtualization *bool `pulumi:"nestedVirtualization"` - // One or more NICs. If you specify this parameter, you must not specify the `subnetId` and `subregionName` parameters. To define a NIC as the primary network interface of the VM, use the `primaryNic` argument. - Nics []VmNic `pulumi:"nics"` - // The performance of the VM (`medium` | `high` | `highest`). Updating this parameter will trigger a stop/start of the VM. - Performance *string `pulumi:"performance"` - // The name of the Subregion where the VM is placed. - PlacementSubregionName *string `pulumi:"placementSubregionName"` - // The tenancy of the VM (`default` | `dedicated`). - PlacementTenancy *string `pulumi:"placementTenancy"` - // The primary network interface of the VM. - PrimaryNics []VmPrimaryNic `pulumi:"primaryNics"` - // One or more private IPs of the VM. - PrivateIps []string `pulumi:"privateIps"` - // One or more IDs of security group for the VMs. - SecurityGroupIds []string `pulumi:"securityGroupIds"` - // One or more names of security groups for the VMs. - SecurityGroupNames []string `pulumi:"securityGroupNames"` - // The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vmInitiatedShutdownBehavior` argument. - State *string `pulumi:"state"` - // The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `nics` parameter. - SubnetId *string `pulumi:"subnetId"` - // A tag to add to this resource. You can specify this argument several times. - Tags []VmTag `pulumi:"tags"` - // Data or script used to add a specific configuration to the VM. It must be Base64-encoded, either directly or using the base64encode. Updating this parameter will trigger a stop/start of the VM. - UserData *string `pulumi:"userData"` - // The ID of the VM. - VmId *string `pulumi:"vmId"` - // The VM behavior when you stop it. By default or if set to `stop`, the VM stops. If set to `restart`, the VM stops then automatically restarts. If set to `terminate`, the VM stops and is terminated. - VmInitiatedShutdownBehavior *string `pulumi:"vmInitiatedShutdownBehavior"` - // The type of VM (`t2.small` by default). Updating this parameter will trigger a stop/start of the VM.
For more information, see [Instance Types](https://docs.outscale.com/en/userguide/Instance-Types.html). - VmType *string `pulumi:"vmType"` -} - -// The set of arguments for constructing a Vm resource. -type VmArgs struct { - // One or more block device mappings. - BlockDeviceMappings VmBlockDeviceMappingArrayInput - BsuOptimized pulumi.BoolPtrInput - // If true, you cannot delete the VM unless you change this parameter back to false. - DeletionProtection pulumi.BoolPtrInput - // (Windows VM only) If true, waits for the administrator password of the VM to become available in order to retrieve the VM. The password is exported to the `adminPassword` attribute. - GetAdminPassword pulumi.BoolPtrInput - // The ID of the OMI used to create the VM. You can find the list of OMIs by calling the [ReadImages](https://docs.outscale.com/api#readimages) method. - ImageId pulumi.StringInput - // (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - IsSourceDestChecked pulumi.BoolPtrInput - // The name of the keypair. - KeypairName pulumi.StringPtrInput - // (dedicated tenancy only) If true, nested virtualization is enabled. If false, it is disabled. - NestedVirtualization pulumi.BoolPtrInput - // One or more NICs. If you specify this parameter, you must not specify the `subnetId` and `subregionName` parameters. To define a NIC as the primary network interface of the VM, use the `primaryNic` argument. - Nics VmNicArrayInput - // The performance of the VM (`medium` | `high` | `highest`). Updating this parameter will trigger a stop/start of the VM. - Performance pulumi.StringPtrInput - // The name of the Subregion where the VM is placed. - PlacementSubregionName pulumi.StringPtrInput - // The tenancy of the VM (`default` | `dedicated`). - PlacementTenancy pulumi.StringPtrInput - // The primary network interface of the VM. - PrimaryNics VmPrimaryNicArrayInput - // One or more private IPs of the VM. - PrivateIps pulumi.StringArrayInput - // One or more IDs of security group for the VMs. - SecurityGroupIds pulumi.StringArrayInput - // One or more names of security groups for the VMs. - SecurityGroupNames pulumi.StringArrayInput - // The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vmInitiatedShutdownBehavior` argument. - State pulumi.StringPtrInput - // The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `nics` parameter. - SubnetId pulumi.StringPtrInput - // A tag to add to this resource. You can specify this argument several times. - Tags VmTagArrayInput - // Data or script used to add a specific configuration to the VM. It must be Base64-encoded, either directly or using the base64encode. Updating this parameter will trigger a stop/start of the VM. - UserData pulumi.StringPtrInput - // The ID of the VM. - VmId pulumi.StringPtrInput - // The VM behavior when you stop it. By default or if set to `stop`, the VM stops. If set to `restart`, the VM stops then automatically restarts. If set to `terminate`, the VM stops and is terminated. - VmInitiatedShutdownBehavior pulumi.StringPtrInput - // The type of VM (`t2.small` by default). Updating this parameter will trigger a stop/start of the VM.
For more information, see [Instance Types](https://docs.outscale.com/en/userguide/Instance-Types.html). - VmType pulumi.StringPtrInput -} - -func (VmArgs) ElementType() reflect.Type { - return reflect.TypeOf((*vmArgs)(nil)).Elem() -} - -type VmInput interface { - pulumi.Input - - ToVmOutput() VmOutput - ToVmOutputWithContext(ctx context.Context) VmOutput -} - -func (*Vm) ElementType() reflect.Type { - return reflect.TypeOf((**Vm)(nil)).Elem() -} - -func (i *Vm) ToVmOutput() VmOutput { - return i.ToVmOutputWithContext(context.Background()) -} - -func (i *Vm) ToVmOutputWithContext(ctx context.Context) VmOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmOutput) -} - -// VmArrayInput is an input type that accepts VmArray and VmArrayOutput values. -// You can construct a concrete instance of `VmArrayInput` via: -// -// VmArray{ VmArgs{...} } -type VmArrayInput interface { - pulumi.Input - - ToVmArrayOutput() VmArrayOutput - ToVmArrayOutputWithContext(context.Context) VmArrayOutput -} - -type VmArray []VmInput - -func (VmArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*Vm)(nil)).Elem() -} - -func (i VmArray) ToVmArrayOutput() VmArrayOutput { - return i.ToVmArrayOutputWithContext(context.Background()) -} - -func (i VmArray) ToVmArrayOutputWithContext(ctx context.Context) VmArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmArrayOutput) -} - -// VmMapInput is an input type that accepts VmMap and VmMapOutput values. -// You can construct a concrete instance of `VmMapInput` via: -// -// VmMap{ "key": VmArgs{...} } -type VmMapInput interface { - pulumi.Input - - ToVmMapOutput() VmMapOutput - ToVmMapOutputWithContext(context.Context) VmMapOutput -} - -type VmMap map[string]VmInput - -func (VmMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*Vm)(nil)).Elem() -} - -func (i VmMap) ToVmMapOutput() VmMapOutput { - return i.ToVmMapOutputWithContext(context.Background()) -} - -func (i VmMap) ToVmMapOutputWithContext(ctx context.Context) VmMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(VmMapOutput) -} - -type VmOutput struct{ *pulumi.OutputState } - -func (VmOutput) ElementType() reflect.Type { - return reflect.TypeOf((**Vm)(nil)).Elem() -} - -func (o VmOutput) ToVmOutput() VmOutput { - return o -} - -func (o VmOutput) ToVmOutputWithContext(ctx context.Context) VmOutput { - return o -} - -func (o VmOutput) AdminPassword() pulumi.StringOutput { - return o.ApplyT(func(v *Vm) pulumi.StringOutput { return v.AdminPassword }).(pulumi.StringOutput) -} - -// The architecture of the VM (`i386` \| `x8664`). -func (o VmOutput) Architecture() pulumi.StringOutput { - return o.ApplyT(func(v *Vm) pulumi.StringOutput { return v.Architecture }).(pulumi.StringOutput) -} - -// One or more block device mappings. -func (o VmOutput) BlockDeviceMappings() VmBlockDeviceMappingArrayOutput { - return o.ApplyT(func(v *Vm) VmBlockDeviceMappingArrayOutput { return v.BlockDeviceMappings }).(VmBlockDeviceMappingArrayOutput) -} - -// The block device mapping of the VM. -func (o VmOutput) BlockDeviceMappingsCreateds() VmBlockDeviceMappingsCreatedArrayOutput { - return o.ApplyT(func(v *Vm) VmBlockDeviceMappingsCreatedArrayOutput { return v.BlockDeviceMappingsCreateds }).(VmBlockDeviceMappingsCreatedArrayOutput) -} - -func (o VmOutput) BsuOptimized() pulumi.BoolOutput { - return o.ApplyT(func(v *Vm) pulumi.BoolOutput { return v.BsuOptimized }).(pulumi.BoolOutput) -} - -// A unique identifier which enables you to manage the idempotency. -func (o VmOutput) ClientToken() pulumi.StringOutput { - return o.ApplyT(func(v *Vm) pulumi.StringOutput { return v.ClientToken }).(pulumi.StringOutput) -} - -// The date and time of creation of the VM. -func (o VmOutput) CreationDate() pulumi.StringOutput { - return o.ApplyT(func(v *Vm) pulumi.StringOutput { return v.CreationDate }).(pulumi.StringOutput) -} - -// If true, you cannot delete the VM unless you change this parameter back to false. -func (o VmOutput) DeletionProtection() pulumi.BoolOutput { - return o.ApplyT(func(v *Vm) pulumi.BoolOutput { return v.DeletionProtection }).(pulumi.BoolOutput) -} - -// (Windows VM only) If true, waits for the administrator password of the VM to become available in order to retrieve the VM. The password is exported to the `adminPassword` attribute. -func (o VmOutput) GetAdminPassword() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *Vm) pulumi.BoolPtrOutput { return v.GetAdminPassword }).(pulumi.BoolPtrOutput) -} - -// The hypervisor type of the VMs (`ovm` \| `xen`). -func (o VmOutput) Hypervisor() pulumi.StringOutput { - return o.ApplyT(func(v *Vm) pulumi.StringOutput { return v.Hypervisor }).(pulumi.StringOutput) -} - -// The ID of the OMI used to create the VM. You can find the list of OMIs by calling the [ReadImages](https://docs.outscale.com/api#readimages) method. -func (o VmOutput) ImageId() pulumi.StringOutput { - return o.ApplyT(func(v *Vm) pulumi.StringOutput { return v.ImageId }).(pulumi.StringOutput) -} - -// (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. -func (o VmOutput) IsSourceDestChecked() pulumi.BoolOutput { - return o.ApplyT(func(v *Vm) pulumi.BoolOutput { return v.IsSourceDestChecked }).(pulumi.BoolOutput) -} - -// The name of the keypair. -func (o VmOutput) KeypairName() pulumi.StringOutput { - return o.ApplyT(func(v *Vm) pulumi.StringOutput { return v.KeypairName }).(pulumi.StringOutput) -} - -// The number for the VM when launching a group of several VMs (for example, `0`, `1`, `2`, and so on). -func (o VmOutput) LaunchNumber() pulumi.IntOutput { - return o.ApplyT(func(v *Vm) pulumi.IntOutput { return v.LaunchNumber }).(pulumi.IntOutput) -} - -// (dedicated tenancy only) If true, nested virtualization is enabled. If false, it is disabled. -func (o VmOutput) NestedVirtualization() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *Vm) pulumi.BoolPtrOutput { return v.NestedVirtualization }).(pulumi.BoolPtrOutput) -} - -// The ID of the Net for the NIC. -func (o VmOutput) NetId() pulumi.StringOutput { - return o.ApplyT(func(v *Vm) pulumi.StringOutput { return v.NetId }).(pulumi.StringOutput) -} - -// One or more NICs. If you specify this parameter, you must not specify the `subnetId` and `subregionName` parameters. To define a NIC as the primary network interface of the VM, use the `primaryNic` argument. -func (o VmOutput) Nics() VmNicArrayOutput { - return o.ApplyT(func(v *Vm) VmNicArrayOutput { return v.Nics }).(VmNicArrayOutput) -} - -// Indicates the operating system (OS) of the VM. -func (o VmOutput) OsFamily() pulumi.StringOutput { - return o.ApplyT(func(v *Vm) pulumi.StringOutput { return v.OsFamily }).(pulumi.StringOutput) -} - -// The performance of the VM (`medium` | `high` | `highest`). Updating this parameter will trigger a stop/start of the VM. -func (o VmOutput) Performance() pulumi.StringOutput { - return o.ApplyT(func(v *Vm) pulumi.StringOutput { return v.Performance }).(pulumi.StringOutput) -} - -// The name of the Subregion where the VM is placed. -func (o VmOutput) PlacementSubregionName() pulumi.StringOutput { - return o.ApplyT(func(v *Vm) pulumi.StringOutput { return v.PlacementSubregionName }).(pulumi.StringOutput) -} - -// The tenancy of the VM (`default` | `dedicated`). -func (o VmOutput) PlacementTenancy() pulumi.StringOutput { - return o.ApplyT(func(v *Vm) pulumi.StringOutput { return v.PlacementTenancy }).(pulumi.StringOutput) -} - -// The primary network interface of the VM. -func (o VmOutput) PrimaryNics() VmPrimaryNicArrayOutput { - return o.ApplyT(func(v *Vm) VmPrimaryNicArrayOutput { return v.PrimaryNics }).(VmPrimaryNicArrayOutput) -} - -// The name of the private DNS. -func (o VmOutput) PrivateDnsName() pulumi.StringOutput { - return o.ApplyT(func(v *Vm) pulumi.StringOutput { return v.PrivateDnsName }).(pulumi.StringOutput) -} - -// The private IP of the NIC. -func (o VmOutput) PrivateIp() pulumi.StringOutput { - return o.ApplyT(func(v *Vm) pulumi.StringOutput { return v.PrivateIp }).(pulumi.StringOutput) -} - -// One or more private IPs of the VM. -func (o VmOutput) PrivateIps() pulumi.StringArrayOutput { - return o.ApplyT(func(v *Vm) pulumi.StringArrayOutput { return v.PrivateIps }).(pulumi.StringArrayOutput) -} - -// The product codes associated with the OMI used to create the VM. -func (o VmOutput) ProductCodes() pulumi.StringArrayOutput { - return o.ApplyT(func(v *Vm) pulumi.StringArrayOutput { return v.ProductCodes }).(pulumi.StringArrayOutput) -} - -// The name of the public DNS. -func (o VmOutput) PublicDnsName() pulumi.StringOutput { - return o.ApplyT(func(v *Vm) pulumi.StringOutput { return v.PublicDnsName }).(pulumi.StringOutput) -} - -// The public IP of the VM. -func (o VmOutput) PublicIp() pulumi.StringOutput { - return o.ApplyT(func(v *Vm) pulumi.StringOutput { return v.PublicIp }).(pulumi.StringOutput) -} - -func (o VmOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *Vm) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -// The reservation ID of the VM. -func (o VmOutput) ReservationId() pulumi.StringOutput { - return o.ApplyT(func(v *Vm) pulumi.StringOutput { return v.ReservationId }).(pulumi.StringOutput) -} - -// The name of the root device for the VM (for example, `/dev/vda1`). -func (o VmOutput) RootDeviceName() pulumi.StringOutput { - return o.ApplyT(func(v *Vm) pulumi.StringOutput { return v.RootDeviceName }).(pulumi.StringOutput) -} - -// The type of root device used by the VM (always `bsu`). -func (o VmOutput) RootDeviceType() pulumi.StringOutput { - return o.ApplyT(func(v *Vm) pulumi.StringOutput { return v.RootDeviceType }).(pulumi.StringOutput) -} - -// One or more IDs of security group for the VMs. -func (o VmOutput) SecurityGroupIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v *Vm) pulumi.StringArrayOutput { return v.SecurityGroupIds }).(pulumi.StringArrayOutput) -} - -// One or more names of security groups for the VMs. -func (o VmOutput) SecurityGroupNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v *Vm) pulumi.StringArrayOutput { return v.SecurityGroupNames }).(pulumi.StringArrayOutput) -} - -// One or more security groups associated with the VM. -func (o VmOutput) SecurityGroups() VmSecurityGroupArrayOutput { - return o.ApplyT(func(v *Vm) VmSecurityGroupArrayOutput { return v.SecurityGroups }).(VmSecurityGroupArrayOutput) -} - -// The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vmInitiatedShutdownBehavior` argument. -func (o VmOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Vm) pulumi.StringPtrOutput { return v.State }).(pulumi.StringPtrOutput) -} - -// The reason explaining the current state of the VM. -func (o VmOutput) StateReason() pulumi.StringOutput { - return o.ApplyT(func(v *Vm) pulumi.StringOutput { return v.StateReason }).(pulumi.StringOutput) -} - -// The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `nics` parameter. -func (o VmOutput) SubnetId() pulumi.StringOutput { - return o.ApplyT(func(v *Vm) pulumi.StringOutput { return v.SubnetId }).(pulumi.StringOutput) -} - -// A tag to add to this resource. You can specify this argument several times. -func (o VmOutput) Tags() VmTagArrayOutput { - return o.ApplyT(func(v *Vm) VmTagArrayOutput { return v.Tags }).(VmTagArrayOutput) -} - -// Data or script used to add a specific configuration to the VM. It must be Base64-encoded, either directly or using the base64encode. Updating this parameter will trigger a stop/start of the VM. -func (o VmOutput) UserData() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Vm) pulumi.StringPtrOutput { return v.UserData }).(pulumi.StringPtrOutput) -} - -// The ID of the VM. -func (o VmOutput) VmId() pulumi.StringOutput { - return o.ApplyT(func(v *Vm) pulumi.StringOutput { return v.VmId }).(pulumi.StringOutput) -} - -// The VM behavior when you stop it. By default or if set to `stop`, the VM stops. If set to `restart`, the VM stops then automatically restarts. If set to `terminate`, the VM stops and is terminated. -func (o VmOutput) VmInitiatedShutdownBehavior() pulumi.StringOutput { - return o.ApplyT(func(v *Vm) pulumi.StringOutput { return v.VmInitiatedShutdownBehavior }).(pulumi.StringOutput) -} - -// The type of VM (`t2.small` by default). Updating this parameter will trigger a stop/start of the VM.
For more information, see [Instance Types](https://docs.outscale.com/en/userguide/Instance-Types.html). -func (o VmOutput) VmType() pulumi.StringOutput { - return o.ApplyT(func(v *Vm) pulumi.StringOutput { return v.VmType }).(pulumi.StringOutput) -} - -type VmArrayOutput struct{ *pulumi.OutputState } - -func (VmArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*Vm)(nil)).Elem() -} - -func (o VmArrayOutput) ToVmArrayOutput() VmArrayOutput { - return o -} - -func (o VmArrayOutput) ToVmArrayOutputWithContext(ctx context.Context) VmArrayOutput { - return o -} - -func (o VmArrayOutput) Index(i pulumi.IntInput) VmOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Vm { - return vs[0].([]*Vm)[vs[1].(int)] - }).(VmOutput) -} - -type VmMapOutput struct{ *pulumi.OutputState } - -func (VmMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*Vm)(nil)).Elem() -} - -func (o VmMapOutput) ToVmMapOutput() VmMapOutput { - return o -} - -func (o VmMapOutput) ToVmMapOutputWithContext(ctx context.Context) VmMapOutput { - return o -} - -func (o VmMapOutput) MapIndex(k pulumi.StringInput) VmOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Vm { - return vs[0].(map[string]*Vm)[vs[1].(string)] - }).(VmOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*VmInput)(nil)).Elem(), &Vm{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmArrayInput)(nil)).Elem(), VmArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*VmMapInput)(nil)).Elem(), VmMap{}) - pulumi.RegisterOutputType(VmOutput{}) - pulumi.RegisterOutputType(VmArrayOutput{}) - pulumi.RegisterOutputType(VmMapOutput{}) -} diff --git a/sdk/go/outscale/volume.go b/sdk/go/outscale/volume.go deleted file mode 100644 index b284315..0000000 --- a/sdk/go/outscale/volume.go +++ /dev/null @@ -1,440 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "errors" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages a volume. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Volumes.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-volume). -// -// ## Example Usage -// ### Creating an io1 volume -// -// ```go -// package main -// -// import ( -// -// "fmt" -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewVolume(ctx, "volume01", &outscale.VolumeArgs{ -// Iops: pulumi.Int(100), -// Size: pulumi.Int(10), -// SubregionName: pulumi.String(fmt.Sprintf("%va", _var.Region)), -// VolumeType: pulumi.String("io1"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Creating a snapshot before volume deletion -// -// ```go -// package main -// -// import ( -// -// "fmt" -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewVolume(ctx, "volume01", &outscale.VolumeArgs{ -// Size: pulumi.Int(40), -// SubregionName: pulumi.String(fmt.Sprintf("%va", _var.Region)), -// TerminationSnapshotName: pulumi.String("deleting_volume_snap"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// A volume can be imported using its ID. For exampleconsole -// -// ```sh -// -// $ pulumi import outscale:index/volume:Volume ImportedVolume vol-12345678 -// -// ``` -type Volume struct { - pulumi.CustomResourceState - - // The date and time of creation of the volume. - CreationDate pulumi.StringOutput `pulumi:"creationDate"` - // The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - Iops pulumi.IntOutput `pulumi:"iops"` - // Information about your volume attachment. - LinkedVolumes VolumeLinkedVolumeArrayOutput `pulumi:"linkedVolumes"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - // The size of the volume, in gibibytes (GiB). The maximum allowed size for a volume is 14901 GiB. This parameter is required if the volume is not created from a snapshot (`snapshotId` unspecified). - Size pulumi.IntOutput `pulumi:"size"` - // The ID of the snapshot from which you want to create the volume. - SnapshotId pulumi.StringOutput `pulumi:"snapshotId"` - // The state of the volume (`creating` \| `available` \| `in-use` \| `updating` \| `deleting` \| `error`). - State pulumi.StringOutput `pulumi:"state"` - // The Subregion in which you want to create the volume. - SubregionName pulumi.StringOutput `pulumi:"subregionName"` - // A tag to add to this resource. You can specify this argument several times. - Tags VolumeTagArrayOutput `pulumi:"tags"` - // Whether you want to create a snapshot before the volume deletion. - TerminationSnapshotName pulumi.StringPtrOutput `pulumi:"terminationSnapshotName"` - // The ID of the volume. - VolumeId pulumi.StringOutput `pulumi:"volumeId"` - // The type of volume you want to create (`io1` \| `gp2` \| `standard`). If not specified, a `standard` volume is created.
- // For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - VolumeType pulumi.StringOutput `pulumi:"volumeType"` -} - -// NewVolume registers a new resource with the given unique name, arguments, and options. -func NewVolume(ctx *pulumi.Context, - name string, args *VolumeArgs, opts ...pulumi.ResourceOption) (*Volume, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.SubregionName == nil { - return nil, errors.New("invalid value for required argument 'SubregionName'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource Volume - err := ctx.RegisterResource("outscale:index/volume:Volume", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetVolume gets an existing Volume resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetVolume(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *VolumeState, opts ...pulumi.ResourceOption) (*Volume, error) { - var resource Volume - err := ctx.ReadResource("outscale:index/volume:Volume", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering Volume resources. -type volumeState struct { - // The date and time of creation of the volume. - CreationDate *string `pulumi:"creationDate"` - // The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - Iops *int `pulumi:"iops"` - // Information about your volume attachment. - LinkedVolumes []VolumeLinkedVolume `pulumi:"linkedVolumes"` - RequestId *string `pulumi:"requestId"` - // The size of the volume, in gibibytes (GiB). The maximum allowed size for a volume is 14901 GiB. This parameter is required if the volume is not created from a snapshot (`snapshotId` unspecified). - Size *int `pulumi:"size"` - // The ID of the snapshot from which you want to create the volume. - SnapshotId *string `pulumi:"snapshotId"` - // The state of the volume (`creating` \| `available` \| `in-use` \| `updating` \| `deleting` \| `error`). - State *string `pulumi:"state"` - // The Subregion in which you want to create the volume. - SubregionName *string `pulumi:"subregionName"` - // A tag to add to this resource. You can specify this argument several times. - Tags []VolumeTag `pulumi:"tags"` - // Whether you want to create a snapshot before the volume deletion. - TerminationSnapshotName *string `pulumi:"terminationSnapshotName"` - // The ID of the volume. - VolumeId *string `pulumi:"volumeId"` - // The type of volume you want to create (`io1` \| `gp2` \| `standard`). If not specified, a `standard` volume is created.
- // For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - VolumeType *string `pulumi:"volumeType"` -} - -type VolumeState struct { - // The date and time of creation of the volume. - CreationDate pulumi.StringPtrInput - // The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - Iops pulumi.IntPtrInput - // Information about your volume attachment. - LinkedVolumes VolumeLinkedVolumeArrayInput - RequestId pulumi.StringPtrInput - // The size of the volume, in gibibytes (GiB). The maximum allowed size for a volume is 14901 GiB. This parameter is required if the volume is not created from a snapshot (`snapshotId` unspecified). - Size pulumi.IntPtrInput - // The ID of the snapshot from which you want to create the volume. - SnapshotId pulumi.StringPtrInput - // The state of the volume (`creating` \| `available` \| `in-use` \| `updating` \| `deleting` \| `error`). - State pulumi.StringPtrInput - // The Subregion in which you want to create the volume. - SubregionName pulumi.StringPtrInput - // A tag to add to this resource. You can specify this argument several times. - Tags VolumeTagArrayInput - // Whether you want to create a snapshot before the volume deletion. - TerminationSnapshotName pulumi.StringPtrInput - // The ID of the volume. - VolumeId pulumi.StringPtrInput - // The type of volume you want to create (`io1` \| `gp2` \| `standard`). If not specified, a `standard` volume is created.
- // For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - VolumeType pulumi.StringPtrInput -} - -func (VolumeState) ElementType() reflect.Type { - return reflect.TypeOf((*volumeState)(nil)).Elem() -} - -type volumeArgs struct { - // The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - Iops *int `pulumi:"iops"` - // The size of the volume, in gibibytes (GiB). The maximum allowed size for a volume is 14901 GiB. This parameter is required if the volume is not created from a snapshot (`snapshotId` unspecified). - Size *int `pulumi:"size"` - // The ID of the snapshot from which you want to create the volume. - SnapshotId *string `pulumi:"snapshotId"` - // The Subregion in which you want to create the volume. - SubregionName string `pulumi:"subregionName"` - // A tag to add to this resource. You can specify this argument several times. - Tags []VolumeTag `pulumi:"tags"` - // Whether you want to create a snapshot before the volume deletion. - TerminationSnapshotName *string `pulumi:"terminationSnapshotName"` - // The type of volume you want to create (`io1` \| `gp2` \| `standard`). If not specified, a `standard` volume is created.
- // For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - VolumeType *string `pulumi:"volumeType"` -} - -// The set of arguments for constructing a Volume resource. -type VolumeArgs struct { - // The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - Iops pulumi.IntPtrInput - // The size of the volume, in gibibytes (GiB). The maximum allowed size for a volume is 14901 GiB. This parameter is required if the volume is not created from a snapshot (`snapshotId` unspecified). - Size pulumi.IntPtrInput - // The ID of the snapshot from which you want to create the volume. - SnapshotId pulumi.StringPtrInput - // The Subregion in which you want to create the volume. - SubregionName pulumi.StringInput - // A tag to add to this resource. You can specify this argument several times. - Tags VolumeTagArrayInput - // Whether you want to create a snapshot before the volume deletion. - TerminationSnapshotName pulumi.StringPtrInput - // The type of volume you want to create (`io1` \| `gp2` \| `standard`). If not specified, a `standard` volume is created.
- // For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - VolumeType pulumi.StringPtrInput -} - -func (VolumeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*volumeArgs)(nil)).Elem() -} - -type VolumeInput interface { - pulumi.Input - - ToVolumeOutput() VolumeOutput - ToVolumeOutputWithContext(ctx context.Context) VolumeOutput -} - -func (*Volume) ElementType() reflect.Type { - return reflect.TypeOf((**Volume)(nil)).Elem() -} - -func (i *Volume) ToVolumeOutput() VolumeOutput { - return i.ToVolumeOutputWithContext(context.Background()) -} - -func (i *Volume) ToVolumeOutputWithContext(ctx context.Context) VolumeOutput { - return pulumi.ToOutputWithContext(ctx, i).(VolumeOutput) -} - -// VolumeArrayInput is an input type that accepts VolumeArray and VolumeArrayOutput values. -// You can construct a concrete instance of `VolumeArrayInput` via: -// -// VolumeArray{ VolumeArgs{...} } -type VolumeArrayInput interface { - pulumi.Input - - ToVolumeArrayOutput() VolumeArrayOutput - ToVolumeArrayOutputWithContext(context.Context) VolumeArrayOutput -} - -type VolumeArray []VolumeInput - -func (VolumeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*Volume)(nil)).Elem() -} - -func (i VolumeArray) ToVolumeArrayOutput() VolumeArrayOutput { - return i.ToVolumeArrayOutputWithContext(context.Background()) -} - -func (i VolumeArray) ToVolumeArrayOutputWithContext(ctx context.Context) VolumeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VolumeArrayOutput) -} - -// VolumeMapInput is an input type that accepts VolumeMap and VolumeMapOutput values. -// You can construct a concrete instance of `VolumeMapInput` via: -// -// VolumeMap{ "key": VolumeArgs{...} } -type VolumeMapInput interface { - pulumi.Input - - ToVolumeMapOutput() VolumeMapOutput - ToVolumeMapOutputWithContext(context.Context) VolumeMapOutput -} - -type VolumeMap map[string]VolumeInput - -func (VolumeMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*Volume)(nil)).Elem() -} - -func (i VolumeMap) ToVolumeMapOutput() VolumeMapOutput { - return i.ToVolumeMapOutputWithContext(context.Background()) -} - -func (i VolumeMap) ToVolumeMapOutputWithContext(ctx context.Context) VolumeMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(VolumeMapOutput) -} - -type VolumeOutput struct{ *pulumi.OutputState } - -func (VolumeOutput) ElementType() reflect.Type { - return reflect.TypeOf((**Volume)(nil)).Elem() -} - -func (o VolumeOutput) ToVolumeOutput() VolumeOutput { - return o -} - -func (o VolumeOutput) ToVolumeOutputWithContext(ctx context.Context) VolumeOutput { - return o -} - -// The date and time of creation of the volume. -func (o VolumeOutput) CreationDate() pulumi.StringOutput { - return o.ApplyT(func(v *Volume) pulumi.StringOutput { return v.CreationDate }).(pulumi.StringOutput) -} - -// The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. -func (o VolumeOutput) Iops() pulumi.IntOutput { - return o.ApplyT(func(v *Volume) pulumi.IntOutput { return v.Iops }).(pulumi.IntOutput) -} - -// Information about your volume attachment. -func (o VolumeOutput) LinkedVolumes() VolumeLinkedVolumeArrayOutput { - return o.ApplyT(func(v *Volume) VolumeLinkedVolumeArrayOutput { return v.LinkedVolumes }).(VolumeLinkedVolumeArrayOutput) -} - -func (o VolumeOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *Volume) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -// The size of the volume, in gibibytes (GiB). The maximum allowed size for a volume is 14901 GiB. This parameter is required if the volume is not created from a snapshot (`snapshotId` unspecified). -func (o VolumeOutput) Size() pulumi.IntOutput { - return o.ApplyT(func(v *Volume) pulumi.IntOutput { return v.Size }).(pulumi.IntOutput) -} - -// The ID of the snapshot from which you want to create the volume. -func (o VolumeOutput) SnapshotId() pulumi.StringOutput { - return o.ApplyT(func(v *Volume) pulumi.StringOutput { return v.SnapshotId }).(pulumi.StringOutput) -} - -// The state of the volume (`creating` \| `available` \| `in-use` \| `updating` \| `deleting` \| `error`). -func (o VolumeOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v *Volume) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) -} - -// The Subregion in which you want to create the volume. -func (o VolumeOutput) SubregionName() pulumi.StringOutput { - return o.ApplyT(func(v *Volume) pulumi.StringOutput { return v.SubregionName }).(pulumi.StringOutput) -} - -// A tag to add to this resource. You can specify this argument several times. -func (o VolumeOutput) Tags() VolumeTagArrayOutput { - return o.ApplyT(func(v *Volume) VolumeTagArrayOutput { return v.Tags }).(VolumeTagArrayOutput) -} - -// Whether you want to create a snapshot before the volume deletion. -func (o VolumeOutput) TerminationSnapshotName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Volume) pulumi.StringPtrOutput { return v.TerminationSnapshotName }).(pulumi.StringPtrOutput) -} - -// The ID of the volume. -func (o VolumeOutput) VolumeId() pulumi.StringOutput { - return o.ApplyT(func(v *Volume) pulumi.StringOutput { return v.VolumeId }).(pulumi.StringOutput) -} - -// The type of volume you want to create (`io1` \| `gp2` \| `standard`). If not specified, a `standard` volume is created.
-// For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). -func (o VolumeOutput) VolumeType() pulumi.StringOutput { - return o.ApplyT(func(v *Volume) pulumi.StringOutput { return v.VolumeType }).(pulumi.StringOutput) -} - -type VolumeArrayOutput struct{ *pulumi.OutputState } - -func (VolumeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*Volume)(nil)).Elem() -} - -func (o VolumeArrayOutput) ToVolumeArrayOutput() VolumeArrayOutput { - return o -} - -func (o VolumeArrayOutput) ToVolumeArrayOutputWithContext(ctx context.Context) VolumeArrayOutput { - return o -} - -func (o VolumeArrayOutput) Index(i pulumi.IntInput) VolumeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Volume { - return vs[0].([]*Volume)[vs[1].(int)] - }).(VolumeOutput) -} - -type VolumeMapOutput struct{ *pulumi.OutputState } - -func (VolumeMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*Volume)(nil)).Elem() -} - -func (o VolumeMapOutput) ToVolumeMapOutput() VolumeMapOutput { - return o -} - -func (o VolumeMapOutput) ToVolumeMapOutputWithContext(ctx context.Context) VolumeMapOutput { - return o -} - -func (o VolumeMapOutput) MapIndex(k pulumi.StringInput) VolumeOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Volume { - return vs[0].(map[string]*Volume)[vs[1].(string)] - }).(VolumeOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*VolumeInput)(nil)).Elem(), &Volume{}) - pulumi.RegisterInputType(reflect.TypeOf((*VolumeArrayInput)(nil)).Elem(), VolumeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*VolumeMapInput)(nil)).Elem(), VolumeMap{}) - pulumi.RegisterOutputType(VolumeOutput{}) - pulumi.RegisterOutputType(VolumeArrayOutput{}) - pulumi.RegisterOutputType(VolumeMapOutput{}) -} diff --git a/sdk/go/outscale/volumesLink.go b/sdk/go/outscale/volumesLink.go deleted file mode 100644 index 1a9fb5f..0000000 --- a/sdk/go/outscale/volumesLink.go +++ /dev/null @@ -1,372 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "errors" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages a volume link. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Volumes.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-volume). -// -// ## Example Usage -// ### Required resources -// -// ```go -// package main -// -// import ( -// -// "fmt" -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewVolume(ctx, "volume01", &outscale.VolumeArgs{ -// SubregionName: pulumi.String(fmt.Sprintf("%va", _var.Region)), -// Size: pulumi.Int(40), -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewVm(ctx, "vm01", &outscale.VmArgs{ -// ImageId: pulumi.Any(_var.Image_id), -// VmType: pulumi.Any(_var.Vm_type), -// KeypairName: pulumi.Any(_var.Keypair_name), -// SecurityGroupIds: pulumi.StringArray{ -// _var.Security_group_id, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Link a volume to a VM -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewVolumesLink(ctx, "volumesLink01", &outscale.VolumesLinkArgs{ -// DeviceName: pulumi.String("/dev/xvdc"), -// VolumeId: pulumi.Any(outscale_volume.Volume01.Id), -// VmId: pulumi.Any(outscale_vm.Vm01.Id), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// A volume link can be imported using a volume ID. For exampleconsole -// -// ```sh -// -// $ pulumi import outscale:index/volumesLink:VolumesLink ImportedVolumeLink vol-12345678 -// -// ``` -type VolumesLink struct { - pulumi.CustomResourceState - - DeleteOnVmTermination pulumi.BoolPtrOutput `pulumi:"deleteOnVmTermination"` - // The name of the device. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - DeviceName pulumi.StringOutput `pulumi:"deviceName"` - ForceUnlink pulumi.BoolOutput `pulumi:"forceUnlink"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - // The state of the attachment of the volume (`attaching` | `detaching` | `attached` | `detached`). - State pulumi.StringOutput `pulumi:"state"` - // The ID of the VM you want to attach the volume to. - VmId pulumi.StringOutput `pulumi:"vmId"` - // The ID of the volume you want to attach. - VolumeId pulumi.StringOutput `pulumi:"volumeId"` -} - -// NewVolumesLink registers a new resource with the given unique name, arguments, and options. -func NewVolumesLink(ctx *pulumi.Context, - name string, args *VolumesLinkArgs, opts ...pulumi.ResourceOption) (*VolumesLink, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.DeviceName == nil { - return nil, errors.New("invalid value for required argument 'DeviceName'") - } - if args.VmId == nil { - return nil, errors.New("invalid value for required argument 'VmId'") - } - if args.VolumeId == nil { - return nil, errors.New("invalid value for required argument 'VolumeId'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource VolumesLink - err := ctx.RegisterResource("outscale:index/volumesLink:VolumesLink", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetVolumesLink gets an existing VolumesLink resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetVolumesLink(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *VolumesLinkState, opts ...pulumi.ResourceOption) (*VolumesLink, error) { - var resource VolumesLink - err := ctx.ReadResource("outscale:index/volumesLink:VolumesLink", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering VolumesLink resources. -type volumesLinkState struct { - DeleteOnVmTermination *bool `pulumi:"deleteOnVmTermination"` - // The name of the device. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - DeviceName *string `pulumi:"deviceName"` - ForceUnlink *bool `pulumi:"forceUnlink"` - RequestId *string `pulumi:"requestId"` - // The state of the attachment of the volume (`attaching` | `detaching` | `attached` | `detached`). - State *string `pulumi:"state"` - // The ID of the VM you want to attach the volume to. - VmId *string `pulumi:"vmId"` - // The ID of the volume you want to attach. - VolumeId *string `pulumi:"volumeId"` -} - -type VolumesLinkState struct { - DeleteOnVmTermination pulumi.BoolPtrInput - // The name of the device. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - DeviceName pulumi.StringPtrInput - ForceUnlink pulumi.BoolPtrInput - RequestId pulumi.StringPtrInput - // The state of the attachment of the volume (`attaching` | `detaching` | `attached` | `detached`). - State pulumi.StringPtrInput - // The ID of the VM you want to attach the volume to. - VmId pulumi.StringPtrInput - // The ID of the volume you want to attach. - VolumeId pulumi.StringPtrInput -} - -func (VolumesLinkState) ElementType() reflect.Type { - return reflect.TypeOf((*volumesLinkState)(nil)).Elem() -} - -type volumesLinkArgs struct { - DeleteOnVmTermination *bool `pulumi:"deleteOnVmTermination"` - // The name of the device. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - DeviceName string `pulumi:"deviceName"` - ForceUnlink *bool `pulumi:"forceUnlink"` - // The ID of the VM you want to attach the volume to. - VmId string `pulumi:"vmId"` - // The ID of the volume you want to attach. - VolumeId string `pulumi:"volumeId"` -} - -// The set of arguments for constructing a VolumesLink resource. -type VolumesLinkArgs struct { - DeleteOnVmTermination pulumi.BoolPtrInput - // The name of the device. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - DeviceName pulumi.StringInput - ForceUnlink pulumi.BoolPtrInput - // The ID of the VM you want to attach the volume to. - VmId pulumi.StringInput - // The ID of the volume you want to attach. - VolumeId pulumi.StringInput -} - -func (VolumesLinkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*volumesLinkArgs)(nil)).Elem() -} - -type VolumesLinkInput interface { - pulumi.Input - - ToVolumesLinkOutput() VolumesLinkOutput - ToVolumesLinkOutputWithContext(ctx context.Context) VolumesLinkOutput -} - -func (*VolumesLink) ElementType() reflect.Type { - return reflect.TypeOf((**VolumesLink)(nil)).Elem() -} - -func (i *VolumesLink) ToVolumesLinkOutput() VolumesLinkOutput { - return i.ToVolumesLinkOutputWithContext(context.Background()) -} - -func (i *VolumesLink) ToVolumesLinkOutputWithContext(ctx context.Context) VolumesLinkOutput { - return pulumi.ToOutputWithContext(ctx, i).(VolumesLinkOutput) -} - -// VolumesLinkArrayInput is an input type that accepts VolumesLinkArray and VolumesLinkArrayOutput values. -// You can construct a concrete instance of `VolumesLinkArrayInput` via: -// -// VolumesLinkArray{ VolumesLinkArgs{...} } -type VolumesLinkArrayInput interface { - pulumi.Input - - ToVolumesLinkArrayOutput() VolumesLinkArrayOutput - ToVolumesLinkArrayOutputWithContext(context.Context) VolumesLinkArrayOutput -} - -type VolumesLinkArray []VolumesLinkInput - -func (VolumesLinkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*VolumesLink)(nil)).Elem() -} - -func (i VolumesLinkArray) ToVolumesLinkArrayOutput() VolumesLinkArrayOutput { - return i.ToVolumesLinkArrayOutputWithContext(context.Background()) -} - -func (i VolumesLinkArray) ToVolumesLinkArrayOutputWithContext(ctx context.Context) VolumesLinkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VolumesLinkArrayOutput) -} - -// VolumesLinkMapInput is an input type that accepts VolumesLinkMap and VolumesLinkMapOutput values. -// You can construct a concrete instance of `VolumesLinkMapInput` via: -// -// VolumesLinkMap{ "key": VolumesLinkArgs{...} } -type VolumesLinkMapInput interface { - pulumi.Input - - ToVolumesLinkMapOutput() VolumesLinkMapOutput - ToVolumesLinkMapOutputWithContext(context.Context) VolumesLinkMapOutput -} - -type VolumesLinkMap map[string]VolumesLinkInput - -func (VolumesLinkMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*VolumesLink)(nil)).Elem() -} - -func (i VolumesLinkMap) ToVolumesLinkMapOutput() VolumesLinkMapOutput { - return i.ToVolumesLinkMapOutputWithContext(context.Background()) -} - -func (i VolumesLinkMap) ToVolumesLinkMapOutputWithContext(ctx context.Context) VolumesLinkMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(VolumesLinkMapOutput) -} - -type VolumesLinkOutput struct{ *pulumi.OutputState } - -func (VolumesLinkOutput) ElementType() reflect.Type { - return reflect.TypeOf((**VolumesLink)(nil)).Elem() -} - -func (o VolumesLinkOutput) ToVolumesLinkOutput() VolumesLinkOutput { - return o -} - -func (o VolumesLinkOutput) ToVolumesLinkOutputWithContext(ctx context.Context) VolumesLinkOutput { - return o -} - -func (o VolumesLinkOutput) DeleteOnVmTermination() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *VolumesLink) pulumi.BoolPtrOutput { return v.DeleteOnVmTermination }).(pulumi.BoolPtrOutput) -} - -// The name of the device. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). -func (o VolumesLinkOutput) DeviceName() pulumi.StringOutput { - return o.ApplyT(func(v *VolumesLink) pulumi.StringOutput { return v.DeviceName }).(pulumi.StringOutput) -} - -func (o VolumesLinkOutput) ForceUnlink() pulumi.BoolOutput { - return o.ApplyT(func(v *VolumesLink) pulumi.BoolOutput { return v.ForceUnlink }).(pulumi.BoolOutput) -} - -func (o VolumesLinkOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *VolumesLink) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -// The state of the attachment of the volume (`attaching` | `detaching` | `attached` | `detached`). -func (o VolumesLinkOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v *VolumesLink) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) -} - -// The ID of the VM you want to attach the volume to. -func (o VolumesLinkOutput) VmId() pulumi.StringOutput { - return o.ApplyT(func(v *VolumesLink) pulumi.StringOutput { return v.VmId }).(pulumi.StringOutput) -} - -// The ID of the volume you want to attach. -func (o VolumesLinkOutput) VolumeId() pulumi.StringOutput { - return o.ApplyT(func(v *VolumesLink) pulumi.StringOutput { return v.VolumeId }).(pulumi.StringOutput) -} - -type VolumesLinkArrayOutput struct{ *pulumi.OutputState } - -func (VolumesLinkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*VolumesLink)(nil)).Elem() -} - -func (o VolumesLinkArrayOutput) ToVolumesLinkArrayOutput() VolumesLinkArrayOutput { - return o -} - -func (o VolumesLinkArrayOutput) ToVolumesLinkArrayOutputWithContext(ctx context.Context) VolumesLinkArrayOutput { - return o -} - -func (o VolumesLinkArrayOutput) Index(i pulumi.IntInput) VolumesLinkOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *VolumesLink { - return vs[0].([]*VolumesLink)[vs[1].(int)] - }).(VolumesLinkOutput) -} - -type VolumesLinkMapOutput struct{ *pulumi.OutputState } - -func (VolumesLinkMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*VolumesLink)(nil)).Elem() -} - -func (o VolumesLinkMapOutput) ToVolumesLinkMapOutput() VolumesLinkMapOutput { - return o -} - -func (o VolumesLinkMapOutput) ToVolumesLinkMapOutputWithContext(ctx context.Context) VolumesLinkMapOutput { - return o -} - -func (o VolumesLinkMapOutput) MapIndex(k pulumi.StringInput) VolumesLinkOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *VolumesLink { - return vs[0].(map[string]*VolumesLink)[vs[1].(string)] - }).(VolumesLinkOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*VolumesLinkInput)(nil)).Elem(), &VolumesLink{}) - pulumi.RegisterInputType(reflect.TypeOf((*VolumesLinkArrayInput)(nil)).Elem(), VolumesLinkArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*VolumesLinkMapInput)(nil)).Elem(), VolumesLinkMap{}) - pulumi.RegisterOutputType(VolumesLinkOutput{}) - pulumi.RegisterOutputType(VolumesLinkArrayOutput{}) - pulumi.RegisterOutputType(VolumesLinkMapOutput{}) -} diff --git a/sdk/go/outscale/vpnConnection.go b/sdk/go/outscale/vpnConnection.go deleted file mode 100644 index 6b2b6bb..0000000 --- a/sdk/go/outscale/vpnConnection.go +++ /dev/null @@ -1,429 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "errors" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages a VPN connection. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPN-Connections.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-vpnconnection). -// -// ## Example Usage -// ### Required resources -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewClientGateway(ctx, "clientGateway01", &outscale.ClientGatewayArgs{ -// BgpAsn: pulumi.Int(65000), -// ConnectionType: pulumi.String("ipsec.1"), -// PublicIp: pulumi.String("111.11.11.111"), -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewVirtualGateway(ctx, "virtualGateway01", &outscale.VirtualGatewayArgs{ -// ConnectionType: pulumi.String("ipsec.1"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Create a VPN connection -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewVpnConnection(ctx, "vpnConnection01", &outscale.VpnConnectionArgs{ -// ClientGatewayId: pulumi.Any(outscale_client_gateway.Client_gateway01.Client_gateway_id), -// VirtualGatewayId: pulumi.Any(outscale_virtual_gateway.Virtual_gateway01.Virtual_gateway_id), -// ConnectionType: pulumi.String("ipsec.1"), -// StaticRoutesOnly: pulumi.Bool(true), -// Tags: outscale.VpnConnectionTagArray{ -// &outscale.VpnConnectionTagArgs{ -// Key: pulumi.String("Name"), -// Value: pulumi.String("vpn01"), -// }, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// A VPN connection can be imported using its ID. For exampleconsole -// -// ```sh -// -// $ pulumi import outscale:index/vpnConnection:VpnConnection ImportedVPN vpn-12345678 -// -// ``` -type VpnConnection struct { - pulumi.CustomResourceState - - // Example configuration for the client gateway. - ClientGatewayConfiguration pulumi.StringOutput `pulumi:"clientGatewayConfiguration"` - // The ID of the client gateway. - ClientGatewayId pulumi.StringOutput `pulumi:"clientGatewayId"` - // The type of VPN connection (only `ipsec.1` is supported). - ConnectionType pulumi.StringOutput `pulumi:"connectionType"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - // Information about one or more static routes associated with the VPN connection, if any. - Routes VpnConnectionRouteTypeArrayOutput `pulumi:"routes"` - // The state of the IPSEC tunnel (`UP` \| `DOWN`). - State pulumi.StringOutput `pulumi:"state"` - // If false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see [CreateVpnConnectionRoute](https://docs.outscale.com/api#createvpnconnectionroute) and [DeleteVpnConnectionRoute](https://docs.outscale.com/api#deletevpnconnectionroute). - StaticRoutesOnly pulumi.BoolPtrOutput `pulumi:"staticRoutesOnly"` - // A tag to add to this resource. You can specify this argument several times. - Tags VpnConnectionTagArrayOutput `pulumi:"tags"` - // Information about the current state of one or more of the VPN tunnels. - VgwTelemetries VpnConnectionVgwTelemetryArrayOutput `pulumi:"vgwTelemetries"` - // The ID of the virtual gateway. - VirtualGatewayId pulumi.StringOutput `pulumi:"virtualGatewayId"` - // The ID of the VPN connection. - VpnConnectionId pulumi.StringOutput `pulumi:"vpnConnectionId"` -} - -// NewVpnConnection registers a new resource with the given unique name, arguments, and options. -func NewVpnConnection(ctx *pulumi.Context, - name string, args *VpnConnectionArgs, opts ...pulumi.ResourceOption) (*VpnConnection, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.ClientGatewayId == nil { - return nil, errors.New("invalid value for required argument 'ClientGatewayId'") - } - if args.ConnectionType == nil { - return nil, errors.New("invalid value for required argument 'ConnectionType'") - } - if args.VirtualGatewayId == nil { - return nil, errors.New("invalid value for required argument 'VirtualGatewayId'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource VpnConnection - err := ctx.RegisterResource("outscale:index/vpnConnection:VpnConnection", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetVpnConnection gets an existing VpnConnection resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetVpnConnection(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *VpnConnectionState, opts ...pulumi.ResourceOption) (*VpnConnection, error) { - var resource VpnConnection - err := ctx.ReadResource("outscale:index/vpnConnection:VpnConnection", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering VpnConnection resources. -type vpnConnectionState struct { - // Example configuration for the client gateway. - ClientGatewayConfiguration *string `pulumi:"clientGatewayConfiguration"` - // The ID of the client gateway. - ClientGatewayId *string `pulumi:"clientGatewayId"` - // The type of VPN connection (only `ipsec.1` is supported). - ConnectionType *string `pulumi:"connectionType"` - RequestId *string `pulumi:"requestId"` - // Information about one or more static routes associated with the VPN connection, if any. - Routes []VpnConnectionRouteType `pulumi:"routes"` - // The state of the IPSEC tunnel (`UP` \| `DOWN`). - State *string `pulumi:"state"` - // If false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see [CreateVpnConnectionRoute](https://docs.outscale.com/api#createvpnconnectionroute) and [DeleteVpnConnectionRoute](https://docs.outscale.com/api#deletevpnconnectionroute). - StaticRoutesOnly *bool `pulumi:"staticRoutesOnly"` - // A tag to add to this resource. You can specify this argument several times. - Tags []VpnConnectionTag `pulumi:"tags"` - // Information about the current state of one or more of the VPN tunnels. - VgwTelemetries []VpnConnectionVgwTelemetry `pulumi:"vgwTelemetries"` - // The ID of the virtual gateway. - VirtualGatewayId *string `pulumi:"virtualGatewayId"` - // The ID of the VPN connection. - VpnConnectionId *string `pulumi:"vpnConnectionId"` -} - -type VpnConnectionState struct { - // Example configuration for the client gateway. - ClientGatewayConfiguration pulumi.StringPtrInput - // The ID of the client gateway. - ClientGatewayId pulumi.StringPtrInput - // The type of VPN connection (only `ipsec.1` is supported). - ConnectionType pulumi.StringPtrInput - RequestId pulumi.StringPtrInput - // Information about one or more static routes associated with the VPN connection, if any. - Routes VpnConnectionRouteTypeArrayInput - // The state of the IPSEC tunnel (`UP` \| `DOWN`). - State pulumi.StringPtrInput - // If false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see [CreateVpnConnectionRoute](https://docs.outscale.com/api#createvpnconnectionroute) and [DeleteVpnConnectionRoute](https://docs.outscale.com/api#deletevpnconnectionroute). - StaticRoutesOnly pulumi.BoolPtrInput - // A tag to add to this resource. You can specify this argument several times. - Tags VpnConnectionTagArrayInput - // Information about the current state of one or more of the VPN tunnels. - VgwTelemetries VpnConnectionVgwTelemetryArrayInput - // The ID of the virtual gateway. - VirtualGatewayId pulumi.StringPtrInput - // The ID of the VPN connection. - VpnConnectionId pulumi.StringPtrInput -} - -func (VpnConnectionState) ElementType() reflect.Type { - return reflect.TypeOf((*vpnConnectionState)(nil)).Elem() -} - -type vpnConnectionArgs struct { - // The ID of the client gateway. - ClientGatewayId string `pulumi:"clientGatewayId"` - // The type of VPN connection (only `ipsec.1` is supported). - ConnectionType string `pulumi:"connectionType"` - // If false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see [CreateVpnConnectionRoute](https://docs.outscale.com/api#createvpnconnectionroute) and [DeleteVpnConnectionRoute](https://docs.outscale.com/api#deletevpnconnectionroute). - StaticRoutesOnly *bool `pulumi:"staticRoutesOnly"` - // A tag to add to this resource. You can specify this argument several times. - Tags []VpnConnectionTag `pulumi:"tags"` - // The ID of the virtual gateway. - VirtualGatewayId string `pulumi:"virtualGatewayId"` -} - -// The set of arguments for constructing a VpnConnection resource. -type VpnConnectionArgs struct { - // The ID of the client gateway. - ClientGatewayId pulumi.StringInput - // The type of VPN connection (only `ipsec.1` is supported). - ConnectionType pulumi.StringInput - // If false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see [CreateVpnConnectionRoute](https://docs.outscale.com/api#createvpnconnectionroute) and [DeleteVpnConnectionRoute](https://docs.outscale.com/api#deletevpnconnectionroute). - StaticRoutesOnly pulumi.BoolPtrInput - // A tag to add to this resource. You can specify this argument several times. - Tags VpnConnectionTagArrayInput - // The ID of the virtual gateway. - VirtualGatewayId pulumi.StringInput -} - -func (VpnConnectionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*vpnConnectionArgs)(nil)).Elem() -} - -type VpnConnectionInput interface { - pulumi.Input - - ToVpnConnectionOutput() VpnConnectionOutput - ToVpnConnectionOutputWithContext(ctx context.Context) VpnConnectionOutput -} - -func (*VpnConnection) ElementType() reflect.Type { - return reflect.TypeOf((**VpnConnection)(nil)).Elem() -} - -func (i *VpnConnection) ToVpnConnectionOutput() VpnConnectionOutput { - return i.ToVpnConnectionOutputWithContext(context.Background()) -} - -func (i *VpnConnection) ToVpnConnectionOutputWithContext(ctx context.Context) VpnConnectionOutput { - return pulumi.ToOutputWithContext(ctx, i).(VpnConnectionOutput) -} - -// VpnConnectionArrayInput is an input type that accepts VpnConnectionArray and VpnConnectionArrayOutput values. -// You can construct a concrete instance of `VpnConnectionArrayInput` via: -// -// VpnConnectionArray{ VpnConnectionArgs{...} } -type VpnConnectionArrayInput interface { - pulumi.Input - - ToVpnConnectionArrayOutput() VpnConnectionArrayOutput - ToVpnConnectionArrayOutputWithContext(context.Context) VpnConnectionArrayOutput -} - -type VpnConnectionArray []VpnConnectionInput - -func (VpnConnectionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*VpnConnection)(nil)).Elem() -} - -func (i VpnConnectionArray) ToVpnConnectionArrayOutput() VpnConnectionArrayOutput { - return i.ToVpnConnectionArrayOutputWithContext(context.Background()) -} - -func (i VpnConnectionArray) ToVpnConnectionArrayOutputWithContext(ctx context.Context) VpnConnectionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VpnConnectionArrayOutput) -} - -// VpnConnectionMapInput is an input type that accepts VpnConnectionMap and VpnConnectionMapOutput values. -// You can construct a concrete instance of `VpnConnectionMapInput` via: -// -// VpnConnectionMap{ "key": VpnConnectionArgs{...} } -type VpnConnectionMapInput interface { - pulumi.Input - - ToVpnConnectionMapOutput() VpnConnectionMapOutput - ToVpnConnectionMapOutputWithContext(context.Context) VpnConnectionMapOutput -} - -type VpnConnectionMap map[string]VpnConnectionInput - -func (VpnConnectionMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*VpnConnection)(nil)).Elem() -} - -func (i VpnConnectionMap) ToVpnConnectionMapOutput() VpnConnectionMapOutput { - return i.ToVpnConnectionMapOutputWithContext(context.Background()) -} - -func (i VpnConnectionMap) ToVpnConnectionMapOutputWithContext(ctx context.Context) VpnConnectionMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(VpnConnectionMapOutput) -} - -type VpnConnectionOutput struct{ *pulumi.OutputState } - -func (VpnConnectionOutput) ElementType() reflect.Type { - return reflect.TypeOf((**VpnConnection)(nil)).Elem() -} - -func (o VpnConnectionOutput) ToVpnConnectionOutput() VpnConnectionOutput { - return o -} - -func (o VpnConnectionOutput) ToVpnConnectionOutputWithContext(ctx context.Context) VpnConnectionOutput { - return o -} - -// Example configuration for the client gateway. -func (o VpnConnectionOutput) ClientGatewayConfiguration() pulumi.StringOutput { - return o.ApplyT(func(v *VpnConnection) pulumi.StringOutput { return v.ClientGatewayConfiguration }).(pulumi.StringOutput) -} - -// The ID of the client gateway. -func (o VpnConnectionOutput) ClientGatewayId() pulumi.StringOutput { - return o.ApplyT(func(v *VpnConnection) pulumi.StringOutput { return v.ClientGatewayId }).(pulumi.StringOutput) -} - -// The type of VPN connection (only `ipsec.1` is supported). -func (o VpnConnectionOutput) ConnectionType() pulumi.StringOutput { - return o.ApplyT(func(v *VpnConnection) pulumi.StringOutput { return v.ConnectionType }).(pulumi.StringOutput) -} - -func (o VpnConnectionOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *VpnConnection) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -// Information about one or more static routes associated with the VPN connection, if any. -func (o VpnConnectionOutput) Routes() VpnConnectionRouteTypeArrayOutput { - return o.ApplyT(func(v *VpnConnection) VpnConnectionRouteTypeArrayOutput { return v.Routes }).(VpnConnectionRouteTypeArrayOutput) -} - -// The state of the IPSEC tunnel (`UP` \| `DOWN`). -func (o VpnConnectionOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v *VpnConnection) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) -} - -// If false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see [CreateVpnConnectionRoute](https://docs.outscale.com/api#createvpnconnectionroute) and [DeleteVpnConnectionRoute](https://docs.outscale.com/api#deletevpnconnectionroute). -func (o VpnConnectionOutput) StaticRoutesOnly() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *VpnConnection) pulumi.BoolPtrOutput { return v.StaticRoutesOnly }).(pulumi.BoolPtrOutput) -} - -// A tag to add to this resource. You can specify this argument several times. -func (o VpnConnectionOutput) Tags() VpnConnectionTagArrayOutput { - return o.ApplyT(func(v *VpnConnection) VpnConnectionTagArrayOutput { return v.Tags }).(VpnConnectionTagArrayOutput) -} - -// Information about the current state of one or more of the VPN tunnels. -func (o VpnConnectionOutput) VgwTelemetries() VpnConnectionVgwTelemetryArrayOutput { - return o.ApplyT(func(v *VpnConnection) VpnConnectionVgwTelemetryArrayOutput { return v.VgwTelemetries }).(VpnConnectionVgwTelemetryArrayOutput) -} - -// The ID of the virtual gateway. -func (o VpnConnectionOutput) VirtualGatewayId() pulumi.StringOutput { - return o.ApplyT(func(v *VpnConnection) pulumi.StringOutput { return v.VirtualGatewayId }).(pulumi.StringOutput) -} - -// The ID of the VPN connection. -func (o VpnConnectionOutput) VpnConnectionId() pulumi.StringOutput { - return o.ApplyT(func(v *VpnConnection) pulumi.StringOutput { return v.VpnConnectionId }).(pulumi.StringOutput) -} - -type VpnConnectionArrayOutput struct{ *pulumi.OutputState } - -func (VpnConnectionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*VpnConnection)(nil)).Elem() -} - -func (o VpnConnectionArrayOutput) ToVpnConnectionArrayOutput() VpnConnectionArrayOutput { - return o -} - -func (o VpnConnectionArrayOutput) ToVpnConnectionArrayOutputWithContext(ctx context.Context) VpnConnectionArrayOutput { - return o -} - -func (o VpnConnectionArrayOutput) Index(i pulumi.IntInput) VpnConnectionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *VpnConnection { - return vs[0].([]*VpnConnection)[vs[1].(int)] - }).(VpnConnectionOutput) -} - -type VpnConnectionMapOutput struct{ *pulumi.OutputState } - -func (VpnConnectionMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*VpnConnection)(nil)).Elem() -} - -func (o VpnConnectionMapOutput) ToVpnConnectionMapOutput() VpnConnectionMapOutput { - return o -} - -func (o VpnConnectionMapOutput) ToVpnConnectionMapOutputWithContext(ctx context.Context) VpnConnectionMapOutput { - return o -} - -func (o VpnConnectionMapOutput) MapIndex(k pulumi.StringInput) VpnConnectionOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *VpnConnection { - return vs[0].(map[string]*VpnConnection)[vs[1].(string)] - }).(VpnConnectionOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*VpnConnectionInput)(nil)).Elem(), &VpnConnection{}) - pulumi.RegisterInputType(reflect.TypeOf((*VpnConnectionArrayInput)(nil)).Elem(), VpnConnectionArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*VpnConnectionMapInput)(nil)).Elem(), VpnConnectionMap{}) - pulumi.RegisterOutputType(VpnConnectionOutput{}) - pulumi.RegisterOutputType(VpnConnectionArrayOutput{}) - pulumi.RegisterOutputType(VpnConnectionMapOutput{}) -} diff --git a/sdk/go/outscale/vpnConnectionRoute.go b/sdk/go/outscale/vpnConnectionRoute.go deleted file mode 100644 index bdbf64b..0000000 --- a/sdk/go/outscale/vpnConnectionRoute.go +++ /dev/null @@ -1,327 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package outscale - -import ( - "context" - "reflect" - - "errors" - "github.com/outscale/pulumi-outscale/sdk/go/outscale/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Manages a VPN connection route. -// -// For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Routing-Configuration-for-VPN-Connections.html).\ -// For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-vpnconnection). -// -// ## Example Usage -// ### Required resources -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// clientGateway01, err := outscale.NewClientGateway(ctx, "clientGateway01", &outscale.ClientGatewayArgs{ -// BgpAsn: pulumi.Int(65000), -// PublicIp: pulumi.String("111.11.11.111"), -// ConnectionType: pulumi.String("ipsec.1"), -// }) -// if err != nil { -// return err -// } -// virtualGateway01, err := outscale.NewVirtualGateway(ctx, "virtualGateway01", &outscale.VirtualGatewayArgs{ -// ConnectionType: pulumi.String("ipsec.1"), -// }) -// if err != nil { -// return err -// } -// _, err = outscale.NewVpnConnection(ctx, "vpnConnection01", &outscale.VpnConnectionArgs{ -// ClientGatewayId: clientGateway01.ClientGatewayId, -// VirtualGatewayId: virtualGateway01.VirtualGatewayId, -// ConnectionType: pulumi.String("ipsec.1"), -// StaticRoutesOnly: pulumi.Bool(true), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// ### Create a static route to a VPN connection -// -// ```go -// package main -// -// import ( -// -// "github.com/outscale/pulumi-outscale/sdk/go/outscale" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := outscale.NewVpnConnectionRoute(ctx, "vpnConnectionRoute01", &outscale.VpnConnectionRouteArgs{ -// VpnConnectionId: pulumi.Any(outscale_vpn_connection.Vpn_connection01.Vpn_connection_id), -// DestinationIpRange: pulumi.String("10.0.0.0/16"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// A VPN connection route can be imported using the VPN connection ID and the route destination IP range. For exampleconsole -// -// ```sh -// -// $ pulumi import outscale:index/vpnConnectionRoute:VpnConnectionRoute ImportedRoute vpn-12345678_10.0.0.0/0 -// -// ``` -type VpnConnectionRoute struct { - pulumi.CustomResourceState - - // The network prefix of the route, in CIDR notation (for example, `10.12.0.0/16`). - DestinationIpRange pulumi.StringOutput `pulumi:"destinationIpRange"` - RequestId pulumi.StringOutput `pulumi:"requestId"` - // The ID of the target VPN connection of the static route. - VpnConnectionId pulumi.StringOutput `pulumi:"vpnConnectionId"` -} - -// NewVpnConnectionRoute registers a new resource with the given unique name, arguments, and options. -func NewVpnConnectionRoute(ctx *pulumi.Context, - name string, args *VpnConnectionRouteArgs, opts ...pulumi.ResourceOption) (*VpnConnectionRoute, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.DestinationIpRange == nil { - return nil, errors.New("invalid value for required argument 'DestinationIpRange'") - } - if args.VpnConnectionId == nil { - return nil, errors.New("invalid value for required argument 'VpnConnectionId'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource VpnConnectionRoute - err := ctx.RegisterResource("outscale:index/vpnConnectionRoute:VpnConnectionRoute", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetVpnConnectionRoute gets an existing VpnConnectionRoute resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetVpnConnectionRoute(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *VpnConnectionRouteState, opts ...pulumi.ResourceOption) (*VpnConnectionRoute, error) { - var resource VpnConnectionRoute - err := ctx.ReadResource("outscale:index/vpnConnectionRoute:VpnConnectionRoute", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering VpnConnectionRoute resources. -type vpnConnectionRouteState struct { - // The network prefix of the route, in CIDR notation (for example, `10.12.0.0/16`). - DestinationIpRange *string `pulumi:"destinationIpRange"` - RequestId *string `pulumi:"requestId"` - // The ID of the target VPN connection of the static route. - VpnConnectionId *string `pulumi:"vpnConnectionId"` -} - -type VpnConnectionRouteState struct { - // The network prefix of the route, in CIDR notation (for example, `10.12.0.0/16`). - DestinationIpRange pulumi.StringPtrInput - RequestId pulumi.StringPtrInput - // The ID of the target VPN connection of the static route. - VpnConnectionId pulumi.StringPtrInput -} - -func (VpnConnectionRouteState) ElementType() reflect.Type { - return reflect.TypeOf((*vpnConnectionRouteState)(nil)).Elem() -} - -type vpnConnectionRouteArgs struct { - // The network prefix of the route, in CIDR notation (for example, `10.12.0.0/16`). - DestinationIpRange string `pulumi:"destinationIpRange"` - // The ID of the target VPN connection of the static route. - VpnConnectionId string `pulumi:"vpnConnectionId"` -} - -// The set of arguments for constructing a VpnConnectionRoute resource. -type VpnConnectionRouteArgs struct { - // The network prefix of the route, in CIDR notation (for example, `10.12.0.0/16`). - DestinationIpRange pulumi.StringInput - // The ID of the target VPN connection of the static route. - VpnConnectionId pulumi.StringInput -} - -func (VpnConnectionRouteArgs) ElementType() reflect.Type { - return reflect.TypeOf((*vpnConnectionRouteArgs)(nil)).Elem() -} - -type VpnConnectionRouteInput interface { - pulumi.Input - - ToVpnConnectionRouteOutput() VpnConnectionRouteOutput - ToVpnConnectionRouteOutputWithContext(ctx context.Context) VpnConnectionRouteOutput -} - -func (*VpnConnectionRoute) ElementType() reflect.Type { - return reflect.TypeOf((**VpnConnectionRoute)(nil)).Elem() -} - -func (i *VpnConnectionRoute) ToVpnConnectionRouteOutput() VpnConnectionRouteOutput { - return i.ToVpnConnectionRouteOutputWithContext(context.Background()) -} - -func (i *VpnConnectionRoute) ToVpnConnectionRouteOutputWithContext(ctx context.Context) VpnConnectionRouteOutput { - return pulumi.ToOutputWithContext(ctx, i).(VpnConnectionRouteOutput) -} - -// VpnConnectionRouteArrayInput is an input type that accepts VpnConnectionRouteArray and VpnConnectionRouteArrayOutput values. -// You can construct a concrete instance of `VpnConnectionRouteArrayInput` via: -// -// VpnConnectionRouteArray{ VpnConnectionRouteArgs{...} } -type VpnConnectionRouteArrayInput interface { - pulumi.Input - - ToVpnConnectionRouteArrayOutput() VpnConnectionRouteArrayOutput - ToVpnConnectionRouteArrayOutputWithContext(context.Context) VpnConnectionRouteArrayOutput -} - -type VpnConnectionRouteArray []VpnConnectionRouteInput - -func (VpnConnectionRouteArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*VpnConnectionRoute)(nil)).Elem() -} - -func (i VpnConnectionRouteArray) ToVpnConnectionRouteArrayOutput() VpnConnectionRouteArrayOutput { - return i.ToVpnConnectionRouteArrayOutputWithContext(context.Background()) -} - -func (i VpnConnectionRouteArray) ToVpnConnectionRouteArrayOutputWithContext(ctx context.Context) VpnConnectionRouteArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VpnConnectionRouteArrayOutput) -} - -// VpnConnectionRouteMapInput is an input type that accepts VpnConnectionRouteMap and VpnConnectionRouteMapOutput values. -// You can construct a concrete instance of `VpnConnectionRouteMapInput` via: -// -// VpnConnectionRouteMap{ "key": VpnConnectionRouteArgs{...} } -type VpnConnectionRouteMapInput interface { - pulumi.Input - - ToVpnConnectionRouteMapOutput() VpnConnectionRouteMapOutput - ToVpnConnectionRouteMapOutputWithContext(context.Context) VpnConnectionRouteMapOutput -} - -type VpnConnectionRouteMap map[string]VpnConnectionRouteInput - -func (VpnConnectionRouteMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*VpnConnectionRoute)(nil)).Elem() -} - -func (i VpnConnectionRouteMap) ToVpnConnectionRouteMapOutput() VpnConnectionRouteMapOutput { - return i.ToVpnConnectionRouteMapOutputWithContext(context.Background()) -} - -func (i VpnConnectionRouteMap) ToVpnConnectionRouteMapOutputWithContext(ctx context.Context) VpnConnectionRouteMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(VpnConnectionRouteMapOutput) -} - -type VpnConnectionRouteOutput struct{ *pulumi.OutputState } - -func (VpnConnectionRouteOutput) ElementType() reflect.Type { - return reflect.TypeOf((**VpnConnectionRoute)(nil)).Elem() -} - -func (o VpnConnectionRouteOutput) ToVpnConnectionRouteOutput() VpnConnectionRouteOutput { - return o -} - -func (o VpnConnectionRouteOutput) ToVpnConnectionRouteOutputWithContext(ctx context.Context) VpnConnectionRouteOutput { - return o -} - -// The network prefix of the route, in CIDR notation (for example, `10.12.0.0/16`). -func (o VpnConnectionRouteOutput) DestinationIpRange() pulumi.StringOutput { - return o.ApplyT(func(v *VpnConnectionRoute) pulumi.StringOutput { return v.DestinationIpRange }).(pulumi.StringOutput) -} - -func (o VpnConnectionRouteOutput) RequestId() pulumi.StringOutput { - return o.ApplyT(func(v *VpnConnectionRoute) pulumi.StringOutput { return v.RequestId }).(pulumi.StringOutput) -} - -// The ID of the target VPN connection of the static route. -func (o VpnConnectionRouteOutput) VpnConnectionId() pulumi.StringOutput { - return o.ApplyT(func(v *VpnConnectionRoute) pulumi.StringOutput { return v.VpnConnectionId }).(pulumi.StringOutput) -} - -type VpnConnectionRouteArrayOutput struct{ *pulumi.OutputState } - -func (VpnConnectionRouteArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*VpnConnectionRoute)(nil)).Elem() -} - -func (o VpnConnectionRouteArrayOutput) ToVpnConnectionRouteArrayOutput() VpnConnectionRouteArrayOutput { - return o -} - -func (o VpnConnectionRouteArrayOutput) ToVpnConnectionRouteArrayOutputWithContext(ctx context.Context) VpnConnectionRouteArrayOutput { - return o -} - -func (o VpnConnectionRouteArrayOutput) Index(i pulumi.IntInput) VpnConnectionRouteOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *VpnConnectionRoute { - return vs[0].([]*VpnConnectionRoute)[vs[1].(int)] - }).(VpnConnectionRouteOutput) -} - -type VpnConnectionRouteMapOutput struct{ *pulumi.OutputState } - -func (VpnConnectionRouteMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*VpnConnectionRoute)(nil)).Elem() -} - -func (o VpnConnectionRouteMapOutput) ToVpnConnectionRouteMapOutput() VpnConnectionRouteMapOutput { - return o -} - -func (o VpnConnectionRouteMapOutput) ToVpnConnectionRouteMapOutputWithContext(ctx context.Context) VpnConnectionRouteMapOutput { - return o -} - -func (o VpnConnectionRouteMapOutput) MapIndex(k pulumi.StringInput) VpnConnectionRouteOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *VpnConnectionRoute { - return vs[0].(map[string]*VpnConnectionRoute)[vs[1].(string)] - }).(VpnConnectionRouteOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*VpnConnectionRouteInput)(nil)).Elem(), &VpnConnectionRoute{}) - pulumi.RegisterInputType(reflect.TypeOf((*VpnConnectionRouteArrayInput)(nil)).Elem(), VpnConnectionRouteArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*VpnConnectionRouteMapInput)(nil)).Elem(), VpnConnectionRouteMap{}) - pulumi.RegisterOutputType(VpnConnectionRouteOutput{}) - pulumi.RegisterOutputType(VpnConnectionRouteArrayOutput{}) - pulumi.RegisterOutputType(VpnConnectionRouteMapOutput{}) -} diff --git a/sdk/nodejs/accessKey.ts b/sdk/nodejs/accessKey.ts index f049f83..82c3465 100644 --- a/sdk/nodejs/accessKey.ts +++ b/sdk/nodejs/accessKey.ts @@ -9,7 +9,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const accessKey01 = new outscale.AccessKey("accessKey01", { * expirationDate: "2023-01-01", diff --git a/sdk/nodejs/apiAccessPolicy.ts b/sdk/nodejs/apiAccessPolicy.ts index 531ba18..a240d5e 100644 --- a/sdk/nodejs/apiAccessPolicy.ts +++ b/sdk/nodejs/apiAccessPolicy.ts @@ -19,7 +19,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const unique = new outscale.ApiAccessPolicy("unique", { * maxAccessKeyExpirationSeconds: 31536000, @@ -30,7 +30,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const unique = new outscale.ApiAccessPolicy("unique", { * maxAccessKeyExpirationSeconds: 3153600000, @@ -41,7 +41,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const unique = new outscale.ApiAccessPolicy("unique", { * maxAccessKeyExpirationSeconds: 0, diff --git a/sdk/nodejs/apiAccessRule.ts b/sdk/nodejs/apiAccessRule.ts index fc73a55..f630f39 100644 --- a/sdk/nodejs/apiAccessRule.ts +++ b/sdk/nodejs/apiAccessRule.ts @@ -15,7 +15,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const apiAccessRule01 = new outscale.ApiAccessRule("apiAccessRule01", { * description: "Basic API Access Rule from Terraform", @@ -30,7 +30,7 @@ import * as utilities from "./utilities"; * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fs from "fs"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const ca01 = new outscale.Ca("ca01", { * caPem: fs.readFileSync("", "utf8"), diff --git a/sdk/nodejs/ca.ts b/sdk/nodejs/ca.ts index 852b985..13d43ce 100644 --- a/sdk/nodejs/ca.ts +++ b/sdk/nodejs/ca.ts @@ -15,7 +15,7 @@ import * as utilities from "./utilities"; * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fs from "fs"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const ca01 = new outscale.Ca("ca01", { * caPem: fs.readFileSync("", "utf8"), diff --git a/sdk/nodejs/clientGateway.ts b/sdk/nodejs/clientGateway.ts index 02991bc..3078784 100644 --- a/sdk/nodejs/clientGateway.ts +++ b/sdk/nodejs/clientGateway.ts @@ -16,7 +16,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const clientGateway01 = new outscale.ClientGateway("clientGateway01", { * bgpAsn: 65000, diff --git a/sdk/nodejs/dhcpOption.ts b/sdk/nodejs/dhcpOption.ts index d2e1ea4..6c7e9c7 100644 --- a/sdk/nodejs/dhcpOption.ts +++ b/sdk/nodejs/dhcpOption.ts @@ -17,7 +17,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const dhcpOption01 = new outscale.DhcpOption("dhcpOption01", {domainName: "MyCompany.com"}); * ``` @@ -25,7 +25,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const dhcpOption02 = new outscale.DhcpOption("dhcpOption02", { * domainName: "MyCompany.com", diff --git a/sdk/nodejs/flexibleGpu.ts b/sdk/nodejs/flexibleGpu.ts index 0452545..58711f8 100644 --- a/sdk/nodejs/flexibleGpu.ts +++ b/sdk/nodejs/flexibleGpu.ts @@ -15,7 +15,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const flexibleGpu01 = new outscale.FlexibleGpu("flexibleGpu01", { * modelName: _var.model_name, diff --git a/sdk/nodejs/flexibleGpuLink.ts b/sdk/nodejs/flexibleGpuLink.ts index d653525..4350fc1 100644 --- a/sdk/nodejs/flexibleGpuLink.ts +++ b/sdk/nodejs/flexibleGpuLink.ts @@ -17,7 +17,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const vm01 = new outscale.Vm("vm01", { * imageId: ami_12345678, diff --git a/sdk/nodejs/image.ts b/sdk/nodejs/image.ts index 025485a..5c13490 100644 --- a/sdk/nodejs/image.ts +++ b/sdk/nodejs/image.ts @@ -17,7 +17,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const image01 = new outscale.Image("image01", { * imageName: "terraform-omi-create", @@ -30,7 +30,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const image02 = new outscale.Image("image02", { * description: "Terraform register OMI", @@ -42,7 +42,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const image03 = new outscale.Image("image03", { * description: "Terraform copy OMI", @@ -55,7 +55,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const image04 = new outscale.Image("image04", { * blockDeviceMappings: [{ diff --git a/sdk/nodejs/imageExportTask.ts b/sdk/nodejs/imageExportTask.ts index 9629f9f..8e24192 100644 --- a/sdk/nodejs/imageExportTask.ts +++ b/sdk/nodejs/imageExportTask.ts @@ -17,7 +17,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const image01 = new outscale.Image("image01", { * imageName: "terraform-image-to-export", @@ -28,7 +28,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const imageExportTask01 = new outscale.ImageExportTask("imageExportTask01", { * imageId: outscale_image.image01.image_id, diff --git a/sdk/nodejs/imageLaunchPermission.ts b/sdk/nodejs/imageLaunchPermission.ts index 8d21ceb..2f32fb6 100644 --- a/sdk/nodejs/imageLaunchPermission.ts +++ b/sdk/nodejs/imageLaunchPermission.ts @@ -17,7 +17,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const image01 = new outscale.ImageLaunchPermission("image01", { * imageId: "ami-12345678", @@ -30,7 +30,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const image02 = new outscale.ImageLaunchPermission("image02", { * imageId: "ami-12345678", diff --git a/sdk/nodejs/internetService.ts b/sdk/nodejs/internetService.ts index 67139ad..32cd7b9 100644 --- a/sdk/nodejs/internetService.ts +++ b/sdk/nodejs/internetService.ts @@ -16,7 +16,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const internetService01 = new outscale.InternetService("internetService01", {}); * ``` diff --git a/sdk/nodejs/internetServiceLink.ts b/sdk/nodejs/internetServiceLink.ts index ed52fe3..0dd9f5a 100644 --- a/sdk/nodejs/internetServiceLink.ts +++ b/sdk/nodejs/internetServiceLink.ts @@ -17,7 +17,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const net01 = new outscale.Net("net01", {ipRange: "10.0.0.0/18"}); * const internetService01 = new outscale.InternetService("internetService01", {}); @@ -26,7 +26,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const internetServiceLink01 = new outscale.InternetServiceLink("internetServiceLink01", { * internetServiceId: outscale_internet_service.internet_service01.internet_service_id, diff --git a/sdk/nodejs/keypair.ts b/sdk/nodejs/keypair.ts index 1a51385..88e711e 100644 --- a/sdk/nodejs/keypair.ts +++ b/sdk/nodejs/keypair.ts @@ -15,7 +15,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const keypair01 = new outscale.Keypair("keypair01", {keypairName: "terraform-keypair-create"}); * ``` @@ -24,7 +24,7 @@ import * as utilities from "./utilities"; * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fs from "fs"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const keypair02 = new outscale.Keypair("keypair02", { * keypairName: "terraform-keypair-import-file", diff --git a/sdk/nodejs/loadBalancer.ts b/sdk/nodejs/loadBalancer.ts index 5f30b53..b374428 100644 --- a/sdk/nodejs/loadBalancer.ts +++ b/sdk/nodejs/loadBalancer.ts @@ -17,7 +17,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const loadBalancer01 = new outscale.LoadBalancer("loadBalancer01", { * listeners: [{ @@ -38,7 +38,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const net01 = new outscale.Net("net01", {ipRange: "10.0.0.0/16"}); * const subnet01 = new outscale.Subnet("subnet01", { @@ -79,7 +79,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const net02 = new outscale.Net("net02", {ipRange: "10.0.0.0/16"}); * const subnet02 = new outscale.Subnet("subnet02", { diff --git a/sdk/nodejs/loadBalancerAttributes.ts b/sdk/nodejs/loadBalancerAttributes.ts index a499c58..ca4f464 100644 --- a/sdk/nodejs/loadBalancerAttributes.ts +++ b/sdk/nodejs/loadBalancerAttributes.ts @@ -17,7 +17,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const loadBalancer01 = new outscale.LoadBalancer("loadBalancer01", { * listeners: [ @@ -59,7 +59,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const attributes01 = new outscale.LoadBalancerAttributes("attributes01", { * loadBalancerName: outscale_load_balancer.load_balancer01.id, @@ -78,7 +78,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const attributes02 = new outscale.LoadBalancerAttributes("attributes02", { * loadBalancerName: outscale_load_balancer.load_balancer01.id, @@ -94,7 +94,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const attributes03 = new outscale.LoadBalancerAttributes("attributes03", { * loadBalancerName: outscale_load_balancer.load_balancer01.id, @@ -106,7 +106,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const attributes04 = new outscale.LoadBalancerAttributes("attributes04", { * loadBalancerName: outscale_load_balancer.load_balancer01.id, diff --git a/sdk/nodejs/loadBalancerPolicy.ts b/sdk/nodejs/loadBalancerPolicy.ts index 08156d7..3bf1f6e 100644 --- a/sdk/nodejs/loadBalancerPolicy.ts +++ b/sdk/nodejs/loadBalancerPolicy.ts @@ -17,7 +17,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const loadBalancer01 = new outscale.LoadBalancer("loadBalancer01", { * listeners: [{ @@ -39,7 +39,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const loadBalancer02 = new outscale.LoadBalancer("loadBalancer02", { * loadBalancerName: "terraform-lb-for-app-policy", diff --git a/sdk/nodejs/loadBalancerVms.ts b/sdk/nodejs/loadBalancerVms.ts index f4f4cc9..b7c8100 100644 --- a/sdk/nodejs/loadBalancerVms.ts +++ b/sdk/nodejs/loadBalancerVms.ts @@ -15,7 +15,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const outscaleVm01 = new outscale.Vm("outscaleVm01", { * imageId: "ami-12345678", @@ -46,7 +46,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const outscaleLoadBalancerVms01 = new outscale.LoadBalancerVms("outscaleLoadBalancerVms01", { * loadBalancerName: "load-balancer-for-backend-vms", diff --git a/sdk/nodejs/natService.ts b/sdk/nodejs/natService.ts index 5098e08..e4dbefb 100644 --- a/sdk/nodejs/natService.ts +++ b/sdk/nodejs/natService.ts @@ -17,7 +17,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const net01 = new outscale.Net("net01", {ipRange: "10.0.0.0/16"}); * const subnet01 = new outscale.Subnet("subnet01", { @@ -47,7 +47,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const natService01 = new outscale.NatService("natService01", { * subnetId: outscale_subnet.subnet01.subnet_id, diff --git a/sdk/nodejs/net.ts b/sdk/nodejs/net.ts index bb63cad..9afde75 100644 --- a/sdk/nodejs/net.ts +++ b/sdk/nodejs/net.ts @@ -17,7 +17,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const net01 = new outscale.Net("net01", { * ipRange: "10.10.0.0/16", @@ -28,7 +28,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const net02 = new outscale.Net("net02", {ipRange: "10.0.0.0/16"}); * const subnet01 = new outscale.Subnet("subnet01", { diff --git a/sdk/nodejs/netAccessPoint.ts b/sdk/nodejs/netAccessPoint.ts index e24bee2..89a85bd 100644 --- a/sdk/nodejs/netAccessPoint.ts +++ b/sdk/nodejs/netAccessPoint.ts @@ -17,7 +17,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const net01 = new outscale.Net("net01", {ipRange: "10.0.0.0/16"}); * const routeTable01 = new outscale.RouteTable("routeTable01", {netId: net01.netId}); @@ -26,7 +26,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const netAccessPoint01 = new outscale.NetAccessPoint("netAccessPoint01", { * netId: outscale_net.net01.net_id, diff --git a/sdk/nodejs/netAttributes.ts b/sdk/nodejs/netAttributes.ts index 12f81d4..d0f057d 100644 --- a/sdk/nodejs/netAttributes.ts +++ b/sdk/nodejs/netAttributes.ts @@ -17,7 +17,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const net01 = new outscale.Net("net01", {ipRange: "10.0.0.0/16"}); * ``` @@ -25,7 +25,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const netAttributes01 = new outscale.NetAttributes("netAttributes01", { * netId: outscale_net.net01.net_id, diff --git a/sdk/nodejs/netPeering.ts b/sdk/nodejs/netPeering.ts index b094b76..b38ae90 100644 --- a/sdk/nodejs/netPeering.ts +++ b/sdk/nodejs/netPeering.ts @@ -17,7 +17,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const net01 = new outscale.Net("net01", {ipRange: "10.10.0.0/24"}); * const net02 = new outscale.Net("net02", {ipRange: "10.31.0.0/16"}); @@ -26,7 +26,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const netPeering01 = new outscale.NetPeering("netPeering01", { * accepterNetId: outscale_net.net01.net_id, diff --git a/sdk/nodejs/netPeeringAcception.ts b/sdk/nodejs/netPeeringAcception.ts index a70ccc7..9991cd1 100644 --- a/sdk/nodejs/netPeeringAcception.ts +++ b/sdk/nodejs/netPeeringAcception.ts @@ -16,7 +16,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const netPeeringAcceptation01 = new outscale.NetPeeringAcception("netPeeringAcceptation01", {netPeeringId: outscale_net_peering.net_peering01.net_peering_id}); * ``` diff --git a/sdk/nodejs/nic.ts b/sdk/nodejs/nic.ts index 866ace4..8f7cc29 100644 --- a/sdk/nodejs/nic.ts +++ b/sdk/nodejs/nic.ts @@ -17,7 +17,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const net01 = new outscale.Net("net01", {ipRange: "10.0.0.0/16"}); * const subnet01 = new outscale.Subnet("subnet01", { @@ -35,7 +35,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const nic01 = new outscale.Nic("nic01", {subnetId: outscale_subnet.subnet01.subnet_id}); * ``` @@ -43,7 +43,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const nic02 = new outscale.Nic("nic02", { * description: "Terraform nic with private IPs", diff --git a/sdk/nodejs/nicLink.ts b/sdk/nodejs/nicLink.ts index 2b8f514..ab173f2 100644 --- a/sdk/nodejs/nicLink.ts +++ b/sdk/nodejs/nicLink.ts @@ -15,7 +15,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const net01 = new outscale.Net("net01", {ipRange: "10.0.0.0/16"}); * const subnet01 = new outscale.Subnet("subnet01", { @@ -35,7 +35,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const nicLink01 = new outscale.NicLink("nicLink01", { * deviceNumber: 1, diff --git a/sdk/nodejs/nicPrivateIp.ts b/sdk/nodejs/nicPrivateIp.ts index cfa2830..6b440c0 100644 --- a/sdk/nodejs/nicPrivateIp.ts +++ b/sdk/nodejs/nicPrivateIp.ts @@ -15,7 +15,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const net01 = new outscale.Net("net01", {ipRange: "10.0.0.0/16"}); * const subnet01 = new outscale.Subnet("subnet01", { @@ -29,7 +29,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const nicPrivateIp01 = new outscale.NicPrivateIp("nicPrivateIp01", { * nicId: outscale_nic.nic01.nic_id, @@ -43,7 +43,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const nicPrivateIp02 = new outscale.NicPrivateIp("nicPrivateIp02", { * nicId: outscale_nic.nic01.nic_id, diff --git a/sdk/nodejs/package.json b/sdk/nodejs/package.json index d3b2e22..cb1b3ca 100644 --- a/sdk/nodejs/package.json +++ b/sdk/nodejs/package.json @@ -1,5 +1,5 @@ { - "name": "@pulumi/outscale", + "name": "@outscale/pulumi-outscale", "version": "${VERSION}", "description": "A Pulumi package for creating and managing outscale cloud resources.", "keywords": [ diff --git a/sdk/nodejs/publicIp.ts b/sdk/nodejs/publicIp.ts index 75ea12d..16a5299 100644 --- a/sdk/nodejs/publicIp.ts +++ b/sdk/nodejs/publicIp.ts @@ -16,7 +16,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const publicIp01 = new outscale.PublicIp("publicIp01", {}); * ``` diff --git a/sdk/nodejs/publicIpLink.ts b/sdk/nodejs/publicIpLink.ts index d518470..0a2ea0a 100644 --- a/sdk/nodejs/publicIpLink.ts +++ b/sdk/nodejs/publicIpLink.ts @@ -17,7 +17,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const publicIp01 = new outscale.PublicIp("publicIp01", {}); * const vm01 = new outscale.Vm("vm01", { @@ -31,7 +31,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const publicIpLink01 = new outscale.PublicIpLink("publicIpLink01", { * vmId: outscale_vm.vm01.vm_id, diff --git a/sdk/nodejs/route.ts b/sdk/nodejs/route.ts index d002545..0fbeba8 100644 --- a/sdk/nodejs/route.ts +++ b/sdk/nodejs/route.ts @@ -15,7 +15,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const net01 = new outscale.Net("net01", {ipRange: "10.0.0.0/16"}); * const routeTable01 = new outscale.RouteTable("routeTable01", {netId: net01.netId}); @@ -29,7 +29,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const route01 = new outscale.Route("route01", { * gatewayId: outscale_internet_service.internet_service01.internet_service_id, diff --git a/sdk/nodejs/routeTable.ts b/sdk/nodejs/routeTable.ts index 3af1fae..68c5641 100644 --- a/sdk/nodejs/routeTable.ts +++ b/sdk/nodejs/routeTable.ts @@ -17,7 +17,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const net01 = new outscale.Net("net01", {ipRange: "10.0.0.0/16"}); * ``` @@ -25,7 +25,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const routeTable01 = new outscale.RouteTable("routeTable01", {netId: outscale_net.net01.net_id}); * ``` diff --git a/sdk/nodejs/routeTableLink.ts b/sdk/nodejs/routeTableLink.ts index deafe98..bb3a813 100644 --- a/sdk/nodejs/routeTableLink.ts +++ b/sdk/nodejs/routeTableLink.ts @@ -15,7 +15,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const net01 = new outscale.Net("net01", {ipRange: "10.0.0.0/16"}); * const subnet01 = new outscale.Subnet("subnet01", { @@ -28,7 +28,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const routeTableLink01 = new outscale.RouteTableLink("routeTableLink01", { * subnetId: outscale_subnet.subnet01.subnet_id, diff --git a/sdk/nodejs/securityGroup.ts b/sdk/nodejs/securityGroup.ts index f67981f..ee0d8c8 100644 --- a/sdk/nodejs/securityGroup.ts +++ b/sdk/nodejs/securityGroup.ts @@ -19,7 +19,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const net01 = new outscale.Net("net01", {ipRange: "10.0.0.0/16"}); * ``` @@ -27,7 +27,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const securityGroup01 = new outscale.SecurityGroup("securityGroup01", { * description: "Terraform security group", @@ -39,7 +39,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const securityGroup02 = new outscale.SecurityGroup("securityGroup02", { * removeDefaultOutboundRule: true, diff --git a/sdk/nodejs/securityGroupRule.ts b/sdk/nodejs/securityGroupRule.ts index 8e9db6a..785e657 100644 --- a/sdk/nodejs/securityGroupRule.ts +++ b/sdk/nodejs/securityGroupRule.ts @@ -17,7 +17,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const securityGroup01 = new outscale.SecurityGroup("securityGroup01", { * description: "Terraform target security group for SG rule from IP and SG", @@ -32,7 +32,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const securityGroupRule01 = new outscale.SecurityGroupRule("securityGroupRule01", { * flow: "Inbound", @@ -47,7 +47,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const securityGroupRule02 = new outscale.SecurityGroupRule("securityGroupRule02", { * flow: "Inbound", diff --git a/sdk/nodejs/serverCertificate.ts b/sdk/nodejs/serverCertificate.ts index 3f316a6..480657f 100644 --- a/sdk/nodejs/serverCertificate.ts +++ b/sdk/nodejs/serverCertificate.ts @@ -15,7 +15,7 @@ import * as utilities from "./utilities"; * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fs from "fs"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const serverCertificate01 = new outscale.ServerCertificate("serverCertificate01", { * body: fs.readFileSync("", "utf8"), diff --git a/sdk/nodejs/snapshot.ts b/sdk/nodejs/snapshot.ts index b2dd62a..9f1ea3a 100644 --- a/sdk/nodejs/snapshot.ts +++ b/sdk/nodejs/snapshot.ts @@ -17,7 +17,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const volume01 = new outscale.Volume("volume01", { * size: 40, @@ -28,7 +28,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const snapshot01 = new outscale.Snapshot("snapshot01", {volumeId: outscale_volume.volume01.volume_id}); * ``` @@ -36,7 +36,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const snapshot02 = new outscale.Snapshot("snapshot02", { * description: "Terraform snapshot copy", diff --git a/sdk/nodejs/snapshotAttributes.ts b/sdk/nodejs/snapshotAttributes.ts index 7e2731e..39dbb54 100644 --- a/sdk/nodejs/snapshotAttributes.ts +++ b/sdk/nodejs/snapshotAttributes.ts @@ -17,7 +17,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const volume01 = new outscale.Volume("volume01", { * subregionName: "eu-west-2a", @@ -35,7 +35,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const snapshotAttributes01 = new outscale.SnapshotAttributes("snapshotAttributes01", { * snapshotId: outscale_snapshot.snapshot01.snapshot_id, @@ -48,7 +48,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const snapshotAttributes02 = new outscale.SnapshotAttributes("snapshotAttributes02", { * snapshotId: outscale_snapshot.snapshot01.snapshot_id, diff --git a/sdk/nodejs/snapshotExportTask.ts b/sdk/nodejs/snapshotExportTask.ts index f1f5601..2852716 100644 --- a/sdk/nodejs/snapshotExportTask.ts +++ b/sdk/nodejs/snapshotExportTask.ts @@ -17,7 +17,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const volume01 = new outscale.Volume("volume01", { * subregionName: `${_var.region}a`, @@ -29,7 +29,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const snapshotExportTask01 = new outscale.SnapshotExportTask("snapshotExportTask01", { * snapshotId: outscale_snapshot.snapshot01.snapshot_id, diff --git a/sdk/nodejs/subnet.ts b/sdk/nodejs/subnet.ts index b3e6df9..4da2180 100644 --- a/sdk/nodejs/subnet.ts +++ b/sdk/nodejs/subnet.ts @@ -17,7 +17,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const net01 = new outscale.Net("net01", {ipRange: "10.0.0.0/16"}); * ``` @@ -25,7 +25,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const subnet01 = new outscale.Subnet("subnet01", { * netId: outscale_net.net01.net_id, diff --git a/sdk/nodejs/virtualGateway.ts b/sdk/nodejs/virtualGateway.ts index b388002..ebaf6e8 100644 --- a/sdk/nodejs/virtualGateway.ts +++ b/sdk/nodejs/virtualGateway.ts @@ -16,7 +16,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const virtualGateway01 = new outscale.VirtualGateway("virtualGateway01", { * connectionType: "ipsec.1", diff --git a/sdk/nodejs/virtualGatewayLink.ts b/sdk/nodejs/virtualGatewayLink.ts index 17c159b..693b7ad 100644 --- a/sdk/nodejs/virtualGatewayLink.ts +++ b/sdk/nodejs/virtualGatewayLink.ts @@ -17,7 +17,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const virtualGateway01 = new outscale.VirtualGateway("virtualGateway01", {connectionType: "ipsec.1"}); * const net01 = new outscale.Net("net01", {ipRange: "10.0.0.0/16"}); @@ -26,7 +26,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const virtualGatewayLink01 = new outscale.VirtualGatewayLink("virtualGatewayLink01", { * virtualGatewayId: outscale_virtual_gateway.virtual_gateway01.virtual_gateway_id, diff --git a/sdk/nodejs/virtualGatewayRoutePropagation.ts b/sdk/nodejs/virtualGatewayRoutePropagation.ts index 93dae40..ea5801e 100644 --- a/sdk/nodejs/virtualGatewayRoutePropagation.ts +++ b/sdk/nodejs/virtualGatewayRoutePropagation.ts @@ -15,7 +15,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const virtualGateway01 = new outscale.VirtualGateway("virtualGateway01", {connectionType: "ipsec.1"}); * const net01 = new outscale.Net("net01", {ipRange: "10.0.0.0/16"}); @@ -29,7 +29,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const virtualGatewayRoutePropagation01 = new outscale.VirtualGatewayRoutePropagation("virtualGatewayRoutePropagation01", { * enable: true, diff --git a/sdk/nodejs/vm.ts b/sdk/nodejs/vm.ts index 3e48e0b..32f9627 100644 --- a/sdk/nodejs/vm.ts +++ b/sdk/nodejs/vm.ts @@ -17,7 +17,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const keypair01 = new outscale.Keypair("keypair01", {keypairName: "terraform-keypair-for-vm"}); * ``` @@ -25,7 +25,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const vm02 = new outscale.Vm("vm02", { * imageId: _var.image_id, @@ -56,7 +56,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const net01 = new outscale.Net("net01", { * ipRange: "10.0.0.0/16", @@ -112,7 +112,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const net02 = new outscale.Net("net02", { * ipRange: "10.0.0.0/16", diff --git a/sdk/nodejs/volume.ts b/sdk/nodejs/volume.ts index 9b1447d..cf66ad6 100644 --- a/sdk/nodejs/volume.ts +++ b/sdk/nodejs/volume.ts @@ -17,7 +17,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const volume01 = new outscale.Volume("volume01", { * iops: 100, @@ -30,7 +30,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const volume01 = new outscale.Volume("volume01", { * size: 40, diff --git a/sdk/nodejs/volumesLink.ts b/sdk/nodejs/volumesLink.ts index d9a9636..ef908b2 100644 --- a/sdk/nodejs/volumesLink.ts +++ b/sdk/nodejs/volumesLink.ts @@ -15,7 +15,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const volume01 = new outscale.Volume("volume01", { * subregionName: `${_var.region}a`, @@ -32,7 +32,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const volumesLink01 = new outscale.VolumesLink("volumesLink01", { * deviceName: "/dev/xvdc", diff --git a/sdk/nodejs/vpnConnection.ts b/sdk/nodejs/vpnConnection.ts index cd2e887..98d0cb9 100644 --- a/sdk/nodejs/vpnConnection.ts +++ b/sdk/nodejs/vpnConnection.ts @@ -17,7 +17,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const clientGateway01 = new outscale.ClientGateway("clientGateway01", { * bgpAsn: 65000, @@ -30,7 +30,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const vpnConnection01 = new outscale.VpnConnection("vpnConnection01", { * clientGatewayId: outscale_client_gateway.client_gateway01.client_gateway_id, diff --git a/sdk/nodejs/vpnConnectionRoute.ts b/sdk/nodejs/vpnConnectionRoute.ts index 403860f..07977a1 100644 --- a/sdk/nodejs/vpnConnectionRoute.ts +++ b/sdk/nodejs/vpnConnectionRoute.ts @@ -15,7 +15,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const clientGateway01 = new outscale.ClientGateway("clientGateway01", { * bgpAsn: 65000, @@ -34,7 +34,7 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as outscale from "@pulumi/outscale"; + * import * as outscale from "@outscale/pulumi-outscale"; * * const vpnConnectionRoute01 = new outscale.VpnConnectionRoute("vpnConnectionRoute01", { * vpnConnectionId: outscale_vpn_connection.vpn_connection01.vpn_connection_id, diff --git a/sdk/python/Pulumi.yaml b/sdk/python/Pulumi.yaml deleted file mode 100644 index e69de29..0000000 diff --git a/sdk/python/README.md b/sdk/python/README.md deleted file mode 100644 index 13b12c1..0000000 --- a/sdk/python/README.md +++ /dev/null @@ -1,55 +0,0 @@ -# Outscale Resource Provider -[![Project Sandbox](https://docs.outscale.com/fr/userguide/_images/Project-Sandbox-yellow.svg)](https://docs.outscale.com/en/userguide/Open-Source-Projects.html) - -The Outscale Resource Provider lets you manage [Outscale](https://fr.outscale.com/api-outscale/) resources. - -## Work In Progress - -This project is still very unstable, use it at your own risk -Until a release is made, we keep the liberty to break everything. - -## Usage - -This package is available for several languages/platforms: - -### yaml - -[Examples here](https://github.com/outscale/pulumi-outscale/tree/master/examples/yaml) - -### Node.js (JavaScript/TypeScript) - -[Examples here](https://github.com/outscale/pulumi-outscale/tree/master/examples/ts) - - -### Python - -[Examples here](https://github.com/outscale/pulumi-outscale/tree/master/examples/python) - - -### Go - -[Examples here](https://github.com/outscale/pulumi-outscale/tree/master/examples/go/) - - -### .NET - -[Examples here](https://github.com/outscale/pulumi-outscale/tree/master/examples/) - -### .Java - -__Not yet tested, and posibly broken__ - - -## Configuration - -Please look at [Development](./docs/installation-configuration.md) - -# To start developping Pulumi Outscale -Please look at [Development](./docs/developement.md) - -# Contribution -Please look at [Contribution](./docs/contributing.md) - - - - diff --git a/sdk/python/pulumi_outscale.egg-info/PKG-INFO b/sdk/python/pulumi_outscale.egg-info/PKG-INFO deleted file mode 100644 index 95da214..0000000 --- a/sdk/python/pulumi_outscale.egg-info/PKG-INFO +++ /dev/null @@ -1,79 +0,0 @@ -Metadata-Version: 2.1 -Name: pulumi_outscale -Version: 0.0.0 -Summary: A Pulumi package for creating and managing outscale cloud resources. -Home-page: https://www.pulumi.com -License: Apache-2.0 -Project-URL: Repository, https://github.com/outscale/pulumi-outscale -Keywords: pulumi outscale category/cloud -Requires-Python: >=3.7 -Description-Content-Type: text/markdown -Requires-Dist: parver>=0.2.1 -Requires-Dist: pulumi<4.0.0,>=3.0.0 -Requires-Dist: semver>=2.8.1 - -# Outscale Resource Provider -[![Project Sandbox](https://docs.outscale.com/fr/userguide/_images/Project-Sandbox-yellow.svg)](https://docs.outscale.com/en/userguide/Open-Source-Projects.html) - -The Outscale Resource Provider lets you manage [Outscale](https://fr.outscale.com/api-outscale/) resources. - -## Work In Progress - -This project is still very unstable, use it at your own risk -Until a release is made, we keep the liberty to break everything. - -## Usage - -This package is available for several languages/platforms: - -### yaml - -[Examples here](https://github.com/outscale/pulumi-outscale/tree/master/examples/yaml) - -### Node.js (JavaScript/TypeScript) - -[Examples here](https://github.com/outscale/pulumi-outscale/tree/master/examples/ts) - - -### Python - -[Examples here](https://github.com/outscale/pulumi-outscale/tree/master/examples/python) - - -### Go - -__Not yet tested, and posibly broken__ - - -### .NET - -__Not yet tested, and posibly broken__ - -### .Java - -__Not yet tested, and posibly broken__ - - -## Configuration - -The following configuration points are available for the `OUTSCALE` provider: - -- `outscale:region` - (Required) This is the OSC region. - -- `outscale:accessKeyId` - (Require) This is the OSC access key. It can also be sourced from the - `OSC_ACCESS_KEY` environment variable. -- `outscale:secretKeyId` - (Require) This is the OSC secret key. It can also be sourced from the - `OSC_SECRET_KEY` environment variable. -- `outscale:insecure` - (Optional) If set to true, allow pulumi to perform "insecure" SSL connections and transfers -- `outscale:endpoints` - (Optional) change the endpoints, examples `pulumi config set outscale:endpoints '[{"api": "127.0.0.1:3000"}]'` - - -# To start developping Pulumi Outscale -Please look at [Development](./docs/developement.md) - -# Contribution -Please look at [Contribution](./docs/contributing.md) - - - - diff --git a/sdk/python/pulumi_outscale.egg-info/SOURCES.txt b/sdk/python/pulumi_outscale.egg-info/SOURCES.txt deleted file mode 100644 index 292208e..0000000 --- a/sdk/python/pulumi_outscale.egg-info/SOURCES.txt +++ /dev/null @@ -1,141 +0,0 @@ -README.md -setup.py -pulumi_outscale/__init__.py -pulumi_outscale/_inputs.py -pulumi_outscale/_utilities.py -pulumi_outscale/access_key.py -pulumi_outscale/api_access_policy.py -pulumi_outscale/api_access_rule.py -pulumi_outscale/ca.py -pulumi_outscale/client_gateway.py -pulumi_outscale/dhcp_option.py -pulumi_outscale/flexible_gpu.py -pulumi_outscale/flexible_gpu_link.py -pulumi_outscale/get_access_key.py -pulumi_outscale/get_access_keys.py -pulumi_outscale/get_account.py -pulumi_outscale/get_accounts.py -pulumi_outscale/get_api_access_policy.py -pulumi_outscale/get_api_access_rule.py -pulumi_outscale/get_api_access_rules.py -pulumi_outscale/get_ca.py -pulumi_outscale/get_cas.py -pulumi_outscale/get_client_gateway.py -pulumi_outscale/get_client_gateways.py -pulumi_outscale/get_dhcp_option.py -pulumi_outscale/get_dhcp_options.py -pulumi_outscale/get_flexible_gpu.py -pulumi_outscale/get_flexible_gpu_catalog.py -pulumi_outscale/get_flexible_gpus.py -pulumi_outscale/get_image.py -pulumi_outscale/get_image_export_task.py -pulumi_outscale/get_image_export_tasks.py -pulumi_outscale/get_images.py -pulumi_outscale/get_internet_service.py -pulumi_outscale/get_internet_services.py -pulumi_outscale/get_keypair.py -pulumi_outscale/get_keypairs.py -pulumi_outscale/get_load_balancer.py -pulumi_outscale/get_load_balancer_tags.py -pulumi_outscale/get_load_balancer_vm_health.py -pulumi_outscale/get_load_balancers.py -pulumi_outscale/get_nat_service.py -pulumi_outscale/get_nat_services.py -pulumi_outscale/get_net.py -pulumi_outscale/get_net_access_point.py -pulumi_outscale/get_net_access_point_services.py -pulumi_outscale/get_net_access_points.py -pulumi_outscale/get_net_attributes.py -pulumi_outscale/get_net_peering.py -pulumi_outscale/get_net_peerings.py -pulumi_outscale/get_nets.py -pulumi_outscale/get_nic.py -pulumi_outscale/get_nics.py -pulumi_outscale/get_product_type.py -pulumi_outscale/get_product_types.py -pulumi_outscale/get_public_ip.py -pulumi_outscale/get_public_ips.py -pulumi_outscale/get_pulic_catalog.py -pulumi_outscale/get_quota.py -pulumi_outscale/get_quotas.py -pulumi_outscale/get_regions.py -pulumi_outscale/get_route_table.py -pulumi_outscale/get_route_tables.py -pulumi_outscale/get_security_group.py -pulumi_outscale/get_security_groups.py -pulumi_outscale/get_server_certificate.py -pulumi_outscale/get_server_certificates.py -pulumi_outscale/get_snapshot.py -pulumi_outscale/get_snapshot_export_task.py -pulumi_outscale/get_snapshot_export_tasks.py -pulumi_outscale/get_snapshots.py -pulumi_outscale/get_subnet.py -pulumi_outscale/get_subnets.py -pulumi_outscale/get_subregions.py -pulumi_outscale/get_tag.py -pulumi_outscale/get_virtual_gateway.py -pulumi_outscale/get_virtual_gateways.py -pulumi_outscale/get_vm.py -pulumi_outscale/get_vm_state.py -pulumi_outscale/get_vm_states.py -pulumi_outscale/get_vm_types.py -pulumi_outscale/get_vms.py -pulumi_outscale/get_volume.py -pulumi_outscale/get_volumes.py -pulumi_outscale/get_vpn_connection.py -pulumi_outscale/get_vpn_connections.py -pulumi_outscale/image.py -pulumi_outscale/image_export_task.py -pulumi_outscale/image_launch_permission.py -pulumi_outscale/internet_service.py -pulumi_outscale/internet_service_link.py -pulumi_outscale/keypair.py -pulumi_outscale/load_balancer.py -pulumi_outscale/load_balancer_attributes.py -pulumi_outscale/load_balancer_policy.py -pulumi_outscale/load_balancer_vms.py -pulumi_outscale/nat_service.py -pulumi_outscale/net.py -pulumi_outscale/net_access_point.py -pulumi_outscale/net_attributes.py -pulumi_outscale/net_peering.py -pulumi_outscale/net_peering_acception.py -pulumi_outscale/nic.py -pulumi_outscale/nic_link.py -pulumi_outscale/nic_private_ip.py -pulumi_outscale/outbound_rule.py -pulumi_outscale/outputs.py -pulumi_outscale/provider.py -pulumi_outscale/public_ip.py -pulumi_outscale/public_ip_link.py -pulumi_outscale/pulumi-plugin.json -pulumi_outscale/py.typed -pulumi_outscale/route.py -pulumi_outscale/route_table.py -pulumi_outscale/route_table_link.py -pulumi_outscale/security_group.py -pulumi_outscale/security_group_rule.py -pulumi_outscale/server_certificate.py -pulumi_outscale/snapshot.py -pulumi_outscale/snapshot_attributes.py -pulumi_outscale/snapshot_export_task.py -pulumi_outscale/subnet.py -pulumi_outscale/tag.py -pulumi_outscale/virtual_gateway.py -pulumi_outscale/virtual_gateway_link.py -pulumi_outscale/virtual_gateway_route_propagation.py -pulumi_outscale/vm.py -pulumi_outscale/volume.py -pulumi_outscale/volumes_link.py -pulumi_outscale/vpn_connection.py -pulumi_outscale/vpn_connection_route.py -pulumi_outscale.egg-info/PKG-INFO -pulumi_outscale.egg-info/SOURCES.txt -pulumi_outscale.egg-info/dependency_links.txt -pulumi_outscale.egg-info/not-zip-safe -pulumi_outscale.egg-info/requires.txt -pulumi_outscale.egg-info/top_level.txt -pulumi_outscale/config/__init__.py -pulumi_outscale/config/__init__.pyi -pulumi_outscale/config/outputs.py -pulumi_outscale/config/vars.py \ No newline at end of file diff --git a/sdk/python/pulumi_outscale.egg-info/dependency_links.txt b/sdk/python/pulumi_outscale.egg-info/dependency_links.txt deleted file mode 100644 index 8b13789..0000000 --- a/sdk/python/pulumi_outscale.egg-info/dependency_links.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/sdk/python/pulumi_outscale.egg-info/not-zip-safe b/sdk/python/pulumi_outscale.egg-info/not-zip-safe deleted file mode 100644 index 8b13789..0000000 --- a/sdk/python/pulumi_outscale.egg-info/not-zip-safe +++ /dev/null @@ -1 +0,0 @@ - diff --git a/sdk/python/pulumi_outscale.egg-info/requires.txt b/sdk/python/pulumi_outscale.egg-info/requires.txt deleted file mode 100644 index 3f80a9a..0000000 --- a/sdk/python/pulumi_outscale.egg-info/requires.txt +++ /dev/null @@ -1,3 +0,0 @@ -parver>=0.2.1 -pulumi<4.0.0,>=3.0.0 -semver>=2.8.1 diff --git a/sdk/python/pulumi_outscale.egg-info/top_level.txt b/sdk/python/pulumi_outscale.egg-info/top_level.txt deleted file mode 100644 index c108528..0000000 --- a/sdk/python/pulumi_outscale.egg-info/top_level.txt +++ /dev/null @@ -1 +0,0 @@ -pulumi_outscale diff --git a/sdk/python/pulumi_outscale/README.md b/sdk/python/pulumi_outscale/README.md deleted file mode 100644 index 07f1457..0000000 --- a/sdk/python/pulumi_outscale/README.md +++ /dev/null @@ -1,4 +0,0 @@ -> This provider is a derived work of the [Terraform Provider](https://github.com/outscale/terraform-provider-outscale) -> distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature, -> first check the [`pulumi-outscale` repo](https://github.com/outscale/pulumi-outscale/issues); however, if that doesn't turn up anything, -> please consult the source [`terraform-provider-outscale` repo](https://github.com/outscale/terraform-provider-outscale/issues). \ No newline at end of file diff --git a/sdk/python/pulumi_outscale/__init__.py b/sdk/python/pulumi_outscale/__init__.py deleted file mode 100644 index 442505c..0000000 --- a/sdk/python/pulumi_outscale/__init__.py +++ /dev/null @@ -1,548 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -from . import _utilities -import typing -# Export this package's modules as members: -from .access_key import * -from .api_access_policy import * -from .api_access_rule import * -from .ca import * -from .client_gateway import * -from .dhcp_option import * -from .flexible_gpu import * -from .flexible_gpu_link import * -from .get_access_key import * -from .get_access_keys import * -from .get_account import * -from .get_accounts import * -from .get_api_access_policy import * -from .get_api_access_rule import * -from .get_api_access_rules import * -from .get_ca import * -from .get_cas import * -from .get_client_gateway import * -from .get_client_gateways import * -from .get_dhcp_option import * -from .get_dhcp_options import * -from .get_flexible_gpu import * -from .get_flexible_gpu_catalog import * -from .get_flexible_gpus import * -from .get_image import * -from .get_image_export_task import * -from .get_image_export_tasks import * -from .get_images import * -from .get_internet_service import * -from .get_internet_services import * -from .get_keypair import * -from .get_keypairs import * -from .get_load_balancer import * -from .get_load_balancer_tags import * -from .get_load_balancer_vm_health import * -from .get_load_balancers import * -from .get_nat_service import * -from .get_nat_services import * -from .get_net import * -from .get_net_access_point import * -from .get_net_access_point_services import * -from .get_net_access_points import * -from .get_net_attributes import * -from .get_net_peering import * -from .get_net_peerings import * -from .get_nets import * -from .get_nic import * -from .get_nics import * -from .get_product_type import * -from .get_product_types import * -from .get_public_ip import * -from .get_public_ips import * -from .get_pulic_catalog import * -from .get_quota import * -from .get_quotas import * -from .get_regions import * -from .get_route_table import * -from .get_route_tables import * -from .get_security_group import * -from .get_security_groups import * -from .get_server_certificate import * -from .get_server_certificates import * -from .get_snapshot import * -from .get_snapshot_export_task import * -from .get_snapshot_export_tasks import * -from .get_snapshots import * -from .get_subnet import * -from .get_subnets import * -from .get_subregions import * -from .get_tag import * -from .get_virtual_gateway import * -from .get_virtual_gateways import * -from .get_vm import * -from .get_vm_state import * -from .get_vm_states import * -from .get_vm_types import * -from .get_vms import * -from .get_volume import * -from .get_volumes import * -from .get_vpn_connection import * -from .get_vpn_connections import * -from .image import * -from .image_export_task import * -from .image_launch_permission import * -from .internet_service import * -from .internet_service_link import * -from .keypair import * -from .load_balancer import * -from .load_balancer_attributes import * -from .load_balancer_policy import * -from .load_balancer_vms import * -from .nat_service import * -from .net import * -from .net_access_point import * -from .net_attributes import * -from .net_peering import * -from .net_peering_acception import * -from .nic import * -from .nic_link import * -from .nic_private_ip import * -from .outbound_rule import * -from .provider import * -from .public_ip import * -from .public_ip_link import * -from .route import * -from .route_table import * -from .route_table_link import * -from .security_group import * -from .security_group_rule import * -from .server_certificate import * -from .snapshot import * -from .snapshot_attributes import * -from .snapshot_export_task import * -from .subnet import * -from .tag import * -from .virtual_gateway import * -from .virtual_gateway_link import * -from .virtual_gateway_route_propagation import * -from .vm import * -from .volume import * -from .volumes_link import * -from .vpn_connection import * -from .vpn_connection_route import * -from ._inputs import * -from . import outputs - -# Make subpackages available: -if typing.TYPE_CHECKING: - import pulumi_outscale.config as __config - config = __config -else: - config = _utilities.lazy_import('pulumi_outscale.config') - -_utilities.register( - resource_modules=""" -[ - { - "pkg": "outscale", - "mod": "index/accessKey", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/accessKey:AccessKey": "AccessKey" - } - }, - { - "pkg": "outscale", - "mod": "index/apiAccessPolicy", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/apiAccessPolicy:ApiAccessPolicy": "ApiAccessPolicy" - } - }, - { - "pkg": "outscale", - "mod": "index/apiAccessRule", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/apiAccessRule:ApiAccessRule": "ApiAccessRule" - } - }, - { - "pkg": "outscale", - "mod": "index/ca", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/ca:Ca": "Ca" - } - }, - { - "pkg": "outscale", - "mod": "index/clientGateway", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/clientGateway:ClientGateway": "ClientGateway" - } - }, - { - "pkg": "outscale", - "mod": "index/dhcpOption", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/dhcpOption:DhcpOption": "DhcpOption" - } - }, - { - "pkg": "outscale", - "mod": "index/flexibleGpu", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/flexibleGpu:FlexibleGpu": "FlexibleGpu" - } - }, - { - "pkg": "outscale", - "mod": "index/flexibleGpuLink", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/flexibleGpuLink:FlexibleGpuLink": "FlexibleGpuLink" - } - }, - { - "pkg": "outscale", - "mod": "index/image", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/image:Image": "Image" - } - }, - { - "pkg": "outscale", - "mod": "index/imageExportTask", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/imageExportTask:ImageExportTask": "ImageExportTask" - } - }, - { - "pkg": "outscale", - "mod": "index/imageLaunchPermission", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/imageLaunchPermission:ImageLaunchPermission": "ImageLaunchPermission" - } - }, - { - "pkg": "outscale", - "mod": "index/internetService", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/internetService:InternetService": "InternetService" - } - }, - { - "pkg": "outscale", - "mod": "index/internetServiceLink", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/internetServiceLink:InternetServiceLink": "InternetServiceLink" - } - }, - { - "pkg": "outscale", - "mod": "index/keypair", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/keypair:Keypair": "Keypair" - } - }, - { - "pkg": "outscale", - "mod": "index/loadBalancer", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/loadBalancer:LoadBalancer": "LoadBalancer" - } - }, - { - "pkg": "outscale", - "mod": "index/loadBalancerAttributes", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/loadBalancerAttributes:LoadBalancerAttributes": "LoadBalancerAttributes" - } - }, - { - "pkg": "outscale", - "mod": "index/loadBalancerPolicy", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/loadBalancerPolicy:LoadBalancerPolicy": "LoadBalancerPolicy" - } - }, - { - "pkg": "outscale", - "mod": "index/loadBalancerVms", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/loadBalancerVms:LoadBalancerVms": "LoadBalancerVms" - } - }, - { - "pkg": "outscale", - "mod": "index/natService", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/natService:NatService": "NatService" - } - }, - { - "pkg": "outscale", - "mod": "index/net", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/net:Net": "Net" - } - }, - { - "pkg": "outscale", - "mod": "index/netAccessPoint", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/netAccessPoint:NetAccessPoint": "NetAccessPoint" - } - }, - { - "pkg": "outscale", - "mod": "index/netAttributes", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/netAttributes:NetAttributes": "NetAttributes" - } - }, - { - "pkg": "outscale", - "mod": "index/netPeering", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/netPeering:NetPeering": "NetPeering" - } - }, - { - "pkg": "outscale", - "mod": "index/netPeeringAcception", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/netPeeringAcception:NetPeeringAcception": "NetPeeringAcception" - } - }, - { - "pkg": "outscale", - "mod": "index/nic", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/nic:Nic": "Nic" - } - }, - { - "pkg": "outscale", - "mod": "index/nicLink", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/nicLink:NicLink": "NicLink" - } - }, - { - "pkg": "outscale", - "mod": "index/nicPrivateIp", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/nicPrivateIp:NicPrivateIp": "NicPrivateIp" - } - }, - { - "pkg": "outscale", - "mod": "index/outboundRule", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/outboundRule:OutboundRule": "OutboundRule" - } - }, - { - "pkg": "outscale", - "mod": "index/publicIp", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/publicIp:PublicIp": "PublicIp" - } - }, - { - "pkg": "outscale", - "mod": "index/publicIpLink", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/publicIpLink:PublicIpLink": "PublicIpLink" - } - }, - { - "pkg": "outscale", - "mod": "index/route", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/route:Route": "Route" - } - }, - { - "pkg": "outscale", - "mod": "index/routeTable", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/routeTable:RouteTable": "RouteTable" - } - }, - { - "pkg": "outscale", - "mod": "index/routeTableLink", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/routeTableLink:RouteTableLink": "RouteTableLink" - } - }, - { - "pkg": "outscale", - "mod": "index/securityGroup", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/securityGroup:SecurityGroup": "SecurityGroup" - } - }, - { - "pkg": "outscale", - "mod": "index/securityGroupRule", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/securityGroupRule:SecurityGroupRule": "SecurityGroupRule" - } - }, - { - "pkg": "outscale", - "mod": "index/serverCertificate", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/serverCertificate:ServerCertificate": "ServerCertificate" - } - }, - { - "pkg": "outscale", - "mod": "index/snapshot", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/snapshot:Snapshot": "Snapshot" - } - }, - { - "pkg": "outscale", - "mod": "index/snapshotAttributes", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/snapshotAttributes:SnapshotAttributes": "SnapshotAttributes" - } - }, - { - "pkg": "outscale", - "mod": "index/snapshotExportTask", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/snapshotExportTask:SnapshotExportTask": "SnapshotExportTask" - } - }, - { - "pkg": "outscale", - "mod": "index/subnet", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/subnet:Subnet": "Subnet" - } - }, - { - "pkg": "outscale", - "mod": "index/tag", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/tag:Tag": "Tag" - } - }, - { - "pkg": "outscale", - "mod": "index/virtualGateway", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/virtualGateway:VirtualGateway": "VirtualGateway" - } - }, - { - "pkg": "outscale", - "mod": "index/virtualGatewayLink", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/virtualGatewayLink:VirtualGatewayLink": "VirtualGatewayLink" - } - }, - { - "pkg": "outscale", - "mod": "index/virtualGatewayRoutePropagation", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/virtualGatewayRoutePropagation:VirtualGatewayRoutePropagation": "VirtualGatewayRoutePropagation" - } - }, - { - "pkg": "outscale", - "mod": "index/vm", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/vm:Vm": "Vm" - } - }, - { - "pkg": "outscale", - "mod": "index/volume", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/volume:Volume": "Volume" - } - }, - { - "pkg": "outscale", - "mod": "index/volumesLink", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/volumesLink:VolumesLink": "VolumesLink" - } - }, - { - "pkg": "outscale", - "mod": "index/vpnConnection", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/vpnConnection:VpnConnection": "VpnConnection" - } - }, - { - "pkg": "outscale", - "mod": "index/vpnConnectionRoute", - "fqn": "pulumi_outscale", - "classes": { - "outscale:index/vpnConnectionRoute:VpnConnectionRoute": "VpnConnectionRoute" - } - } -] -""", - resource_packages=""" -[ - { - "pkg": "outscale", - "token": "pulumi:providers:outscale", - "fqn": "pulumi_outscale", - "class": "Provider" - } -] -""" -) diff --git a/sdk/python/pulumi_outscale/_inputs.py b/sdk/python/pulumi_outscale/_inputs.py deleted file mode 100644 index 37dab1d..0000000 --- a/sdk/python/pulumi_outscale/_inputs.py +++ /dev/null @@ -1,8809 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities - -__all__ = [ - 'ClientGatewayTagArgs', - 'DhcpOptionTagArgs', - 'ImageBlockDeviceMappingArgs', - 'ImageBlockDeviceMappingBsusArgs', - 'ImageExportTaskOsuExportArgs', - 'ImageExportTaskOsuExportOsuApiKeyArgs', - 'ImageExportTaskTagArgs', - 'ImageLaunchPermissionPermissionAdditionsArgs', - 'ImageLaunchPermissionPermissionRemovalsArgs', - 'ImageLaunchPermissionPermissionsToLaunchArgs', - 'ImagePermissionsToLaunchArgs', - 'ImageStateCommentArgs', - 'ImageTagArgs', - 'InternetServiceLinkTagArgs', - 'InternetServiceTagArgs', - 'LoadBalancerAccessLogArgs', - 'LoadBalancerApplicationStickyCookiePolicyArgs', - 'LoadBalancerAttributesAccessLogArgs', - 'LoadBalancerAttributesApplicationStickyCookiePolicyArgs', - 'LoadBalancerAttributesHealthCheckArgs', - 'LoadBalancerAttributesListenerArgs', - 'LoadBalancerAttributesLoadBalancerStickyCookiePolicyArgs', - 'LoadBalancerAttributesSourceSecurityGroupArgs', - 'LoadBalancerAttributesTagArgs', - 'LoadBalancerHealthCheckArgs', - 'LoadBalancerListenerArgs', - 'LoadBalancerLoadBalancerStickyCookiePolicyArgs', - 'LoadBalancerPolicyAccessLogArgs', - 'LoadBalancerPolicyApplicationStickyCookiePolicyArgs', - 'LoadBalancerPolicyHealthCheckArgs', - 'LoadBalancerPolicyListenerArgs', - 'LoadBalancerPolicyLoadBalancerStickyCookiePolicyArgs', - 'LoadBalancerPolicySourceSecurityGroupArgs', - 'LoadBalancerPolicyTagArgs', - 'LoadBalancerSourceSecurityGroupArgs', - 'LoadBalancerTagArgs', - 'NatServicePublicIpArgs', - 'NatServiceTagArgs', - 'NetAccessPointTagArgs', - 'NetAttributesTagArgs', - 'NetPeeringAccepterNetArgs', - 'NetPeeringAcceptionAccepterNetArgs', - 'NetPeeringAcceptionSourceNetArgs', - 'NetPeeringAcceptionStateArgs', - 'NetPeeringAcceptionTagArgs', - 'NetPeeringSourceNetArgs', - 'NetPeeringStateArgs', - 'NetPeeringTagArgs', - 'NetTagArgs', - 'NicLinkNicArgs', - 'NicLinkPublicIpArgs', - 'NicPrivateIpArgs', - 'NicPrivateIpLinkPublicIpArgs', - 'NicSecurityGroupArgs', - 'NicTagArgs', - 'OutboundRuleRuleArgs', - 'OutboundRuleRuleSecurityGroupsMemberArgs', - 'ProviderEndpointArgs', - 'PublicIpLinkTagArgs', - 'PublicIpTagArgs', - 'RouteTableLinkRouteTableArgs', - 'RouteTableRouteArgs', - 'RouteTableRoutePropagatingVirtualGatewayArgs', - 'RouteTableTagArgs', - 'SecurityGroupInboundRuleArgs', - 'SecurityGroupOutboundRuleArgs', - 'SecurityGroupRuleRuleArgs', - 'SecurityGroupRuleRuleSecurityGroupsMemberArgs', - 'SecurityGroupTagArgs', - 'SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs', - 'SnapshotAttributesPermissionsToCreateVolumeRemovalArgs', - 'SnapshotExportTaskOsuExportArgs', - 'SnapshotExportTaskOsuExportOsuApiKeyArgs', - 'SnapshotExportTaskTagArgs', - 'SnapshotPermissionsToCreateVolumeArgs', - 'SnapshotTagArgs', - 'SubnetTagArgs', - 'TagTagArgs', - 'VirtualGatewayLinkNetToVirtualGatewayLinkArgs', - 'VirtualGatewayNetToVirtualGatewayLinkArgs', - 'VirtualGatewayTagArgs', - 'VmBlockDeviceMappingArgs', - 'VmBlockDeviceMappingBsuArgs', - 'VmBlockDeviceMappingBsuTagArgs', - 'VmBlockDeviceMappingsCreatedArgs', - 'VmBlockDeviceMappingsCreatedBsusArgs', - 'VmBlockDeviceMappingsCreatedBsusTagArgs', - 'VmNicArgs', - 'VmNicLinkNicArgs', - 'VmNicLinkPublicIpArgs', - 'VmNicPrivateIpArgs', - 'VmNicPrivateIpLinkPublicIpArgs', - 'VmNicSecurityGroupArgs', - 'VmPrimaryNicArgs', - 'VmPrimaryNicLinkNicArgs', - 'VmPrimaryNicLinkPublicIpArgs', - 'VmPrimaryNicPrivateIpArgs', - 'VmPrimaryNicPrivateIpLinkPublicIpArgs', - 'VmPrimaryNicSecurityGroupArgs', - 'VmSecurityGroupArgs', - 'VmTagArgs', - 'VolumeLinkedVolumeArgs', - 'VolumeTagArgs', - 'VpnConnectionRouteArgs', - 'VpnConnectionTagArgs', - 'VpnConnectionVgwTelemetryArgs', - 'GetAccessKeyFilterArgs', - 'GetAccessKeysFilterArgs', - 'GetApiAccessRuleFilterArgs', - 'GetApiAccessRulesFilterArgs', - 'GetCaFilterArgs', - 'GetCasFilterArgs', - 'GetClientGatewayFilterArgs', - 'GetClientGatewaysFilterArgs', - 'GetDhcpOptionFilterArgs', - 'GetDhcpOptionsFilterArgs', - 'GetFlexibleGpuCatalogFilterArgs', - 'GetFlexibleGpuFilterArgs', - 'GetFlexibleGpusFilterArgs', - 'GetImageBlockDeviceMappingArgs', - 'GetImageBlockDeviceMappingBsusArgs', - 'GetImageExportTaskFilterArgs', - 'GetImageExportTasksFilterArgs', - 'GetImageFilterArgs', - 'GetImagesFilterArgs', - 'GetInternetServiceFilterArgs', - 'GetInternetServicesFilterArgs', - 'GetKeypairFilterArgs', - 'GetKeypairsFilterArgs', - 'GetLoadBalancerAccessLogArgs', - 'GetLoadBalancerFilterArgs', - 'GetLoadBalancerHealthCheckArgs', - 'GetLoadBalancerListenerArgs', - 'GetLoadBalancerTagArgs', - 'GetLoadBalancerTagsFilterArgs', - 'GetLoadBalancerVmHealthFilterArgs', - 'GetLoadBalancersFilterArgs', - 'GetNatServiceFilterArgs', - 'GetNatServicesFilterArgs', - 'GetNetAccessPointFilterArgs', - 'GetNetAccessPointServicesFilterArgs', - 'GetNetAccessPointsFilterArgs', - 'GetNetFilterArgs', - 'GetNetPeeringFilterArgs', - 'GetNetPeeringsFilterArgs', - 'GetNetsFilterArgs', - 'GetNicFilterArgs', - 'GetNicsFilterArgs', - 'GetProductTypeFilterArgs', - 'GetProductTypesFilterArgs', - 'GetPublicIpFilterArgs', - 'GetPublicIpsFilterArgs', - 'GetQuotaFilterArgs', - 'GetQuotasFilterArgs', - 'GetRouteTableFilterArgs', - 'GetRouteTablesFilterArgs', - 'GetSecurityGroupFilterArgs', - 'GetSecurityGroupsFilterArgs', - 'GetServerCertificateFilterArgs', - 'GetServerCertificatesFilterArgs', - 'GetSnapshotExportTaskFilterArgs', - 'GetSnapshotExportTasksFilterArgs', - 'GetSnapshotFilterArgs', - 'GetSnapshotsFilterArgs', - 'GetSubnetFilterArgs', - 'GetSubnetsFilterArgs', - 'GetSubregionsFilterArgs', - 'GetTagFilterArgs', - 'GetVirtualGatewayFilterArgs', - 'GetVirtualGatewaysFilterArgs', - 'GetVmFilterArgs', - 'GetVmStateFilterArgs', - 'GetVmStatesFilterArgs', - 'GetVmTypesFilterArgs', - 'GetVmsFilterArgs', - 'GetVolumeFilterArgs', - 'GetVolumesFilterArgs', - 'GetVpnConnectionFilterArgs', - 'GetVpnConnectionsFilterArgs', -] - -@pulumi.input_type -class ClientGatewayTagArgs: - def __init__(__self__, *, - key: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] key: The key of the tag, with a minimum of 1 character. - :param pulumi.Input[str] value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) - - @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) - - -@pulumi.input_type -class DhcpOptionTagArgs: - def __init__(__self__, *, - key: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] key: The key of the tag, with a minimum of 1 character. - :param pulumi.Input[str] value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) - - @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) - - -@pulumi.input_type -class ImageBlockDeviceMappingArgs: - def __init__(__self__, *, - bsus: Optional[pulumi.Input[Sequence[pulumi.Input['ImageBlockDeviceMappingBsusArgs']]]] = None, - device_name: Optional[pulumi.Input[str]] = None, - virtual_device_name: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[Sequence[pulumi.Input['ImageBlockDeviceMappingBsusArgs']]] bsus: Information about the BSU volume to create. - :param pulumi.Input[str] device_name: The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - :param pulumi.Input[str] virtual_device_name: The name of the virtual device (`ephemeralN`). - """ - if bsus is not None: - pulumi.set(__self__, "bsus", bsus) - if device_name is not None: - pulumi.set(__self__, "device_name", device_name) - if virtual_device_name is not None: - pulumi.set(__self__, "virtual_device_name", virtual_device_name) - - @property - @pulumi.getter - def bsus(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ImageBlockDeviceMappingBsusArgs']]]]: - """ - Information about the BSU volume to create. - """ - return pulumi.get(self, "bsus") - - @bsus.setter - def bsus(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ImageBlockDeviceMappingBsusArgs']]]]): - pulumi.set(self, "bsus", value) - - @property - @pulumi.getter(name="deviceName") - def device_name(self) -> Optional[pulumi.Input[str]]: - """ - The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - """ - return pulumi.get(self, "device_name") - - @device_name.setter - def device_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "device_name", value) - - @property - @pulumi.getter(name="virtualDeviceName") - def virtual_device_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the virtual device (`ephemeralN`). - """ - return pulumi.get(self, "virtual_device_name") - - @virtual_device_name.setter - def virtual_device_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "virtual_device_name", value) - - -@pulumi.input_type -class ImageBlockDeviceMappingBsusArgs: - def __init__(__self__, *, - delete_on_vm_deletion: Optional[pulumi.Input[bool]] = None, - iops: Optional[pulumi.Input[int]] = None, - snapshot_id: Optional[pulumi.Input[str]] = None, - volume_size: Optional[pulumi.Input[int]] = None, - volume_type: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[bool] delete_on_vm_deletion: By default or if set to true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - :param pulumi.Input[int] iops: The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - :param pulumi.Input[str] snapshot_id: The ID of the snapshot used to create the volume. - :param pulumi.Input[int] volume_size: The size of the volume, in gibibytes (GiB).
- If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.
- If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. - :param pulumi.Input[str] volume_type: The type of the volume (`standard` \\| `io1` \\| `gp2`). If not specified in the request, a `standard` volume is created.
- For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - """ - if delete_on_vm_deletion is not None: - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - if iops is not None: - pulumi.set(__self__, "iops", iops) - if snapshot_id is not None: - pulumi.set(__self__, "snapshot_id", snapshot_id) - if volume_size is not None: - pulumi.set(__self__, "volume_size", volume_size) - if volume_type is not None: - pulumi.set(__self__, "volume_type", volume_type) - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> Optional[pulumi.Input[bool]]: - """ - By default or if set to true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @delete_on_vm_deletion.setter - def delete_on_vm_deletion(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "delete_on_vm_deletion", value) - - @property - @pulumi.getter - def iops(self) -> Optional[pulumi.Input[int]]: - """ - The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - """ - return pulumi.get(self, "iops") - - @iops.setter - def iops(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "iops", value) - - @property - @pulumi.getter(name="snapshotId") - def snapshot_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the snapshot used to create the volume. - """ - return pulumi.get(self, "snapshot_id") - - @snapshot_id.setter - def snapshot_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "snapshot_id", value) - - @property - @pulumi.getter(name="volumeSize") - def volume_size(self) -> Optional[pulumi.Input[int]]: - """ - The size of the volume, in gibibytes (GiB).
- If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.
- If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. - """ - return pulumi.get(self, "volume_size") - - @volume_size.setter - def volume_size(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "volume_size", value) - - @property - @pulumi.getter(name="volumeType") - def volume_type(self) -> Optional[pulumi.Input[str]]: - """ - The type of the volume (`standard` \\| `io1` \\| `gp2`). If not specified in the request, a `standard` volume is created.
- For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - """ - return pulumi.get(self, "volume_type") - - @volume_type.setter - def volume_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "volume_type", value) - - -@pulumi.input_type -class ImageExportTaskOsuExportArgs: - def __init__(__self__, *, - disk_image_format: pulumi.Input[str], - osu_bucket: pulumi.Input[str], - osu_api_keys: Optional[pulumi.Input[Sequence[pulumi.Input['ImageExportTaskOsuExportOsuApiKeyArgs']]]] = None, - osu_manifest_url: Optional[pulumi.Input[str]] = None, - osu_prefix: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] disk_image_format: The format of the export disk (`qcow2` \\| `raw`). - :param pulumi.Input[str] osu_bucket: The name of the OOS bucket where you want to export the object. - :param pulumi.Input[Sequence[pulumi.Input['ImageExportTaskOsuExportOsuApiKeyArgs']]] osu_api_keys: Information about the OOS API key. - :param pulumi.Input[str] osu_manifest_url: The URL of the manifest file. - :param pulumi.Input[str] osu_prefix: The prefix for the key of the OOS object. - """ - pulumi.set(__self__, "disk_image_format", disk_image_format) - pulumi.set(__self__, "osu_bucket", osu_bucket) - if osu_api_keys is not None: - pulumi.set(__self__, "osu_api_keys", osu_api_keys) - if osu_manifest_url is not None: - pulumi.set(__self__, "osu_manifest_url", osu_manifest_url) - if osu_prefix is not None: - pulumi.set(__self__, "osu_prefix", osu_prefix) - - @property - @pulumi.getter(name="diskImageFormat") - def disk_image_format(self) -> pulumi.Input[str]: - """ - The format of the export disk (`qcow2` \\| `raw`). - """ - return pulumi.get(self, "disk_image_format") - - @disk_image_format.setter - def disk_image_format(self, value: pulumi.Input[str]): - pulumi.set(self, "disk_image_format", value) - - @property - @pulumi.getter(name="osuBucket") - def osu_bucket(self) -> pulumi.Input[str]: - """ - The name of the OOS bucket where you want to export the object. - """ - return pulumi.get(self, "osu_bucket") - - @osu_bucket.setter - def osu_bucket(self, value: pulumi.Input[str]): - pulumi.set(self, "osu_bucket", value) - - @property - @pulumi.getter(name="osuApiKeys") - def osu_api_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ImageExportTaskOsuExportOsuApiKeyArgs']]]]: - """ - Information about the OOS API key. - """ - return pulumi.get(self, "osu_api_keys") - - @osu_api_keys.setter - def osu_api_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ImageExportTaskOsuExportOsuApiKeyArgs']]]]): - pulumi.set(self, "osu_api_keys", value) - - @property - @pulumi.getter(name="osuManifestUrl") - def osu_manifest_url(self) -> Optional[pulumi.Input[str]]: - """ - The URL of the manifest file. - """ - return pulumi.get(self, "osu_manifest_url") - - @osu_manifest_url.setter - def osu_manifest_url(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "osu_manifest_url", value) - - @property - @pulumi.getter(name="osuPrefix") - def osu_prefix(self) -> Optional[pulumi.Input[str]]: - """ - The prefix for the key of the OOS object. - """ - return pulumi.get(self, "osu_prefix") - - @osu_prefix.setter - def osu_prefix(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "osu_prefix", value) - - -@pulumi.input_type -class ImageExportTaskOsuExportOsuApiKeyArgs: - def __init__(__self__, *, - api_key_id: pulumi.Input[str], - secret_key: pulumi.Input[str]): - """ - :param pulumi.Input[str] api_key_id: The API key of the OOS account that enables you to access the bucket. - :param pulumi.Input[str] secret_key: The secret key of the OOS account that enables you to access the bucket. - """ - pulumi.set(__self__, "api_key_id", api_key_id) - pulumi.set(__self__, "secret_key", secret_key) - - @property - @pulumi.getter(name="apiKeyId") - def api_key_id(self) -> pulumi.Input[str]: - """ - The API key of the OOS account that enables you to access the bucket. - """ - return pulumi.get(self, "api_key_id") - - @api_key_id.setter - def api_key_id(self, value: pulumi.Input[str]): - pulumi.set(self, "api_key_id", value) - - @property - @pulumi.getter(name="secretKey") - def secret_key(self) -> pulumi.Input[str]: - """ - The secret key of the OOS account that enables you to access the bucket. - """ - return pulumi.get(self, "secret_key") - - @secret_key.setter - def secret_key(self, value: pulumi.Input[str]): - pulumi.set(self, "secret_key", value) - - -@pulumi.input_type -class ImageExportTaskTagArgs: - def __init__(__self__, *, - key: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] key: The key of the tag, with a minimum of 1 character. - :param pulumi.Input[str] value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) - - @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) - - -@pulumi.input_type -class ImageLaunchPermissionPermissionAdditionsArgs: - def __init__(__self__, *, - account_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - global_permission: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] account_ids: The account ID of one or more users from whom you want to remove permissions. - :param pulumi.Input[str] global_permission: If true, the resource is public. If false, the resource is private. - """ - if account_ids is not None: - pulumi.set(__self__, "account_ids", account_ids) - if global_permission is not None: - pulumi.set(__self__, "global_permission", global_permission) - - @property - @pulumi.getter(name="accountIds") - def account_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - The account ID of one or more users from whom you want to remove permissions. - """ - return pulumi.get(self, "account_ids") - - @account_ids.setter - def account_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "account_ids", value) - - @property - @pulumi.getter(name="globalPermission") - def global_permission(self) -> Optional[pulumi.Input[str]]: - """ - If true, the resource is public. If false, the resource is private. - """ - return pulumi.get(self, "global_permission") - - @global_permission.setter - def global_permission(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "global_permission", value) - - -@pulumi.input_type -class ImageLaunchPermissionPermissionRemovalsArgs: - def __init__(__self__, *, - account_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - global_permission: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] account_ids: The account ID of one or more users from whom you want to remove permissions. - :param pulumi.Input[str] global_permission: If true, the resource is public. If false, the resource is private. - """ - if account_ids is not None: - pulumi.set(__self__, "account_ids", account_ids) - if global_permission is not None: - pulumi.set(__self__, "global_permission", global_permission) - - @property - @pulumi.getter(name="accountIds") - def account_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - The account ID of one or more users from whom you want to remove permissions. - """ - return pulumi.get(self, "account_ids") - - @account_ids.setter - def account_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "account_ids", value) - - @property - @pulumi.getter(name="globalPermission") - def global_permission(self) -> Optional[pulumi.Input[str]]: - """ - If true, the resource is public. If false, the resource is private. - """ - return pulumi.get(self, "global_permission") - - @global_permission.setter - def global_permission(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "global_permission", value) - - -@pulumi.input_type -class ImageLaunchPermissionPermissionsToLaunchArgs: - def __init__(__self__, *, - account_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - global_permission: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] account_ids: The account ID of one or more users from whom you want to remove permissions. - :param pulumi.Input[str] global_permission: If true, the resource is public. If false, the resource is private. - """ - if account_ids is not None: - pulumi.set(__self__, "account_ids", account_ids) - if global_permission is not None: - pulumi.set(__self__, "global_permission", global_permission) - - @property - @pulumi.getter(name="accountIds") - def account_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - The account ID of one or more users from whom you want to remove permissions. - """ - return pulumi.get(self, "account_ids") - - @account_ids.setter - def account_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "account_ids", value) - - @property - @pulumi.getter(name="globalPermission") - def global_permission(self) -> Optional[pulumi.Input[str]]: - """ - If true, the resource is public. If false, the resource is private. - """ - return pulumi.get(self, "global_permission") - - @global_permission.setter - def global_permission(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "global_permission", value) - - -@pulumi.input_type -class ImagePermissionsToLaunchArgs: - def __init__(__self__, *, - account_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - global_permission: Optional[pulumi.Input[bool]] = None): - """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] account_ids: One or more account IDs that the permission is associated with. - :param pulumi.Input[bool] global_permission: A global permission for all accounts.
- (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).
- (Response) If true, the resource is public. If false, the resource is private. - """ - if account_ids is not None: - pulumi.set(__self__, "account_ids", account_ids) - if global_permission is not None: - pulumi.set(__self__, "global_permission", global_permission) - - @property - @pulumi.getter(name="accountIds") - def account_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - One or more account IDs that the permission is associated with. - """ - return pulumi.get(self, "account_ids") - - @account_ids.setter - def account_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "account_ids", value) - - @property - @pulumi.getter(name="globalPermission") - def global_permission(self) -> Optional[pulumi.Input[bool]]: - """ - A global permission for all accounts.
- (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).
- (Response) If true, the resource is public. If false, the resource is private. - """ - return pulumi.get(self, "global_permission") - - @global_permission.setter - def global_permission(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "global_permission", value) - - -@pulumi.input_type -class ImageStateCommentArgs: - def __init__(__self__, *, - state_code: Optional[pulumi.Input[str]] = None, - state_message: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] state_code: The code of the change of state. - :param pulumi.Input[str] state_message: A message explaining the change of state. - """ - if state_code is not None: - pulumi.set(__self__, "state_code", state_code) - if state_message is not None: - pulumi.set(__self__, "state_message", state_message) - - @property - @pulumi.getter(name="stateCode") - def state_code(self) -> Optional[pulumi.Input[str]]: - """ - The code of the change of state. - """ - return pulumi.get(self, "state_code") - - @state_code.setter - def state_code(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state_code", value) - - @property - @pulumi.getter(name="stateMessage") - def state_message(self) -> Optional[pulumi.Input[str]]: - """ - A message explaining the change of state. - """ - return pulumi.get(self, "state_message") - - @state_message.setter - def state_message(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state_message", value) - - -@pulumi.input_type -class ImageTagArgs: - def __init__(__self__, *, - key: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] key: The key of the tag, with a minimum of 1 character. - :param pulumi.Input[str] value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) - - @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) - - -@pulumi.input_type -class InternetServiceLinkTagArgs: - def __init__(__self__, *, - key: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] key: The key of the tag, with a minimum of 1 character. - :param pulumi.Input[str] value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) - - @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) - - -@pulumi.input_type -class InternetServiceTagArgs: - def __init__(__self__, *, - key: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] key: The key of the tag, with a minimum of 1 character. - :param pulumi.Input[str] value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) - - @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) - - -@pulumi.input_type -class LoadBalancerAccessLogArgs: - def __init__(__self__, *, - is_enabled: Optional[pulumi.Input[bool]] = None, - osu_bucket_name: Optional[pulumi.Input[str]] = None, - osu_bucket_prefix: Optional[pulumi.Input[str]] = None, - publication_interval: Optional[pulumi.Input[int]] = None): - """ - :param pulumi.Input[bool] is_enabled: If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osu_bucket_name` parameter is required. - :param pulumi.Input[str] osu_bucket_name: The name of the OOS bucket for the access logs. - :param pulumi.Input[str] osu_bucket_prefix: The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - :param pulumi.Input[int] publication_interval: The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - """ - if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) - if osu_bucket_name is not None: - pulumi.set(__self__, "osu_bucket_name", osu_bucket_name) - if osu_bucket_prefix is not None: - pulumi.set(__self__, "osu_bucket_prefix", osu_bucket_prefix) - if publication_interval is not None: - pulumi.set(__self__, "publication_interval", publication_interval) - - @property - @pulumi.getter(name="isEnabled") - def is_enabled(self) -> Optional[pulumi.Input[bool]]: - """ - If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osu_bucket_name` parameter is required. - """ - return pulumi.get(self, "is_enabled") - - @is_enabled.setter - def is_enabled(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "is_enabled", value) - - @property - @pulumi.getter(name="osuBucketName") - def osu_bucket_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the OOS bucket for the access logs. - """ - return pulumi.get(self, "osu_bucket_name") - - @osu_bucket_name.setter - def osu_bucket_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "osu_bucket_name", value) - - @property - @pulumi.getter(name="osuBucketPrefix") - def osu_bucket_prefix(self) -> Optional[pulumi.Input[str]]: - """ - The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - """ - return pulumi.get(self, "osu_bucket_prefix") - - @osu_bucket_prefix.setter - def osu_bucket_prefix(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "osu_bucket_prefix", value) - - @property - @pulumi.getter(name="publicationInterval") - def publication_interval(self) -> Optional[pulumi.Input[int]]: - """ - The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - """ - return pulumi.get(self, "publication_interval") - - @publication_interval.setter - def publication_interval(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "publication_interval", value) - - -@pulumi.input_type -class LoadBalancerApplicationStickyCookiePolicyArgs: - def __init__(__self__, *, - cookie_name: Optional[pulumi.Input[str]] = None, - policy_name: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] cookie_name: The name of the application cookie used for stickiness. - :param pulumi.Input[str] policy_name: The name of the stickiness policy. - """ - if cookie_name is not None: - pulumi.set(__self__, "cookie_name", cookie_name) - if policy_name is not None: - pulumi.set(__self__, "policy_name", policy_name) - - @property - @pulumi.getter(name="cookieName") - def cookie_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the application cookie used for stickiness. - """ - return pulumi.get(self, "cookie_name") - - @cookie_name.setter - def cookie_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "cookie_name", value) - - @property - @pulumi.getter(name="policyName") - def policy_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the stickiness policy. - """ - return pulumi.get(self, "policy_name") - - @policy_name.setter - def policy_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "policy_name", value) - - -@pulumi.input_type -class LoadBalancerAttributesAccessLogArgs: - def __init__(__self__, *, - is_enabled: Optional[pulumi.Input[bool]] = None, - osu_bucket_name: Optional[pulumi.Input[str]] = None, - osu_bucket_prefix: Optional[pulumi.Input[str]] = None, - publication_interval: Optional[pulumi.Input[int]] = None): - """ - :param pulumi.Input[bool] is_enabled: If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osu_bucket_name` parameter is required. - :param pulumi.Input[str] osu_bucket_name: The name of the OOS bucket for the access logs. - :param pulumi.Input[str] osu_bucket_prefix: The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - :param pulumi.Input[int] publication_interval: The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - """ - if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) - if osu_bucket_name is not None: - pulumi.set(__self__, "osu_bucket_name", osu_bucket_name) - if osu_bucket_prefix is not None: - pulumi.set(__self__, "osu_bucket_prefix", osu_bucket_prefix) - if publication_interval is not None: - pulumi.set(__self__, "publication_interval", publication_interval) - - @property - @pulumi.getter(name="isEnabled") - def is_enabled(self) -> Optional[pulumi.Input[bool]]: - """ - If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osu_bucket_name` parameter is required. - """ - return pulumi.get(self, "is_enabled") - - @is_enabled.setter - def is_enabled(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "is_enabled", value) - - @property - @pulumi.getter(name="osuBucketName") - def osu_bucket_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the OOS bucket for the access logs. - """ - return pulumi.get(self, "osu_bucket_name") - - @osu_bucket_name.setter - def osu_bucket_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "osu_bucket_name", value) - - @property - @pulumi.getter(name="osuBucketPrefix") - def osu_bucket_prefix(self) -> Optional[pulumi.Input[str]]: - """ - The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - """ - return pulumi.get(self, "osu_bucket_prefix") - - @osu_bucket_prefix.setter - def osu_bucket_prefix(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "osu_bucket_prefix", value) - - @property - @pulumi.getter(name="publicationInterval") - def publication_interval(self) -> Optional[pulumi.Input[int]]: - """ - The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - """ - return pulumi.get(self, "publication_interval") - - @publication_interval.setter - def publication_interval(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "publication_interval", value) - - -@pulumi.input_type -class LoadBalancerAttributesApplicationStickyCookiePolicyArgs: - def __init__(__self__, *, - cookie_name: Optional[pulumi.Input[str]] = None, - policy_name: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] cookie_name: The name of the application cookie used for stickiness. - :param pulumi.Input[str] policy_name: The name of the stickiness policy. - """ - if cookie_name is not None: - pulumi.set(__self__, "cookie_name", cookie_name) - if policy_name is not None: - pulumi.set(__self__, "policy_name", policy_name) - - @property - @pulumi.getter(name="cookieName") - def cookie_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the application cookie used for stickiness. - """ - return pulumi.get(self, "cookie_name") - - @cookie_name.setter - def cookie_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "cookie_name", value) - - @property - @pulumi.getter(name="policyName") - def policy_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the stickiness policy. - """ - return pulumi.get(self, "policy_name") - - @policy_name.setter - def policy_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "policy_name", value) - - -@pulumi.input_type -class LoadBalancerAttributesHealthCheckArgs: - def __init__(__self__, *, - port: pulumi.Input[int], - protocol: pulumi.Input[str], - check_interval: Optional[pulumi.Input[int]] = None, - healthy_threshold: Optional[pulumi.Input[int]] = None, - path: Optional[pulumi.Input[str]] = None, - timeout: Optional[pulumi.Input[int]] = None, - unhealthy_threshold: Optional[pulumi.Input[int]] = None): - """ - :param pulumi.Input[int] port: The port number (between `1` and `65535`, both included). - :param pulumi.Input[str] protocol: The protocol for the URL of the VM (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - :param pulumi.Input[int] check_interval: The number of seconds between two pings (between `5` and `600` both included). - :param pulumi.Input[int] healthy_threshold: The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - :param pulumi.Input[str] path: If you use the HTTP or HTTPS protocols, the ping path. - :param pulumi.Input[int] timeout: The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - :param pulumi.Input[int] unhealthy_threshold: The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - """ - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - if check_interval is not None: - pulumi.set(__self__, "check_interval", check_interval) - if healthy_threshold is not None: - pulumi.set(__self__, "healthy_threshold", healthy_threshold) - if path is not None: - pulumi.set(__self__, "path", path) - if timeout is not None: - pulumi.set(__self__, "timeout", timeout) - if unhealthy_threshold is not None: - pulumi.set(__self__, "unhealthy_threshold", unhealthy_threshold) - - @property - @pulumi.getter - def port(self) -> pulumi.Input[int]: - """ - The port number (between `1` and `65535`, both included). - """ - return pulumi.get(self, "port") - - @port.setter - def port(self, value: pulumi.Input[int]): - pulumi.set(self, "port", value) - - @property - @pulumi.getter - def protocol(self) -> pulumi.Input[str]: - """ - The protocol for the URL of the VM (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - """ - return pulumi.get(self, "protocol") - - @protocol.setter - def protocol(self, value: pulumi.Input[str]): - pulumi.set(self, "protocol", value) - - @property - @pulumi.getter(name="checkInterval") - def check_interval(self) -> Optional[pulumi.Input[int]]: - """ - The number of seconds between two pings (between `5` and `600` both included). - """ - return pulumi.get(self, "check_interval") - - @check_interval.setter - def check_interval(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "check_interval", value) - - @property - @pulumi.getter(name="healthyThreshold") - def healthy_threshold(self) -> Optional[pulumi.Input[int]]: - """ - The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - """ - return pulumi.get(self, "healthy_threshold") - - @healthy_threshold.setter - def healthy_threshold(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "healthy_threshold", value) - - @property - @pulumi.getter - def path(self) -> Optional[pulumi.Input[str]]: - """ - If you use the HTTP or HTTPS protocols, the ping path. - """ - return pulumi.get(self, "path") - - @path.setter - def path(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "path", value) - - @property - @pulumi.getter - def timeout(self) -> Optional[pulumi.Input[int]]: - """ - The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - """ - return pulumi.get(self, "timeout") - - @timeout.setter - def timeout(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "timeout", value) - - @property - @pulumi.getter(name="unhealthyThreshold") - def unhealthy_threshold(self) -> Optional[pulumi.Input[int]]: - """ - The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - """ - return pulumi.get(self, "unhealthy_threshold") - - @unhealthy_threshold.setter - def unhealthy_threshold(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "unhealthy_threshold", value) - - -@pulumi.input_type -class LoadBalancerAttributesListenerArgs: - def __init__(__self__, *, - backend_port: Optional[pulumi.Input[int]] = None, - backend_protocol: Optional[pulumi.Input[str]] = None, - load_balancer_port: Optional[pulumi.Input[int]] = None, - load_balancer_protocol: Optional[pulumi.Input[str]] = None, - policy_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - server_certificate_id: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[int] backend_port: The port on which the back-end VM is listening (between `1` and `65535`, both included). - :param pulumi.Input[str] backend_protocol: The protocol for routing traffic to back-end VMs (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - :param pulumi.Input[int] load_balancer_port: The port on which the load balancer is listening (between `1` and `65535`, both included). This parameter is required if you want to update the server certificate. - :param pulumi.Input[str] load_balancer_protocol: The routing protocol (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - :param pulumi.Input[Sequence[pulumi.Input[str]]] policy_names: The name of the policy you want to enable for the listener. - :param pulumi.Input[str] server_certificate_id: The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). If this parameter is specified, you must also specify the `load_balancer_port` parameter. - """ - if backend_port is not None: - pulumi.set(__self__, "backend_port", backend_port) - if backend_protocol is not None: - pulumi.set(__self__, "backend_protocol", backend_protocol) - if load_balancer_port is not None: - pulumi.set(__self__, "load_balancer_port", load_balancer_port) - if load_balancer_protocol is not None: - pulumi.set(__self__, "load_balancer_protocol", load_balancer_protocol) - if policy_names is not None: - pulumi.set(__self__, "policy_names", policy_names) - if server_certificate_id is not None: - pulumi.set(__self__, "server_certificate_id", server_certificate_id) - - @property - @pulumi.getter(name="backendPort") - def backend_port(self) -> Optional[pulumi.Input[int]]: - """ - The port on which the back-end VM is listening (between `1` and `65535`, both included). - """ - return pulumi.get(self, "backend_port") - - @backend_port.setter - def backend_port(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "backend_port", value) - - @property - @pulumi.getter(name="backendProtocol") - def backend_protocol(self) -> Optional[pulumi.Input[str]]: - """ - The protocol for routing traffic to back-end VMs (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - """ - return pulumi.get(self, "backend_protocol") - - @backend_protocol.setter - def backend_protocol(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "backend_protocol", value) - - @property - @pulumi.getter(name="loadBalancerPort") - def load_balancer_port(self) -> Optional[pulumi.Input[int]]: - """ - The port on which the load balancer is listening (between `1` and `65535`, both included). This parameter is required if you want to update the server certificate. - """ - return pulumi.get(self, "load_balancer_port") - - @load_balancer_port.setter - def load_balancer_port(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "load_balancer_port", value) - - @property - @pulumi.getter(name="loadBalancerProtocol") - def load_balancer_protocol(self) -> Optional[pulumi.Input[str]]: - """ - The routing protocol (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - """ - return pulumi.get(self, "load_balancer_protocol") - - @load_balancer_protocol.setter - def load_balancer_protocol(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "load_balancer_protocol", value) - - @property - @pulumi.getter(name="policyNames") - def policy_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - The name of the policy you want to enable for the listener. - """ - return pulumi.get(self, "policy_names") - - @policy_names.setter - def policy_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "policy_names", value) - - @property - @pulumi.getter(name="serverCertificateId") - def server_certificate_id(self) -> Optional[pulumi.Input[str]]: - """ - The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). If this parameter is specified, you must also specify the `load_balancer_port` parameter. - """ - return pulumi.get(self, "server_certificate_id") - - @server_certificate_id.setter - def server_certificate_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "server_certificate_id", value) - - -@pulumi.input_type -class LoadBalancerAttributesLoadBalancerStickyCookiePolicyArgs: - def __init__(__self__, *, - policy_name: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] policy_name: The name of the stickiness policy. - """ - if policy_name is not None: - pulumi.set(__self__, "policy_name", policy_name) - - @property - @pulumi.getter(name="policyName") - def policy_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the stickiness policy. - """ - return pulumi.get(self, "policy_name") - - @policy_name.setter - def policy_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "policy_name", value) - - -@pulumi.input_type -class LoadBalancerAttributesSourceSecurityGroupArgs: - def __init__(__self__, *, - security_group_account_id: Optional[pulumi.Input[str]] = None, - security_group_name: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] security_group_account_id: The account ID of the owner of the security group. - :param pulumi.Input[str] security_group_name: The name of the security group. - """ - if security_group_account_id is not None: - pulumi.set(__self__, "security_group_account_id", security_group_account_id) - if security_group_name is not None: - pulumi.set(__self__, "security_group_name", security_group_name) - - @property - @pulumi.getter(name="securityGroupAccountId") - def security_group_account_id(self) -> Optional[pulumi.Input[str]]: - """ - The account ID of the owner of the security group. - """ - return pulumi.get(self, "security_group_account_id") - - @security_group_account_id.setter - def security_group_account_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "security_group_account_id", value) - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the security group. - """ - return pulumi.get(self, "security_group_name") - - @security_group_name.setter - def security_group_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "security_group_name", value) - - -@pulumi.input_type -class LoadBalancerAttributesTagArgs: - def __init__(__self__, *, - key: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] key: The key of the tag, with a minimum of 1 character. - :param pulumi.Input[str] value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) - - @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) - - -@pulumi.input_type -class LoadBalancerHealthCheckArgs: - def __init__(__self__, *, - check_interval: Optional[pulumi.Input[int]] = None, - healthy_threshold: Optional[pulumi.Input[int]] = None, - path: Optional[pulumi.Input[str]] = None, - port: Optional[pulumi.Input[int]] = None, - protocol: Optional[pulumi.Input[str]] = None, - timeout: Optional[pulumi.Input[int]] = None, - unhealthy_threshold: Optional[pulumi.Input[int]] = None): - """ - :param pulumi.Input[int] check_interval: The number of seconds between two pings (between `5` and `600` both included). - :param pulumi.Input[int] healthy_threshold: The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - :param pulumi.Input[str] path: If you use the HTTP or HTTPS protocols, the ping path. - :param pulumi.Input[int] port: The port number (between `1` and `65535`, both included). - :param pulumi.Input[str] protocol: The protocol for the URL of the VM (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - :param pulumi.Input[int] timeout: The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - :param pulumi.Input[int] unhealthy_threshold: The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - """ - if check_interval is not None: - pulumi.set(__self__, "check_interval", check_interval) - if healthy_threshold is not None: - pulumi.set(__self__, "healthy_threshold", healthy_threshold) - if path is not None: - pulumi.set(__self__, "path", path) - if port is not None: - pulumi.set(__self__, "port", port) - if protocol is not None: - pulumi.set(__self__, "protocol", protocol) - if timeout is not None: - pulumi.set(__self__, "timeout", timeout) - if unhealthy_threshold is not None: - pulumi.set(__self__, "unhealthy_threshold", unhealthy_threshold) - - @property - @pulumi.getter(name="checkInterval") - def check_interval(self) -> Optional[pulumi.Input[int]]: - """ - The number of seconds between two pings (between `5` and `600` both included). - """ - return pulumi.get(self, "check_interval") - - @check_interval.setter - def check_interval(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "check_interval", value) - - @property - @pulumi.getter(name="healthyThreshold") - def healthy_threshold(self) -> Optional[pulumi.Input[int]]: - """ - The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - """ - return pulumi.get(self, "healthy_threshold") - - @healthy_threshold.setter - def healthy_threshold(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "healthy_threshold", value) - - @property - @pulumi.getter - def path(self) -> Optional[pulumi.Input[str]]: - """ - If you use the HTTP or HTTPS protocols, the ping path. - """ - return pulumi.get(self, "path") - - @path.setter - def path(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "path", value) - - @property - @pulumi.getter - def port(self) -> Optional[pulumi.Input[int]]: - """ - The port number (between `1` and `65535`, both included). - """ - return pulumi.get(self, "port") - - @port.setter - def port(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "port", value) - - @property - @pulumi.getter - def protocol(self) -> Optional[pulumi.Input[str]]: - """ - The protocol for the URL of the VM (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - """ - return pulumi.get(self, "protocol") - - @protocol.setter - def protocol(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "protocol", value) - - @property - @pulumi.getter - def timeout(self) -> Optional[pulumi.Input[int]]: - """ - The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - """ - return pulumi.get(self, "timeout") - - @timeout.setter - def timeout(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "timeout", value) - - @property - @pulumi.getter(name="unhealthyThreshold") - def unhealthy_threshold(self) -> Optional[pulumi.Input[int]]: - """ - The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - """ - return pulumi.get(self, "unhealthy_threshold") - - @unhealthy_threshold.setter - def unhealthy_threshold(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "unhealthy_threshold", value) - - -@pulumi.input_type -class LoadBalancerListenerArgs: - def __init__(__self__, *, - backend_port: pulumi.Input[int], - backend_protocol: pulumi.Input[str], - load_balancer_port: pulumi.Input[int], - load_balancer_protocol: pulumi.Input[str], - policy_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - server_certificate_id: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[int] backend_port: The port on which the back-end VM is listening (between `1` and `65535`, both included). - :param pulumi.Input[str] backend_protocol: The protocol for routing traffic to back-end VMs (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - :param pulumi.Input[int] load_balancer_port: The port on which the load balancer is listening (between `1` and `65535`, both included). - :param pulumi.Input[str] load_balancer_protocol: The routing protocol (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - :param pulumi.Input[Sequence[pulumi.Input[str]]] policy_names: The names of the policies. If there are no policies enabled, the list is empty. - :param pulumi.Input[str] server_certificate_id: The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > OUTSCALE Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - """ - pulumi.set(__self__, "backend_port", backend_port) - pulumi.set(__self__, "backend_protocol", backend_protocol) - pulumi.set(__self__, "load_balancer_port", load_balancer_port) - pulumi.set(__self__, "load_balancer_protocol", load_balancer_protocol) - if policy_names is not None: - pulumi.set(__self__, "policy_names", policy_names) - if server_certificate_id is not None: - pulumi.set(__self__, "server_certificate_id", server_certificate_id) - - @property - @pulumi.getter(name="backendPort") - def backend_port(self) -> pulumi.Input[int]: - """ - The port on which the back-end VM is listening (between `1` and `65535`, both included). - """ - return pulumi.get(self, "backend_port") - - @backend_port.setter - def backend_port(self, value: pulumi.Input[int]): - pulumi.set(self, "backend_port", value) - - @property - @pulumi.getter(name="backendProtocol") - def backend_protocol(self) -> pulumi.Input[str]: - """ - The protocol for routing traffic to back-end VMs (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - """ - return pulumi.get(self, "backend_protocol") - - @backend_protocol.setter - def backend_protocol(self, value: pulumi.Input[str]): - pulumi.set(self, "backend_protocol", value) - - @property - @pulumi.getter(name="loadBalancerPort") - def load_balancer_port(self) -> pulumi.Input[int]: - """ - The port on which the load balancer is listening (between `1` and `65535`, both included). - """ - return pulumi.get(self, "load_balancer_port") - - @load_balancer_port.setter - def load_balancer_port(self, value: pulumi.Input[int]): - pulumi.set(self, "load_balancer_port", value) - - @property - @pulumi.getter(name="loadBalancerProtocol") - def load_balancer_protocol(self) -> pulumi.Input[str]: - """ - The routing protocol (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - """ - return pulumi.get(self, "load_balancer_protocol") - - @load_balancer_protocol.setter - def load_balancer_protocol(self, value: pulumi.Input[str]): - pulumi.set(self, "load_balancer_protocol", value) - - @property - @pulumi.getter(name="policyNames") - def policy_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - The names of the policies. If there are no policies enabled, the list is empty. - """ - return pulumi.get(self, "policy_names") - - @policy_names.setter - def policy_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "policy_names", value) - - @property - @pulumi.getter(name="serverCertificateId") - def server_certificate_id(self) -> Optional[pulumi.Input[str]]: - """ - The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > OUTSCALE Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - """ - return pulumi.get(self, "server_certificate_id") - - @server_certificate_id.setter - def server_certificate_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "server_certificate_id", value) - - -@pulumi.input_type -class LoadBalancerLoadBalancerStickyCookiePolicyArgs: - def __init__(__self__, *, - policy_name: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] policy_name: The name of the stickiness policy. - """ - if policy_name is not None: - pulumi.set(__self__, "policy_name", policy_name) - - @property - @pulumi.getter(name="policyName") - def policy_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the stickiness policy. - """ - return pulumi.get(self, "policy_name") - - @policy_name.setter - def policy_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "policy_name", value) - - -@pulumi.input_type -class LoadBalancerPolicyAccessLogArgs: - def __init__(__self__, *, - is_enabled: Optional[pulumi.Input[bool]] = None, - osu_bucket_name: Optional[pulumi.Input[str]] = None, - osu_bucket_prefix: Optional[pulumi.Input[str]] = None, - publication_interval: Optional[pulumi.Input[int]] = None): - """ - :param pulumi.Input[bool] is_enabled: If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osu_bucket_name` parameter is required. - :param pulumi.Input[str] osu_bucket_name: The name of the OOS bucket for the access logs. - :param pulumi.Input[str] osu_bucket_prefix: The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - :param pulumi.Input[int] publication_interval: The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - """ - if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) - if osu_bucket_name is not None: - pulumi.set(__self__, "osu_bucket_name", osu_bucket_name) - if osu_bucket_prefix is not None: - pulumi.set(__self__, "osu_bucket_prefix", osu_bucket_prefix) - if publication_interval is not None: - pulumi.set(__self__, "publication_interval", publication_interval) - - @property - @pulumi.getter(name="isEnabled") - def is_enabled(self) -> Optional[pulumi.Input[bool]]: - """ - If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osu_bucket_name` parameter is required. - """ - return pulumi.get(self, "is_enabled") - - @is_enabled.setter - def is_enabled(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "is_enabled", value) - - @property - @pulumi.getter(name="osuBucketName") - def osu_bucket_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the OOS bucket for the access logs. - """ - return pulumi.get(self, "osu_bucket_name") - - @osu_bucket_name.setter - def osu_bucket_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "osu_bucket_name", value) - - @property - @pulumi.getter(name="osuBucketPrefix") - def osu_bucket_prefix(self) -> Optional[pulumi.Input[str]]: - """ - The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - """ - return pulumi.get(self, "osu_bucket_prefix") - - @osu_bucket_prefix.setter - def osu_bucket_prefix(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "osu_bucket_prefix", value) - - @property - @pulumi.getter(name="publicationInterval") - def publication_interval(self) -> Optional[pulumi.Input[int]]: - """ - The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - """ - return pulumi.get(self, "publication_interval") - - @publication_interval.setter - def publication_interval(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "publication_interval", value) - - -@pulumi.input_type -class LoadBalancerPolicyApplicationStickyCookiePolicyArgs: - def __init__(__self__, *, - cookie_name: Optional[pulumi.Input[str]] = None, - policy_name: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] cookie_name: The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie. - :param pulumi.Input[str] policy_name: The name of the policy. This name must be unique and consist of alphanumeric characters and dashes (-). - """ - if cookie_name is not None: - pulumi.set(__self__, "cookie_name", cookie_name) - if policy_name is not None: - pulumi.set(__self__, "policy_name", policy_name) - - @property - @pulumi.getter(name="cookieName") - def cookie_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie. - """ - return pulumi.get(self, "cookie_name") - - @cookie_name.setter - def cookie_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "cookie_name", value) - - @property - @pulumi.getter(name="policyName") - def policy_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the policy. This name must be unique and consist of alphanumeric characters and dashes (-). - """ - return pulumi.get(self, "policy_name") - - @policy_name.setter - def policy_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "policy_name", value) - - -@pulumi.input_type -class LoadBalancerPolicyHealthCheckArgs: - def __init__(__self__, *, - check_interval: Optional[pulumi.Input[int]] = None, - healthy_threshold: Optional[pulumi.Input[int]] = None, - path: Optional[pulumi.Input[str]] = None, - port: Optional[pulumi.Input[int]] = None, - protocol: Optional[pulumi.Input[str]] = None, - timeout: Optional[pulumi.Input[int]] = None, - unhealthy_threshold: Optional[pulumi.Input[int]] = None): - """ - :param pulumi.Input[int] check_interval: The number of seconds between two pings (between `5` and `600` both included). - :param pulumi.Input[int] healthy_threshold: The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - :param pulumi.Input[str] path: If you use the HTTP or HTTPS protocols, the ping path. - :param pulumi.Input[int] port: The port number (between `1` and `65535`, both included). - :param pulumi.Input[str] protocol: The protocol for the URL of the VM (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - :param pulumi.Input[int] timeout: The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - :param pulumi.Input[int] unhealthy_threshold: The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - """ - if check_interval is not None: - pulumi.set(__self__, "check_interval", check_interval) - if healthy_threshold is not None: - pulumi.set(__self__, "healthy_threshold", healthy_threshold) - if path is not None: - pulumi.set(__self__, "path", path) - if port is not None: - pulumi.set(__self__, "port", port) - if protocol is not None: - pulumi.set(__self__, "protocol", protocol) - if timeout is not None: - pulumi.set(__self__, "timeout", timeout) - if unhealthy_threshold is not None: - pulumi.set(__self__, "unhealthy_threshold", unhealthy_threshold) - - @property - @pulumi.getter(name="checkInterval") - def check_interval(self) -> Optional[pulumi.Input[int]]: - """ - The number of seconds between two pings (between `5` and `600` both included). - """ - return pulumi.get(self, "check_interval") - - @check_interval.setter - def check_interval(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "check_interval", value) - - @property - @pulumi.getter(name="healthyThreshold") - def healthy_threshold(self) -> Optional[pulumi.Input[int]]: - """ - The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - """ - return pulumi.get(self, "healthy_threshold") - - @healthy_threshold.setter - def healthy_threshold(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "healthy_threshold", value) - - @property - @pulumi.getter - def path(self) -> Optional[pulumi.Input[str]]: - """ - If you use the HTTP or HTTPS protocols, the ping path. - """ - return pulumi.get(self, "path") - - @path.setter - def path(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "path", value) - - @property - @pulumi.getter - def port(self) -> Optional[pulumi.Input[int]]: - """ - The port number (between `1` and `65535`, both included). - """ - return pulumi.get(self, "port") - - @port.setter - def port(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "port", value) - - @property - @pulumi.getter - def protocol(self) -> Optional[pulumi.Input[str]]: - """ - The protocol for the URL of the VM (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - """ - return pulumi.get(self, "protocol") - - @protocol.setter - def protocol(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "protocol", value) - - @property - @pulumi.getter - def timeout(self) -> Optional[pulumi.Input[int]]: - """ - The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - """ - return pulumi.get(self, "timeout") - - @timeout.setter - def timeout(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "timeout", value) - - @property - @pulumi.getter(name="unhealthyThreshold") - def unhealthy_threshold(self) -> Optional[pulumi.Input[int]]: - """ - The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - """ - return pulumi.get(self, "unhealthy_threshold") - - @unhealthy_threshold.setter - def unhealthy_threshold(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "unhealthy_threshold", value) - - -@pulumi.input_type -class LoadBalancerPolicyListenerArgs: - def __init__(__self__, *, - backend_port: Optional[pulumi.Input[int]] = None, - backend_protocol: Optional[pulumi.Input[str]] = None, - load_balancer_port: Optional[pulumi.Input[int]] = None, - load_balancer_protocol: Optional[pulumi.Input[str]] = None, - policy_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - server_certificate_id: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[int] backend_port: The port on which the back-end VM is listening (between `1` and `65535`, both included). - :param pulumi.Input[str] backend_protocol: The protocol for routing traffic to back-end VMs (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - :param pulumi.Input[int] load_balancer_port: The port on which the load balancer is listening (between `1` and `65535`, both included). - :param pulumi.Input[str] load_balancer_protocol: The routing protocol (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - :param pulumi.Input[Sequence[pulumi.Input[str]]] policy_names: The names of the policies. If there are no policies enabled, the list is empty. - :param pulumi.Input[str] server_certificate_id: The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > OUTSCALE Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - """ - if backend_port is not None: - pulumi.set(__self__, "backend_port", backend_port) - if backend_protocol is not None: - pulumi.set(__self__, "backend_protocol", backend_protocol) - if load_balancer_port is not None: - pulumi.set(__self__, "load_balancer_port", load_balancer_port) - if load_balancer_protocol is not None: - pulumi.set(__self__, "load_balancer_protocol", load_balancer_protocol) - if policy_names is not None: - pulumi.set(__self__, "policy_names", policy_names) - if server_certificate_id is not None: - pulumi.set(__self__, "server_certificate_id", server_certificate_id) - - @property - @pulumi.getter(name="backendPort") - def backend_port(self) -> Optional[pulumi.Input[int]]: - """ - The port on which the back-end VM is listening (between `1` and `65535`, both included). - """ - return pulumi.get(self, "backend_port") - - @backend_port.setter - def backend_port(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "backend_port", value) - - @property - @pulumi.getter(name="backendProtocol") - def backend_protocol(self) -> Optional[pulumi.Input[str]]: - """ - The protocol for routing traffic to back-end VMs (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - """ - return pulumi.get(self, "backend_protocol") - - @backend_protocol.setter - def backend_protocol(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "backend_protocol", value) - - @property - @pulumi.getter(name="loadBalancerPort") - def load_balancer_port(self) -> Optional[pulumi.Input[int]]: - """ - The port on which the load balancer is listening (between `1` and `65535`, both included). - """ - return pulumi.get(self, "load_balancer_port") - - @load_balancer_port.setter - def load_balancer_port(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "load_balancer_port", value) - - @property - @pulumi.getter(name="loadBalancerProtocol") - def load_balancer_protocol(self) -> Optional[pulumi.Input[str]]: - """ - The routing protocol (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - """ - return pulumi.get(self, "load_balancer_protocol") - - @load_balancer_protocol.setter - def load_balancer_protocol(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "load_balancer_protocol", value) - - @property - @pulumi.getter(name="policyNames") - def policy_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - The names of the policies. If there are no policies enabled, the list is empty. - """ - return pulumi.get(self, "policy_names") - - @policy_names.setter - def policy_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "policy_names", value) - - @property - @pulumi.getter(name="serverCertificateId") - def server_certificate_id(self) -> Optional[pulumi.Input[str]]: - """ - The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > OUTSCALE Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - """ - return pulumi.get(self, "server_certificate_id") - - @server_certificate_id.setter - def server_certificate_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "server_certificate_id", value) - - -@pulumi.input_type -class LoadBalancerPolicyLoadBalancerStickyCookiePolicyArgs: - def __init__(__self__, *, - policy_name: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] policy_name: The name of the policy. This name must be unique and consist of alphanumeric characters and dashes (-). - """ - if policy_name is not None: - pulumi.set(__self__, "policy_name", policy_name) - - @property - @pulumi.getter(name="policyName") - def policy_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the policy. This name must be unique and consist of alphanumeric characters and dashes (-). - """ - return pulumi.get(self, "policy_name") - - @policy_name.setter - def policy_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "policy_name", value) - - -@pulumi.input_type -class LoadBalancerPolicySourceSecurityGroupArgs: - def __init__(__self__, *, - security_group_account_id: Optional[pulumi.Input[str]] = None, - security_group_name: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] security_group_account_id: The account ID of the owner of the security group. - :param pulumi.Input[str] security_group_name: The name of the security group. - """ - if security_group_account_id is not None: - pulumi.set(__self__, "security_group_account_id", security_group_account_id) - if security_group_name is not None: - pulumi.set(__self__, "security_group_name", security_group_name) - - @property - @pulumi.getter(name="securityGroupAccountId") - def security_group_account_id(self) -> Optional[pulumi.Input[str]]: - """ - The account ID of the owner of the security group. - """ - return pulumi.get(self, "security_group_account_id") - - @security_group_account_id.setter - def security_group_account_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "security_group_account_id", value) - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the security group. - """ - return pulumi.get(self, "security_group_name") - - @security_group_name.setter - def security_group_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "security_group_name", value) - - -@pulumi.input_type -class LoadBalancerPolicyTagArgs: - def __init__(__self__, *, - key: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] key: The key of the tag, with a minimum of 1 character. - :param pulumi.Input[str] value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) - - @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) - - -@pulumi.input_type -class LoadBalancerSourceSecurityGroupArgs: - def __init__(__self__, *, - security_group_account_id: Optional[pulumi.Input[str]] = None, - security_group_name: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] security_group_account_id: The account ID of the owner of the security group. - :param pulumi.Input[str] security_group_name: The name of the security group. - """ - if security_group_account_id is not None: - pulumi.set(__self__, "security_group_account_id", security_group_account_id) - if security_group_name is not None: - pulumi.set(__self__, "security_group_name", security_group_name) - - @property - @pulumi.getter(name="securityGroupAccountId") - def security_group_account_id(self) -> Optional[pulumi.Input[str]]: - """ - The account ID of the owner of the security group. - """ - return pulumi.get(self, "security_group_account_id") - - @security_group_account_id.setter - def security_group_account_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "security_group_account_id", value) - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the security group. - """ - return pulumi.get(self, "security_group_name") - - @security_group_name.setter - def security_group_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "security_group_name", value) - - -@pulumi.input_type -class LoadBalancerTagArgs: - def __init__(__self__, *, - key: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] key: The key of the tag, with a minimum of 1 character. - :param pulumi.Input[str] value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) - - @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) - - -@pulumi.input_type -class NatServicePublicIpArgs: - def __init__(__self__, *, - public_ip: Optional[pulumi.Input[str]] = None, - public_ip_id: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] public_ip: The public IP associated with the NAT service. - :param pulumi.Input[str] public_ip_id: The allocation ID of the public IP to associate with the NAT service.
- If the public IP is already associated with another resource, you must first disassociate it. - """ - if public_ip is not None: - pulumi.set(__self__, "public_ip", public_ip) - if public_ip_id is not None: - pulumi.set(__self__, "public_ip_id", public_ip_id) - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> Optional[pulumi.Input[str]]: - """ - The public IP associated with the NAT service. - """ - return pulumi.get(self, "public_ip") - - @public_ip.setter - def public_ip(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_ip", value) - - @property - @pulumi.getter(name="publicIpId") - def public_ip_id(self) -> Optional[pulumi.Input[str]]: - """ - The allocation ID of the public IP to associate with the NAT service.
- If the public IP is already associated with another resource, you must first disassociate it. - """ - return pulumi.get(self, "public_ip_id") - - @public_ip_id.setter - def public_ip_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_ip_id", value) - - -@pulumi.input_type -class NatServiceTagArgs: - def __init__(__self__, *, - key: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] key: The key of the tag, with a minimum of 1 character. - :param pulumi.Input[str] value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) - - @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) - - -@pulumi.input_type -class NetAccessPointTagArgs: - def __init__(__self__, *, - key: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] key: The key of the tag, with a minimum of 1 character. - :param pulumi.Input[str] value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) - - @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) - - -@pulumi.input_type -class NetAttributesTagArgs: - def __init__(__self__, *, - key: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] key: The key of the tag, with a minimum of 1 character. - :param pulumi.Input[str] value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) - - @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) - - -@pulumi.input_type -class NetPeeringAccepterNetArgs: - def __init__(__self__, *, - account_id: Optional[pulumi.Input[str]] = None, - ip_range: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] account_id: The account ID of the owner of the source Net. - :param pulumi.Input[str] ip_range: The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - :param pulumi.Input[str] net_id: The ID of the source Net. - """ - if account_id is not None: - pulumi.set(__self__, "account_id", account_id) - if ip_range is not None: - pulumi.set(__self__, "ip_range", ip_range) - if net_id is not None: - pulumi.set(__self__, "net_id", net_id) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> Optional[pulumi.Input[str]]: - """ - The account ID of the owner of the source Net. - """ - return pulumi.get(self, "account_id") - - @account_id.setter - def account_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "account_id", value) - - @property - @pulumi.getter(name="ipRange") - def ip_range(self) -> Optional[pulumi.Input[str]]: - """ - The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - """ - return pulumi.get(self, "ip_range") - - @ip_range.setter - def ip_range(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ip_range", value) - - @property - @pulumi.getter(name="netId") - def net_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the source Net. - """ - return pulumi.get(self, "net_id") - - @net_id.setter - def net_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "net_id", value) - - -@pulumi.input_type -class NetPeeringAcceptionAccepterNetArgs: - def __init__(__self__, *, - account_id: Optional[pulumi.Input[str]] = None, - ip_range: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] account_id: The account ID of the owner of the source Net. - :param pulumi.Input[str] ip_range: The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - :param pulumi.Input[str] net_id: The ID of the source Net. - """ - if account_id is not None: - pulumi.set(__self__, "account_id", account_id) - if ip_range is not None: - pulumi.set(__self__, "ip_range", ip_range) - if net_id is not None: - pulumi.set(__self__, "net_id", net_id) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> Optional[pulumi.Input[str]]: - """ - The account ID of the owner of the source Net. - """ - return pulumi.get(self, "account_id") - - @account_id.setter - def account_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "account_id", value) - - @property - @pulumi.getter(name="ipRange") - def ip_range(self) -> Optional[pulumi.Input[str]]: - """ - The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - """ - return pulumi.get(self, "ip_range") - - @ip_range.setter - def ip_range(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ip_range", value) - - @property - @pulumi.getter(name="netId") - def net_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the source Net. - """ - return pulumi.get(self, "net_id") - - @net_id.setter - def net_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "net_id", value) - - -@pulumi.input_type -class NetPeeringAcceptionSourceNetArgs: - def __init__(__self__, *, - account_id: Optional[pulumi.Input[str]] = None, - ip_range: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] account_id: The account ID of the owner of the source Net. - :param pulumi.Input[str] ip_range: The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - :param pulumi.Input[str] net_id: The ID of the source Net. - """ - if account_id is not None: - pulumi.set(__self__, "account_id", account_id) - if ip_range is not None: - pulumi.set(__self__, "ip_range", ip_range) - if net_id is not None: - pulumi.set(__self__, "net_id", net_id) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> Optional[pulumi.Input[str]]: - """ - The account ID of the owner of the source Net. - """ - return pulumi.get(self, "account_id") - - @account_id.setter - def account_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "account_id", value) - - @property - @pulumi.getter(name="ipRange") - def ip_range(self) -> Optional[pulumi.Input[str]]: - """ - The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - """ - return pulumi.get(self, "ip_range") - - @ip_range.setter - def ip_range(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ip_range", value) - - @property - @pulumi.getter(name="netId") - def net_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the source Net. - """ - return pulumi.get(self, "net_id") - - @net_id.setter - def net_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "net_id", value) - - -@pulumi.input_type -class NetPeeringAcceptionStateArgs: - def __init__(__self__, *, - message: Optional[pulumi.Input[str]] = None, - name: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] message: Additional information about the state of the Net peering. - :param pulumi.Input[str] name: The state of the Net peering (`pending-acceptance` \\| `active` \\| `rejected` \\| `failed` \\| `expired` \\| `deleted`). - """ - if message is not None: - pulumi.set(__self__, "message", message) - if name is not None: - pulumi.set(__self__, "name", name) - - @property - @pulumi.getter - def message(self) -> Optional[pulumi.Input[str]]: - """ - Additional information about the state of the Net peering. - """ - return pulumi.get(self, "message") - - @message.setter - def message(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "message", value) - - @property - @pulumi.getter - def name(self) -> Optional[pulumi.Input[str]]: - """ - The state of the Net peering (`pending-acceptance` \\| `active` \\| `rejected` \\| `failed` \\| `expired` \\| `deleted`). - """ - return pulumi.get(self, "name") - - @name.setter - def name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "name", value) - - -@pulumi.input_type -class NetPeeringAcceptionTagArgs: - def __init__(__self__, *, - key: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] key: The key of the tag, with a minimum of 1 character. - :param pulumi.Input[str] value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) - - @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) - - -@pulumi.input_type -class NetPeeringSourceNetArgs: - def __init__(__self__, *, - account_id: Optional[pulumi.Input[str]] = None, - ip_range: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] account_id: The account ID of the owner of the source Net. - :param pulumi.Input[str] ip_range: The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - :param pulumi.Input[str] net_id: The ID of the source Net. - """ - if account_id is not None: - pulumi.set(__self__, "account_id", account_id) - if ip_range is not None: - pulumi.set(__self__, "ip_range", ip_range) - if net_id is not None: - pulumi.set(__self__, "net_id", net_id) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> Optional[pulumi.Input[str]]: - """ - The account ID of the owner of the source Net. - """ - return pulumi.get(self, "account_id") - - @account_id.setter - def account_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "account_id", value) - - @property - @pulumi.getter(name="ipRange") - def ip_range(self) -> Optional[pulumi.Input[str]]: - """ - The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - """ - return pulumi.get(self, "ip_range") - - @ip_range.setter - def ip_range(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ip_range", value) - - @property - @pulumi.getter(name="netId") - def net_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the source Net. - """ - return pulumi.get(self, "net_id") - - @net_id.setter - def net_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "net_id", value) - - -@pulumi.input_type -class NetPeeringStateArgs: - def __init__(__self__, *, - message: Optional[pulumi.Input[str]] = None, - name: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] message: Additional information about the state of the Net peering. - :param pulumi.Input[str] name: The state of the Net peering (`pending-acceptance` \\| `active` \\| `rejected` \\| `failed` \\| `expired` \\| `deleted`). - """ - if message is not None: - pulumi.set(__self__, "message", message) - if name is not None: - pulumi.set(__self__, "name", name) - - @property - @pulumi.getter - def message(self) -> Optional[pulumi.Input[str]]: - """ - Additional information about the state of the Net peering. - """ - return pulumi.get(self, "message") - - @message.setter - def message(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "message", value) - - @property - @pulumi.getter - def name(self) -> Optional[pulumi.Input[str]]: - """ - The state of the Net peering (`pending-acceptance` \\| `active` \\| `rejected` \\| `failed` \\| `expired` \\| `deleted`). - """ - return pulumi.get(self, "name") - - @name.setter - def name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "name", value) - - -@pulumi.input_type -class NetPeeringTagArgs: - def __init__(__self__, *, - key: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] key: The key of the tag, with a minimum of 1 character. - :param pulumi.Input[str] value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) - - @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) - - -@pulumi.input_type -class NetTagArgs: - def __init__(__self__, *, - key: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] key: The key of the tag, with a minimum of 1 character. - :param pulumi.Input[str] value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) - - @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) - - -@pulumi.input_type -class NicLinkNicArgs: - def __init__(__self__, *, - delete_on_vm_deletion: Optional[pulumi.Input[str]] = None, - device_number: Optional[pulumi.Input[int]] = None, - link_nic_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - vm_account_id: Optional[pulumi.Input[str]] = None, - vm_id: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] delete_on_vm_deletion: If true, the NIC is deleted when the VM is terminated. - :param pulumi.Input[int] device_number: The device index for the NIC attachment (between `1` and `7`, both included). - :param pulumi.Input[str] link_nic_id: The ID of the NIC to attach. - :param pulumi.Input[str] state: The state of the NIC (`available` \\| `attaching` \\| `in-use` \\| `detaching`). - :param pulumi.Input[str] vm_account_id: The account ID of the owner of the VM. - :param pulumi.Input[str] vm_id: The ID of the VM. - """ - if delete_on_vm_deletion is not None: - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - if device_number is not None: - pulumi.set(__self__, "device_number", device_number) - if link_nic_id is not None: - pulumi.set(__self__, "link_nic_id", link_nic_id) - if state is not None: - pulumi.set(__self__, "state", state) - if vm_account_id is not None: - pulumi.set(__self__, "vm_account_id", vm_account_id) - if vm_id is not None: - pulumi.set(__self__, "vm_id", vm_id) - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> Optional[pulumi.Input[str]]: - """ - If true, the NIC is deleted when the VM is terminated. - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @delete_on_vm_deletion.setter - def delete_on_vm_deletion(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "delete_on_vm_deletion", value) - - @property - @pulumi.getter(name="deviceNumber") - def device_number(self) -> Optional[pulumi.Input[int]]: - """ - The device index for the NIC attachment (between `1` and `7`, both included). - """ - return pulumi.get(self, "device_number") - - @device_number.setter - def device_number(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "device_number", value) - - @property - @pulumi.getter(name="linkNicId") - def link_nic_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the NIC to attach. - """ - return pulumi.get(self, "link_nic_id") - - @link_nic_id.setter - def link_nic_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "link_nic_id", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - The state of the NIC (`available` \\| `attaching` \\| `in-use` \\| `detaching`). - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - @property - @pulumi.getter(name="vmAccountId") - def vm_account_id(self) -> Optional[pulumi.Input[str]]: - """ - The account ID of the owner of the VM. - """ - return pulumi.get(self, "vm_account_id") - - @vm_account_id.setter - def vm_account_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "vm_account_id", value) - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the VM. - """ - return pulumi.get(self, "vm_id") - - @vm_id.setter - def vm_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "vm_id", value) - - -@pulumi.input_type -class NicLinkPublicIpArgs: - def __init__(__self__, *, - link_public_ip_id: Optional[pulumi.Input[str]] = None, - public_dns_name: Optional[pulumi.Input[str]] = None, - public_ip: Optional[pulumi.Input[str]] = None, - public_ip_account_id: Optional[pulumi.Input[str]] = None, - public_ip_id: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] link_public_ip_id: (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - :param pulumi.Input[str] public_dns_name: The name of the public DNS. - :param pulumi.Input[str] public_ip: The public IP associated with the NIC. - :param pulumi.Input[str] public_ip_account_id: The account ID of the owner of the public IP. - :param pulumi.Input[str] public_ip_id: The allocation ID of the public IP. - """ - if link_public_ip_id is not None: - pulumi.set(__self__, "link_public_ip_id", link_public_ip_id) - if public_dns_name is not None: - pulumi.set(__self__, "public_dns_name", public_dns_name) - if public_ip is not None: - pulumi.set(__self__, "public_ip", public_ip) - if public_ip_account_id is not None: - pulumi.set(__self__, "public_ip_account_id", public_ip_account_id) - if public_ip_id is not None: - pulumi.set(__self__, "public_ip_id", public_ip_id) - - @property - @pulumi.getter(name="linkPublicIpId") - def link_public_ip_id(self) -> Optional[pulumi.Input[str]]: - """ - (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - """ - return pulumi.get(self, "link_public_ip_id") - - @link_public_ip_id.setter - def link_public_ip_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "link_public_ip_id", value) - - @property - @pulumi.getter(name="publicDnsName") - def public_dns_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the public DNS. - """ - return pulumi.get(self, "public_dns_name") - - @public_dns_name.setter - def public_dns_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_dns_name", value) - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> Optional[pulumi.Input[str]]: - """ - The public IP associated with the NIC. - """ - return pulumi.get(self, "public_ip") - - @public_ip.setter - def public_ip(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_ip", value) - - @property - @pulumi.getter(name="publicIpAccountId") - def public_ip_account_id(self) -> Optional[pulumi.Input[str]]: - """ - The account ID of the owner of the public IP. - """ - return pulumi.get(self, "public_ip_account_id") - - @public_ip_account_id.setter - def public_ip_account_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_ip_account_id", value) - - @property - @pulumi.getter(name="publicIpId") - def public_ip_id(self) -> Optional[pulumi.Input[str]]: - """ - The allocation ID of the public IP. - """ - return pulumi.get(self, "public_ip_id") - - @public_ip_id.setter - def public_ip_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_ip_id", value) - - -@pulumi.input_type -class NicPrivateIpArgs: - def __init__(__self__, *, - is_primary: Optional[pulumi.Input[bool]] = None, - link_public_ips: Optional[pulumi.Input[Sequence[pulumi.Input['NicPrivateIpLinkPublicIpArgs']]]] = None, - private_dns_name: Optional[pulumi.Input[str]] = None, - private_ip: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[bool] is_primary: If true, the IP is the primary private IP of the NIC. - :param pulumi.Input[Sequence[pulumi.Input['NicPrivateIpLinkPublicIpArgs']]] link_public_ips: Information about the public IP association. - :param pulumi.Input[str] private_dns_name: The name of the private DNS. - :param pulumi.Input[str] private_ip: The private IP of the NIC. - """ - if is_primary is not None: - pulumi.set(__self__, "is_primary", is_primary) - if link_public_ips is not None: - pulumi.set(__self__, "link_public_ips", link_public_ips) - if private_dns_name is not None: - pulumi.set(__self__, "private_dns_name", private_dns_name) - if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) - - @property - @pulumi.getter(name="isPrimary") - def is_primary(self) -> Optional[pulumi.Input[bool]]: - """ - If true, the IP is the primary private IP of the NIC. - """ - return pulumi.get(self, "is_primary") - - @is_primary.setter - def is_primary(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "is_primary", value) - - @property - @pulumi.getter(name="linkPublicIps") - def link_public_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NicPrivateIpLinkPublicIpArgs']]]]: - """ - Information about the public IP association. - """ - return pulumi.get(self, "link_public_ips") - - @link_public_ips.setter - def link_public_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NicPrivateIpLinkPublicIpArgs']]]]): - pulumi.set(self, "link_public_ips", value) - - @property - @pulumi.getter(name="privateDnsName") - def private_dns_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the private DNS. - """ - return pulumi.get(self, "private_dns_name") - - @private_dns_name.setter - def private_dns_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "private_dns_name", value) - - @property - @pulumi.getter(name="privateIp") - def private_ip(self) -> Optional[pulumi.Input[str]]: - """ - The private IP of the NIC. - """ - return pulumi.get(self, "private_ip") - - @private_ip.setter - def private_ip(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "private_ip", value) - - -@pulumi.input_type -class NicPrivateIpLinkPublicIpArgs: - def __init__(__self__, *, - link_public_ip_id: Optional[pulumi.Input[str]] = None, - public_dns_name: Optional[pulumi.Input[str]] = None, - public_ip: Optional[pulumi.Input[str]] = None, - public_ip_account_id: Optional[pulumi.Input[str]] = None, - public_ip_id: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] link_public_ip_id: (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - :param pulumi.Input[str] public_dns_name: The name of the public DNS. - :param pulumi.Input[str] public_ip: The public IP associated with the NIC. - :param pulumi.Input[str] public_ip_account_id: The account ID of the owner of the public IP. - :param pulumi.Input[str] public_ip_id: The allocation ID of the public IP. - """ - if link_public_ip_id is not None: - pulumi.set(__self__, "link_public_ip_id", link_public_ip_id) - if public_dns_name is not None: - pulumi.set(__self__, "public_dns_name", public_dns_name) - if public_ip is not None: - pulumi.set(__self__, "public_ip", public_ip) - if public_ip_account_id is not None: - pulumi.set(__self__, "public_ip_account_id", public_ip_account_id) - if public_ip_id is not None: - pulumi.set(__self__, "public_ip_id", public_ip_id) - - @property - @pulumi.getter(name="linkPublicIpId") - def link_public_ip_id(self) -> Optional[pulumi.Input[str]]: - """ - (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - """ - return pulumi.get(self, "link_public_ip_id") - - @link_public_ip_id.setter - def link_public_ip_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "link_public_ip_id", value) - - @property - @pulumi.getter(name="publicDnsName") - def public_dns_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the public DNS. - """ - return pulumi.get(self, "public_dns_name") - - @public_dns_name.setter - def public_dns_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_dns_name", value) - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> Optional[pulumi.Input[str]]: - """ - The public IP associated with the NIC. - """ - return pulumi.get(self, "public_ip") - - @public_ip.setter - def public_ip(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_ip", value) - - @property - @pulumi.getter(name="publicIpAccountId") - def public_ip_account_id(self) -> Optional[pulumi.Input[str]]: - """ - The account ID of the owner of the public IP. - """ - return pulumi.get(self, "public_ip_account_id") - - @public_ip_account_id.setter - def public_ip_account_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_ip_account_id", value) - - @property - @pulumi.getter(name="publicIpId") - def public_ip_id(self) -> Optional[pulumi.Input[str]]: - """ - The allocation ID of the public IP. - """ - return pulumi.get(self, "public_ip_id") - - @public_ip_id.setter - def public_ip_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_ip_id", value) - - -@pulumi.input_type -class NicSecurityGroupArgs: - def __init__(__self__, *, - security_group_id: Optional[pulumi.Input[str]] = None, - security_group_name: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] security_group_id: The ID of the security group. - :param pulumi.Input[str] security_group_name: The name of the security group. - """ - if security_group_id is not None: - pulumi.set(__self__, "security_group_id", security_group_id) - if security_group_name is not None: - pulumi.set(__self__, "security_group_name", security_group_name) - - @property - @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the security group. - """ - return pulumi.get(self, "security_group_id") - - @security_group_id.setter - def security_group_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "security_group_id", value) - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the security group. - """ - return pulumi.get(self, "security_group_name") - - @security_group_name.setter - def security_group_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "security_group_name", value) - - -@pulumi.input_type -class NicTagArgs: - def __init__(__self__, *, - key: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] key: The key of the tag, with a minimum of 1 character. - :param pulumi.Input[str] value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) - - @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) - - -@pulumi.input_type -class OutboundRuleRuleArgs: - def __init__(__self__, *, - from_port_range: Optional[pulumi.Input[int]] = None, - ip_protocol: Optional[pulumi.Input[str]] = None, - ip_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - security_groups_members: Optional[pulumi.Input[Sequence[pulumi.Input['OutboundRuleRuleSecurityGroupsMemberArgs']]]] = None, - service_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - to_port_range: Optional[pulumi.Input[int]] = None): - if from_port_range is not None: - pulumi.set(__self__, "from_port_range", from_port_range) - if ip_protocol is not None: - pulumi.set(__self__, "ip_protocol", ip_protocol) - if ip_ranges is not None: - pulumi.set(__self__, "ip_ranges", ip_ranges) - if security_groups_members is not None: - pulumi.set(__self__, "security_groups_members", security_groups_members) - if service_ids is not None: - pulumi.set(__self__, "service_ids", service_ids) - if to_port_range is not None: - pulumi.set(__self__, "to_port_range", to_port_range) - - @property - @pulumi.getter(name="fromPortRange") - def from_port_range(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "from_port_range") - - @from_port_range.setter - def from_port_range(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "from_port_range", value) - - @property - @pulumi.getter(name="ipProtocol") - def ip_protocol(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "ip_protocol") - - @ip_protocol.setter - def ip_protocol(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ip_protocol", value) - - @property - @pulumi.getter(name="ipRanges") - def ip_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "ip_ranges") - - @ip_ranges.setter - def ip_ranges(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "ip_ranges", value) - - @property - @pulumi.getter(name="securityGroupsMembers") - def security_groups_members(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OutboundRuleRuleSecurityGroupsMemberArgs']]]]: - return pulumi.get(self, "security_groups_members") - - @security_groups_members.setter - def security_groups_members(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OutboundRuleRuleSecurityGroupsMemberArgs']]]]): - pulumi.set(self, "security_groups_members", value) - - @property - @pulumi.getter(name="serviceIds") - def service_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "service_ids") - - @service_ids.setter - def service_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "service_ids", value) - - @property - @pulumi.getter(name="toPortRange") - def to_port_range(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "to_port_range") - - @to_port_range.setter - def to_port_range(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "to_port_range", value) - - -@pulumi.input_type -class OutboundRuleRuleSecurityGroupsMemberArgs: - def __init__(__self__, *, - account_id: Optional[pulumi.Input[str]] = None, - security_group_id: Optional[pulumi.Input[str]] = None, - security_group_name: Optional[pulumi.Input[str]] = None): - if account_id is not None: - pulumi.set(__self__, "account_id", account_id) - if security_group_id is not None: - pulumi.set(__self__, "security_group_id", security_group_id) - if security_group_name is not None: - pulumi.set(__self__, "security_group_name", security_group_name) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "account_id") - - @account_id.setter - def account_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "account_id", value) - - @property - @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "security_group_id") - - @security_group_id.setter - def security_group_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "security_group_id", value) - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "security_group_name") - - @security_group_name.setter - def security_group_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "security_group_name", value) - - -@pulumi.input_type -class ProviderEndpointArgs: - def __init__(__self__, *, - api: Optional[pulumi.Input[str]] = None): - if api is not None: - pulumi.set(__self__, "api", api) - - @property - @pulumi.getter - def api(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "api") - - @api.setter - def api(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "api", value) - - -@pulumi.input_type -class PublicIpLinkTagArgs: - def __init__(__self__, *, - key: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None): - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "key") - - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) - - @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "value") - - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) - - -@pulumi.input_type -class PublicIpTagArgs: - def __init__(__self__, *, - key: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] key: The key of the tag, with a minimum of 1 character. - :param pulumi.Input[str] value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) - - @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) - - -@pulumi.input_type -class RouteTableLinkRouteTableArgs: - def __init__(__self__, *, - link_route_table_id: Optional[pulumi.Input[str]] = None, - main: Optional[pulumi.Input[bool]] = None, - route_table_id: Optional[pulumi.Input[str]] = None, - route_table_to_subnet_link_id: Optional[pulumi.Input[str]] = None, - subnet_id: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] link_route_table_id: The ID of the association between the route table and the Subnet. - :param pulumi.Input[bool] main: If true, the route table is the main one. - :param pulumi.Input[str] route_table_id: The ID of the route table. - :param pulumi.Input[str] subnet_id: The ID of the Subnet. - """ - if link_route_table_id is not None: - pulumi.set(__self__, "link_route_table_id", link_route_table_id) - if main is not None: - pulumi.set(__self__, "main", main) - if route_table_id is not None: - pulumi.set(__self__, "route_table_id", route_table_id) - if route_table_to_subnet_link_id is not None: - pulumi.set(__self__, "route_table_to_subnet_link_id", route_table_to_subnet_link_id) - if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) - - @property - @pulumi.getter(name="linkRouteTableId") - def link_route_table_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the association between the route table and the Subnet. - """ - return pulumi.get(self, "link_route_table_id") - - @link_route_table_id.setter - def link_route_table_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "link_route_table_id", value) - - @property - @pulumi.getter - def main(self) -> Optional[pulumi.Input[bool]]: - """ - If true, the route table is the main one. - """ - return pulumi.get(self, "main") - - @main.setter - def main(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "main", value) - - @property - @pulumi.getter(name="routeTableId") - def route_table_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the route table. - """ - return pulumi.get(self, "route_table_id") - - @route_table_id.setter - def route_table_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "route_table_id", value) - - @property - @pulumi.getter(name="routeTableToSubnetLinkId") - def route_table_to_subnet_link_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "route_table_to_subnet_link_id") - - @route_table_to_subnet_link_id.setter - def route_table_to_subnet_link_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "route_table_to_subnet_link_id", value) - - @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Subnet. - """ - return pulumi.get(self, "subnet_id") - - @subnet_id.setter - def subnet_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "subnet_id", value) - - -@pulumi.input_type -class RouteTableRouteArgs: - def __init__(__self__, *, - creation_method: Optional[pulumi.Input[str]] = None, - destination_ip_range: Optional[pulumi.Input[str]] = None, - destination_service_id: Optional[pulumi.Input[str]] = None, - gateway_id: Optional[pulumi.Input[str]] = None, - nat_service_id: Optional[pulumi.Input[str]] = None, - net_access_point_id: Optional[pulumi.Input[str]] = None, - net_peering_id: Optional[pulumi.Input[str]] = None, - nic_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - vm_account_id: Optional[pulumi.Input[str]] = None, - vm_id: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] creation_method: The method used to create the route. - :param pulumi.Input[str] destination_ip_range: The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - :param pulumi.Input[str] destination_service_id: The ID of the OUTSCALE service. - :param pulumi.Input[str] gateway_id: The ID of the Internet service or virtual gateway attached to the Net. - :param pulumi.Input[str] nat_service_id: The ID of a NAT service attached to the Net. - :param pulumi.Input[str] net_access_point_id: The ID of the Net access point. - :param pulumi.Input[str] net_peering_id: The ID of the Net peering. - :param pulumi.Input[str] nic_id: The ID of the NIC. - :param pulumi.Input[str] state: The state of a route in the route table (always `active`). - :param pulumi.Input[str] vm_account_id: The account ID of the owner of the VM. - :param pulumi.Input[str] vm_id: The ID of a VM specified in a route in the table. - """ - if creation_method is not None: - pulumi.set(__self__, "creation_method", creation_method) - if destination_ip_range is not None: - pulumi.set(__self__, "destination_ip_range", destination_ip_range) - if destination_service_id is not None: - pulumi.set(__self__, "destination_service_id", destination_service_id) - if gateway_id is not None: - pulumi.set(__self__, "gateway_id", gateway_id) - if nat_service_id is not None: - pulumi.set(__self__, "nat_service_id", nat_service_id) - if net_access_point_id is not None: - pulumi.set(__self__, "net_access_point_id", net_access_point_id) - if net_peering_id is not None: - pulumi.set(__self__, "net_peering_id", net_peering_id) - if nic_id is not None: - pulumi.set(__self__, "nic_id", nic_id) - if state is not None: - pulumi.set(__self__, "state", state) - if vm_account_id is not None: - pulumi.set(__self__, "vm_account_id", vm_account_id) - if vm_id is not None: - pulumi.set(__self__, "vm_id", vm_id) - - @property - @pulumi.getter(name="creationMethod") - def creation_method(self) -> Optional[pulumi.Input[str]]: - """ - The method used to create the route. - """ - return pulumi.get(self, "creation_method") - - @creation_method.setter - def creation_method(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "creation_method", value) - - @property - @pulumi.getter(name="destinationIpRange") - def destination_ip_range(self) -> Optional[pulumi.Input[str]]: - """ - The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - """ - return pulumi.get(self, "destination_ip_range") - - @destination_ip_range.setter - def destination_ip_range(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "destination_ip_range", value) - - @property - @pulumi.getter(name="destinationServiceId") - def destination_service_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the OUTSCALE service. - """ - return pulumi.get(self, "destination_service_id") - - @destination_service_id.setter - def destination_service_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "destination_service_id", value) - - @property - @pulumi.getter(name="gatewayId") - def gateway_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Internet service or virtual gateway attached to the Net. - """ - return pulumi.get(self, "gateway_id") - - @gateway_id.setter - def gateway_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "gateway_id", value) - - @property - @pulumi.getter(name="natServiceId") - def nat_service_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of a NAT service attached to the Net. - """ - return pulumi.get(self, "nat_service_id") - - @nat_service_id.setter - def nat_service_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "nat_service_id", value) - - @property - @pulumi.getter(name="netAccessPointId") - def net_access_point_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Net access point. - """ - return pulumi.get(self, "net_access_point_id") - - @net_access_point_id.setter - def net_access_point_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "net_access_point_id", value) - - @property - @pulumi.getter(name="netPeeringId") - def net_peering_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Net peering. - """ - return pulumi.get(self, "net_peering_id") - - @net_peering_id.setter - def net_peering_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "net_peering_id", value) - - @property - @pulumi.getter(name="nicId") - def nic_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the NIC. - """ - return pulumi.get(self, "nic_id") - - @nic_id.setter - def nic_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "nic_id", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - The state of a route in the route table (always `active`). - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - @property - @pulumi.getter(name="vmAccountId") - def vm_account_id(self) -> Optional[pulumi.Input[str]]: - """ - The account ID of the owner of the VM. - """ - return pulumi.get(self, "vm_account_id") - - @vm_account_id.setter - def vm_account_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "vm_account_id", value) - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of a VM specified in a route in the table. - """ - return pulumi.get(self, "vm_id") - - @vm_id.setter - def vm_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "vm_id", value) - - -@pulumi.input_type -class RouteTableRoutePropagatingVirtualGatewayArgs: - def __init__(__self__, *, - virtual_gateway_id: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] virtual_gateway_id: The ID of the virtual gateway. - """ - if virtual_gateway_id is not None: - pulumi.set(__self__, "virtual_gateway_id", virtual_gateway_id) - - @property - @pulumi.getter(name="virtualGatewayId") - def virtual_gateway_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the virtual gateway. - """ - return pulumi.get(self, "virtual_gateway_id") - - @virtual_gateway_id.setter - def virtual_gateway_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "virtual_gateway_id", value) - - -@pulumi.input_type -class RouteTableTagArgs: - def __init__(__self__, *, - key: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] key: The key of the tag, with a minimum of 1 character. - :param pulumi.Input[str] value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) - - @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) - - -@pulumi.input_type -class SecurityGroupInboundRuleArgs: - def __init__(__self__, *, - from_port_range: Optional[pulumi.Input[int]] = None, - ip_protocol: Optional[pulumi.Input[str]] = None, - ip_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - security_groups_members: Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, Any]]]]] = None, - to_port_range: Optional[pulumi.Input[int]] = None): - """ - :param pulumi.Input[int] from_port_range: The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - :param pulumi.Input[str] ip_protocol: The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - :param pulumi.Input[Sequence[pulumi.Input[str]]] ip_ranges: One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - :param pulumi.Input[Sequence[pulumi.Input[Mapping[str, Any]]]] security_groups_members: Information about one or more source or destination security groups. - :param pulumi.Input[int] to_port_range: The end of the port range for the TCP and UDP protocols, or an ICMP code number. - """ - if from_port_range is not None: - pulumi.set(__self__, "from_port_range", from_port_range) - if ip_protocol is not None: - pulumi.set(__self__, "ip_protocol", ip_protocol) - if ip_ranges is not None: - pulumi.set(__self__, "ip_ranges", ip_ranges) - if security_groups_members is not None: - pulumi.set(__self__, "security_groups_members", security_groups_members) - if to_port_range is not None: - pulumi.set(__self__, "to_port_range", to_port_range) - - @property - @pulumi.getter(name="fromPortRange") - def from_port_range(self) -> Optional[pulumi.Input[int]]: - """ - The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - """ - return pulumi.get(self, "from_port_range") - - @from_port_range.setter - def from_port_range(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "from_port_range", value) - - @property - @pulumi.getter(name="ipProtocol") - def ip_protocol(self) -> Optional[pulumi.Input[str]]: - """ - The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - """ - return pulumi.get(self, "ip_protocol") - - @ip_protocol.setter - def ip_protocol(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ip_protocol", value) - - @property - @pulumi.getter(name="ipRanges") - def ip_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - """ - return pulumi.get(self, "ip_ranges") - - @ip_ranges.setter - def ip_ranges(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "ip_ranges", value) - - @property - @pulumi.getter(name="securityGroupsMembers") - def security_groups_members(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, Any]]]]]: - """ - Information about one or more source or destination security groups. - """ - return pulumi.get(self, "security_groups_members") - - @security_groups_members.setter - def security_groups_members(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, Any]]]]]): - pulumi.set(self, "security_groups_members", value) - - @property - @pulumi.getter(name="toPortRange") - def to_port_range(self) -> Optional[pulumi.Input[int]]: - """ - The end of the port range for the TCP and UDP protocols, or an ICMP code number. - """ - return pulumi.get(self, "to_port_range") - - @to_port_range.setter - def to_port_range(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "to_port_range", value) - - -@pulumi.input_type -class SecurityGroupOutboundRuleArgs: - def __init__(__self__, *, - from_port_range: Optional[pulumi.Input[int]] = None, - ip_protocol: Optional[pulumi.Input[str]] = None, - ip_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - security_groups_members: Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, Any]]]]] = None, - to_port_range: Optional[pulumi.Input[int]] = None): - """ - :param pulumi.Input[int] from_port_range: The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - :param pulumi.Input[str] ip_protocol: The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - :param pulumi.Input[Sequence[pulumi.Input[str]]] ip_ranges: One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - :param pulumi.Input[Sequence[pulumi.Input[Mapping[str, Any]]]] security_groups_members: Information about one or more source or destination security groups. - :param pulumi.Input[int] to_port_range: The end of the port range for the TCP and UDP protocols, or an ICMP code number. - """ - if from_port_range is not None: - pulumi.set(__self__, "from_port_range", from_port_range) - if ip_protocol is not None: - pulumi.set(__self__, "ip_protocol", ip_protocol) - if ip_ranges is not None: - pulumi.set(__self__, "ip_ranges", ip_ranges) - if security_groups_members is not None: - pulumi.set(__self__, "security_groups_members", security_groups_members) - if to_port_range is not None: - pulumi.set(__self__, "to_port_range", to_port_range) - - @property - @pulumi.getter(name="fromPortRange") - def from_port_range(self) -> Optional[pulumi.Input[int]]: - """ - The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - """ - return pulumi.get(self, "from_port_range") - - @from_port_range.setter - def from_port_range(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "from_port_range", value) - - @property - @pulumi.getter(name="ipProtocol") - def ip_protocol(self) -> Optional[pulumi.Input[str]]: - """ - The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - """ - return pulumi.get(self, "ip_protocol") - - @ip_protocol.setter - def ip_protocol(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ip_protocol", value) - - @property - @pulumi.getter(name="ipRanges") - def ip_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - """ - return pulumi.get(self, "ip_ranges") - - @ip_ranges.setter - def ip_ranges(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "ip_ranges", value) - - @property - @pulumi.getter(name="securityGroupsMembers") - def security_groups_members(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, Any]]]]]: - """ - Information about one or more source or destination security groups. - """ - return pulumi.get(self, "security_groups_members") - - @security_groups_members.setter - def security_groups_members(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, Any]]]]]): - pulumi.set(self, "security_groups_members", value) - - @property - @pulumi.getter(name="toPortRange") - def to_port_range(self) -> Optional[pulumi.Input[int]]: - """ - The end of the port range for the TCP and UDP protocols, or an ICMP code number. - """ - return pulumi.get(self, "to_port_range") - - @to_port_range.setter - def to_port_range(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "to_port_range", value) - - -@pulumi.input_type -class SecurityGroupRuleRuleArgs: - def __init__(__self__, *, - from_port_range: Optional[pulumi.Input[int]] = None, - ip_protocol: Optional[pulumi.Input[str]] = None, - ip_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - security_groups_members: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityGroupRuleRuleSecurityGroupsMemberArgs']]]] = None, - service_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - to_port_range: Optional[pulumi.Input[int]] = None): - """ - :param pulumi.Input[int] from_port_range: The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - :param pulumi.Input[str] ip_protocol: The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - :param pulumi.Input[Sequence[pulumi.Input[str]]] ip_ranges: One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - :param pulumi.Input[Sequence[pulumi.Input['SecurityGroupRuleRuleSecurityGroupsMemberArgs']]] security_groups_members: Information about one or more source or destination security groups. - :param pulumi.Input[Sequence[pulumi.Input[str]]] service_ids: One or more service IDs to allow traffic from a Net to access the corresponding OUTSCALE services. For more information, see [ReadNetAccessPointServices](https://docs.outscale.com/api#readnetaccesspointservices). - :param pulumi.Input[int] to_port_range: The end of the port range for the TCP and UDP protocols, or an ICMP code number. If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - """ - if from_port_range is not None: - pulumi.set(__self__, "from_port_range", from_port_range) - if ip_protocol is not None: - pulumi.set(__self__, "ip_protocol", ip_protocol) - if ip_ranges is not None: - pulumi.set(__self__, "ip_ranges", ip_ranges) - if security_groups_members is not None: - pulumi.set(__self__, "security_groups_members", security_groups_members) - if service_ids is not None: - pulumi.set(__self__, "service_ids", service_ids) - if to_port_range is not None: - pulumi.set(__self__, "to_port_range", to_port_range) - - @property - @pulumi.getter(name="fromPortRange") - def from_port_range(self) -> Optional[pulumi.Input[int]]: - """ - The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - """ - return pulumi.get(self, "from_port_range") - - @from_port_range.setter - def from_port_range(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "from_port_range", value) - - @property - @pulumi.getter(name="ipProtocol") - def ip_protocol(self) -> Optional[pulumi.Input[str]]: - """ - The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - """ - return pulumi.get(self, "ip_protocol") - - @ip_protocol.setter - def ip_protocol(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ip_protocol", value) - - @property - @pulumi.getter(name="ipRanges") - def ip_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - """ - return pulumi.get(self, "ip_ranges") - - @ip_ranges.setter - def ip_ranges(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "ip_ranges", value) - - @property - @pulumi.getter(name="securityGroupsMembers") - def security_groups_members(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SecurityGroupRuleRuleSecurityGroupsMemberArgs']]]]: - """ - Information about one or more source or destination security groups. - """ - return pulumi.get(self, "security_groups_members") - - @security_groups_members.setter - def security_groups_members(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityGroupRuleRuleSecurityGroupsMemberArgs']]]]): - pulumi.set(self, "security_groups_members", value) - - @property - @pulumi.getter(name="serviceIds") - def service_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - One or more service IDs to allow traffic from a Net to access the corresponding OUTSCALE services. For more information, see [ReadNetAccessPointServices](https://docs.outscale.com/api#readnetaccesspointservices). - """ - return pulumi.get(self, "service_ids") - - @service_ids.setter - def service_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "service_ids", value) - - @property - @pulumi.getter(name="toPortRange") - def to_port_range(self) -> Optional[pulumi.Input[int]]: - """ - The end of the port range for the TCP and UDP protocols, or an ICMP code number. If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - """ - return pulumi.get(self, "to_port_range") - - @to_port_range.setter - def to_port_range(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "to_port_range", value) - - -@pulumi.input_type -class SecurityGroupRuleRuleSecurityGroupsMemberArgs: - def __init__(__self__, *, - account_id: Optional[pulumi.Input[str]] = None, - security_group_id: Optional[pulumi.Input[str]] = None, - security_group_name: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] account_id: The account ID that owns the source or destination security group. - :param pulumi.Input[str] security_group_id: The ID of the security group for which you want to create a rule. - :param pulumi.Input[str] security_group_name: (Public Cloud only) The name of a source or destination security group that you want to link to the security group of the rule. - """ - if account_id is not None: - pulumi.set(__self__, "account_id", account_id) - if security_group_id is not None: - pulumi.set(__self__, "security_group_id", security_group_id) - if security_group_name is not None: - pulumi.set(__self__, "security_group_name", security_group_name) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> Optional[pulumi.Input[str]]: - """ - The account ID that owns the source or destination security group. - """ - return pulumi.get(self, "account_id") - - @account_id.setter - def account_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "account_id", value) - - @property - @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the security group for which you want to create a rule. - """ - return pulumi.get(self, "security_group_id") - - @security_group_id.setter - def security_group_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "security_group_id", value) - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> Optional[pulumi.Input[str]]: - """ - (Public Cloud only) The name of a source or destination security group that you want to link to the security group of the rule. - """ - return pulumi.get(self, "security_group_name") - - @security_group_name.setter - def security_group_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "security_group_name", value) - - -@pulumi.input_type -class SecurityGroupTagArgs: - def __init__(__self__, *, - key: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] key: The key of the tag, with a minimum of 1 character. - :param pulumi.Input[str] value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) - - @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) - - -@pulumi.input_type -class SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs: - def __init__(__self__, *, - account_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - global_permission: Optional[pulumi.Input[bool]] = None): - """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] account_ids: The account ID of one or more users from whom you want to remove permissions. - :param pulumi.Input[bool] global_permission: If true, the resource is public. If false, the resource is private. - """ - if account_ids is not None: - pulumi.set(__self__, "account_ids", account_ids) - if global_permission is not None: - pulumi.set(__self__, "global_permission", global_permission) - - @property - @pulumi.getter(name="accountIds") - def account_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - The account ID of one or more users from whom you want to remove permissions. - """ - return pulumi.get(self, "account_ids") - - @account_ids.setter - def account_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "account_ids", value) - - @property - @pulumi.getter(name="globalPermission") - def global_permission(self) -> Optional[pulumi.Input[bool]]: - """ - If true, the resource is public. If false, the resource is private. - """ - return pulumi.get(self, "global_permission") - - @global_permission.setter - def global_permission(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "global_permission", value) - - -@pulumi.input_type -class SnapshotAttributesPermissionsToCreateVolumeRemovalArgs: - def __init__(__self__, *, - account_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - global_permission: Optional[pulumi.Input[bool]] = None): - """ - :param pulumi.Input[Sequence[pulumi.Input[str]]] account_ids: The account ID of one or more users from whom you want to remove permissions. - :param pulumi.Input[bool] global_permission: If true, the resource is public. If false, the resource is private. - """ - if account_ids is not None: - pulumi.set(__self__, "account_ids", account_ids) - if global_permission is not None: - pulumi.set(__self__, "global_permission", global_permission) - - @property - @pulumi.getter(name="accountIds") - def account_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - The account ID of one or more users from whom you want to remove permissions. - """ - return pulumi.get(self, "account_ids") - - @account_ids.setter - def account_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "account_ids", value) - - @property - @pulumi.getter(name="globalPermission") - def global_permission(self) -> Optional[pulumi.Input[bool]]: - """ - If true, the resource is public. If false, the resource is private. - """ - return pulumi.get(self, "global_permission") - - @global_permission.setter - def global_permission(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "global_permission", value) - - -@pulumi.input_type -class SnapshotExportTaskOsuExportArgs: - def __init__(__self__, *, - disk_image_format: pulumi.Input[str], - osu_bucket: pulumi.Input[str], - osu_api_keys: Optional[pulumi.Input[Sequence[pulumi.Input['SnapshotExportTaskOsuExportOsuApiKeyArgs']]]] = None, - osu_prefix: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] disk_image_format: The format of the export disk (`qcow2` \\| `raw`). - :param pulumi.Input[str] osu_bucket: The name of the OOS bucket where you want to export the object. - :param pulumi.Input[Sequence[pulumi.Input['SnapshotExportTaskOsuExportOsuApiKeyArgs']]] osu_api_keys: Information about the OOS API key. - :param pulumi.Input[str] osu_prefix: The prefix for the key of the OOS object. - """ - pulumi.set(__self__, "disk_image_format", disk_image_format) - pulumi.set(__self__, "osu_bucket", osu_bucket) - if osu_api_keys is not None: - pulumi.set(__self__, "osu_api_keys", osu_api_keys) - if osu_prefix is not None: - pulumi.set(__self__, "osu_prefix", osu_prefix) - - @property - @pulumi.getter(name="diskImageFormat") - def disk_image_format(self) -> pulumi.Input[str]: - """ - The format of the export disk (`qcow2` \\| `raw`). - """ - return pulumi.get(self, "disk_image_format") - - @disk_image_format.setter - def disk_image_format(self, value: pulumi.Input[str]): - pulumi.set(self, "disk_image_format", value) - - @property - @pulumi.getter(name="osuBucket") - def osu_bucket(self) -> pulumi.Input[str]: - """ - The name of the OOS bucket where you want to export the object. - """ - return pulumi.get(self, "osu_bucket") - - @osu_bucket.setter - def osu_bucket(self, value: pulumi.Input[str]): - pulumi.set(self, "osu_bucket", value) - - @property - @pulumi.getter(name="osuApiKeys") - def osu_api_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SnapshotExportTaskOsuExportOsuApiKeyArgs']]]]: - """ - Information about the OOS API key. - """ - return pulumi.get(self, "osu_api_keys") - - @osu_api_keys.setter - def osu_api_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SnapshotExportTaskOsuExportOsuApiKeyArgs']]]]): - pulumi.set(self, "osu_api_keys", value) - - @property - @pulumi.getter(name="osuPrefix") - def osu_prefix(self) -> Optional[pulumi.Input[str]]: - """ - The prefix for the key of the OOS object. - """ - return pulumi.get(self, "osu_prefix") - - @osu_prefix.setter - def osu_prefix(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "osu_prefix", value) - - -@pulumi.input_type -class SnapshotExportTaskOsuExportOsuApiKeyArgs: - def __init__(__self__, *, - api_key_id: pulumi.Input[str], - secret_key: pulumi.Input[str]): - """ - :param pulumi.Input[str] api_key_id: The API key of the OOS account that enables you to access the bucket. - :param pulumi.Input[str] secret_key: The secret key of the OOS account that enables you to access the bucket. - """ - pulumi.set(__self__, "api_key_id", api_key_id) - pulumi.set(__self__, "secret_key", secret_key) - - @property - @pulumi.getter(name="apiKeyId") - def api_key_id(self) -> pulumi.Input[str]: - """ - The API key of the OOS account that enables you to access the bucket. - """ - return pulumi.get(self, "api_key_id") - - @api_key_id.setter - def api_key_id(self, value: pulumi.Input[str]): - pulumi.set(self, "api_key_id", value) - - @property - @pulumi.getter(name="secretKey") - def secret_key(self) -> pulumi.Input[str]: - """ - The secret key of the OOS account that enables you to access the bucket. - """ - return pulumi.get(self, "secret_key") - - @secret_key.setter - def secret_key(self, value: pulumi.Input[str]): - pulumi.set(self, "secret_key", value) - - -@pulumi.input_type -class SnapshotExportTaskTagArgs: - def __init__(__self__, *, - key: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] key: The key of the tag, with a minimum of 1 character. - :param pulumi.Input[str] value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) - - @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) - - -@pulumi.input_type -class SnapshotPermissionsToCreateVolumeArgs: - def __init__(__self__, *, - account_id: Optional[pulumi.Input[str]] = None, - global_permission: Optional[pulumi.Input[bool]] = None): - """ - :param pulumi.Input[str] account_id: The account ID of the owner of the snapshot. - :param pulumi.Input[bool] global_permission: A global permission for all accounts.
- (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).
- (Response) If true, the resource is public. If false, the resource is private. - """ - if account_id is not None: - pulumi.set(__self__, "account_id", account_id) - if global_permission is not None: - pulumi.set(__self__, "global_permission", global_permission) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> Optional[pulumi.Input[str]]: - """ - The account ID of the owner of the snapshot. - """ - return pulumi.get(self, "account_id") - - @account_id.setter - def account_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "account_id", value) - - @property - @pulumi.getter(name="globalPermission") - def global_permission(self) -> Optional[pulumi.Input[bool]]: - """ - A global permission for all accounts.
- (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).
- (Response) If true, the resource is public. If false, the resource is private. - """ - return pulumi.get(self, "global_permission") - - @global_permission.setter - def global_permission(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "global_permission", value) - - -@pulumi.input_type -class SnapshotTagArgs: - def __init__(__self__, *, - key: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] key: The key of the tag, with a minimum of 1 character. - :param pulumi.Input[str] value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) - - @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) - - -@pulumi.input_type -class SubnetTagArgs: - def __init__(__self__, *, - key: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] key: The key of the tag, with a minimum of 1 character. - :param pulumi.Input[str] value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) - - @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) - - -@pulumi.input_type -class TagTagArgs: - def __init__(__self__, *, - key: Optional[pulumi.Input[str]] = None, - resource_id: Optional[pulumi.Input[str]] = None, - resource_type: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None): - if key is not None: - pulumi.set(__self__, "key", key) - if resource_id is not None: - pulumi.set(__self__, "resource_id", resource_id) - if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "key") - - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) - - @property - @pulumi.getter(name="resourceId") - def resource_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "resource_id") - - @resource_id.setter - def resource_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "resource_id", value) - - @property - @pulumi.getter(name="resourceType") - def resource_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "resource_type") - - @resource_type.setter - def resource_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "resource_type", value) - - @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "value") - - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) - - -@pulumi.input_type -class VirtualGatewayLinkNetToVirtualGatewayLinkArgs: - def __init__(__self__, *, - net_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] net_id: The ID of the Net to which you want to attach the virtual gateway. - :param pulumi.Input[str] state: The state of the attachment (`attaching` \\| `attached` \\| `detaching` \\| `detached`). - """ - if net_id is not None: - pulumi.set(__self__, "net_id", net_id) - if state is not None: - pulumi.set(__self__, "state", state) - - @property - @pulumi.getter(name="netId") - def net_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Net to which you want to attach the virtual gateway. - """ - return pulumi.get(self, "net_id") - - @net_id.setter - def net_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "net_id", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - The state of the attachment (`attaching` \\| `attached` \\| `detaching` \\| `detached`). - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - -@pulumi.input_type -class VirtualGatewayNetToVirtualGatewayLinkArgs: - def __init__(__self__, *, - net_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] net_id: The ID of the Net to which the virtual gateway is attached. - :param pulumi.Input[str] state: The state of the virtual gateway (`pending` \\| `available` \\| `deleting` \\| `deleted`). - """ - if net_id is not None: - pulumi.set(__self__, "net_id", net_id) - if state is not None: - pulumi.set(__self__, "state", state) - - @property - @pulumi.getter(name="netId") - def net_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Net to which the virtual gateway is attached. - """ - return pulumi.get(self, "net_id") - - @net_id.setter - def net_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "net_id", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - The state of the virtual gateway (`pending` \\| `available` \\| `deleting` \\| `deleted`). - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - -@pulumi.input_type -class VirtualGatewayTagArgs: - def __init__(__self__, *, - key: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] key: The key of the tag, with a minimum of 1 character. - :param pulumi.Input[str] value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) - - @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) - - -@pulumi.input_type -class VmBlockDeviceMappingArgs: - def __init__(__self__, *, - bsu: Optional[pulumi.Input['VmBlockDeviceMappingBsuArgs']] = None, - device_name: Optional[pulumi.Input[str]] = None, - no_device: Optional[pulumi.Input[str]] = None, - virtual_device_name: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input['VmBlockDeviceMappingBsuArgs'] bsu: Information about the BSU volume to create. - :param pulumi.Input[str] device_name: The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - :param pulumi.Input[str] no_device: Removes the device which is included in the block device mapping of the OMI. - :param pulumi.Input[str] virtual_device_name: The name of the virtual device (`ephemeralN`). - """ - if bsu is not None: - pulumi.set(__self__, "bsu", bsu) - if device_name is not None: - pulumi.set(__self__, "device_name", device_name) - if no_device is not None: - pulumi.set(__self__, "no_device", no_device) - if virtual_device_name is not None: - pulumi.set(__self__, "virtual_device_name", virtual_device_name) - - @property - @pulumi.getter - def bsu(self) -> Optional[pulumi.Input['VmBlockDeviceMappingBsuArgs']]: - """ - Information about the BSU volume to create. - """ - return pulumi.get(self, "bsu") - - @bsu.setter - def bsu(self, value: Optional[pulumi.Input['VmBlockDeviceMappingBsuArgs']]): - pulumi.set(self, "bsu", value) - - @property - @pulumi.getter(name="deviceName") - def device_name(self) -> Optional[pulumi.Input[str]]: - """ - The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - """ - return pulumi.get(self, "device_name") - - @device_name.setter - def device_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "device_name", value) - - @property - @pulumi.getter(name="noDevice") - def no_device(self) -> Optional[pulumi.Input[str]]: - """ - Removes the device which is included in the block device mapping of the OMI. - """ - return pulumi.get(self, "no_device") - - @no_device.setter - def no_device(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "no_device", value) - - @property - @pulumi.getter(name="virtualDeviceName") - def virtual_device_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the virtual device (`ephemeralN`). - """ - return pulumi.get(self, "virtual_device_name") - - @virtual_device_name.setter - def virtual_device_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "virtual_device_name", value) - - -@pulumi.input_type -class VmBlockDeviceMappingBsuArgs: - def __init__(__self__, *, - delete_on_vm_deletion: Optional[pulumi.Input[bool]] = None, - iops: Optional[pulumi.Input[int]] = None, - snapshot_id: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['VmBlockDeviceMappingBsuTagArgs']]]] = None, - volume_size: Optional[pulumi.Input[int]] = None, - volume_type: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[bool] delete_on_vm_deletion: If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - :param pulumi.Input[int] iops: The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - :param pulumi.Input[str] snapshot_id: The ID of the snapshot used to create the volume. - :param pulumi.Input[Sequence[pulumi.Input['VmBlockDeviceMappingBsuTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - :param pulumi.Input[int] volume_size: The size of the volume, in gibibytes (GiB).
- If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.
- If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. - :param pulumi.Input[str] volume_type: The type of the volume (`standard` \\| `io1` \\| `gp2`). If not specified in the request, a `standard` volume is created.
- For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - """ - if delete_on_vm_deletion is not None: - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - if iops is not None: - pulumi.set(__self__, "iops", iops) - if snapshot_id is not None: - pulumi.set(__self__, "snapshot_id", snapshot_id) - if tags is not None: - pulumi.set(__self__, "tags", tags) - if volume_size is not None: - pulumi.set(__self__, "volume_size", volume_size) - if volume_type is not None: - pulumi.set(__self__, "volume_type", volume_type) - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> Optional[pulumi.Input[bool]]: - """ - If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @delete_on_vm_deletion.setter - def delete_on_vm_deletion(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "delete_on_vm_deletion", value) - - @property - @pulumi.getter - def iops(self) -> Optional[pulumi.Input[int]]: - """ - The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - """ - return pulumi.get(self, "iops") - - @iops.setter - def iops(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "iops", value) - - @property - @pulumi.getter(name="snapshotId") - def snapshot_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the snapshot used to create the volume. - """ - return pulumi.get(self, "snapshot_id") - - @snapshot_id.setter - def snapshot_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "snapshot_id", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VmBlockDeviceMappingBsuTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VmBlockDeviceMappingBsuTagArgs']]]]): - pulumi.set(self, "tags", value) - - @property - @pulumi.getter(name="volumeSize") - def volume_size(self) -> Optional[pulumi.Input[int]]: - """ - The size of the volume, in gibibytes (GiB).
- If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.
- If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. - """ - return pulumi.get(self, "volume_size") - - @volume_size.setter - def volume_size(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "volume_size", value) - - @property - @pulumi.getter(name="volumeType") - def volume_type(self) -> Optional[pulumi.Input[str]]: - """ - The type of the volume (`standard` \\| `io1` \\| `gp2`). If not specified in the request, a `standard` volume is created.
- For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - """ - return pulumi.get(self, "volume_type") - - @volume_type.setter - def volume_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "volume_type", value) - - -@pulumi.input_type -class VmBlockDeviceMappingBsuTagArgs: - def __init__(__self__, *, - key: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] key: The key of the tag, with a minimum of 1 character. - :param pulumi.Input[str] value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) - - @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) - - -@pulumi.input_type -class VmBlockDeviceMappingsCreatedArgs: - def __init__(__self__, *, - bsus: Optional[pulumi.Input[Sequence[pulumi.Input['VmBlockDeviceMappingsCreatedBsusArgs']]]] = None, - device_name: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[Sequence[pulumi.Input['VmBlockDeviceMappingsCreatedBsusArgs']]] bsus: Information about the BSU volume to create. - :param pulumi.Input[str] device_name: The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - """ - if bsus is not None: - pulumi.set(__self__, "bsus", bsus) - if device_name is not None: - pulumi.set(__self__, "device_name", device_name) - - @property - @pulumi.getter - def bsus(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VmBlockDeviceMappingsCreatedBsusArgs']]]]: - """ - Information about the BSU volume to create. - """ - return pulumi.get(self, "bsus") - - @bsus.setter - def bsus(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VmBlockDeviceMappingsCreatedBsusArgs']]]]): - pulumi.set(self, "bsus", value) - - @property - @pulumi.getter(name="deviceName") - def device_name(self) -> Optional[pulumi.Input[str]]: - """ - The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - """ - return pulumi.get(self, "device_name") - - @device_name.setter - def device_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "device_name", value) - - -@pulumi.input_type -class VmBlockDeviceMappingsCreatedBsusArgs: - def __init__(__self__, *, - delete_on_vm_deletion: Optional[pulumi.Input[bool]] = None, - link_date: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['VmBlockDeviceMappingsCreatedBsusTagArgs']]]] = None, - volume_id: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[bool] delete_on_vm_deletion: If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - :param pulumi.Input[str] link_date: The date and time of attachment of the volume to the VM, in ISO 8601 date-time format. - :param pulumi.Input[str] state: The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - :param pulumi.Input[Sequence[pulumi.Input['VmBlockDeviceMappingsCreatedBsusTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - :param pulumi.Input[str] volume_id: The ID of the volume. - """ - if delete_on_vm_deletion is not None: - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - if link_date is not None: - pulumi.set(__self__, "link_date", link_date) - if state is not None: - pulumi.set(__self__, "state", state) - if tags is not None: - pulumi.set(__self__, "tags", tags) - if volume_id is not None: - pulumi.set(__self__, "volume_id", volume_id) - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> Optional[pulumi.Input[bool]]: - """ - If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @delete_on_vm_deletion.setter - def delete_on_vm_deletion(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "delete_on_vm_deletion", value) - - @property - @pulumi.getter(name="linkDate") - def link_date(self) -> Optional[pulumi.Input[str]]: - """ - The date and time of attachment of the volume to the VM, in ISO 8601 date-time format. - """ - return pulumi.get(self, "link_date") - - @link_date.setter - def link_date(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "link_date", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VmBlockDeviceMappingsCreatedBsusTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VmBlockDeviceMappingsCreatedBsusTagArgs']]]]): - pulumi.set(self, "tags", value) - - @property - @pulumi.getter(name="volumeId") - def volume_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the volume. - """ - return pulumi.get(self, "volume_id") - - @volume_id.setter - def volume_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "volume_id", value) - - -@pulumi.input_type -class VmBlockDeviceMappingsCreatedBsusTagArgs: - def __init__(__self__, *, - key: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] key: The key of the tag, with a minimum of 1 character. - :param pulumi.Input[str] value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) - - @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) - - -@pulumi.input_type -class VmNicArgs: - def __init__(__self__, *, - device_number: pulumi.Input[int], - account_id: Optional[pulumi.Input[str]] = None, - delete_on_vm_deletion: Optional[pulumi.Input[bool]] = None, - description: Optional[pulumi.Input[str]] = None, - is_source_dest_checked: Optional[pulumi.Input[bool]] = None, - link_nics: Optional[pulumi.Input[Sequence[pulumi.Input['VmNicLinkNicArgs']]]] = None, - link_public_ips: Optional[pulumi.Input[Sequence[pulumi.Input['VmNicLinkPublicIpArgs']]]] = None, - mac_address: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None, - nic_id: Optional[pulumi.Input[str]] = None, - private_dns_name: Optional[pulumi.Input[str]] = None, - private_ips: Optional[pulumi.Input[Sequence[pulumi.Input['VmNicPrivateIpArgs']]]] = None, - secondary_private_ip_count: Optional[pulumi.Input[int]] = None, - security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - security_groups: Optional[pulumi.Input[Sequence[pulumi.Input['VmNicSecurityGroupArgs']]]] = None, - state: Optional[pulumi.Input[str]] = None, - subnet_id: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[int] device_number: The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. - :param pulumi.Input[str] account_id: The account ID of the owner of the NIC. - :param pulumi.Input[bool] delete_on_vm_deletion: If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - :param pulumi.Input[str] description: The description of the NIC, if you are creating a NIC when creating the VM. - :param pulumi.Input[bool] is_source_dest_checked: (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - :param pulumi.Input[Sequence[pulumi.Input['VmNicLinkNicArgs']]] link_nics: Information about the network interface card (NIC). - :param pulumi.Input[Sequence[pulumi.Input['VmNicLinkPublicIpArgs']]] link_public_ips: Information about the public IP associated with the NIC. - :param pulumi.Input[str] mac_address: The Media Access Control (MAC) address of the NIC. - :param pulumi.Input[str] net_id: The ID of the Net for the NIC. - :param pulumi.Input[str] nic_id: The ID of the NIC, if you are attaching an existing NIC when creating a VM. - :param pulumi.Input[str] private_dns_name: The name of the private DNS. - :param pulumi.Input[Sequence[pulumi.Input['VmNicPrivateIpArgs']]] private_ips: One or more private IPs of the VM. - :param pulumi.Input[int] secondary_private_ip_count: The number of secondary private IPs, if you create a NIC when creating a VM. This parameter cannot be specified if you specified more than one private IP in the `private_ips` parameter. - :param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: One or more IDs of security group for the VMs. - :param pulumi.Input[Sequence[pulumi.Input['VmNicSecurityGroupArgs']]] security_groups: One or more security groups associated with the VM. - :param pulumi.Input[str] state: The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - :param pulumi.Input[str] subnet_id: The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `nics` parameter. - """ - pulumi.set(__self__, "device_number", device_number) - if account_id is not None: - pulumi.set(__self__, "account_id", account_id) - if delete_on_vm_deletion is not None: - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - if description is not None: - pulumi.set(__self__, "description", description) - if is_source_dest_checked is not None: - pulumi.set(__self__, "is_source_dest_checked", is_source_dest_checked) - if link_nics is not None: - pulumi.set(__self__, "link_nics", link_nics) - if link_public_ips is not None: - pulumi.set(__self__, "link_public_ips", link_public_ips) - if mac_address is not None: - pulumi.set(__self__, "mac_address", mac_address) - if net_id is not None: - pulumi.set(__self__, "net_id", net_id) - if nic_id is not None: - pulumi.set(__self__, "nic_id", nic_id) - if private_dns_name is not None: - pulumi.set(__self__, "private_dns_name", private_dns_name) - if private_ips is not None: - pulumi.set(__self__, "private_ips", private_ips) - if secondary_private_ip_count is not None: - pulumi.set(__self__, "secondary_private_ip_count", secondary_private_ip_count) - if security_group_ids is not None: - pulumi.set(__self__, "security_group_ids", security_group_ids) - if security_groups is not None: - pulumi.set(__self__, "security_groups", security_groups) - if state is not None: - pulumi.set(__self__, "state", state) - if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) - - @property - @pulumi.getter(name="deviceNumber") - def device_number(self) -> pulumi.Input[int]: - """ - The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. - """ - return pulumi.get(self, "device_number") - - @device_number.setter - def device_number(self, value: pulumi.Input[int]): - pulumi.set(self, "device_number", value) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> Optional[pulumi.Input[str]]: - """ - The account ID of the owner of the NIC. - """ - return pulumi.get(self, "account_id") - - @account_id.setter - def account_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "account_id", value) - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> Optional[pulumi.Input[bool]]: - """ - If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @delete_on_vm_deletion.setter - def delete_on_vm_deletion(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "delete_on_vm_deletion", value) - - @property - @pulumi.getter - def description(self) -> Optional[pulumi.Input[str]]: - """ - The description of the NIC, if you are creating a NIC when creating the VM. - """ - return pulumi.get(self, "description") - - @description.setter - def description(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "description", value) - - @property - @pulumi.getter(name="isSourceDestChecked") - def is_source_dest_checked(self) -> Optional[pulumi.Input[bool]]: - """ - (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - """ - return pulumi.get(self, "is_source_dest_checked") - - @is_source_dest_checked.setter - def is_source_dest_checked(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "is_source_dest_checked", value) - - @property - @pulumi.getter(name="linkNics") - def link_nics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VmNicLinkNicArgs']]]]: - """ - Information about the network interface card (NIC). - """ - return pulumi.get(self, "link_nics") - - @link_nics.setter - def link_nics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VmNicLinkNicArgs']]]]): - pulumi.set(self, "link_nics", value) - - @property - @pulumi.getter(name="linkPublicIps") - def link_public_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VmNicLinkPublicIpArgs']]]]: - """ - Information about the public IP associated with the NIC. - """ - return pulumi.get(self, "link_public_ips") - - @link_public_ips.setter - def link_public_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VmNicLinkPublicIpArgs']]]]): - pulumi.set(self, "link_public_ips", value) - - @property - @pulumi.getter(name="macAddress") - def mac_address(self) -> Optional[pulumi.Input[str]]: - """ - The Media Access Control (MAC) address of the NIC. - """ - return pulumi.get(self, "mac_address") - - @mac_address.setter - def mac_address(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "mac_address", value) - - @property - @pulumi.getter(name="netId") - def net_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Net for the NIC. - """ - return pulumi.get(self, "net_id") - - @net_id.setter - def net_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "net_id", value) - - @property - @pulumi.getter(name="nicId") - def nic_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the NIC, if you are attaching an existing NIC when creating a VM. - """ - return pulumi.get(self, "nic_id") - - @nic_id.setter - def nic_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "nic_id", value) - - @property - @pulumi.getter(name="privateDnsName") - def private_dns_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the private DNS. - """ - return pulumi.get(self, "private_dns_name") - - @private_dns_name.setter - def private_dns_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "private_dns_name", value) - - @property - @pulumi.getter(name="privateIps") - def private_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VmNicPrivateIpArgs']]]]: - """ - One or more private IPs of the VM. - """ - return pulumi.get(self, "private_ips") - - @private_ips.setter - def private_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VmNicPrivateIpArgs']]]]): - pulumi.set(self, "private_ips", value) - - @property - @pulumi.getter(name="secondaryPrivateIpCount") - def secondary_private_ip_count(self) -> Optional[pulumi.Input[int]]: - """ - The number of secondary private IPs, if you create a NIC when creating a VM. This parameter cannot be specified if you specified more than one private IP in the `private_ips` parameter. - """ - return pulumi.get(self, "secondary_private_ip_count") - - @secondary_private_ip_count.setter - def secondary_private_ip_count(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "secondary_private_ip_count", value) - - @property - @pulumi.getter(name="securityGroupIds") - def security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - One or more IDs of security group for the VMs. - """ - return pulumi.get(self, "security_group_ids") - - @security_group_ids.setter - def security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "security_group_ids", value) - - @property - @pulumi.getter(name="securityGroups") - def security_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VmNicSecurityGroupArgs']]]]: - """ - One or more security groups associated with the VM. - """ - return pulumi.get(self, "security_groups") - - @security_groups.setter - def security_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VmNicSecurityGroupArgs']]]]): - pulumi.set(self, "security_groups", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `nics` parameter. - """ - return pulumi.get(self, "subnet_id") - - @subnet_id.setter - def subnet_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "subnet_id", value) - - -@pulumi.input_type -class VmNicLinkNicArgs: - def __init__(__self__, *, - delete_on_vm_deletion: Optional[pulumi.Input[bool]] = None, - device_number: Optional[pulumi.Input[str]] = None, - link_nic_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[bool] delete_on_vm_deletion: If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - :param pulumi.Input[str] device_number: The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. - :param pulumi.Input[str] link_nic_id: The ID of the NIC to attach. - :param pulumi.Input[str] state: The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - """ - if delete_on_vm_deletion is not None: - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - if device_number is not None: - pulumi.set(__self__, "device_number", device_number) - if link_nic_id is not None: - pulumi.set(__self__, "link_nic_id", link_nic_id) - if state is not None: - pulumi.set(__self__, "state", state) - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> Optional[pulumi.Input[bool]]: - """ - If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @delete_on_vm_deletion.setter - def delete_on_vm_deletion(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "delete_on_vm_deletion", value) - - @property - @pulumi.getter(name="deviceNumber") - def device_number(self) -> Optional[pulumi.Input[str]]: - """ - The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. - """ - return pulumi.get(self, "device_number") - - @device_number.setter - def device_number(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "device_number", value) - - @property - @pulumi.getter(name="linkNicId") - def link_nic_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the NIC to attach. - """ - return pulumi.get(self, "link_nic_id") - - @link_nic_id.setter - def link_nic_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "link_nic_id", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - -@pulumi.input_type -class VmNicLinkPublicIpArgs: - def __init__(__self__, *, - public_dns_name: Optional[pulumi.Input[str]] = None, - public_ip: Optional[pulumi.Input[str]] = None, - public_ip_account_id: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] public_dns_name: The name of the public DNS. - :param pulumi.Input[str] public_ip: The public IP of the VM. - :param pulumi.Input[str] public_ip_account_id: The account ID of the owner of the public IP. - """ - if public_dns_name is not None: - pulumi.set(__self__, "public_dns_name", public_dns_name) - if public_ip is not None: - pulumi.set(__self__, "public_ip", public_ip) - if public_ip_account_id is not None: - pulumi.set(__self__, "public_ip_account_id", public_ip_account_id) - - @property - @pulumi.getter(name="publicDnsName") - def public_dns_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the public DNS. - """ - return pulumi.get(self, "public_dns_name") - - @public_dns_name.setter - def public_dns_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_dns_name", value) - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> Optional[pulumi.Input[str]]: - """ - The public IP of the VM. - """ - return pulumi.get(self, "public_ip") - - @public_ip.setter - def public_ip(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_ip", value) - - @property - @pulumi.getter(name="publicIpAccountId") - def public_ip_account_id(self) -> Optional[pulumi.Input[str]]: - """ - The account ID of the owner of the public IP. - """ - return pulumi.get(self, "public_ip_account_id") - - @public_ip_account_id.setter - def public_ip_account_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_ip_account_id", value) - - -@pulumi.input_type -class VmNicPrivateIpArgs: - def __init__(__self__, *, - is_primary: Optional[pulumi.Input[bool]] = None, - link_public_ips: Optional[pulumi.Input[Sequence[pulumi.Input['VmNicPrivateIpLinkPublicIpArgs']]]] = None, - private_dns_name: Optional[pulumi.Input[str]] = None, - private_ip: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[bool] is_primary: If true, the IP is the primary private IP of the NIC. - :param pulumi.Input[Sequence[pulumi.Input['VmNicPrivateIpLinkPublicIpArgs']]] link_public_ips: Information about the public IP associated with the NIC. - :param pulumi.Input[str] private_dns_name: The name of the private DNS. - :param pulumi.Input[str] private_ip: The private IP of the NIC. - """ - if is_primary is not None: - pulumi.set(__self__, "is_primary", is_primary) - if link_public_ips is not None: - pulumi.set(__self__, "link_public_ips", link_public_ips) - if private_dns_name is not None: - pulumi.set(__self__, "private_dns_name", private_dns_name) - if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) - - @property - @pulumi.getter(name="isPrimary") - def is_primary(self) -> Optional[pulumi.Input[bool]]: - """ - If true, the IP is the primary private IP of the NIC. - """ - return pulumi.get(self, "is_primary") - - @is_primary.setter - def is_primary(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "is_primary", value) - - @property - @pulumi.getter(name="linkPublicIps") - def link_public_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VmNicPrivateIpLinkPublicIpArgs']]]]: - """ - Information about the public IP associated with the NIC. - """ - return pulumi.get(self, "link_public_ips") - - @link_public_ips.setter - def link_public_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VmNicPrivateIpLinkPublicIpArgs']]]]): - pulumi.set(self, "link_public_ips", value) - - @property - @pulumi.getter(name="privateDnsName") - def private_dns_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the private DNS. - """ - return pulumi.get(self, "private_dns_name") - - @private_dns_name.setter - def private_dns_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "private_dns_name", value) - - @property - @pulumi.getter(name="privateIp") - def private_ip(self) -> Optional[pulumi.Input[str]]: - """ - The private IP of the NIC. - """ - return pulumi.get(self, "private_ip") - - @private_ip.setter - def private_ip(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "private_ip", value) - - -@pulumi.input_type -class VmNicPrivateIpLinkPublicIpArgs: - def __init__(__self__, *, - public_dns_name: Optional[pulumi.Input[str]] = None, - public_ip: Optional[pulumi.Input[str]] = None, - public_ip_account_id: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] public_dns_name: The name of the public DNS. - :param pulumi.Input[str] public_ip: The public IP of the VM. - :param pulumi.Input[str] public_ip_account_id: The account ID of the owner of the public IP. - """ - if public_dns_name is not None: - pulumi.set(__self__, "public_dns_name", public_dns_name) - if public_ip is not None: - pulumi.set(__self__, "public_ip", public_ip) - if public_ip_account_id is not None: - pulumi.set(__self__, "public_ip_account_id", public_ip_account_id) - - @property - @pulumi.getter(name="publicDnsName") - def public_dns_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the public DNS. - """ - return pulumi.get(self, "public_dns_name") - - @public_dns_name.setter - def public_dns_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_dns_name", value) - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> Optional[pulumi.Input[str]]: - """ - The public IP of the VM. - """ - return pulumi.get(self, "public_ip") - - @public_ip.setter - def public_ip(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_ip", value) - - @property - @pulumi.getter(name="publicIpAccountId") - def public_ip_account_id(self) -> Optional[pulumi.Input[str]]: - """ - The account ID of the owner of the public IP. - """ - return pulumi.get(self, "public_ip_account_id") - - @public_ip_account_id.setter - def public_ip_account_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_ip_account_id", value) - - -@pulumi.input_type -class VmNicSecurityGroupArgs: - def __init__(__self__, *, - security_group_id: Optional[pulumi.Input[str]] = None, - security_group_name: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] security_group_id: The ID of the security group. - :param pulumi.Input[str] security_group_name: The name of the security group. - """ - if security_group_id is not None: - pulumi.set(__self__, "security_group_id", security_group_id) - if security_group_name is not None: - pulumi.set(__self__, "security_group_name", security_group_name) - - @property - @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the security group. - """ - return pulumi.get(self, "security_group_id") - - @security_group_id.setter - def security_group_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "security_group_id", value) - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the security group. - """ - return pulumi.get(self, "security_group_name") - - @security_group_name.setter - def security_group_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "security_group_name", value) - - -@pulumi.input_type -class VmPrimaryNicArgs: - def __init__(__self__, *, - device_number: pulumi.Input[int], - account_id: Optional[pulumi.Input[str]] = None, - delete_on_vm_deletion: Optional[pulumi.Input[bool]] = None, - description: Optional[pulumi.Input[str]] = None, - is_source_dest_checked: Optional[pulumi.Input[bool]] = None, - link_nics: Optional[pulumi.Input[Sequence[pulumi.Input['VmPrimaryNicLinkNicArgs']]]] = None, - link_public_ips: Optional[pulumi.Input[Sequence[pulumi.Input['VmPrimaryNicLinkPublicIpArgs']]]] = None, - mac_address: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None, - nic_id: Optional[pulumi.Input[str]] = None, - private_dns_name: Optional[pulumi.Input[str]] = None, - private_ips: Optional[pulumi.Input[Sequence[pulumi.Input['VmPrimaryNicPrivateIpArgs']]]] = None, - secondary_private_ip_count: Optional[pulumi.Input[int]] = None, - security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - security_groups: Optional[pulumi.Input[Sequence[pulumi.Input['VmPrimaryNicSecurityGroupArgs']]]] = None, - state: Optional[pulumi.Input[str]] = None, - subnet_id: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[int] device_number: The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. - :param pulumi.Input[str] account_id: The account ID of the owner of the NIC. - :param pulumi.Input[bool] delete_on_vm_deletion: If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - :param pulumi.Input[str] description: The description of the NIC, if you are creating a NIC when creating the VM. - :param pulumi.Input[bool] is_source_dest_checked: (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - :param pulumi.Input[Sequence[pulumi.Input['VmPrimaryNicLinkNicArgs']]] link_nics: Information about the network interface card (NIC). - :param pulumi.Input[Sequence[pulumi.Input['VmPrimaryNicLinkPublicIpArgs']]] link_public_ips: Information about the public IP associated with the NIC. - :param pulumi.Input[str] mac_address: The Media Access Control (MAC) address of the NIC. - :param pulumi.Input[str] net_id: The ID of the Net for the NIC. - :param pulumi.Input[str] nic_id: The ID of the NIC, if you are attaching an existing NIC when creating a VM. - :param pulumi.Input[str] private_dns_name: The name of the private DNS. - :param pulumi.Input[Sequence[pulumi.Input['VmPrimaryNicPrivateIpArgs']]] private_ips: One or more private IPs of the VM. - :param pulumi.Input[int] secondary_private_ip_count: The number of secondary private IPs, if you create a NIC when creating a VM. This parameter cannot be specified if you specified more than one private IP in the `private_ips` parameter. - :param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: One or more IDs of security group for the VMs. - :param pulumi.Input[Sequence[pulumi.Input['VmPrimaryNicSecurityGroupArgs']]] security_groups: One or more security groups associated with the VM. - :param pulumi.Input[str] state: The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - :param pulumi.Input[str] subnet_id: The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `nics` parameter. - """ - pulumi.set(__self__, "device_number", device_number) - if account_id is not None: - pulumi.set(__self__, "account_id", account_id) - if delete_on_vm_deletion is not None: - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - if description is not None: - pulumi.set(__self__, "description", description) - if is_source_dest_checked is not None: - pulumi.set(__self__, "is_source_dest_checked", is_source_dest_checked) - if link_nics is not None: - pulumi.set(__self__, "link_nics", link_nics) - if link_public_ips is not None: - pulumi.set(__self__, "link_public_ips", link_public_ips) - if mac_address is not None: - pulumi.set(__self__, "mac_address", mac_address) - if net_id is not None: - pulumi.set(__self__, "net_id", net_id) - if nic_id is not None: - pulumi.set(__self__, "nic_id", nic_id) - if private_dns_name is not None: - pulumi.set(__self__, "private_dns_name", private_dns_name) - if private_ips is not None: - pulumi.set(__self__, "private_ips", private_ips) - if secondary_private_ip_count is not None: - pulumi.set(__self__, "secondary_private_ip_count", secondary_private_ip_count) - if security_group_ids is not None: - pulumi.set(__self__, "security_group_ids", security_group_ids) - if security_groups is not None: - pulumi.set(__self__, "security_groups", security_groups) - if state is not None: - pulumi.set(__self__, "state", state) - if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) - - @property - @pulumi.getter(name="deviceNumber") - def device_number(self) -> pulumi.Input[int]: - """ - The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. - """ - return pulumi.get(self, "device_number") - - @device_number.setter - def device_number(self, value: pulumi.Input[int]): - pulumi.set(self, "device_number", value) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> Optional[pulumi.Input[str]]: - """ - The account ID of the owner of the NIC. - """ - return pulumi.get(self, "account_id") - - @account_id.setter - def account_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "account_id", value) - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> Optional[pulumi.Input[bool]]: - """ - If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @delete_on_vm_deletion.setter - def delete_on_vm_deletion(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "delete_on_vm_deletion", value) - - @property - @pulumi.getter - def description(self) -> Optional[pulumi.Input[str]]: - """ - The description of the NIC, if you are creating a NIC when creating the VM. - """ - return pulumi.get(self, "description") - - @description.setter - def description(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "description", value) - - @property - @pulumi.getter(name="isSourceDestChecked") - def is_source_dest_checked(self) -> Optional[pulumi.Input[bool]]: - """ - (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - """ - return pulumi.get(self, "is_source_dest_checked") - - @is_source_dest_checked.setter - def is_source_dest_checked(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "is_source_dest_checked", value) - - @property - @pulumi.getter(name="linkNics") - def link_nics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VmPrimaryNicLinkNicArgs']]]]: - """ - Information about the network interface card (NIC). - """ - return pulumi.get(self, "link_nics") - - @link_nics.setter - def link_nics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VmPrimaryNicLinkNicArgs']]]]): - pulumi.set(self, "link_nics", value) - - @property - @pulumi.getter(name="linkPublicIps") - def link_public_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VmPrimaryNicLinkPublicIpArgs']]]]: - """ - Information about the public IP associated with the NIC. - """ - return pulumi.get(self, "link_public_ips") - - @link_public_ips.setter - def link_public_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VmPrimaryNicLinkPublicIpArgs']]]]): - pulumi.set(self, "link_public_ips", value) - - @property - @pulumi.getter(name="macAddress") - def mac_address(self) -> Optional[pulumi.Input[str]]: - """ - The Media Access Control (MAC) address of the NIC. - """ - return pulumi.get(self, "mac_address") - - @mac_address.setter - def mac_address(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "mac_address", value) - - @property - @pulumi.getter(name="netId") - def net_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Net for the NIC. - """ - return pulumi.get(self, "net_id") - - @net_id.setter - def net_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "net_id", value) - - @property - @pulumi.getter(name="nicId") - def nic_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the NIC, if you are attaching an existing NIC when creating a VM. - """ - return pulumi.get(self, "nic_id") - - @nic_id.setter - def nic_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "nic_id", value) - - @property - @pulumi.getter(name="privateDnsName") - def private_dns_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the private DNS. - """ - return pulumi.get(self, "private_dns_name") - - @private_dns_name.setter - def private_dns_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "private_dns_name", value) - - @property - @pulumi.getter(name="privateIps") - def private_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VmPrimaryNicPrivateIpArgs']]]]: - """ - One or more private IPs of the VM. - """ - return pulumi.get(self, "private_ips") - - @private_ips.setter - def private_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VmPrimaryNicPrivateIpArgs']]]]): - pulumi.set(self, "private_ips", value) - - @property - @pulumi.getter(name="secondaryPrivateIpCount") - def secondary_private_ip_count(self) -> Optional[pulumi.Input[int]]: - """ - The number of secondary private IPs, if you create a NIC when creating a VM. This parameter cannot be specified if you specified more than one private IP in the `private_ips` parameter. - """ - return pulumi.get(self, "secondary_private_ip_count") - - @secondary_private_ip_count.setter - def secondary_private_ip_count(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "secondary_private_ip_count", value) - - @property - @pulumi.getter(name="securityGroupIds") - def security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - One or more IDs of security group for the VMs. - """ - return pulumi.get(self, "security_group_ids") - - @security_group_ids.setter - def security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "security_group_ids", value) - - @property - @pulumi.getter(name="securityGroups") - def security_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VmPrimaryNicSecurityGroupArgs']]]]: - """ - One or more security groups associated with the VM. - """ - return pulumi.get(self, "security_groups") - - @security_groups.setter - def security_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VmPrimaryNicSecurityGroupArgs']]]]): - pulumi.set(self, "security_groups", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `nics` parameter. - """ - return pulumi.get(self, "subnet_id") - - @subnet_id.setter - def subnet_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "subnet_id", value) - - -@pulumi.input_type -class VmPrimaryNicLinkNicArgs: - def __init__(__self__, *, - delete_on_vm_deletion: Optional[pulumi.Input[bool]] = None, - device_number: Optional[pulumi.Input[str]] = None, - link_nic_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[bool] delete_on_vm_deletion: If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - :param pulumi.Input[str] device_number: The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. - :param pulumi.Input[str] link_nic_id: The ID of the NIC to attach. - :param pulumi.Input[str] state: The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - """ - if delete_on_vm_deletion is not None: - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - if device_number is not None: - pulumi.set(__self__, "device_number", device_number) - if link_nic_id is not None: - pulumi.set(__self__, "link_nic_id", link_nic_id) - if state is not None: - pulumi.set(__self__, "state", state) - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> Optional[pulumi.Input[bool]]: - """ - If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @delete_on_vm_deletion.setter - def delete_on_vm_deletion(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "delete_on_vm_deletion", value) - - @property - @pulumi.getter(name="deviceNumber") - def device_number(self) -> Optional[pulumi.Input[str]]: - """ - The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. - """ - return pulumi.get(self, "device_number") - - @device_number.setter - def device_number(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "device_number", value) - - @property - @pulumi.getter(name="linkNicId") - def link_nic_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the NIC to attach. - """ - return pulumi.get(self, "link_nic_id") - - @link_nic_id.setter - def link_nic_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "link_nic_id", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - -@pulumi.input_type -class VmPrimaryNicLinkPublicIpArgs: - def __init__(__self__, *, - public_dns_name: Optional[pulumi.Input[str]] = None, - public_ip: Optional[pulumi.Input[str]] = None, - public_ip_account_id: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] public_dns_name: The name of the public DNS. - :param pulumi.Input[str] public_ip: The public IP of the VM. - :param pulumi.Input[str] public_ip_account_id: The account ID of the owner of the public IP. - """ - if public_dns_name is not None: - pulumi.set(__self__, "public_dns_name", public_dns_name) - if public_ip is not None: - pulumi.set(__self__, "public_ip", public_ip) - if public_ip_account_id is not None: - pulumi.set(__self__, "public_ip_account_id", public_ip_account_id) - - @property - @pulumi.getter(name="publicDnsName") - def public_dns_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the public DNS. - """ - return pulumi.get(self, "public_dns_name") - - @public_dns_name.setter - def public_dns_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_dns_name", value) - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> Optional[pulumi.Input[str]]: - """ - The public IP of the VM. - """ - return pulumi.get(self, "public_ip") - - @public_ip.setter - def public_ip(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_ip", value) - - @property - @pulumi.getter(name="publicIpAccountId") - def public_ip_account_id(self) -> Optional[pulumi.Input[str]]: - """ - The account ID of the owner of the public IP. - """ - return pulumi.get(self, "public_ip_account_id") - - @public_ip_account_id.setter - def public_ip_account_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_ip_account_id", value) - - -@pulumi.input_type -class VmPrimaryNicPrivateIpArgs: - def __init__(__self__, *, - is_primary: Optional[pulumi.Input[bool]] = None, - link_public_ips: Optional[pulumi.Input[Sequence[pulumi.Input['VmPrimaryNicPrivateIpLinkPublicIpArgs']]]] = None, - private_dns_name: Optional[pulumi.Input[str]] = None, - private_ip: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[bool] is_primary: If true, the IP is the primary private IP of the NIC. - :param pulumi.Input[Sequence[pulumi.Input['VmPrimaryNicPrivateIpLinkPublicIpArgs']]] link_public_ips: Information about the public IP associated with the NIC. - :param pulumi.Input[str] private_dns_name: The name of the private DNS. - :param pulumi.Input[str] private_ip: The private IP of the NIC. - """ - if is_primary is not None: - pulumi.set(__self__, "is_primary", is_primary) - if link_public_ips is not None: - pulumi.set(__self__, "link_public_ips", link_public_ips) - if private_dns_name is not None: - pulumi.set(__self__, "private_dns_name", private_dns_name) - if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) - - @property - @pulumi.getter(name="isPrimary") - def is_primary(self) -> Optional[pulumi.Input[bool]]: - """ - If true, the IP is the primary private IP of the NIC. - """ - return pulumi.get(self, "is_primary") - - @is_primary.setter - def is_primary(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "is_primary", value) - - @property - @pulumi.getter(name="linkPublicIps") - def link_public_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VmPrimaryNicPrivateIpLinkPublicIpArgs']]]]: - """ - Information about the public IP associated with the NIC. - """ - return pulumi.get(self, "link_public_ips") - - @link_public_ips.setter - def link_public_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VmPrimaryNicPrivateIpLinkPublicIpArgs']]]]): - pulumi.set(self, "link_public_ips", value) - - @property - @pulumi.getter(name="privateDnsName") - def private_dns_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the private DNS. - """ - return pulumi.get(self, "private_dns_name") - - @private_dns_name.setter - def private_dns_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "private_dns_name", value) - - @property - @pulumi.getter(name="privateIp") - def private_ip(self) -> Optional[pulumi.Input[str]]: - """ - The private IP of the NIC. - """ - return pulumi.get(self, "private_ip") - - @private_ip.setter - def private_ip(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "private_ip", value) - - -@pulumi.input_type -class VmPrimaryNicPrivateIpLinkPublicIpArgs: - def __init__(__self__, *, - public_dns_name: Optional[pulumi.Input[str]] = None, - public_ip: Optional[pulumi.Input[str]] = None, - public_ip_account_id: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] public_dns_name: The name of the public DNS. - :param pulumi.Input[str] public_ip: The public IP of the VM. - :param pulumi.Input[str] public_ip_account_id: The account ID of the owner of the public IP. - """ - if public_dns_name is not None: - pulumi.set(__self__, "public_dns_name", public_dns_name) - if public_ip is not None: - pulumi.set(__self__, "public_ip", public_ip) - if public_ip_account_id is not None: - pulumi.set(__self__, "public_ip_account_id", public_ip_account_id) - - @property - @pulumi.getter(name="publicDnsName") - def public_dns_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the public DNS. - """ - return pulumi.get(self, "public_dns_name") - - @public_dns_name.setter - def public_dns_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_dns_name", value) - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> Optional[pulumi.Input[str]]: - """ - The public IP of the VM. - """ - return pulumi.get(self, "public_ip") - - @public_ip.setter - def public_ip(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_ip", value) - - @property - @pulumi.getter(name="publicIpAccountId") - def public_ip_account_id(self) -> Optional[pulumi.Input[str]]: - """ - The account ID of the owner of the public IP. - """ - return pulumi.get(self, "public_ip_account_id") - - @public_ip_account_id.setter - def public_ip_account_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_ip_account_id", value) - - -@pulumi.input_type -class VmPrimaryNicSecurityGroupArgs: - def __init__(__self__, *, - security_group_id: Optional[pulumi.Input[str]] = None, - security_group_name: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] security_group_id: The ID of the security group. - :param pulumi.Input[str] security_group_name: The name of the security group. - """ - if security_group_id is not None: - pulumi.set(__self__, "security_group_id", security_group_id) - if security_group_name is not None: - pulumi.set(__self__, "security_group_name", security_group_name) - - @property - @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the security group. - """ - return pulumi.get(self, "security_group_id") - - @security_group_id.setter - def security_group_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "security_group_id", value) - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the security group. - """ - return pulumi.get(self, "security_group_name") - - @security_group_name.setter - def security_group_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "security_group_name", value) - - -@pulumi.input_type -class VmSecurityGroupArgs: - def __init__(__self__, *, - security_group_id: Optional[pulumi.Input[str]] = None, - security_group_name: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] security_group_id: The ID of the security group. - :param pulumi.Input[str] security_group_name: The name of the security group. - """ - if security_group_id is not None: - pulumi.set(__self__, "security_group_id", security_group_id) - if security_group_name is not None: - pulumi.set(__self__, "security_group_name", security_group_name) - - @property - @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the security group. - """ - return pulumi.get(self, "security_group_id") - - @security_group_id.setter - def security_group_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "security_group_id", value) - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the security group. - """ - return pulumi.get(self, "security_group_name") - - @security_group_name.setter - def security_group_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "security_group_name", value) - - -@pulumi.input_type -class VmTagArgs: - def __init__(__self__, *, - key: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] key: The key of the tag, with a minimum of 1 character. - :param pulumi.Input[str] value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) - - @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) - - -@pulumi.input_type -class VolumeLinkedVolumeArgs: - def __init__(__self__, *, - delete_on_vm_deletion: Optional[pulumi.Input[bool]] = None, - device_name: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - vm_id: Optional[pulumi.Input[str]] = None, - volume_id: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[bool] delete_on_vm_deletion: If true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - :param pulumi.Input[str] device_name: The name of the device. - :param pulumi.Input[str] state: The state of the volume (`creating` \\| `available` \\| `in-use` \\| `updating` \\| `deleting` \\| `error`). - :param pulumi.Input[str] vm_id: The ID of the VM. - :param pulumi.Input[str] volume_id: The ID of the volume. - """ - if delete_on_vm_deletion is not None: - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - if device_name is not None: - pulumi.set(__self__, "device_name", device_name) - if state is not None: - pulumi.set(__self__, "state", state) - if vm_id is not None: - pulumi.set(__self__, "vm_id", vm_id) - if volume_id is not None: - pulumi.set(__self__, "volume_id", volume_id) - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> Optional[pulumi.Input[bool]]: - """ - If true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @delete_on_vm_deletion.setter - def delete_on_vm_deletion(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "delete_on_vm_deletion", value) - - @property - @pulumi.getter(name="deviceName") - def device_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the device. - """ - return pulumi.get(self, "device_name") - - @device_name.setter - def device_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "device_name", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - The state of the volume (`creating` \\| `available` \\| `in-use` \\| `updating` \\| `deleting` \\| `error`). - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the VM. - """ - return pulumi.get(self, "vm_id") - - @vm_id.setter - def vm_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "vm_id", value) - - @property - @pulumi.getter(name="volumeId") - def volume_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the volume. - """ - return pulumi.get(self, "volume_id") - - @volume_id.setter - def volume_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "volume_id", value) - - -@pulumi.input_type -class VolumeTagArgs: - def __init__(__self__, *, - key: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] key: The key of the tag, with a minimum of 1 character. - :param pulumi.Input[str] value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) - - @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) - - -@pulumi.input_type -class VpnConnectionRouteArgs: - def __init__(__self__, *, - destination_ip_range: Optional[pulumi.Input[str]] = None, - route_type: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] destination_ip_range: The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - :param pulumi.Input[str] route_type: The type of route (always `static`). - :param pulumi.Input[str] state: The state of the IPSEC tunnel (`UP` \\| `DOWN`). - """ - if destination_ip_range is not None: - pulumi.set(__self__, "destination_ip_range", destination_ip_range) - if route_type is not None: - pulumi.set(__self__, "route_type", route_type) - if state is not None: - pulumi.set(__self__, "state", state) - - @property - @pulumi.getter(name="destinationIpRange") - def destination_ip_range(self) -> Optional[pulumi.Input[str]]: - """ - The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - """ - return pulumi.get(self, "destination_ip_range") - - @destination_ip_range.setter - def destination_ip_range(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "destination_ip_range", value) - - @property - @pulumi.getter(name="routeType") - def route_type(self) -> Optional[pulumi.Input[str]]: - """ - The type of route (always `static`). - """ - return pulumi.get(self, "route_type") - - @route_type.setter - def route_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "route_type", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - The state of the IPSEC tunnel (`UP` \\| `DOWN`). - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - -@pulumi.input_type -class VpnConnectionTagArgs: - def __init__(__self__, *, - key: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] key: The key of the tag, with a minimum of 1 character. - :param pulumi.Input[str] value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) - - @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) - - -@pulumi.input_type -class VpnConnectionVgwTelemetryArgs: - def __init__(__self__, *, - accepted_route_count: Optional[pulumi.Input[int]] = None, - last_state_change_date: Optional[pulumi.Input[str]] = None, - outside_ip_address: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - state_description: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[int] accepted_route_count: The number of routes accepted through BGP (Border Gateway Protocol) route exchanges. - :param pulumi.Input[str] last_state_change_date: The date and time (UTC) of the latest state update. - :param pulumi.Input[str] outside_ip_address: The IP on the OUTSCALE side of the tunnel. - :param pulumi.Input[str] state: The state of the IPSEC tunnel (`UP` \\| `DOWN`). - :param pulumi.Input[str] state_description: A description of the current state of the tunnel. - """ - if accepted_route_count is not None: - pulumi.set(__self__, "accepted_route_count", accepted_route_count) - if last_state_change_date is not None: - pulumi.set(__self__, "last_state_change_date", last_state_change_date) - if outside_ip_address is not None: - pulumi.set(__self__, "outside_ip_address", outside_ip_address) - if state is not None: - pulumi.set(__self__, "state", state) - if state_description is not None: - pulumi.set(__self__, "state_description", state_description) - - @property - @pulumi.getter(name="acceptedRouteCount") - def accepted_route_count(self) -> Optional[pulumi.Input[int]]: - """ - The number of routes accepted through BGP (Border Gateway Protocol) route exchanges. - """ - return pulumi.get(self, "accepted_route_count") - - @accepted_route_count.setter - def accepted_route_count(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "accepted_route_count", value) - - @property - @pulumi.getter(name="lastStateChangeDate") - def last_state_change_date(self) -> Optional[pulumi.Input[str]]: - """ - The date and time (UTC) of the latest state update. - """ - return pulumi.get(self, "last_state_change_date") - - @last_state_change_date.setter - def last_state_change_date(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "last_state_change_date", value) - - @property - @pulumi.getter(name="outsideIpAddress") - def outside_ip_address(self) -> Optional[pulumi.Input[str]]: - """ - The IP on the OUTSCALE side of the tunnel. - """ - return pulumi.get(self, "outside_ip_address") - - @outside_ip_address.setter - def outside_ip_address(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "outside_ip_address", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - The state of the IPSEC tunnel (`UP` \\| `DOWN`). - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - @property - @pulumi.getter(name="stateDescription") - def state_description(self) -> Optional[pulumi.Input[str]]: - """ - A description of the current state of the tunnel. - """ - return pulumi.get(self, "state_description") - - @state_description.setter - def state_description(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state_description", value) - - -@pulumi.input_type -class GetAccessKeyFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetAccessKeysFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetApiAccessRuleFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetApiAccessRulesFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetCaFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetCasFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetClientGatewayFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetClientGatewaysFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetDhcpOptionFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetDhcpOptionsFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetFlexibleGpuCatalogFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetFlexibleGpuFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetFlexibleGpusFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetImageBlockDeviceMappingArgs: - def __init__(__self__, *, - bsus: Sequence['GetImageBlockDeviceMappingBsusArgs'], - device_name: str, - virtual_device_name: str): - """ - :param Sequence['GetImageBlockDeviceMappingBsusArgs'] bsus: Information about the BSU volume to create. - :param str device_name: The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - :param str virtual_device_name: The name of the virtual device (`ephemeralN`). - """ - pulumi.set(__self__, "bsus", bsus) - pulumi.set(__self__, "device_name", device_name) - pulumi.set(__self__, "virtual_device_name", virtual_device_name) - - @property - @pulumi.getter - def bsus(self) -> Sequence['GetImageBlockDeviceMappingBsusArgs']: - """ - Information about the BSU volume to create. - """ - return pulumi.get(self, "bsus") - - @bsus.setter - def bsus(self, value: Sequence['GetImageBlockDeviceMappingBsusArgs']): - pulumi.set(self, "bsus", value) - - @property - @pulumi.getter(name="deviceName") - def device_name(self) -> str: - """ - The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - """ - return pulumi.get(self, "device_name") - - @device_name.setter - def device_name(self, value: str): - pulumi.set(self, "device_name", value) - - @property - @pulumi.getter(name="virtualDeviceName") - def virtual_device_name(self) -> str: - """ - The name of the virtual device (`ephemeralN`). - """ - return pulumi.get(self, "virtual_device_name") - - @virtual_device_name.setter - def virtual_device_name(self, value: str): - pulumi.set(self, "virtual_device_name", value) - - -@pulumi.input_type -class GetImageBlockDeviceMappingBsusArgs: - def __init__(__self__, *, - delete_on_vm_deletion: bool, - iops: int, - snapshot_id: str, - volume_size: int, - volume_type: str): - """ - :param bool delete_on_vm_deletion: By default or if set to true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - :param int iops: The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - :param str snapshot_id: The ID of the snapshot used to create the volume. - :param int volume_size: The size of the volume, in gibibytes (GiB).
- If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.
- If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. - :param str volume_type: The type of the volume (`standard` \\| `io1` \\| `gp2`). If not specified in the request, a `standard` volume is created.
- For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - """ - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - pulumi.set(__self__, "iops", iops) - pulumi.set(__self__, "snapshot_id", snapshot_id) - pulumi.set(__self__, "volume_size", volume_size) - pulumi.set(__self__, "volume_type", volume_type) - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> bool: - """ - By default or if set to true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @delete_on_vm_deletion.setter - def delete_on_vm_deletion(self, value: bool): - pulumi.set(self, "delete_on_vm_deletion", value) - - @property - @pulumi.getter - def iops(self) -> int: - """ - The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - """ - return pulumi.get(self, "iops") - - @iops.setter - def iops(self, value: int): - pulumi.set(self, "iops", value) - - @property - @pulumi.getter(name="snapshotId") - def snapshot_id(self) -> str: - """ - The ID of the snapshot used to create the volume. - """ - return pulumi.get(self, "snapshot_id") - - @snapshot_id.setter - def snapshot_id(self, value: str): - pulumi.set(self, "snapshot_id", value) - - @property - @pulumi.getter(name="volumeSize") - def volume_size(self) -> int: - """ - The size of the volume, in gibibytes (GiB).
- If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.
- If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. - """ - return pulumi.get(self, "volume_size") - - @volume_size.setter - def volume_size(self, value: int): - pulumi.set(self, "volume_size", value) - - @property - @pulumi.getter(name="volumeType") - def volume_type(self) -> str: - """ - The type of the volume (`standard` \\| `io1` \\| `gp2`). If not specified in the request, a `standard` volume is created.
- For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - """ - return pulumi.get(self, "volume_type") - - @volume_type.setter - def volume_type(self, value: str): - pulumi.set(self, "volume_type", value) - - -@pulumi.input_type -class GetImageExportTaskFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetImageExportTasksFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetImageFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetImagesFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetInternetServiceFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetInternetServicesFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetKeypairFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetKeypairsFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetLoadBalancerAccessLogArgs: - def __init__(__self__, *, - is_enabled: bool, - osu_bucket_name: str, - osu_bucket_prefix: str, - publication_interval: int): - """ - :param bool is_enabled: If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osu_bucket_name` parameter is required. - :param str osu_bucket_name: The name of the OOS bucket for the access logs. - :param str osu_bucket_prefix: The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - :param int publication_interval: The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - """ - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "osu_bucket_name", osu_bucket_name) - pulumi.set(__self__, "osu_bucket_prefix", osu_bucket_prefix) - pulumi.set(__self__, "publication_interval", publication_interval) - - @property - @pulumi.getter(name="isEnabled") - def is_enabled(self) -> bool: - """ - If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osu_bucket_name` parameter is required. - """ - return pulumi.get(self, "is_enabled") - - @is_enabled.setter - def is_enabled(self, value: bool): - pulumi.set(self, "is_enabled", value) - - @property - @pulumi.getter(name="osuBucketName") - def osu_bucket_name(self) -> str: - """ - The name of the OOS bucket for the access logs. - """ - return pulumi.get(self, "osu_bucket_name") - - @osu_bucket_name.setter - def osu_bucket_name(self, value: str): - pulumi.set(self, "osu_bucket_name", value) - - @property - @pulumi.getter(name="osuBucketPrefix") - def osu_bucket_prefix(self) -> str: - """ - The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - """ - return pulumi.get(self, "osu_bucket_prefix") - - @osu_bucket_prefix.setter - def osu_bucket_prefix(self, value: str): - pulumi.set(self, "osu_bucket_prefix", value) - - @property - @pulumi.getter(name="publicationInterval") - def publication_interval(self) -> int: - """ - The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - """ - return pulumi.get(self, "publication_interval") - - @publication_interval.setter - def publication_interval(self, value: int): - pulumi.set(self, "publication_interval", value) - - -@pulumi.input_type -class GetLoadBalancerFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetLoadBalancerHealthCheckArgs: - def __init__(__self__, *, - check_interval: int, - healthy_threshold: int, - path: str, - port: int, - protocol: str, - timeout: int, - unhealthy_threshold: int): - """ - :param int check_interval: The number of seconds between two pings (between `5` and `600` both included). - :param int healthy_threshold: The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - :param str path: If you use the HTTP or HTTPS protocols, the ping path. - :param int port: The port number (between `1` and `65535`, both included). - :param str protocol: The protocol for the URL of the VM (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - :param int timeout: The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - :param int unhealthy_threshold: The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - """ - pulumi.set(__self__, "check_interval", check_interval) - pulumi.set(__self__, "healthy_threshold", healthy_threshold) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "timeout", timeout) - pulumi.set(__self__, "unhealthy_threshold", unhealthy_threshold) - - @property - @pulumi.getter(name="checkInterval") - def check_interval(self) -> int: - """ - The number of seconds between two pings (between `5` and `600` both included). - """ - return pulumi.get(self, "check_interval") - - @check_interval.setter - def check_interval(self, value: int): - pulumi.set(self, "check_interval", value) - - @property - @pulumi.getter(name="healthyThreshold") - def healthy_threshold(self) -> int: - """ - The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - """ - return pulumi.get(self, "healthy_threshold") - - @healthy_threshold.setter - def healthy_threshold(self, value: int): - pulumi.set(self, "healthy_threshold", value) - - @property - @pulumi.getter - def path(self) -> str: - """ - If you use the HTTP or HTTPS protocols, the ping path. - """ - return pulumi.get(self, "path") - - @path.setter - def path(self, value: str): - pulumi.set(self, "path", value) - - @property - @pulumi.getter - def port(self) -> int: - """ - The port number (between `1` and `65535`, both included). - """ - return pulumi.get(self, "port") - - @port.setter - def port(self, value: int): - pulumi.set(self, "port", value) - - @property - @pulumi.getter - def protocol(self) -> str: - """ - The protocol for the URL of the VM (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - """ - return pulumi.get(self, "protocol") - - @protocol.setter - def protocol(self, value: str): - pulumi.set(self, "protocol", value) - - @property - @pulumi.getter - def timeout(self) -> int: - """ - The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - """ - return pulumi.get(self, "timeout") - - @timeout.setter - def timeout(self, value: int): - pulumi.set(self, "timeout", value) - - @property - @pulumi.getter(name="unhealthyThreshold") - def unhealthy_threshold(self) -> int: - """ - The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - """ - return pulumi.get(self, "unhealthy_threshold") - - @unhealthy_threshold.setter - def unhealthy_threshold(self, value: int): - pulumi.set(self, "unhealthy_threshold", value) - - -@pulumi.input_type -class GetLoadBalancerListenerArgs: - def __init__(__self__, *, - backend_port: int, - backend_protocol: str, - load_balancer_port: int, - load_balancer_protocol: str, - policy_names: Sequence[str], - server_certificate_id: str): - """ - :param int backend_port: The port on which the back-end VM is listening (between `1` and `65535`, both included). - :param str backend_protocol: The protocol for routing traffic to back-end VMs (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - :param int load_balancer_port: The port on which the load balancer is listening (between `1` and `65535`, both included). - :param str load_balancer_protocol: The routing protocol (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - :param Sequence[str] policy_names: The names of the policies. If there are no policies enabled, the list is empty. - :param str server_certificate_id: The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > OUTSCALE Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - """ - pulumi.set(__self__, "backend_port", backend_port) - pulumi.set(__self__, "backend_protocol", backend_protocol) - pulumi.set(__self__, "load_balancer_port", load_balancer_port) - pulumi.set(__self__, "load_balancer_protocol", load_balancer_protocol) - pulumi.set(__self__, "policy_names", policy_names) - pulumi.set(__self__, "server_certificate_id", server_certificate_id) - - @property - @pulumi.getter(name="backendPort") - def backend_port(self) -> int: - """ - The port on which the back-end VM is listening (between `1` and `65535`, both included). - """ - return pulumi.get(self, "backend_port") - - @backend_port.setter - def backend_port(self, value: int): - pulumi.set(self, "backend_port", value) - - @property - @pulumi.getter(name="backendProtocol") - def backend_protocol(self) -> str: - """ - The protocol for routing traffic to back-end VMs (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - """ - return pulumi.get(self, "backend_protocol") - - @backend_protocol.setter - def backend_protocol(self, value: str): - pulumi.set(self, "backend_protocol", value) - - @property - @pulumi.getter(name="loadBalancerPort") - def load_balancer_port(self) -> int: - """ - The port on which the load balancer is listening (between `1` and `65535`, both included). - """ - return pulumi.get(self, "load_balancer_port") - - @load_balancer_port.setter - def load_balancer_port(self, value: int): - pulumi.set(self, "load_balancer_port", value) - - @property - @pulumi.getter(name="loadBalancerProtocol") - def load_balancer_protocol(self) -> str: - """ - The routing protocol (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - """ - return pulumi.get(self, "load_balancer_protocol") - - @load_balancer_protocol.setter - def load_balancer_protocol(self, value: str): - pulumi.set(self, "load_balancer_protocol", value) - - @property - @pulumi.getter(name="policyNames") - def policy_names(self) -> Sequence[str]: - """ - The names of the policies. If there are no policies enabled, the list is empty. - """ - return pulumi.get(self, "policy_names") - - @policy_names.setter - def policy_names(self, value: Sequence[str]): - pulumi.set(self, "policy_names", value) - - @property - @pulumi.getter(name="serverCertificateId") - def server_certificate_id(self) -> str: - """ - The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > OUTSCALE Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - """ - return pulumi.get(self, "server_certificate_id") - - @server_certificate_id.setter - def server_certificate_id(self, value: str): - pulumi.set(self, "server_certificate_id", value) - - -@pulumi.input_type -class GetLoadBalancerTagArgs: - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @key.setter - def key(self, value: str): - pulumi.set(self, "key", value) - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: str): - pulumi.set(self, "value", value) - - -@pulumi.input_type -class GetLoadBalancerTagsFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetLoadBalancerVmHealthFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetLoadBalancersFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetNatServiceFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetNatServicesFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetNetAccessPointFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetNetAccessPointServicesFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetNetAccessPointsFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetNetFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetNetPeeringFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - """ - :param str name: The state of the Net peering (`pending-acceptance` \\| `active` \\| `rejected` \\| `failed` \\| `expired` \\| `deleted`). - """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - """ - The state of the Net peering (`pending-acceptance` \\| `active` \\| `rejected` \\| `failed` \\| `expired` \\| `deleted`). - """ - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetNetPeeringsFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - """ - :param str name: The state of the Net peering (`pending-acceptance` \\| `active` \\| `rejected` \\| `failed` \\| `expired` \\| `deleted`). - """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - """ - The state of the Net peering (`pending-acceptance` \\| `active` \\| `rejected` \\| `failed` \\| `expired` \\| `deleted`). - """ - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetNetsFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetNicFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetNicsFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetProductTypeFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetProductTypesFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetPublicIpFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetPublicIpsFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetQuotaFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - """ - :param str name: The unique name of the quota. - """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - """ - The unique name of the quota. - """ - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetQuotasFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - """ - :param str name: The unique name of the quota. - """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - """ - The unique name of the quota. - """ - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetRouteTableFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetRouteTablesFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetSecurityGroupFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetSecurityGroupsFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetServerCertificateFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - """ - :param str name: The name of the server certificate. - """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the server certificate. - """ - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetServerCertificatesFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - """ - :param str name: The name of the server certificate. - """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the server certificate. - """ - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetSnapshotExportTaskFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetSnapshotExportTasksFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetSnapshotFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetSnapshotsFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetSubnetFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetSubnetsFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetSubregionsFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetTagFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetVirtualGatewayFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetVirtualGatewaysFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetVmFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetVmStateFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetVmStatesFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetVmTypesFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetVmsFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetVolumeFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetVolumesFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetVpnConnectionFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - -@pulumi.input_type -class GetVpnConnectionsFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @name.setter - def name(self, value: str): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - @values.setter - def values(self, value: Sequence[str]): - pulumi.set(self, "values", value) - - diff --git a/sdk/python/pulumi_outscale/_utilities.py b/sdk/python/pulumi_outscale/_utilities.py deleted file mode 100644 index 968f8f5..0000000 --- a/sdk/python/pulumi_outscale/_utilities.py +++ /dev/null @@ -1,291 +0,0 @@ -# coding=utf-8 -# *** 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! *** - - -import asyncio -import importlib.util -import inspect -import json -import os -import pkg_resources -import sys -import typing - -import pulumi -import pulumi.runtime -from pulumi.runtime.sync_await import _sync_await - -from semver import VersionInfo as SemverVersion -from parver import Version as PEP440Version - - -def get_env(*args): - for v in args: - value = os.getenv(v) - if value is not None: - return value - return None - - -def get_env_bool(*args): - str = get_env(*args) - if str is not None: - # NOTE: these values are taken from https://golang.org/src/strconv/atob.go?s=351:391#L1, which is what - # Terraform uses internally when parsing boolean values. - if str in ["1", "t", "T", "true", "TRUE", "True"]: - return True - if str in ["0", "f", "F", "false", "FALSE", "False"]: - return False - return None - - -def get_env_int(*args): - str = get_env(*args) - if str is not None: - try: - return int(str) - except: - return None - return None - - -def get_env_float(*args): - str = get_env(*args) - if str is not None: - try: - return float(str) - except: - return None - return None - - -def _get_semver_version(): - # __name__ is set to the fully-qualified name of the current module, In our case, it will be - # ._utilities. is the module we want to query the version for. - root_package, *rest = __name__.split('.') - - # pkg_resources uses setuptools to inspect the set of installed packages. We use it here to ask - # for the currently installed version of the root package (i.e. us) and get its version. - - # Unfortunately, PEP440 and semver differ slightly in incompatible ways. The Pulumi engine expects - # to receive a valid semver string when receiving requests from the language host, so it's our - # responsibility as the library to convert our own PEP440 version into a valid semver string. - - pep440_version_string = pkg_resources.require(root_package)[0].version - pep440_version = PEP440Version.parse(pep440_version_string) - (major, minor, patch) = pep440_version.release - prerelease = None - if pep440_version.pre_tag == 'a': - prerelease = f"alpha.{pep440_version.pre}" - elif pep440_version.pre_tag == 'b': - prerelease = f"beta.{pep440_version.pre}" - elif pep440_version.pre_tag == 'rc': - prerelease = f"rc.{pep440_version.pre}" - elif pep440_version.dev is not None: - prerelease = f"dev.{pep440_version.dev}" - - # The only significant difference between PEP440 and semver as it pertains to us is that PEP440 has explicit support - # for dev builds, while semver encodes them as "prerelease" versions. In order to bridge between the two, we convert - # our dev build version into a prerelease tag. This matches what all of our other packages do when constructing - # their own semver string. - return SemverVersion(major=major, minor=minor, patch=patch, prerelease=prerelease) - - -# Determine the version once and cache the value, which measurably improves program performance. -_version = _get_semver_version() -_version_str = str(_version) - - -def get_version(): - return _version_str - -def get_resource_opts_defaults() -> pulumi.ResourceOptions: - return pulumi.ResourceOptions( - version=get_version(), - plugin_download_url=get_plugin_download_url(), - ) - -def get_invoke_opts_defaults() -> pulumi.InvokeOptions: - return pulumi.InvokeOptions( - version=get_version(), - plugin_download_url=get_plugin_download_url(), - ) - -def get_resource_args_opts(resource_args_type, resource_options_type, *args, **kwargs): - """ - Return the resource args and options given the *args and **kwargs of a resource's - __init__ method. - """ - - resource_args, opts = None, None - - # If the first item is the resource args type, save it and remove it from the args list. - if args and isinstance(args[0], resource_args_type): - resource_args, args = args[0], args[1:] - - # Now look at the first item in the args list again. - # If the first item is the resource options class, save it. - if args and isinstance(args[0], resource_options_type): - opts = args[0] - - # If resource_args is None, see if "args" is in kwargs, and, if so, if it's typed as the - # the resource args type. - if resource_args is None: - a = kwargs.get("args") - if isinstance(a, resource_args_type): - resource_args = a - - # If opts is None, look it up in kwargs. - if opts is None: - opts = kwargs.get("opts") - - return resource_args, opts - - -# Temporary: just use pulumi._utils.lazy_import once everyone upgrades. -def lazy_import(fullname): - - import pulumi._utils as u - f = getattr(u, 'lazy_import', None) - if f is None: - f = _lazy_import_temp - - return f(fullname) - - -# Copied from pulumi._utils.lazy_import, see comments there. -def _lazy_import_temp(fullname): - m = sys.modules.get(fullname, None) - if m is not None: - return m - - spec = importlib.util.find_spec(fullname) - - m = sys.modules.get(fullname, None) - if m is not None: - return m - - loader = importlib.util.LazyLoader(spec.loader) - spec.loader = loader - module = importlib.util.module_from_spec(spec) - - m = sys.modules.get(fullname, None) - if m is not None: - return m - - sys.modules[fullname] = module - loader.exec_module(module) - return module - - -class Package(pulumi.runtime.ResourcePackage): - def __init__(self, pkg_info): - super().__init__() - self.pkg_info = pkg_info - - def version(self): - return _version - - def construct_provider(self, name: str, typ: str, urn: str) -> pulumi.ProviderResource: - if typ != self.pkg_info['token']: - raise Exception(f"unknown provider type {typ}") - Provider = getattr(lazy_import(self.pkg_info['fqn']), self.pkg_info['class']) - return Provider(name, pulumi.ResourceOptions(urn=urn)) - - -class Module(pulumi.runtime.ResourceModule): - def __init__(self, mod_info): - super().__init__() - self.mod_info = mod_info - - def version(self): - return _version - - def construct(self, name: str, typ: str, urn: str) -> pulumi.Resource: - class_name = self.mod_info['classes'].get(typ, None) - - if class_name is None: - raise Exception(f"unknown resource type {typ}") - - TheClass = getattr(lazy_import(self.mod_info['fqn']), class_name) - return TheClass(name, pulumi.ResourceOptions(urn=urn)) - - -def register(resource_modules, resource_packages): - resource_modules = json.loads(resource_modules) - resource_packages = json.loads(resource_packages) - - for pkg_info in resource_packages: - pulumi.runtime.register_resource_package(pkg_info['pkg'], Package(pkg_info)) - - for mod_info in resource_modules: - pulumi.runtime.register_resource_module( - mod_info['pkg'], - mod_info['mod'], - Module(mod_info)) - - -_F = typing.TypeVar('_F', bound=typing.Callable[..., typing.Any]) - - -def lift_output_func(func: typing.Any) -> typing.Callable[[_F], _F]: - """Decorator internally used on {fn}_output lifted function versions - to implement them automatically from the un-lifted function.""" - - func_sig = inspect.signature(func) - - def lifted_func(*args, opts=None, **kwargs): - bound_args = func_sig.bind(*args, **kwargs) - # Convert tuple to list, see pulumi/pulumi#8172 - args_list = list(bound_args.args) - return pulumi.Output.from_input({ - 'args': args_list, - 'kwargs': bound_args.kwargs - }).apply(lambda resolved_args: func(*resolved_args['args'], - opts=opts, - **resolved_args['kwargs'])) - - return (lambda _: lifted_func) - - -def call_plain( - tok: str, - props: pulumi.Inputs, - res: typing.Optional[pulumi.Resource] = None, - typ: typing.Optional[type] = None, -) -> typing.Any: - """ - Wraps pulumi.runtime.plain to force the output and return it plainly. - """ - - output = pulumi.runtime.call(tok, props, res, typ) - - # Ingoring deps silently. They are typically non-empty, r.f() calls include r as a dependency. - result, known, secret, _ = _sync_await(asyncio.ensure_future(_await_output(output))) - - problem = None - if not known: - problem = ' an unknown value' - elif secret: - problem = ' a secret value' - - if problem: - raise AssertionError( - f"Plain resource method '{tok}' incorrectly returned {problem}. " - + "This is an error in the provider, please report this to the provider developer." - ) - - return result - - -async def _await_output(o: pulumi.Output[typing.Any]) -> typing.Tuple[object, bool, bool, set]: - return ( - await o._future, - await o._is_known, - await o._is_secret, - await o._resources, - ) - -def get_plugin_download_url(): - return None diff --git a/sdk/python/pulumi_outscale/access_key.py b/sdk/python/pulumi_outscale/access_key.py deleted file mode 100644 index b84706f..0000000 --- a/sdk/python/pulumi_outscale/access_key.py +++ /dev/null @@ -1,358 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities - -__all__ = ['AccessKeyArgs', 'AccessKey'] - -@pulumi.input_type -class AccessKeyArgs: - def __init__(__self__, *, - expiration_date: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None): - """ - The set of arguments for constructing a AccessKey resource. - :param pulumi.Input[str] expiration_date: The date and time, or the date, at which you want the access key to expire, in ISO 8601 format (for example, `2020-06-14T00:00:00.000Z`, or `2020-06-14`). To remove an existing expiration date, use the method without specifying this parameter. - :param pulumi.Input[str] state: The state for the access key (`ACTIVE` | `INACTIVE`). - """ - if expiration_date is not None: - pulumi.set(__self__, "expiration_date", expiration_date) - if state is not None: - pulumi.set(__self__, "state", state) - - @property - @pulumi.getter(name="expirationDate") - def expiration_date(self) -> Optional[pulumi.Input[str]]: - """ - The date and time, or the date, at which you want the access key to expire, in ISO 8601 format (for example, `2020-06-14T00:00:00.000Z`, or `2020-06-14`). To remove an existing expiration date, use the method without specifying this parameter. - """ - return pulumi.get(self, "expiration_date") - - @expiration_date.setter - def expiration_date(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "expiration_date", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - The state for the access key (`ACTIVE` | `INACTIVE`). - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - -@pulumi.input_type -class _AccessKeyState: - def __init__(__self__, *, - access_key_id: Optional[pulumi.Input[str]] = None, - creation_date: Optional[pulumi.Input[str]] = None, - expiration_date: Optional[pulumi.Input[str]] = None, - last_modification_date: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - secret_key: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None): - """ - Input properties used for looking up and filtering AccessKey resources. - :param pulumi.Input[str] access_key_id: The ID of the access key. - :param pulumi.Input[str] creation_date: The date and time (UTC) of creation of the access key. - :param pulumi.Input[str] expiration_date: The date and time, or the date, at which you want the access key to expire, in ISO 8601 format (for example, `2020-06-14T00:00:00.000Z`, or `2020-06-14`). To remove an existing expiration date, use the method without specifying this parameter. - :param pulumi.Input[str] last_modification_date: The date and time (UTC) of the last modification of the access key. - :param pulumi.Input[str] secret_key: The access key that enables you to send requests. - :param pulumi.Input[str] state: The state for the access key (`ACTIVE` | `INACTIVE`). - """ - if access_key_id is not None: - pulumi.set(__self__, "access_key_id", access_key_id) - if creation_date is not None: - pulumi.set(__self__, "creation_date", creation_date) - if expiration_date is not None: - pulumi.set(__self__, "expiration_date", expiration_date) - if last_modification_date is not None: - pulumi.set(__self__, "last_modification_date", last_modification_date) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if secret_key is not None: - pulumi.set(__self__, "secret_key", secret_key) - if state is not None: - pulumi.set(__self__, "state", state) - - @property - @pulumi.getter(name="accessKeyId") - def access_key_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the access key. - """ - return pulumi.get(self, "access_key_id") - - @access_key_id.setter - def access_key_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "access_key_id", value) - - @property - @pulumi.getter(name="creationDate") - def creation_date(self) -> Optional[pulumi.Input[str]]: - """ - The date and time (UTC) of creation of the access key. - """ - return pulumi.get(self, "creation_date") - - @creation_date.setter - def creation_date(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "creation_date", value) - - @property - @pulumi.getter(name="expirationDate") - def expiration_date(self) -> Optional[pulumi.Input[str]]: - """ - The date and time, or the date, at which you want the access key to expire, in ISO 8601 format (for example, `2020-06-14T00:00:00.000Z`, or `2020-06-14`). To remove an existing expiration date, use the method without specifying this parameter. - """ - return pulumi.get(self, "expiration_date") - - @expiration_date.setter - def expiration_date(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "expiration_date", value) - - @property - @pulumi.getter(name="lastModificationDate") - def last_modification_date(self) -> Optional[pulumi.Input[str]]: - """ - The date and time (UTC) of the last modification of the access key. - """ - return pulumi.get(self, "last_modification_date") - - @last_modification_date.setter - def last_modification_date(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "last_modification_date", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter(name="secretKey") - def secret_key(self) -> Optional[pulumi.Input[str]]: - """ - The access key that enables you to send requests. - """ - return pulumi.get(self, "secret_key") - - @secret_key.setter - def secret_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "secret_key", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - The state for the access key (`ACTIVE` | `INACTIVE`). - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - -class AccessKey(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - expiration_date: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - access_key01 = outscale.AccessKey("accessKey01", - expiration_date="2023-01-01", - state="ACTIVE") - ``` - - ## Import - - An access key can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/accessKey:AccessKey ImportedAccessKey ABCDEFGHIJ0123456789 - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] expiration_date: The date and time, or the date, at which you want the access key to expire, in ISO 8601 format (for example, `2020-06-14T00:00:00.000Z`, or `2020-06-14`). To remove an existing expiration date, use the method without specifying this parameter. - :param pulumi.Input[str] state: The state for the access key (`ACTIVE` | `INACTIVE`). - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: Optional[AccessKeyArgs] = None, - opts: Optional[pulumi.ResourceOptions] = None): - """ - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - access_key01 = outscale.AccessKey("accessKey01", - expiration_date="2023-01-01", - state="ACTIVE") - ``` - - ## Import - - An access key can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/accessKey:AccessKey ImportedAccessKey ABCDEFGHIJ0123456789 - ``` - - :param str resource_name: The name of the resource. - :param AccessKeyArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(AccessKeyArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - expiration_date: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = AccessKeyArgs.__new__(AccessKeyArgs) - - __props__.__dict__["expiration_date"] = expiration_date - __props__.__dict__["state"] = state - __props__.__dict__["access_key_id"] = None - __props__.__dict__["creation_date"] = None - __props__.__dict__["last_modification_date"] = None - __props__.__dict__["request_id"] = None - __props__.__dict__["secret_key"] = None - super(AccessKey, __self__).__init__( - 'outscale:index/accessKey:AccessKey', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - access_key_id: Optional[pulumi.Input[str]] = None, - creation_date: Optional[pulumi.Input[str]] = None, - expiration_date: Optional[pulumi.Input[str]] = None, - last_modification_date: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - secret_key: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None) -> 'AccessKey': - """ - Get an existing AccessKey resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] access_key_id: The ID of the access key. - :param pulumi.Input[str] creation_date: The date and time (UTC) of creation of the access key. - :param pulumi.Input[str] expiration_date: The date and time, or the date, at which you want the access key to expire, in ISO 8601 format (for example, `2020-06-14T00:00:00.000Z`, or `2020-06-14`). To remove an existing expiration date, use the method without specifying this parameter. - :param pulumi.Input[str] last_modification_date: The date and time (UTC) of the last modification of the access key. - :param pulumi.Input[str] secret_key: The access key that enables you to send requests. - :param pulumi.Input[str] state: The state for the access key (`ACTIVE` | `INACTIVE`). - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _AccessKeyState.__new__(_AccessKeyState) - - __props__.__dict__["access_key_id"] = access_key_id - __props__.__dict__["creation_date"] = creation_date - __props__.__dict__["expiration_date"] = expiration_date - __props__.__dict__["last_modification_date"] = last_modification_date - __props__.__dict__["request_id"] = request_id - __props__.__dict__["secret_key"] = secret_key - __props__.__dict__["state"] = state - return AccessKey(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="accessKeyId") - def access_key_id(self) -> pulumi.Output[str]: - """ - The ID of the access key. - """ - return pulumi.get(self, "access_key_id") - - @property - @pulumi.getter(name="creationDate") - def creation_date(self) -> pulumi.Output[str]: - """ - The date and time (UTC) of creation of the access key. - """ - return pulumi.get(self, "creation_date") - - @property - @pulumi.getter(name="expirationDate") - def expiration_date(self) -> pulumi.Output[Optional[str]]: - """ - The date and time, or the date, at which you want the access key to expire, in ISO 8601 format (for example, `2020-06-14T00:00:00.000Z`, or `2020-06-14`). To remove an existing expiration date, use the method without specifying this parameter. - """ - return pulumi.get(self, "expiration_date") - - @property - @pulumi.getter(name="lastModificationDate") - def last_modification_date(self) -> pulumi.Output[str]: - """ - The date and time (UTC) of the last modification of the access key. - """ - return pulumi.get(self, "last_modification_date") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="secretKey") - def secret_key(self) -> pulumi.Output[str]: - """ - The access key that enables you to send requests. - """ - return pulumi.get(self, "secret_key") - - @property - @pulumi.getter - def state(self) -> pulumi.Output[Optional[str]]: - """ - The state for the access key (`ACTIVE` | `INACTIVE`). - """ - return pulumi.get(self, "state") - diff --git a/sdk/python/pulumi_outscale/api_access_policy.py b/sdk/python/pulumi_outscale/api_access_policy.py deleted file mode 100644 index 35e0a32..0000000 --- a/sdk/python/pulumi_outscale/api_access_policy.py +++ /dev/null @@ -1,292 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities - -__all__ = ['ApiAccessPolicyArgs', 'ApiAccessPolicy'] - -@pulumi.input_type -class ApiAccessPolicyArgs: - def __init__(__self__, *, - max_access_key_expiration_seconds: pulumi.Input[int], - require_trusted_env: pulumi.Input[bool]): - """ - The set of arguments for constructing a ApiAccessPolicy resource. - :param pulumi.Input[int] max_access_key_expiration_seconds: The maximum possible lifetime for your access keys, in seconds (between `0` and `3153600000`, both included). If set to `O`, your access keys can have unlimited lifetimes, but a trusted session cannot be activated. Otherwise, all your access keys must have an expiration date. This value must be greater than the remaining lifetime of each access key of your account. - :param pulumi.Input[bool] require_trusted_env: If true, a trusted session is activated, provided that you specify the `max_access_key_expiration_seconds` parameter with a value greater than `0`. - """ - pulumi.set(__self__, "max_access_key_expiration_seconds", max_access_key_expiration_seconds) - pulumi.set(__self__, "require_trusted_env", require_trusted_env) - - @property - @pulumi.getter(name="maxAccessKeyExpirationSeconds") - def max_access_key_expiration_seconds(self) -> pulumi.Input[int]: - """ - The maximum possible lifetime for your access keys, in seconds (between `0` and `3153600000`, both included). If set to `O`, your access keys can have unlimited lifetimes, but a trusted session cannot be activated. Otherwise, all your access keys must have an expiration date. This value must be greater than the remaining lifetime of each access key of your account. - """ - return pulumi.get(self, "max_access_key_expiration_seconds") - - @max_access_key_expiration_seconds.setter - def max_access_key_expiration_seconds(self, value: pulumi.Input[int]): - pulumi.set(self, "max_access_key_expiration_seconds", value) - - @property - @pulumi.getter(name="requireTrustedEnv") - def require_trusted_env(self) -> pulumi.Input[bool]: - """ - If true, a trusted session is activated, provided that you specify the `max_access_key_expiration_seconds` parameter with a value greater than `0`. - """ - return pulumi.get(self, "require_trusted_env") - - @require_trusted_env.setter - def require_trusted_env(self, value: pulumi.Input[bool]): - pulumi.set(self, "require_trusted_env", value) - - -@pulumi.input_type -class _ApiAccessPolicyState: - def __init__(__self__, *, - max_access_key_expiration_seconds: Optional[pulumi.Input[int]] = None, - request_id: Optional[pulumi.Input[str]] = None, - require_trusted_env: Optional[pulumi.Input[bool]] = None): - """ - Input properties used for looking up and filtering ApiAccessPolicy resources. - :param pulumi.Input[int] max_access_key_expiration_seconds: The maximum possible lifetime for your access keys, in seconds (between `0` and `3153600000`, both included). If set to `O`, your access keys can have unlimited lifetimes, but a trusted session cannot be activated. Otherwise, all your access keys must have an expiration date. This value must be greater than the remaining lifetime of each access key of your account. - :param pulumi.Input[bool] require_trusted_env: If true, a trusted session is activated, provided that you specify the `max_access_key_expiration_seconds` parameter with a value greater than `0`. - """ - if max_access_key_expiration_seconds is not None: - pulumi.set(__self__, "max_access_key_expiration_seconds", max_access_key_expiration_seconds) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if require_trusted_env is not None: - pulumi.set(__self__, "require_trusted_env", require_trusted_env) - - @property - @pulumi.getter(name="maxAccessKeyExpirationSeconds") - def max_access_key_expiration_seconds(self) -> Optional[pulumi.Input[int]]: - """ - The maximum possible lifetime for your access keys, in seconds (between `0` and `3153600000`, both included). If set to `O`, your access keys can have unlimited lifetimes, but a trusted session cannot be activated. Otherwise, all your access keys must have an expiration date. This value must be greater than the remaining lifetime of each access key of your account. - """ - return pulumi.get(self, "max_access_key_expiration_seconds") - - @max_access_key_expiration_seconds.setter - def max_access_key_expiration_seconds(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "max_access_key_expiration_seconds", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter(name="requireTrustedEnv") - def require_trusted_env(self) -> Optional[pulumi.Input[bool]]: - """ - If true, a trusted session is activated, provided that you specify the `max_access_key_expiration_seconds` parameter with a value greater than `0`. - """ - return pulumi.get(self, "require_trusted_env") - - @require_trusted_env.setter - def require_trusted_env(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "require_trusted_env", value) - - -class ApiAccessPolicy(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - max_access_key_expiration_seconds: Optional[pulumi.Input[int]] = None, - require_trusted_env: Optional[pulumi.Input[bool]] = None, - __props__=None): - """ - Manages the API access policy. - - To activate a trusted session, first you must: - * Set expiration dates to all your access keys. - * Specify a Certificate Authority (CA) in all your API access rules. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Your-API-Access-Policy.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-apiaccesspolicy). - - ## Example Usage - ### Require expiration dates for your access keys - - ```python - import pulumi - import pulumi_outscale as outscale - - unique = outscale.ApiAccessPolicy("unique", - max_access_key_expiration_seconds=31536000, - require_trusted_env=False) - ``` - ### Activate a trusted session - - ```python - import pulumi - import pulumi_outscale as outscale - - unique = outscale.ApiAccessPolicy("unique", - max_access_key_expiration_seconds=3153600000, - require_trusted_env=True) - ``` - ### Deactivate a trusted session - - ```python - import pulumi - import pulumi_outscale as outscale - - unique = outscale.ApiAccessPolicy("unique", - max_access_key_expiration_seconds=0, - require_trusted_env=False) - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[int] max_access_key_expiration_seconds: The maximum possible lifetime for your access keys, in seconds (between `0` and `3153600000`, both included). If set to `O`, your access keys can have unlimited lifetimes, but a trusted session cannot be activated. Otherwise, all your access keys must have an expiration date. This value must be greater than the remaining lifetime of each access key of your account. - :param pulumi.Input[bool] require_trusted_env: If true, a trusted session is activated, provided that you specify the `max_access_key_expiration_seconds` parameter with a value greater than `0`. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: ApiAccessPolicyArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages the API access policy. - - To activate a trusted session, first you must: - * Set expiration dates to all your access keys. - * Specify a Certificate Authority (CA) in all your API access rules. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Your-API-Access-Policy.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-apiaccesspolicy). - - ## Example Usage - ### Require expiration dates for your access keys - - ```python - import pulumi - import pulumi_outscale as outscale - - unique = outscale.ApiAccessPolicy("unique", - max_access_key_expiration_seconds=31536000, - require_trusted_env=False) - ``` - ### Activate a trusted session - - ```python - import pulumi - import pulumi_outscale as outscale - - unique = outscale.ApiAccessPolicy("unique", - max_access_key_expiration_seconds=3153600000, - require_trusted_env=True) - ``` - ### Deactivate a trusted session - - ```python - import pulumi - import pulumi_outscale as outscale - - unique = outscale.ApiAccessPolicy("unique", - max_access_key_expiration_seconds=0, - require_trusted_env=False) - ``` - - :param str resource_name: The name of the resource. - :param ApiAccessPolicyArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(ApiAccessPolicyArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - max_access_key_expiration_seconds: Optional[pulumi.Input[int]] = None, - require_trusted_env: Optional[pulumi.Input[bool]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = ApiAccessPolicyArgs.__new__(ApiAccessPolicyArgs) - - if max_access_key_expiration_seconds is None and not opts.urn: - raise TypeError("Missing required property 'max_access_key_expiration_seconds'") - __props__.__dict__["max_access_key_expiration_seconds"] = max_access_key_expiration_seconds - if require_trusted_env is None and not opts.urn: - raise TypeError("Missing required property 'require_trusted_env'") - __props__.__dict__["require_trusted_env"] = require_trusted_env - __props__.__dict__["request_id"] = None - super(ApiAccessPolicy, __self__).__init__( - 'outscale:index/apiAccessPolicy:ApiAccessPolicy', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - max_access_key_expiration_seconds: Optional[pulumi.Input[int]] = None, - request_id: Optional[pulumi.Input[str]] = None, - require_trusted_env: Optional[pulumi.Input[bool]] = None) -> 'ApiAccessPolicy': - """ - Get an existing ApiAccessPolicy resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[int] max_access_key_expiration_seconds: The maximum possible lifetime for your access keys, in seconds (between `0` and `3153600000`, both included). If set to `O`, your access keys can have unlimited lifetimes, but a trusted session cannot be activated. Otherwise, all your access keys must have an expiration date. This value must be greater than the remaining lifetime of each access key of your account. - :param pulumi.Input[bool] require_trusted_env: If true, a trusted session is activated, provided that you specify the `max_access_key_expiration_seconds` parameter with a value greater than `0`. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _ApiAccessPolicyState.__new__(_ApiAccessPolicyState) - - __props__.__dict__["max_access_key_expiration_seconds"] = max_access_key_expiration_seconds - __props__.__dict__["request_id"] = request_id - __props__.__dict__["require_trusted_env"] = require_trusted_env - return ApiAccessPolicy(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="maxAccessKeyExpirationSeconds") - def max_access_key_expiration_seconds(self) -> pulumi.Output[int]: - """ - The maximum possible lifetime for your access keys, in seconds (between `0` and `3153600000`, both included). If set to `O`, your access keys can have unlimited lifetimes, but a trusted session cannot be activated. Otherwise, all your access keys must have an expiration date. This value must be greater than the remaining lifetime of each access key of your account. - """ - return pulumi.get(self, "max_access_key_expiration_seconds") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="requireTrustedEnv") - def require_trusted_env(self) -> pulumi.Output[bool]: - """ - If true, a trusted session is activated, provided that you specify the `max_access_key_expiration_seconds` parameter with a value greater than `0`. - """ - return pulumi.get(self, "require_trusted_env") - diff --git a/sdk/python/pulumi_outscale/api_access_rule.py b/sdk/python/pulumi_outscale/api_access_rule.py deleted file mode 100644 index 132192a..0000000 --- a/sdk/python/pulumi_outscale/api_access_rule.py +++ /dev/null @@ -1,420 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities - -__all__ = ['ApiAccessRuleArgs', 'ApiAccessRule'] - -@pulumi.input_type -class ApiAccessRuleArgs: - def __init__(__self__, *, - ca_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - cns: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - description: Optional[pulumi.Input[str]] = None, - ip_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): - """ - The set of arguments for constructing a ApiAccessRule resource. - :param pulumi.Input[Sequence[pulumi.Input[str]]] ca_ids: One or more IDs of Client Certificate Authorities (CAs). - :param pulumi.Input[Sequence[pulumi.Input[str]]] cns: One or more Client Certificate Common Names (CNs). If this parameter is specified, you must also specify the `ca_ids` parameter. - :param pulumi.Input[str] description: A description for the API access rule. - :param pulumi.Input[Sequence[pulumi.Input[str]]] ip_ranges: One or more IP addresses or CIDR blocks (for example, `192.0.2.0/16`). - """ - if ca_ids is not None: - pulumi.set(__self__, "ca_ids", ca_ids) - if cns is not None: - pulumi.set(__self__, "cns", cns) - if description is not None: - pulumi.set(__self__, "description", description) - if ip_ranges is not None: - pulumi.set(__self__, "ip_ranges", ip_ranges) - - @property - @pulumi.getter(name="caIds") - def ca_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - One or more IDs of Client Certificate Authorities (CAs). - """ - return pulumi.get(self, "ca_ids") - - @ca_ids.setter - def ca_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "ca_ids", value) - - @property - @pulumi.getter - def cns(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - One or more Client Certificate Common Names (CNs). If this parameter is specified, you must also specify the `ca_ids` parameter. - """ - return pulumi.get(self, "cns") - - @cns.setter - def cns(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "cns", value) - - @property - @pulumi.getter - def description(self) -> Optional[pulumi.Input[str]]: - """ - A description for the API access rule. - """ - return pulumi.get(self, "description") - - @description.setter - def description(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "description", value) - - @property - @pulumi.getter(name="ipRanges") - def ip_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - One or more IP addresses or CIDR blocks (for example, `192.0.2.0/16`). - """ - return pulumi.get(self, "ip_ranges") - - @ip_ranges.setter - def ip_ranges(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "ip_ranges", value) - - -@pulumi.input_type -class _ApiAccessRuleState: - def __init__(__self__, *, - api_access_rule_id: Optional[pulumi.Input[str]] = None, - ca_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - cns: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - description: Optional[pulumi.Input[str]] = None, - ip_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - request_id: Optional[pulumi.Input[str]] = None): - """ - Input properties used for looking up and filtering ApiAccessRule resources. - :param pulumi.Input[str] api_access_rule_id: The ID of the API access rule. - :param pulumi.Input[Sequence[pulumi.Input[str]]] ca_ids: One or more IDs of Client Certificate Authorities (CAs). - :param pulumi.Input[Sequence[pulumi.Input[str]]] cns: One or more Client Certificate Common Names (CNs). If this parameter is specified, you must also specify the `ca_ids` parameter. - :param pulumi.Input[str] description: A description for the API access rule. - :param pulumi.Input[Sequence[pulumi.Input[str]]] ip_ranges: One or more IP addresses or CIDR blocks (for example, `192.0.2.0/16`). - """ - if api_access_rule_id is not None: - pulumi.set(__self__, "api_access_rule_id", api_access_rule_id) - if ca_ids is not None: - pulumi.set(__self__, "ca_ids", ca_ids) - if cns is not None: - pulumi.set(__self__, "cns", cns) - if description is not None: - pulumi.set(__self__, "description", description) - if ip_ranges is not None: - pulumi.set(__self__, "ip_ranges", ip_ranges) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - - @property - @pulumi.getter(name="apiAccessRuleId") - def api_access_rule_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the API access rule. - """ - return pulumi.get(self, "api_access_rule_id") - - @api_access_rule_id.setter - def api_access_rule_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "api_access_rule_id", value) - - @property - @pulumi.getter(name="caIds") - def ca_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - One or more IDs of Client Certificate Authorities (CAs). - """ - return pulumi.get(self, "ca_ids") - - @ca_ids.setter - def ca_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "ca_ids", value) - - @property - @pulumi.getter - def cns(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - One or more Client Certificate Common Names (CNs). If this parameter is specified, you must also specify the `ca_ids` parameter. - """ - return pulumi.get(self, "cns") - - @cns.setter - def cns(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "cns", value) - - @property - @pulumi.getter - def description(self) -> Optional[pulumi.Input[str]]: - """ - A description for the API access rule. - """ - return pulumi.get(self, "description") - - @description.setter - def description(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "description", value) - - @property - @pulumi.getter(name="ipRanges") - def ip_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - One or more IP addresses or CIDR blocks (for example, `192.0.2.0/16`). - """ - return pulumi.get(self, "ip_ranges") - - @ip_ranges.setter - def ip_ranges(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "ip_ranges", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - -class ApiAccessRule(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - ca_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - cns: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - description: Optional[pulumi.Input[str]] = None, - ip_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - __props__=None): - """ - Manages an API access rule. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-API-Access-Rules.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-apiaccessrule). - - ## Example Usage - ### Create an API access rule based on IPs - - ```python - import pulumi - import pulumi_outscale as outscale - - api_access_rule01 = outscale.ApiAccessRule("apiAccessRule01", - description="Basic API Access Rule from Terraform", - ip_ranges=[ - "192.0.2.0", - "192.0.2.0/16", - ]) - ``` - ### Create an API access rule based on IPs and Certificate Authority (CA) - - ```python - import pulumi - import pulumi_outscale as outscale - - ca01 = outscale.Ca("ca01", - ca_pem=(lambda path: open(path).read())(""), - description="Terraform CA") - api_access_rule02 = outscale.ApiAccessRule("apiAccessRule02", - ip_ranges=[ - "192.0.2.0", - "192.0.2.0/16", - ], - ca_ids=[ca01.ca_id], - description="API Access Rule with CA from Terraform") - ``` - - ## Import - - An API access rule can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/apiAccessRule:ApiAccessRule ImportedAPIAccessRule "aar-12345678" - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Sequence[pulumi.Input[str]]] ca_ids: One or more IDs of Client Certificate Authorities (CAs). - :param pulumi.Input[Sequence[pulumi.Input[str]]] cns: One or more Client Certificate Common Names (CNs). If this parameter is specified, you must also specify the `ca_ids` parameter. - :param pulumi.Input[str] description: A description for the API access rule. - :param pulumi.Input[Sequence[pulumi.Input[str]]] ip_ranges: One or more IP addresses or CIDR blocks (for example, `192.0.2.0/16`). - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: Optional[ApiAccessRuleArgs] = None, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages an API access rule. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-API-Access-Rules.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-apiaccessrule). - - ## Example Usage - ### Create an API access rule based on IPs - - ```python - import pulumi - import pulumi_outscale as outscale - - api_access_rule01 = outscale.ApiAccessRule("apiAccessRule01", - description="Basic API Access Rule from Terraform", - ip_ranges=[ - "192.0.2.0", - "192.0.2.0/16", - ]) - ``` - ### Create an API access rule based on IPs and Certificate Authority (CA) - - ```python - import pulumi - import pulumi_outscale as outscale - - ca01 = outscale.Ca("ca01", - ca_pem=(lambda path: open(path).read())(""), - description="Terraform CA") - api_access_rule02 = outscale.ApiAccessRule("apiAccessRule02", - ip_ranges=[ - "192.0.2.0", - "192.0.2.0/16", - ], - ca_ids=[ca01.ca_id], - description="API Access Rule with CA from Terraform") - ``` - - ## Import - - An API access rule can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/apiAccessRule:ApiAccessRule ImportedAPIAccessRule "aar-12345678" - ``` - - :param str resource_name: The name of the resource. - :param ApiAccessRuleArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(ApiAccessRuleArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - ca_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - cns: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - description: Optional[pulumi.Input[str]] = None, - ip_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = ApiAccessRuleArgs.__new__(ApiAccessRuleArgs) - - __props__.__dict__["ca_ids"] = ca_ids - __props__.__dict__["cns"] = cns - __props__.__dict__["description"] = description - __props__.__dict__["ip_ranges"] = ip_ranges - __props__.__dict__["api_access_rule_id"] = None - __props__.__dict__["request_id"] = None - super(ApiAccessRule, __self__).__init__( - 'outscale:index/apiAccessRule:ApiAccessRule', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - api_access_rule_id: Optional[pulumi.Input[str]] = None, - ca_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - cns: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - description: Optional[pulumi.Input[str]] = None, - ip_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - request_id: Optional[pulumi.Input[str]] = None) -> 'ApiAccessRule': - """ - Get an existing ApiAccessRule resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] api_access_rule_id: The ID of the API access rule. - :param pulumi.Input[Sequence[pulumi.Input[str]]] ca_ids: One or more IDs of Client Certificate Authorities (CAs). - :param pulumi.Input[Sequence[pulumi.Input[str]]] cns: One or more Client Certificate Common Names (CNs). If this parameter is specified, you must also specify the `ca_ids` parameter. - :param pulumi.Input[str] description: A description for the API access rule. - :param pulumi.Input[Sequence[pulumi.Input[str]]] ip_ranges: One or more IP addresses or CIDR blocks (for example, `192.0.2.0/16`). - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _ApiAccessRuleState.__new__(_ApiAccessRuleState) - - __props__.__dict__["api_access_rule_id"] = api_access_rule_id - __props__.__dict__["ca_ids"] = ca_ids - __props__.__dict__["cns"] = cns - __props__.__dict__["description"] = description - __props__.__dict__["ip_ranges"] = ip_ranges - __props__.__dict__["request_id"] = request_id - return ApiAccessRule(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="apiAccessRuleId") - def api_access_rule_id(self) -> pulumi.Output[str]: - """ - The ID of the API access rule. - """ - return pulumi.get(self, "api_access_rule_id") - - @property - @pulumi.getter(name="caIds") - def ca_ids(self) -> pulumi.Output[Optional[Sequence[str]]]: - """ - One or more IDs of Client Certificate Authorities (CAs). - """ - return pulumi.get(self, "ca_ids") - - @property - @pulumi.getter - def cns(self) -> pulumi.Output[Optional[Sequence[str]]]: - """ - One or more Client Certificate Common Names (CNs). If this parameter is specified, you must also specify the `ca_ids` parameter. - """ - return pulumi.get(self, "cns") - - @property - @pulumi.getter - def description(self) -> pulumi.Output[Optional[str]]: - """ - A description for the API access rule. - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter(name="ipRanges") - def ip_ranges(self) -> pulumi.Output[Optional[Sequence[str]]]: - """ - One or more IP addresses or CIDR blocks (for example, `192.0.2.0/16`). - """ - return pulumi.get(self, "ip_ranges") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - diff --git a/sdk/python/pulumi_outscale/ca.py b/sdk/python/pulumi_outscale/ca.py deleted file mode 100644 index aad2361..0000000 --- a/sdk/python/pulumi_outscale/ca.py +++ /dev/null @@ -1,312 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities - -__all__ = ['CaArgs', 'Ca'] - -@pulumi.input_type -class CaArgs: - def __init__(__self__, *, - ca_pem: Optional[pulumi.Input[str]] = None, - description: Optional[pulumi.Input[str]] = None): - """ - The set of arguments for constructing a Ca resource. - :param pulumi.Input[str] ca_pem: The CA in PEM format. - :param pulumi.Input[str] description: The description of the CA. - """ - if ca_pem is not None: - pulumi.set(__self__, "ca_pem", ca_pem) - if description is not None: - pulumi.set(__self__, "description", description) - - @property - @pulumi.getter(name="caPem") - def ca_pem(self) -> Optional[pulumi.Input[str]]: - """ - The CA in PEM format. - """ - return pulumi.get(self, "ca_pem") - - @ca_pem.setter - def ca_pem(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ca_pem", value) - - @property - @pulumi.getter - def description(self) -> Optional[pulumi.Input[str]]: - """ - The description of the CA. - """ - return pulumi.get(self, "description") - - @description.setter - def description(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "description", value) - - -@pulumi.input_type -class _CaState: - def __init__(__self__, *, - ca_fingerprint: Optional[pulumi.Input[str]] = None, - ca_id: Optional[pulumi.Input[str]] = None, - ca_pem: Optional[pulumi.Input[str]] = None, - description: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None): - """ - Input properties used for looking up and filtering Ca resources. - :param pulumi.Input[str] ca_fingerprint: The fingerprint of the CA. - :param pulumi.Input[str] ca_id: The ID of the CA. - :param pulumi.Input[str] ca_pem: The CA in PEM format. - :param pulumi.Input[str] description: The description of the CA. - """ - if ca_fingerprint is not None: - pulumi.set(__self__, "ca_fingerprint", ca_fingerprint) - if ca_id is not None: - pulumi.set(__self__, "ca_id", ca_id) - if ca_pem is not None: - pulumi.set(__self__, "ca_pem", ca_pem) - if description is not None: - pulumi.set(__self__, "description", description) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - - @property - @pulumi.getter(name="caFingerprint") - def ca_fingerprint(self) -> Optional[pulumi.Input[str]]: - """ - The fingerprint of the CA. - """ - return pulumi.get(self, "ca_fingerprint") - - @ca_fingerprint.setter - def ca_fingerprint(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ca_fingerprint", value) - - @property - @pulumi.getter(name="caId") - def ca_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the CA. - """ - return pulumi.get(self, "ca_id") - - @ca_id.setter - def ca_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ca_id", value) - - @property - @pulumi.getter(name="caPem") - def ca_pem(self) -> Optional[pulumi.Input[str]]: - """ - The CA in PEM format. - """ - return pulumi.get(self, "ca_pem") - - @ca_pem.setter - def ca_pem(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ca_pem", value) - - @property - @pulumi.getter - def description(self) -> Optional[pulumi.Input[str]]: - """ - The description of the CA. - """ - return pulumi.get(self, "description") - - @description.setter - def description(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "description", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - -class Ca(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - ca_pem: Optional[pulumi.Input[str]] = None, - description: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - Manages a Certificate Authority (CA). - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-API-Access-Rules.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-ca). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - ca01 = outscale.Ca("ca01", - ca_pem=(lambda path: open(path).read())(""), - description="Terraform certificate authority") - ``` - - ## Import - - A CA can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/ca:Ca ImportedCa ca-12345678 - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] ca_pem: The CA in PEM format. - :param pulumi.Input[str] description: The description of the CA. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: Optional[CaArgs] = None, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages a Certificate Authority (CA). - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-API-Access-Rules.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-ca). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - ca01 = outscale.Ca("ca01", - ca_pem=(lambda path: open(path).read())(""), - description="Terraform certificate authority") - ``` - - ## Import - - A CA can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/ca:Ca ImportedCa ca-12345678 - ``` - - :param str resource_name: The name of the resource. - :param CaArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(CaArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - ca_pem: Optional[pulumi.Input[str]] = None, - description: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = CaArgs.__new__(CaArgs) - - __props__.__dict__["ca_pem"] = ca_pem - __props__.__dict__["description"] = description - __props__.__dict__["ca_fingerprint"] = None - __props__.__dict__["ca_id"] = None - __props__.__dict__["request_id"] = None - super(Ca, __self__).__init__( - 'outscale:index/ca:Ca', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - ca_fingerprint: Optional[pulumi.Input[str]] = None, - ca_id: Optional[pulumi.Input[str]] = None, - ca_pem: Optional[pulumi.Input[str]] = None, - description: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None) -> 'Ca': - """ - Get an existing Ca resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] ca_fingerprint: The fingerprint of the CA. - :param pulumi.Input[str] ca_id: The ID of the CA. - :param pulumi.Input[str] ca_pem: The CA in PEM format. - :param pulumi.Input[str] description: The description of the CA. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _CaState.__new__(_CaState) - - __props__.__dict__["ca_fingerprint"] = ca_fingerprint - __props__.__dict__["ca_id"] = ca_id - __props__.__dict__["ca_pem"] = ca_pem - __props__.__dict__["description"] = description - __props__.__dict__["request_id"] = request_id - return Ca(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="caFingerprint") - def ca_fingerprint(self) -> pulumi.Output[str]: - """ - The fingerprint of the CA. - """ - return pulumi.get(self, "ca_fingerprint") - - @property - @pulumi.getter(name="caId") - def ca_id(self) -> pulumi.Output[str]: - """ - The ID of the CA. - """ - return pulumi.get(self, "ca_id") - - @property - @pulumi.getter(name="caPem") - def ca_pem(self) -> pulumi.Output[Optional[str]]: - """ - The CA in PEM format. - """ - return pulumi.get(self, "ca_pem") - - @property - @pulumi.getter - def description(self) -> pulumi.Output[Optional[str]]: - """ - The description of the CA. - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - diff --git a/sdk/python/pulumi_outscale/client_gateway.py b/sdk/python/pulumi_outscale/client_gateway.py deleted file mode 100644 index 1951333..0000000 --- a/sdk/python/pulumi_outscale/client_gateway.py +++ /dev/null @@ -1,421 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['ClientGatewayArgs', 'ClientGateway'] - -@pulumi.input_type -class ClientGatewayArgs: - def __init__(__self__, *, - bgp_asn: pulumi.Input[int], - connection_type: pulumi.Input[str], - public_ip: pulumi.Input[str], - tags: Optional[pulumi.Input[Sequence[pulumi.Input['ClientGatewayTagArgs']]]] = None): - """ - The set of arguments for constructing a ClientGateway resource. - :param pulumi.Input[int] bgp_asn: The Autonomous System Number (ASN) used by the Border Gateway Protocol (BGP) to find the path to your client gateway through the Internet. This number must be between `1` and `4294967295`. - :param pulumi.Input[str] connection_type: The communication protocol used to establish tunnel with your client gateway (only `ipsec.1` is supported). - :param pulumi.Input[str] public_ip: The public fixed IPv4 address of your client gateway. - :param pulumi.Input[Sequence[pulumi.Input['ClientGatewayTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - """ - pulumi.set(__self__, "bgp_asn", bgp_asn) - pulumi.set(__self__, "connection_type", connection_type) - pulumi.set(__self__, "public_ip", public_ip) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="bgpAsn") - def bgp_asn(self) -> pulumi.Input[int]: - """ - The Autonomous System Number (ASN) used by the Border Gateway Protocol (BGP) to find the path to your client gateway through the Internet. This number must be between `1` and `4294967295`. - """ - return pulumi.get(self, "bgp_asn") - - @bgp_asn.setter - def bgp_asn(self, value: pulumi.Input[int]): - pulumi.set(self, "bgp_asn", value) - - @property - @pulumi.getter(name="connectionType") - def connection_type(self) -> pulumi.Input[str]: - """ - The communication protocol used to establish tunnel with your client gateway (only `ipsec.1` is supported). - """ - return pulumi.get(self, "connection_type") - - @connection_type.setter - def connection_type(self, value: pulumi.Input[str]): - pulumi.set(self, "connection_type", value) - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> pulumi.Input[str]: - """ - The public fixed IPv4 address of your client gateway. - """ - return pulumi.get(self, "public_ip") - - @public_ip.setter - def public_ip(self, value: pulumi.Input[str]): - pulumi.set(self, "public_ip", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClientGatewayTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ClientGatewayTagArgs']]]]): - pulumi.set(self, "tags", value) - - -@pulumi.input_type -class _ClientGatewayState: - def __init__(__self__, *, - bgp_asn: Optional[pulumi.Input[int]] = None, - client_gateway_id: Optional[pulumi.Input[str]] = None, - connection_type: Optional[pulumi.Input[str]] = None, - public_ip: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['ClientGatewayTagArgs']]]] = None): - """ - Input properties used for looking up and filtering ClientGateway resources. - :param pulumi.Input[int] bgp_asn: The Autonomous System Number (ASN) used by the Border Gateway Protocol (BGP) to find the path to your client gateway through the Internet. This number must be between `1` and `4294967295`. - :param pulumi.Input[str] client_gateway_id: The ID of the client gateway. - :param pulumi.Input[str] connection_type: The communication protocol used to establish tunnel with your client gateway (only `ipsec.1` is supported). - :param pulumi.Input[str] public_ip: The public fixed IPv4 address of your client gateway. - :param pulumi.Input[str] state: The state of the client gateway (`pending` \\| `available` \\| `deleting` \\| `deleted`). - :param pulumi.Input[Sequence[pulumi.Input['ClientGatewayTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - """ - if bgp_asn is not None: - pulumi.set(__self__, "bgp_asn", bgp_asn) - if client_gateway_id is not None: - pulumi.set(__self__, "client_gateway_id", client_gateway_id) - if connection_type is not None: - pulumi.set(__self__, "connection_type", connection_type) - if public_ip is not None: - pulumi.set(__self__, "public_ip", public_ip) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if state is not None: - pulumi.set(__self__, "state", state) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="bgpAsn") - def bgp_asn(self) -> Optional[pulumi.Input[int]]: - """ - The Autonomous System Number (ASN) used by the Border Gateway Protocol (BGP) to find the path to your client gateway through the Internet. This number must be between `1` and `4294967295`. - """ - return pulumi.get(self, "bgp_asn") - - @bgp_asn.setter - def bgp_asn(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "bgp_asn", value) - - @property - @pulumi.getter(name="clientGatewayId") - def client_gateway_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the client gateway. - """ - return pulumi.get(self, "client_gateway_id") - - @client_gateway_id.setter - def client_gateway_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "client_gateway_id", value) - - @property - @pulumi.getter(name="connectionType") - def connection_type(self) -> Optional[pulumi.Input[str]]: - """ - The communication protocol used to establish tunnel with your client gateway (only `ipsec.1` is supported). - """ - return pulumi.get(self, "connection_type") - - @connection_type.setter - def connection_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "connection_type", value) - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> Optional[pulumi.Input[str]]: - """ - The public fixed IPv4 address of your client gateway. - """ - return pulumi.get(self, "public_ip") - - @public_ip.setter - def public_ip(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_ip", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - The state of the client gateway (`pending` \\| `available` \\| `deleting` \\| `deleted`). - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClientGatewayTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ClientGatewayTagArgs']]]]): - pulumi.set(self, "tags", value) - - -class ClientGateway(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - bgp_asn: Optional[pulumi.Input[int]] = None, - connection_type: Optional[pulumi.Input[str]] = None, - public_ip: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClientGatewayTagArgs']]]]] = None, - __props__=None): - """ - Manages a client gateway. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Customer-Gateways.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-clientgateway). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - client_gateway01 = outscale.ClientGateway("clientGateway01", - bgp_asn=65000, - connection_type="ipsec.1", - public_ip="111.11.11.111", - tags=[outscale.ClientGatewayTagArgs( - key="Name", - value="client_gateway_01", - )]) - ``` - - ## Import - - A client gateway can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/clientGateway:ClientGateway ImportedClientGateway cgw-12345678 - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[int] bgp_asn: The Autonomous System Number (ASN) used by the Border Gateway Protocol (BGP) to find the path to your client gateway through the Internet. This number must be between `1` and `4294967295`. - :param pulumi.Input[str] connection_type: The communication protocol used to establish tunnel with your client gateway (only `ipsec.1` is supported). - :param pulumi.Input[str] public_ip: The public fixed IPv4 address of your client gateway. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClientGatewayTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: ClientGatewayArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages a client gateway. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Customer-Gateways.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-clientgateway). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - client_gateway01 = outscale.ClientGateway("clientGateway01", - bgp_asn=65000, - connection_type="ipsec.1", - public_ip="111.11.11.111", - tags=[outscale.ClientGatewayTagArgs( - key="Name", - value="client_gateway_01", - )]) - ``` - - ## Import - - A client gateway can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/clientGateway:ClientGateway ImportedClientGateway cgw-12345678 - ``` - - :param str resource_name: The name of the resource. - :param ClientGatewayArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(ClientGatewayArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - bgp_asn: Optional[pulumi.Input[int]] = None, - connection_type: Optional[pulumi.Input[str]] = None, - public_ip: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClientGatewayTagArgs']]]]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = ClientGatewayArgs.__new__(ClientGatewayArgs) - - if bgp_asn is None and not opts.urn: - raise TypeError("Missing required property 'bgp_asn'") - __props__.__dict__["bgp_asn"] = bgp_asn - if connection_type is None and not opts.urn: - raise TypeError("Missing required property 'connection_type'") - __props__.__dict__["connection_type"] = connection_type - if public_ip is None and not opts.urn: - raise TypeError("Missing required property 'public_ip'") - __props__.__dict__["public_ip"] = public_ip - __props__.__dict__["tags"] = tags - __props__.__dict__["client_gateway_id"] = None - __props__.__dict__["request_id"] = None - __props__.__dict__["state"] = None - super(ClientGateway, __self__).__init__( - 'outscale:index/clientGateway:ClientGateway', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - bgp_asn: Optional[pulumi.Input[int]] = None, - client_gateway_id: Optional[pulumi.Input[str]] = None, - connection_type: Optional[pulumi.Input[str]] = None, - public_ip: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClientGatewayTagArgs']]]]] = None) -> 'ClientGateway': - """ - Get an existing ClientGateway resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[int] bgp_asn: The Autonomous System Number (ASN) used by the Border Gateway Protocol (BGP) to find the path to your client gateway through the Internet. This number must be between `1` and `4294967295`. - :param pulumi.Input[str] client_gateway_id: The ID of the client gateway. - :param pulumi.Input[str] connection_type: The communication protocol used to establish tunnel with your client gateway (only `ipsec.1` is supported). - :param pulumi.Input[str] public_ip: The public fixed IPv4 address of your client gateway. - :param pulumi.Input[str] state: The state of the client gateway (`pending` \\| `available` \\| `deleting` \\| `deleted`). - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClientGatewayTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _ClientGatewayState.__new__(_ClientGatewayState) - - __props__.__dict__["bgp_asn"] = bgp_asn - __props__.__dict__["client_gateway_id"] = client_gateway_id - __props__.__dict__["connection_type"] = connection_type - __props__.__dict__["public_ip"] = public_ip - __props__.__dict__["request_id"] = request_id - __props__.__dict__["state"] = state - __props__.__dict__["tags"] = tags - return ClientGateway(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="bgpAsn") - def bgp_asn(self) -> pulumi.Output[int]: - """ - The Autonomous System Number (ASN) used by the Border Gateway Protocol (BGP) to find the path to your client gateway through the Internet. This number must be between `1` and `4294967295`. - """ - return pulumi.get(self, "bgp_asn") - - @property - @pulumi.getter(name="clientGatewayId") - def client_gateway_id(self) -> pulumi.Output[str]: - """ - The ID of the client gateway. - """ - return pulumi.get(self, "client_gateway_id") - - @property - @pulumi.getter(name="connectionType") - def connection_type(self) -> pulumi.Output[str]: - """ - The communication protocol used to establish tunnel with your client gateway (only `ipsec.1` is supported). - """ - return pulumi.get(self, "connection_type") - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> pulumi.Output[str]: - """ - The public fixed IPv4 address of your client gateway. - """ - return pulumi.get(self, "public_ip") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def state(self) -> pulumi.Output[str]: - """ - The state of the client gateway (`pending` \\| `available` \\| `deleting` \\| `deleted`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Sequence['outputs.ClientGatewayTag']]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - diff --git a/sdk/python/pulumi_outscale/config/__init__.py b/sdk/python/pulumi_outscale/config/__init__.py deleted file mode 100644 index 18853fc..0000000 --- a/sdk/python/pulumi_outscale/config/__init__.py +++ /dev/null @@ -1,8 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import sys -from .vars import _ExportableConfig - -sys.modules[__name__].__class__ = _ExportableConfig diff --git a/sdk/python/pulumi_outscale/config/__init__.pyi b/sdk/python/pulumi_outscale/config/__init__.pyi deleted file mode 100644 index e5d8842..0000000 --- a/sdk/python/pulumi_outscale/config/__init__.pyi +++ /dev/null @@ -1,44 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from .. import _utilities -from . import outputs - -accessKeyId: Optional[str] -""" -The Access Key ID for API operations -""" - -endpoints: Optional[str] - -insecure: Optional[bool] -""" -tls insecure connection -""" - -region: Optional[str] -""" -The Region for API operations. -""" - -secretKeyId: Optional[str] -""" -The Secret Key ID for API operations. -""" - -x509CertPath: Optional[str] -""" -The path to your x509 cert -""" - -x509KeyPath: Optional[str] -""" -The path to your x509 key -""" - diff --git a/sdk/python/pulumi_outscale/config/outputs.py b/sdk/python/pulumi_outscale/config/outputs.py deleted file mode 100644 index a3e9542..0000000 --- a/sdk/python/pulumi_outscale/config/outputs.py +++ /dev/null @@ -1,28 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from .. import _utilities - -__all__ = [ - 'Endpoints', -] - -@pulumi.output_type -class Endpoints(dict): - def __init__(__self__, *, - api: Optional[str] = None): - if api is not None: - pulumi.set(__self__, "api", api) - - @property - @pulumi.getter - def api(self) -> Optional[str]: - return pulumi.get(self, "api") - - diff --git a/sdk/python/pulumi_outscale/config/vars.py b/sdk/python/pulumi_outscale/config/vars.py deleted file mode 100644 index 558602e..0000000 --- a/sdk/python/pulumi_outscale/config/vars.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from .. import _utilities -from . import outputs - -import types - -__config__ = pulumi.Config('outscale') - - -class _ExportableConfig(types.ModuleType): - @property - def access_key_id(self) -> Optional[str]: - """ - The Access Key ID for API operations - """ - return __config__.get('accessKeyId') or _utilities.get_env('OUTSCALE_ACCESSKEYID') - - @property - def endpoints(self) -> Optional[str]: - return __config__.get('endpoints') - - @property - def insecure(self) -> Optional[bool]: - """ - tls insecure connection - """ - return __config__.get_bool('insecure') - - @property - def region(self) -> Optional[str]: - """ - The Region for API operations. - """ - return __config__.get('region') or _utilities.get_env('OUTSCALE_REGION') - - @property - def secret_key_id(self) -> Optional[str]: - """ - The Secret Key ID for API operations. - """ - return __config__.get('secretKeyId') or _utilities.get_env('OUTSCALE_SECRETKEYID') - - @property - def x509_cert_path(self) -> Optional[str]: - """ - The path to your x509 cert - """ - return __config__.get('x509CertPath') - - @property - def x509_key_path(self) -> Optional[str]: - """ - The path to your x509 key - """ - return __config__.get('x509KeyPath') - diff --git a/sdk/python/pulumi_outscale/dhcp_option.py b/sdk/python/pulumi_outscale/dhcp_option.py deleted file mode 100644 index 82223c7..0000000 --- a/sdk/python/pulumi_outscale/dhcp_option.py +++ /dev/null @@ -1,495 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['DhcpOptionArgs', 'DhcpOption'] - -@pulumi.input_type -class DhcpOptionArgs: - def __init__(__self__, *, - domain_name: Optional[pulumi.Input[str]] = None, - domain_name_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - log_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - ntp_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['DhcpOptionTagArgs']]]] = None): - """ - The set of arguments for constructing a DhcpOption resource. - :param pulumi.Input[str] domain_name: Specify a domain name (for example, MyCompany.com). You can specify only one domain name. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - :param pulumi.Input[Sequence[pulumi.Input[str]]] domain_name_servers: The IPs of domain name servers. If no IPs are specified, the `OutscaleProvidedDNS` value is set by default. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - :param pulumi.Input[Sequence[pulumi.Input[str]]] log_servers: The IPs of the log servers. You must specify at least one of the following parameters: `domain_name`, `domain_name_servers`, `log_servers`, or `ntp_servers`. - :param pulumi.Input[Sequence[pulumi.Input[str]]] ntp_servers: The IPs of the Network Time Protocol (NTP) servers. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - :param pulumi.Input[Sequence[pulumi.Input['DhcpOptionTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - """ - if domain_name is not None: - pulumi.set(__self__, "domain_name", domain_name) - if domain_name_servers is not None: - pulumi.set(__self__, "domain_name_servers", domain_name_servers) - if log_servers is not None: - pulumi.set(__self__, "log_servers", log_servers) - if ntp_servers is not None: - pulumi.set(__self__, "ntp_servers", ntp_servers) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="domainName") - def domain_name(self) -> Optional[pulumi.Input[str]]: - """ - Specify a domain name (for example, MyCompany.com). You can specify only one domain name. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - """ - return pulumi.get(self, "domain_name") - - @domain_name.setter - def domain_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "domain_name", value) - - @property - @pulumi.getter(name="domainNameServers") - def domain_name_servers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - The IPs of domain name servers. If no IPs are specified, the `OutscaleProvidedDNS` value is set by default. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - """ - return pulumi.get(self, "domain_name_servers") - - @domain_name_servers.setter - def domain_name_servers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "domain_name_servers", value) - - @property - @pulumi.getter(name="logServers") - def log_servers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - The IPs of the log servers. You must specify at least one of the following parameters: `domain_name`, `domain_name_servers`, `log_servers`, or `ntp_servers`. - """ - return pulumi.get(self, "log_servers") - - @log_servers.setter - def log_servers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "log_servers", value) - - @property - @pulumi.getter(name="ntpServers") - def ntp_servers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - The IPs of the Network Time Protocol (NTP) servers. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - """ - return pulumi.get(self, "ntp_servers") - - @ntp_servers.setter - def ntp_servers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "ntp_servers", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DhcpOptionTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DhcpOptionTagArgs']]]]): - pulumi.set(self, "tags", value) - - -@pulumi.input_type -class _DhcpOptionState: - def __init__(__self__, *, - default: Optional[pulumi.Input[bool]] = None, - dhcp_options_set_id: Optional[pulumi.Input[str]] = None, - domain_name: Optional[pulumi.Input[str]] = None, - domain_name_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - log_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - ntp_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - request_id: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['DhcpOptionTagArgs']]]] = None): - """ - Input properties used for looking up and filtering DhcpOption resources. - :param pulumi.Input[bool] default: If true, the DHCP options set is a default one. If false, it is not. - :param pulumi.Input[str] dhcp_options_set_id: The ID of the DHCP options set. - :param pulumi.Input[str] domain_name: Specify a domain name (for example, MyCompany.com). You can specify only one domain name. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - :param pulumi.Input[Sequence[pulumi.Input[str]]] domain_name_servers: The IPs of domain name servers. If no IPs are specified, the `OutscaleProvidedDNS` value is set by default. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - :param pulumi.Input[Sequence[pulumi.Input[str]]] log_servers: The IPs of the log servers. You must specify at least one of the following parameters: `domain_name`, `domain_name_servers`, `log_servers`, or `ntp_servers`. - :param pulumi.Input[Sequence[pulumi.Input[str]]] ntp_servers: The IPs of the Network Time Protocol (NTP) servers. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - :param pulumi.Input[Sequence[pulumi.Input['DhcpOptionTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - """ - if default is not None: - pulumi.set(__self__, "default", default) - if dhcp_options_set_id is not None: - pulumi.set(__self__, "dhcp_options_set_id", dhcp_options_set_id) - if domain_name is not None: - pulumi.set(__self__, "domain_name", domain_name) - if domain_name_servers is not None: - pulumi.set(__self__, "domain_name_servers", domain_name_servers) - if log_servers is not None: - pulumi.set(__self__, "log_servers", log_servers) - if ntp_servers is not None: - pulumi.set(__self__, "ntp_servers", ntp_servers) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter - def default(self) -> Optional[pulumi.Input[bool]]: - """ - If true, the DHCP options set is a default one. If false, it is not. - """ - return pulumi.get(self, "default") - - @default.setter - def default(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "default", value) - - @property - @pulumi.getter(name="dhcpOptionsSetId") - def dhcp_options_set_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the DHCP options set. - """ - return pulumi.get(self, "dhcp_options_set_id") - - @dhcp_options_set_id.setter - def dhcp_options_set_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "dhcp_options_set_id", value) - - @property - @pulumi.getter(name="domainName") - def domain_name(self) -> Optional[pulumi.Input[str]]: - """ - Specify a domain name (for example, MyCompany.com). You can specify only one domain name. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - """ - return pulumi.get(self, "domain_name") - - @domain_name.setter - def domain_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "domain_name", value) - - @property - @pulumi.getter(name="domainNameServers") - def domain_name_servers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - The IPs of domain name servers. If no IPs are specified, the `OutscaleProvidedDNS` value is set by default. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - """ - return pulumi.get(self, "domain_name_servers") - - @domain_name_servers.setter - def domain_name_servers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "domain_name_servers", value) - - @property - @pulumi.getter(name="logServers") - def log_servers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - The IPs of the log servers. You must specify at least one of the following parameters: `domain_name`, `domain_name_servers`, `log_servers`, or `ntp_servers`. - """ - return pulumi.get(self, "log_servers") - - @log_servers.setter - def log_servers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "log_servers", value) - - @property - @pulumi.getter(name="ntpServers") - def ntp_servers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - The IPs of the Network Time Protocol (NTP) servers. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - """ - return pulumi.get(self, "ntp_servers") - - @ntp_servers.setter - def ntp_servers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "ntp_servers", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DhcpOptionTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DhcpOptionTagArgs']]]]): - pulumi.set(self, "tags", value) - - -class DhcpOption(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - domain_name: Optional[pulumi.Input[str]] = None, - domain_name_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - log_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - ntp_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DhcpOptionTagArgs']]]]] = None, - __props__=None): - """ - Manages a DHCP option. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-DHCP-Options.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-dhcpoption). - - ## Example Usage - ### Create a basic DHCP options set - - ```python - import pulumi - import pulumi_outscale as outscale - - dhcp_option01 = outscale.DhcpOption("dhcpOption01", domain_name="MyCompany.com") - ``` - ### Create a complete DHCP options set - - ```python - import pulumi - import pulumi_outscale as outscale - - dhcp_option02 = outscale.DhcpOption("dhcpOption02", - domain_name="MyCompany.com", - domain_name_servers=[ - "111.111.11.111", - "222.222.22.222", - ], - ntp_servers=[ - "111.1.1.1", - "222.2.2.2", - ], - tags=[outscale.DhcpOptionTagArgs( - key="Name", - value="DHCP01", - )]) - ``` - - ## Import - - DHCP options can be imported using the DHCP option ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/dhcpOption:DhcpOption ImportedDhcpSet dopt-87654321 - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] domain_name: Specify a domain name (for example, MyCompany.com). You can specify only one domain name. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - :param pulumi.Input[Sequence[pulumi.Input[str]]] domain_name_servers: The IPs of domain name servers. If no IPs are specified, the `OutscaleProvidedDNS` value is set by default. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - :param pulumi.Input[Sequence[pulumi.Input[str]]] log_servers: The IPs of the log servers. You must specify at least one of the following parameters: `domain_name`, `domain_name_servers`, `log_servers`, or `ntp_servers`. - :param pulumi.Input[Sequence[pulumi.Input[str]]] ntp_servers: The IPs of the Network Time Protocol (NTP) servers. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DhcpOptionTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: Optional[DhcpOptionArgs] = None, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages a DHCP option. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-DHCP-Options.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-dhcpoption). - - ## Example Usage - ### Create a basic DHCP options set - - ```python - import pulumi - import pulumi_outscale as outscale - - dhcp_option01 = outscale.DhcpOption("dhcpOption01", domain_name="MyCompany.com") - ``` - ### Create a complete DHCP options set - - ```python - import pulumi - import pulumi_outscale as outscale - - dhcp_option02 = outscale.DhcpOption("dhcpOption02", - domain_name="MyCompany.com", - domain_name_servers=[ - "111.111.11.111", - "222.222.22.222", - ], - ntp_servers=[ - "111.1.1.1", - "222.2.2.2", - ], - tags=[outscale.DhcpOptionTagArgs( - key="Name", - value="DHCP01", - )]) - ``` - - ## Import - - DHCP options can be imported using the DHCP option ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/dhcpOption:DhcpOption ImportedDhcpSet dopt-87654321 - ``` - - :param str resource_name: The name of the resource. - :param DhcpOptionArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(DhcpOptionArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - domain_name: Optional[pulumi.Input[str]] = None, - domain_name_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - log_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - ntp_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DhcpOptionTagArgs']]]]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = DhcpOptionArgs.__new__(DhcpOptionArgs) - - __props__.__dict__["domain_name"] = domain_name - __props__.__dict__["domain_name_servers"] = domain_name_servers - __props__.__dict__["log_servers"] = log_servers - __props__.__dict__["ntp_servers"] = ntp_servers - __props__.__dict__["tags"] = tags - __props__.__dict__["default"] = None - __props__.__dict__["dhcp_options_set_id"] = None - __props__.__dict__["request_id"] = None - super(DhcpOption, __self__).__init__( - 'outscale:index/dhcpOption:DhcpOption', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - default: Optional[pulumi.Input[bool]] = None, - dhcp_options_set_id: Optional[pulumi.Input[str]] = None, - domain_name: Optional[pulumi.Input[str]] = None, - domain_name_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - log_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - ntp_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - request_id: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DhcpOptionTagArgs']]]]] = None) -> 'DhcpOption': - """ - Get an existing DhcpOption resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[bool] default: If true, the DHCP options set is a default one. If false, it is not. - :param pulumi.Input[str] dhcp_options_set_id: The ID of the DHCP options set. - :param pulumi.Input[str] domain_name: Specify a domain name (for example, MyCompany.com). You can specify only one domain name. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - :param pulumi.Input[Sequence[pulumi.Input[str]]] domain_name_servers: The IPs of domain name servers. If no IPs are specified, the `OutscaleProvidedDNS` value is set by default. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - :param pulumi.Input[Sequence[pulumi.Input[str]]] log_servers: The IPs of the log servers. You must specify at least one of the following parameters: `domain_name`, `domain_name_servers`, `log_servers`, or `ntp_servers`. - :param pulumi.Input[Sequence[pulumi.Input[str]]] ntp_servers: The IPs of the Network Time Protocol (NTP) servers. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DhcpOptionTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _DhcpOptionState.__new__(_DhcpOptionState) - - __props__.__dict__["default"] = default - __props__.__dict__["dhcp_options_set_id"] = dhcp_options_set_id - __props__.__dict__["domain_name"] = domain_name - __props__.__dict__["domain_name_servers"] = domain_name_servers - __props__.__dict__["log_servers"] = log_servers - __props__.__dict__["ntp_servers"] = ntp_servers - __props__.__dict__["request_id"] = request_id - __props__.__dict__["tags"] = tags - return DhcpOption(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter - def default(self) -> pulumi.Output[bool]: - """ - If true, the DHCP options set is a default one. If false, it is not. - """ - return pulumi.get(self, "default") - - @property - @pulumi.getter(name="dhcpOptionsSetId") - def dhcp_options_set_id(self) -> pulumi.Output[str]: - """ - The ID of the DHCP options set. - """ - return pulumi.get(self, "dhcp_options_set_id") - - @property - @pulumi.getter(name="domainName") - def domain_name(self) -> pulumi.Output[str]: - """ - Specify a domain name (for example, MyCompany.com). You can specify only one domain name. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - """ - return pulumi.get(self, "domain_name") - - @property - @pulumi.getter(name="domainNameServers") - def domain_name_servers(self) -> pulumi.Output[Sequence[str]]: - """ - The IPs of domain name servers. If no IPs are specified, the `OutscaleProvidedDNS` value is set by default. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - """ - return pulumi.get(self, "domain_name_servers") - - @property - @pulumi.getter(name="logServers") - def log_servers(self) -> pulumi.Output[Sequence[str]]: - """ - The IPs of the log servers. You must specify at least one of the following parameters: `domain_name`, `domain_name_servers`, `log_servers`, or `ntp_servers`. - """ - return pulumi.get(self, "log_servers") - - @property - @pulumi.getter(name="ntpServers") - def ntp_servers(self) -> pulumi.Output[Sequence[str]]: - """ - The IPs of the Network Time Protocol (NTP) servers. You must specify at least one of the following parameters: `DomainName`, `DomainNameServers`, or `NtpServers`. - """ - return pulumi.get(self, "ntp_servers") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Sequence['outputs.DhcpOptionTag']]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - diff --git a/sdk/python/pulumi_outscale/flexible_gpu.py b/sdk/python/pulumi_outscale/flexible_gpu.py deleted file mode 100644 index 1688f87..0000000 --- a/sdk/python/pulumi_outscale/flexible_gpu.py +++ /dev/null @@ -1,442 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities - -__all__ = ['FlexibleGpuArgs', 'FlexibleGpu'] - -@pulumi.input_type -class FlexibleGpuArgs: - def __init__(__self__, *, - model_name: pulumi.Input[str], - subregion_name: pulumi.Input[str], - delete_on_vm_deletion: Optional[pulumi.Input[bool]] = None, - generation: Optional[pulumi.Input[str]] = None): - """ - The set of arguments for constructing a FlexibleGpu resource. - :param pulumi.Input[str] model_name: The model of fGPU you want to allocate. For more information, see [About Flexible GPUs](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html). - :param pulumi.Input[str] subregion_name: The Subregion in which you want to create the fGPU. - :param pulumi.Input[bool] delete_on_vm_deletion: If true, the fGPU is deleted when the VM is terminated. - :param pulumi.Input[str] generation: The processor generation that the fGPU must be compatible with. If not specified, the oldest possible processor generation is selected (as provided by [ReadFlexibleGpuCatalog](https://docs.outscale.com/api#readflexiblegpucatalog) for the specified model of fGPU). - """ - pulumi.set(__self__, "model_name", model_name) - pulumi.set(__self__, "subregion_name", subregion_name) - if delete_on_vm_deletion is not None: - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - if generation is not None: - pulumi.set(__self__, "generation", generation) - - @property - @pulumi.getter(name="modelName") - def model_name(self) -> pulumi.Input[str]: - """ - The model of fGPU you want to allocate. For more information, see [About Flexible GPUs](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html). - """ - return pulumi.get(self, "model_name") - - @model_name.setter - def model_name(self, value: pulumi.Input[str]): - pulumi.set(self, "model_name", value) - - @property - @pulumi.getter(name="subregionName") - def subregion_name(self) -> pulumi.Input[str]: - """ - The Subregion in which you want to create the fGPU. - """ - return pulumi.get(self, "subregion_name") - - @subregion_name.setter - def subregion_name(self, value: pulumi.Input[str]): - pulumi.set(self, "subregion_name", value) - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> Optional[pulumi.Input[bool]]: - """ - If true, the fGPU is deleted when the VM is terminated. - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @delete_on_vm_deletion.setter - def delete_on_vm_deletion(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "delete_on_vm_deletion", value) - - @property - @pulumi.getter - def generation(self) -> Optional[pulumi.Input[str]]: - """ - The processor generation that the fGPU must be compatible with. If not specified, the oldest possible processor generation is selected (as provided by [ReadFlexibleGpuCatalog](https://docs.outscale.com/api#readflexiblegpucatalog) for the specified model of fGPU). - """ - return pulumi.get(self, "generation") - - @generation.setter - def generation(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "generation", value) - - -@pulumi.input_type -class _FlexibleGpuState: - def __init__(__self__, *, - delete_on_vm_deletion: Optional[pulumi.Input[bool]] = None, - flexible_gpu_id: Optional[pulumi.Input[str]] = None, - generation: Optional[pulumi.Input[str]] = None, - model_name: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - subregion_name: Optional[pulumi.Input[str]] = None, - vm_id: Optional[pulumi.Input[str]] = None): - """ - Input properties used for looking up and filtering FlexibleGpu resources. - :param pulumi.Input[bool] delete_on_vm_deletion: If true, the fGPU is deleted when the VM is terminated. - :param pulumi.Input[str] flexible_gpu_id: The ID of the fGPU. - :param pulumi.Input[str] generation: The processor generation that the fGPU must be compatible with. If not specified, the oldest possible processor generation is selected (as provided by [ReadFlexibleGpuCatalog](https://docs.outscale.com/api#readflexiblegpucatalog) for the specified model of fGPU). - :param pulumi.Input[str] model_name: The model of fGPU you want to allocate. For more information, see [About Flexible GPUs](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html). - :param pulumi.Input[str] state: The state of the fGPU (`allocated` \\| `attaching` \\| `attached` \\| `detaching`). - :param pulumi.Input[str] subregion_name: The Subregion in which you want to create the fGPU. - :param pulumi.Input[str] vm_id: The ID of the VM the fGPU is attached to, if any. - """ - if delete_on_vm_deletion is not None: - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - if flexible_gpu_id is not None: - pulumi.set(__self__, "flexible_gpu_id", flexible_gpu_id) - if generation is not None: - pulumi.set(__self__, "generation", generation) - if model_name is not None: - pulumi.set(__self__, "model_name", model_name) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if state is not None: - pulumi.set(__self__, "state", state) - if subregion_name is not None: - pulumi.set(__self__, "subregion_name", subregion_name) - if vm_id is not None: - pulumi.set(__self__, "vm_id", vm_id) - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> Optional[pulumi.Input[bool]]: - """ - If true, the fGPU is deleted when the VM is terminated. - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @delete_on_vm_deletion.setter - def delete_on_vm_deletion(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "delete_on_vm_deletion", value) - - @property - @pulumi.getter(name="flexibleGpuId") - def flexible_gpu_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the fGPU. - """ - return pulumi.get(self, "flexible_gpu_id") - - @flexible_gpu_id.setter - def flexible_gpu_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "flexible_gpu_id", value) - - @property - @pulumi.getter - def generation(self) -> Optional[pulumi.Input[str]]: - """ - The processor generation that the fGPU must be compatible with. If not specified, the oldest possible processor generation is selected (as provided by [ReadFlexibleGpuCatalog](https://docs.outscale.com/api#readflexiblegpucatalog) for the specified model of fGPU). - """ - return pulumi.get(self, "generation") - - @generation.setter - def generation(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "generation", value) - - @property - @pulumi.getter(name="modelName") - def model_name(self) -> Optional[pulumi.Input[str]]: - """ - The model of fGPU you want to allocate. For more information, see [About Flexible GPUs](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html). - """ - return pulumi.get(self, "model_name") - - @model_name.setter - def model_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "model_name", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - The state of the fGPU (`allocated` \\| `attaching` \\| `attached` \\| `detaching`). - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - @property - @pulumi.getter(name="subregionName") - def subregion_name(self) -> Optional[pulumi.Input[str]]: - """ - The Subregion in which you want to create the fGPU. - """ - return pulumi.get(self, "subregion_name") - - @subregion_name.setter - def subregion_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "subregion_name", value) - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the VM the fGPU is attached to, if any. - """ - return pulumi.get(self, "vm_id") - - @vm_id.setter - def vm_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "vm_id", value) - - -class FlexibleGpu(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - delete_on_vm_deletion: Optional[pulumi.Input[bool]] = None, - generation: Optional[pulumi.Input[str]] = None, - model_name: Optional[pulumi.Input[str]] = None, - subregion_name: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - Manages a flexible GPU. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-flexiblegpu). - - ## Example Usage - ### Create a flexible GPU - - ```python - import pulumi - import pulumi_outscale as outscale - - flexible_gpu01 = outscale.FlexibleGpu("flexibleGpu01", - model_name=var["model_name"], - generation="v4", - subregion_name=f"{var['region']}a", - delete_on_vm_deletion=True) - ``` - - ## Import - - A flexible GPU can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/flexibleGpu:FlexibleGpu imported_fgpu fgpu-12345678 - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[bool] delete_on_vm_deletion: If true, the fGPU is deleted when the VM is terminated. - :param pulumi.Input[str] generation: The processor generation that the fGPU must be compatible with. If not specified, the oldest possible processor generation is selected (as provided by [ReadFlexibleGpuCatalog](https://docs.outscale.com/api#readflexiblegpucatalog) for the specified model of fGPU). - :param pulumi.Input[str] model_name: The model of fGPU you want to allocate. For more information, see [About Flexible GPUs](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html). - :param pulumi.Input[str] subregion_name: The Subregion in which you want to create the fGPU. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: FlexibleGpuArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages a flexible GPU. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-flexiblegpu). - - ## Example Usage - ### Create a flexible GPU - - ```python - import pulumi - import pulumi_outscale as outscale - - flexible_gpu01 = outscale.FlexibleGpu("flexibleGpu01", - model_name=var["model_name"], - generation="v4", - subregion_name=f"{var['region']}a", - delete_on_vm_deletion=True) - ``` - - ## Import - - A flexible GPU can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/flexibleGpu:FlexibleGpu imported_fgpu fgpu-12345678 - ``` - - :param str resource_name: The name of the resource. - :param FlexibleGpuArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(FlexibleGpuArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - delete_on_vm_deletion: Optional[pulumi.Input[bool]] = None, - generation: Optional[pulumi.Input[str]] = None, - model_name: Optional[pulumi.Input[str]] = None, - subregion_name: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = FlexibleGpuArgs.__new__(FlexibleGpuArgs) - - __props__.__dict__["delete_on_vm_deletion"] = delete_on_vm_deletion - __props__.__dict__["generation"] = generation - if model_name is None and not opts.urn: - raise TypeError("Missing required property 'model_name'") - __props__.__dict__["model_name"] = model_name - if subregion_name is None and not opts.urn: - raise TypeError("Missing required property 'subregion_name'") - __props__.__dict__["subregion_name"] = subregion_name - __props__.__dict__["flexible_gpu_id"] = None - __props__.__dict__["request_id"] = None - __props__.__dict__["state"] = None - __props__.__dict__["vm_id"] = None - super(FlexibleGpu, __self__).__init__( - 'outscale:index/flexibleGpu:FlexibleGpu', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - delete_on_vm_deletion: Optional[pulumi.Input[bool]] = None, - flexible_gpu_id: Optional[pulumi.Input[str]] = None, - generation: Optional[pulumi.Input[str]] = None, - model_name: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - subregion_name: Optional[pulumi.Input[str]] = None, - vm_id: Optional[pulumi.Input[str]] = None) -> 'FlexibleGpu': - """ - Get an existing FlexibleGpu resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[bool] delete_on_vm_deletion: If true, the fGPU is deleted when the VM is terminated. - :param pulumi.Input[str] flexible_gpu_id: The ID of the fGPU. - :param pulumi.Input[str] generation: The processor generation that the fGPU must be compatible with. If not specified, the oldest possible processor generation is selected (as provided by [ReadFlexibleGpuCatalog](https://docs.outscale.com/api#readflexiblegpucatalog) for the specified model of fGPU). - :param pulumi.Input[str] model_name: The model of fGPU you want to allocate. For more information, see [About Flexible GPUs](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html). - :param pulumi.Input[str] state: The state of the fGPU (`allocated` \\| `attaching` \\| `attached` \\| `detaching`). - :param pulumi.Input[str] subregion_name: The Subregion in which you want to create the fGPU. - :param pulumi.Input[str] vm_id: The ID of the VM the fGPU is attached to, if any. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _FlexibleGpuState.__new__(_FlexibleGpuState) - - __props__.__dict__["delete_on_vm_deletion"] = delete_on_vm_deletion - __props__.__dict__["flexible_gpu_id"] = flexible_gpu_id - __props__.__dict__["generation"] = generation - __props__.__dict__["model_name"] = model_name - __props__.__dict__["request_id"] = request_id - __props__.__dict__["state"] = state - __props__.__dict__["subregion_name"] = subregion_name - __props__.__dict__["vm_id"] = vm_id - return FlexibleGpu(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> pulumi.Output[bool]: - """ - If true, the fGPU is deleted when the VM is terminated. - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @property - @pulumi.getter(name="flexibleGpuId") - def flexible_gpu_id(self) -> pulumi.Output[str]: - """ - The ID of the fGPU. - """ - return pulumi.get(self, "flexible_gpu_id") - - @property - @pulumi.getter - def generation(self) -> pulumi.Output[str]: - """ - The processor generation that the fGPU must be compatible with. If not specified, the oldest possible processor generation is selected (as provided by [ReadFlexibleGpuCatalog](https://docs.outscale.com/api#readflexiblegpucatalog) for the specified model of fGPU). - """ - return pulumi.get(self, "generation") - - @property - @pulumi.getter(name="modelName") - def model_name(self) -> pulumi.Output[str]: - """ - The model of fGPU you want to allocate. For more information, see [About Flexible GPUs](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html). - """ - return pulumi.get(self, "model_name") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def state(self) -> pulumi.Output[str]: - """ - The state of the fGPU (`allocated` \\| `attaching` \\| `attached` \\| `detaching`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="subregionName") - def subregion_name(self) -> pulumi.Output[str]: - """ - The Subregion in which you want to create the fGPU. - """ - return pulumi.get(self, "subregion_name") - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> pulumi.Output[str]: - """ - The ID of the VM the fGPU is attached to, if any. - """ - return pulumi.get(self, "vm_id") - diff --git a/sdk/python/pulumi_outscale/flexible_gpu_link.py b/sdk/python/pulumi_outscale/flexible_gpu_link.py deleted file mode 100644 index 0bdd062..0000000 --- a/sdk/python/pulumi_outscale/flexible_gpu_link.py +++ /dev/null @@ -1,265 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities - -__all__ = ['FlexibleGpuLinkArgs', 'FlexibleGpuLink'] - -@pulumi.input_type -class FlexibleGpuLinkArgs: - def __init__(__self__, *, - flexible_gpu_ids: pulumi.Input[Sequence[pulumi.Input[str]]], - vm_id: pulumi.Input[str]): - """ - The set of arguments for constructing a FlexibleGpuLink resource. - :param pulumi.Input[str] vm_id: The ID of the VM you want to attach the fGPU to. - """ - pulumi.set(__self__, "flexible_gpu_ids", flexible_gpu_ids) - pulumi.set(__self__, "vm_id", vm_id) - - @property - @pulumi.getter(name="flexibleGpuIds") - def flexible_gpu_ids(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: - return pulumi.get(self, "flexible_gpu_ids") - - @flexible_gpu_ids.setter - def flexible_gpu_ids(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): - pulumi.set(self, "flexible_gpu_ids", value) - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> pulumi.Input[str]: - """ - The ID of the VM you want to attach the fGPU to. - """ - return pulumi.get(self, "vm_id") - - @vm_id.setter - def vm_id(self, value: pulumi.Input[str]): - pulumi.set(self, "vm_id", value) - - -@pulumi.input_type -class _FlexibleGpuLinkState: - def __init__(__self__, *, - flexible_gpu_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - request_id: Optional[pulumi.Input[str]] = None, - vm_id: Optional[pulumi.Input[str]] = None): - """ - Input properties used for looking up and filtering FlexibleGpuLink resources. - :param pulumi.Input[str] vm_id: The ID of the VM you want to attach the fGPU to. - """ - if flexible_gpu_ids is not None: - pulumi.set(__self__, "flexible_gpu_ids", flexible_gpu_ids) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if vm_id is not None: - pulumi.set(__self__, "vm_id", vm_id) - - @property - @pulumi.getter(name="flexibleGpuIds") - def flexible_gpu_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "flexible_gpu_ids") - - @flexible_gpu_ids.setter - def flexible_gpu_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "flexible_gpu_ids", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the VM you want to attach the fGPU to. - """ - return pulumi.get(self, "vm_id") - - @vm_id.setter - def vm_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "vm_id", value) - - -class FlexibleGpuLink(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - flexible_gpu_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - vm_id: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - Manages a flexible GPU link. - - When linking a flexible GPU to a VM, the VM will automatically be stopped and started again. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-flexiblegpu). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - vm01 = outscale.Vm("vm01", - image_id=ami_12345678, - vm_type=t2["small"], - keypair_name=var["keypair_name"], - placement_subregion_name="eu-west-2a") - flexible_gpu01 = outscale.FlexibleGpu("flexibleGpu01", - model_name=var["model_name"], - generation="v4", - subregion_name="eu-west-2a", - delete_on_vm_deletion=True) - ``` - - ## Import - - A flexible GPU link can be imported using the flexible GPU ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/flexibleGpuLink:FlexibleGpuLink imported_link_fgpu fgpu-12345678 - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] vm_id: The ID of the VM you want to attach the fGPU to. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: FlexibleGpuLinkArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages a flexible GPU link. - - When linking a flexible GPU to a VM, the VM will automatically be stopped and started again. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-flexiblegpu). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - vm01 = outscale.Vm("vm01", - image_id=ami_12345678, - vm_type=t2["small"], - keypair_name=var["keypair_name"], - placement_subregion_name="eu-west-2a") - flexible_gpu01 = outscale.FlexibleGpu("flexibleGpu01", - model_name=var["model_name"], - generation="v4", - subregion_name="eu-west-2a", - delete_on_vm_deletion=True) - ``` - - ## Import - - A flexible GPU link can be imported using the flexible GPU ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/flexibleGpuLink:FlexibleGpuLink imported_link_fgpu fgpu-12345678 - ``` - - :param str resource_name: The name of the resource. - :param FlexibleGpuLinkArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(FlexibleGpuLinkArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - flexible_gpu_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - vm_id: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = FlexibleGpuLinkArgs.__new__(FlexibleGpuLinkArgs) - - if flexible_gpu_ids is None and not opts.urn: - raise TypeError("Missing required property 'flexible_gpu_ids'") - __props__.__dict__["flexible_gpu_ids"] = flexible_gpu_ids - if vm_id is None and not opts.urn: - raise TypeError("Missing required property 'vm_id'") - __props__.__dict__["vm_id"] = vm_id - __props__.__dict__["request_id"] = None - super(FlexibleGpuLink, __self__).__init__( - 'outscale:index/flexibleGpuLink:FlexibleGpuLink', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - flexible_gpu_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - request_id: Optional[pulumi.Input[str]] = None, - vm_id: Optional[pulumi.Input[str]] = None) -> 'FlexibleGpuLink': - """ - Get an existing FlexibleGpuLink resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] vm_id: The ID of the VM you want to attach the fGPU to. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _FlexibleGpuLinkState.__new__(_FlexibleGpuLinkState) - - __props__.__dict__["flexible_gpu_ids"] = flexible_gpu_ids - __props__.__dict__["request_id"] = request_id - __props__.__dict__["vm_id"] = vm_id - return FlexibleGpuLink(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="flexibleGpuIds") - def flexible_gpu_ids(self) -> pulumi.Output[Sequence[str]]: - return pulumi.get(self, "flexible_gpu_ids") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> pulumi.Output[str]: - """ - The ID of the VM you want to attach the fGPU to. - """ - return pulumi.get(self, "vm_id") - diff --git a/sdk/python/pulumi_outscale/get_access_key.py b/sdk/python/pulumi_outscale/get_access_key.py deleted file mode 100644 index 2062ad0..0000000 --- a/sdk/python/pulumi_outscale/get_access_key.py +++ /dev/null @@ -1,200 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetAccessKeyResult', - 'AwaitableGetAccessKeyResult', - 'get_access_key', - 'get_access_key_output', -] - -@pulumi.output_type -class GetAccessKeyResult: - """ - A collection of values returned by getAccessKey. - """ - def __init__(__self__, access_key_id=None, creation_date=None, expiration_date=None, filters=None, id=None, last_modification_date=None, request_id=None, state=None): - if access_key_id and not isinstance(access_key_id, str): - raise TypeError("Expected argument 'access_key_id' to be a str") - pulumi.set(__self__, "access_key_id", access_key_id) - if creation_date and not isinstance(creation_date, str): - raise TypeError("Expected argument 'creation_date' to be a str") - pulumi.set(__self__, "creation_date", creation_date) - if expiration_date and not isinstance(expiration_date, str): - raise TypeError("Expected argument 'expiration_date' to be a str") - pulumi.set(__self__, "expiration_date", expiration_date) - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if last_modification_date and not isinstance(last_modification_date, str): - raise TypeError("Expected argument 'last_modification_date' to be a str") - pulumi.set(__self__, "last_modification_date", last_modification_date) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if state and not isinstance(state, str): - raise TypeError("Expected argument 'state' to be a str") - pulumi.set(__self__, "state", state) - - @property - @pulumi.getter(name="accessKeyId") - def access_key_id(self) -> Optional[str]: - """ - The ID of the access key. - """ - return pulumi.get(self, "access_key_id") - - @property - @pulumi.getter(name="creationDate") - def creation_date(self) -> str: - """ - The date and time (UTC) of creation of the access key. - """ - return pulumi.get(self, "creation_date") - - @property - @pulumi.getter(name="expirationDate") - def expiration_date(self) -> str: - """ - The date (UTC) at which the access key expires. - """ - return pulumi.get(self, "expiration_date") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetAccessKeyFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="lastModificationDate") - def last_modification_date(self) -> str: - """ - The date and time (UTC) of the last modification of the access key. - """ - return pulumi.get(self, "last_modification_date") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def state(self) -> Optional[str]: - """ - The state of the access key (`ACTIVE` if the key is valid for API calls, or `INACTIVE` if not). - """ - return pulumi.get(self, "state") - - -class AwaitableGetAccessKeyResult(GetAccessKeyResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetAccessKeyResult( - access_key_id=self.access_key_id, - creation_date=self.creation_date, - expiration_date=self.expiration_date, - filters=self.filters, - id=self.id, - last_modification_date=self.last_modification_date, - request_id=self.request_id, - state=self.state) - - -def get_access_key(access_key_id: Optional[str] = None, - filters: Optional[Sequence[pulumi.InputType['GetAccessKeyFilterArgs']]] = None, - state: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAccessKeyResult: - """ - Provides information about an access key. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Access-Keys.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-accesskey). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - access_key01 = outscale.get_access_key(filters=[outscale.GetAccessKeyFilterArgs( - name="access_key_ids", - values=["ABCDEFGHIJ0123456789"], - )]) - ``` - - - :param str access_key_id: The ID of the access key. - :param Sequence[pulumi.InputType['GetAccessKeyFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param str state: The state of the access key (`ACTIVE` if the key is valid for API calls, or `INACTIVE` if not). - """ - __args__ = dict() - __args__['accessKeyId'] = access_key_id - __args__['filters'] = filters - __args__['state'] = state - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getAccessKey:getAccessKey', __args__, opts=opts, typ=GetAccessKeyResult).value - - return AwaitableGetAccessKeyResult( - access_key_id=pulumi.get(__ret__, 'access_key_id'), - creation_date=pulumi.get(__ret__, 'creation_date'), - expiration_date=pulumi.get(__ret__, 'expiration_date'), - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - last_modification_date=pulumi.get(__ret__, 'last_modification_date'), - request_id=pulumi.get(__ret__, 'request_id'), - state=pulumi.get(__ret__, 'state')) - - -@_utilities.lift_output_func(get_access_key) -def get_access_key_output(access_key_id: Optional[pulumi.Input[Optional[str]]] = None, - filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetAccessKeyFilterArgs']]]]] = None, - state: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccessKeyResult]: - """ - Provides information about an access key. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Access-Keys.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-accesskey). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - access_key01 = outscale.get_access_key(filters=[outscale.GetAccessKeyFilterArgs( - name="access_key_ids", - values=["ABCDEFGHIJ0123456789"], - )]) - ``` - - - :param str access_key_id: The ID of the access key. - :param Sequence[pulumi.InputType['GetAccessKeyFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param str state: The state of the access key (`ACTIVE` if the key is valid for API calls, or `INACTIVE` if not). - """ - ... diff --git a/sdk/python/pulumi_outscale/get_access_keys.py b/sdk/python/pulumi_outscale/get_access_keys.py deleted file mode 100644 index 81e7101..0000000 --- a/sdk/python/pulumi_outscale/get_access_keys.py +++ /dev/null @@ -1,174 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetAccessKeysResult', - 'AwaitableGetAccessKeysResult', - 'get_access_keys', - 'get_access_keys_output', -] - -@pulumi.output_type -class GetAccessKeysResult: - """ - A collection of values returned by getAccessKeys. - """ - def __init__(__self__, access_key_ids=None, access_keys=None, filters=None, id=None, request_id=None, states=None): - if access_key_ids and not isinstance(access_key_ids, list): - raise TypeError("Expected argument 'access_key_ids' to be a list") - pulumi.set(__self__, "access_key_ids", access_key_ids) - if access_keys and not isinstance(access_keys, list): - raise TypeError("Expected argument 'access_keys' to be a list") - pulumi.set(__self__, "access_keys", access_keys) - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if states and not isinstance(states, list): - raise TypeError("Expected argument 'states' to be a list") - pulumi.set(__self__, "states", states) - - @property - @pulumi.getter(name="accessKeyIds") - def access_key_ids(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "access_key_ids") - - @property - @pulumi.getter(name="accessKeys") - def access_keys(self) -> Sequence['outputs.GetAccessKeysAccessKeyResult']: - """ - A list of access keys. - """ - return pulumi.get(self, "access_keys") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetAccessKeysFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def states(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "states") - - -class AwaitableGetAccessKeysResult(GetAccessKeysResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetAccessKeysResult( - access_key_ids=self.access_key_ids, - access_keys=self.access_keys, - filters=self.filters, - id=self.id, - request_id=self.request_id, - states=self.states) - - -def get_access_keys(access_key_ids: Optional[Sequence[str]] = None, - filters: Optional[Sequence[pulumi.InputType['GetAccessKeysFilterArgs']]] = None, - states: Optional[Sequence[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAccessKeysResult: - """ - Provides information about access keys. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Access-Keys.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-accesskey). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - access_keys01 = outscale.get_access_keys(filters=[outscale.GetAccessKeysFilterArgs( - name="access_key_ids", - values=[ - "ABCDEFGHIJ0123456789", - "0123456789ABCDEFGHIJ", - ], - )]) - ``` - - - :param Sequence[str] access_key_ids: The IDs of the access keys. - :param Sequence[pulumi.InputType['GetAccessKeysFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param Sequence[str] states: The states of the access keys (`ACTIVE` \\| `INACTIVE`). - """ - __args__ = dict() - __args__['accessKeyIds'] = access_key_ids - __args__['filters'] = filters - __args__['states'] = states - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getAccessKeys:getAccessKeys', __args__, opts=opts, typ=GetAccessKeysResult).value - - return AwaitableGetAccessKeysResult( - access_key_ids=pulumi.get(__ret__, 'access_key_ids'), - access_keys=pulumi.get(__ret__, 'access_keys'), - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - request_id=pulumi.get(__ret__, 'request_id'), - states=pulumi.get(__ret__, 'states')) - - -@_utilities.lift_output_func(get_access_keys) -def get_access_keys_output(access_key_ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetAccessKeysFilterArgs']]]]] = None, - states: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccessKeysResult]: - """ - Provides information about access keys. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Access-Keys.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-accesskey). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - access_keys01 = outscale.get_access_keys(filters=[outscale.GetAccessKeysFilterArgs( - name="access_key_ids", - values=[ - "ABCDEFGHIJ0123456789", - "0123456789ABCDEFGHIJ", - ], - )]) - ``` - - - :param Sequence[str] access_key_ids: The IDs of the access keys. - :param Sequence[pulumi.InputType['GetAccessKeysFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param Sequence[str] states: The states of the access keys (`ACTIVE` \\| `INACTIVE`). - """ - ... diff --git a/sdk/python/pulumi_outscale/get_account.py b/sdk/python/pulumi_outscale/get_account.py deleted file mode 100644 index c6e5f52..0000000 --- a/sdk/python/pulumi_outscale/get_account.py +++ /dev/null @@ -1,293 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities - -__all__ = [ - 'GetAccountResult', - 'AwaitableGetAccountResult', - 'get_account', - 'get_account_output', -] - -@pulumi.output_type -class GetAccountResult: - """ - A collection of values returned by getAccount. - """ - def __init__(__self__, account_id=None, additional_emails=None, city=None, company_name=None, country=None, customer_id=None, email=None, first_name=None, id=None, job_title=None, last_name=None, mobile_number=None, phone_number=None, request_id=None, state_province=None, vat_number=None, zip_code=None): - if account_id and not isinstance(account_id, str): - raise TypeError("Expected argument 'account_id' to be a str") - pulumi.set(__self__, "account_id", account_id) - if additional_emails and not isinstance(additional_emails, list): - raise TypeError("Expected argument 'additional_emails' to be a list") - pulumi.set(__self__, "additional_emails", additional_emails) - if city and not isinstance(city, str): - raise TypeError("Expected argument 'city' to be a str") - pulumi.set(__self__, "city", city) - if company_name and not isinstance(company_name, str): - raise TypeError("Expected argument 'company_name' to be a str") - pulumi.set(__self__, "company_name", company_name) - if country and not isinstance(country, str): - raise TypeError("Expected argument 'country' to be a str") - pulumi.set(__self__, "country", country) - if customer_id and not isinstance(customer_id, str): - raise TypeError("Expected argument 'customer_id' to be a str") - pulumi.set(__self__, "customer_id", customer_id) - if email and not isinstance(email, str): - raise TypeError("Expected argument 'email' to be a str") - pulumi.set(__self__, "email", email) - if first_name and not isinstance(first_name, str): - raise TypeError("Expected argument 'first_name' to be a str") - pulumi.set(__self__, "first_name", first_name) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if job_title and not isinstance(job_title, str): - raise TypeError("Expected argument 'job_title' to be a str") - pulumi.set(__self__, "job_title", job_title) - if last_name and not isinstance(last_name, str): - raise TypeError("Expected argument 'last_name' to be a str") - pulumi.set(__self__, "last_name", last_name) - if mobile_number and not isinstance(mobile_number, str): - raise TypeError("Expected argument 'mobile_number' to be a str") - pulumi.set(__self__, "mobile_number", mobile_number) - if phone_number and not isinstance(phone_number, str): - raise TypeError("Expected argument 'phone_number' to be a str") - pulumi.set(__self__, "phone_number", phone_number) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if state_province and not isinstance(state_province, str): - raise TypeError("Expected argument 'state_province' to be a str") - pulumi.set(__self__, "state_province", state_province) - if vat_number and not isinstance(vat_number, str): - raise TypeError("Expected argument 'vat_number' to be a str") - pulumi.set(__self__, "vat_number", vat_number) - if zip_code and not isinstance(zip_code, str): - raise TypeError("Expected argument 'zip_code' to be a str") - pulumi.set(__self__, "zip_code", zip_code) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> str: - """ - The ID of the account. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter(name="additionalEmails") - def additional_emails(self) -> Sequence[str]: - """ - One or more additional email addresses for the account. These addresses are used for notifications only. - """ - return pulumi.get(self, "additional_emails") - - @property - @pulumi.getter - def city(self) -> str: - """ - The city of the account owner. - """ - return pulumi.get(self, "city") - - @property - @pulumi.getter(name="companyName") - def company_name(self) -> str: - """ - The name of the company for the account. - """ - return pulumi.get(self, "company_name") - - @property - @pulumi.getter - def country(self) -> str: - """ - The country of the account owner. - """ - return pulumi.get(self, "country") - - @property - @pulumi.getter(name="customerId") - def customer_id(self) -> str: - """ - The ID of the customer. - """ - return pulumi.get(self, "customer_id") - - @property - @pulumi.getter - def email(self) -> str: - """ - The main email address for the account. This address is used for your credentials and for notifications. - """ - return pulumi.get(self, "email") - - @property - @pulumi.getter(name="firstName") - def first_name(self) -> str: - """ - The first name of the account owner. - """ - return pulumi.get(self, "first_name") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="jobTitle") - def job_title(self) -> str: - """ - The job title of the account owner. - """ - return pulumi.get(self, "job_title") - - @property - @pulumi.getter(name="lastName") - def last_name(self) -> str: - """ - The last name of the account owner. - """ - return pulumi.get(self, "last_name") - - @property - @pulumi.getter(name="mobileNumber") - def mobile_number(self) -> str: - """ - The mobile phone number of the account owner. - """ - return pulumi.get(self, "mobile_number") - - @property - @pulumi.getter(name="phoneNumber") - def phone_number(self) -> str: - """ - The landline phone number of the account owner. - """ - return pulumi.get(self, "phone_number") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="stateProvince") - def state_province(self) -> str: - """ - The state/province of the account. - """ - return pulumi.get(self, "state_province") - - @property - @pulumi.getter(name="vatNumber") - def vat_number(self) -> str: - """ - The value added tax (VAT) number for the account. - """ - return pulumi.get(self, "vat_number") - - @property - @pulumi.getter(name="zipCode") - def zip_code(self) -> str: - """ - The ZIP code of the city. - """ - return pulumi.get(self, "zip_code") - - -class AwaitableGetAccountResult(GetAccountResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetAccountResult( - account_id=self.account_id, - additional_emails=self.additional_emails, - city=self.city, - company_name=self.company_name, - country=self.country, - customer_id=self.customer_id, - email=self.email, - first_name=self.first_name, - id=self.id, - job_title=self.job_title, - last_name=self.last_name, - mobile_number=self.mobile_number, - phone_number=self.phone_number, - request_id=self.request_id, - state_province=self.state_province, - vat_number=self.vat_number, - zip_code=self.zip_code) - - -def get_account(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAccountResult: - """ - Provides information about an account. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Your-Account.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-account). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - account01 = outscale.get_account() - ``` - """ - __args__ = dict() - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getAccount:getAccount', __args__, opts=opts, typ=GetAccountResult).value - - return AwaitableGetAccountResult( - account_id=pulumi.get(__ret__, 'account_id'), - additional_emails=pulumi.get(__ret__, 'additional_emails'), - city=pulumi.get(__ret__, 'city'), - company_name=pulumi.get(__ret__, 'company_name'), - country=pulumi.get(__ret__, 'country'), - customer_id=pulumi.get(__ret__, 'customer_id'), - email=pulumi.get(__ret__, 'email'), - first_name=pulumi.get(__ret__, 'first_name'), - id=pulumi.get(__ret__, 'id'), - job_title=pulumi.get(__ret__, 'job_title'), - last_name=pulumi.get(__ret__, 'last_name'), - mobile_number=pulumi.get(__ret__, 'mobile_number'), - phone_number=pulumi.get(__ret__, 'phone_number'), - request_id=pulumi.get(__ret__, 'request_id'), - state_province=pulumi.get(__ret__, 'state_province'), - vat_number=pulumi.get(__ret__, 'vat_number'), - zip_code=pulumi.get(__ret__, 'zip_code')) - - -@_utilities.lift_output_func(get_account) -def get_account_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccountResult]: - """ - Provides information about an account. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Your-Account.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-account). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - account01 = outscale.get_account() - ``` - """ - ... diff --git a/sdk/python/pulumi_outscale/get_accounts.py b/sdk/python/pulumi_outscale/get_accounts.py deleted file mode 100644 index 2ca49c9..0000000 --- a/sdk/python/pulumi_outscale/get_accounts.py +++ /dev/null @@ -1,112 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs - -__all__ = [ - 'GetAccountsResult', - 'AwaitableGetAccountsResult', - 'get_accounts', - 'get_accounts_output', -] - -@pulumi.output_type -class GetAccountsResult: - """ - A collection of values returned by getAccounts. - """ - def __init__(__self__, accounts=None, id=None, request_id=None): - if accounts and not isinstance(accounts, list): - raise TypeError("Expected argument 'accounts' to be a list") - pulumi.set(__self__, "accounts", accounts) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - - @property - @pulumi.getter - def accounts(self) -> Sequence['outputs.GetAccountsAccountResult']: - """ - The list of the accounts. - """ - return pulumi.get(self, "accounts") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - -class AwaitableGetAccountsResult(GetAccountsResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetAccountsResult( - accounts=self.accounts, - id=self.id, - request_id=self.request_id) - - -def get_accounts(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAccountsResult: - """ - Provides information about accounts. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Your-Account.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-account). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - all_accounts = outscale.get_accounts() - ``` - """ - __args__ = dict() - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getAccounts:getAccounts', __args__, opts=opts, typ=GetAccountsResult).value - - return AwaitableGetAccountsResult( - accounts=pulumi.get(__ret__, 'accounts'), - id=pulumi.get(__ret__, 'id'), - request_id=pulumi.get(__ret__, 'request_id')) - - -@_utilities.lift_output_func(get_accounts) -def get_accounts_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccountsResult]: - """ - Provides information about accounts. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Your-Account.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-account). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - all_accounts = outscale.get_accounts() - ``` - """ - ... diff --git a/sdk/python/pulumi_outscale/get_api_access_policy.py b/sdk/python/pulumi_outscale/get_api_access_policy.py deleted file mode 100644 index 92a5772..0000000 --- a/sdk/python/pulumi_outscale/get_api_access_policy.py +++ /dev/null @@ -1,124 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities - -__all__ = [ - 'GetApiAccessPolicyResult', - 'AwaitableGetApiAccessPolicyResult', - 'get_api_access_policy', - 'get_api_access_policy_output', -] - -@pulumi.output_type -class GetApiAccessPolicyResult: - """ - A collection of values returned by getApiAccessPolicy. - """ - def __init__(__self__, id=None, max_access_key_expiration_seconds=None, request_id=None, require_trusted_env=None): - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if max_access_key_expiration_seconds and not isinstance(max_access_key_expiration_seconds, int): - raise TypeError("Expected argument 'max_access_key_expiration_seconds' to be a int") - pulumi.set(__self__, "max_access_key_expiration_seconds", max_access_key_expiration_seconds) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if require_trusted_env and not isinstance(require_trusted_env, bool): - raise TypeError("Expected argument 'require_trusted_env' to be a bool") - pulumi.set(__self__, "require_trusted_env", require_trusted_env) - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="maxAccessKeyExpirationSeconds") - def max_access_key_expiration_seconds(self) -> int: - """ - The maximum possible lifetime for your access keys, in seconds. If `0`, your access keys can have unlimited lifetimes. - """ - return pulumi.get(self, "max_access_key_expiration_seconds") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="requireTrustedEnv") - def require_trusted_env(self) -> bool: - """ - If true, a trusted session is activated, allowing you to bypass Certificate Authorities (CAs) enforcement. For more information, see the `ApiKeyAuth` authentication scheme in the [Authentication](https://docs.outscale.com/api#authentication) section. - """ - return pulumi.get(self, "require_trusted_env") - - -class AwaitableGetApiAccessPolicyResult(GetApiAccessPolicyResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetApiAccessPolicyResult( - id=self.id, - max_access_key_expiration_seconds=self.max_access_key_expiration_seconds, - request_id=self.request_id, - require_trusted_env=self.require_trusted_env) - - -def get_api_access_policy(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetApiAccessPolicyResult: - """ - Provides information about the API access policy. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Your-API-Access-Policy.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-apiaccesspolicy). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - unique = outscale.get_api_access_policy() - ``` - """ - __args__ = dict() - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getApiAccessPolicy:getApiAccessPolicy', __args__, opts=opts, typ=GetApiAccessPolicyResult).value - - return AwaitableGetApiAccessPolicyResult( - id=pulumi.get(__ret__, 'id'), - max_access_key_expiration_seconds=pulumi.get(__ret__, 'max_access_key_expiration_seconds'), - request_id=pulumi.get(__ret__, 'request_id'), - require_trusted_env=pulumi.get(__ret__, 'require_trusted_env')) - - -@_utilities.lift_output_func(get_api_access_policy) -def get_api_access_policy_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApiAccessPolicyResult]: - """ - Provides information about the API access policy. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Your-API-Access-Policy.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-apiaccesspolicy). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - unique = outscale.get_api_access_policy() - ``` - """ - ... diff --git a/sdk/python/pulumi_outscale/get_api_access_rule.py b/sdk/python/pulumi_outscale/get_api_access_rule.py deleted file mode 100644 index d61f7ae..0000000 --- a/sdk/python/pulumi_outscale/get_api_access_rule.py +++ /dev/null @@ -1,190 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetApiAccessRuleResult', - 'AwaitableGetApiAccessRuleResult', - 'get_api_access_rule', - 'get_api_access_rule_output', -] - -@pulumi.output_type -class GetApiAccessRuleResult: - """ - A collection of values returned by getApiAccessRule. - """ - def __init__(__self__, api_access_rule_id=None, ca_ids=None, cns=None, description=None, filters=None, id=None, ip_ranges=None, request_id=None): - if api_access_rule_id and not isinstance(api_access_rule_id, str): - raise TypeError("Expected argument 'api_access_rule_id' to be a str") - pulumi.set(__self__, "api_access_rule_id", api_access_rule_id) - if ca_ids and not isinstance(ca_ids, list): - raise TypeError("Expected argument 'ca_ids' to be a list") - pulumi.set(__self__, "ca_ids", ca_ids) - if cns and not isinstance(cns, list): - raise TypeError("Expected argument 'cns' to be a list") - pulumi.set(__self__, "cns", cns) - if description and not isinstance(description, str): - raise TypeError("Expected argument 'description' to be a str") - pulumi.set(__self__, "description", description) - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if ip_ranges and not isinstance(ip_ranges, list): - raise TypeError("Expected argument 'ip_ranges' to be a list") - pulumi.set(__self__, "ip_ranges", ip_ranges) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - - @property - @pulumi.getter(name="apiAccessRuleId") - def api_access_rule_id(self) -> str: - """ - The ID of the API access rule. - """ - return pulumi.get(self, "api_access_rule_id") - - @property - @pulumi.getter(name="caIds") - def ca_ids(self) -> Sequence[str]: - """ - One or more IDs of Client Certificate Authorities (CAs) used for the API access rule. - """ - return pulumi.get(self, "ca_ids") - - @property - @pulumi.getter - def cns(self) -> Sequence[str]: - """ - One or more Client Certificate Common Names (CNs). - """ - return pulumi.get(self, "cns") - - @property - @pulumi.getter - def description(self) -> str: - """ - The description of the API access rule. - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetApiAccessRuleFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="ipRanges") - def ip_ranges(self) -> Sequence[str]: - """ - One or more IP ranges used for the API access rule, in CIDR notation (for example, `192.0.2.0/16`). - """ - return pulumi.get(self, "ip_ranges") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - -class AwaitableGetApiAccessRuleResult(GetApiAccessRuleResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetApiAccessRuleResult( - api_access_rule_id=self.api_access_rule_id, - ca_ids=self.ca_ids, - cns=self.cns, - description=self.description, - filters=self.filters, - id=self.id, - ip_ranges=self.ip_ranges, - request_id=self.request_id) - - -def get_api_access_rule(filters: Optional[Sequence[pulumi.InputType['GetApiAccessRuleFilterArgs']]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetApiAccessRuleResult: - """ - Provides information about an API access rule. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-API-Access-Rules.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-apiaccessrule). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - api_access_rule01 = outscale.get_api_access_rule(filters=[outscale.GetApiAccessRuleFilterArgs( - name="api_access_rule_ids", - values=["aar-12345678"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetApiAccessRuleFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - __args__ = dict() - __args__['filters'] = filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getApiAccessRule:getApiAccessRule', __args__, opts=opts, typ=GetApiAccessRuleResult).value - - return AwaitableGetApiAccessRuleResult( - api_access_rule_id=pulumi.get(__ret__, 'api_access_rule_id'), - ca_ids=pulumi.get(__ret__, 'ca_ids'), - cns=pulumi.get(__ret__, 'cns'), - description=pulumi.get(__ret__, 'description'), - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - ip_ranges=pulumi.get(__ret__, 'ip_ranges'), - request_id=pulumi.get(__ret__, 'request_id')) - - -@_utilities.lift_output_func(get_api_access_rule) -def get_api_access_rule_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetApiAccessRuleFilterArgs']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApiAccessRuleResult]: - """ - Provides information about an API access rule. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-API-Access-Rules.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-apiaccessrule). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - api_access_rule01 = outscale.get_api_access_rule(filters=[outscale.GetApiAccessRuleFilterArgs( - name="api_access_rule_ids", - values=["aar-12345678"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetApiAccessRuleFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - ... diff --git a/sdk/python/pulumi_outscale/get_api_access_rules.py b/sdk/python/pulumi_outscale/get_api_access_rules.py deleted file mode 100644 index e13e891..0000000 --- a/sdk/python/pulumi_outscale/get_api_access_rules.py +++ /dev/null @@ -1,156 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetApiAccessRulesResult', - 'AwaitableGetApiAccessRulesResult', - 'get_api_access_rules', - 'get_api_access_rules_output', -] - -@pulumi.output_type -class GetApiAccessRulesResult: - """ - A collection of values returned by getApiAccessRules. - """ - def __init__(__self__, api_access_rules=None, filters=None, id=None, request_id=None): - if api_access_rules and not isinstance(api_access_rules, list): - raise TypeError("Expected argument 'api_access_rules' to be a list") - pulumi.set(__self__, "api_access_rules", api_access_rules) - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - - @property - @pulumi.getter(name="apiAccessRules") - def api_access_rules(self) -> Sequence['outputs.GetApiAccessRulesApiAccessRuleResult']: - """ - A list of API access rules. - """ - return pulumi.get(self, "api_access_rules") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetApiAccessRulesFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - -class AwaitableGetApiAccessRulesResult(GetApiAccessRulesResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetApiAccessRulesResult( - api_access_rules=self.api_access_rules, - filters=self.filters, - id=self.id, - request_id=self.request_id) - - -def get_api_access_rules(filters: Optional[Sequence[pulumi.InputType['GetApiAccessRulesFilterArgs']]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetApiAccessRulesResult: - """ - Provides information about API access rules. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-API-Access-Rules.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-apiaccessrule). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - api_access_rules01 = outscale.get_api_access_rules(filters=[ - outscale.GetApiAccessRulesFilterArgs( - name="ca_ids", - values=[ - "ca-12345678", - "ca-87654321", - ], - ), - outscale.GetApiAccessRulesFilterArgs( - name="ip_ranges", - values=["192.0.2.0/16"], - ), - ]) - ``` - - - :param Sequence[pulumi.InputType['GetApiAccessRulesFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - __args__ = dict() - __args__['filters'] = filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getApiAccessRules:getApiAccessRules', __args__, opts=opts, typ=GetApiAccessRulesResult).value - - return AwaitableGetApiAccessRulesResult( - api_access_rules=pulumi.get(__ret__, 'api_access_rules'), - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - request_id=pulumi.get(__ret__, 'request_id')) - - -@_utilities.lift_output_func(get_api_access_rules) -def get_api_access_rules_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetApiAccessRulesFilterArgs']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApiAccessRulesResult]: - """ - Provides information about API access rules. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-API-Access-Rules.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-apiaccessrule). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - api_access_rules01 = outscale.get_api_access_rules(filters=[ - outscale.GetApiAccessRulesFilterArgs( - name="ca_ids", - values=[ - "ca-12345678", - "ca-87654321", - ], - ), - outscale.GetApiAccessRulesFilterArgs( - name="ip_ranges", - values=["192.0.2.0/16"], - ), - ]) - ``` - - - :param Sequence[pulumi.InputType['GetApiAccessRulesFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - ... diff --git a/sdk/python/pulumi_outscale/get_ca.py b/sdk/python/pulumi_outscale/get_ca.py deleted file mode 100644 index 3d689db..0000000 --- a/sdk/python/pulumi_outscale/get_ca.py +++ /dev/null @@ -1,174 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetCaResult', - 'AwaitableGetCaResult', - 'get_ca', - 'get_ca_output', -] - -@pulumi.output_type -class GetCaResult: - """ - A collection of values returned by getCa. - """ - def __init__(__self__, ca_fingerprint=None, ca_id=None, ca_pem=None, description=None, filters=None, id=None, request_id=None): - if ca_fingerprint and not isinstance(ca_fingerprint, str): - raise TypeError("Expected argument 'ca_fingerprint' to be a str") - pulumi.set(__self__, "ca_fingerprint", ca_fingerprint) - if ca_id and not isinstance(ca_id, str): - raise TypeError("Expected argument 'ca_id' to be a str") - pulumi.set(__self__, "ca_id", ca_id) - if ca_pem and not isinstance(ca_pem, str): - raise TypeError("Expected argument 'ca_pem' to be a str") - pulumi.set(__self__, "ca_pem", ca_pem) - if description and not isinstance(description, str): - raise TypeError("Expected argument 'description' to be a str") - pulumi.set(__self__, "description", description) - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - - @property - @pulumi.getter(name="caFingerprint") - def ca_fingerprint(self) -> str: - """ - The fingerprint of the CA. - """ - return pulumi.get(self, "ca_fingerprint") - - @property - @pulumi.getter(name="caId") - def ca_id(self) -> str: - """ - The ID of the CA. - """ - return pulumi.get(self, "ca_id") - - @property - @pulumi.getter(name="caPem") - def ca_pem(self) -> str: - return pulumi.get(self, "ca_pem") - - @property - @pulumi.getter - def description(self) -> str: - """ - The description of the CA. - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetCaFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - -class AwaitableGetCaResult(GetCaResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetCaResult( - ca_fingerprint=self.ca_fingerprint, - ca_id=self.ca_id, - ca_pem=self.ca_pem, - description=self.description, - filters=self.filters, - id=self.id, - request_id=self.request_id) - - -def get_ca(filters: Optional[Sequence[pulumi.InputType['GetCaFilterArgs']]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCaResult: - """ - Provides information about a Certificate Authority (CA). - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-API-Access-Rules.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-ca). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - ca01 = outscale.get_ca(filters=[outscale.GetCaFilterArgs( - name="ca_ids", - values=["ca-12345678"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetCaFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - __args__ = dict() - __args__['filters'] = filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getCa:getCa', __args__, opts=opts, typ=GetCaResult).value - - return AwaitableGetCaResult( - ca_fingerprint=pulumi.get(__ret__, 'ca_fingerprint'), - ca_id=pulumi.get(__ret__, 'ca_id'), - ca_pem=pulumi.get(__ret__, 'ca_pem'), - description=pulumi.get(__ret__, 'description'), - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - request_id=pulumi.get(__ret__, 'request_id')) - - -@_utilities.lift_output_func(get_ca) -def get_ca_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetCaFilterArgs']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCaResult]: - """ - Provides information about a Certificate Authority (CA). - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-API-Access-Rules.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-ca). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - ca01 = outscale.get_ca(filters=[outscale.GetCaFilterArgs( - name="ca_ids", - values=["ca-12345678"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetCaFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - ... diff --git a/sdk/python/pulumi_outscale/get_cas.py b/sdk/python/pulumi_outscale/get_cas.py deleted file mode 100644 index 54be7db..0000000 --- a/sdk/python/pulumi_outscale/get_cas.py +++ /dev/null @@ -1,144 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetCasResult', - 'AwaitableGetCasResult', - 'get_cas', - 'get_cas_output', -] - -@pulumi.output_type -class GetCasResult: - """ - A collection of values returned by getCas. - """ - def __init__(__self__, cas=None, filters=None, id=None, request_id=None): - if cas and not isinstance(cas, list): - raise TypeError("Expected argument 'cas' to be a list") - pulumi.set(__self__, "cas", cas) - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - - @property - @pulumi.getter - def cas(self) -> Sequence['outputs.GetCasCaResult']: - """ - Information about one or more CAs. - """ - return pulumi.get(self, "cas") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetCasFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - -class AwaitableGetCasResult(GetCasResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetCasResult( - cas=self.cas, - filters=self.filters, - id=self.id, - request_id=self.request_id) - - -def get_cas(filters: Optional[Sequence[pulumi.InputType['GetCasFilterArgs']]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCasResult: - """ - Provides information about Certificate Authorities (CAs). - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-API-Access-Rules.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-ca). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - cas01 = outscale.get_cas(filters=[outscale.GetCasFilterArgs( - name="ca_ids", - values=[ - "ca-12345678", - "ca-87654321", - ], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetCasFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - __args__ = dict() - __args__['filters'] = filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getCas:getCas', __args__, opts=opts, typ=GetCasResult).value - - return AwaitableGetCasResult( - cas=pulumi.get(__ret__, 'cas'), - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - request_id=pulumi.get(__ret__, 'request_id')) - - -@_utilities.lift_output_func(get_cas) -def get_cas_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetCasFilterArgs']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCasResult]: - """ - Provides information about Certificate Authorities (CAs). - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-API-Access-Rules.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-ca). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - cas01 = outscale.get_cas(filters=[outscale.GetCasFilterArgs( - name="ca_ids", - values=[ - "ca-12345678", - "ca-87654321", - ], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetCasFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - ... diff --git a/sdk/python/pulumi_outscale/get_client_gateway.py b/sdk/python/pulumi_outscale/get_client_gateway.py deleted file mode 100644 index 4187920..0000000 --- a/sdk/python/pulumi_outscale/get_client_gateway.py +++ /dev/null @@ -1,208 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetClientGatewayResult', - 'AwaitableGetClientGatewayResult', - 'get_client_gateway', - 'get_client_gateway_output', -] - -@pulumi.output_type -class GetClientGatewayResult: - """ - A collection of values returned by getClientGateway. - """ - def __init__(__self__, bgp_asn=None, client_gateway_id=None, connection_type=None, filters=None, id=None, public_ip=None, request_id=None, state=None, tags=None): - if bgp_asn and not isinstance(bgp_asn, int): - raise TypeError("Expected argument 'bgp_asn' to be a int") - pulumi.set(__self__, "bgp_asn", bgp_asn) - if client_gateway_id and not isinstance(client_gateway_id, str): - raise TypeError("Expected argument 'client_gateway_id' to be a str") - pulumi.set(__self__, "client_gateway_id", client_gateway_id) - if connection_type and not isinstance(connection_type, str): - raise TypeError("Expected argument 'connection_type' to be a str") - pulumi.set(__self__, "connection_type", connection_type) - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if public_ip and not isinstance(public_ip, str): - raise TypeError("Expected argument 'public_ip' to be a str") - pulumi.set(__self__, "public_ip", public_ip) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if state and not isinstance(state, str): - raise TypeError("Expected argument 'state' to be a str") - pulumi.set(__self__, "state", state) - if tags and not isinstance(tags, list): - raise TypeError("Expected argument 'tags' to be a list") - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="bgpAsn") - def bgp_asn(self) -> int: - """ - The Autonomous System Number (ASN) used by the Border Gateway Protocol (BGP) to find the path to your client gateway through the Internet. - """ - return pulumi.get(self, "bgp_asn") - - @property - @pulumi.getter(name="clientGatewayId") - def client_gateway_id(self) -> Optional[str]: - """ - The ID of the client gateway. - """ - return pulumi.get(self, "client_gateway_id") - - @property - @pulumi.getter(name="connectionType") - def connection_type(self) -> str: - """ - The type of communication tunnel used by the client gateway (only `ipsec.1` is supported). - """ - return pulumi.get(self, "connection_type") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetClientGatewayFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> str: - """ - The public IPv4 address of the client gateway (must be a fixed address into a NATed network). - """ - return pulumi.get(self, "public_ip") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the client gateway (`pending` \\| `available` \\| `deleting` \\| `deleted`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetClientGatewayTagResult']: - """ - One or more tags associated with the client gateway. - """ - return pulumi.get(self, "tags") - - -class AwaitableGetClientGatewayResult(GetClientGatewayResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetClientGatewayResult( - bgp_asn=self.bgp_asn, - client_gateway_id=self.client_gateway_id, - connection_type=self.connection_type, - filters=self.filters, - id=self.id, - public_ip=self.public_ip, - request_id=self.request_id, - state=self.state, - tags=self.tags) - - -def get_client_gateway(client_gateway_id: Optional[str] = None, - filters: Optional[Sequence[pulumi.InputType['GetClientGatewayFilterArgs']]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetClientGatewayResult: - """ - Provides information about a client gateway. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Customer-Gateways.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-clientgateway). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - client_gateway01 = outscale.get_client_gateway(filters=[outscale.GetClientGatewayFilterArgs( - name="client_gateway_ids", - values=["cgw-12345678"], - )]) - ``` - - - :param str client_gateway_id: The ID of the client gateway. - :param Sequence[pulumi.InputType['GetClientGatewayFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - __args__ = dict() - __args__['clientGatewayId'] = client_gateway_id - __args__['filters'] = filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getClientGateway:getClientGateway', __args__, opts=opts, typ=GetClientGatewayResult).value - - return AwaitableGetClientGatewayResult( - bgp_asn=pulumi.get(__ret__, 'bgp_asn'), - client_gateway_id=pulumi.get(__ret__, 'client_gateway_id'), - connection_type=pulumi.get(__ret__, 'connection_type'), - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - public_ip=pulumi.get(__ret__, 'public_ip'), - request_id=pulumi.get(__ret__, 'request_id'), - state=pulumi.get(__ret__, 'state'), - tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_client_gateway) -def get_client_gateway_output(client_gateway_id: Optional[pulumi.Input[Optional[str]]] = None, - filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetClientGatewayFilterArgs']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetClientGatewayResult]: - """ - Provides information about a client gateway. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Customer-Gateways.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-clientgateway). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - client_gateway01 = outscale.get_client_gateway(filters=[outscale.GetClientGatewayFilterArgs( - name="client_gateway_ids", - values=["cgw-12345678"], - )]) - ``` - - - :param str client_gateway_id: The ID of the client gateway. - :param Sequence[pulumi.InputType['GetClientGatewayFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - ... diff --git a/sdk/python/pulumi_outscale/get_client_gateways.py b/sdk/python/pulumi_outscale/get_client_gateways.py deleted file mode 100644 index 4108556..0000000 --- a/sdk/python/pulumi_outscale/get_client_gateways.py +++ /dev/null @@ -1,171 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetClientGatewaysResult', - 'AwaitableGetClientGatewaysResult', - 'get_client_gateways', - 'get_client_gateways_output', -] - -@pulumi.output_type -class GetClientGatewaysResult: - """ - A collection of values returned by getClientGateways. - """ - def __init__(__self__, client_gateway_ids=None, client_gateways=None, filters=None, id=None, request_id=None): - if client_gateway_ids and not isinstance(client_gateway_ids, list): - raise TypeError("Expected argument 'client_gateway_ids' to be a list") - pulumi.set(__self__, "client_gateway_ids", client_gateway_ids) - if client_gateways and not isinstance(client_gateways, list): - raise TypeError("Expected argument 'client_gateways' to be a list") - pulumi.set(__self__, "client_gateways", client_gateways) - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - - @property - @pulumi.getter(name="clientGatewayIds") - def client_gateway_ids(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "client_gateway_ids") - - @property - @pulumi.getter(name="clientGateways") - def client_gateways(self) -> Sequence['outputs.GetClientGatewaysClientGatewayResult']: - """ - Information about one or more client gateways. - """ - return pulumi.get(self, "client_gateways") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetClientGatewaysFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - -class AwaitableGetClientGatewaysResult(GetClientGatewaysResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetClientGatewaysResult( - client_gateway_ids=self.client_gateway_ids, - client_gateways=self.client_gateways, - filters=self.filters, - id=self.id, - request_id=self.request_id) - - -def get_client_gateways(client_gateway_ids: Optional[Sequence[str]] = None, - filters: Optional[Sequence[pulumi.InputType['GetClientGatewaysFilterArgs']]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetClientGatewaysResult: - """ - Provides information about client gateways. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Customer-Gateways.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-clientgateway). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - client_gateways01 = outscale.get_client_gateways(filters=[ - outscale.GetClientGatewaysFilterArgs( - name="bgp_asns", - values=["65000"], - ), - outscale.GetClientGatewaysFilterArgs( - name="public_ips", - values=[ - "111.11.111.1", - "222.22.222.2", - ], - ), - ]) - ``` - - - :param Sequence[str] client_gateway_ids: The IDs of the client gateways. - :param Sequence[pulumi.InputType['GetClientGatewaysFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - __args__ = dict() - __args__['clientGatewayIds'] = client_gateway_ids - __args__['filters'] = filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getClientGateways:getClientGateways', __args__, opts=opts, typ=GetClientGatewaysResult).value - - return AwaitableGetClientGatewaysResult( - client_gateway_ids=pulumi.get(__ret__, 'client_gateway_ids'), - client_gateways=pulumi.get(__ret__, 'client_gateways'), - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - request_id=pulumi.get(__ret__, 'request_id')) - - -@_utilities.lift_output_func(get_client_gateways) -def get_client_gateways_output(client_gateway_ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetClientGatewaysFilterArgs']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetClientGatewaysResult]: - """ - Provides information about client gateways. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Customer-Gateways.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-clientgateway). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - client_gateways01 = outscale.get_client_gateways(filters=[ - outscale.GetClientGatewaysFilterArgs( - name="bgp_asns", - values=["65000"], - ), - outscale.GetClientGatewaysFilterArgs( - name="public_ips", - values=[ - "111.11.111.1", - "222.22.222.2", - ], - ), - ]) - ``` - - - :param Sequence[str] client_gateway_ids: The IDs of the client gateways. - :param Sequence[pulumi.InputType['GetClientGatewaysFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - ... diff --git a/sdk/python/pulumi_outscale/get_dhcp_option.py b/sdk/python/pulumi_outscale/get_dhcp_option.py deleted file mode 100644 index 99c846c..0000000 --- a/sdk/python/pulumi_outscale/get_dhcp_option.py +++ /dev/null @@ -1,216 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetDhcpOptionResult', - 'AwaitableGetDhcpOptionResult', - 'get_dhcp_option', - 'get_dhcp_option_output', -] - -@pulumi.output_type -class GetDhcpOptionResult: - """ - A collection of values returned by getDhcpOption. - """ - def __init__(__self__, default=None, dhcp_options_set_id=None, domain_name=None, domain_name_servers=None, filters=None, id=None, log_servers=None, ntp_servers=None, request_id=None, tags=None): - if default and not isinstance(default, bool): - raise TypeError("Expected argument 'default' to be a bool") - pulumi.set(__self__, "default", default) - if dhcp_options_set_id and not isinstance(dhcp_options_set_id, str): - raise TypeError("Expected argument 'dhcp_options_set_id' to be a str") - pulumi.set(__self__, "dhcp_options_set_id", dhcp_options_set_id) - if domain_name and not isinstance(domain_name, str): - raise TypeError("Expected argument 'domain_name' to be a str") - pulumi.set(__self__, "domain_name", domain_name) - if domain_name_servers and not isinstance(domain_name_servers, list): - raise TypeError("Expected argument 'domain_name_servers' to be a list") - pulumi.set(__self__, "domain_name_servers", domain_name_servers) - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if log_servers and not isinstance(log_servers, list): - raise TypeError("Expected argument 'log_servers' to be a list") - pulumi.set(__self__, "log_servers", log_servers) - if ntp_servers and not isinstance(ntp_servers, list): - raise TypeError("Expected argument 'ntp_servers' to be a list") - pulumi.set(__self__, "ntp_servers", ntp_servers) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if tags and not isinstance(tags, list): - raise TypeError("Expected argument 'tags' to be a list") - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter - def default(self) -> bool: - """ - If true, the DHCP options set is a default one. If false, it is not. - """ - return pulumi.get(self, "default") - - @property - @pulumi.getter(name="dhcpOptionsSetId") - def dhcp_options_set_id(self) -> str: - """ - The ID of the DHCP options set. - """ - return pulumi.get(self, "dhcp_options_set_id") - - @property - @pulumi.getter(name="domainName") - def domain_name(self) -> str: - """ - The domain name. - """ - return pulumi.get(self, "domain_name") - - @property - @pulumi.getter(name="domainNameServers") - def domain_name_servers(self) -> Sequence[str]: - """ - One or more IPs for the domain name servers. - """ - return pulumi.get(self, "domain_name_servers") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetDhcpOptionFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="logServers") - def log_servers(self) -> Sequence[str]: - """ - One or more IPs for the log servers. - """ - return pulumi.get(self, "log_servers") - - @property - @pulumi.getter(name="ntpServers") - def ntp_servers(self) -> Sequence[str]: - """ - One or more IPs for the NTP servers. - """ - return pulumi.get(self, "ntp_servers") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetDhcpOptionTagResult']: - """ - One or more tags associated with the DHCP options set. - """ - return pulumi.get(self, "tags") - - -class AwaitableGetDhcpOptionResult(GetDhcpOptionResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetDhcpOptionResult( - default=self.default, - dhcp_options_set_id=self.dhcp_options_set_id, - domain_name=self.domain_name, - domain_name_servers=self.domain_name_servers, - filters=self.filters, - id=self.id, - log_servers=self.log_servers, - ntp_servers=self.ntp_servers, - request_id=self.request_id, - tags=self.tags) - - -def get_dhcp_option(filters: Optional[Sequence[pulumi.InputType['GetDhcpOptionFilterArgs']]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDhcpOptionResult: - """ - Provides information about a DHCP option. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-DHCP-Options.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-dhcpoption). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - dhcp_option01 = outscale.get_dhcp_option(filters=[outscale.GetDhcpOptionFilterArgs( - name="dhcp_options_set_id", - values=["dopt-12345678"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetDhcpOptionFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - __args__ = dict() - __args__['filters'] = filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getDhcpOption:getDhcpOption', __args__, opts=opts, typ=GetDhcpOptionResult).value - - return AwaitableGetDhcpOptionResult( - default=pulumi.get(__ret__, 'default'), - dhcp_options_set_id=pulumi.get(__ret__, 'dhcp_options_set_id'), - domain_name=pulumi.get(__ret__, 'domain_name'), - domain_name_servers=pulumi.get(__ret__, 'domain_name_servers'), - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - log_servers=pulumi.get(__ret__, 'log_servers'), - ntp_servers=pulumi.get(__ret__, 'ntp_servers'), - request_id=pulumi.get(__ret__, 'request_id'), - tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_dhcp_option) -def get_dhcp_option_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetDhcpOptionFilterArgs']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDhcpOptionResult]: - """ - Provides information about a DHCP option. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-DHCP-Options.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-dhcpoption). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - dhcp_option01 = outscale.get_dhcp_option(filters=[outscale.GetDhcpOptionFilterArgs( - name="dhcp_options_set_id", - values=["dopt-12345678"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetDhcpOptionFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - ... diff --git a/sdk/python/pulumi_outscale/get_dhcp_options.py b/sdk/python/pulumi_outscale/get_dhcp_options.py deleted file mode 100644 index 0445f0c..0000000 --- a/sdk/python/pulumi_outscale/get_dhcp_options.py +++ /dev/null @@ -1,163 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetDhcpOptionsResult', - 'AwaitableGetDhcpOptionsResult', - 'get_dhcp_options', - 'get_dhcp_options_output', -] - -@pulumi.output_type -class GetDhcpOptionsResult: - """ - A collection of values returned by getDhcpOptions. - """ - def __init__(__self__, dhcp_options=None, dhcp_options_set_ids=None, filters=None, id=None, request_id=None): - if dhcp_options and not isinstance(dhcp_options, list): - raise TypeError("Expected argument 'dhcp_options' to be a list") - pulumi.set(__self__, "dhcp_options", dhcp_options) - if dhcp_options_set_ids and not isinstance(dhcp_options_set_ids, list): - raise TypeError("Expected argument 'dhcp_options_set_ids' to be a list") - pulumi.set(__self__, "dhcp_options_set_ids", dhcp_options_set_ids) - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - - @property - @pulumi.getter(name="dhcpOptions") - def dhcp_options(self) -> Sequence['outputs.GetDhcpOptionsDhcpOptionResult']: - return pulumi.get(self, "dhcp_options") - - @property - @pulumi.getter(name="dhcpOptionsSetIds") - def dhcp_options_set_ids(self) -> Sequence[str]: - return pulumi.get(self, "dhcp_options_set_ids") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetDhcpOptionsFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - -class AwaitableGetDhcpOptionsResult(GetDhcpOptionsResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetDhcpOptionsResult( - dhcp_options=self.dhcp_options, - dhcp_options_set_ids=self.dhcp_options_set_ids, - filters=self.filters, - id=self.id, - request_id=self.request_id) - - -def get_dhcp_options(filters: Optional[Sequence[pulumi.InputType['GetDhcpOptionsFilterArgs']]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDhcpOptionsResult: - """ - Provides information about DHCP options. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-DHCP-Options.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-dhcpoption). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - dhcp_options01 = outscale.get_dhcp_options(filters=[ - outscale.GetDhcpOptionsFilterArgs( - name="domain_name_servers", - values=[ - "111.11.111.1", - "222.22.222.2", - ], - ), - outscale.GetDhcpOptionsFilterArgs( - name="domain_names", - values=["example.com"], - ), - ]) - ``` - - - :param Sequence[pulumi.InputType['GetDhcpOptionsFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - __args__ = dict() - __args__['filters'] = filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getDhcpOptions:getDhcpOptions', __args__, opts=opts, typ=GetDhcpOptionsResult).value - - return AwaitableGetDhcpOptionsResult( - dhcp_options=pulumi.get(__ret__, 'dhcp_options'), - dhcp_options_set_ids=pulumi.get(__ret__, 'dhcp_options_set_ids'), - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - request_id=pulumi.get(__ret__, 'request_id')) - - -@_utilities.lift_output_func(get_dhcp_options) -def get_dhcp_options_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetDhcpOptionsFilterArgs']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDhcpOptionsResult]: - """ - Provides information about DHCP options. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-DHCP-Options.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-dhcpoption). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - dhcp_options01 = outscale.get_dhcp_options(filters=[ - outscale.GetDhcpOptionsFilterArgs( - name="domain_name_servers", - values=[ - "111.11.111.1", - "222.22.222.2", - ], - ), - outscale.GetDhcpOptionsFilterArgs( - name="domain_names", - values=["example.com"], - ), - ]) - ``` - - - :param Sequence[pulumi.InputType['GetDhcpOptionsFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - ... diff --git a/sdk/python/pulumi_outscale/get_flexible_gpu.py b/sdk/python/pulumi_outscale/get_flexible_gpu.py deleted file mode 100644 index ee50956..0000000 --- a/sdk/python/pulumi_outscale/get_flexible_gpu.py +++ /dev/null @@ -1,216 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetFlexibleGpuResult', - 'AwaitableGetFlexibleGpuResult', - 'get_flexible_gpu', - 'get_flexible_gpu_output', -] - -@pulumi.output_type -class GetFlexibleGpuResult: - """ - A collection of values returned by getFlexibleGpu. - """ - def __init__(__self__, delete_on_vm_deletion=None, filters=None, flexible_gpu_id=None, generation=None, id=None, model_name=None, request_id=None, state=None, subregion_name=None, vm_id=None): - if delete_on_vm_deletion and not isinstance(delete_on_vm_deletion, bool): - raise TypeError("Expected argument 'delete_on_vm_deletion' to be a bool") - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if flexible_gpu_id and not isinstance(flexible_gpu_id, str): - raise TypeError("Expected argument 'flexible_gpu_id' to be a str") - pulumi.set(__self__, "flexible_gpu_id", flexible_gpu_id) - if generation and not isinstance(generation, str): - raise TypeError("Expected argument 'generation' to be a str") - pulumi.set(__self__, "generation", generation) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if model_name and not isinstance(model_name, str): - raise TypeError("Expected argument 'model_name' to be a str") - pulumi.set(__self__, "model_name", model_name) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if state and not isinstance(state, str): - raise TypeError("Expected argument 'state' to be a str") - pulumi.set(__self__, "state", state) - if subregion_name and not isinstance(subregion_name, str): - raise TypeError("Expected argument 'subregion_name' to be a str") - pulumi.set(__self__, "subregion_name", subregion_name) - if vm_id and not isinstance(vm_id, str): - raise TypeError("Expected argument 'vm_id' to be a str") - pulumi.set(__self__, "vm_id", vm_id) - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> bool: - """ - If true, the fGPU is deleted when the VM is terminated. - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetFlexibleGpuFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter(name="flexibleGpuId") - def flexible_gpu_id(self) -> str: - """ - The ID of the fGPU. - """ - return pulumi.get(self, "flexible_gpu_id") - - @property - @pulumi.getter - def generation(self) -> str: - """ - The compatible processor generation. - """ - return pulumi.get(self, "generation") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="modelName") - def model_name(self) -> str: - """ - The model of fGPU. For more information, see [About Flexible GPUs](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html). - """ - return pulumi.get(self, "model_name") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the fGPU (`allocated` \\| `attaching` \\| `attached` \\| `detaching`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="subregionName") - def subregion_name(self) -> str: - """ - The Subregion where the fGPU is located. - """ - return pulumi.get(self, "subregion_name") - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> str: - """ - The ID of the VM the fGPU is attached to, if any. - """ - return pulumi.get(self, "vm_id") - - -class AwaitableGetFlexibleGpuResult(GetFlexibleGpuResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetFlexibleGpuResult( - delete_on_vm_deletion=self.delete_on_vm_deletion, - filters=self.filters, - flexible_gpu_id=self.flexible_gpu_id, - generation=self.generation, - id=self.id, - model_name=self.model_name, - request_id=self.request_id, - state=self.state, - subregion_name=self.subregion_name, - vm_id=self.vm_id) - - -def get_flexible_gpu(filters: Optional[Sequence[pulumi.InputType['GetFlexibleGpuFilterArgs']]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFlexibleGpuResult: - """ - Provides information about a flexible GPU. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-flexiblegpu). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - flexible_gpu01 = outscale.get_flexible_gpu(filters=[outscale.GetFlexibleGpuFilterArgs( - name="flexible_gpu_ids", - values=["fgpu-12345678"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetFlexibleGpuFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - __args__ = dict() - __args__['filters'] = filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getFlexibleGpu:getFlexibleGpu', __args__, opts=opts, typ=GetFlexibleGpuResult).value - - return AwaitableGetFlexibleGpuResult( - delete_on_vm_deletion=pulumi.get(__ret__, 'delete_on_vm_deletion'), - filters=pulumi.get(__ret__, 'filters'), - flexible_gpu_id=pulumi.get(__ret__, 'flexible_gpu_id'), - generation=pulumi.get(__ret__, 'generation'), - id=pulumi.get(__ret__, 'id'), - model_name=pulumi.get(__ret__, 'model_name'), - request_id=pulumi.get(__ret__, 'request_id'), - state=pulumi.get(__ret__, 'state'), - subregion_name=pulumi.get(__ret__, 'subregion_name'), - vm_id=pulumi.get(__ret__, 'vm_id')) - - -@_utilities.lift_output_func(get_flexible_gpu) -def get_flexible_gpu_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetFlexibleGpuFilterArgs']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFlexibleGpuResult]: - """ - Provides information about a flexible GPU. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-flexiblegpu). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - flexible_gpu01 = outscale.get_flexible_gpu(filters=[outscale.GetFlexibleGpuFilterArgs( - name="flexible_gpu_ids", - values=["fgpu-12345678"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetFlexibleGpuFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - ... diff --git a/sdk/python/pulumi_outscale/get_flexible_gpu_catalog.py b/sdk/python/pulumi_outscale/get_flexible_gpu_catalog.py deleted file mode 100644 index b8edc0e..0000000 --- a/sdk/python/pulumi_outscale/get_flexible_gpu_catalog.py +++ /dev/null @@ -1,126 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetFlexibleGpuCatalogResult', - 'AwaitableGetFlexibleGpuCatalogResult', - 'get_flexible_gpu_catalog', - 'get_flexible_gpu_catalog_output', -] - -@pulumi.output_type -class GetFlexibleGpuCatalogResult: - """ - A collection of values returned by getFlexibleGpuCatalog. - """ - def __init__(__self__, filters=None, flexible_gpu_catalogs=None, id=None, request_id=None): - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if flexible_gpu_catalogs and not isinstance(flexible_gpu_catalogs, list): - raise TypeError("Expected argument 'flexible_gpu_catalogs' to be a list") - pulumi.set(__self__, "flexible_gpu_catalogs", flexible_gpu_catalogs) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetFlexibleGpuCatalogFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter(name="flexibleGpuCatalogs") - def flexible_gpu_catalogs(self) -> Sequence['outputs.GetFlexibleGpuCatalogFlexibleGpuCatalogResult']: - """ - Information about one or more fGPUs available in the public catalog. - """ - return pulumi.get(self, "flexible_gpu_catalogs") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - -class AwaitableGetFlexibleGpuCatalogResult(GetFlexibleGpuCatalogResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetFlexibleGpuCatalogResult( - filters=self.filters, - flexible_gpu_catalogs=self.flexible_gpu_catalogs, - id=self.id, - request_id=self.request_id) - - -def get_flexible_gpu_catalog(filters: Optional[Sequence[pulumi.InputType['GetFlexibleGpuCatalogFilterArgs']]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFlexibleGpuCatalogResult: - """ - Provides information about the flexible GPU catalog. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readflexiblegpucatalog). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - flexible_gpu_catalog01 = outscale.get_flexible_gpu_catalog() - ``` - """ - __args__ = dict() - __args__['filters'] = filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getFlexibleGpuCatalog:getFlexibleGpuCatalog', __args__, opts=opts, typ=GetFlexibleGpuCatalogResult).value - - return AwaitableGetFlexibleGpuCatalogResult( - filters=pulumi.get(__ret__, 'filters'), - flexible_gpu_catalogs=pulumi.get(__ret__, 'flexible_gpu_catalogs'), - id=pulumi.get(__ret__, 'id'), - request_id=pulumi.get(__ret__, 'request_id')) - - -@_utilities.lift_output_func(get_flexible_gpu_catalog) -def get_flexible_gpu_catalog_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetFlexibleGpuCatalogFilterArgs']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFlexibleGpuCatalogResult]: - """ - Provides information about the flexible GPU catalog. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readflexiblegpucatalog). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - flexible_gpu_catalog01 = outscale.get_flexible_gpu_catalog() - ``` - """ - ... diff --git a/sdk/python/pulumi_outscale/get_flexible_gpus.py b/sdk/python/pulumi_outscale/get_flexible_gpus.py deleted file mode 100644 index c4c60fb..0000000 --- a/sdk/python/pulumi_outscale/get_flexible_gpus.py +++ /dev/null @@ -1,156 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetFlexibleGpusResult', - 'AwaitableGetFlexibleGpusResult', - 'get_flexible_gpus', - 'get_flexible_gpus_output', -] - -@pulumi.output_type -class GetFlexibleGpusResult: - """ - A collection of values returned by getFlexibleGpus. - """ - def __init__(__self__, filters=None, flexible_gpuses=None, id=None, request_id=None): - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if flexible_gpuses and not isinstance(flexible_gpuses, list): - raise TypeError("Expected argument 'flexible_gpuses' to be a list") - pulumi.set(__self__, "flexible_gpuses", flexible_gpuses) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetFlexibleGpusFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter(name="flexibleGpuses") - def flexible_gpuses(self) -> Sequence['outputs.GetFlexibleGpusFlexibleGpusResult']: - """ - Information about one or more fGPUs. - """ - return pulumi.get(self, "flexible_gpuses") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - -class AwaitableGetFlexibleGpusResult(GetFlexibleGpusResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetFlexibleGpusResult( - filters=self.filters, - flexible_gpuses=self.flexible_gpuses, - id=self.id, - request_id=self.request_id) - - -def get_flexible_gpus(filters: Optional[Sequence[pulumi.InputType['GetFlexibleGpusFilterArgs']]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFlexibleGpusResult: - """ - Provides information about flexible GPUs. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-flexiblegpu). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - flexible_gpus01 = outscale.get_flexible_gpus(filters=[ - outscale.GetFlexibleGpusFilterArgs( - name="model_names", - values=[ - "nvidia-p6", - "nvidia-p100", - ], - ), - outscale.GetFlexibleGpusFilterArgs( - name="states", - values=["attached"], - ), - ]) - ``` - - - :param Sequence[pulumi.InputType['GetFlexibleGpusFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - __args__ = dict() - __args__['filters'] = filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getFlexibleGpus:getFlexibleGpus', __args__, opts=opts, typ=GetFlexibleGpusResult).value - - return AwaitableGetFlexibleGpusResult( - filters=pulumi.get(__ret__, 'filters'), - flexible_gpuses=pulumi.get(__ret__, 'flexible_gpuses'), - id=pulumi.get(__ret__, 'id'), - request_id=pulumi.get(__ret__, 'request_id')) - - -@_utilities.lift_output_func(get_flexible_gpus) -def get_flexible_gpus_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetFlexibleGpusFilterArgs']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFlexibleGpusResult]: - """ - Provides information about flexible GPUs. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-flexiblegpu). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - flexible_gpus01 = outscale.get_flexible_gpus(filters=[ - outscale.GetFlexibleGpusFilterArgs( - name="model_names", - values=[ - "nvidia-p6", - "nvidia-p100", - ], - ), - outscale.GetFlexibleGpusFilterArgs( - name="states", - values=["attached"], - ), - ]) - ``` - - - :param Sequence[pulumi.InputType['GetFlexibleGpusFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - ... diff --git a/sdk/python/pulumi_outscale/get_image.py b/sdk/python/pulumi_outscale/get_image.py deleted file mode 100644 index c2874dd..0000000 --- a/sdk/python/pulumi_outscale/get_image.py +++ /dev/null @@ -1,379 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetImageResult', - 'AwaitableGetImageResult', - 'get_image', - 'get_image_output', -] - -@pulumi.output_type -class GetImageResult: - """ - A collection of values returned by getImage. - """ - def __init__(__self__, account_alias=None, account_id=None, architecture=None, block_device_mappings=None, creation_date=None, description=None, file_location=None, filters=None, id=None, image_id=None, image_name=None, image_type=None, is_public=None, permissions=None, permissions_to_launches=None, product_codes=None, request_id=None, root_device_name=None, root_device_type=None, state=None, state_comments=None, tags=None): - if account_alias and not isinstance(account_alias, str): - raise TypeError("Expected argument 'account_alias' to be a str") - pulumi.set(__self__, "account_alias", account_alias) - if account_id and not isinstance(account_id, str): - raise TypeError("Expected argument 'account_id' to be a str") - pulumi.set(__self__, "account_id", account_id) - if architecture and not isinstance(architecture, str): - raise TypeError("Expected argument 'architecture' to be a str") - pulumi.set(__self__, "architecture", architecture) - if block_device_mappings and not isinstance(block_device_mappings, list): - raise TypeError("Expected argument 'block_device_mappings' to be a list") - pulumi.set(__self__, "block_device_mappings", block_device_mappings) - if creation_date and not isinstance(creation_date, str): - raise TypeError("Expected argument 'creation_date' to be a str") - pulumi.set(__self__, "creation_date", creation_date) - if description and not isinstance(description, str): - raise TypeError("Expected argument 'description' to be a str") - pulumi.set(__self__, "description", description) - if file_location and not isinstance(file_location, str): - raise TypeError("Expected argument 'file_location' to be a str") - pulumi.set(__self__, "file_location", file_location) - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if image_id and not isinstance(image_id, str): - raise TypeError("Expected argument 'image_id' to be a str") - pulumi.set(__self__, "image_id", image_id) - if image_name and not isinstance(image_name, str): - raise TypeError("Expected argument 'image_name' to be a str") - pulumi.set(__self__, "image_name", image_name) - if image_type and not isinstance(image_type, str): - raise TypeError("Expected argument 'image_type' to be a str") - pulumi.set(__self__, "image_type", image_type) - if is_public and not isinstance(is_public, bool): - raise TypeError("Expected argument 'is_public' to be a bool") - pulumi.set(__self__, "is_public", is_public) - if permissions and not isinstance(permissions, list): - raise TypeError("Expected argument 'permissions' to be a list") - pulumi.set(__self__, "permissions", permissions) - if permissions_to_launches and not isinstance(permissions_to_launches, list): - raise TypeError("Expected argument 'permissions_to_launches' to be a list") - pulumi.set(__self__, "permissions_to_launches", permissions_to_launches) - if product_codes and not isinstance(product_codes, list): - raise TypeError("Expected argument 'product_codes' to be a list") - pulumi.set(__self__, "product_codes", product_codes) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if root_device_name and not isinstance(root_device_name, str): - raise TypeError("Expected argument 'root_device_name' to be a str") - pulumi.set(__self__, "root_device_name", root_device_name) - if root_device_type and not isinstance(root_device_type, str): - raise TypeError("Expected argument 'root_device_type' to be a str") - pulumi.set(__self__, "root_device_type", root_device_type) - if state and not isinstance(state, str): - raise TypeError("Expected argument 'state' to be a str") - pulumi.set(__self__, "state", state) - if state_comments and not isinstance(state_comments, list): - raise TypeError("Expected argument 'state_comments' to be a list") - pulumi.set(__self__, "state_comments", state_comments) - if tags and not isinstance(tags, list): - raise TypeError("Expected argument 'tags' to be a list") - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="accountAlias") - def account_alias(self) -> str: - """ - The account alias of the owner of the OMI. - """ - return pulumi.get(self, "account_alias") - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> str: - """ - The account ID of the owner of the OMI. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter - def architecture(self) -> str: - """ - The architecture of the OMI (by default, `i386`). - """ - return pulumi.get(self, "architecture") - - @property - @pulumi.getter(name="blockDeviceMappings") - def block_device_mappings(self) -> Sequence['outputs.GetImageBlockDeviceMappingResult']: - """ - One or more block device mappings. - """ - return pulumi.get(self, "block_device_mappings") - - @property - @pulumi.getter(name="creationDate") - def creation_date(self) -> str: - """ - The date and time of creation of the OMI, in ISO 8601 date-time format. - """ - return pulumi.get(self, "creation_date") - - @property - @pulumi.getter - def description(self) -> str: - """ - The description of the OMI. - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter(name="fileLocation") - def file_location(self) -> str: - """ - The location of the bucket where the OMI files are stored. - """ - return pulumi.get(self, "file_location") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetImageFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="imageId") - def image_id(self) -> Optional[str]: - """ - The ID of the OMI. - """ - return pulumi.get(self, "image_id") - - @property - @pulumi.getter(name="imageName") - def image_name(self) -> str: - """ - The name of the OMI. - """ - return pulumi.get(self, "image_name") - - @property - @pulumi.getter(name="imageType") - def image_type(self) -> str: - """ - The type of the OMI. - """ - return pulumi.get(self, "image_type") - - @property - @pulumi.getter(name="isPublic") - def is_public(self) -> bool: - return pulumi.get(self, "is_public") - - @property - @pulumi.getter - def permissions(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "permissions") - - @property - @pulumi.getter(name="permissionsToLaunches") - def permissions_to_launches(self) -> Sequence['outputs.GetImagePermissionsToLaunchResult']: - """ - Permissions for the resource. - """ - return pulumi.get(self, "permissions_to_launches") - - @property - @pulumi.getter(name="productCodes") - def product_codes(self) -> Sequence[str]: - """ - The product codes associated with the OMI. - """ - return pulumi.get(self, "product_codes") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="rootDeviceName") - def root_device_name(self) -> str: - """ - The name of the root device. - """ - return pulumi.get(self, "root_device_name") - - @property - @pulumi.getter(name="rootDeviceType") - def root_device_type(self) -> str: - """ - The type of root device used by the OMI (always `bsu`). - """ - return pulumi.get(self, "root_device_type") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the OMI (`pending` \\| `available` \\| `failed`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="stateComments") - def state_comments(self) -> Sequence['outputs.GetImageStateCommentResult']: - """ - Information about the change of state. - """ - return pulumi.get(self, "state_comments") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetImageTagResult']: - """ - One or more tags associated with the OMI. - """ - return pulumi.get(self, "tags") - - -class AwaitableGetImageResult(GetImageResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetImageResult( - account_alias=self.account_alias, - account_id=self.account_id, - architecture=self.architecture, - block_device_mappings=self.block_device_mappings, - creation_date=self.creation_date, - description=self.description, - file_location=self.file_location, - filters=self.filters, - id=self.id, - image_id=self.image_id, - image_name=self.image_name, - image_type=self.image_type, - is_public=self.is_public, - permissions=self.permissions, - permissions_to_launches=self.permissions_to_launches, - product_codes=self.product_codes, - request_id=self.request_id, - root_device_name=self.root_device_name, - root_device_type=self.root_device_type, - state=self.state, - state_comments=self.state_comments, - tags=self.tags) - - -def get_image(block_device_mappings: Optional[Sequence[pulumi.InputType['GetImageBlockDeviceMappingArgs']]] = None, - filters: Optional[Sequence[pulumi.InputType['GetImageFilterArgs']]] = None, - image_id: Optional[str] = None, - permissions: Optional[Sequence[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetImageResult: - """ - Provides information about an image. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-OMIs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-image). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - image01 = outscale.get_image(filters=[outscale.GetImageFilterArgs( - name="image_ids", - values=["ami-12345678"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetImageBlockDeviceMappingArgs']] block_device_mappings: One or more block device mappings. - :param Sequence[pulumi.InputType['GetImageFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param str image_id: The ID of the OMI. - """ - __args__ = dict() - __args__['blockDeviceMappings'] = block_device_mappings - __args__['filters'] = filters - __args__['imageId'] = image_id - __args__['permissions'] = permissions - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getImage:getImage', __args__, opts=opts, typ=GetImageResult).value - - return AwaitableGetImageResult( - account_alias=pulumi.get(__ret__, 'account_alias'), - account_id=pulumi.get(__ret__, 'account_id'), - architecture=pulumi.get(__ret__, 'architecture'), - block_device_mappings=pulumi.get(__ret__, 'block_device_mappings'), - creation_date=pulumi.get(__ret__, 'creation_date'), - description=pulumi.get(__ret__, 'description'), - file_location=pulumi.get(__ret__, 'file_location'), - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - image_id=pulumi.get(__ret__, 'image_id'), - image_name=pulumi.get(__ret__, 'image_name'), - image_type=pulumi.get(__ret__, 'image_type'), - is_public=pulumi.get(__ret__, 'is_public'), - permissions=pulumi.get(__ret__, 'permissions'), - permissions_to_launches=pulumi.get(__ret__, 'permissions_to_launches'), - product_codes=pulumi.get(__ret__, 'product_codes'), - request_id=pulumi.get(__ret__, 'request_id'), - root_device_name=pulumi.get(__ret__, 'root_device_name'), - root_device_type=pulumi.get(__ret__, 'root_device_type'), - state=pulumi.get(__ret__, 'state'), - state_comments=pulumi.get(__ret__, 'state_comments'), - tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_image) -def get_image_output(block_device_mappings: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetImageBlockDeviceMappingArgs']]]]] = None, - filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetImageFilterArgs']]]]] = None, - image_id: Optional[pulumi.Input[Optional[str]]] = None, - permissions: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetImageResult]: - """ - Provides information about an image. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-OMIs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-image). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - image01 = outscale.get_image(filters=[outscale.GetImageFilterArgs( - name="image_ids", - values=["ami-12345678"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetImageBlockDeviceMappingArgs']] block_device_mappings: One or more block device mappings. - :param Sequence[pulumi.InputType['GetImageFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param str image_id: The ID of the OMI. - """ - ... diff --git a/sdk/python/pulumi_outscale/get_image_export_task.py b/sdk/python/pulumi_outscale/get_image_export_task.py deleted file mode 100644 index 1d0626c..0000000 --- a/sdk/python/pulumi_outscale/get_image_export_task.py +++ /dev/null @@ -1,229 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetImageExportTaskResult', - 'AwaitableGetImageExportTaskResult', - 'get_image_export_task', - 'get_image_export_task_output', -] - -@pulumi.output_type -class GetImageExportTaskResult: - """ - A collection of values returned by getImageExportTask. - """ - def __init__(__self__, comment=None, dry_run=None, filters=None, id=None, image_id=None, osu_exports=None, progress=None, request_id=None, state=None, tags=None, task_id=None): - if comment and not isinstance(comment, str): - raise TypeError("Expected argument 'comment' to be a str") - pulumi.set(__self__, "comment", comment) - if dry_run and not isinstance(dry_run, bool): - raise TypeError("Expected argument 'dry_run' to be a bool") - pulumi.set(__self__, "dry_run", dry_run) - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if image_id and not isinstance(image_id, str): - raise TypeError("Expected argument 'image_id' to be a str") - pulumi.set(__self__, "image_id", image_id) - if osu_exports and not isinstance(osu_exports, list): - raise TypeError("Expected argument 'osu_exports' to be a list") - pulumi.set(__self__, "osu_exports", osu_exports) - if progress and not isinstance(progress, int): - raise TypeError("Expected argument 'progress' to be a int") - pulumi.set(__self__, "progress", progress) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if state and not isinstance(state, str): - raise TypeError("Expected argument 'state' to be a str") - pulumi.set(__self__, "state", state) - if tags and not isinstance(tags, list): - raise TypeError("Expected argument 'tags' to be a list") - pulumi.set(__self__, "tags", tags) - if task_id and not isinstance(task_id, str): - raise TypeError("Expected argument 'task_id' to be a str") - pulumi.set(__self__, "task_id", task_id) - - @property - @pulumi.getter - def comment(self) -> str: - """ - If the OMI export task fails, an error message appears. - """ - return pulumi.get(self, "comment") - - @property - @pulumi.getter(name="dryRun") - def dry_run(self) -> bool: - return pulumi.get(self, "dry_run") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetImageExportTaskFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="imageId") - def image_id(self) -> str: - """ - The ID of the OMI to be exported. - """ - return pulumi.get(self, "image_id") - - @property - @pulumi.getter(name="osuExports") - def osu_exports(self) -> Sequence['outputs.GetImageExportTaskOsuExportResult']: - """ - Information about the OMI export task. - """ - return pulumi.get(self, "osu_exports") - - @property - @pulumi.getter - def progress(self) -> int: - """ - The progress of the OMI export task, as a percentage. - """ - return pulumi.get(self, "progress") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the OMI export task (`pending/queued` \\| `pending` \\| `completed` \\| `failed` \\| `cancelled`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetImageExportTaskTagResult']: - """ - One or more tags associated with the image export task. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter(name="taskId") - def task_id(self) -> str: - """ - The ID of the OMI export task. - """ - return pulumi.get(self, "task_id") - - -class AwaitableGetImageExportTaskResult(GetImageExportTaskResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetImageExportTaskResult( - comment=self.comment, - dry_run=self.dry_run, - filters=self.filters, - id=self.id, - image_id=self.image_id, - osu_exports=self.osu_exports, - progress=self.progress, - request_id=self.request_id, - state=self.state, - tags=self.tags, - task_id=self.task_id) - - -def get_image_export_task(dry_run: Optional[bool] = None, - filters: Optional[Sequence[pulumi.InputType['GetImageExportTaskFilterArgs']]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetImageExportTaskResult: - """ - Provides information about an image export task. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-OMIs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-image). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - image_export_task01 = outscale.get_image_export_task(filters=[outscale.GetImageExportTaskFilterArgs( - name="task_ids", - values=["image-export-12345678"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetImageExportTaskFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - __args__ = dict() - __args__['dryRun'] = dry_run - __args__['filters'] = filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getImageExportTask:getImageExportTask', __args__, opts=opts, typ=GetImageExportTaskResult).value - - return AwaitableGetImageExportTaskResult( - comment=pulumi.get(__ret__, 'comment'), - dry_run=pulumi.get(__ret__, 'dry_run'), - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - image_id=pulumi.get(__ret__, 'image_id'), - osu_exports=pulumi.get(__ret__, 'osu_exports'), - progress=pulumi.get(__ret__, 'progress'), - request_id=pulumi.get(__ret__, 'request_id'), - state=pulumi.get(__ret__, 'state'), - tags=pulumi.get(__ret__, 'tags'), - task_id=pulumi.get(__ret__, 'task_id')) - - -@_utilities.lift_output_func(get_image_export_task) -def get_image_export_task_output(dry_run: Optional[pulumi.Input[Optional[bool]]] = None, - filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetImageExportTaskFilterArgs']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetImageExportTaskResult]: - """ - Provides information about an image export task. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-OMIs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-image). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - image_export_task01 = outscale.get_image_export_task(filters=[outscale.GetImageExportTaskFilterArgs( - name="task_ids", - values=["image-export-12345678"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetImageExportTaskFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - ... diff --git a/sdk/python/pulumi_outscale/get_image_export_tasks.py b/sdk/python/pulumi_outscale/get_image_export_tasks.py deleted file mode 100644 index 80ca50f..0000000 --- a/sdk/python/pulumi_outscale/get_image_export_tasks.py +++ /dev/null @@ -1,157 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetImageExportTasksResult', - 'AwaitableGetImageExportTasksResult', - 'get_image_export_tasks', - 'get_image_export_tasks_output', -] - -@pulumi.output_type -class GetImageExportTasksResult: - """ - A collection of values returned by getImageExportTasks. - """ - def __init__(__self__, dry_run=None, filters=None, id=None, image_export_tasks=None, request_id=None): - if dry_run and not isinstance(dry_run, bool): - raise TypeError("Expected argument 'dry_run' to be a bool") - pulumi.set(__self__, "dry_run", dry_run) - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if image_export_tasks and not isinstance(image_export_tasks, list): - raise TypeError("Expected argument 'image_export_tasks' to be a list") - pulumi.set(__self__, "image_export_tasks", image_export_tasks) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - - @property - @pulumi.getter(name="dryRun") - def dry_run(self) -> bool: - return pulumi.get(self, "dry_run") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetImageExportTasksFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="imageExportTasks") - def image_export_tasks(self) -> Sequence['outputs.GetImageExportTasksImageExportTaskResult']: - """ - Information about one or more image export tasks. - """ - return pulumi.get(self, "image_export_tasks") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - -class AwaitableGetImageExportTasksResult(GetImageExportTasksResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetImageExportTasksResult( - dry_run=self.dry_run, - filters=self.filters, - id=self.id, - image_export_tasks=self.image_export_tasks, - request_id=self.request_id) - - -def get_image_export_tasks(dry_run: Optional[bool] = None, - filters: Optional[Sequence[pulumi.InputType['GetImageExportTasksFilterArgs']]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetImageExportTasksResult: - """ - Provides information about image export tasks. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-OMIs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-image). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - image_export_tasks01 = outscale.get_image_export_tasks(filters=[outscale.GetImageExportTasksFilterArgs( - name="task_ids", - values=[ - "image-export-12345678", - "image-export-87654321", - ], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetImageExportTasksFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - __args__ = dict() - __args__['dryRun'] = dry_run - __args__['filters'] = filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getImageExportTasks:getImageExportTasks', __args__, opts=opts, typ=GetImageExportTasksResult).value - - return AwaitableGetImageExportTasksResult( - dry_run=pulumi.get(__ret__, 'dry_run'), - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - image_export_tasks=pulumi.get(__ret__, 'image_export_tasks'), - request_id=pulumi.get(__ret__, 'request_id')) - - -@_utilities.lift_output_func(get_image_export_tasks) -def get_image_export_tasks_output(dry_run: Optional[pulumi.Input[Optional[bool]]] = None, - filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetImageExportTasksFilterArgs']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetImageExportTasksResult]: - """ - Provides information about image export tasks. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-OMIs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-image). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - image_export_tasks01 = outscale.get_image_export_tasks(filters=[outscale.GetImageExportTasksFilterArgs( - name="task_ids", - values=[ - "image-export-12345678", - "image-export-87654321", - ], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetImageExportTasksFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - ... diff --git a/sdk/python/pulumi_outscale/get_images.py b/sdk/python/pulumi_outscale/get_images.py deleted file mode 100644 index 92634c4..0000000 --- a/sdk/python/pulumi_outscale/get_images.py +++ /dev/null @@ -1,202 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetImagesResult', - 'AwaitableGetImagesResult', - 'get_images', - 'get_images_output', -] - -@pulumi.output_type -class GetImagesResult: - """ - A collection of values returned by getImages. - """ - def __init__(__self__, account_ids=None, filters=None, id=None, image_ids=None, images=None, permissions=None, request_id=None): - if account_ids and not isinstance(account_ids, list): - raise TypeError("Expected argument 'account_ids' to be a list") - pulumi.set(__self__, "account_ids", account_ids) - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if image_ids and not isinstance(image_ids, list): - raise TypeError("Expected argument 'image_ids' to be a list") - pulumi.set(__self__, "image_ids", image_ids) - if images and not isinstance(images, list): - raise TypeError("Expected argument 'images' to be a list") - pulumi.set(__self__, "images", images) - if permissions and not isinstance(permissions, list): - raise TypeError("Expected argument 'permissions' to be a list") - pulumi.set(__self__, "permissions", permissions) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - - @property - @pulumi.getter(name="accountIds") - def account_ids(self) -> Optional[Sequence[str]]: - """ - One or more account IDs that the permission is associated with. - """ - return pulumi.get(self, "account_ids") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetImagesFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="imageIds") - def image_ids(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "image_ids") - - @property - @pulumi.getter - def images(self) -> Sequence['outputs.GetImagesImageResult']: - """ - Information about one or more OMIs. - """ - return pulumi.get(self, "images") - - @property - @pulumi.getter - def permissions(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "permissions") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - -class AwaitableGetImagesResult(GetImagesResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetImagesResult( - account_ids=self.account_ids, - filters=self.filters, - id=self.id, - image_ids=self.image_ids, - images=self.images, - permissions=self.permissions, - request_id=self.request_id) - - -def get_images(account_ids: Optional[Sequence[str]] = None, - filters: Optional[Sequence[pulumi.InputType['GetImagesFilterArgs']]] = None, - image_ids: Optional[Sequence[str]] = None, - permissions: Optional[Sequence[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetImagesResult: - """ - Provides information about images. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-OMIs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-image). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - images01 = outscale.get_images(filters=[ - outscale.GetImagesFilterArgs( - name="account_aliases", - values=["Outscale"], - ), - outscale.GetImagesFilterArgs( - name="image_names", - values=[ - "Ubuntu*", - "RockyLinux*", - ], - ), - ]) - ``` - - - :param Sequence[str] account_ids: The account IDs of the owners of the OMIs. By default, all the OMIs for which you have launch permissions are described. - :param Sequence[pulumi.InputType['GetImagesFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param Sequence[str] image_ids: The IDs of the OMIs. - """ - __args__ = dict() - __args__['accountIds'] = account_ids - __args__['filters'] = filters - __args__['imageIds'] = image_ids - __args__['permissions'] = permissions - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getImages:getImages', __args__, opts=opts, typ=GetImagesResult).value - - return AwaitableGetImagesResult( - account_ids=pulumi.get(__ret__, 'account_ids'), - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - image_ids=pulumi.get(__ret__, 'image_ids'), - images=pulumi.get(__ret__, 'images'), - permissions=pulumi.get(__ret__, 'permissions'), - request_id=pulumi.get(__ret__, 'request_id')) - - -@_utilities.lift_output_func(get_images) -def get_images_output(account_ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetImagesFilterArgs']]]]] = None, - image_ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - permissions: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetImagesResult]: - """ - Provides information about images. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-OMIs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-image). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - images01 = outscale.get_images(filters=[ - outscale.GetImagesFilterArgs( - name="account_aliases", - values=["Outscale"], - ), - outscale.GetImagesFilterArgs( - name="image_names", - values=[ - "Ubuntu*", - "RockyLinux*", - ], - ), - ]) - ``` - - - :param Sequence[str] account_ids: The account IDs of the owners of the OMIs. By default, all the OMIs for which you have launch permissions are described. - :param Sequence[pulumi.InputType['GetImagesFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param Sequence[str] image_ids: The IDs of the OMIs. - """ - ... diff --git a/sdk/python/pulumi_outscale/get_internet_service.py b/sdk/python/pulumi_outscale/get_internet_service.py deleted file mode 100644 index 82bcee3..0000000 --- a/sdk/python/pulumi_outscale/get_internet_service.py +++ /dev/null @@ -1,177 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetInternetServiceResult', - 'AwaitableGetInternetServiceResult', - 'get_internet_service', - 'get_internet_service_output', -] - -@pulumi.output_type -class GetInternetServiceResult: - """ - A collection of values returned by getInternetService. - """ - def __init__(__self__, filters=None, id=None, internet_service_id=None, net_id=None, request_id=None, state=None, tags=None): - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if internet_service_id and not isinstance(internet_service_id, str): - raise TypeError("Expected argument 'internet_service_id' to be a str") - pulumi.set(__self__, "internet_service_id", internet_service_id) - if net_id and not isinstance(net_id, str): - raise TypeError("Expected argument 'net_id' to be a str") - pulumi.set(__self__, "net_id", net_id) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if state and not isinstance(state, str): - raise TypeError("Expected argument 'state' to be a str") - pulumi.set(__self__, "state", state) - if tags and not isinstance(tags, list): - raise TypeError("Expected argument 'tags' to be a list") - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetInternetServiceFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="internetServiceId") - def internet_service_id(self) -> str: - """ - The ID of the Internet service. - """ - return pulumi.get(self, "internet_service_id") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> str: - """ - The ID of the Net attached to the Internet service. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the attachment of the Internet service to the Net (always `available`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetInternetServiceTagResult']: - """ - One or more tags associated with the Internet service. - """ - return pulumi.get(self, "tags") - - -class AwaitableGetInternetServiceResult(GetInternetServiceResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetInternetServiceResult( - filters=self.filters, - id=self.id, - internet_service_id=self.internet_service_id, - net_id=self.net_id, - request_id=self.request_id, - state=self.state, - tags=self.tags) - - -def get_internet_service(filters: Optional[Sequence[pulumi.InputType['GetInternetServiceFilterArgs']]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetInternetServiceResult: - """ - Provides information about an Internet service. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Internet-Gateways.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-internetservice). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - internet_service01 = outscale.get_internet_service(filters=[outscale.GetInternetServiceFilterArgs( - name="internet_service_ids", - values=["igw-12345678"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetInternetServiceFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - __args__ = dict() - __args__['filters'] = filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getInternetService:getInternetService', __args__, opts=opts, typ=GetInternetServiceResult).value - - return AwaitableGetInternetServiceResult( - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - internet_service_id=pulumi.get(__ret__, 'internet_service_id'), - net_id=pulumi.get(__ret__, 'net_id'), - request_id=pulumi.get(__ret__, 'request_id'), - state=pulumi.get(__ret__, 'state'), - tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_internet_service) -def get_internet_service_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetInternetServiceFilterArgs']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInternetServiceResult]: - """ - Provides information about an Internet service. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Internet-Gateways.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-internetservice). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - internet_service01 = outscale.get_internet_service(filters=[outscale.GetInternetServiceFilterArgs( - name="internet_service_ids", - values=["igw-12345678"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetInternetServiceFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - ... diff --git a/sdk/python/pulumi_outscale/get_internet_services.py b/sdk/python/pulumi_outscale/get_internet_services.py deleted file mode 100644 index 9e540f0..0000000 --- a/sdk/python/pulumi_outscale/get_internet_services.py +++ /dev/null @@ -1,171 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetInternetServicesResult', - 'AwaitableGetInternetServicesResult', - 'get_internet_services', - 'get_internet_services_output', -] - -@pulumi.output_type -class GetInternetServicesResult: - """ - A collection of values returned by getInternetServices. - """ - def __init__(__self__, filters=None, id=None, internet_service_ids=None, internet_services=None, request_id=None): - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if internet_service_ids and not isinstance(internet_service_ids, list): - raise TypeError("Expected argument 'internet_service_ids' to be a list") - pulumi.set(__self__, "internet_service_ids", internet_service_ids) - if internet_services and not isinstance(internet_services, list): - raise TypeError("Expected argument 'internet_services' to be a list") - pulumi.set(__self__, "internet_services", internet_services) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetInternetServicesFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="internetServiceIds") - def internet_service_ids(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "internet_service_ids") - - @property - @pulumi.getter(name="internetServices") - def internet_services(self) -> Sequence['outputs.GetInternetServicesInternetServiceResult']: - """ - Information about one or more Internet services. - """ - return pulumi.get(self, "internet_services") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - -class AwaitableGetInternetServicesResult(GetInternetServicesResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetInternetServicesResult( - filters=self.filters, - id=self.id, - internet_service_ids=self.internet_service_ids, - internet_services=self.internet_services, - request_id=self.request_id) - - -def get_internet_services(filters: Optional[Sequence[pulumi.InputType['GetInternetServicesFilterArgs']]] = None, - internet_service_ids: Optional[Sequence[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetInternetServicesResult: - """ - Provides information about Internet services. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Internet-Gateways.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-internetservice). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - internet_services01 = outscale.get_internet_services(filters=[ - outscale.GetInternetServicesFilterArgs( - name="tag_keys", - values=["env"], - ), - outscale.GetInternetServicesFilterArgs( - name="tag_values", - values=[ - "prod", - "test", - ], - ), - ]) - ``` - - - :param Sequence[pulumi.InputType['GetInternetServicesFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param Sequence[str] internet_service_ids: The IDs of the Internet services. - """ - __args__ = dict() - __args__['filters'] = filters - __args__['internetServiceIds'] = internet_service_ids - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getInternetServices:getInternetServices', __args__, opts=opts, typ=GetInternetServicesResult).value - - return AwaitableGetInternetServicesResult( - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - internet_service_ids=pulumi.get(__ret__, 'internet_service_ids'), - internet_services=pulumi.get(__ret__, 'internet_services'), - request_id=pulumi.get(__ret__, 'request_id')) - - -@_utilities.lift_output_func(get_internet_services) -def get_internet_services_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetInternetServicesFilterArgs']]]]] = None, - internet_service_ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInternetServicesResult]: - """ - Provides information about Internet services. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Internet-Gateways.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-internetservice). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - internet_services01 = outscale.get_internet_services(filters=[ - outscale.GetInternetServicesFilterArgs( - name="tag_keys", - values=["env"], - ), - outscale.GetInternetServicesFilterArgs( - name="tag_values", - values=[ - "prod", - "test", - ], - ), - ]) - ``` - - - :param Sequence[pulumi.InputType['GetInternetServicesFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param Sequence[str] internet_service_ids: The IDs of the Internet services. - """ - ... diff --git a/sdk/python/pulumi_outscale/get_keypair.py b/sdk/python/pulumi_outscale/get_keypair.py deleted file mode 100644 index 2f41ef9..0000000 --- a/sdk/python/pulumi_outscale/get_keypair.py +++ /dev/null @@ -1,156 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetKeypairResult', - 'AwaitableGetKeypairResult', - 'get_keypair', - 'get_keypair_output', -] - -@pulumi.output_type -class GetKeypairResult: - """ - A collection of values returned by getKeypair. - """ - def __init__(__self__, filters=None, id=None, keypair_fingerprint=None, keypair_name=None, request_id=None): - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if keypair_fingerprint and not isinstance(keypair_fingerprint, str): - raise TypeError("Expected argument 'keypair_fingerprint' to be a str") - pulumi.set(__self__, "keypair_fingerprint", keypair_fingerprint) - if keypair_name and not isinstance(keypair_name, str): - raise TypeError("Expected argument 'keypair_name' to be a str") - pulumi.set(__self__, "keypair_name", keypair_name) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetKeypairFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="keypairFingerprint") - def keypair_fingerprint(self) -> str: - """ - The MD5 public key fingerprint as specified in section 4 of RFC 4716. - """ - return pulumi.get(self, "keypair_fingerprint") - - @property - @pulumi.getter(name="keypairName") - def keypair_name(self) -> str: - """ - The name of the keypair. - """ - return pulumi.get(self, "keypair_name") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - -class AwaitableGetKeypairResult(GetKeypairResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetKeypairResult( - filters=self.filters, - id=self.id, - keypair_fingerprint=self.keypair_fingerprint, - keypair_name=self.keypair_name, - request_id=self.request_id) - - -def get_keypair(filters: Optional[Sequence[pulumi.InputType['GetKeypairFilterArgs']]] = None, - keypair_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetKeypairResult: - """ - Provides information about a keypair. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Keypairs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-keypair). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - keypair01 = outscale.get_keypair(filters=[outscale.GetKeypairFilterArgs( - name="keypair_names", - values=["terraform-keypair-01"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetKeypairFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param str keypair_name: The name of the keypair. - """ - __args__ = dict() - __args__['filters'] = filters - __args__['keypairName'] = keypair_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getKeypair:getKeypair', __args__, opts=opts, typ=GetKeypairResult).value - - return AwaitableGetKeypairResult( - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - keypair_fingerprint=pulumi.get(__ret__, 'keypair_fingerprint'), - keypair_name=pulumi.get(__ret__, 'keypair_name'), - request_id=pulumi.get(__ret__, 'request_id')) - - -@_utilities.lift_output_func(get_keypair) -def get_keypair_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetKeypairFilterArgs']]]]] = None, - keypair_name: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKeypairResult]: - """ - Provides information about a keypair. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Keypairs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-keypair). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - keypair01 = outscale.get_keypair(filters=[outscale.GetKeypairFilterArgs( - name="keypair_names", - values=["terraform-keypair-01"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetKeypairFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param str keypair_name: The name of the keypair. - """ - ... diff --git a/sdk/python/pulumi_outscale/get_keypairs.py b/sdk/python/pulumi_outscale/get_keypairs.py deleted file mode 100644 index eea73f4..0000000 --- a/sdk/python/pulumi_outscale/get_keypairs.py +++ /dev/null @@ -1,159 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetKeypairsResult', - 'AwaitableGetKeypairsResult', - 'get_keypairs', - 'get_keypairs_output', -] - -@pulumi.output_type -class GetKeypairsResult: - """ - A collection of values returned by getKeypairs. - """ - def __init__(__self__, filters=None, id=None, keypair_names=None, keypairs=None, request_id=None): - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if keypair_names and not isinstance(keypair_names, list): - raise TypeError("Expected argument 'keypair_names' to be a list") - pulumi.set(__self__, "keypair_names", keypair_names) - if keypairs and not isinstance(keypairs, list): - raise TypeError("Expected argument 'keypairs' to be a list") - pulumi.set(__self__, "keypairs", keypairs) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetKeypairsFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="keypairNames") - def keypair_names(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "keypair_names") - - @property - @pulumi.getter - def keypairs(self) -> Sequence['outputs.GetKeypairsKeypairResult']: - """ - Information about one or more keypairs. - """ - return pulumi.get(self, "keypairs") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - -class AwaitableGetKeypairsResult(GetKeypairsResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetKeypairsResult( - filters=self.filters, - id=self.id, - keypair_names=self.keypair_names, - keypairs=self.keypairs, - request_id=self.request_id) - - -def get_keypairs(filters: Optional[Sequence[pulumi.InputType['GetKeypairsFilterArgs']]] = None, - keypair_names: Optional[Sequence[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetKeypairsResult: - """ - Provides information about keypairs. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Keypairs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-keypair). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - keypairs01 = outscale.get_keypairs(filters=[outscale.GetKeypairsFilterArgs( - name="keypair_names", - values=[ - "terraform-keypair-01", - "terraform-keypair-02", - ], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetKeypairsFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param Sequence[str] keypair_names: The names of the keypairs. - """ - __args__ = dict() - __args__['filters'] = filters - __args__['keypairNames'] = keypair_names - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getKeypairs:getKeypairs', __args__, opts=opts, typ=GetKeypairsResult).value - - return AwaitableGetKeypairsResult( - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - keypair_names=pulumi.get(__ret__, 'keypair_names'), - keypairs=pulumi.get(__ret__, 'keypairs'), - request_id=pulumi.get(__ret__, 'request_id')) - - -@_utilities.lift_output_func(get_keypairs) -def get_keypairs_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetKeypairsFilterArgs']]]]] = None, - keypair_names: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKeypairsResult]: - """ - Provides information about keypairs. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Keypairs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-keypair). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - keypairs01 = outscale.get_keypairs(filters=[outscale.GetKeypairsFilterArgs( - name="keypair_names", - values=[ - "terraform-keypair-01", - "terraform-keypair-02", - ], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetKeypairsFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param Sequence[str] keypair_names: The names of the keypairs. - """ - ... diff --git a/sdk/python/pulumi_outscale/get_load_balancer.py b/sdk/python/pulumi_outscale/get_load_balancer.py deleted file mode 100644 index 2f951c3..0000000 --- a/sdk/python/pulumi_outscale/get_load_balancer.py +++ /dev/null @@ -1,408 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetLoadBalancerResult', - 'AwaitableGetLoadBalancerResult', - 'get_load_balancer', - 'get_load_balancer_output', -] - -@pulumi.output_type -class GetLoadBalancerResult: - """ - A collection of values returned by getLoadBalancer. - """ - def __init__(__self__, access_logs=None, application_sticky_cookie_policies=None, backend_vm_ids=None, dns_name=None, filters=None, health_checks=None, id=None, listeners=None, load_balancer_name=None, load_balancer_sticky_cookie_policies=None, load_balancer_type=None, net_id=None, public_ip=None, request_id=None, secured_cookies=None, security_groups=None, source_security_groups=None, subnets=None, subregion_names=None, tags=None): - if access_logs and not isinstance(access_logs, list): - raise TypeError("Expected argument 'access_logs' to be a list") - pulumi.set(__self__, "access_logs", access_logs) - if application_sticky_cookie_policies and not isinstance(application_sticky_cookie_policies, list): - raise TypeError("Expected argument 'application_sticky_cookie_policies' to be a list") - pulumi.set(__self__, "application_sticky_cookie_policies", application_sticky_cookie_policies) - if backend_vm_ids and not isinstance(backend_vm_ids, list): - raise TypeError("Expected argument 'backend_vm_ids' to be a list") - pulumi.set(__self__, "backend_vm_ids", backend_vm_ids) - if dns_name and not isinstance(dns_name, str): - raise TypeError("Expected argument 'dns_name' to be a str") - pulumi.set(__self__, "dns_name", dns_name) - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if health_checks and not isinstance(health_checks, list): - raise TypeError("Expected argument 'health_checks' to be a list") - pulumi.set(__self__, "health_checks", health_checks) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if listeners and not isinstance(listeners, list): - raise TypeError("Expected argument 'listeners' to be a list") - pulumi.set(__self__, "listeners", listeners) - if load_balancer_name and not isinstance(load_balancer_name, str): - raise TypeError("Expected argument 'load_balancer_name' to be a str") - pulumi.set(__self__, "load_balancer_name", load_balancer_name) - if load_balancer_sticky_cookie_policies and not isinstance(load_balancer_sticky_cookie_policies, list): - raise TypeError("Expected argument 'load_balancer_sticky_cookie_policies' to be a list") - pulumi.set(__self__, "load_balancer_sticky_cookie_policies", load_balancer_sticky_cookie_policies) - if load_balancer_type and not isinstance(load_balancer_type, str): - raise TypeError("Expected argument 'load_balancer_type' to be a str") - pulumi.set(__self__, "load_balancer_type", load_balancer_type) - if net_id and not isinstance(net_id, str): - raise TypeError("Expected argument 'net_id' to be a str") - pulumi.set(__self__, "net_id", net_id) - if public_ip and not isinstance(public_ip, str): - raise TypeError("Expected argument 'public_ip' to be a str") - pulumi.set(__self__, "public_ip", public_ip) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if secured_cookies and not isinstance(secured_cookies, bool): - raise TypeError("Expected argument 'secured_cookies' to be a bool") - pulumi.set(__self__, "secured_cookies", secured_cookies) - if security_groups and not isinstance(security_groups, list): - raise TypeError("Expected argument 'security_groups' to be a list") - pulumi.set(__self__, "security_groups", security_groups) - if source_security_groups and not isinstance(source_security_groups, list): - raise TypeError("Expected argument 'source_security_groups' to be a list") - pulumi.set(__self__, "source_security_groups", source_security_groups) - if subnets and not isinstance(subnets, list): - raise TypeError("Expected argument 'subnets' to be a list") - pulumi.set(__self__, "subnets", subnets) - if subregion_names and not isinstance(subregion_names, list): - raise TypeError("Expected argument 'subregion_names' to be a list") - pulumi.set(__self__, "subregion_names", subregion_names) - if tags and not isinstance(tags, list): - raise TypeError("Expected argument 'tags' to be a list") - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="accessLogs") - def access_logs(self) -> Sequence['outputs.GetLoadBalancerAccessLogResult']: - """ - Information about access logs. - """ - return pulumi.get(self, "access_logs") - - @property - @pulumi.getter(name="applicationStickyCookiePolicies") - def application_sticky_cookie_policies(self) -> Sequence['outputs.GetLoadBalancerApplicationStickyCookiePolicyResult']: - """ - The stickiness policies defined for the load balancer. - """ - return pulumi.get(self, "application_sticky_cookie_policies") - - @property - @pulumi.getter(name="backendVmIds") - def backend_vm_ids(self) -> Sequence[str]: - """ - One or more IDs of back-end VMs for the load balancer. - """ - return pulumi.get(self, "backend_vm_ids") - - @property - @pulumi.getter(name="dnsName") - def dns_name(self) -> str: - """ - The DNS name of the load balancer. - """ - return pulumi.get(self, "dns_name") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetLoadBalancerFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter(name="healthChecks") - def health_checks(self) -> Sequence['outputs.GetLoadBalancerHealthCheckResult']: - """ - Information about the health check configuration. - """ - return pulumi.get(self, "health_checks") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter - def listeners(self) -> Sequence['outputs.GetLoadBalancerListenerResult']: - """ - The listeners for the load balancer. - """ - return pulumi.get(self, "listeners") - - @property - @pulumi.getter(name="loadBalancerName") - def load_balancer_name(self) -> str: - """ - The name of the load balancer. - """ - return pulumi.get(self, "load_balancer_name") - - @property - @pulumi.getter(name="loadBalancerStickyCookiePolicies") - def load_balancer_sticky_cookie_policies(self) -> Sequence['outputs.GetLoadBalancerLoadBalancerStickyCookiePolicyResult']: - """ - The policies defined for the load balancer. - """ - return pulumi.get(self, "load_balancer_sticky_cookie_policies") - - @property - @pulumi.getter(name="loadBalancerType") - def load_balancer_type(self) -> str: - """ - The type of load balancer. Valid only for load balancers in a Net.
- If `load_balancer_type` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.
- If `load_balancer_type` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - """ - return pulumi.get(self, "load_balancer_type") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> str: - """ - The ID of the Net for the load balancer. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> str: - """ - (internet-facing only) The public IP associated with the load balancer. - """ - return pulumi.get(self, "public_ip") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="securedCookies") - def secured_cookies(self) -> bool: - """ - Whether secure cookies are enabled for the load balancer. - """ - return pulumi.get(self, "secured_cookies") - - @property - @pulumi.getter(name="securityGroups") - def security_groups(self) -> Sequence[str]: - """ - One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - """ - return pulumi.get(self, "security_groups") - - @property - @pulumi.getter(name="sourceSecurityGroups") - def source_security_groups(self) -> Sequence['outputs.GetLoadBalancerSourceSecurityGroupResult']: - """ - Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.
- To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. - """ - return pulumi.get(self, "source_security_groups") - - @property - @pulumi.getter - def subnets(self) -> Sequence[str]: - """ - The ID of the Subnet in which the load balancer was created. - """ - return pulumi.get(self, "subnets") - - @property - @pulumi.getter(name="subregionNames") - def subregion_names(self) -> Sequence[str]: - """ - The ID of the Subregion in which the load balancer was created. - """ - return pulumi.get(self, "subregion_names") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetLoadBalancerTagResult']: - """ - One or more tags associated with the load balancer. - """ - return pulumi.get(self, "tags") - - -class AwaitableGetLoadBalancerResult(GetLoadBalancerResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetLoadBalancerResult( - access_logs=self.access_logs, - application_sticky_cookie_policies=self.application_sticky_cookie_policies, - backend_vm_ids=self.backend_vm_ids, - dns_name=self.dns_name, - filters=self.filters, - health_checks=self.health_checks, - id=self.id, - listeners=self.listeners, - load_balancer_name=self.load_balancer_name, - load_balancer_sticky_cookie_policies=self.load_balancer_sticky_cookie_policies, - load_balancer_type=self.load_balancer_type, - net_id=self.net_id, - public_ip=self.public_ip, - request_id=self.request_id, - secured_cookies=self.secured_cookies, - security_groups=self.security_groups, - source_security_groups=self.source_security_groups, - subnets=self.subnets, - subregion_names=self.subregion_names, - tags=self.tags) - - -def get_load_balancer(access_logs: Optional[Sequence[pulumi.InputType['GetLoadBalancerAccessLogArgs']]] = None, - backend_vm_ids: Optional[Sequence[str]] = None, - dns_name: Optional[str] = None, - filters: Optional[Sequence[pulumi.InputType['GetLoadBalancerFilterArgs']]] = None, - health_checks: Optional[Sequence[pulumi.InputType['GetLoadBalancerHealthCheckArgs']]] = None, - listeners: Optional[Sequence[pulumi.InputType['GetLoadBalancerListenerArgs']]] = None, - load_balancer_name: Optional[str] = None, - load_balancer_type: Optional[str] = None, - net_id: Optional[str] = None, - security_groups: Optional[Sequence[str]] = None, - subnets: Optional[Sequence[str]] = None, - tags: Optional[Sequence[pulumi.InputType['GetLoadBalancerTagArgs']]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLoadBalancerResult: - """ - Provides information about a load balancer. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Load-Balancers.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-loadbalancer). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - load_balancer01 = outscale.get_load_balancer(filters=[outscale.GetLoadBalancerFilterArgs( - name="load_balancer_names", - values=["load_balancer01"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetLoadBalancerAccessLogArgs']] access_logs: Information about access logs. - :param Sequence[str] backend_vm_ids: One or more IDs of back-end VMs for the load balancer. - :param str dns_name: The DNS name of the load balancer. - :param Sequence[pulumi.InputType['GetLoadBalancerFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param Sequence[pulumi.InputType['GetLoadBalancerHealthCheckArgs']] health_checks: Information about the health check configuration. - :param Sequence[pulumi.InputType['GetLoadBalancerListenerArgs']] listeners: The listeners for the load balancer. - :param str load_balancer_name: The name of the load balancer. - :param str load_balancer_type: The type of load balancer. Valid only for load balancers in a Net.
- If `load_balancer_type` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.
- If `load_balancer_type` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - :param str net_id: The ID of the Net for the load balancer. - :param Sequence[str] security_groups: One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - :param Sequence[str] subnets: The ID of the Subnet in which the load balancer was created. - :param Sequence[pulumi.InputType['GetLoadBalancerTagArgs']] tags: One or more tags associated with the load balancer. - """ - __args__ = dict() - __args__['accessLogs'] = access_logs - __args__['backendVmIds'] = backend_vm_ids - __args__['dnsName'] = dns_name - __args__['filters'] = filters - __args__['healthChecks'] = health_checks - __args__['listeners'] = listeners - __args__['loadBalancerName'] = load_balancer_name - __args__['loadBalancerType'] = load_balancer_type - __args__['netId'] = net_id - __args__['securityGroups'] = security_groups - __args__['subnets'] = subnets - __args__['tags'] = tags - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getLoadBalancer:getLoadBalancer', __args__, opts=opts, typ=GetLoadBalancerResult).value - - return AwaitableGetLoadBalancerResult( - access_logs=pulumi.get(__ret__, 'access_logs'), - application_sticky_cookie_policies=pulumi.get(__ret__, 'application_sticky_cookie_policies'), - backend_vm_ids=pulumi.get(__ret__, 'backend_vm_ids'), - dns_name=pulumi.get(__ret__, 'dns_name'), - filters=pulumi.get(__ret__, 'filters'), - health_checks=pulumi.get(__ret__, 'health_checks'), - id=pulumi.get(__ret__, 'id'), - listeners=pulumi.get(__ret__, 'listeners'), - load_balancer_name=pulumi.get(__ret__, 'load_balancer_name'), - load_balancer_sticky_cookie_policies=pulumi.get(__ret__, 'load_balancer_sticky_cookie_policies'), - load_balancer_type=pulumi.get(__ret__, 'load_balancer_type'), - net_id=pulumi.get(__ret__, 'net_id'), - public_ip=pulumi.get(__ret__, 'public_ip'), - request_id=pulumi.get(__ret__, 'request_id'), - secured_cookies=pulumi.get(__ret__, 'secured_cookies'), - security_groups=pulumi.get(__ret__, 'security_groups'), - source_security_groups=pulumi.get(__ret__, 'source_security_groups'), - subnets=pulumi.get(__ret__, 'subnets'), - subregion_names=pulumi.get(__ret__, 'subregion_names'), - tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_load_balancer) -def get_load_balancer_output(access_logs: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetLoadBalancerAccessLogArgs']]]]] = None, - backend_vm_ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - dns_name: Optional[pulumi.Input[Optional[str]]] = None, - filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetLoadBalancerFilterArgs']]]]] = None, - health_checks: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetLoadBalancerHealthCheckArgs']]]]] = None, - listeners: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetLoadBalancerListenerArgs']]]]] = None, - load_balancer_name: Optional[pulumi.Input[Optional[str]]] = None, - load_balancer_type: Optional[pulumi.Input[Optional[str]]] = None, - net_id: Optional[pulumi.Input[Optional[str]]] = None, - security_groups: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - subnets: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - tags: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetLoadBalancerTagArgs']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLoadBalancerResult]: - """ - Provides information about a load balancer. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Load-Balancers.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-loadbalancer). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - load_balancer01 = outscale.get_load_balancer(filters=[outscale.GetLoadBalancerFilterArgs( - name="load_balancer_names", - values=["load_balancer01"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetLoadBalancerAccessLogArgs']] access_logs: Information about access logs. - :param Sequence[str] backend_vm_ids: One or more IDs of back-end VMs for the load balancer. - :param str dns_name: The DNS name of the load balancer. - :param Sequence[pulumi.InputType['GetLoadBalancerFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param Sequence[pulumi.InputType['GetLoadBalancerHealthCheckArgs']] health_checks: Information about the health check configuration. - :param Sequence[pulumi.InputType['GetLoadBalancerListenerArgs']] listeners: The listeners for the load balancer. - :param str load_balancer_name: The name of the load balancer. - :param str load_balancer_type: The type of load balancer. Valid only for load balancers in a Net.
- If `load_balancer_type` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.
- If `load_balancer_type` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - :param str net_id: The ID of the Net for the load balancer. - :param Sequence[str] security_groups: One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - :param Sequence[str] subnets: The ID of the Subnet in which the load balancer was created. - :param Sequence[pulumi.InputType['GetLoadBalancerTagArgs']] tags: One or more tags associated with the load balancer. - """ - ... diff --git a/sdk/python/pulumi_outscale/get_load_balancer_tags.py b/sdk/python/pulumi_outscale/get_load_balancer_tags.py deleted file mode 100644 index a3b5457..0000000 --- a/sdk/python/pulumi_outscale/get_load_balancer_tags.py +++ /dev/null @@ -1,112 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetLoadBalancerTagsResult', - 'AwaitableGetLoadBalancerTagsResult', - 'get_load_balancer_tags', - 'get_load_balancer_tags_output', -] - -@pulumi.output_type -class GetLoadBalancerTagsResult: - """ - A collection of values returned by getLoadBalancerTags. - """ - def __init__(__self__, filters=None, id=None, load_balancer_names=None, request_id=None, tags=None): - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if load_balancer_names and not isinstance(load_balancer_names, list): - raise TypeError("Expected argument 'load_balancer_names' to be a list") - pulumi.set(__self__, "load_balancer_names", load_balancer_names) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if tags and not isinstance(tags, list): - raise TypeError("Expected argument 'tags' to be a list") - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetLoadBalancerTagsFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="loadBalancerNames") - def load_balancer_names(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "load_balancer_names") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetLoadBalancerTagsTagResult']: - return pulumi.get(self, "tags") - - -class AwaitableGetLoadBalancerTagsResult(GetLoadBalancerTagsResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetLoadBalancerTagsResult( - filters=self.filters, - id=self.id, - load_balancer_names=self.load_balancer_names, - request_id=self.request_id, - tags=self.tags) - - -def get_load_balancer_tags(filters: Optional[Sequence[pulumi.InputType['GetLoadBalancerTagsFilterArgs']]] = None, - load_balancer_names: Optional[Sequence[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLoadBalancerTagsResult: - """ - Use this data source to access information about an existing resource. - """ - __args__ = dict() - __args__['filters'] = filters - __args__['loadBalancerNames'] = load_balancer_names - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getLoadBalancerTags:getLoadBalancerTags', __args__, opts=opts, typ=GetLoadBalancerTagsResult).value - - return AwaitableGetLoadBalancerTagsResult( - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - load_balancer_names=pulumi.get(__ret__, 'load_balancer_names'), - request_id=pulumi.get(__ret__, 'request_id'), - tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_load_balancer_tags) -def get_load_balancer_tags_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetLoadBalancerTagsFilterArgs']]]]] = None, - load_balancer_names: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLoadBalancerTagsResult]: - """ - Use this data source to access information about an existing resource. - """ - ... diff --git a/sdk/python/pulumi_outscale/get_load_balancer_vm_health.py b/sdk/python/pulumi_outscale/get_load_balancer_vm_health.py deleted file mode 100644 index 3c1f164..0000000 --- a/sdk/python/pulumi_outscale/get_load_balancer_vm_health.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetLoadBalancerVmHealthResult', - 'AwaitableGetLoadBalancerVmHealthResult', - 'get_load_balancer_vm_health', - 'get_load_balancer_vm_health_output', -] - -@pulumi.output_type -class GetLoadBalancerVmHealthResult: - """ - A collection of values returned by getLoadBalancerVmHealth. - """ - def __init__(__self__, backend_vm_healths=None, backend_vm_ids=None, filters=None, id=None, load_balancer_name=None, request_id=None): - if backend_vm_healths and not isinstance(backend_vm_healths, list): - raise TypeError("Expected argument 'backend_vm_healths' to be a list") - pulumi.set(__self__, "backend_vm_healths", backend_vm_healths) - if backend_vm_ids and not isinstance(backend_vm_ids, list): - raise TypeError("Expected argument 'backend_vm_ids' to be a list") - pulumi.set(__self__, "backend_vm_ids", backend_vm_ids) - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if load_balancer_name and not isinstance(load_balancer_name, str): - raise TypeError("Expected argument 'load_balancer_name' to be a str") - pulumi.set(__self__, "load_balancer_name", load_balancer_name) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - - @property - @pulumi.getter(name="backendVmHealths") - def backend_vm_healths(self) -> Sequence['outputs.GetLoadBalancerVmHealthBackendVmHealthResult']: - """ - Information about the health of one or more back-end VMs. - """ - return pulumi.get(self, "backend_vm_healths") - - @property - @pulumi.getter(name="backendVmIds") - def backend_vm_ids(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "backend_vm_ids") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetLoadBalancerVmHealthFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="loadBalancerName") - def load_balancer_name(self) -> str: - return pulumi.get(self, "load_balancer_name") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - -class AwaitableGetLoadBalancerVmHealthResult(GetLoadBalancerVmHealthResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetLoadBalancerVmHealthResult( - backend_vm_healths=self.backend_vm_healths, - backend_vm_ids=self.backend_vm_ids, - filters=self.filters, - id=self.id, - load_balancer_name=self.load_balancer_name, - request_id=self.request_id) - - -def get_load_balancer_vm_health(backend_vm_ids: Optional[Sequence[str]] = None, - filters: Optional[Sequence[pulumi.InputType['GetLoadBalancerVmHealthFilterArgs']]] = None, - load_balancer_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLoadBalancerVmHealthResult: - """ - Provides information about the health of one or more back-end VMs registered with a specific load balancer. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Load-Balancers.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readvmshealth). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - load_balancer_vm_health01 = outscale.get_load_balancer_vm_health(backend_vm_ids=[ - "i-12345678", - "i-87654321", - ], - load_balancer_name="load_balancer01") - ``` - - - :param Sequence[str] backend_vm_ids: One or more IDs of back-end VMs. - :param str load_balancer_name: The name of the load balancer. - """ - __args__ = dict() - __args__['backendVmIds'] = backend_vm_ids - __args__['filters'] = filters - __args__['loadBalancerName'] = load_balancer_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getLoadBalancerVmHealth:getLoadBalancerVmHealth', __args__, opts=opts, typ=GetLoadBalancerVmHealthResult).value - - return AwaitableGetLoadBalancerVmHealthResult( - backend_vm_healths=pulumi.get(__ret__, 'backend_vm_healths'), - backend_vm_ids=pulumi.get(__ret__, 'backend_vm_ids'), - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - load_balancer_name=pulumi.get(__ret__, 'load_balancer_name'), - request_id=pulumi.get(__ret__, 'request_id')) - - -@_utilities.lift_output_func(get_load_balancer_vm_health) -def get_load_balancer_vm_health_output(backend_vm_ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetLoadBalancerVmHealthFilterArgs']]]]] = None, - load_balancer_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLoadBalancerVmHealthResult]: - """ - Provides information about the health of one or more back-end VMs registered with a specific load balancer. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Load-Balancers.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readvmshealth). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - load_balancer_vm_health01 = outscale.get_load_balancer_vm_health(backend_vm_ids=[ - "i-12345678", - "i-87654321", - ], - load_balancer_name="load_balancer01") - ``` - - - :param Sequence[str] backend_vm_ids: One or more IDs of back-end VMs. - :param str load_balancer_name: The name of the load balancer. - """ - ... diff --git a/sdk/python/pulumi_outscale/get_load_balancers.py b/sdk/python/pulumi_outscale/get_load_balancers.py deleted file mode 100644 index 8db8a20..0000000 --- a/sdk/python/pulumi_outscale/get_load_balancers.py +++ /dev/null @@ -1,159 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetLoadBalancersResult', - 'AwaitableGetLoadBalancersResult', - 'get_load_balancers', - 'get_load_balancers_output', -] - -@pulumi.output_type -class GetLoadBalancersResult: - """ - A collection of values returned by getLoadBalancers. - """ - def __init__(__self__, filters=None, id=None, load_balancer_names=None, load_balancers=None, request_id=None): - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if load_balancer_names and not isinstance(load_balancer_names, list): - raise TypeError("Expected argument 'load_balancer_names' to be a list") - pulumi.set(__self__, "load_balancer_names", load_balancer_names) - if load_balancers and not isinstance(load_balancers, list): - raise TypeError("Expected argument 'load_balancers' to be a list") - pulumi.set(__self__, "load_balancers", load_balancers) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetLoadBalancersFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="loadBalancerNames") - def load_balancer_names(self) -> Optional[Sequence[str]]: - """ - The name of the load balancer. - """ - return pulumi.get(self, "load_balancer_names") - - @property - @pulumi.getter(name="loadBalancers") - def load_balancers(self) -> Sequence['outputs.GetLoadBalancersLoadBalancerResult']: - return pulumi.get(self, "load_balancers") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - -class AwaitableGetLoadBalancersResult(GetLoadBalancersResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetLoadBalancersResult( - filters=self.filters, - id=self.id, - load_balancer_names=self.load_balancer_names, - load_balancers=self.load_balancers, - request_id=self.request_id) - - -def get_load_balancers(filters: Optional[Sequence[pulumi.InputType['GetLoadBalancersFilterArgs']]] = None, - load_balancer_names: Optional[Sequence[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLoadBalancersResult: - """ - Provides information about load balancers. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Load-Balancers.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-loadbalancer). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - load_balancers01 = outscale.get_load_balancers(filters=[outscale.GetLoadBalancersFilterArgs( - name="load_balancer_names", - values=[ - "load_balancer01", - "load_balancer02", - ], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetLoadBalancersFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param Sequence[str] load_balancer_names: The name of the load balancer. - """ - __args__ = dict() - __args__['filters'] = filters - __args__['loadBalancerNames'] = load_balancer_names - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getLoadBalancers:getLoadBalancers', __args__, opts=opts, typ=GetLoadBalancersResult).value - - return AwaitableGetLoadBalancersResult( - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - load_balancer_names=pulumi.get(__ret__, 'load_balancer_names'), - load_balancers=pulumi.get(__ret__, 'load_balancers'), - request_id=pulumi.get(__ret__, 'request_id')) - - -@_utilities.lift_output_func(get_load_balancers) -def get_load_balancers_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetLoadBalancersFilterArgs']]]]] = None, - load_balancer_names: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLoadBalancersResult]: - """ - Provides information about load balancers. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Load-Balancers.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-loadbalancer). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - load_balancers01 = outscale.get_load_balancers(filters=[outscale.GetLoadBalancersFilterArgs( - name="load_balancer_names", - values=[ - "load_balancer01", - "load_balancer02", - ], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetLoadBalancersFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param Sequence[str] load_balancer_names: The name of the load balancer. - """ - ... diff --git a/sdk/python/pulumi_outscale/get_nat_service.py b/sdk/python/pulumi_outscale/get_nat_service.py deleted file mode 100644 index 2df3323..0000000 --- a/sdk/python/pulumi_outscale/get_nat_service.py +++ /dev/null @@ -1,208 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetNatServiceResult', - 'AwaitableGetNatServiceResult', - 'get_nat_service', - 'get_nat_service_output', -] - -@pulumi.output_type -class GetNatServiceResult: - """ - A collection of values returned by getNatService. - """ - def __init__(__self__, filters=None, id=None, nat_service_id=None, net_id=None, public_ips=None, request_id=None, state=None, subnet_id=None, tags=None): - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if nat_service_id and not isinstance(nat_service_id, str): - raise TypeError("Expected argument 'nat_service_id' to be a str") - pulumi.set(__self__, "nat_service_id", nat_service_id) - if net_id and not isinstance(net_id, str): - raise TypeError("Expected argument 'net_id' to be a str") - pulumi.set(__self__, "net_id", net_id) - if public_ips and not isinstance(public_ips, list): - raise TypeError("Expected argument 'public_ips' to be a list") - pulumi.set(__self__, "public_ips", public_ips) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if state and not isinstance(state, str): - raise TypeError("Expected argument 'state' to be a str") - pulumi.set(__self__, "state", state) - if subnet_id and not isinstance(subnet_id, str): - raise TypeError("Expected argument 'subnet_id' to be a str") - pulumi.set(__self__, "subnet_id", subnet_id) - if tags and not isinstance(tags, list): - raise TypeError("Expected argument 'tags' to be a list") - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetNatServiceFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="natServiceId") - def nat_service_id(self) -> Optional[str]: - """ - The ID of the NAT service. - """ - return pulumi.get(self, "nat_service_id") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> str: - """ - The ID of the Net in which the NAT service is. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="publicIps") - def public_ips(self) -> Sequence['outputs.GetNatServicePublicIpResult']: - """ - Information about the public IP or IPs associated with the NAT service. - """ - return pulumi.get(self, "public_ips") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the NAT service (`pending` \\| `available` \\| `deleting` \\| `deleted`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> str: - """ - The ID of the Subnet in which the NAT service is. - """ - return pulumi.get(self, "subnet_id") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetNatServiceTagResult']: - """ - One or more tags associated with the NAT service. - """ - return pulumi.get(self, "tags") - - -class AwaitableGetNatServiceResult(GetNatServiceResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetNatServiceResult( - filters=self.filters, - id=self.id, - nat_service_id=self.nat_service_id, - net_id=self.net_id, - public_ips=self.public_ips, - request_id=self.request_id, - state=self.state, - subnet_id=self.subnet_id, - tags=self.tags) - - -def get_nat_service(filters: Optional[Sequence[pulumi.InputType['GetNatServiceFilterArgs']]] = None, - nat_service_id: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNatServiceResult: - """ - Provides information about a NAT service. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-NAT-Gateways.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-natservice). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - nat_service01 = outscale.get_nat_service(filters=[outscale.GetNatServiceFilterArgs( - name="nat_service_ids", - values=["nat-12345678"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetNatServiceFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param str nat_service_id: The ID of the NAT service. - """ - __args__ = dict() - __args__['filters'] = filters - __args__['natServiceId'] = nat_service_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getNatService:getNatService', __args__, opts=opts, typ=GetNatServiceResult).value - - return AwaitableGetNatServiceResult( - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - nat_service_id=pulumi.get(__ret__, 'nat_service_id'), - net_id=pulumi.get(__ret__, 'net_id'), - public_ips=pulumi.get(__ret__, 'public_ips'), - request_id=pulumi.get(__ret__, 'request_id'), - state=pulumi.get(__ret__, 'state'), - subnet_id=pulumi.get(__ret__, 'subnet_id'), - tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_nat_service) -def get_nat_service_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetNatServiceFilterArgs']]]]] = None, - nat_service_id: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNatServiceResult]: - """ - Provides information about a NAT service. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-NAT-Gateways.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-natservice). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - nat_service01 = outscale.get_nat_service(filters=[outscale.GetNatServiceFilterArgs( - name="nat_service_ids", - values=["nat-12345678"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetNatServiceFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param str nat_service_id: The ID of the NAT service. - """ - ... diff --git a/sdk/python/pulumi_outscale/get_nat_services.py b/sdk/python/pulumi_outscale/get_nat_services.py deleted file mode 100644 index e82bf00..0000000 --- a/sdk/python/pulumi_outscale/get_nat_services.py +++ /dev/null @@ -1,171 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetNatServicesResult', - 'AwaitableGetNatServicesResult', - 'get_nat_services', - 'get_nat_services_output', -] - -@pulumi.output_type -class GetNatServicesResult: - """ - A collection of values returned by getNatServices. - """ - def __init__(__self__, filters=None, id=None, nat_service_ids=None, nat_services=None, request_id=None): - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if nat_service_ids and not isinstance(nat_service_ids, list): - raise TypeError("Expected argument 'nat_service_ids' to be a list") - pulumi.set(__self__, "nat_service_ids", nat_service_ids) - if nat_services and not isinstance(nat_services, list): - raise TypeError("Expected argument 'nat_services' to be a list") - pulumi.set(__self__, "nat_services", nat_services) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetNatServicesFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="natServiceIds") - def nat_service_ids(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "nat_service_ids") - - @property - @pulumi.getter(name="natServices") - def nat_services(self) -> Sequence['outputs.GetNatServicesNatServiceResult']: - """ - Information about one or more NAT services. - """ - return pulumi.get(self, "nat_services") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - -class AwaitableGetNatServicesResult(GetNatServicesResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetNatServicesResult( - filters=self.filters, - id=self.id, - nat_service_ids=self.nat_service_ids, - nat_services=self.nat_services, - request_id=self.request_id) - - -def get_nat_services(filters: Optional[Sequence[pulumi.InputType['GetNatServicesFilterArgs']]] = None, - nat_service_ids: Optional[Sequence[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNatServicesResult: - """ - Provides information about NAT services. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-NAT-Gateways.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-natservice). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - nat_services01 = outscale.get_nat_services(filters=[ - outscale.GetNatServicesFilterArgs( - name="net_ids", - values=[ - "vpc-12345678", - "vpc-87654321", - ], - ), - outscale.GetNatServicesFilterArgs( - name="subnet_ids", - values=["eu-west-2a"], - ), - ]) - ``` - - - :param Sequence[pulumi.InputType['GetNatServicesFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param Sequence[str] nat_service_ids: The IDs of the NAT services. - """ - __args__ = dict() - __args__['filters'] = filters - __args__['natServiceIds'] = nat_service_ids - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getNatServices:getNatServices', __args__, opts=opts, typ=GetNatServicesResult).value - - return AwaitableGetNatServicesResult( - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - nat_service_ids=pulumi.get(__ret__, 'nat_service_ids'), - nat_services=pulumi.get(__ret__, 'nat_services'), - request_id=pulumi.get(__ret__, 'request_id')) - - -@_utilities.lift_output_func(get_nat_services) -def get_nat_services_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetNatServicesFilterArgs']]]]] = None, - nat_service_ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNatServicesResult]: - """ - Provides information about NAT services. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-NAT-Gateways.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-natservice). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - nat_services01 = outscale.get_nat_services(filters=[ - outscale.GetNatServicesFilterArgs( - name="net_ids", - values=[ - "vpc-12345678", - "vpc-87654321", - ], - ), - outscale.GetNatServicesFilterArgs( - name="subnet_ids", - values=["eu-west-2a"], - ), - ]) - ``` - - - :param Sequence[pulumi.InputType['GetNatServicesFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param Sequence[str] nat_service_ids: The IDs of the NAT services. - """ - ... diff --git a/sdk/python/pulumi_outscale/get_net.py b/sdk/python/pulumi_outscale/get_net.py deleted file mode 100644 index fe53fda..0000000 --- a/sdk/python/pulumi_outscale/get_net.py +++ /dev/null @@ -1,208 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetNetResult', - 'AwaitableGetNetResult', - 'get_net', - 'get_net_output', -] - -@pulumi.output_type -class GetNetResult: - """ - A collection of values returned by getNet. - """ - def __init__(__self__, dhcp_options_set_id=None, filters=None, id=None, ip_range=None, net_id=None, request_id=None, state=None, tags=None, tenancy=None): - if dhcp_options_set_id and not isinstance(dhcp_options_set_id, str): - raise TypeError("Expected argument 'dhcp_options_set_id' to be a str") - pulumi.set(__self__, "dhcp_options_set_id", dhcp_options_set_id) - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if ip_range and not isinstance(ip_range, str): - raise TypeError("Expected argument 'ip_range' to be a str") - pulumi.set(__self__, "ip_range", ip_range) - if net_id and not isinstance(net_id, str): - raise TypeError("Expected argument 'net_id' to be a str") - pulumi.set(__self__, "net_id", net_id) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if state and not isinstance(state, str): - raise TypeError("Expected argument 'state' to be a str") - pulumi.set(__self__, "state", state) - if tags and not isinstance(tags, list): - raise TypeError("Expected argument 'tags' to be a list") - pulumi.set(__self__, "tags", tags) - if tenancy and not isinstance(tenancy, str): - raise TypeError("Expected argument 'tenancy' to be a str") - pulumi.set(__self__, "tenancy", tenancy) - - @property - @pulumi.getter(name="dhcpOptionsSetId") - def dhcp_options_set_id(self) -> str: - """ - The ID of the DHCP options set (or `default` if you want to associate the default one). - """ - return pulumi.get(self, "dhcp_options_set_id") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetNetFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="ipRange") - def ip_range(self) -> str: - """ - The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). - """ - return pulumi.get(self, "ip_range") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> str: - """ - The ID of the Net. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the Net (`pending` \\| `available` \\| `deleted`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetNetTagResult']: - """ - One or more tags associated with the Net. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter - def tenancy(self) -> str: - """ - The VM tenancy in a Net. - """ - return pulumi.get(self, "tenancy") - - -class AwaitableGetNetResult(GetNetResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetNetResult( - dhcp_options_set_id=self.dhcp_options_set_id, - filters=self.filters, - id=self.id, - ip_range=self.ip_range, - net_id=self.net_id, - request_id=self.request_id, - state=self.state, - tags=self.tags, - tenancy=self.tenancy) - - -def get_net(filters: Optional[Sequence[pulumi.InputType['GetNetFilterArgs']]] = None, - net_id: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetResult: - """ - Provides information about a Net. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPCs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-net). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - net01 = outscale.get_net(filters=[outscale.GetNetFilterArgs( - name="net_ids", - values=["vpc-12345678"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetNetFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param str net_id: The ID of the Net. - """ - __args__ = dict() - __args__['filters'] = filters - __args__['netId'] = net_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getNet:getNet', __args__, opts=opts, typ=GetNetResult).value - - return AwaitableGetNetResult( - dhcp_options_set_id=pulumi.get(__ret__, 'dhcp_options_set_id'), - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - ip_range=pulumi.get(__ret__, 'ip_range'), - net_id=pulumi.get(__ret__, 'net_id'), - request_id=pulumi.get(__ret__, 'request_id'), - state=pulumi.get(__ret__, 'state'), - tags=pulumi.get(__ret__, 'tags'), - tenancy=pulumi.get(__ret__, 'tenancy')) - - -@_utilities.lift_output_func(get_net) -def get_net_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetNetFilterArgs']]]]] = None, - net_id: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetResult]: - """ - Provides information about a Net. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPCs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-net). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - net01 = outscale.get_net(filters=[outscale.GetNetFilterArgs( - name="net_ids", - values=["vpc-12345678"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetNetFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param str net_id: The ID of the Net. - """ - ... diff --git a/sdk/python/pulumi_outscale/get_net_access_point.py b/sdk/python/pulumi_outscale/get_net_access_point.py deleted file mode 100644 index 2cc5c91..0000000 --- a/sdk/python/pulumi_outscale/get_net_access_point.py +++ /dev/null @@ -1,239 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetNetAccessPointResult', - 'AwaitableGetNetAccessPointResult', - 'get_net_access_point', - 'get_net_access_point_output', -] - -@pulumi.output_type -class GetNetAccessPointResult: - """ - A collection of values returned by getNetAccessPoint. - """ - def __init__(__self__, filters=None, id=None, net_access_point_id=None, net_id=None, request_id=None, route_table_ids=None, service_name=None, state=None, tags=None): - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if net_access_point_id and not isinstance(net_access_point_id, str): - raise TypeError("Expected argument 'net_access_point_id' to be a str") - pulumi.set(__self__, "net_access_point_id", net_access_point_id) - if net_id and not isinstance(net_id, str): - raise TypeError("Expected argument 'net_id' to be a str") - pulumi.set(__self__, "net_id", net_id) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if route_table_ids and not isinstance(route_table_ids, list): - raise TypeError("Expected argument 'route_table_ids' to be a list") - pulumi.set(__self__, "route_table_ids", route_table_ids) - if service_name and not isinstance(service_name, str): - raise TypeError("Expected argument 'service_name' to be a str") - pulumi.set(__self__, "service_name", service_name) - if state and not isinstance(state, str): - raise TypeError("Expected argument 'state' to be a str") - pulumi.set(__self__, "state", state) - if tags and not isinstance(tags, list): - raise TypeError("Expected argument 'tags' to be a list") - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetNetAccessPointFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="netAccessPointId") - def net_access_point_id(self) -> str: - """ - The ID of the Net access point. - """ - return pulumi.get(self, "net_access_point_id") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> str: - """ - The ID of the Net with which the Net access point is associated. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="routeTableIds") - def route_table_ids(self) -> Sequence[str]: - """ - The ID of the route tables associated with the Net access point. - """ - return pulumi.get(self, "route_table_ids") - - @property - @pulumi.getter(name="serviceName") - def service_name(self) -> str: - """ - The name of the service with which the Net access point is associated. - """ - return pulumi.get(self, "service_name") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the Net access point (`pending` \\| `available` \\| `deleting` \\| `deleted`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetNetAccessPointTagResult']: - """ - One or more tags associated with the Net access point. - """ - return pulumi.get(self, "tags") - - -class AwaitableGetNetAccessPointResult(GetNetAccessPointResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetNetAccessPointResult( - filters=self.filters, - id=self.id, - net_access_point_id=self.net_access_point_id, - net_id=self.net_id, - request_id=self.request_id, - route_table_ids=self.route_table_ids, - service_name=self.service_name, - state=self.state, - tags=self.tags) - - -def get_net_access_point(filters: Optional[Sequence[pulumi.InputType['GetNetAccessPointFilterArgs']]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetAccessPointResult: - """ - Provides information about a Net access point. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Endpoints.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netaccesspoint). - - ## Example Usage - ### List a Net access point - - ```python - import pulumi - import pulumi_outscale as outscale - - net_access_point01 = outscale.get_net_access_point(filters=[outscale.GetNetAccessPointFilterArgs( - name="net_access_point_ids", - values=["vpce-12345678"], - )]) - ``` - ### List a Net access point according to its Net and state - - ```python - import pulumi - import pulumi_outscale as outscale - - net_access_point02 = outscale.get_net_access_point(filters=[ - outscale.GetNetAccessPointFilterArgs( - name="net_ids", - values=["vpc-12345678"], - ), - outscale.GetNetAccessPointFilterArgs( - name="states", - values=["available"], - ), - ]) - ``` - - - :param Sequence[pulumi.InputType['GetNetAccessPointFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - __args__ = dict() - __args__['filters'] = filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getNetAccessPoint:getNetAccessPoint', __args__, opts=opts, typ=GetNetAccessPointResult).value - - return AwaitableGetNetAccessPointResult( - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - net_access_point_id=pulumi.get(__ret__, 'net_access_point_id'), - net_id=pulumi.get(__ret__, 'net_id'), - request_id=pulumi.get(__ret__, 'request_id'), - route_table_ids=pulumi.get(__ret__, 'route_table_ids'), - service_name=pulumi.get(__ret__, 'service_name'), - state=pulumi.get(__ret__, 'state'), - tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_net_access_point) -def get_net_access_point_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetNetAccessPointFilterArgs']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetAccessPointResult]: - """ - Provides information about a Net access point. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Endpoints.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netaccesspoint). - - ## Example Usage - ### List a Net access point - - ```python - import pulumi - import pulumi_outscale as outscale - - net_access_point01 = outscale.get_net_access_point(filters=[outscale.GetNetAccessPointFilterArgs( - name="net_access_point_ids", - values=["vpce-12345678"], - )]) - ``` - ### List a Net access point according to its Net and state - - ```python - import pulumi - import pulumi_outscale as outscale - - net_access_point02 = outscale.get_net_access_point(filters=[ - outscale.GetNetAccessPointFilterArgs( - name="net_ids", - values=["vpc-12345678"], - ), - outscale.GetNetAccessPointFilterArgs( - name="states", - values=["available"], - ), - ]) - ``` - - - :param Sequence[pulumi.InputType['GetNetAccessPointFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - ... diff --git a/sdk/python/pulumi_outscale/get_net_access_point_services.py b/sdk/python/pulumi_outscale/get_net_access_point_services.py deleted file mode 100644 index 5dc8ece..0000000 --- a/sdk/python/pulumi_outscale/get_net_access_point_services.py +++ /dev/null @@ -1,184 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetNetAccessPointServicesResult', - 'AwaitableGetNetAccessPointServicesResult', - 'get_net_access_point_services', - 'get_net_access_point_services_output', -] - -@pulumi.output_type -class GetNetAccessPointServicesResult: - """ - A collection of values returned by getNetAccessPointServices. - """ - def __init__(__self__, filters=None, id=None, request_id=None, services=None): - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if services and not isinstance(services, list): - raise TypeError("Expected argument 'services' to be a list") - pulumi.set(__self__, "services", services) - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetNetAccessPointServicesFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def services(self) -> Sequence['outputs.GetNetAccessPointServicesServiceResult']: - """ - The names of the services you can use for Net access points. - """ - return pulumi.get(self, "services") - - -class AwaitableGetNetAccessPointServicesResult(GetNetAccessPointServicesResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetNetAccessPointServicesResult( - filters=self.filters, - id=self.id, - request_id=self.request_id, - services=self.services) - - -def get_net_access_point_services(filters: Optional[Sequence[pulumi.InputType['GetNetAccessPointServicesFilterArgs']]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetAccessPointServicesResult: - """ - Provides information about Net access point services. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Endpoints.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netaccesspoint). - - ## Example Usage - ### List all services available to create Net access points - - ```python - import pulumi - import pulumi_outscale as outscale - - all_services = outscale.get_net_access_point_services() - ``` - ### List one or more services according to their service IDs - - ```python - import pulumi - import pulumi_outscale as outscale - - services01 = outscale.get_net_access_point_services(filters=[outscale.GetNetAccessPointServicesFilterArgs( - name="service_ids", - values=[ - "pl-12345678", - "pl-12345679", - ], - )]) - ``` - ### List one or more services according to their service names - - ```python - import pulumi - import pulumi_outscale as outscale - - services02 = outscale.get_net_access_point_services(filters=[outscale.GetNetAccessPointServicesFilterArgs( - name="service_names", - values=["com.outscale.eu-west-2.api"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetNetAccessPointServicesFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - __args__ = dict() - __args__['filters'] = filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getNetAccessPointServices:getNetAccessPointServices', __args__, opts=opts, typ=GetNetAccessPointServicesResult).value - - return AwaitableGetNetAccessPointServicesResult( - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - request_id=pulumi.get(__ret__, 'request_id'), - services=pulumi.get(__ret__, 'services')) - - -@_utilities.lift_output_func(get_net_access_point_services) -def get_net_access_point_services_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetNetAccessPointServicesFilterArgs']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetAccessPointServicesResult]: - """ - Provides information about Net access point services. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Endpoints.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netaccesspoint). - - ## Example Usage - ### List all services available to create Net access points - - ```python - import pulumi - import pulumi_outscale as outscale - - all_services = outscale.get_net_access_point_services() - ``` - ### List one or more services according to their service IDs - - ```python - import pulumi - import pulumi_outscale as outscale - - services01 = outscale.get_net_access_point_services(filters=[outscale.GetNetAccessPointServicesFilterArgs( - name="service_ids", - values=[ - "pl-12345678", - "pl-12345679", - ], - )]) - ``` - ### List one or more services according to their service names - - ```python - import pulumi - import pulumi_outscale as outscale - - services02 = outscale.get_net_access_point_services(filters=[outscale.GetNetAccessPointServicesFilterArgs( - name="service_names", - values=["com.outscale.eu-west-2.api"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetNetAccessPointServicesFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - ... diff --git a/sdk/python/pulumi_outscale/get_net_access_points.py b/sdk/python/pulumi_outscale/get_net_access_points.py deleted file mode 100644 index 091add1..0000000 --- a/sdk/python/pulumi_outscale/get_net_access_points.py +++ /dev/null @@ -1,180 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetNetAccessPointsResult', - 'AwaitableGetNetAccessPointsResult', - 'get_net_access_points', - 'get_net_access_points_output', -] - -@pulumi.output_type -class GetNetAccessPointsResult: - """ - A collection of values returned by getNetAccessPoints. - """ - def __init__(__self__, filters=None, id=None, net_access_points=None, request_id=None): - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if net_access_points and not isinstance(net_access_points, list): - raise TypeError("Expected argument 'net_access_points' to be a list") - pulumi.set(__self__, "net_access_points", net_access_points) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetNetAccessPointsFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="netAccessPoints") - def net_access_points(self) -> Sequence['outputs.GetNetAccessPointsNetAccessPointResult']: - """ - One or more Net access points. - """ - return pulumi.get(self, "net_access_points") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - -class AwaitableGetNetAccessPointsResult(GetNetAccessPointsResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetNetAccessPointsResult( - filters=self.filters, - id=self.id, - net_access_points=self.net_access_points, - request_id=self.request_id) - - -def get_net_access_points(filters: Optional[Sequence[pulumi.InputType['GetNetAccessPointsFilterArgs']]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetAccessPointsResult: - """ - Provides information about Net access points. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Endpoints.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netaccesspoint). - - ## Example Usage - ### List Net access points - - ```python - import pulumi - import pulumi_outscale as outscale - - net_access_points01 = outscale.get_net_access_points(filters=[outscale.GetNetAccessPointsFilterArgs( - name="net_access_point_ids", - values=[ - "vpce-12345678", - "vpce-12345679", - ], - )]) - ``` - ### List Net access points according to their Net and state - - ```python - import pulumi - import pulumi_outscale as outscale - - net_access_points02 = outscale.get_net_access_points(filters=[ - outscale.GetNetAccessPointsFilterArgs( - name="net_ids", - values=["vpc-12345678"], - ), - outscale.GetNetAccessPointsFilterArgs( - name="states", - values=["available"], - ), - ]) - ``` - - - :param Sequence[pulumi.InputType['GetNetAccessPointsFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - __args__ = dict() - __args__['filters'] = filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getNetAccessPoints:getNetAccessPoints', __args__, opts=opts, typ=GetNetAccessPointsResult).value - - return AwaitableGetNetAccessPointsResult( - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - net_access_points=pulumi.get(__ret__, 'net_access_points'), - request_id=pulumi.get(__ret__, 'request_id')) - - -@_utilities.lift_output_func(get_net_access_points) -def get_net_access_points_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetNetAccessPointsFilterArgs']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetAccessPointsResult]: - """ - Provides information about Net access points. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Endpoints.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netaccesspoint). - - ## Example Usage - ### List Net access points - - ```python - import pulumi - import pulumi_outscale as outscale - - net_access_points01 = outscale.get_net_access_points(filters=[outscale.GetNetAccessPointsFilterArgs( - name="net_access_point_ids", - values=[ - "vpce-12345678", - "vpce-12345679", - ], - )]) - ``` - ### List Net access points according to their Net and state - - ```python - import pulumi - import pulumi_outscale as outscale - - net_access_points02 = outscale.get_net_access_points(filters=[ - outscale.GetNetAccessPointsFilterArgs( - name="net_ids", - values=["vpc-12345678"], - ), - outscale.GetNetAccessPointsFilterArgs( - name="states", - values=["available"], - ), - ]) - ``` - - - :param Sequence[pulumi.InputType['GetNetAccessPointsFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - ... diff --git a/sdk/python/pulumi_outscale/get_net_attributes.py b/sdk/python/pulumi_outscale/get_net_attributes.py deleted file mode 100644 index ddc4a81..0000000 --- a/sdk/python/pulumi_outscale/get_net_attributes.py +++ /dev/null @@ -1,186 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs - -__all__ = [ - 'GetNetAttributesResult', - 'AwaitableGetNetAttributesResult', - 'get_net_attributes', - 'get_net_attributes_output', -] - -@pulumi.output_type -class GetNetAttributesResult: - """ - A collection of values returned by getNetAttributes. - """ - def __init__(__self__, dhcp_options_set_id=None, id=None, ip_range=None, net_id=None, request_id=None, state=None, tags=None, tenancy=None): - if dhcp_options_set_id and not isinstance(dhcp_options_set_id, str): - raise TypeError("Expected argument 'dhcp_options_set_id' to be a str") - pulumi.set(__self__, "dhcp_options_set_id", dhcp_options_set_id) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if ip_range and not isinstance(ip_range, str): - raise TypeError("Expected argument 'ip_range' to be a str") - pulumi.set(__self__, "ip_range", ip_range) - if net_id and not isinstance(net_id, str): - raise TypeError("Expected argument 'net_id' to be a str") - pulumi.set(__self__, "net_id", net_id) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if state and not isinstance(state, str): - raise TypeError("Expected argument 'state' to be a str") - pulumi.set(__self__, "state", state) - if tags and not isinstance(tags, list): - raise TypeError("Expected argument 'tags' to be a list") - pulumi.set(__self__, "tags", tags) - if tenancy and not isinstance(tenancy, str): - raise TypeError("Expected argument 'tenancy' to be a str") - pulumi.set(__self__, "tenancy", tenancy) - - @property - @pulumi.getter(name="dhcpOptionsSetId") - def dhcp_options_set_id(self) -> str: - """ - The ID of the DHCP options set (or `default` if you want to associate the default one). - """ - return pulumi.get(self, "dhcp_options_set_id") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="ipRange") - def ip_range(self) -> str: - """ - The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). - """ - return pulumi.get(self, "ip_range") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> str: - """ - The ID of the Net. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the Net (`pending` \\| `available` \\| `deleted`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetNetAttributesTagResult']: - """ - One or more tags associated with the Net. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter - def tenancy(self) -> str: - """ - The VM tenancy in a Net. - """ - return pulumi.get(self, "tenancy") - - -class AwaitableGetNetAttributesResult(GetNetAttributesResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetNetAttributesResult( - dhcp_options_set_id=self.dhcp_options_set_id, - id=self.id, - ip_range=self.ip_range, - net_id=self.net_id, - request_id=self.request_id, - state=self.state, - tags=self.tags, - tenancy=self.tenancy) - - -def get_net_attributes(net_id: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetAttributesResult: - """ - Provides information about the attributes of a Net. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-DHCP-Options.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#updatenet). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - net_attributes01 = outscale.get_net_attributes(net_id="vpc-12345678") - ``` - - - :param str net_id: The ID of the Net. - """ - __args__ = dict() - __args__['netId'] = net_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getNetAttributes:getNetAttributes', __args__, opts=opts, typ=GetNetAttributesResult).value - - return AwaitableGetNetAttributesResult( - dhcp_options_set_id=pulumi.get(__ret__, 'dhcp_options_set_id'), - id=pulumi.get(__ret__, 'id'), - ip_range=pulumi.get(__ret__, 'ip_range'), - net_id=pulumi.get(__ret__, 'net_id'), - request_id=pulumi.get(__ret__, 'request_id'), - state=pulumi.get(__ret__, 'state'), - tags=pulumi.get(__ret__, 'tags'), - tenancy=pulumi.get(__ret__, 'tenancy')) - - -@_utilities.lift_output_func(get_net_attributes) -def get_net_attributes_output(net_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetAttributesResult]: - """ - Provides information about the attributes of a Net. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-DHCP-Options.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#updatenet). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - net_attributes01 = outscale.get_net_attributes(net_id="vpc-12345678") - ``` - - - :param str net_id: The ID of the Net. - """ - ... diff --git a/sdk/python/pulumi_outscale/get_net_peering.py b/sdk/python/pulumi_outscale/get_net_peering.py deleted file mode 100644 index 499a6f1..0000000 --- a/sdk/python/pulumi_outscale/get_net_peering.py +++ /dev/null @@ -1,190 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetNetPeeringResult', - 'AwaitableGetNetPeeringResult', - 'get_net_peering', - 'get_net_peering_output', -] - -@pulumi.output_type -class GetNetPeeringResult: - """ - A collection of values returned by getNetPeering. - """ - def __init__(__self__, accepter_nets=None, filters=None, id=None, net_peering_id=None, request_id=None, source_nets=None, states=None, tags=None): - if accepter_nets and not isinstance(accepter_nets, list): - raise TypeError("Expected argument 'accepter_nets' to be a list") - pulumi.set(__self__, "accepter_nets", accepter_nets) - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if net_peering_id and not isinstance(net_peering_id, str): - raise TypeError("Expected argument 'net_peering_id' to be a str") - pulumi.set(__self__, "net_peering_id", net_peering_id) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if source_nets and not isinstance(source_nets, list): - raise TypeError("Expected argument 'source_nets' to be a list") - pulumi.set(__self__, "source_nets", source_nets) - if states and not isinstance(states, list): - raise TypeError("Expected argument 'states' to be a list") - pulumi.set(__self__, "states", states) - if tags and not isinstance(tags, list): - raise TypeError("Expected argument 'tags' to be a list") - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="accepterNets") - def accepter_nets(self) -> Sequence['outputs.GetNetPeeringAccepterNetResult']: - """ - Information about the accepter Net. - """ - return pulumi.get(self, "accepter_nets") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetNetPeeringFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="netPeeringId") - def net_peering_id(self) -> str: - """ - The ID of the Net peering. - """ - return pulumi.get(self, "net_peering_id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="sourceNets") - def source_nets(self) -> Sequence['outputs.GetNetPeeringSourceNetResult']: - """ - Information about the source Net. - """ - return pulumi.get(self, "source_nets") - - @property - @pulumi.getter - def states(self) -> Sequence['outputs.GetNetPeeringStateResult']: - """ - Information about the state of the Net peering. - """ - return pulumi.get(self, "states") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetNetPeeringTagResult']: - """ - One or more tags associated with the Net peering. - """ - return pulumi.get(self, "tags") - - -class AwaitableGetNetPeeringResult(GetNetPeeringResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetNetPeeringResult( - accepter_nets=self.accepter_nets, - filters=self.filters, - id=self.id, - net_peering_id=self.net_peering_id, - request_id=self.request_id, - source_nets=self.source_nets, - states=self.states, - tags=self.tags) - - -def get_net_peering(filters: Optional[Sequence[pulumi.InputType['GetNetPeeringFilterArgs']]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetPeeringResult: - """ - Provides information about a Net peering. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Peering-Connections.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netpeering). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - net_peering01 = outscale.get_net_peering(filters=[outscale.GetNetPeeringFilterArgs( - name="net_peering_ids", - values=["pcx-12345678"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetNetPeeringFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - __args__ = dict() - __args__['filters'] = filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getNetPeering:getNetPeering', __args__, opts=opts, typ=GetNetPeeringResult).value - - return AwaitableGetNetPeeringResult( - accepter_nets=pulumi.get(__ret__, 'accepter_nets'), - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - net_peering_id=pulumi.get(__ret__, 'net_peering_id'), - request_id=pulumi.get(__ret__, 'request_id'), - source_nets=pulumi.get(__ret__, 'source_nets'), - states=pulumi.get(__ret__, 'states'), - tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_net_peering) -def get_net_peering_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetNetPeeringFilterArgs']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetPeeringResult]: - """ - Provides information about a Net peering. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Peering-Connections.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netpeering). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - net_peering01 = outscale.get_net_peering(filters=[outscale.GetNetPeeringFilterArgs( - name="net_peering_ids", - values=["pcx-12345678"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetNetPeeringFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - ... diff --git a/sdk/python/pulumi_outscale/get_net_peerings.py b/sdk/python/pulumi_outscale/get_net_peerings.py deleted file mode 100644 index 9080526..0000000 --- a/sdk/python/pulumi_outscale/get_net_peerings.py +++ /dev/null @@ -1,156 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetNetPeeringsResult', - 'AwaitableGetNetPeeringsResult', - 'get_net_peerings', - 'get_net_peerings_output', -] - -@pulumi.output_type -class GetNetPeeringsResult: - """ - A collection of values returned by getNetPeerings. - """ - def __init__(__self__, filters=None, id=None, net_peerings=None, request_id=None): - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if net_peerings and not isinstance(net_peerings, list): - raise TypeError("Expected argument 'net_peerings' to be a list") - pulumi.set(__self__, "net_peerings", net_peerings) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetNetPeeringsFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="netPeerings") - def net_peerings(self) -> Sequence['outputs.GetNetPeeringsNetPeeringResult']: - """ - Information about one or more Net peerings. - """ - return pulumi.get(self, "net_peerings") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - -class AwaitableGetNetPeeringsResult(GetNetPeeringsResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetNetPeeringsResult( - filters=self.filters, - id=self.id, - net_peerings=self.net_peerings, - request_id=self.request_id) - - -def get_net_peerings(filters: Optional[Sequence[pulumi.InputType['GetNetPeeringsFilterArgs']]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetPeeringsResult: - """ - Provides information about Net peerings. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Peering-Connections.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netpeering). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - net_peerings01 = outscale.get_net_peerings(filters=[ - outscale.GetNetPeeringsFilterArgs( - name="source_net_net_ids", - values=["vpc-12345678"], - ), - outscale.GetNetPeeringsFilterArgs( - name="state_names", - values=[ - "active", - "pending-acceptance", - ], - ), - ]) - ``` - - - :param Sequence[pulumi.InputType['GetNetPeeringsFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - __args__ = dict() - __args__['filters'] = filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getNetPeerings:getNetPeerings', __args__, opts=opts, typ=GetNetPeeringsResult).value - - return AwaitableGetNetPeeringsResult( - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - net_peerings=pulumi.get(__ret__, 'net_peerings'), - request_id=pulumi.get(__ret__, 'request_id')) - - -@_utilities.lift_output_func(get_net_peerings) -def get_net_peerings_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetNetPeeringsFilterArgs']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetPeeringsResult]: - """ - Provides information about Net peerings. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Peering-Connections.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netpeering). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - net_peerings01 = outscale.get_net_peerings(filters=[ - outscale.GetNetPeeringsFilterArgs( - name="source_net_net_ids", - values=["vpc-12345678"], - ), - outscale.GetNetPeeringsFilterArgs( - name="state_names", - values=[ - "active", - "pending-acceptance", - ], - ), - ]) - ``` - - - :param Sequence[pulumi.InputType['GetNetPeeringsFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - ... diff --git a/sdk/python/pulumi_outscale/get_nets.py b/sdk/python/pulumi_outscale/get_nets.py deleted file mode 100644 index 4988c0f..0000000 --- a/sdk/python/pulumi_outscale/get_nets.py +++ /dev/null @@ -1,174 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetNetsResult', - 'AwaitableGetNetsResult', - 'get_nets', - 'get_nets_output', -] - -@pulumi.output_type -class GetNetsResult: - """ - A collection of values returned by getNets. - """ - def __init__(__self__, filters=None, id=None, net_ids=None, nets=None, request_id=None): - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if net_ids and not isinstance(net_ids, list): - raise TypeError("Expected argument 'net_ids' to be a list") - pulumi.set(__self__, "net_ids", net_ids) - if nets and not isinstance(nets, list): - raise TypeError("Expected argument 'nets' to be a list") - pulumi.set(__self__, "nets", nets) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetNetsFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="netIds") - def net_ids(self) -> Optional[Sequence[str]]: - """ - The ID of the Net. - """ - return pulumi.get(self, "net_ids") - - @property - @pulumi.getter - def nets(self) -> Sequence['outputs.GetNetsNetResult']: - """ - Information about the described Nets. - """ - return pulumi.get(self, "nets") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - -class AwaitableGetNetsResult(GetNetsResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetNetsResult( - filters=self.filters, - id=self.id, - net_ids=self.net_ids, - nets=self.nets, - request_id=self.request_id) - - -def get_nets(filters: Optional[Sequence[pulumi.InputType['GetNetsFilterArgs']]] = None, - net_ids: Optional[Sequence[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetsResult: - """ - Provides information about Nets. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPCs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-net). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - nets01 = outscale.get_nets(filters=[ - outscale.GetNetsFilterArgs( - name="net_ids", - values=[ - "vpc-12345678", - "vpc-87654321", - ], - ), - outscale.GetNetsFilterArgs( - name="ip_ranges", - values=["10.0.0.0/16"], - ), - ]) - ``` - - - :param Sequence[pulumi.InputType['GetNetsFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param Sequence[str] net_ids: The ID of the Net. - """ - __args__ = dict() - __args__['filters'] = filters - __args__['netIds'] = net_ids - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getNets:getNets', __args__, opts=opts, typ=GetNetsResult).value - - return AwaitableGetNetsResult( - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - net_ids=pulumi.get(__ret__, 'net_ids'), - nets=pulumi.get(__ret__, 'nets'), - request_id=pulumi.get(__ret__, 'request_id')) - - -@_utilities.lift_output_func(get_nets) -def get_nets_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetNetsFilterArgs']]]]] = None, - net_ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetsResult]: - """ - Provides information about Nets. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPCs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-net). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - nets01 = outscale.get_nets(filters=[ - outscale.GetNetsFilterArgs( - name="net_ids", - values=[ - "vpc-12345678", - "vpc-87654321", - ], - ), - outscale.GetNetsFilterArgs( - name="ip_ranges", - values=["10.0.0.0/16"], - ), - ]) - ``` - - - :param Sequence[pulumi.InputType['GetNetsFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param Sequence[str] net_ids: The ID of the Net. - """ - ... diff --git a/sdk/python/pulumi_outscale/get_nic.py b/sdk/python/pulumi_outscale/get_nic.py deleted file mode 100644 index adf08e8..0000000 --- a/sdk/python/pulumi_outscale/get_nic.py +++ /dev/null @@ -1,356 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetNicResult', - 'AwaitableGetNicResult', - 'get_nic', - 'get_nic_output', -] - -@pulumi.output_type -class GetNicResult: - """ - A collection of values returned by getNic. - """ - def __init__(__self__, account_id=None, description=None, filters=None, id=None, is_source_dest_checked=None, link_nics=None, link_public_ips=None, mac_address=None, net_id=None, nic_id=None, private_dns_name=None, private_ip=None, private_ips=None, request_id=None, requester_managed=None, security_group_ids=None, security_groups=None, state=None, subnet_id=None, subregion_name=None, tags=None): - if account_id and not isinstance(account_id, str): - raise TypeError("Expected argument 'account_id' to be a str") - pulumi.set(__self__, "account_id", account_id) - if description and not isinstance(description, str): - raise TypeError("Expected argument 'description' to be a str") - pulumi.set(__self__, "description", description) - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if is_source_dest_checked and not isinstance(is_source_dest_checked, bool): - raise TypeError("Expected argument 'is_source_dest_checked' to be a bool") - pulumi.set(__self__, "is_source_dest_checked", is_source_dest_checked) - if link_nics and not isinstance(link_nics, list): - raise TypeError("Expected argument 'link_nics' to be a list") - pulumi.set(__self__, "link_nics", link_nics) - if link_public_ips and not isinstance(link_public_ips, list): - raise TypeError("Expected argument 'link_public_ips' to be a list") - pulumi.set(__self__, "link_public_ips", link_public_ips) - if mac_address and not isinstance(mac_address, str): - raise TypeError("Expected argument 'mac_address' to be a str") - pulumi.set(__self__, "mac_address", mac_address) - if net_id and not isinstance(net_id, str): - raise TypeError("Expected argument 'net_id' to be a str") - pulumi.set(__self__, "net_id", net_id) - if nic_id and not isinstance(nic_id, str): - raise TypeError("Expected argument 'nic_id' to be a str") - pulumi.set(__self__, "nic_id", nic_id) - if private_dns_name and not isinstance(private_dns_name, str): - raise TypeError("Expected argument 'private_dns_name' to be a str") - pulumi.set(__self__, "private_dns_name", private_dns_name) - if private_ip and not isinstance(private_ip, str): - raise TypeError("Expected argument 'private_ip' to be a str") - pulumi.set(__self__, "private_ip", private_ip) - if private_ips and not isinstance(private_ips, list): - raise TypeError("Expected argument 'private_ips' to be a list") - pulumi.set(__self__, "private_ips", private_ips) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if requester_managed and not isinstance(requester_managed, bool): - raise TypeError("Expected argument 'requester_managed' to be a bool") - pulumi.set(__self__, "requester_managed", requester_managed) - if security_group_ids and not isinstance(security_group_ids, list): - raise TypeError("Expected argument 'security_group_ids' to be a list") - pulumi.set(__self__, "security_group_ids", security_group_ids) - if security_groups and not isinstance(security_groups, list): - raise TypeError("Expected argument 'security_groups' to be a list") - pulumi.set(__self__, "security_groups", security_groups) - if state and not isinstance(state, str): - raise TypeError("Expected argument 'state' to be a str") - pulumi.set(__self__, "state", state) - if subnet_id and not isinstance(subnet_id, str): - raise TypeError("Expected argument 'subnet_id' to be a str") - pulumi.set(__self__, "subnet_id", subnet_id) - if subregion_name and not isinstance(subregion_name, str): - raise TypeError("Expected argument 'subregion_name' to be a str") - pulumi.set(__self__, "subregion_name", subregion_name) - if tags and not isinstance(tags, list): - raise TypeError("Expected argument 'tags' to be a list") - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> str: - """ - The account ID of the owner of the NIC. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter - def description(self) -> str: - """ - The description of the NIC. - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetNicFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="isSourceDestChecked") - def is_source_dest_checked(self) -> bool: - """ - (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - """ - return pulumi.get(self, "is_source_dest_checked") - - @property - @pulumi.getter(name="linkNics") - def link_nics(self) -> Sequence['outputs.GetNicLinkNicResult']: - """ - Information about the NIC attachment. - """ - return pulumi.get(self, "link_nics") - - @property - @pulumi.getter(name="linkPublicIps") - def link_public_ips(self) -> Sequence['outputs.GetNicLinkPublicIpResult']: - """ - Information about the public IP association. - """ - return pulumi.get(self, "link_public_ips") - - @property - @pulumi.getter(name="macAddress") - def mac_address(self) -> str: - """ - The Media Access Control (MAC) address of the NIC. - """ - return pulumi.get(self, "mac_address") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> str: - """ - The ID of the Net for the NIC. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="nicId") - def nic_id(self) -> str: - """ - The ID of the NIC. - """ - return pulumi.get(self, "nic_id") - - @property - @pulumi.getter(name="privateDnsName") - def private_dns_name(self) -> str: - """ - The name of the private DNS. - """ - return pulumi.get(self, "private_dns_name") - - @property - @pulumi.getter(name="privateIp") - def private_ip(self) -> str: - """ - The private IP of the NIC. - """ - return pulumi.get(self, "private_ip") - - @property - @pulumi.getter(name="privateIps") - def private_ips(self) -> Sequence['outputs.GetNicPrivateIpResult']: - """ - The private IPs of the NIC. - """ - return pulumi.get(self, "private_ips") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="requesterManaged") - def requester_managed(self) -> bool: - return pulumi.get(self, "requester_managed") - - @property - @pulumi.getter(name="securityGroupIds") - def security_group_ids(self) -> Sequence[str]: - """ - The ID of the security group. - """ - return pulumi.get(self, "security_group_ids") - - @property - @pulumi.getter(name="securityGroups") - def security_groups(self) -> Sequence['outputs.GetNicSecurityGroupResult']: - """ - One or more IDs of security groups for the NIC. - """ - return pulumi.get(self, "security_groups") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the NIC (`available` \\| `attaching` \\| `in-use` \\| `detaching`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> str: - """ - The ID of the Subnet. - """ - return pulumi.get(self, "subnet_id") - - @property - @pulumi.getter(name="subregionName") - def subregion_name(self) -> str: - """ - The Subregion in which the NIC is located. - """ - return pulumi.get(self, "subregion_name") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetNicTagResult']: - """ - One or more tags associated with the NIC. - """ - return pulumi.get(self, "tags") - - -class AwaitableGetNicResult(GetNicResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetNicResult( - account_id=self.account_id, - description=self.description, - filters=self.filters, - id=self.id, - is_source_dest_checked=self.is_source_dest_checked, - link_nics=self.link_nics, - link_public_ips=self.link_public_ips, - mac_address=self.mac_address, - net_id=self.net_id, - nic_id=self.nic_id, - private_dns_name=self.private_dns_name, - private_ip=self.private_ip, - private_ips=self.private_ips, - request_id=self.request_id, - requester_managed=self.requester_managed, - security_group_ids=self.security_group_ids, - security_groups=self.security_groups, - state=self.state, - subnet_id=self.subnet_id, - subregion_name=self.subregion_name, - tags=self.tags) - - -def get_nic(filters: Optional[Sequence[pulumi.InputType['GetNicFilterArgs']]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNicResult: - """ - Provides information about a network interface card (NIC). - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-FNIs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-nic). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - nic01 = outscale.get_nic(filters=[outscale.GetNicFilterArgs( - name="nic_ids", - values=["eni-12345678"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetNicFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - __args__ = dict() - __args__['filters'] = filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getNic:getNic', __args__, opts=opts, typ=GetNicResult).value - - return AwaitableGetNicResult( - account_id=pulumi.get(__ret__, 'account_id'), - description=pulumi.get(__ret__, 'description'), - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - is_source_dest_checked=pulumi.get(__ret__, 'is_source_dest_checked'), - link_nics=pulumi.get(__ret__, 'link_nics'), - link_public_ips=pulumi.get(__ret__, 'link_public_ips'), - mac_address=pulumi.get(__ret__, 'mac_address'), - net_id=pulumi.get(__ret__, 'net_id'), - nic_id=pulumi.get(__ret__, 'nic_id'), - private_dns_name=pulumi.get(__ret__, 'private_dns_name'), - private_ip=pulumi.get(__ret__, 'private_ip'), - private_ips=pulumi.get(__ret__, 'private_ips'), - request_id=pulumi.get(__ret__, 'request_id'), - requester_managed=pulumi.get(__ret__, 'requester_managed'), - security_group_ids=pulumi.get(__ret__, 'security_group_ids'), - security_groups=pulumi.get(__ret__, 'security_groups'), - state=pulumi.get(__ret__, 'state'), - subnet_id=pulumi.get(__ret__, 'subnet_id'), - subregion_name=pulumi.get(__ret__, 'subregion_name'), - tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_nic) -def get_nic_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetNicFilterArgs']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNicResult]: - """ - Provides information about a network interface card (NIC). - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-FNIs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-nic). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - nic01 = outscale.get_nic(filters=[outscale.GetNicFilterArgs( - name="nic_ids", - values=["eni-12345678"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetNicFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - ... diff --git a/sdk/python/pulumi_outscale/get_nics.py b/sdk/python/pulumi_outscale/get_nics.py deleted file mode 100644 index e1245f2..0000000 --- a/sdk/python/pulumi_outscale/get_nics.py +++ /dev/null @@ -1,156 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetNicsResult', - 'AwaitableGetNicsResult', - 'get_nics', - 'get_nics_output', -] - -@pulumi.output_type -class GetNicsResult: - """ - A collection of values returned by getNics. - """ - def __init__(__self__, filters=None, id=None, nics=None, request_id=None): - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if nics and not isinstance(nics, list): - raise TypeError("Expected argument 'nics' to be a list") - pulumi.set(__self__, "nics", nics) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetNicsFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter - def nics(self) -> Sequence['outputs.GetNicsNicResult']: - """ - Information about one or more NICs. - """ - return pulumi.get(self, "nics") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - -class AwaitableGetNicsResult(GetNicsResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetNicsResult( - filters=self.filters, - id=self.id, - nics=self.nics, - request_id=self.request_id) - - -def get_nics(filters: Optional[Sequence[pulumi.InputType['GetNicsFilterArgs']]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNicsResult: - """ - Provides information about network interface cards (NICs). - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-FNIs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-nic). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - nics01 = outscale.get_nics(filters=[ - outscale.GetNicsFilterArgs( - name="nic_ids", - values=[ - "eni-12345678", - "eni-87654321", - ], - ), - outscale.GetNicsFilterArgs( - name="link_nic_vm_ids", - values=["i-12345678"], - ), - ]) - ``` - - - :param Sequence[pulumi.InputType['GetNicsFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - __args__ = dict() - __args__['filters'] = filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getNics:getNics', __args__, opts=opts, typ=GetNicsResult).value - - return AwaitableGetNicsResult( - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - nics=pulumi.get(__ret__, 'nics'), - request_id=pulumi.get(__ret__, 'request_id')) - - -@_utilities.lift_output_func(get_nics) -def get_nics_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetNicsFilterArgs']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNicsResult]: - """ - Provides information about network interface cards (NICs). - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-FNIs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-nic). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - nics01 = outscale.get_nics(filters=[ - outscale.GetNicsFilterArgs( - name="nic_ids", - values=[ - "eni-12345678", - "eni-87654321", - ], - ), - outscale.GetNicsFilterArgs( - name="link_nic_vm_ids", - values=["i-12345678"], - ), - ]) - ``` - - - :param Sequence[pulumi.InputType['GetNicsFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - ... diff --git a/sdk/python/pulumi_outscale/get_product_type.py b/sdk/python/pulumi_outscale/get_product_type.py deleted file mode 100644 index b85d76a..0000000 --- a/sdk/python/pulumi_outscale/get_product_type.py +++ /dev/null @@ -1,164 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetProductTypeResult', - 'AwaitableGetProductTypeResult', - 'get_product_type', - 'get_product_type_output', -] - -@pulumi.output_type -class GetProductTypeResult: - """ - A collection of values returned by getProductType. - """ - def __init__(__self__, description=None, filters=None, id=None, product_type_id=None, request_id=None, vendor=None): - if description and not isinstance(description, str): - raise TypeError("Expected argument 'description' to be a str") - pulumi.set(__self__, "description", description) - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if product_type_id and not isinstance(product_type_id, str): - raise TypeError("Expected argument 'product_type_id' to be a str") - pulumi.set(__self__, "product_type_id", product_type_id) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if vendor and not isinstance(vendor, str): - raise TypeError("Expected argument 'vendor' to be a str") - pulumi.set(__self__, "vendor", vendor) - - @property - @pulumi.getter - def description(self) -> str: - """ - The description of the product type. - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetProductTypeFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="productTypeId") - def product_type_id(self) -> str: - """ - The ID of the product type. - """ - return pulumi.get(self, "product_type_id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def vendor(self) -> str: - """ - The vendor of the product type. - """ - return pulumi.get(self, "vendor") - - -class AwaitableGetProductTypeResult(GetProductTypeResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetProductTypeResult( - description=self.description, - filters=self.filters, - id=self.id, - product_type_id=self.product_type_id, - request_id=self.request_id, - vendor=self.vendor) - - -def get_product_type(filters: Optional[Sequence[pulumi.InputType['GetProductTypeFilterArgs']]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetProductTypeResult: - """ - Provides information about a product type. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/Software-Licenses.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-producttype). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - product_type01 = outscale.get_product_type(filters=[outscale.GetProductTypeFilterArgs( - name="product_type_ids", - values=["0001"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetProductTypeFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - __args__ = dict() - __args__['filters'] = filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getProductType:getProductType', __args__, opts=opts, typ=GetProductTypeResult).value - - return AwaitableGetProductTypeResult( - description=pulumi.get(__ret__, 'description'), - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - product_type_id=pulumi.get(__ret__, 'product_type_id'), - request_id=pulumi.get(__ret__, 'request_id'), - vendor=pulumi.get(__ret__, 'vendor')) - - -@_utilities.lift_output_func(get_product_type) -def get_product_type_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetProductTypeFilterArgs']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProductTypeResult]: - """ - Provides information about a product type. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/Software-Licenses.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-producttype). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - product_type01 = outscale.get_product_type(filters=[outscale.GetProductTypeFilterArgs( - name="product_type_ids", - values=["0001"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetProductTypeFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - ... diff --git a/sdk/python/pulumi_outscale/get_product_types.py b/sdk/python/pulumi_outscale/get_product_types.py deleted file mode 100644 index 4fc9ed7..0000000 --- a/sdk/python/pulumi_outscale/get_product_types.py +++ /dev/null @@ -1,158 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetProductTypesResult', - 'AwaitableGetProductTypesResult', - 'get_product_types', - 'get_product_types_output', -] - -@pulumi.output_type -class GetProductTypesResult: - """ - A collection of values returned by getProductTypes. - """ - def __init__(__self__, filters=None, id=None, product_types=None, request_id=None): - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if product_types and not isinstance(product_types, list): - raise TypeError("Expected argument 'product_types' to be a list") - pulumi.set(__self__, "product_types", product_types) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetProductTypesFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="productTypes") - def product_types(self) -> Sequence['outputs.GetProductTypesProductTypeResult']: - """ - Information about one or more product types. - """ - return pulumi.get(self, "product_types") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - -class AwaitableGetProductTypesResult(GetProductTypesResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetProductTypesResult( - filters=self.filters, - id=self.id, - product_types=self.product_types, - request_id=self.request_id) - - -def get_product_types(filters: Optional[Sequence[pulumi.InputType['GetProductTypesFilterArgs']]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetProductTypesResult: - """ - Provides information about product types. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/Software-Licenses.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-producttype). - - ## Example Usage - ### Read specific product types - ```python - import pulumi - import pulumi_outscale as outscale - - product_types01 = outscale.get_product_types(filters=[outscale.GetProductTypesFilterArgs( - name="product_type_ids", - values=[ - "0001", - "0002", - ], - )]) - ``` - ### Read all product types - ```python - import pulumi - import pulumi_outscale as outscale - - all_product_types = outscale.get_product_types() - ``` - - - :param Sequence[pulumi.InputType['GetProductTypesFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - __args__ = dict() - __args__['filters'] = filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getProductTypes:getProductTypes', __args__, opts=opts, typ=GetProductTypesResult).value - - return AwaitableGetProductTypesResult( - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - product_types=pulumi.get(__ret__, 'product_types'), - request_id=pulumi.get(__ret__, 'request_id')) - - -@_utilities.lift_output_func(get_product_types) -def get_product_types_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetProductTypesFilterArgs']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProductTypesResult]: - """ - Provides information about product types. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/Software-Licenses.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-producttype). - - ## Example Usage - ### Read specific product types - ```python - import pulumi - import pulumi_outscale as outscale - - product_types01 = outscale.get_product_types(filters=[outscale.GetProductTypesFilterArgs( - name="product_type_ids", - values=[ - "0001", - "0002", - ], - )]) - ``` - ### Read all product types - ```python - import pulumi - import pulumi_outscale as outscale - - all_product_types = outscale.get_product_types() - ``` - - - :param Sequence[pulumi.InputType['GetProductTypesFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - ... diff --git a/sdk/python/pulumi_outscale/get_public_ip.py b/sdk/python/pulumi_outscale/get_public_ip.py deleted file mode 100644 index 0d8f7d5..0000000 --- a/sdk/python/pulumi_outscale/get_public_ip.py +++ /dev/null @@ -1,239 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetPublicIpResult', - 'AwaitableGetPublicIpResult', - 'get_public_ip', - 'get_public_ip_output', -] - -@pulumi.output_type -class GetPublicIpResult: - """ - A collection of values returned by getPublicIp. - """ - def __init__(__self__, filters=None, id=None, link_public_ip_id=None, nic_account_id=None, nic_id=None, private_ip=None, public_ip=None, public_ip_id=None, request_id=None, tags=None, vm_id=None): - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if link_public_ip_id and not isinstance(link_public_ip_id, str): - raise TypeError("Expected argument 'link_public_ip_id' to be a str") - pulumi.set(__self__, "link_public_ip_id", link_public_ip_id) - if nic_account_id and not isinstance(nic_account_id, str): - raise TypeError("Expected argument 'nic_account_id' to be a str") - pulumi.set(__self__, "nic_account_id", nic_account_id) - if nic_id and not isinstance(nic_id, str): - raise TypeError("Expected argument 'nic_id' to be a str") - pulumi.set(__self__, "nic_id", nic_id) - if private_ip and not isinstance(private_ip, str): - raise TypeError("Expected argument 'private_ip' to be a str") - pulumi.set(__self__, "private_ip", private_ip) - if public_ip and not isinstance(public_ip, str): - raise TypeError("Expected argument 'public_ip' to be a str") - pulumi.set(__self__, "public_ip", public_ip) - if public_ip_id and not isinstance(public_ip_id, str): - raise TypeError("Expected argument 'public_ip_id' to be a str") - pulumi.set(__self__, "public_ip_id", public_ip_id) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if tags and not isinstance(tags, list): - raise TypeError("Expected argument 'tags' to be a list") - pulumi.set(__self__, "tags", tags) - if vm_id and not isinstance(vm_id, str): - raise TypeError("Expected argument 'vm_id' to be a str") - pulumi.set(__self__, "vm_id", vm_id) - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetPublicIpFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="linkPublicIpId") - def link_public_ip_id(self) -> str: - """ - (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - """ - return pulumi.get(self, "link_public_ip_id") - - @property - @pulumi.getter(name="nicAccountId") - def nic_account_id(self) -> str: - """ - The account ID of the owner of the NIC. - """ - return pulumi.get(self, "nic_account_id") - - @property - @pulumi.getter(name="nicId") - def nic_id(self) -> str: - """ - The ID of the NIC the public IP is associated with (if any). - """ - return pulumi.get(self, "nic_id") - - @property - @pulumi.getter(name="privateIp") - def private_ip(self) -> str: - """ - The private IP associated with the public IP. - """ - return pulumi.get(self, "private_ip") - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> str: - """ - The public IP. - """ - return pulumi.get(self, "public_ip") - - @property - @pulumi.getter(name="publicIpId") - def public_ip_id(self) -> str: - """ - The allocation ID of the public IP. - """ - return pulumi.get(self, "public_ip_id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetPublicIpTagResult']: - """ - One or more tags associated with the public IP. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> str: - """ - The ID of the VM the public IP is associated with (if any). - """ - return pulumi.get(self, "vm_id") - - -class AwaitableGetPublicIpResult(GetPublicIpResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetPublicIpResult( - filters=self.filters, - id=self.id, - link_public_ip_id=self.link_public_ip_id, - nic_account_id=self.nic_account_id, - nic_id=self.nic_id, - private_ip=self.private_ip, - public_ip=self.public_ip, - public_ip_id=self.public_ip_id, - request_id=self.request_id, - tags=self.tags, - vm_id=self.vm_id) - - -def get_public_ip(filters: Optional[Sequence[pulumi.InputType['GetPublicIpFilterArgs']]] = None, - public_ip: Optional[str] = None, - public_ip_id: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPublicIpResult: - """ - Provides information about a public IP. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-EIPs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-publicip). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - public_ip01 = outscale.get_public_ip(filters=[outscale.GetPublicIpFilterArgs( - name="public_ips", - values=["111.11.111.1"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetPublicIpFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param str public_ip: The public IP. - :param str public_ip_id: The allocation ID of the public IP. - """ - __args__ = dict() - __args__['filters'] = filters - __args__['publicIp'] = public_ip - __args__['publicIpId'] = public_ip_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getPublicIp:getPublicIp', __args__, opts=opts, typ=GetPublicIpResult).value - - return AwaitableGetPublicIpResult( - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - link_public_ip_id=pulumi.get(__ret__, 'link_public_ip_id'), - nic_account_id=pulumi.get(__ret__, 'nic_account_id'), - nic_id=pulumi.get(__ret__, 'nic_id'), - private_ip=pulumi.get(__ret__, 'private_ip'), - public_ip=pulumi.get(__ret__, 'public_ip'), - public_ip_id=pulumi.get(__ret__, 'public_ip_id'), - request_id=pulumi.get(__ret__, 'request_id'), - tags=pulumi.get(__ret__, 'tags'), - vm_id=pulumi.get(__ret__, 'vm_id')) - - -@_utilities.lift_output_func(get_public_ip) -def get_public_ip_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetPublicIpFilterArgs']]]]] = None, - public_ip: Optional[pulumi.Input[Optional[str]]] = None, - public_ip_id: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPublicIpResult]: - """ - Provides information about a public IP. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-EIPs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-publicip). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - public_ip01 = outscale.get_public_ip(filters=[outscale.GetPublicIpFilterArgs( - name="public_ips", - values=["111.11.111.1"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetPublicIpFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param str public_ip: The public IP. - :param str public_ip_id: The allocation ID of the public IP. - """ - ... diff --git a/sdk/python/pulumi_outscale/get_public_ips.py b/sdk/python/pulumi_outscale/get_public_ips.py deleted file mode 100644 index 284be4d..0000000 --- a/sdk/python/pulumi_outscale/get_public_ips.py +++ /dev/null @@ -1,144 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetPublicIpsResult', - 'AwaitableGetPublicIpsResult', - 'get_public_ips', - 'get_public_ips_output', -] - -@pulumi.output_type -class GetPublicIpsResult: - """ - A collection of values returned by getPublicIps. - """ - def __init__(__self__, filters=None, id=None, public_ips=None, request_id=None): - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if public_ips and not isinstance(public_ips, list): - raise TypeError("Expected argument 'public_ips' to be a list") - pulumi.set(__self__, "public_ips", public_ips) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetPublicIpsFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="publicIps") - def public_ips(self) -> Sequence['outputs.GetPublicIpsPublicIpResult']: - """ - Information about one or more public IPs. - """ - return pulumi.get(self, "public_ips") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - -class AwaitableGetPublicIpsResult(GetPublicIpsResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetPublicIpsResult( - filters=self.filters, - id=self.id, - public_ips=self.public_ips, - request_id=self.request_id) - - -def get_public_ips(filters: Optional[Sequence[pulumi.InputType['GetPublicIpsFilterArgs']]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPublicIpsResult: - """ - Provides information about public IPs. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-EIPs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-publicip). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - public_ips01 = outscale.get_public_ips(filters=[outscale.GetPublicIpsFilterArgs( - name="public_ips", - values=[ - "111.11.111.1", - "222.22.222.2", - ], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetPublicIpsFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - __args__ = dict() - __args__['filters'] = filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getPublicIps:getPublicIps', __args__, opts=opts, typ=GetPublicIpsResult).value - - return AwaitableGetPublicIpsResult( - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - public_ips=pulumi.get(__ret__, 'public_ips'), - request_id=pulumi.get(__ret__, 'request_id')) - - -@_utilities.lift_output_func(get_public_ips) -def get_public_ips_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetPublicIpsFilterArgs']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPublicIpsResult]: - """ - Provides information about public IPs. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-EIPs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-publicip). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - public_ips01 = outscale.get_public_ips(filters=[outscale.GetPublicIpsFilterArgs( - name="public_ips", - values=[ - "111.11.111.1", - "222.22.222.2", - ], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetPublicIpsFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - ... diff --git a/sdk/python/pulumi_outscale/get_pulic_catalog.py b/sdk/python/pulumi_outscale/get_pulic_catalog.py deleted file mode 100644 index 53e46d1..0000000 --- a/sdk/python/pulumi_outscale/get_pulic_catalog.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs - -__all__ = [ - 'GetPulicCatalogResult', - 'AwaitableGetPulicCatalogResult', - 'get_pulic_catalog', - 'get_pulic_catalog_output', -] - -@pulumi.output_type -class GetPulicCatalogResult: - """ - A collection of values returned by getPulicCatalog. - """ - def __init__(__self__, catalogs=None, id=None, request_id=None): - if catalogs and not isinstance(catalogs, list): - raise TypeError("Expected argument 'catalogs' to be a list") - pulumi.set(__self__, "catalogs", catalogs) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - - @property - @pulumi.getter - def catalogs(self) -> Sequence['outputs.GetPulicCatalogCatalogResult']: - return pulumi.get(self, "catalogs") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - -class AwaitableGetPulicCatalogResult(GetPulicCatalogResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetPulicCatalogResult( - catalogs=self.catalogs, - id=self.id, - request_id=self.request_id) - - -def get_pulic_catalog(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPulicCatalogResult: - """ - Use this data source to access information about an existing resource. - """ - __args__ = dict() - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getPulicCatalog:getPulicCatalog', __args__, opts=opts, typ=GetPulicCatalogResult).value - - return AwaitableGetPulicCatalogResult( - catalogs=pulumi.get(__ret__, 'catalogs'), - id=pulumi.get(__ret__, 'id'), - request_id=pulumi.get(__ret__, 'request_id')) - - -@_utilities.lift_output_func(get_pulic_catalog) -def get_pulic_catalog_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPulicCatalogResult]: - """ - Use this data source to access information about an existing resource. - """ - ... diff --git a/sdk/python/pulumi_outscale/get_quota.py b/sdk/python/pulumi_outscale/get_quota.py deleted file mode 100644 index 30b2a86..0000000 --- a/sdk/python/pulumi_outscale/get_quota.py +++ /dev/null @@ -1,257 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetQuotaResult', - 'AwaitableGetQuotaResult', - 'get_quota', - 'get_quota_output', -] - -@pulumi.output_type -class GetQuotaResult: - """ - A collection of values returned by getQuota. - """ - def __init__(__self__, account_id=None, description=None, filters=None, id=None, max_value=None, name=None, quota_collection=None, quota_type=None, request_id=None, short_description=None, used_value=None): - if account_id and not isinstance(account_id, str): - raise TypeError("Expected argument 'account_id' to be a str") - pulumi.set(__self__, "account_id", account_id) - if description and not isinstance(description, str): - raise TypeError("Expected argument 'description' to be a str") - pulumi.set(__self__, "description", description) - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if max_value and not isinstance(max_value, int): - raise TypeError("Expected argument 'max_value' to be a int") - pulumi.set(__self__, "max_value", max_value) - if name and not isinstance(name, str): - raise TypeError("Expected argument 'name' to be a str") - pulumi.set(__self__, "name", name) - if quota_collection and not isinstance(quota_collection, str): - raise TypeError("Expected argument 'quota_collection' to be a str") - pulumi.set(__self__, "quota_collection", quota_collection) - if quota_type and not isinstance(quota_type, str): - raise TypeError("Expected argument 'quota_type' to be a str") - pulumi.set(__self__, "quota_type", quota_type) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if short_description and not isinstance(short_description, str): - raise TypeError("Expected argument 'short_description' to be a str") - pulumi.set(__self__, "short_description", short_description) - if used_value and not isinstance(used_value, int): - raise TypeError("Expected argument 'used_value' to be a int") - pulumi.set(__self__, "used_value", used_value) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> str: - """ - The account ID of the owner of the quotas. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter - def description(self) -> str: - """ - The description of the quota. - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetQuotaFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="maxValue") - def max_value(self) -> int: - """ - The maximum value of the quota for the OUTSCALE user account (if there is no limit, `0`). - """ - return pulumi.get(self, "max_value") - - @property - @pulumi.getter - def name(self) -> str: - """ - The unique name of the quota. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="quotaCollection") - def quota_collection(self) -> str: - """ - The group name of the quota. - """ - return pulumi.get(self, "quota_collection") - - @property - @pulumi.getter(name="quotaType") - def quota_type(self) -> str: - """ - The resource ID if it is a resource-specific quota, `global` if it is not. - """ - return pulumi.get(self, "quota_type") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="shortDescription") - def short_description(self) -> str: - """ - The description of the quota. - """ - return pulumi.get(self, "short_description") - - @property - @pulumi.getter(name="usedValue") - def used_value(self) -> int: - """ - The limit value currently used by the OUTSCALE user account. - """ - return pulumi.get(self, "used_value") - - -class AwaitableGetQuotaResult(GetQuotaResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetQuotaResult( - account_id=self.account_id, - description=self.description, - filters=self.filters, - id=self.id, - max_value=self.max_value, - name=self.name, - quota_collection=self.quota_collection, - quota_type=self.quota_type, - request_id=self.request_id, - short_description=self.short_description, - used_value=self.used_value) - - -def get_quota(filters: Optional[Sequence[pulumi.InputType['GetQuotaFilterArgs']]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetQuotaResult: - """ - Provides information about a quota. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Your-Account.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readquotas). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - load_balancer_listeners_quota01 = outscale.get_quota(filters=[ - outscale.GetQuotaFilterArgs( - name="collections", - values=["LBU"], - ), - outscale.GetQuotaFilterArgs( - name="quota_names", - values=["lb_listeners_limit"], - ), - outscale.GetQuotaFilterArgs( - name="quota_types", - values=["global"], - ), - outscale.GetQuotaFilterArgs( - name="short_descriptions", - values=["Load Balancer Listeners Limit"], - ), - ]) - ``` - - - :param Sequence[pulumi.InputType['GetQuotaFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - __args__ = dict() - __args__['filters'] = filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getQuota:getQuota', __args__, opts=opts, typ=GetQuotaResult).value - - return AwaitableGetQuotaResult( - account_id=pulumi.get(__ret__, 'account_id'), - description=pulumi.get(__ret__, 'description'), - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - max_value=pulumi.get(__ret__, 'max_value'), - name=pulumi.get(__ret__, 'name'), - quota_collection=pulumi.get(__ret__, 'quota_collection'), - quota_type=pulumi.get(__ret__, 'quota_type'), - request_id=pulumi.get(__ret__, 'request_id'), - short_description=pulumi.get(__ret__, 'short_description'), - used_value=pulumi.get(__ret__, 'used_value')) - - -@_utilities.lift_output_func(get_quota) -def get_quota_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetQuotaFilterArgs']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetQuotaResult]: - """ - Provides information about a quota. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Your-Account.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readquotas). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - load_balancer_listeners_quota01 = outscale.get_quota(filters=[ - outscale.GetQuotaFilterArgs( - name="collections", - values=["LBU"], - ), - outscale.GetQuotaFilterArgs( - name="quota_names", - values=["lb_listeners_limit"], - ), - outscale.GetQuotaFilterArgs( - name="quota_types", - values=["global"], - ), - outscale.GetQuotaFilterArgs( - name="short_descriptions", - values=["Load Balancer Listeners Limit"], - ), - ]) - ``` - - - :param Sequence[pulumi.InputType['GetQuotaFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - ... diff --git a/sdk/python/pulumi_outscale/get_quotas.py b/sdk/python/pulumi_outscale/get_quotas.py deleted file mode 100644 index 4c00f13..0000000 --- a/sdk/python/pulumi_outscale/get_quotas.py +++ /dev/null @@ -1,152 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetQuotasResult', - 'AwaitableGetQuotasResult', - 'get_quotas', - 'get_quotas_output', -] - -@pulumi.output_type -class GetQuotasResult: - """ - A collection of values returned by getQuotas. - """ - def __init__(__self__, filters=None, id=None, quotas=None, request_id=None): - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if quotas and not isinstance(quotas, list): - raise TypeError("Expected argument 'quotas' to be a list") - pulumi.set(__self__, "quotas", quotas) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetQuotasFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter - def quotas(self) -> Sequence['outputs.GetQuotasQuotaResult']: - """ - One or more quotas associated with the user. - """ - return pulumi.get(self, "quotas") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - -class AwaitableGetQuotasResult(GetQuotasResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetQuotasResult( - filters=self.filters, - id=self.id, - quotas=self.quotas, - request_id=self.request_id) - - -def get_quotas(filters: Optional[Sequence[pulumi.InputType['GetQuotasFilterArgs']]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetQuotasResult: - """ - Provides information about quotas. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Your-Account.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readquotas). - - ## Example Usage - ### Read specific quotas - ```python - import pulumi - import pulumi_outscale as outscale - - vpc_quotas01 = outscale.get_quotas(filters=[outscale.GetQuotasFilterArgs( - name="collections", - values=["VPC"], - )]) - ``` - ### Read all quotas - ```python - import pulumi - import pulumi_outscale as outscale - - all_quotas = outscale.get_quotas() - ``` - - - :param Sequence[pulumi.InputType['GetQuotasFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - __args__ = dict() - __args__['filters'] = filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getQuotas:getQuotas', __args__, opts=opts, typ=GetQuotasResult).value - - return AwaitableGetQuotasResult( - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - quotas=pulumi.get(__ret__, 'quotas'), - request_id=pulumi.get(__ret__, 'request_id')) - - -@_utilities.lift_output_func(get_quotas) -def get_quotas_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetQuotasFilterArgs']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetQuotasResult]: - """ - Provides information about quotas. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Your-Account.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readquotas). - - ## Example Usage - ### Read specific quotas - ```python - import pulumi - import pulumi_outscale as outscale - - vpc_quotas01 = outscale.get_quotas(filters=[outscale.GetQuotasFilterArgs( - name="collections", - values=["VPC"], - )]) - ``` - ### Read all quotas - ```python - import pulumi - import pulumi_outscale as outscale - - all_quotas = outscale.get_quotas() - ``` - - - :param Sequence[pulumi.InputType['GetQuotasFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - ... diff --git a/sdk/python/pulumi_outscale/get_regions.py b/sdk/python/pulumi_outscale/get_regions.py deleted file mode 100644 index 0fdaaed..0000000 --- a/sdk/python/pulumi_outscale/get_regions.py +++ /dev/null @@ -1,112 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs - -__all__ = [ - 'GetRegionsResult', - 'AwaitableGetRegionsResult', - 'get_regions', - 'get_regions_output', -] - -@pulumi.output_type -class GetRegionsResult: - """ - A collection of values returned by getRegions. - """ - def __init__(__self__, id=None, regions=None, request_id=None): - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if regions and not isinstance(regions, list): - raise TypeError("Expected argument 'regions' to be a list") - pulumi.set(__self__, "regions", regions) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter - def regions(self) -> Sequence['outputs.GetRegionsRegionResult']: - """ - Information about one or more Regions. - """ - return pulumi.get(self, "regions") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - -class AwaitableGetRegionsResult(GetRegionsResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetRegionsResult( - id=self.id, - regions=self.regions, - request_id=self.request_id) - - -def get_regions(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRegionsResult: - """ - Provides information about Regions. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Regions-Endpoints-and-Availability-Zones.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readregions). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - all_regions = outscale.get_regions() - ``` - """ - __args__ = dict() - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getRegions:getRegions', __args__, opts=opts, typ=GetRegionsResult).value - - return AwaitableGetRegionsResult( - id=pulumi.get(__ret__, 'id'), - regions=pulumi.get(__ret__, 'regions'), - request_id=pulumi.get(__ret__, 'request_id')) - - -@_utilities.lift_output_func(get_regions) -def get_regions_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRegionsResult]: - """ - Provides information about Regions. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Regions-Endpoints-and-Availability-Zones.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readregions). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - all_regions = outscale.get_regions() - ``` - """ - ... diff --git a/sdk/python/pulumi_outscale/get_route_table.py b/sdk/python/pulumi_outscale/get_route_table.py deleted file mode 100644 index 73b2b12..0000000 --- a/sdk/python/pulumi_outscale/get_route_table.py +++ /dev/null @@ -1,208 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetRouteTableResult', - 'AwaitableGetRouteTableResult', - 'get_route_table', - 'get_route_table_output', -] - -@pulumi.output_type -class GetRouteTableResult: - """ - A collection of values returned by getRouteTable. - """ - def __init__(__self__, filters=None, id=None, link_route_tables=None, net_id=None, request_id=None, route_propagating_virtual_gateways=None, route_table_id=None, routes=None, tags=None): - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if link_route_tables and not isinstance(link_route_tables, list): - raise TypeError("Expected argument 'link_route_tables' to be a list") - pulumi.set(__self__, "link_route_tables", link_route_tables) - if net_id and not isinstance(net_id, str): - raise TypeError("Expected argument 'net_id' to be a str") - pulumi.set(__self__, "net_id", net_id) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if route_propagating_virtual_gateways and not isinstance(route_propagating_virtual_gateways, list): - raise TypeError("Expected argument 'route_propagating_virtual_gateways' to be a list") - pulumi.set(__self__, "route_propagating_virtual_gateways", route_propagating_virtual_gateways) - if route_table_id and not isinstance(route_table_id, str): - raise TypeError("Expected argument 'route_table_id' to be a str") - pulumi.set(__self__, "route_table_id", route_table_id) - if routes and not isinstance(routes, list): - raise TypeError("Expected argument 'routes' to be a list") - pulumi.set(__self__, "routes", routes) - if tags and not isinstance(tags, list): - raise TypeError("Expected argument 'tags' to be a list") - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetRouteTableFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="linkRouteTables") - def link_route_tables(self) -> Sequence['outputs.GetRouteTableLinkRouteTableResult']: - """ - One or more associations between the route table and Subnets. - """ - return pulumi.get(self, "link_route_tables") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> str: - """ - The ID of the Net for the route table. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="routePropagatingVirtualGateways") - def route_propagating_virtual_gateways(self) -> Sequence['outputs.GetRouteTableRoutePropagatingVirtualGatewayResult']: - """ - Information about virtual gateways propagating routes. - """ - return pulumi.get(self, "route_propagating_virtual_gateways") - - @property - @pulumi.getter(name="routeTableId") - def route_table_id(self) -> str: - """ - The ID of the route table. - """ - return pulumi.get(self, "route_table_id") - - @property - @pulumi.getter - def routes(self) -> Sequence['outputs.GetRouteTableRouteResult']: - """ - One or more routes in the route table. - """ - return pulumi.get(self, "routes") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetRouteTableTagResult']: - """ - One or more tags associated with the route table. - """ - return pulumi.get(self, "tags") - - -class AwaitableGetRouteTableResult(GetRouteTableResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetRouteTableResult( - filters=self.filters, - id=self.id, - link_route_tables=self.link_route_tables, - net_id=self.net_id, - request_id=self.request_id, - route_propagating_virtual_gateways=self.route_propagating_virtual_gateways, - route_table_id=self.route_table_id, - routes=self.routes, - tags=self.tags) - - -def get_route_table(filters: Optional[Sequence[pulumi.InputType['GetRouteTableFilterArgs']]] = None, - route_table_id: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRouteTableResult: - """ - Provides information about a route table. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Route-Tables.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-routetable). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - route_table01 = outscale.get_route_table(filters=[outscale.GetRouteTableFilterArgs( - name="route_table_ids", - values=["rtb-12345678"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetRouteTableFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param str route_table_id: The ID of the route table. - """ - __args__ = dict() - __args__['filters'] = filters - __args__['routeTableId'] = route_table_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getRouteTable:getRouteTable', __args__, opts=opts, typ=GetRouteTableResult).value - - return AwaitableGetRouteTableResult( - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - link_route_tables=pulumi.get(__ret__, 'link_route_tables'), - net_id=pulumi.get(__ret__, 'net_id'), - request_id=pulumi.get(__ret__, 'request_id'), - route_propagating_virtual_gateways=pulumi.get(__ret__, 'route_propagating_virtual_gateways'), - route_table_id=pulumi.get(__ret__, 'route_table_id'), - routes=pulumi.get(__ret__, 'routes'), - tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_route_table) -def get_route_table_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetRouteTableFilterArgs']]]]] = None, - route_table_id: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRouteTableResult]: - """ - Provides information about a route table. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Route-Tables.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-routetable). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - route_table01 = outscale.get_route_table(filters=[outscale.GetRouteTableFilterArgs( - name="route_table_ids", - values=["rtb-12345678"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetRouteTableFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param str route_table_id: The ID of the route table. - """ - ... diff --git a/sdk/python/pulumi_outscale/get_route_tables.py b/sdk/python/pulumi_outscale/get_route_tables.py deleted file mode 100644 index f4926f3..0000000 --- a/sdk/python/pulumi_outscale/get_route_tables.py +++ /dev/null @@ -1,174 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetRouteTablesResult', - 'AwaitableGetRouteTablesResult', - 'get_route_tables', - 'get_route_tables_output', -] - -@pulumi.output_type -class GetRouteTablesResult: - """ - A collection of values returned by getRouteTables. - """ - def __init__(__self__, filters=None, id=None, request_id=None, route_table_ids=None, route_tables=None): - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if route_table_ids and not isinstance(route_table_ids, list): - raise TypeError("Expected argument 'route_table_ids' to be a list") - pulumi.set(__self__, "route_table_ids", route_table_ids) - if route_tables and not isinstance(route_tables, list): - raise TypeError("Expected argument 'route_tables' to be a list") - pulumi.set(__self__, "route_tables", route_tables) - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetRouteTablesFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="routeTableIds") - def route_table_ids(self) -> Optional[Sequence[str]]: - """ - The ID of the route table. - """ - return pulumi.get(self, "route_table_ids") - - @property - @pulumi.getter(name="routeTables") - def route_tables(self) -> Sequence['outputs.GetRouteTablesRouteTableResult']: - """ - Information about one or more route tables. - """ - return pulumi.get(self, "route_tables") - - -class AwaitableGetRouteTablesResult(GetRouteTablesResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetRouteTablesResult( - filters=self.filters, - id=self.id, - request_id=self.request_id, - route_table_ids=self.route_table_ids, - route_tables=self.route_tables) - - -def get_route_tables(filters: Optional[Sequence[pulumi.InputType['GetRouteTablesFilterArgs']]] = None, - route_table_ids: Optional[Sequence[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRouteTablesResult: - """ - Provides information about route tables. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Route-Tables.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-routetable). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - route_tables01 = outscale.get_route_tables(filters=[ - outscale.GetRouteTablesFilterArgs( - name="net_ids", - values=[ - "vpc-12345678", - "vpc-87654321", - ], - ), - outscale.GetRouteTablesFilterArgs( - name="link_route_table_main", - values=["true"], - ), - ]) - ``` - - - :param Sequence[pulumi.InputType['GetRouteTablesFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param Sequence[str] route_table_ids: The ID of the route table. - """ - __args__ = dict() - __args__['filters'] = filters - __args__['routeTableIds'] = route_table_ids - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getRouteTables:getRouteTables', __args__, opts=opts, typ=GetRouteTablesResult).value - - return AwaitableGetRouteTablesResult( - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - request_id=pulumi.get(__ret__, 'request_id'), - route_table_ids=pulumi.get(__ret__, 'route_table_ids'), - route_tables=pulumi.get(__ret__, 'route_tables')) - - -@_utilities.lift_output_func(get_route_tables) -def get_route_tables_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetRouteTablesFilterArgs']]]]] = None, - route_table_ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRouteTablesResult]: - """ - Provides information about route tables. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Route-Tables.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-routetable). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - route_tables01 = outscale.get_route_tables(filters=[ - outscale.GetRouteTablesFilterArgs( - name="net_ids", - values=[ - "vpc-12345678", - "vpc-87654321", - ], - ), - outscale.GetRouteTablesFilterArgs( - name="link_route_table_main", - values=["true"], - ), - ]) - ``` - - - :param Sequence[pulumi.InputType['GetRouteTablesFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param Sequence[str] route_table_ids: The ID of the route table. - """ - ... diff --git a/sdk/python/pulumi_outscale/get_security_group.py b/sdk/python/pulumi_outscale/get_security_group.py deleted file mode 100644 index 853878f..0000000 --- a/sdk/python/pulumi_outscale/get_security_group.py +++ /dev/null @@ -1,239 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetSecurityGroupResult', - 'AwaitableGetSecurityGroupResult', - 'get_security_group', - 'get_security_group_output', -] - -@pulumi.output_type -class GetSecurityGroupResult: - """ - A collection of values returned by getSecurityGroup. - """ - def __init__(__self__, account_id=None, description=None, filters=None, id=None, inbound_rules=None, net_id=None, outbound_rules=None, request_id=None, security_group_id=None, security_group_name=None, tags=None): - if account_id and not isinstance(account_id, str): - raise TypeError("Expected argument 'account_id' to be a str") - pulumi.set(__self__, "account_id", account_id) - if description and not isinstance(description, str): - raise TypeError("Expected argument 'description' to be a str") - pulumi.set(__self__, "description", description) - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if inbound_rules and not isinstance(inbound_rules, list): - raise TypeError("Expected argument 'inbound_rules' to be a list") - pulumi.set(__self__, "inbound_rules", inbound_rules) - if net_id and not isinstance(net_id, str): - raise TypeError("Expected argument 'net_id' to be a str") - pulumi.set(__self__, "net_id", net_id) - if outbound_rules and not isinstance(outbound_rules, list): - raise TypeError("Expected argument 'outbound_rules' to be a list") - pulumi.set(__self__, "outbound_rules", outbound_rules) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if security_group_id and not isinstance(security_group_id, str): - raise TypeError("Expected argument 'security_group_id' to be a str") - pulumi.set(__self__, "security_group_id", security_group_id) - if security_group_name and not isinstance(security_group_name, str): - raise TypeError("Expected argument 'security_group_name' to be a str") - pulumi.set(__self__, "security_group_name", security_group_name) - if tags and not isinstance(tags, list): - raise TypeError("Expected argument 'tags' to be a list") - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> str: - """ - The account ID that owns the source or destination security group. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter - def description(self) -> str: - """ - The description of the security group. - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetSecurityGroupFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="inboundRules") - def inbound_rules(self) -> Sequence['outputs.GetSecurityGroupInboundRuleResult']: - """ - The inbound rules associated with the security group. - """ - return pulumi.get(self, "inbound_rules") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> str: - """ - The ID of the Net for the security group. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="outboundRules") - def outbound_rules(self) -> Sequence['outputs.GetSecurityGroupOutboundRuleResult']: - """ - The outbound rules associated with the security group. - """ - return pulumi.get(self, "outbound_rules") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> str: - """ - The ID of the security group. - """ - return pulumi.get(self, "security_group_id") - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> str: - """ - The name of the security group. - """ - return pulumi.get(self, "security_group_name") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetSecurityGroupTagResult']: - """ - One or more tags associated with the security group. - """ - return pulumi.get(self, "tags") - - -class AwaitableGetSecurityGroupResult(GetSecurityGroupResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetSecurityGroupResult( - account_id=self.account_id, - description=self.description, - filters=self.filters, - id=self.id, - inbound_rules=self.inbound_rules, - net_id=self.net_id, - outbound_rules=self.outbound_rules, - request_id=self.request_id, - security_group_id=self.security_group_id, - security_group_name=self.security_group_name, - tags=self.tags) - - -def get_security_group(filters: Optional[Sequence[pulumi.InputType['GetSecurityGroupFilterArgs']]] = None, - security_group_id: Optional[str] = None, - security_group_name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecurityGroupResult: - """ - Provides information about a security group. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Security-Groups.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-securitygroup). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - security_group01 = outscale.get_security_group(filters=[outscale.GetSecurityGroupFilterArgs( - name="security_group_ids", - values=["sg-12345678"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetSecurityGroupFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param str security_group_id: The ID of the security group. - :param str security_group_name: The name of the security group. - """ - __args__ = dict() - __args__['filters'] = filters - __args__['securityGroupId'] = security_group_id - __args__['securityGroupName'] = security_group_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getSecurityGroup:getSecurityGroup', __args__, opts=opts, typ=GetSecurityGroupResult).value - - return AwaitableGetSecurityGroupResult( - account_id=pulumi.get(__ret__, 'account_id'), - description=pulumi.get(__ret__, 'description'), - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - inbound_rules=pulumi.get(__ret__, 'inbound_rules'), - net_id=pulumi.get(__ret__, 'net_id'), - outbound_rules=pulumi.get(__ret__, 'outbound_rules'), - request_id=pulumi.get(__ret__, 'request_id'), - security_group_id=pulumi.get(__ret__, 'security_group_id'), - security_group_name=pulumi.get(__ret__, 'security_group_name'), - tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_security_group) -def get_security_group_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetSecurityGroupFilterArgs']]]]] = None, - security_group_id: Optional[pulumi.Input[Optional[str]]] = None, - security_group_name: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecurityGroupResult]: - """ - Provides information about a security group. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Security-Groups.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-securitygroup). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - security_group01 = outscale.get_security_group(filters=[outscale.GetSecurityGroupFilterArgs( - name="security_group_ids", - values=["sg-12345678"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetSecurityGroupFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param str security_group_id: The ID of the security group. - :param str security_group_name: The name of the security group. - """ - ... diff --git a/sdk/python/pulumi_outscale/get_security_groups.py b/sdk/python/pulumi_outscale/get_security_groups.py deleted file mode 100644 index 588e921..0000000 --- a/sdk/python/pulumi_outscale/get_security_groups.py +++ /dev/null @@ -1,186 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetSecurityGroupsResult', - 'AwaitableGetSecurityGroupsResult', - 'get_security_groups', - 'get_security_groups_output', -] - -@pulumi.output_type -class GetSecurityGroupsResult: - """ - A collection of values returned by getSecurityGroups. - """ - def __init__(__self__, filters=None, id=None, request_id=None, security_group_ids=None, security_group_names=None, security_groups=None): - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if security_group_ids and not isinstance(security_group_ids, list): - raise TypeError("Expected argument 'security_group_ids' to be a list") - pulumi.set(__self__, "security_group_ids", security_group_ids) - if security_group_names and not isinstance(security_group_names, list): - raise TypeError("Expected argument 'security_group_names' to be a list") - pulumi.set(__self__, "security_group_names", security_group_names) - if security_groups and not isinstance(security_groups, list): - raise TypeError("Expected argument 'security_groups' to be a list") - pulumi.set(__self__, "security_groups", security_groups) - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetSecurityGroupsFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="securityGroupIds") - def security_group_ids(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "security_group_ids") - - @property - @pulumi.getter(name="securityGroupNames") - def security_group_names(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "security_group_names") - - @property - @pulumi.getter(name="securityGroups") - def security_groups(self) -> Sequence['outputs.GetSecurityGroupsSecurityGroupResult']: - """ - Information about one or more security groups. - """ - return pulumi.get(self, "security_groups") - - -class AwaitableGetSecurityGroupsResult(GetSecurityGroupsResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetSecurityGroupsResult( - filters=self.filters, - id=self.id, - request_id=self.request_id, - security_group_ids=self.security_group_ids, - security_group_names=self.security_group_names, - security_groups=self.security_groups) - - -def get_security_groups(filters: Optional[Sequence[pulumi.InputType['GetSecurityGroupsFilterArgs']]] = None, - security_group_ids: Optional[Sequence[str]] = None, - security_group_names: Optional[Sequence[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecurityGroupsResult: - """ - Provides information about security groups. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Security-Groups.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-securitygroup). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - security_groups01 = outscale.get_security_groups(filters=[ - outscale.GetSecurityGroupsFilterArgs( - name="net_ids", - values=[ - "sg-12345678", - "sg-87654321", - ], - ), - outscale.GetSecurityGroupsFilterArgs( - name="inbound_rule_ip_ranges", - values=["111.11.111.1/32"], - ), - ]) - ``` - - - :param Sequence[pulumi.InputType['GetSecurityGroupsFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param Sequence[str] security_group_ids: The IDs of the security groups. - :param Sequence[str] security_group_names: The names of the security groups. - """ - __args__ = dict() - __args__['filters'] = filters - __args__['securityGroupIds'] = security_group_ids - __args__['securityGroupNames'] = security_group_names - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getSecurityGroups:getSecurityGroups', __args__, opts=opts, typ=GetSecurityGroupsResult).value - - return AwaitableGetSecurityGroupsResult( - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - request_id=pulumi.get(__ret__, 'request_id'), - security_group_ids=pulumi.get(__ret__, 'security_group_ids'), - security_group_names=pulumi.get(__ret__, 'security_group_names'), - security_groups=pulumi.get(__ret__, 'security_groups')) - - -@_utilities.lift_output_func(get_security_groups) -def get_security_groups_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetSecurityGroupsFilterArgs']]]]] = None, - security_group_ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - security_group_names: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecurityGroupsResult]: - """ - Provides information about security groups. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Security-Groups.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-securitygroup). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - security_groups01 = outscale.get_security_groups(filters=[ - outscale.GetSecurityGroupsFilterArgs( - name="net_ids", - values=[ - "sg-12345678", - "sg-87654321", - ], - ), - outscale.GetSecurityGroupsFilterArgs( - name="inbound_rule_ip_ranges", - values=["111.11.111.1/32"], - ), - ]) - ``` - - - :param Sequence[pulumi.InputType['GetSecurityGroupsFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param Sequence[str] security_group_ids: The IDs of the security groups. - :param Sequence[str] security_group_names: The names of the security groups. - """ - ... diff --git a/sdk/python/pulumi_outscale/get_server_certificate.py b/sdk/python/pulumi_outscale/get_server_certificate.py deleted file mode 100644 index 7edcec7..0000000 --- a/sdk/python/pulumi_outscale/get_server_certificate.py +++ /dev/null @@ -1,166 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetServerCertificateResult', - 'AwaitableGetServerCertificateResult', - 'get_server_certificate', - 'get_server_certificate_output', -] - -@pulumi.output_type -class GetServerCertificateResult: - """ - A collection of values returned by getServerCertificate. - """ - def __init__(__self__, expiration_date=None, filters=None, id=None, name=None, orn=None, path=None, request_id=None, upload_date=None): - if expiration_date and not isinstance(expiration_date, str): - raise TypeError("Expected argument 'expiration_date' to be a str") - pulumi.set(__self__, "expiration_date", expiration_date) - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if name and not isinstance(name, str): - raise TypeError("Expected argument 'name' to be a str") - pulumi.set(__self__, "name", name) - if orn and not isinstance(orn, str): - raise TypeError("Expected argument 'orn' to be a str") - pulumi.set(__self__, "orn", orn) - if path and not isinstance(path, str): - raise TypeError("Expected argument 'path' to be a str") - pulumi.set(__self__, "path", path) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if upload_date and not isinstance(upload_date, str): - raise TypeError("Expected argument 'upload_date' to be a str") - pulumi.set(__self__, "upload_date", upload_date) - - @property - @pulumi.getter(name="expirationDate") - def expiration_date(self) -> str: - """ - The date at which the server certificate expires. - """ - return pulumi.get(self, "expiration_date") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetServerCertificateFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the server certificate. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter - def orn(self) -> str: - """ - The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - """ - return pulumi.get(self, "orn") - - @property - @pulumi.getter - def path(self) -> str: - """ - The path to the server certificate. - """ - return pulumi.get(self, "path") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="uploadDate") - def upload_date(self) -> str: - """ - The date at which the server certificate has been uploaded. - """ - return pulumi.get(self, "upload_date") - - -class AwaitableGetServerCertificateResult(GetServerCertificateResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetServerCertificateResult( - expiration_date=self.expiration_date, - filters=self.filters, - id=self.id, - name=self.name, - orn=self.orn, - path=self.path, - request_id=self.request_id, - upload_date=self.upload_date) - - -def get_server_certificate(filters: Optional[Sequence[pulumi.InputType['GetServerCertificateFilterArgs']]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServerCertificateResult: - """ - Provides information about a server certificate. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Server-Certificates-in-EIM.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-servercertificate). - - - :param Sequence[pulumi.InputType['GetServerCertificateFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - __args__ = dict() - __args__['filters'] = filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getServerCertificate:getServerCertificate', __args__, opts=opts, typ=GetServerCertificateResult).value - - return AwaitableGetServerCertificateResult( - expiration_date=pulumi.get(__ret__, 'expiration_date'), - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - name=pulumi.get(__ret__, 'name'), - orn=pulumi.get(__ret__, 'orn'), - path=pulumi.get(__ret__, 'path'), - request_id=pulumi.get(__ret__, 'request_id'), - upload_date=pulumi.get(__ret__, 'upload_date')) - - -@_utilities.lift_output_func(get_server_certificate) -def get_server_certificate_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetServerCertificateFilterArgs']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServerCertificateResult]: - """ - Provides information about a server certificate. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Server-Certificates-in-EIM.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-servercertificate). - - - :param Sequence[pulumi.InputType['GetServerCertificateFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - ... diff --git a/sdk/python/pulumi_outscale/get_server_certificates.py b/sdk/python/pulumi_outscale/get_server_certificates.py deleted file mode 100644 index 4a85291..0000000 --- a/sdk/python/pulumi_outscale/get_server_certificates.py +++ /dev/null @@ -1,162 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetServerCertificatesResult', - 'AwaitableGetServerCertificatesResult', - 'get_server_certificates', - 'get_server_certificates_output', -] - -@pulumi.output_type -class GetServerCertificatesResult: - """ - A collection of values returned by getServerCertificates. - """ - def __init__(__self__, filters=None, id=None, request_id=None, server_certificates=None): - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if server_certificates and not isinstance(server_certificates, list): - raise TypeError("Expected argument 'server_certificates' to be a list") - pulumi.set(__self__, "server_certificates", server_certificates) - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetServerCertificatesFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="serverCertificates") - def server_certificates(self) -> Sequence['outputs.GetServerCertificatesServerCertificateResult']: - """ - Information about one or more server certificates. - """ - return pulumi.get(self, "server_certificates") - - -class AwaitableGetServerCertificatesResult(GetServerCertificatesResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetServerCertificatesResult( - filters=self.filters, - id=self.id, - request_id=self.request_id, - server_certificates=self.server_certificates) - - -def get_server_certificates(filters: Optional[Sequence[pulumi.InputType['GetServerCertificatesFilterArgs']]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServerCertificatesResult: - """ - Provides information about server certificates. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Server-Certificates-in-EIM.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-servercertificate). - - ## Example Usage - ### Read specific server certificates - - ```python - import pulumi - import pulumi_outscale as outscale - - server_certificates01 = outscale.get_server_certificates(filters=[outscale.GetServerCertificatesFilterArgs( - name="paths", - values=[ - "", - "", - ], - )]) - ``` - ### Read all server certificates - - ```python - import pulumi - import pulumi_outscale as outscale - - all_server_certificates = outscale.get_server_certificates() - ``` - - - :param Sequence[pulumi.InputType['GetServerCertificatesFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - __args__ = dict() - __args__['filters'] = filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getServerCertificates:getServerCertificates', __args__, opts=opts, typ=GetServerCertificatesResult).value - - return AwaitableGetServerCertificatesResult( - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - request_id=pulumi.get(__ret__, 'request_id'), - server_certificates=pulumi.get(__ret__, 'server_certificates')) - - -@_utilities.lift_output_func(get_server_certificates) -def get_server_certificates_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetServerCertificatesFilterArgs']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServerCertificatesResult]: - """ - Provides information about server certificates. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Server-Certificates-in-EIM.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-servercertificate). - - ## Example Usage - ### Read specific server certificates - - ```python - import pulumi - import pulumi_outscale as outscale - - server_certificates01 = outscale.get_server_certificates(filters=[outscale.GetServerCertificatesFilterArgs( - name="paths", - values=[ - "", - "", - ], - )]) - ``` - ### Read all server certificates - - ```python - import pulumi - import pulumi_outscale as outscale - - all_server_certificates = outscale.get_server_certificates() - ``` - - - :param Sequence[pulumi.InputType['GetServerCertificatesFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - ... diff --git a/sdk/python/pulumi_outscale/get_snapshot.py b/sdk/python/pulumi_outscale/get_snapshot.py deleted file mode 100644 index 26628d3..0000000 --- a/sdk/python/pulumi_outscale/get_snapshot.py +++ /dev/null @@ -1,278 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetSnapshotResult', - 'AwaitableGetSnapshotResult', - 'get_snapshot', - 'get_snapshot_output', -] - -@pulumi.output_type -class GetSnapshotResult: - """ - A collection of values returned by getSnapshot. - """ - def __init__(__self__, account_alias=None, account_id=None, creation_date=None, description=None, filters=None, id=None, permissions_to_create_volumes=None, progress=None, request_id=None, snapshot_id=None, state=None, tags=None, volume_id=None, volume_size=None): - if account_alias and not isinstance(account_alias, str): - raise TypeError("Expected argument 'account_alias' to be a str") - pulumi.set(__self__, "account_alias", account_alias) - if account_id and not isinstance(account_id, str): - raise TypeError("Expected argument 'account_id' to be a str") - pulumi.set(__self__, "account_id", account_id) - if creation_date and not isinstance(creation_date, str): - raise TypeError("Expected argument 'creation_date' to be a str") - pulumi.set(__self__, "creation_date", creation_date) - if description and not isinstance(description, str): - raise TypeError("Expected argument 'description' to be a str") - pulumi.set(__self__, "description", description) - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if permissions_to_create_volumes and not isinstance(permissions_to_create_volumes, list): - raise TypeError("Expected argument 'permissions_to_create_volumes' to be a list") - pulumi.set(__self__, "permissions_to_create_volumes", permissions_to_create_volumes) - if progress and not isinstance(progress, int): - raise TypeError("Expected argument 'progress' to be a int") - pulumi.set(__self__, "progress", progress) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if snapshot_id and not isinstance(snapshot_id, str): - raise TypeError("Expected argument 'snapshot_id' to be a str") - pulumi.set(__self__, "snapshot_id", snapshot_id) - if state and not isinstance(state, str): - raise TypeError("Expected argument 'state' to be a str") - pulumi.set(__self__, "state", state) - if tags and not isinstance(tags, list): - raise TypeError("Expected argument 'tags' to be a list") - pulumi.set(__self__, "tags", tags) - if volume_id and not isinstance(volume_id, str): - raise TypeError("Expected argument 'volume_id' to be a str") - pulumi.set(__self__, "volume_id", volume_id) - if volume_size and not isinstance(volume_size, int): - raise TypeError("Expected argument 'volume_size' to be a int") - pulumi.set(__self__, "volume_size", volume_size) - - @property - @pulumi.getter(name="accountAlias") - def account_alias(self) -> str: - """ - The account alias of the owner of the snapshot. - """ - return pulumi.get(self, "account_alias") - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> str: - """ - The account ID of the owner of the snapshot. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter(name="creationDate") - def creation_date(self) -> str: - """ - The date and time of creation of the snapshot. - """ - return pulumi.get(self, "creation_date") - - @property - @pulumi.getter - def description(self) -> str: - """ - The description of the snapshot. - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetSnapshotFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="permissionsToCreateVolumes") - def permissions_to_create_volumes(self) -> Sequence['outputs.GetSnapshotPermissionsToCreateVolumeResult']: - """ - Permissions for the resource. - """ - return pulumi.get(self, "permissions_to_create_volumes") - - @property - @pulumi.getter - def progress(self) -> int: - """ - The progress of the snapshot, as a percentage. - """ - return pulumi.get(self, "progress") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="snapshotId") - def snapshot_id(self) -> str: - """ - The ID of the snapshot. - """ - return pulumi.get(self, "snapshot_id") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the snapshot (`in-queue` \\| `completed` \\| `error`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetSnapshotTagResult']: - """ - One or more tags associated with the snapshot. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter(name="volumeId") - def volume_id(self) -> str: - """ - The ID of the volume used to create the snapshot. - """ - return pulumi.get(self, "volume_id") - - @property - @pulumi.getter(name="volumeSize") - def volume_size(self) -> int: - """ - The size of the volume used to create the snapshot, in gibibytes (GiB). - """ - return pulumi.get(self, "volume_size") - - -class AwaitableGetSnapshotResult(GetSnapshotResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetSnapshotResult( - account_alias=self.account_alias, - account_id=self.account_id, - creation_date=self.creation_date, - description=self.description, - filters=self.filters, - id=self.id, - permissions_to_create_volumes=self.permissions_to_create_volumes, - progress=self.progress, - request_id=self.request_id, - snapshot_id=self.snapshot_id, - state=self.state, - tags=self.tags, - volume_id=self.volume_id, - volume_size=self.volume_size) - - -def get_snapshot(account_id: Optional[str] = None, - filters: Optional[Sequence[pulumi.InputType['GetSnapshotFilterArgs']]] = None, - snapshot_id: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSnapshotResult: - """ - Provides information about a snapshot. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Snapshots.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-snapshot). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - snapshot01 = outscale.get_snapshot(filters=[outscale.GetSnapshotFilterArgs( - name="snapshot_ids", - values=["snap-12345678"], - )]) - ``` - - - :param str account_id: The account ID of the owner of the snapshot. - :param Sequence[pulumi.InputType['GetSnapshotFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param str snapshot_id: The ID of the snapshot. - """ - __args__ = dict() - __args__['accountId'] = account_id - __args__['filters'] = filters - __args__['snapshotId'] = snapshot_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getSnapshot:getSnapshot', __args__, opts=opts, typ=GetSnapshotResult).value - - return AwaitableGetSnapshotResult( - account_alias=pulumi.get(__ret__, 'account_alias'), - account_id=pulumi.get(__ret__, 'account_id'), - creation_date=pulumi.get(__ret__, 'creation_date'), - description=pulumi.get(__ret__, 'description'), - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - permissions_to_create_volumes=pulumi.get(__ret__, 'permissions_to_create_volumes'), - progress=pulumi.get(__ret__, 'progress'), - request_id=pulumi.get(__ret__, 'request_id'), - snapshot_id=pulumi.get(__ret__, 'snapshot_id'), - state=pulumi.get(__ret__, 'state'), - tags=pulumi.get(__ret__, 'tags'), - volume_id=pulumi.get(__ret__, 'volume_id'), - volume_size=pulumi.get(__ret__, 'volume_size')) - - -@_utilities.lift_output_func(get_snapshot) -def get_snapshot_output(account_id: Optional[pulumi.Input[Optional[str]]] = None, - filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetSnapshotFilterArgs']]]]] = None, - snapshot_id: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSnapshotResult]: - """ - Provides information about a snapshot. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Snapshots.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-snapshot). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - snapshot01 = outscale.get_snapshot(filters=[outscale.GetSnapshotFilterArgs( - name="snapshot_ids", - values=["snap-12345678"], - )]) - ``` - - - :param str account_id: The account ID of the owner of the snapshot. - :param Sequence[pulumi.InputType['GetSnapshotFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param str snapshot_id: The ID of the snapshot. - """ - ... diff --git a/sdk/python/pulumi_outscale/get_snapshot_export_task.py b/sdk/python/pulumi_outscale/get_snapshot_export_task.py deleted file mode 100644 index 26b4903..0000000 --- a/sdk/python/pulumi_outscale/get_snapshot_export_task.py +++ /dev/null @@ -1,229 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetSnapshotExportTaskResult', - 'AwaitableGetSnapshotExportTaskResult', - 'get_snapshot_export_task', - 'get_snapshot_export_task_output', -] - -@pulumi.output_type -class GetSnapshotExportTaskResult: - """ - A collection of values returned by getSnapshotExportTask. - """ - def __init__(__self__, comment=None, dry_run=None, filters=None, id=None, osu_exports=None, progress=None, request_id=None, snapshot_id=None, state=None, tags=None, task_id=None): - if comment and not isinstance(comment, str): - raise TypeError("Expected argument 'comment' to be a str") - pulumi.set(__self__, "comment", comment) - if dry_run and not isinstance(dry_run, bool): - raise TypeError("Expected argument 'dry_run' to be a bool") - pulumi.set(__self__, "dry_run", dry_run) - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if osu_exports and not isinstance(osu_exports, list): - raise TypeError("Expected argument 'osu_exports' to be a list") - pulumi.set(__self__, "osu_exports", osu_exports) - if progress and not isinstance(progress, int): - raise TypeError("Expected argument 'progress' to be a int") - pulumi.set(__self__, "progress", progress) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if snapshot_id and not isinstance(snapshot_id, str): - raise TypeError("Expected argument 'snapshot_id' to be a str") - pulumi.set(__self__, "snapshot_id", snapshot_id) - if state and not isinstance(state, str): - raise TypeError("Expected argument 'state' to be a str") - pulumi.set(__self__, "state", state) - if tags and not isinstance(tags, list): - raise TypeError("Expected argument 'tags' to be a list") - pulumi.set(__self__, "tags", tags) - if task_id and not isinstance(task_id, str): - raise TypeError("Expected argument 'task_id' to be a str") - pulumi.set(__self__, "task_id", task_id) - - @property - @pulumi.getter - def comment(self) -> str: - """ - If the snapshot export task fails, an error message appears. - """ - return pulumi.get(self, "comment") - - @property - @pulumi.getter(name="dryRun") - def dry_run(self) -> bool: - return pulumi.get(self, "dry_run") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetSnapshotExportTaskFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="osuExports") - def osu_exports(self) -> Sequence['outputs.GetSnapshotExportTaskOsuExportResult']: - """ - Information about the snapshot export task. - """ - return pulumi.get(self, "osu_exports") - - @property - @pulumi.getter - def progress(self) -> int: - """ - The progress of the snapshot export task, as a percentage. - """ - return pulumi.get(self, "progress") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="snapshotId") - def snapshot_id(self) -> str: - """ - The ID of the snapshot to be exported. - """ - return pulumi.get(self, "snapshot_id") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the snapshot export task (`pending` \\| `active` \\| `completed` \\| `failed`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetSnapshotExportTaskTagResult']: - """ - One or more tags associated with the snapshot export task. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter(name="taskId") - def task_id(self) -> str: - """ - The ID of the snapshot export task. - """ - return pulumi.get(self, "task_id") - - -class AwaitableGetSnapshotExportTaskResult(GetSnapshotExportTaskResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetSnapshotExportTaskResult( - comment=self.comment, - dry_run=self.dry_run, - filters=self.filters, - id=self.id, - osu_exports=self.osu_exports, - progress=self.progress, - request_id=self.request_id, - snapshot_id=self.snapshot_id, - state=self.state, - tags=self.tags, - task_id=self.task_id) - - -def get_snapshot_export_task(dry_run: Optional[bool] = None, - filters: Optional[Sequence[pulumi.InputType['GetSnapshotExportTaskFilterArgs']]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSnapshotExportTaskResult: - """ - Provides information about a snapshot export task. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Snapshots.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-snapshot). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - snapshot_export_task01 = outscale.get_snapshot_export_task(filters=[outscale.GetSnapshotExportTaskFilterArgs( - name="task_ids", - values=["snap-export-12345678"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetSnapshotExportTaskFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - __args__ = dict() - __args__['dryRun'] = dry_run - __args__['filters'] = filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getSnapshotExportTask:getSnapshotExportTask', __args__, opts=opts, typ=GetSnapshotExportTaskResult).value - - return AwaitableGetSnapshotExportTaskResult( - comment=pulumi.get(__ret__, 'comment'), - dry_run=pulumi.get(__ret__, 'dry_run'), - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - osu_exports=pulumi.get(__ret__, 'osu_exports'), - progress=pulumi.get(__ret__, 'progress'), - request_id=pulumi.get(__ret__, 'request_id'), - snapshot_id=pulumi.get(__ret__, 'snapshot_id'), - state=pulumi.get(__ret__, 'state'), - tags=pulumi.get(__ret__, 'tags'), - task_id=pulumi.get(__ret__, 'task_id')) - - -@_utilities.lift_output_func(get_snapshot_export_task) -def get_snapshot_export_task_output(dry_run: Optional[pulumi.Input[Optional[bool]]] = None, - filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetSnapshotExportTaskFilterArgs']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSnapshotExportTaskResult]: - """ - Provides information about a snapshot export task. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Snapshots.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-snapshot). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - snapshot_export_task01 = outscale.get_snapshot_export_task(filters=[outscale.GetSnapshotExportTaskFilterArgs( - name="task_ids", - values=["snap-export-12345678"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetSnapshotExportTaskFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - ... diff --git a/sdk/python/pulumi_outscale/get_snapshot_export_tasks.py b/sdk/python/pulumi_outscale/get_snapshot_export_tasks.py deleted file mode 100644 index d80eb05..0000000 --- a/sdk/python/pulumi_outscale/get_snapshot_export_tasks.py +++ /dev/null @@ -1,157 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetSnapshotExportTasksResult', - 'AwaitableGetSnapshotExportTasksResult', - 'get_snapshot_export_tasks', - 'get_snapshot_export_tasks_output', -] - -@pulumi.output_type -class GetSnapshotExportTasksResult: - """ - A collection of values returned by getSnapshotExportTasks. - """ - def __init__(__self__, dry_run=None, filters=None, id=None, request_id=None, snapshot_export_tasks=None): - if dry_run and not isinstance(dry_run, bool): - raise TypeError("Expected argument 'dry_run' to be a bool") - pulumi.set(__self__, "dry_run", dry_run) - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if snapshot_export_tasks and not isinstance(snapshot_export_tasks, list): - raise TypeError("Expected argument 'snapshot_export_tasks' to be a list") - pulumi.set(__self__, "snapshot_export_tasks", snapshot_export_tasks) - - @property - @pulumi.getter(name="dryRun") - def dry_run(self) -> bool: - return pulumi.get(self, "dry_run") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetSnapshotExportTasksFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="snapshotExportTasks") - def snapshot_export_tasks(self) -> Sequence['outputs.GetSnapshotExportTasksSnapshotExportTaskResult']: - """ - Information about one or more snapshot export tasks. - """ - return pulumi.get(self, "snapshot_export_tasks") - - -class AwaitableGetSnapshotExportTasksResult(GetSnapshotExportTasksResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetSnapshotExportTasksResult( - dry_run=self.dry_run, - filters=self.filters, - id=self.id, - request_id=self.request_id, - snapshot_export_tasks=self.snapshot_export_tasks) - - -def get_snapshot_export_tasks(dry_run: Optional[bool] = None, - filters: Optional[Sequence[pulumi.InputType['GetSnapshotExportTasksFilterArgs']]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSnapshotExportTasksResult: - """ - Provides information about snapshot export tasks. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Snapshots.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-snapshot). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - snapshot_export_tasks01 = outscale.get_snapshot_export_tasks(filters=[outscale.GetSnapshotExportTasksFilterArgs( - name="task_ids", - values=[ - "snap-export-12345678", - "snap-export-87654321", - ], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetSnapshotExportTasksFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - __args__ = dict() - __args__['dryRun'] = dry_run - __args__['filters'] = filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getSnapshotExportTasks:getSnapshotExportTasks', __args__, opts=opts, typ=GetSnapshotExportTasksResult).value - - return AwaitableGetSnapshotExportTasksResult( - dry_run=pulumi.get(__ret__, 'dry_run'), - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - request_id=pulumi.get(__ret__, 'request_id'), - snapshot_export_tasks=pulumi.get(__ret__, 'snapshot_export_tasks')) - - -@_utilities.lift_output_func(get_snapshot_export_tasks) -def get_snapshot_export_tasks_output(dry_run: Optional[pulumi.Input[Optional[bool]]] = None, - filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetSnapshotExportTasksFilterArgs']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSnapshotExportTasksResult]: - """ - Provides information about snapshot export tasks. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Snapshots.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-snapshot). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - snapshot_export_tasks01 = outscale.get_snapshot_export_tasks(filters=[outscale.GetSnapshotExportTasksFilterArgs( - name="task_ids", - values=[ - "snap-export-12345678", - "snap-export-87654321", - ], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetSnapshotExportTasksFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - ... diff --git a/sdk/python/pulumi_outscale/get_snapshots.py b/sdk/python/pulumi_outscale/get_snapshots.py deleted file mode 100644 index 35312dd..0000000 --- a/sdk/python/pulumi_outscale/get_snapshots.py +++ /dev/null @@ -1,205 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetSnapshotsResult', - 'AwaitableGetSnapshotsResult', - 'get_snapshots', - 'get_snapshots_output', -] - -@pulumi.output_type -class GetSnapshotsResult: - """ - A collection of values returned by getSnapshots. - """ - def __init__(__self__, account_ids=None, filters=None, id=None, permission_to_create_volumes=None, request_id=None, snapshot_ids=None, snapshots=None): - if account_ids and not isinstance(account_ids, list): - raise TypeError("Expected argument 'account_ids' to be a list") - pulumi.set(__self__, "account_ids", account_ids) - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if permission_to_create_volumes and not isinstance(permission_to_create_volumes, list): - raise TypeError("Expected argument 'permission_to_create_volumes' to be a list") - pulumi.set(__self__, "permission_to_create_volumes", permission_to_create_volumes) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if snapshot_ids and not isinstance(snapshot_ids, list): - raise TypeError("Expected argument 'snapshot_ids' to be a list") - pulumi.set(__self__, "snapshot_ids", snapshot_ids) - if snapshots and not isinstance(snapshots, list): - raise TypeError("Expected argument 'snapshots' to be a list") - pulumi.set(__self__, "snapshots", snapshots) - - @property - @pulumi.getter(name="accountIds") - def account_ids(self) -> Optional[Sequence[str]]: - """ - The account ID of the owner of the snapshot. - """ - return pulumi.get(self, "account_ids") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetSnapshotsFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="permissionToCreateVolumes") - def permission_to_create_volumes(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "permission_to_create_volumes") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="snapshotIds") - def snapshot_ids(self) -> Optional[Sequence[str]]: - """ - The ID of the snapshot. - """ - return pulumi.get(self, "snapshot_ids") - - @property - @pulumi.getter - def snapshots(self) -> Sequence['outputs.GetSnapshotsSnapshotResult']: - """ - Information about one or more snapshots and their permissions. - """ - return pulumi.get(self, "snapshots") - - -class AwaitableGetSnapshotsResult(GetSnapshotsResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetSnapshotsResult( - account_ids=self.account_ids, - filters=self.filters, - id=self.id, - permission_to_create_volumes=self.permission_to_create_volumes, - request_id=self.request_id, - snapshot_ids=self.snapshot_ids, - snapshots=self.snapshots) - - -def get_snapshots(account_ids: Optional[Sequence[str]] = None, - filters: Optional[Sequence[pulumi.InputType['GetSnapshotsFilterArgs']]] = None, - permission_to_create_volumes: Optional[Sequence[str]] = None, - snapshot_ids: Optional[Sequence[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSnapshotsResult: - """ - Provides information about snapshots. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Snapshots.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-snapshot). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - snapshots01 = outscale.get_snapshots(filters=[ - outscale.GetSnapshotsFilterArgs( - name="tag_keys", - values=["env"], - ), - outscale.GetSnapshotsFilterArgs( - name="tag_values", - values=[ - "prod", - "test", - ], - ), - ]) - ``` - - - :param Sequence[str] account_ids: The account ID of the owner of the snapshot. - :param Sequence[pulumi.InputType['GetSnapshotsFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param Sequence[str] snapshot_ids: The ID of the snapshot. - """ - __args__ = dict() - __args__['accountIds'] = account_ids - __args__['filters'] = filters - __args__['permissionToCreateVolumes'] = permission_to_create_volumes - __args__['snapshotIds'] = snapshot_ids - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getSnapshots:getSnapshots', __args__, opts=opts, typ=GetSnapshotsResult).value - - return AwaitableGetSnapshotsResult( - account_ids=pulumi.get(__ret__, 'account_ids'), - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - permission_to_create_volumes=pulumi.get(__ret__, 'permission_to_create_volumes'), - request_id=pulumi.get(__ret__, 'request_id'), - snapshot_ids=pulumi.get(__ret__, 'snapshot_ids'), - snapshots=pulumi.get(__ret__, 'snapshots')) - - -@_utilities.lift_output_func(get_snapshots) -def get_snapshots_output(account_ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetSnapshotsFilterArgs']]]]] = None, - permission_to_create_volumes: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - snapshot_ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSnapshotsResult]: - """ - Provides information about snapshots. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Snapshots.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-snapshot). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - snapshots01 = outscale.get_snapshots(filters=[ - outscale.GetSnapshotsFilterArgs( - name="tag_keys", - values=["env"], - ), - outscale.GetSnapshotsFilterArgs( - name="tag_values", - values=[ - "prod", - "test", - ], - ), - ]) - ``` - - - :param Sequence[str] account_ids: The account ID of the owner of the snapshot. - :param Sequence[pulumi.InputType['GetSnapshotsFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param Sequence[str] snapshot_ids: The ID of the snapshot. - """ - ... diff --git a/sdk/python/pulumi_outscale/get_subnet.py b/sdk/python/pulumi_outscale/get_subnet.py deleted file mode 100644 index 0fdef79..0000000 --- a/sdk/python/pulumi_outscale/get_subnet.py +++ /dev/null @@ -1,234 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetSubnetResult', - 'AwaitableGetSubnetResult', - 'get_subnet', - 'get_subnet_output', -] - -@pulumi.output_type -class GetSubnetResult: - """ - A collection of values returned by getSubnet. - """ - def __init__(__self__, available_ips_count=None, filters=None, id=None, ip_range=None, map_public_ip_on_launch=None, net_id=None, request_id=None, state=None, subnet_id=None, subregion_name=None, tags=None): - if available_ips_count and not isinstance(available_ips_count, int): - raise TypeError("Expected argument 'available_ips_count' to be a int") - pulumi.set(__self__, "available_ips_count", available_ips_count) - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if ip_range and not isinstance(ip_range, str): - raise TypeError("Expected argument 'ip_range' to be a str") - pulumi.set(__self__, "ip_range", ip_range) - if map_public_ip_on_launch and not isinstance(map_public_ip_on_launch, bool): - raise TypeError("Expected argument 'map_public_ip_on_launch' to be a bool") - pulumi.set(__self__, "map_public_ip_on_launch", map_public_ip_on_launch) - if net_id and not isinstance(net_id, str): - raise TypeError("Expected argument 'net_id' to be a str") - pulumi.set(__self__, "net_id", net_id) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if state and not isinstance(state, str): - raise TypeError("Expected argument 'state' to be a str") - pulumi.set(__self__, "state", state) - if subnet_id and not isinstance(subnet_id, str): - raise TypeError("Expected argument 'subnet_id' to be a str") - pulumi.set(__self__, "subnet_id", subnet_id) - if subregion_name and not isinstance(subregion_name, str): - raise TypeError("Expected argument 'subregion_name' to be a str") - pulumi.set(__self__, "subregion_name", subregion_name) - if tags and not isinstance(tags, list): - raise TypeError("Expected argument 'tags' to be a list") - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="availableIpsCount") - def available_ips_count(self) -> int: - """ - The number of available IPs in the Subnets. - """ - return pulumi.get(self, "available_ips_count") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetSubnetFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="ipRange") - def ip_range(self) -> str: - """ - The IP range in the Subnet, in CIDR notation (for example, `10.0.0.0/16`). - """ - return pulumi.get(self, "ip_range") - - @property - @pulumi.getter(name="mapPublicIpOnLaunch") - def map_public_ip_on_launch(self) -> bool: - """ - If true, a public IP is assigned to the network interface cards (NICs) created in the specified Subnet. - """ - return pulumi.get(self, "map_public_ip_on_launch") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> str: - """ - The ID of the Net in which the Subnet is. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the Subnet (`pending` \\| `available` \\| `deleted`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> str: - """ - The ID of the Subnet. - """ - return pulumi.get(self, "subnet_id") - - @property - @pulumi.getter(name="subregionName") - def subregion_name(self) -> str: - """ - The name of the Subregion in which the Subnet is located. - """ - return pulumi.get(self, "subregion_name") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetSubnetTagResult']: - """ - One or more tags associated with the Subnet. - """ - return pulumi.get(self, "tags") - - -class AwaitableGetSubnetResult(GetSubnetResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetSubnetResult( - available_ips_count=self.available_ips_count, - filters=self.filters, - id=self.id, - ip_range=self.ip_range, - map_public_ip_on_launch=self.map_public_ip_on_launch, - net_id=self.net_id, - request_id=self.request_id, - state=self.state, - subnet_id=self.subnet_id, - subregion_name=self.subregion_name, - tags=self.tags) - - -def get_subnet(filters: Optional[Sequence[pulumi.InputType['GetSubnetFilterArgs']]] = None, - subnet_id: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSubnetResult: - """ - Provides information about a Subnet. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPCs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-subnet). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - subnet01 = outscale.get_subnet(filters=[outscale.GetSubnetFilterArgs( - name="net_ids", - values=["vpc-12345678"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetSubnetFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param str subnet_id: The ID of the Subnet. - """ - __args__ = dict() - __args__['filters'] = filters - __args__['subnetId'] = subnet_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getSubnet:getSubnet', __args__, opts=opts, typ=GetSubnetResult).value - - return AwaitableGetSubnetResult( - available_ips_count=pulumi.get(__ret__, 'available_ips_count'), - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - ip_range=pulumi.get(__ret__, 'ip_range'), - map_public_ip_on_launch=pulumi.get(__ret__, 'map_public_ip_on_launch'), - net_id=pulumi.get(__ret__, 'net_id'), - request_id=pulumi.get(__ret__, 'request_id'), - state=pulumi.get(__ret__, 'state'), - subnet_id=pulumi.get(__ret__, 'subnet_id'), - subregion_name=pulumi.get(__ret__, 'subregion_name'), - tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_subnet) -def get_subnet_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetSubnetFilterArgs']]]]] = None, - subnet_id: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSubnetResult]: - """ - Provides information about a Subnet. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPCs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-subnet). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - subnet01 = outscale.get_subnet(filters=[outscale.GetSubnetFilterArgs( - name="net_ids", - values=["vpc-12345678"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetSubnetFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param str subnet_id: The ID of the Subnet. - """ - ... diff --git a/sdk/python/pulumi_outscale/get_subnets.py b/sdk/python/pulumi_outscale/get_subnets.py deleted file mode 100644 index e4336bb..0000000 --- a/sdk/python/pulumi_outscale/get_subnets.py +++ /dev/null @@ -1,171 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetSubnetsResult', - 'AwaitableGetSubnetsResult', - 'get_subnets', - 'get_subnets_output', -] - -@pulumi.output_type -class GetSubnetsResult: - """ - A collection of values returned by getSubnets. - """ - def __init__(__self__, filters=None, id=None, request_id=None, subnet_ids=None, subnets=None): - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if subnet_ids and not isinstance(subnet_ids, list): - raise TypeError("Expected argument 'subnet_ids' to be a list") - pulumi.set(__self__, "subnet_ids", subnet_ids) - if subnets and not isinstance(subnets, list): - raise TypeError("Expected argument 'subnets' to be a list") - pulumi.set(__self__, "subnets", subnets) - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetSubnetsFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="subnetIds") - def subnet_ids(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "subnet_ids") - - @property - @pulumi.getter - def subnets(self) -> Sequence['outputs.GetSubnetsSubnetResult']: - """ - Information about one or more Subnets. - """ - return pulumi.get(self, "subnets") - - -class AwaitableGetSubnetsResult(GetSubnetsResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetSubnetsResult( - filters=self.filters, - id=self.id, - request_id=self.request_id, - subnet_ids=self.subnet_ids, - subnets=self.subnets) - - -def get_subnets(filters: Optional[Sequence[pulumi.InputType['GetSubnetsFilterArgs']]] = None, - subnet_ids: Optional[Sequence[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSubnetsResult: - """ - Provides information about Subnets. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPCs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-subnet). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - subnets01 = outscale.get_subnets(filters=[ - outscale.GetSubnetsFilterArgs( - name="states", - values=["available"], - ), - outscale.GetSubnetsFilterArgs( - name="subregion_names", - values=[ - "eu-west-2a", - "eu-west-2b", - ], - ), - ]) - ``` - - - :param Sequence[pulumi.InputType['GetSubnetsFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param Sequence[str] subnet_ids: The IDs of the Subnets. - """ - __args__ = dict() - __args__['filters'] = filters - __args__['subnetIds'] = subnet_ids - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getSubnets:getSubnets', __args__, opts=opts, typ=GetSubnetsResult).value - - return AwaitableGetSubnetsResult( - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - request_id=pulumi.get(__ret__, 'request_id'), - subnet_ids=pulumi.get(__ret__, 'subnet_ids'), - subnets=pulumi.get(__ret__, 'subnets')) - - -@_utilities.lift_output_func(get_subnets) -def get_subnets_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetSubnetsFilterArgs']]]]] = None, - subnet_ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSubnetsResult]: - """ - Provides information about Subnets. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPCs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-subnet). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - subnets01 = outscale.get_subnets(filters=[ - outscale.GetSubnetsFilterArgs( - name="states", - values=["available"], - ), - outscale.GetSubnetsFilterArgs( - name="subregion_names", - values=[ - "eu-west-2a", - "eu-west-2b", - ], - ), - ]) - ``` - - - :param Sequence[pulumi.InputType['GetSubnetsFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param Sequence[str] subnet_ids: The IDs of the Subnets. - """ - ... diff --git a/sdk/python/pulumi_outscale/get_subregions.py b/sdk/python/pulumi_outscale/get_subregions.py deleted file mode 100644 index 2f3d069..0000000 --- a/sdk/python/pulumi_outscale/get_subregions.py +++ /dev/null @@ -1,184 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetSubregionsResult', - 'AwaitableGetSubregionsResult', - 'get_subregions', - 'get_subregions_output', -] - -@pulumi.output_type -class GetSubregionsResult: - """ - A collection of values returned by getSubregions. - """ - def __init__(__self__, filters=None, id=None, request_id=None, subregions=None): - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if subregions and not isinstance(subregions, list): - raise TypeError("Expected argument 'subregions' to be a list") - pulumi.set(__self__, "subregions", subregions) - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetSubregionsFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def subregions(self) -> Sequence['outputs.GetSubregionsSubregionResult']: - """ - Information about one or more Subregions. - """ - return pulumi.get(self, "subregions") - - -class AwaitableGetSubregionsResult(GetSubregionsResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetSubregionsResult( - filters=self.filters, - id=self.id, - request_id=self.request_id, - subregions=self.subregions) - - -def get_subregions(filters: Optional[Sequence[pulumi.InputType['GetSubregionsFilterArgs']]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSubregionsResult: - """ - Provides information about subregions. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Regions-Endpoints-and-Availability-Zones.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readsubregions). - - ## Example Usage - ### List a specific Subregion in the current Region - - ```python - import pulumi - import pulumi_outscale as outscale - - subregions01 = outscale.get_subregions(filters=[outscale.GetSubregionsFilterArgs( - name="subregion_names", - values=["eu-west-2a"], - )]) - ``` - ### List two specific Subregions in the current Region - - ```python - import pulumi - import pulumi_outscale as outscale - - subregions02 = outscale.get_subregions(filters=[outscale.GetSubregionsFilterArgs( - name="subregion_names", - values=[ - "eu-west-2a", - "eu-west-2b", - ], - )]) - ``` - ### List all accessible Subregions in the current Region - - ```python - import pulumi - import pulumi_outscale as outscale - - all_subregions = outscale.get_subregions() - ``` - - - :param Sequence[pulumi.InputType['GetSubregionsFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - __args__ = dict() - __args__['filters'] = filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getSubregions:getSubregions', __args__, opts=opts, typ=GetSubregionsResult).value - - return AwaitableGetSubregionsResult( - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - request_id=pulumi.get(__ret__, 'request_id'), - subregions=pulumi.get(__ret__, 'subregions')) - - -@_utilities.lift_output_func(get_subregions) -def get_subregions_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetSubregionsFilterArgs']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSubregionsResult]: - """ - Provides information about subregions. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Regions-Endpoints-and-Availability-Zones.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readsubregions). - - ## Example Usage - ### List a specific Subregion in the current Region - - ```python - import pulumi - import pulumi_outscale as outscale - - subregions01 = outscale.get_subregions(filters=[outscale.GetSubregionsFilterArgs( - name="subregion_names", - values=["eu-west-2a"], - )]) - ``` - ### List two specific Subregions in the current Region - - ```python - import pulumi - import pulumi_outscale as outscale - - subregions02 = outscale.get_subregions(filters=[outscale.GetSubregionsFilterArgs( - name="subregion_names", - values=[ - "eu-west-2a", - "eu-west-2b", - ], - )]) - ``` - ### List all accessible Subregions in the current Region - - ```python - import pulumi - import pulumi_outscale as outscale - - all_subregions = outscale.get_subregions() - ``` - - - :param Sequence[pulumi.InputType['GetSubregionsFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - ... diff --git a/sdk/python/pulumi_outscale/get_tag.py b/sdk/python/pulumi_outscale/get_tag.py deleted file mode 100644 index 803c2e8..0000000 --- a/sdk/python/pulumi_outscale/get_tag.py +++ /dev/null @@ -1,119 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetTagResult', - 'AwaitableGetTagResult', - 'get_tag', - 'get_tag_output', -] - -@pulumi.output_type -class GetTagResult: - """ - A collection of values returned by getTag. - """ - def __init__(__self__, filters=None, id=None, key=None, resource_id=None, resource_type=None, value=None): - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if key and not isinstance(key, str): - raise TypeError("Expected argument 'key' to be a str") - pulumi.set(__self__, "key", key) - if resource_id and not isinstance(resource_id, str): - raise TypeError("Expected argument 'resource_id' to be a str") - pulumi.set(__self__, "resource_id", resource_id) - if resource_type and not isinstance(resource_type, str): - raise TypeError("Expected argument 'resource_type' to be a str") - pulumi.set(__self__, "resource_type", resource_type) - if value and not isinstance(value, str): - raise TypeError("Expected argument 'value' to be a str") - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetTagFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter - def key(self) -> str: - return pulumi.get(self, "key") - - @property - @pulumi.getter(name="resourceId") - def resource_id(self) -> str: - return pulumi.get(self, "resource_id") - - @property - @pulumi.getter(name="resourceType") - def resource_type(self) -> str: - return pulumi.get(self, "resource_type") - - @property - @pulumi.getter - def value(self) -> str: - return pulumi.get(self, "value") - - -class AwaitableGetTagResult(GetTagResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetTagResult( - filters=self.filters, - id=self.id, - key=self.key, - resource_id=self.resource_id, - resource_type=self.resource_type, - value=self.value) - - -def get_tag(filters: Optional[Sequence[pulumi.InputType['GetTagFilterArgs']]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTagResult: - """ - Use this data source to access information about an existing resource. - """ - __args__ = dict() - __args__['filters'] = filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getTag:getTag', __args__, opts=opts, typ=GetTagResult).value - - return AwaitableGetTagResult( - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - key=pulumi.get(__ret__, 'key'), - resource_id=pulumi.get(__ret__, 'resource_id'), - resource_type=pulumi.get(__ret__, 'resource_type'), - value=pulumi.get(__ret__, 'value')) - - -@_utilities.lift_output_func(get_tag) -def get_tag_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetTagFilterArgs']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTagResult]: - """ - Use this data source to access information about an existing resource. - """ - ... diff --git a/sdk/python/pulumi_outscale/get_virtual_gateway.py b/sdk/python/pulumi_outscale/get_virtual_gateway.py deleted file mode 100644 index 74c16d2..0000000 --- a/sdk/python/pulumi_outscale/get_virtual_gateway.py +++ /dev/null @@ -1,205 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetVirtualGatewayResult', - 'AwaitableGetVirtualGatewayResult', - 'get_virtual_gateway', - 'get_virtual_gateway_output', -] - -@pulumi.output_type -class GetVirtualGatewayResult: - """ - A collection of values returned by getVirtualGateway. - """ - def __init__(__self__, connection_type=None, filters=None, id=None, net_to_virtual_gateway_links=None, request_id=None, state=None, tags=None, virtual_gateway_id=None): - if connection_type and not isinstance(connection_type, str): - raise TypeError("Expected argument 'connection_type' to be a str") - pulumi.set(__self__, "connection_type", connection_type) - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if net_to_virtual_gateway_links and not isinstance(net_to_virtual_gateway_links, list): - raise TypeError("Expected argument 'net_to_virtual_gateway_links' to be a list") - pulumi.set(__self__, "net_to_virtual_gateway_links", net_to_virtual_gateway_links) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if state and not isinstance(state, str): - raise TypeError("Expected argument 'state' to be a str") - pulumi.set(__self__, "state", state) - if tags and not isinstance(tags, list): - raise TypeError("Expected argument 'tags' to be a list") - pulumi.set(__self__, "tags", tags) - if virtual_gateway_id and not isinstance(virtual_gateway_id, str): - raise TypeError("Expected argument 'virtual_gateway_id' to be a str") - pulumi.set(__self__, "virtual_gateway_id", virtual_gateway_id) - - @property - @pulumi.getter(name="connectionType") - def connection_type(self) -> str: - """ - The type of VPN connection supported by the virtual gateway (only `ipsec.1` is supported). - """ - return pulumi.get(self, "connection_type") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetVirtualGatewayFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="netToVirtualGatewayLinks") - def net_to_virtual_gateway_links(self) -> Sequence['outputs.GetVirtualGatewayNetToVirtualGatewayLinkResult']: - """ - The Net to which the virtual gateway is attached. - """ - return pulumi.get(self, "net_to_virtual_gateway_links") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the virtual gateway (`pending` \\| `available` \\| `deleting` \\| `deleted`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetVirtualGatewayTagResult']: - """ - One or more tags associated with the virtual gateway. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter(name="virtualGatewayId") - def virtual_gateway_id(self) -> str: - """ - The ID of the virtual gateway. - """ - return pulumi.get(self, "virtual_gateway_id") - - -class AwaitableGetVirtualGatewayResult(GetVirtualGatewayResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetVirtualGatewayResult( - connection_type=self.connection_type, - filters=self.filters, - id=self.id, - net_to_virtual_gateway_links=self.net_to_virtual_gateway_links, - request_id=self.request_id, - state=self.state, - tags=self.tags, - virtual_gateway_id=self.virtual_gateway_id) - - -def get_virtual_gateway(connection_type: Optional[str] = None, - filters: Optional[Sequence[pulumi.InputType['GetVirtualGatewayFilterArgs']]] = None, - state: Optional[str] = None, - virtual_gateway_id: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVirtualGatewayResult: - """ - Provides information about a virtual gateway. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Virtual-Private-Gateways.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-virtualgateway). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - virtual_gateway01 = outscale.get_virtual_gateway(filters=[outscale.GetVirtualGatewayFilterArgs( - name="virtual_gateway_ids", - values=["vgw-12345678"], - )]) - ``` - - - :param str connection_type: The type of VPN connection supported by the virtual gateway (only `ipsec.1` is supported). - :param Sequence[pulumi.InputType['GetVirtualGatewayFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param str state: The state of the virtual gateway (`pending` \\| `available` \\| `deleting` \\| `deleted`). - :param str virtual_gateway_id: The ID of the virtual gateway. - """ - __args__ = dict() - __args__['connectionType'] = connection_type - __args__['filters'] = filters - __args__['state'] = state - __args__['virtualGatewayId'] = virtual_gateway_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getVirtualGateway:getVirtualGateway', __args__, opts=opts, typ=GetVirtualGatewayResult).value - - return AwaitableGetVirtualGatewayResult( - connection_type=pulumi.get(__ret__, 'connection_type'), - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - net_to_virtual_gateway_links=pulumi.get(__ret__, 'net_to_virtual_gateway_links'), - request_id=pulumi.get(__ret__, 'request_id'), - state=pulumi.get(__ret__, 'state'), - tags=pulumi.get(__ret__, 'tags'), - virtual_gateway_id=pulumi.get(__ret__, 'virtual_gateway_id')) - - -@_utilities.lift_output_func(get_virtual_gateway) -def get_virtual_gateway_output(connection_type: Optional[pulumi.Input[Optional[str]]] = None, - filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetVirtualGatewayFilterArgs']]]]] = None, - state: Optional[pulumi.Input[Optional[str]]] = None, - virtual_gateway_id: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVirtualGatewayResult]: - """ - Provides information about a virtual gateway. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Virtual-Private-Gateways.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-virtualgateway). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - virtual_gateway01 = outscale.get_virtual_gateway(filters=[outscale.GetVirtualGatewayFilterArgs( - name="virtual_gateway_ids", - values=["vgw-12345678"], - )]) - ``` - - - :param str connection_type: The type of VPN connection supported by the virtual gateway (only `ipsec.1` is supported). - :param Sequence[pulumi.InputType['GetVirtualGatewayFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param str state: The state of the virtual gateway (`pending` \\| `available` \\| `deleting` \\| `deleted`). - :param str virtual_gateway_id: The ID of the virtual gateway. - """ - ... diff --git a/sdk/python/pulumi_outscale/get_virtual_gateways.py b/sdk/python/pulumi_outscale/get_virtual_gateways.py deleted file mode 100644 index a64f5d3..0000000 --- a/sdk/python/pulumi_outscale/get_virtual_gateways.py +++ /dev/null @@ -1,174 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetVirtualGatewaysResult', - 'AwaitableGetVirtualGatewaysResult', - 'get_virtual_gateways', - 'get_virtual_gateways_output', -] - -@pulumi.output_type -class GetVirtualGatewaysResult: - """ - A collection of values returned by getVirtualGateways. - """ - def __init__(__self__, filters=None, id=None, request_id=None, virtual_gateway_ids=None, virtual_gateways=None): - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if virtual_gateway_ids and not isinstance(virtual_gateway_ids, list): - raise TypeError("Expected argument 'virtual_gateway_ids' to be a list") - pulumi.set(__self__, "virtual_gateway_ids", virtual_gateway_ids) - if virtual_gateways and not isinstance(virtual_gateways, list): - raise TypeError("Expected argument 'virtual_gateways' to be a list") - pulumi.set(__self__, "virtual_gateways", virtual_gateways) - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetVirtualGatewaysFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="virtualGatewayIds") - def virtual_gateway_ids(self) -> Sequence[str]: - """ - The ID of the virtual gateway. - """ - return pulumi.get(self, "virtual_gateway_ids") - - @property - @pulumi.getter(name="virtualGateways") - def virtual_gateways(self) -> Sequence['outputs.GetVirtualGatewaysVirtualGatewayResult']: - """ - Information about one or more virtual gateways. - """ - return pulumi.get(self, "virtual_gateways") - - -class AwaitableGetVirtualGatewaysResult(GetVirtualGatewaysResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetVirtualGatewaysResult( - filters=self.filters, - id=self.id, - request_id=self.request_id, - virtual_gateway_ids=self.virtual_gateway_ids, - virtual_gateways=self.virtual_gateways) - - -def get_virtual_gateways(filters: Optional[Sequence[pulumi.InputType['GetVirtualGatewaysFilterArgs']]] = None, - virtual_gateway_ids: Optional[Sequence[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVirtualGatewaysResult: - """ - Provides information about virtual gateways. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Virtual-Private-Gateways.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-virtualgateway). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - virtual_gateways01 = outscale.get_virtual_gateways(filters=[ - outscale.GetVirtualGatewaysFilterArgs( - name="states", - values=["available"], - ), - outscale.GetVirtualGatewaysFilterArgs( - name="link_states", - values=[ - "attached", - "detached", - ], - ), - ]) - ``` - - - :param Sequence[pulumi.InputType['GetVirtualGatewaysFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param Sequence[str] virtual_gateway_ids: The ID of the virtual gateway. - """ - __args__ = dict() - __args__['filters'] = filters - __args__['virtualGatewayIds'] = virtual_gateway_ids - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getVirtualGateways:getVirtualGateways', __args__, opts=opts, typ=GetVirtualGatewaysResult).value - - return AwaitableGetVirtualGatewaysResult( - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - request_id=pulumi.get(__ret__, 'request_id'), - virtual_gateway_ids=pulumi.get(__ret__, 'virtual_gateway_ids'), - virtual_gateways=pulumi.get(__ret__, 'virtual_gateways')) - - -@_utilities.lift_output_func(get_virtual_gateways) -def get_virtual_gateways_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetVirtualGatewaysFilterArgs']]]]] = None, - virtual_gateway_ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVirtualGatewaysResult]: - """ - Provides information about virtual gateways. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Virtual-Private-Gateways.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-virtualgateway). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - virtual_gateways01 = outscale.get_virtual_gateways(filters=[ - outscale.GetVirtualGatewaysFilterArgs( - name="states", - values=["available"], - ), - outscale.GetVirtualGatewaysFilterArgs( - name="link_states", - values=[ - "attached", - "detached", - ], - ), - ]) - ``` - - - :param Sequence[pulumi.InputType['GetVirtualGatewaysFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param Sequence[str] virtual_gateway_ids: The ID of the virtual gateway. - """ - ... diff --git a/sdk/python/pulumi_outscale/get_vm.py b/sdk/python/pulumi_outscale/get_vm.py deleted file mode 100644 index f4e5334..0000000 --- a/sdk/python/pulumi_outscale/get_vm.py +++ /dev/null @@ -1,614 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetVmResult', - 'AwaitableGetVmResult', - 'get_vm', - 'get_vm_output', -] - -@pulumi.output_type -class GetVmResult: - """ - A collection of values returned by getVm. - """ - def __init__(__self__, architecture=None, block_device_mappings_createds=None, bsu_optimized=None, client_token=None, creation_date=None, deletion_protection=None, filters=None, hypervisor=None, id=None, image_id=None, is_source_dest_checked=None, keypair_name=None, launch_number=None, nested_virtualization=None, net_id=None, nics=None, os_family=None, performance=None, placement_subregion_name=None, placement_tenancy=None, primary_nics=None, private_dns_name=None, private_ip=None, private_ips=None, product_codes=None, public_dns_name=None, public_ip=None, request_id=None, reservation_id=None, root_device_name=None, root_device_type=None, security_group_ids=None, security_group_names=None, security_groups=None, state=None, state_reason=None, subnet_id=None, tags=None, user_data=None, vm_id=None, vm_initiated_shutdown_behavior=None, vm_type=None): - if architecture and not isinstance(architecture, str): - raise TypeError("Expected argument 'architecture' to be a str") - pulumi.set(__self__, "architecture", architecture) - if block_device_mappings_createds and not isinstance(block_device_mappings_createds, list): - raise TypeError("Expected argument 'block_device_mappings_createds' to be a list") - pulumi.set(__self__, "block_device_mappings_createds", block_device_mappings_createds) - if bsu_optimized and not isinstance(bsu_optimized, bool): - raise TypeError("Expected argument 'bsu_optimized' to be a bool") - pulumi.set(__self__, "bsu_optimized", bsu_optimized) - if client_token and not isinstance(client_token, str): - raise TypeError("Expected argument 'client_token' to be a str") - pulumi.set(__self__, "client_token", client_token) - if creation_date and not isinstance(creation_date, str): - raise TypeError("Expected argument 'creation_date' to be a str") - pulumi.set(__self__, "creation_date", creation_date) - if deletion_protection and not isinstance(deletion_protection, bool): - raise TypeError("Expected argument 'deletion_protection' to be a bool") - pulumi.set(__self__, "deletion_protection", deletion_protection) - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if hypervisor and not isinstance(hypervisor, str): - raise TypeError("Expected argument 'hypervisor' to be a str") - pulumi.set(__self__, "hypervisor", hypervisor) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if image_id and not isinstance(image_id, str): - raise TypeError("Expected argument 'image_id' to be a str") - pulumi.set(__self__, "image_id", image_id) - if is_source_dest_checked and not isinstance(is_source_dest_checked, bool): - raise TypeError("Expected argument 'is_source_dest_checked' to be a bool") - pulumi.set(__self__, "is_source_dest_checked", is_source_dest_checked) - if keypair_name and not isinstance(keypair_name, str): - raise TypeError("Expected argument 'keypair_name' to be a str") - pulumi.set(__self__, "keypair_name", keypair_name) - if launch_number and not isinstance(launch_number, int): - raise TypeError("Expected argument 'launch_number' to be a int") - pulumi.set(__self__, "launch_number", launch_number) - if nested_virtualization and not isinstance(nested_virtualization, bool): - raise TypeError("Expected argument 'nested_virtualization' to be a bool") - pulumi.set(__self__, "nested_virtualization", nested_virtualization) - if net_id and not isinstance(net_id, str): - raise TypeError("Expected argument 'net_id' to be a str") - pulumi.set(__self__, "net_id", net_id) - if nics and not isinstance(nics, list): - raise TypeError("Expected argument 'nics' to be a list") - pulumi.set(__self__, "nics", nics) - if os_family and not isinstance(os_family, str): - raise TypeError("Expected argument 'os_family' to be a str") - pulumi.set(__self__, "os_family", os_family) - if performance and not isinstance(performance, str): - raise TypeError("Expected argument 'performance' to be a str") - pulumi.set(__self__, "performance", performance) - if placement_subregion_name and not isinstance(placement_subregion_name, str): - raise TypeError("Expected argument 'placement_subregion_name' to be a str") - pulumi.set(__self__, "placement_subregion_name", placement_subregion_name) - if placement_tenancy and not isinstance(placement_tenancy, str): - raise TypeError("Expected argument 'placement_tenancy' to be a str") - pulumi.set(__self__, "placement_tenancy", placement_tenancy) - if primary_nics and not isinstance(primary_nics, list): - raise TypeError("Expected argument 'primary_nics' to be a list") - pulumi.set(__self__, "primary_nics", primary_nics) - if private_dns_name and not isinstance(private_dns_name, str): - raise TypeError("Expected argument 'private_dns_name' to be a str") - pulumi.set(__self__, "private_dns_name", private_dns_name) - if private_ip and not isinstance(private_ip, str): - raise TypeError("Expected argument 'private_ip' to be a str") - pulumi.set(__self__, "private_ip", private_ip) - if private_ips and not isinstance(private_ips, list): - raise TypeError("Expected argument 'private_ips' to be a list") - pulumi.set(__self__, "private_ips", private_ips) - if product_codes and not isinstance(product_codes, list): - raise TypeError("Expected argument 'product_codes' to be a list") - pulumi.set(__self__, "product_codes", product_codes) - if public_dns_name and not isinstance(public_dns_name, str): - raise TypeError("Expected argument 'public_dns_name' to be a str") - pulumi.set(__self__, "public_dns_name", public_dns_name) - if public_ip and not isinstance(public_ip, str): - raise TypeError("Expected argument 'public_ip' to be a str") - pulumi.set(__self__, "public_ip", public_ip) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if reservation_id and not isinstance(reservation_id, str): - raise TypeError("Expected argument 'reservation_id' to be a str") - pulumi.set(__self__, "reservation_id", reservation_id) - if root_device_name and not isinstance(root_device_name, str): - raise TypeError("Expected argument 'root_device_name' to be a str") - pulumi.set(__self__, "root_device_name", root_device_name) - if root_device_type and not isinstance(root_device_type, str): - raise TypeError("Expected argument 'root_device_type' to be a str") - pulumi.set(__self__, "root_device_type", root_device_type) - if security_group_ids and not isinstance(security_group_ids, list): - raise TypeError("Expected argument 'security_group_ids' to be a list") - pulumi.set(__self__, "security_group_ids", security_group_ids) - if security_group_names and not isinstance(security_group_names, list): - raise TypeError("Expected argument 'security_group_names' to be a list") - pulumi.set(__self__, "security_group_names", security_group_names) - if security_groups and not isinstance(security_groups, list): - raise TypeError("Expected argument 'security_groups' to be a list") - pulumi.set(__self__, "security_groups", security_groups) - if state and not isinstance(state, str): - raise TypeError("Expected argument 'state' to be a str") - pulumi.set(__self__, "state", state) - if state_reason and not isinstance(state_reason, str): - raise TypeError("Expected argument 'state_reason' to be a str") - pulumi.set(__self__, "state_reason", state_reason) - if subnet_id and not isinstance(subnet_id, str): - raise TypeError("Expected argument 'subnet_id' to be a str") - pulumi.set(__self__, "subnet_id", subnet_id) - if tags and not isinstance(tags, list): - raise TypeError("Expected argument 'tags' to be a list") - pulumi.set(__self__, "tags", tags) - if user_data and not isinstance(user_data, str): - raise TypeError("Expected argument 'user_data' to be a str") - pulumi.set(__self__, "user_data", user_data) - if vm_id and not isinstance(vm_id, str): - raise TypeError("Expected argument 'vm_id' to be a str") - pulumi.set(__self__, "vm_id", vm_id) - if vm_initiated_shutdown_behavior and not isinstance(vm_initiated_shutdown_behavior, str): - raise TypeError("Expected argument 'vm_initiated_shutdown_behavior' to be a str") - pulumi.set(__self__, "vm_initiated_shutdown_behavior", vm_initiated_shutdown_behavior) - if vm_type and not isinstance(vm_type, str): - raise TypeError("Expected argument 'vm_type' to be a str") - pulumi.set(__self__, "vm_type", vm_type) - - @property - @pulumi.getter - def architecture(self) -> str: - """ - The architecture of the VM (`i386` \\| `x86_64`). - """ - return pulumi.get(self, "architecture") - - @property - @pulumi.getter(name="blockDeviceMappingsCreateds") - def block_device_mappings_createds(self) -> Sequence['outputs.GetVmBlockDeviceMappingsCreatedResult']: - """ - The block device mapping of the VM. - """ - return pulumi.get(self, "block_device_mappings_createds") - - @property - @pulumi.getter(name="bsuOptimized") - def bsu_optimized(self) -> bool: - return pulumi.get(self, "bsu_optimized") - - @property - @pulumi.getter(name="clientToken") - def client_token(self) -> str: - """ - The idempotency token provided when launching the VM. - """ - return pulumi.get(self, "client_token") - - @property - @pulumi.getter(name="creationDate") - def creation_date(self) -> str: - """ - The date and time of creation of the VM. - """ - return pulumi.get(self, "creation_date") - - @property - @pulumi.getter(name="deletionProtection") - def deletion_protection(self) -> bool: - """ - If true, you cannot delete the VM unless you change this parameter back to false. - """ - return pulumi.get(self, "deletion_protection") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetVmFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def hypervisor(self) -> str: - """ - The hypervisor type of the VMs (`ovm` \\| `xen`). - """ - return pulumi.get(self, "hypervisor") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="imageId") - def image_id(self) -> str: - """ - The ID of the OMI used to create the VM. - """ - return pulumi.get(self, "image_id") - - @property - @pulumi.getter(name="isSourceDestChecked") - def is_source_dest_checked(self) -> bool: - """ - (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - """ - return pulumi.get(self, "is_source_dest_checked") - - @property - @pulumi.getter(name="keypairName") - def keypair_name(self) -> str: - """ - The name of the keypair used when launching the VM. - """ - return pulumi.get(self, "keypair_name") - - @property - @pulumi.getter(name="launchNumber") - def launch_number(self) -> int: - """ - The number for the VM when launching a group of several VMs (for example, `0`, `1`, `2`, and so on). - """ - return pulumi.get(self, "launch_number") - - @property - @pulumi.getter(name="nestedVirtualization") - def nested_virtualization(self) -> bool: - """ - If true, nested virtualization is enabled. If false, it is disabled. - """ - return pulumi.get(self, "nested_virtualization") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> str: - """ - The ID of the Net for the NIC. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter - def nics(self) -> Sequence['outputs.GetVmNicResult']: - """ - (Net only) The network interface cards (NICs) the VMs are attached to. - """ - return pulumi.get(self, "nics") - - @property - @pulumi.getter(name="osFamily") - def os_family(self) -> str: - """ - Indicates the operating system (OS) of the VM. - """ - return pulumi.get(self, "os_family") - - @property - @pulumi.getter - def performance(self) -> str: - """ - The performance of the VM (`medium` \\| `high` \\| `highest`). - """ - return pulumi.get(self, "performance") - - @property - @pulumi.getter(name="placementSubregionName") - def placement_subregion_name(self) -> str: - return pulumi.get(self, "placement_subregion_name") - - @property - @pulumi.getter(name="placementTenancy") - def placement_tenancy(self) -> str: - return pulumi.get(self, "placement_tenancy") - - @property - @pulumi.getter(name="primaryNics") - def primary_nics(self) -> Sequence['outputs.GetVmPrimaryNicResult']: - return pulumi.get(self, "primary_nics") - - @property - @pulumi.getter(name="privateDnsName") - def private_dns_name(self) -> str: - """ - The name of the private DNS. - """ - return pulumi.get(self, "private_dns_name") - - @property - @pulumi.getter(name="privateIp") - def private_ip(self) -> str: - """ - The primary private IP of the VM. - """ - return pulumi.get(self, "private_ip") - - @property - @pulumi.getter(name="privateIps") - def private_ips(self) -> Sequence[str]: - """ - The private IP or IPs of the NIC. - """ - return pulumi.get(self, "private_ips") - - @property - @pulumi.getter(name="productCodes") - def product_codes(self) -> Sequence[str]: - """ - The product codes associated with the OMI used to create the VM. - """ - return pulumi.get(self, "product_codes") - - @property - @pulumi.getter(name="publicDnsName") - def public_dns_name(self) -> str: - """ - The name of the public DNS. - """ - return pulumi.get(self, "public_dns_name") - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> str: - """ - The public IP of the VM. - """ - return pulumi.get(self, "public_ip") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="reservationId") - def reservation_id(self) -> str: - """ - The reservation ID of the VM. - """ - return pulumi.get(self, "reservation_id") - - @property - @pulumi.getter(name="rootDeviceName") - def root_device_name(self) -> str: - """ - The name of the root device for the VM (for example, `/dev/vda1`). - """ - return pulumi.get(self, "root_device_name") - - @property - @pulumi.getter(name="rootDeviceType") - def root_device_type(self) -> str: - """ - The type of root device used by the VM (always `bsu`). - """ - return pulumi.get(self, "root_device_type") - - @property - @pulumi.getter(name="securityGroupIds") - def security_group_ids(self) -> Sequence[str]: - return pulumi.get(self, "security_group_ids") - - @property - @pulumi.getter(name="securityGroupNames") - def security_group_names(self) -> Sequence[str]: - return pulumi.get(self, "security_group_names") - - @property - @pulumi.getter(name="securityGroups") - def security_groups(self) -> Sequence['outputs.GetVmSecurityGroupResult']: - """ - One or more security groups associated with the VM. - """ - return pulumi.get(self, "security_groups") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the VM (`pending` \\| `running` \\| `stopping` \\| `stopped` \\| `shutting-down` \\| `terminated` \\| `quarantine`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="stateReason") - def state_reason(self) -> str: - """ - The reason explaining the current state of the VM. - """ - return pulumi.get(self, "state_reason") - - @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> str: - """ - The ID of the Subnet for the VM. - """ - return pulumi.get(self, "subnet_id") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetVmTagResult']: - """ - One or more tags associated with the VM. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter(name="userData") - def user_data(self) -> str: - """ - The Base64-encoded MIME user data. - """ - return pulumi.get(self, "user_data") - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> str: - """ - The ID of the VM. - """ - return pulumi.get(self, "vm_id") - - @property - @pulumi.getter(name="vmInitiatedShutdownBehavior") - def vm_initiated_shutdown_behavior(self) -> str: - """ - The VM behavior when you stop it. If set to `stop`, the VM stops. If set to `restart`, the VM stops then automatically restarts. If set to `terminate`, the VM stops and is deleted. - """ - return pulumi.get(self, "vm_initiated_shutdown_behavior") - - @property - @pulumi.getter(name="vmType") - def vm_type(self) -> str: - """ - The type of VM. For more information, see [Instance Types](https://docs.outscale.com/en/userguide/Instance-Types.html). - """ - return pulumi.get(self, "vm_type") - - -class AwaitableGetVmResult(GetVmResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetVmResult( - architecture=self.architecture, - block_device_mappings_createds=self.block_device_mappings_createds, - bsu_optimized=self.bsu_optimized, - client_token=self.client_token, - creation_date=self.creation_date, - deletion_protection=self.deletion_protection, - filters=self.filters, - hypervisor=self.hypervisor, - id=self.id, - image_id=self.image_id, - is_source_dest_checked=self.is_source_dest_checked, - keypair_name=self.keypair_name, - launch_number=self.launch_number, - nested_virtualization=self.nested_virtualization, - net_id=self.net_id, - nics=self.nics, - os_family=self.os_family, - performance=self.performance, - placement_subregion_name=self.placement_subregion_name, - placement_tenancy=self.placement_tenancy, - primary_nics=self.primary_nics, - private_dns_name=self.private_dns_name, - private_ip=self.private_ip, - private_ips=self.private_ips, - product_codes=self.product_codes, - public_dns_name=self.public_dns_name, - public_ip=self.public_ip, - request_id=self.request_id, - reservation_id=self.reservation_id, - root_device_name=self.root_device_name, - root_device_type=self.root_device_type, - security_group_ids=self.security_group_ids, - security_group_names=self.security_group_names, - security_groups=self.security_groups, - state=self.state, - state_reason=self.state_reason, - subnet_id=self.subnet_id, - tags=self.tags, - user_data=self.user_data, - vm_id=self.vm_id, - vm_initiated_shutdown_behavior=self.vm_initiated_shutdown_behavior, - vm_type=self.vm_type) - - -def get_vm(filters: Optional[Sequence[pulumi.InputType['GetVmFilterArgs']]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVmResult: - """ - Provides information about a virtual machine (VM). - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Instances.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-vm). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - vm01 = outscale.get_vm(filters=[outscale.GetVmFilterArgs( - name="vm_ids", - values=["i-12345678"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetVmFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - __args__ = dict() - __args__['filters'] = filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getVm:getVm', __args__, opts=opts, typ=GetVmResult).value - - return AwaitableGetVmResult( - architecture=pulumi.get(__ret__, 'architecture'), - block_device_mappings_createds=pulumi.get(__ret__, 'block_device_mappings_createds'), - bsu_optimized=pulumi.get(__ret__, 'bsu_optimized'), - client_token=pulumi.get(__ret__, 'client_token'), - creation_date=pulumi.get(__ret__, 'creation_date'), - deletion_protection=pulumi.get(__ret__, 'deletion_protection'), - filters=pulumi.get(__ret__, 'filters'), - hypervisor=pulumi.get(__ret__, 'hypervisor'), - id=pulumi.get(__ret__, 'id'), - image_id=pulumi.get(__ret__, 'image_id'), - is_source_dest_checked=pulumi.get(__ret__, 'is_source_dest_checked'), - keypair_name=pulumi.get(__ret__, 'keypair_name'), - launch_number=pulumi.get(__ret__, 'launch_number'), - nested_virtualization=pulumi.get(__ret__, 'nested_virtualization'), - net_id=pulumi.get(__ret__, 'net_id'), - nics=pulumi.get(__ret__, 'nics'), - os_family=pulumi.get(__ret__, 'os_family'), - performance=pulumi.get(__ret__, 'performance'), - placement_subregion_name=pulumi.get(__ret__, 'placement_subregion_name'), - placement_tenancy=pulumi.get(__ret__, 'placement_tenancy'), - primary_nics=pulumi.get(__ret__, 'primary_nics'), - private_dns_name=pulumi.get(__ret__, 'private_dns_name'), - private_ip=pulumi.get(__ret__, 'private_ip'), - private_ips=pulumi.get(__ret__, 'private_ips'), - product_codes=pulumi.get(__ret__, 'product_codes'), - public_dns_name=pulumi.get(__ret__, 'public_dns_name'), - public_ip=pulumi.get(__ret__, 'public_ip'), - request_id=pulumi.get(__ret__, 'request_id'), - reservation_id=pulumi.get(__ret__, 'reservation_id'), - root_device_name=pulumi.get(__ret__, 'root_device_name'), - root_device_type=pulumi.get(__ret__, 'root_device_type'), - security_group_ids=pulumi.get(__ret__, 'security_group_ids'), - security_group_names=pulumi.get(__ret__, 'security_group_names'), - security_groups=pulumi.get(__ret__, 'security_groups'), - state=pulumi.get(__ret__, 'state'), - state_reason=pulumi.get(__ret__, 'state_reason'), - subnet_id=pulumi.get(__ret__, 'subnet_id'), - tags=pulumi.get(__ret__, 'tags'), - user_data=pulumi.get(__ret__, 'user_data'), - vm_id=pulumi.get(__ret__, 'vm_id'), - vm_initiated_shutdown_behavior=pulumi.get(__ret__, 'vm_initiated_shutdown_behavior'), - vm_type=pulumi.get(__ret__, 'vm_type')) - - -@_utilities.lift_output_func(get_vm) -def get_vm_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetVmFilterArgs']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVmResult]: - """ - Provides information about a virtual machine (VM). - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Instances.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-vm). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - vm01 = outscale.get_vm(filters=[outscale.GetVmFilterArgs( - name="vm_ids", - values=["i-12345678"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetVmFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - ... diff --git a/sdk/python/pulumi_outscale/get_vm_state.py b/sdk/python/pulumi_outscale/get_vm_state.py deleted file mode 100644 index a5adef3..0000000 --- a/sdk/python/pulumi_outscale/get_vm_state.py +++ /dev/null @@ -1,199 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetVmStateResult', - 'AwaitableGetVmStateResult', - 'get_vm_state', - 'get_vm_state_output', -] - -@pulumi.output_type -class GetVmStateResult: - """ - A collection of values returned by getVmState. - """ - def __init__(__self__, all_vms=None, filters=None, id=None, maintenance_events=None, request_id=None, subregion_name=None, vm_id=None, vm_state=None): - if all_vms and not isinstance(all_vms, bool): - raise TypeError("Expected argument 'all_vms' to be a bool") - pulumi.set(__self__, "all_vms", all_vms) - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if maintenance_events and not isinstance(maintenance_events, list): - raise TypeError("Expected argument 'maintenance_events' to be a list") - pulumi.set(__self__, "maintenance_events", maintenance_events) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if subregion_name and not isinstance(subregion_name, str): - raise TypeError("Expected argument 'subregion_name' to be a str") - pulumi.set(__self__, "subregion_name", subregion_name) - if vm_id and not isinstance(vm_id, str): - raise TypeError("Expected argument 'vm_id' to be a str") - pulumi.set(__self__, "vm_id", vm_id) - if vm_state and not isinstance(vm_state, str): - raise TypeError("Expected argument 'vm_state' to be a str") - pulumi.set(__self__, "vm_state", vm_state) - - @property - @pulumi.getter(name="allVms") - def all_vms(self) -> Optional[bool]: - return pulumi.get(self, "all_vms") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetVmStateFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="maintenanceEvents") - def maintenance_events(self) -> Sequence['outputs.GetVmStateMaintenanceEventResult']: - """ - One or more scheduled events associated with the VM. - """ - return pulumi.get(self, "maintenance_events") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="subregionName") - def subregion_name(self) -> str: - """ - The name of the Subregion of the VM. - """ - return pulumi.get(self, "subregion_name") - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> Optional[str]: - """ - The ID of the VM. - """ - return pulumi.get(self, "vm_id") - - @property - @pulumi.getter(name="vmState") - def vm_state(self) -> str: - """ - The state of the VM (`pending` \\| `running` \\| `stopping` \\| `stopped` \\| `shutting-down` \\| `terminated` \\| `quarantine`). - """ - return pulumi.get(self, "vm_state") - - -class AwaitableGetVmStateResult(GetVmStateResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetVmStateResult( - all_vms=self.all_vms, - filters=self.filters, - id=self.id, - maintenance_events=self.maintenance_events, - request_id=self.request_id, - subregion_name=self.subregion_name, - vm_id=self.vm_id, - vm_state=self.vm_state) - - -def get_vm_state(all_vms: Optional[bool] = None, - filters: Optional[Sequence[pulumi.InputType['GetVmStateFilterArgs']]] = None, - vm_id: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVmStateResult: - """ - Provides information about a VM state. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Instance-Lifecycle.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readvmsstate). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - vm_state01 = outscale.get_vm_state(all_vms=True, - filters=[outscale.GetVmStateFilterArgs( - name="vm_ids", - values=["i-12345678"], - )]) - ``` - - - :param bool all_vms: If true, includes the status of all VMs. By default or if set to false, only includes the status of running VMs. - :param Sequence[pulumi.InputType['GetVmStateFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param str vm_id: The ID of the VM. - """ - __args__ = dict() - __args__['allVms'] = all_vms - __args__['filters'] = filters - __args__['vmId'] = vm_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getVmState:getVmState', __args__, opts=opts, typ=GetVmStateResult).value - - return AwaitableGetVmStateResult( - all_vms=pulumi.get(__ret__, 'all_vms'), - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - maintenance_events=pulumi.get(__ret__, 'maintenance_events'), - request_id=pulumi.get(__ret__, 'request_id'), - subregion_name=pulumi.get(__ret__, 'subregion_name'), - vm_id=pulumi.get(__ret__, 'vm_id'), - vm_state=pulumi.get(__ret__, 'vm_state')) - - -@_utilities.lift_output_func(get_vm_state) -def get_vm_state_output(all_vms: Optional[pulumi.Input[Optional[bool]]] = None, - filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetVmStateFilterArgs']]]]] = None, - vm_id: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVmStateResult]: - """ - Provides information about a VM state. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Instance-Lifecycle.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readvmsstate). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - vm_state01 = outscale.get_vm_state(all_vms=True, - filters=[outscale.GetVmStateFilterArgs( - name="vm_ids", - values=["i-12345678"], - )]) - ``` - - - :param bool all_vms: If true, includes the status of all VMs. By default or if set to false, only includes the status of running VMs. - :param Sequence[pulumi.InputType['GetVmStateFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param str vm_id: The ID of the VM. - """ - ... diff --git a/sdk/python/pulumi_outscale/get_vm_states.py b/sdk/python/pulumi_outscale/get_vm_states.py deleted file mode 100644 index 44166f0..0000000 --- a/sdk/python/pulumi_outscale/get_vm_states.py +++ /dev/null @@ -1,186 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetVmStatesResult', - 'AwaitableGetVmStatesResult', - 'get_vm_states', - 'get_vm_states_output', -] - -@pulumi.output_type -class GetVmStatesResult: - """ - A collection of values returned by getVmStates. - """ - def __init__(__self__, all_vms=None, filters=None, id=None, request_id=None, vm_ids=None, vm_states=None): - if all_vms and not isinstance(all_vms, bool): - raise TypeError("Expected argument 'all_vms' to be a bool") - pulumi.set(__self__, "all_vms", all_vms) - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if vm_ids and not isinstance(vm_ids, list): - raise TypeError("Expected argument 'vm_ids' to be a list") - pulumi.set(__self__, "vm_ids", vm_ids) - if vm_states and not isinstance(vm_states, list): - raise TypeError("Expected argument 'vm_states' to be a list") - pulumi.set(__self__, "vm_states", vm_states) - - @property - @pulumi.getter(name="allVms") - def all_vms(self) -> Optional[bool]: - return pulumi.get(self, "all_vms") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetVmStatesFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="vmIds") - def vm_ids(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "vm_ids") - - @property - @pulumi.getter(name="vmStates") - def vm_states(self) -> Sequence['outputs.GetVmStatesVmStateResult']: - """ - Information about one or more VM states. - """ - return pulumi.get(self, "vm_states") - - -class AwaitableGetVmStatesResult(GetVmStatesResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetVmStatesResult( - all_vms=self.all_vms, - filters=self.filters, - id=self.id, - request_id=self.request_id, - vm_ids=self.vm_ids, - vm_states=self.vm_states) - - -def get_vm_states(all_vms: Optional[bool] = None, - filters: Optional[Sequence[pulumi.InputType['GetVmStatesFilterArgs']]] = None, - vm_ids: Optional[Sequence[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVmStatesResult: - """ - Provides information about VM states. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Instance-Lifecycle.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readvmsstate). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - vm_states01 = outscale.get_vm_states(filters=[ - outscale.GetVmStatesFilterArgs( - name="vm_ids", - values=[ - "i-12345678", - "i-87654321", - ], - ), - outscale.GetVmStatesFilterArgs( - name="vm_states", - values=["running"], - ), - ]) - ``` - - - :param bool all_vms: If true, includes the status of all VMs. By default or if set to false, only includes the status of running VMs. - :param Sequence[pulumi.InputType['GetVmStatesFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param Sequence[str] vm_ids: One or more IDs of VMs. - """ - __args__ = dict() - __args__['allVms'] = all_vms - __args__['filters'] = filters - __args__['vmIds'] = vm_ids - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getVmStates:getVmStates', __args__, opts=opts, typ=GetVmStatesResult).value - - return AwaitableGetVmStatesResult( - all_vms=pulumi.get(__ret__, 'all_vms'), - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - request_id=pulumi.get(__ret__, 'request_id'), - vm_ids=pulumi.get(__ret__, 'vm_ids'), - vm_states=pulumi.get(__ret__, 'vm_states')) - - -@_utilities.lift_output_func(get_vm_states) -def get_vm_states_output(all_vms: Optional[pulumi.Input[Optional[bool]]] = None, - filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetVmStatesFilterArgs']]]]] = None, - vm_ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVmStatesResult]: - """ - Provides information about VM states. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Instance-Lifecycle.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readvmsstate). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - vm_states01 = outscale.get_vm_states(filters=[ - outscale.GetVmStatesFilterArgs( - name="vm_ids", - values=[ - "i-12345678", - "i-87654321", - ], - ), - outscale.GetVmStatesFilterArgs( - name="vm_states", - values=["running"], - ), - ]) - ``` - - - :param bool all_vms: If true, includes the status of all VMs. By default or if set to false, only includes the status of running VMs. - :param Sequence[pulumi.InputType['GetVmStatesFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param Sequence[str] vm_ids: One or more IDs of VMs. - """ - ... diff --git a/sdk/python/pulumi_outscale/get_vm_types.py b/sdk/python/pulumi_outscale/get_vm_types.py deleted file mode 100644 index 035c64e..0000000 --- a/sdk/python/pulumi_outscale/get_vm_types.py +++ /dev/null @@ -1,172 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetVmTypesResult', - 'AwaitableGetVmTypesResult', - 'get_vm_types', - 'get_vm_types_output', -] - -@pulumi.output_type -class GetVmTypesResult: - """ - A collection of values returned by getVmTypes. - """ - def __init__(__self__, filters=None, id=None, request_id=None, vm_types=None): - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if vm_types and not isinstance(vm_types, list): - raise TypeError("Expected argument 'vm_types' to be a list") - pulumi.set(__self__, "vm_types", vm_types) - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetVmTypesFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="vmTypes") - def vm_types(self) -> Sequence['outputs.GetVmTypesVmTypeResult']: - """ - Information about one or more VM types. - """ - return pulumi.get(self, "vm_types") - - -class AwaitableGetVmTypesResult(GetVmTypesResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetVmTypesResult( - filters=self.filters, - id=self.id, - request_id=self.request_id, - vm_types=self.vm_types) - - -def get_vm_types(filters: Optional[Sequence[pulumi.InputType['GetVmTypesFilterArgs']]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVmTypesResult: - """ - Provides information about VM types. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/Instance-Types.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readvmtypes). - - ## Example Usage - ### All types of VMs - ```python - import pulumi - import pulumi_outscale as outscale - - all_vm_types = outscale.get_vm_types() - ``` - ### VMs optimized for Block Storage Unit (BSU) - ```python - import pulumi - import pulumi_outscale as outscale - - vm_types01 = outscale.get_vm_types(filters=[outscale.GetVmTypesFilterArgs( - name="bsu_optimized", - values=["true"], - )]) - ``` - ### Specific VM type - ```python - import pulumi - import pulumi_outscale as outscale - - vm_types02 = outscale.get_vm_types(filters=[outscale.GetVmTypesFilterArgs( - name="vm_type_names", - values=["m3.large"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetVmTypesFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - __args__ = dict() - __args__['filters'] = filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getVmTypes:getVmTypes', __args__, opts=opts, typ=GetVmTypesResult).value - - return AwaitableGetVmTypesResult( - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - request_id=pulumi.get(__ret__, 'request_id'), - vm_types=pulumi.get(__ret__, 'vm_types')) - - -@_utilities.lift_output_func(get_vm_types) -def get_vm_types_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetVmTypesFilterArgs']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVmTypesResult]: - """ - Provides information about VM types. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/Instance-Types.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#readvmtypes). - - ## Example Usage - ### All types of VMs - ```python - import pulumi - import pulumi_outscale as outscale - - all_vm_types = outscale.get_vm_types() - ``` - ### VMs optimized for Block Storage Unit (BSU) - ```python - import pulumi - import pulumi_outscale as outscale - - vm_types01 = outscale.get_vm_types(filters=[outscale.GetVmTypesFilterArgs( - name="bsu_optimized", - values=["true"], - )]) - ``` - ### Specific VM type - ```python - import pulumi - import pulumi_outscale as outscale - - vm_types02 = outscale.get_vm_types(filters=[outscale.GetVmTypesFilterArgs( - name="vm_type_names", - values=["m3.large"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetVmTypesFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - ... diff --git a/sdk/python/pulumi_outscale/get_vms.py b/sdk/python/pulumi_outscale/get_vms.py deleted file mode 100644 index d31ce14..0000000 --- a/sdk/python/pulumi_outscale/get_vms.py +++ /dev/null @@ -1,156 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetVmsResult', - 'AwaitableGetVmsResult', - 'get_vms', - 'get_vms_output', -] - -@pulumi.output_type -class GetVmsResult: - """ - A collection of values returned by getVms. - """ - def __init__(__self__, filters=None, id=None, request_id=None, vms=None): - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if vms and not isinstance(vms, list): - raise TypeError("Expected argument 'vms' to be a list") - pulumi.set(__self__, "vms", vms) - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetVmsFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def vms(self) -> Sequence['outputs.GetVmsVmResult']: - """ - Information about one or more VMs. - """ - return pulumi.get(self, "vms") - - -class AwaitableGetVmsResult(GetVmsResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetVmsResult( - filters=self.filters, - id=self.id, - request_id=self.request_id, - vms=self.vms) - - -def get_vms(filters: Optional[Sequence[pulumi.InputType['GetVmsFilterArgs']]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVmsResult: - """ - Provides information about virtual machines (VMs). - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Instances.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-vm). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - vms01 = outscale.get_vms(filters=[ - outscale.GetVmsFilterArgs( - name="tag_keys", - values=["env"], - ), - outscale.GetVmsFilterArgs( - name="tag_values", - values=[ - "prod", - "test", - ], - ), - ]) - ``` - - - :param Sequence[pulumi.InputType['GetVmsFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - __args__ = dict() - __args__['filters'] = filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getVms:getVms', __args__, opts=opts, typ=GetVmsResult).value - - return AwaitableGetVmsResult( - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - request_id=pulumi.get(__ret__, 'request_id'), - vms=pulumi.get(__ret__, 'vms')) - - -@_utilities.lift_output_func(get_vms) -def get_vms_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetVmsFilterArgs']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVmsResult]: - """ - Provides information about virtual machines (VMs). - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Instances.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-vm). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - vms01 = outscale.get_vms(filters=[ - outscale.GetVmsFilterArgs( - name="tag_keys", - values=["env"], - ), - outscale.GetVmsFilterArgs( - name="tag_values", - values=[ - "prod", - "test", - ], - ), - ]) - ``` - - - :param Sequence[pulumi.InputType['GetVmsFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - """ - ... diff --git a/sdk/python/pulumi_outscale/get_volume.py b/sdk/python/pulumi_outscale/get_volume.py deleted file mode 100644 index 57d2ab6..0000000 --- a/sdk/python/pulumi_outscale/get_volume.py +++ /dev/null @@ -1,263 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetVolumeResult', - 'AwaitableGetVolumeResult', - 'get_volume', - 'get_volume_output', -] - -@pulumi.output_type -class GetVolumeResult: - """ - A collection of values returned by getVolume. - """ - def __init__(__self__, creation_date=None, filters=None, id=None, iops=None, linked_volumes=None, request_id=None, size=None, snapshot_id=None, state=None, subregion_name=None, tags=None, volume_id=None, volume_type=None): - if creation_date and not isinstance(creation_date, str): - raise TypeError("Expected argument 'creation_date' to be a str") - pulumi.set(__self__, "creation_date", creation_date) - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if iops and not isinstance(iops, int): - raise TypeError("Expected argument 'iops' to be a int") - pulumi.set(__self__, "iops", iops) - if linked_volumes and not isinstance(linked_volumes, list): - raise TypeError("Expected argument 'linked_volumes' to be a list") - pulumi.set(__self__, "linked_volumes", linked_volumes) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if size and not isinstance(size, int): - raise TypeError("Expected argument 'size' to be a int") - pulumi.set(__self__, "size", size) - if snapshot_id and not isinstance(snapshot_id, str): - raise TypeError("Expected argument 'snapshot_id' to be a str") - pulumi.set(__self__, "snapshot_id", snapshot_id) - if state and not isinstance(state, str): - raise TypeError("Expected argument 'state' to be a str") - pulumi.set(__self__, "state", state) - if subregion_name and not isinstance(subregion_name, str): - raise TypeError("Expected argument 'subregion_name' to be a str") - pulumi.set(__self__, "subregion_name", subregion_name) - if tags and not isinstance(tags, list): - raise TypeError("Expected argument 'tags' to be a list") - pulumi.set(__self__, "tags", tags) - if volume_id and not isinstance(volume_id, str): - raise TypeError("Expected argument 'volume_id' to be a str") - pulumi.set(__self__, "volume_id", volume_id) - if volume_type and not isinstance(volume_type, str): - raise TypeError("Expected argument 'volume_type' to be a str") - pulumi.set(__self__, "volume_type", volume_type) - - @property - @pulumi.getter(name="creationDate") - def creation_date(self) -> str: - """ - The date and time of creation of the volume. - """ - return pulumi.get(self, "creation_date") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetVolumeFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter - def iops(self) -> int: - """ - The number of I/O operations per second (IOPS):
- For `io1` volumes, the number of provisioned IOPS.
- For `gp2` volumes, the baseline performance of the volume. - """ - return pulumi.get(self, "iops") - - @property - @pulumi.getter(name="linkedVolumes") - def linked_volumes(self) -> Sequence['outputs.GetVolumeLinkedVolumeResult']: - """ - Information about your volume attachment. - """ - return pulumi.get(self, "linked_volumes") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def size(self) -> int: - """ - The size of the volume, in gibibytes (GiB). - """ - return pulumi.get(self, "size") - - @property - @pulumi.getter(name="snapshotId") - def snapshot_id(self) -> str: - """ - The snapshot from which the volume was created. - """ - return pulumi.get(self, "snapshot_id") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the volume (`creating` \\| `available` \\| `in-use` \\| `updating` \\| `deleting` \\| `error`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="subregionName") - def subregion_name(self) -> str: - """ - The Subregion in which the volume was created. - """ - return pulumi.get(self, "subregion_name") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetVolumeTagResult']: - """ - One or more tags associated with the volume. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter(name="volumeId") - def volume_id(self) -> Optional[str]: - """ - The ID of the volume. - """ - return pulumi.get(self, "volume_id") - - @property - @pulumi.getter(name="volumeType") - def volume_type(self) -> str: - """ - The type of the volume (`standard` \\| `gp2` \\| `io1`). - """ - return pulumi.get(self, "volume_type") - - -class AwaitableGetVolumeResult(GetVolumeResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetVolumeResult( - creation_date=self.creation_date, - filters=self.filters, - id=self.id, - iops=self.iops, - linked_volumes=self.linked_volumes, - request_id=self.request_id, - size=self.size, - snapshot_id=self.snapshot_id, - state=self.state, - subregion_name=self.subregion_name, - tags=self.tags, - volume_id=self.volume_id, - volume_type=self.volume_type) - - -def get_volume(filters: Optional[Sequence[pulumi.InputType['GetVolumeFilterArgs']]] = None, - request_id: Optional[str] = None, - volume_id: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVolumeResult: - """ - Provides information about a volume. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Volumes.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-volume). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - outscale_volume01 = outscale.get_volume(filters=[outscale.GetVolumeFilterArgs( - name="volume_ids", - values=["vol-12345678"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetVolumeFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param str volume_id: The ID of the volume. - """ - __args__ = dict() - __args__['filters'] = filters - __args__['requestId'] = request_id - __args__['volumeId'] = volume_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getVolume:getVolume', __args__, opts=opts, typ=GetVolumeResult).value - - return AwaitableGetVolumeResult( - creation_date=pulumi.get(__ret__, 'creation_date'), - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - iops=pulumi.get(__ret__, 'iops'), - linked_volumes=pulumi.get(__ret__, 'linked_volumes'), - request_id=pulumi.get(__ret__, 'request_id'), - size=pulumi.get(__ret__, 'size'), - snapshot_id=pulumi.get(__ret__, 'snapshot_id'), - state=pulumi.get(__ret__, 'state'), - subregion_name=pulumi.get(__ret__, 'subregion_name'), - tags=pulumi.get(__ret__, 'tags'), - volume_id=pulumi.get(__ret__, 'volume_id'), - volume_type=pulumi.get(__ret__, 'volume_type')) - - -@_utilities.lift_output_func(get_volume) -def get_volume_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetVolumeFilterArgs']]]]] = None, - request_id: Optional[pulumi.Input[Optional[str]]] = None, - volume_id: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVolumeResult]: - """ - Provides information about a volume. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Volumes.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-volume). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - outscale_volume01 = outscale.get_volume(filters=[outscale.GetVolumeFilterArgs( - name="volume_ids", - values=["vol-12345678"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetVolumeFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param str volume_id: The ID of the volume. - """ - ... diff --git a/sdk/python/pulumi_outscale/get_volumes.py b/sdk/python/pulumi_outscale/get_volumes.py deleted file mode 100644 index 0c5d402..0000000 --- a/sdk/python/pulumi_outscale/get_volumes.py +++ /dev/null @@ -1,177 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetVolumesResult', - 'AwaitableGetVolumesResult', - 'get_volumes', - 'get_volumes_output', -] - -@pulumi.output_type -class GetVolumesResult: - """ - A collection of values returned by getVolumes. - """ - def __init__(__self__, filters=None, id=None, request_id=None, volume_id=None, volumes=None): - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if volume_id and not isinstance(volume_id, str): - raise TypeError("Expected argument 'volume_id' to be a str") - pulumi.set(__self__, "volume_id", volume_id) - if volumes and not isinstance(volumes, list): - raise TypeError("Expected argument 'volumes' to be a list") - pulumi.set(__self__, "volumes", volumes) - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetVolumesFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="volumeId") - def volume_id(self) -> Optional[str]: - """ - The ID of the volume. - """ - return pulumi.get(self, "volume_id") - - @property - @pulumi.getter - def volumes(self) -> Sequence['outputs.GetVolumesVolumeResult']: - """ - Information about one or more volumes. - """ - return pulumi.get(self, "volumes") - - -class AwaitableGetVolumesResult(GetVolumesResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetVolumesResult( - filters=self.filters, - id=self.id, - request_id=self.request_id, - volume_id=self.volume_id, - volumes=self.volumes) - - -def get_volumes(filters: Optional[Sequence[pulumi.InputType['GetVolumesFilterArgs']]] = None, - request_id: Optional[str] = None, - volume_id: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVolumesResult: - """ - Provides information about volumes. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Volumes.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-volume). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - outscale_volumes01 = outscale.get_volumes(filters=[ - outscale.GetVolumesFilterArgs( - name="volume_states", - values=["in-use"], - ), - outscale.GetVolumesFilterArgs( - name="volume_types", - values=[ - "gp2", - "io1", - ], - ), - ]) - ``` - - - :param Sequence[pulumi.InputType['GetVolumesFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param str volume_id: The ID of the volume. - """ - __args__ = dict() - __args__['filters'] = filters - __args__['requestId'] = request_id - __args__['volumeId'] = volume_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getVolumes:getVolumes', __args__, opts=opts, typ=GetVolumesResult).value - - return AwaitableGetVolumesResult( - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - request_id=pulumi.get(__ret__, 'request_id'), - volume_id=pulumi.get(__ret__, 'volume_id'), - volumes=pulumi.get(__ret__, 'volumes')) - - -@_utilities.lift_output_func(get_volumes) -def get_volumes_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetVolumesFilterArgs']]]]] = None, - request_id: Optional[pulumi.Input[Optional[str]]] = None, - volume_id: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVolumesResult]: - """ - Provides information about volumes. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Volumes.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-volume). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - outscale_volumes01 = outscale.get_volumes(filters=[ - outscale.GetVolumesFilterArgs( - name="volume_states", - values=["in-use"], - ), - outscale.GetVolumesFilterArgs( - name="volume_types", - values=[ - "gp2", - "io1", - ], - ), - ]) - ``` - - - :param Sequence[pulumi.InputType['GetVolumesFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param str volume_id: The ID of the volume. - """ - ... diff --git a/sdk/python/pulumi_outscale/get_vpn_connection.py b/sdk/python/pulumi_outscale/get_vpn_connection.py deleted file mode 100644 index ccd1a55..0000000 --- a/sdk/python/pulumi_outscale/get_vpn_connection.py +++ /dev/null @@ -1,265 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetVpnConnectionResult', - 'AwaitableGetVpnConnectionResult', - 'get_vpn_connection', - 'get_vpn_connection_output', -] - -@pulumi.output_type -class GetVpnConnectionResult: - """ - A collection of values returned by getVpnConnection. - """ - def __init__(__self__, client_gateway_configuration=None, client_gateway_id=None, connection_type=None, filters=None, id=None, request_id=None, routes=None, state=None, static_routes_only=None, tags=None, vgw_telemetries=None, virtual_gateway_id=None, vpn_connection_id=None): - if client_gateway_configuration and not isinstance(client_gateway_configuration, str): - raise TypeError("Expected argument 'client_gateway_configuration' to be a str") - pulumi.set(__self__, "client_gateway_configuration", client_gateway_configuration) - if client_gateway_id and not isinstance(client_gateway_id, str): - raise TypeError("Expected argument 'client_gateway_id' to be a str") - pulumi.set(__self__, "client_gateway_id", client_gateway_id) - if connection_type and not isinstance(connection_type, str): - raise TypeError("Expected argument 'connection_type' to be a str") - pulumi.set(__self__, "connection_type", connection_type) - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if routes and not isinstance(routes, list): - raise TypeError("Expected argument 'routes' to be a list") - pulumi.set(__self__, "routes", routes) - if state and not isinstance(state, str): - raise TypeError("Expected argument 'state' to be a str") - pulumi.set(__self__, "state", state) - if static_routes_only and not isinstance(static_routes_only, bool): - raise TypeError("Expected argument 'static_routes_only' to be a bool") - pulumi.set(__self__, "static_routes_only", static_routes_only) - if tags and not isinstance(tags, list): - raise TypeError("Expected argument 'tags' to be a list") - pulumi.set(__self__, "tags", tags) - if vgw_telemetries and not isinstance(vgw_telemetries, list): - raise TypeError("Expected argument 'vgw_telemetries' to be a list") - pulumi.set(__self__, "vgw_telemetries", vgw_telemetries) - if virtual_gateway_id and not isinstance(virtual_gateway_id, str): - raise TypeError("Expected argument 'virtual_gateway_id' to be a str") - pulumi.set(__self__, "virtual_gateway_id", virtual_gateway_id) - if vpn_connection_id and not isinstance(vpn_connection_id, str): - raise TypeError("Expected argument 'vpn_connection_id' to be a str") - pulumi.set(__self__, "vpn_connection_id", vpn_connection_id) - - @property - @pulumi.getter(name="clientGatewayConfiguration") - def client_gateway_configuration(self) -> str: - """ - Example configuration for the client gateway. - """ - return pulumi.get(self, "client_gateway_configuration") - - @property - @pulumi.getter(name="clientGatewayId") - def client_gateway_id(self) -> str: - """ - The ID of the client gateway used on the client end of the connection. - """ - return pulumi.get(self, "client_gateway_id") - - @property - @pulumi.getter(name="connectionType") - def connection_type(self) -> str: - """ - The type of VPN connection (always `ipsec.1`). - """ - return pulumi.get(self, "connection_type") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetVpnConnectionFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def routes(self) -> Sequence['outputs.GetVpnConnectionRouteResult']: - """ - Information about one or more static routes associated with the VPN connection, if any. - """ - return pulumi.get(self, "routes") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the IPSEC tunnel (`UP` \\| `DOWN`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="staticRoutesOnly") - def static_routes_only(self) -> Optional[bool]: - """ - If false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see [CreateVpnConnectionRoute](https://docs.outscale.com/api#createvpnconnectionroute) and [DeleteVpnConnectionRoute](https://docs.outscale.com/api#deletevpnconnectionroute). - """ - return pulumi.get(self, "static_routes_only") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetVpnConnectionTagResult']: - """ - One or more tags associated with the VPN connection. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter(name="vgwTelemetries") - def vgw_telemetries(self) -> Sequence['outputs.GetVpnConnectionVgwTelemetryResult']: - """ - Information about the current state of one or more of the VPN tunnels. - """ - return pulumi.get(self, "vgw_telemetries") - - @property - @pulumi.getter(name="virtualGatewayId") - def virtual_gateway_id(self) -> str: - """ - The ID of the virtual gateway used on the OUTSCALE end of the connection. - """ - return pulumi.get(self, "virtual_gateway_id") - - @property - @pulumi.getter(name="vpnConnectionId") - def vpn_connection_id(self) -> Optional[str]: - """ - The ID of the VPN connection. - """ - return pulumi.get(self, "vpn_connection_id") - - -class AwaitableGetVpnConnectionResult(GetVpnConnectionResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetVpnConnectionResult( - client_gateway_configuration=self.client_gateway_configuration, - client_gateway_id=self.client_gateway_id, - connection_type=self.connection_type, - filters=self.filters, - id=self.id, - request_id=self.request_id, - routes=self.routes, - state=self.state, - static_routes_only=self.static_routes_only, - tags=self.tags, - vgw_telemetries=self.vgw_telemetries, - virtual_gateway_id=self.virtual_gateway_id, - vpn_connection_id=self.vpn_connection_id) - - -def get_vpn_connection(filters: Optional[Sequence[pulumi.InputType['GetVpnConnectionFilterArgs']]] = None, - static_routes_only: Optional[bool] = None, - vpn_connection_id: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVpnConnectionResult: - """ - Provides information about a VPN connection. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPN-Connections.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-vpnconnection). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - vpn_connection01 = outscale.get_vpn_connection(filters=[outscale.GetVpnConnectionFilterArgs( - name="vpn_connection_ids", - values=["vpn-12345678"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetVpnConnectionFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param bool static_routes_only: If false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see [CreateVpnConnectionRoute](https://docs.outscale.com/api#createvpnconnectionroute) and [DeleteVpnConnectionRoute](https://docs.outscale.com/api#deletevpnconnectionroute). - :param str vpn_connection_id: The ID of the VPN connection. - """ - __args__ = dict() - __args__['filters'] = filters - __args__['staticRoutesOnly'] = static_routes_only - __args__['vpnConnectionId'] = vpn_connection_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getVpnConnection:getVpnConnection', __args__, opts=opts, typ=GetVpnConnectionResult).value - - return AwaitableGetVpnConnectionResult( - client_gateway_configuration=pulumi.get(__ret__, 'client_gateway_configuration'), - client_gateway_id=pulumi.get(__ret__, 'client_gateway_id'), - connection_type=pulumi.get(__ret__, 'connection_type'), - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - request_id=pulumi.get(__ret__, 'request_id'), - routes=pulumi.get(__ret__, 'routes'), - state=pulumi.get(__ret__, 'state'), - static_routes_only=pulumi.get(__ret__, 'static_routes_only'), - tags=pulumi.get(__ret__, 'tags'), - vgw_telemetries=pulumi.get(__ret__, 'vgw_telemetries'), - virtual_gateway_id=pulumi.get(__ret__, 'virtual_gateway_id'), - vpn_connection_id=pulumi.get(__ret__, 'vpn_connection_id')) - - -@_utilities.lift_output_func(get_vpn_connection) -def get_vpn_connection_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetVpnConnectionFilterArgs']]]]] = None, - static_routes_only: Optional[pulumi.Input[Optional[bool]]] = None, - vpn_connection_id: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpnConnectionResult]: - """ - Provides information about a VPN connection. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPN-Connections.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-vpnconnection). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - vpn_connection01 = outscale.get_vpn_connection(filters=[outscale.GetVpnConnectionFilterArgs( - name="vpn_connection_ids", - values=["vpn-12345678"], - )]) - ``` - - - :param Sequence[pulumi.InputType['GetVpnConnectionFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param bool static_routes_only: If false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see [CreateVpnConnectionRoute](https://docs.outscale.com/api#createvpnconnectionroute) and [DeleteVpnConnectionRoute](https://docs.outscale.com/api#deletevpnconnectionroute). - :param str vpn_connection_id: The ID of the VPN connection. - """ - ... diff --git a/sdk/python/pulumi_outscale/get_vpn_connections.py b/sdk/python/pulumi_outscale/get_vpn_connections.py deleted file mode 100644 index 0e843c2..0000000 --- a/sdk/python/pulumi_outscale/get_vpn_connections.py +++ /dev/null @@ -1,171 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetVpnConnectionsResult', - 'AwaitableGetVpnConnectionsResult', - 'get_vpn_connections', - 'get_vpn_connections_output', -] - -@pulumi.output_type -class GetVpnConnectionsResult: - """ - A collection of values returned by getVpnConnections. - """ - def __init__(__self__, filters=None, id=None, request_id=None, vpn_connection_ids=None, vpn_connections=None): - if filters and not isinstance(filters, list): - raise TypeError("Expected argument 'filters' to be a list") - pulumi.set(__self__, "filters", filters) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if request_id and not isinstance(request_id, str): - raise TypeError("Expected argument 'request_id' to be a str") - pulumi.set(__self__, "request_id", request_id) - if vpn_connection_ids and not isinstance(vpn_connection_ids, list): - raise TypeError("Expected argument 'vpn_connection_ids' to be a list") - pulumi.set(__self__, "vpn_connection_ids", vpn_connection_ids) - if vpn_connections and not isinstance(vpn_connections, list): - raise TypeError("Expected argument 'vpn_connections' to be a list") - pulumi.set(__self__, "vpn_connections", vpn_connections) - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetVpnConnectionsFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter - def id(self) -> str: - """ - The provider-assigned unique ID for this managed resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="vpnConnectionIds") - def vpn_connection_ids(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "vpn_connection_ids") - - @property - @pulumi.getter(name="vpnConnections") - def vpn_connections(self) -> Sequence['outputs.GetVpnConnectionsVpnConnectionResult']: - """ - Information about one or more VPN connections. - """ - return pulumi.get(self, "vpn_connections") - - -class AwaitableGetVpnConnectionsResult(GetVpnConnectionsResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetVpnConnectionsResult( - filters=self.filters, - id=self.id, - request_id=self.request_id, - vpn_connection_ids=self.vpn_connection_ids, - vpn_connections=self.vpn_connections) - - -def get_vpn_connections(filters: Optional[Sequence[pulumi.InputType['GetVpnConnectionsFilterArgs']]] = None, - vpn_connection_ids: Optional[Sequence[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVpnConnectionsResult: - """ - Provides information about VPN connections. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPN-Connections.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-vpnconnection). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - vpn_connections01 = outscale.get_vpn_connections(filters=[ - outscale.GetVpnConnectionsFilterArgs( - name="client_gateway_ids", - values=["cgw-12345678"], - ), - outscale.GetVpnConnectionsFilterArgs( - name="virtual_gateway_ids", - values=[ - "vgw-12345678", - "vgw-12345678", - ], - ), - ]) - ``` - - - :param Sequence[pulumi.InputType['GetVpnConnectionsFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param Sequence[str] vpn_connection_ids: The IDs of the VPN connections. - """ - __args__ = dict() - __args__['filters'] = filters - __args__['vpnConnectionIds'] = vpn_connection_ids - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('outscale:index/getVpnConnections:getVpnConnections', __args__, opts=opts, typ=GetVpnConnectionsResult).value - - return AwaitableGetVpnConnectionsResult( - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - request_id=pulumi.get(__ret__, 'request_id'), - vpn_connection_ids=pulumi.get(__ret__, 'vpn_connection_ids'), - vpn_connections=pulumi.get(__ret__, 'vpn_connections')) - - -@_utilities.lift_output_func(get_vpn_connections) -def get_vpn_connections_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetVpnConnectionsFilterArgs']]]]] = None, - vpn_connection_ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpnConnectionsResult]: - """ - Provides information about VPN connections. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPN-Connections.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-vpnconnection). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - vpn_connections01 = outscale.get_vpn_connections(filters=[ - outscale.GetVpnConnectionsFilterArgs( - name="client_gateway_ids", - values=["cgw-12345678"], - ), - outscale.GetVpnConnectionsFilterArgs( - name="virtual_gateway_ids", - values=[ - "vgw-12345678", - "vgw-12345678", - ], - ), - ]) - ``` - - - :param Sequence[pulumi.InputType['GetVpnConnectionsFilterArgs']] filters: A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following: - :param Sequence[str] vpn_connection_ids: The IDs of the VPN connections. - """ - ... diff --git a/sdk/python/pulumi_outscale/image.py b/sdk/python/pulumi_outscale/image.py deleted file mode 100644 index 6dd51c6..0000000 --- a/sdk/python/pulumi_outscale/image.py +++ /dev/null @@ -1,1082 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['ImageArgs', 'Image'] - -@pulumi.input_type -class ImageArgs: - def __init__(__self__, *, - architecture: Optional[pulumi.Input[str]] = None, - block_device_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['ImageBlockDeviceMappingArgs']]]] = None, - description: Optional[pulumi.Input[str]] = None, - file_location: Optional[pulumi.Input[str]] = None, - image_name: Optional[pulumi.Input[str]] = None, - no_reboot: Optional[pulumi.Input[bool]] = None, - root_device_name: Optional[pulumi.Input[str]] = None, - source_image_id: Optional[pulumi.Input[str]] = None, - source_region_name: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['ImageTagArgs']]]] = None, - vm_id: Optional[pulumi.Input[str]] = None): - """ - The set of arguments for constructing a Image resource. - :param pulumi.Input[str] architecture: The architecture of the OMI (by default, `i386` if you specified the `file_location` or `root_device_name` parameter). - :param pulumi.Input[Sequence[pulumi.Input['ImageBlockDeviceMappingArgs']]] block_device_mappings: One or more block device mappings. - :param pulumi.Input[str] description: A description for the new OMI. - :param pulumi.Input[str] file_location: The pre-signed URL of the OMI manifest file, or the full path to the OMI stored in a bucket. If you specify this parameter, a copy of the OMI is created in your account. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - :param pulumi.Input[str] image_name: A unique name for the new OMI.
- Constraints: 3-128 alphanumeric characters, underscores (_), spaces ( ), parentheses (()), slashes (/), periods (.), or dashes (-). - :param pulumi.Input[bool] no_reboot: If false, the VM shuts down before creating the OMI and then reboots. If true, the VM does not. - :param pulumi.Input[str] root_device_name: The name of the root device. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - :param pulumi.Input[str] source_image_id: The ID of the OMI you want to copy. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - :param pulumi.Input[str] source_region_name: The name of the source Region, which must be the same as the Region of your account. - :param pulumi.Input[Sequence[pulumi.Input['ImageTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - :param pulumi.Input[str] vm_id: The ID of the VM from which you want to create the OMI. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - """ - if architecture is not None: - pulumi.set(__self__, "architecture", architecture) - if block_device_mappings is not None: - pulumi.set(__self__, "block_device_mappings", block_device_mappings) - if description is not None: - pulumi.set(__self__, "description", description) - if file_location is not None: - pulumi.set(__self__, "file_location", file_location) - if image_name is not None: - pulumi.set(__self__, "image_name", image_name) - if no_reboot is not None: - pulumi.set(__self__, "no_reboot", no_reboot) - if root_device_name is not None: - pulumi.set(__self__, "root_device_name", root_device_name) - if source_image_id is not None: - pulumi.set(__self__, "source_image_id", source_image_id) - if source_region_name is not None: - pulumi.set(__self__, "source_region_name", source_region_name) - if tags is not None: - pulumi.set(__self__, "tags", tags) - if vm_id is not None: - pulumi.set(__self__, "vm_id", vm_id) - - @property - @pulumi.getter - def architecture(self) -> Optional[pulumi.Input[str]]: - """ - The architecture of the OMI (by default, `i386` if you specified the `file_location` or `root_device_name` parameter). - """ - return pulumi.get(self, "architecture") - - @architecture.setter - def architecture(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "architecture", value) - - @property - @pulumi.getter(name="blockDeviceMappings") - def block_device_mappings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ImageBlockDeviceMappingArgs']]]]: - """ - One or more block device mappings. - """ - return pulumi.get(self, "block_device_mappings") - - @block_device_mappings.setter - def block_device_mappings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ImageBlockDeviceMappingArgs']]]]): - pulumi.set(self, "block_device_mappings", value) - - @property - @pulumi.getter - def description(self) -> Optional[pulumi.Input[str]]: - """ - A description for the new OMI. - """ - return pulumi.get(self, "description") - - @description.setter - def description(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "description", value) - - @property - @pulumi.getter(name="fileLocation") - def file_location(self) -> Optional[pulumi.Input[str]]: - """ - The pre-signed URL of the OMI manifest file, or the full path to the OMI stored in a bucket. If you specify this parameter, a copy of the OMI is created in your account. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - """ - return pulumi.get(self, "file_location") - - @file_location.setter - def file_location(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "file_location", value) - - @property - @pulumi.getter(name="imageName") - def image_name(self) -> Optional[pulumi.Input[str]]: - """ - A unique name for the new OMI.
- Constraints: 3-128 alphanumeric characters, underscores (_), spaces ( ), parentheses (()), slashes (/), periods (.), or dashes (-). - """ - return pulumi.get(self, "image_name") - - @image_name.setter - def image_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "image_name", value) - - @property - @pulumi.getter(name="noReboot") - def no_reboot(self) -> Optional[pulumi.Input[bool]]: - """ - If false, the VM shuts down before creating the OMI and then reboots. If true, the VM does not. - """ - return pulumi.get(self, "no_reboot") - - @no_reboot.setter - def no_reboot(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "no_reboot", value) - - @property - @pulumi.getter(name="rootDeviceName") - def root_device_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the root device. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - """ - return pulumi.get(self, "root_device_name") - - @root_device_name.setter - def root_device_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "root_device_name", value) - - @property - @pulumi.getter(name="sourceImageId") - def source_image_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the OMI you want to copy. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - """ - return pulumi.get(self, "source_image_id") - - @source_image_id.setter - def source_image_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "source_image_id", value) - - @property - @pulumi.getter(name="sourceRegionName") - def source_region_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the source Region, which must be the same as the Region of your account. - """ - return pulumi.get(self, "source_region_name") - - @source_region_name.setter - def source_region_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "source_region_name", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ImageTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ImageTagArgs']]]]): - pulumi.set(self, "tags", value) - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the VM from which you want to create the OMI. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - """ - return pulumi.get(self, "vm_id") - - @vm_id.setter - def vm_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "vm_id", value) - - -@pulumi.input_type -class _ImageState: - def __init__(__self__, *, - account_alias: Optional[pulumi.Input[str]] = None, - account_id: Optional[pulumi.Input[str]] = None, - architecture: Optional[pulumi.Input[str]] = None, - block_device_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['ImageBlockDeviceMappingArgs']]]] = None, - creation_date: Optional[pulumi.Input[str]] = None, - description: Optional[pulumi.Input[str]] = None, - file_location: Optional[pulumi.Input[str]] = None, - image_id: Optional[pulumi.Input[str]] = None, - image_name: Optional[pulumi.Input[str]] = None, - image_type: Optional[pulumi.Input[str]] = None, - is_public: Optional[pulumi.Input[bool]] = None, - no_reboot: Optional[pulumi.Input[bool]] = None, - permissions_to_launches: Optional[pulumi.Input[Sequence[pulumi.Input['ImagePermissionsToLaunchArgs']]]] = None, - product_codes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - request_id: Optional[pulumi.Input[str]] = None, - root_device_name: Optional[pulumi.Input[str]] = None, - root_device_type: Optional[pulumi.Input[str]] = None, - source_image_id: Optional[pulumi.Input[str]] = None, - source_region_name: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - state_comments: Optional[pulumi.Input[Sequence[pulumi.Input['ImageStateCommentArgs']]]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['ImageTagArgs']]]] = None, - vm_id: Optional[pulumi.Input[str]] = None): - """ - Input properties used for looking up and filtering Image resources. - :param pulumi.Input[str] account_alias: The account alias of the owner of the OMI. - :param pulumi.Input[str] account_id: The account ID of the owner of the OMI. - :param pulumi.Input[str] architecture: The architecture of the OMI (by default, `i386` if you specified the `file_location` or `root_device_name` parameter). - :param pulumi.Input[Sequence[pulumi.Input['ImageBlockDeviceMappingArgs']]] block_device_mappings: One or more block device mappings. - :param pulumi.Input[str] creation_date: The date and time of creation of the OMI, in ISO 8601 date-time format. - :param pulumi.Input[str] description: A description for the new OMI. - :param pulumi.Input[str] file_location: The pre-signed URL of the OMI manifest file, or the full path to the OMI stored in a bucket. If you specify this parameter, a copy of the OMI is created in your account. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - :param pulumi.Input[str] image_id: The ID of the OMI. - :param pulumi.Input[str] image_name: A unique name for the new OMI.
- Constraints: 3-128 alphanumeric characters, underscores (_), spaces ( ), parentheses (()), slashes (/), periods (.), or dashes (-). - :param pulumi.Input[str] image_type: The type of the OMI. - :param pulumi.Input[bool] no_reboot: If false, the VM shuts down before creating the OMI and then reboots. If true, the VM does not. - :param pulumi.Input[Sequence[pulumi.Input['ImagePermissionsToLaunchArgs']]] permissions_to_launches: Permissions for the resource. - :param pulumi.Input[Sequence[pulumi.Input[str]]] product_codes: The product codes associated with the OMI. - :param pulumi.Input[str] root_device_name: The name of the root device. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - :param pulumi.Input[str] root_device_type: The type of root device used by the OMI (always `bsu`). - :param pulumi.Input[str] source_image_id: The ID of the OMI you want to copy. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - :param pulumi.Input[str] source_region_name: The name of the source Region, which must be the same as the Region of your account. - :param pulumi.Input[str] state: The state of the OMI (`pending` \\| `available` \\| `failed`). - :param pulumi.Input[Sequence[pulumi.Input['ImageStateCommentArgs']]] state_comments: Information about the change of state. - :param pulumi.Input[Sequence[pulumi.Input['ImageTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - :param pulumi.Input[str] vm_id: The ID of the VM from which you want to create the OMI. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - """ - if account_alias is not None: - pulumi.set(__self__, "account_alias", account_alias) - if account_id is not None: - pulumi.set(__self__, "account_id", account_id) - if architecture is not None: - pulumi.set(__self__, "architecture", architecture) - if block_device_mappings is not None: - pulumi.set(__self__, "block_device_mappings", block_device_mappings) - if creation_date is not None: - pulumi.set(__self__, "creation_date", creation_date) - if description is not None: - pulumi.set(__self__, "description", description) - if file_location is not None: - pulumi.set(__self__, "file_location", file_location) - if image_id is not None: - pulumi.set(__self__, "image_id", image_id) - if image_name is not None: - pulumi.set(__self__, "image_name", image_name) - if image_type is not None: - pulumi.set(__self__, "image_type", image_type) - if is_public is not None: - pulumi.set(__self__, "is_public", is_public) - if no_reboot is not None: - pulumi.set(__self__, "no_reboot", no_reboot) - if permissions_to_launches is not None: - pulumi.set(__self__, "permissions_to_launches", permissions_to_launches) - if product_codes is not None: - pulumi.set(__self__, "product_codes", product_codes) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if root_device_name is not None: - pulumi.set(__self__, "root_device_name", root_device_name) - if root_device_type is not None: - pulumi.set(__self__, "root_device_type", root_device_type) - if source_image_id is not None: - pulumi.set(__self__, "source_image_id", source_image_id) - if source_region_name is not None: - pulumi.set(__self__, "source_region_name", source_region_name) - if state is not None: - pulumi.set(__self__, "state", state) - if state_comments is not None: - pulumi.set(__self__, "state_comments", state_comments) - if tags is not None: - pulumi.set(__self__, "tags", tags) - if vm_id is not None: - pulumi.set(__self__, "vm_id", vm_id) - - @property - @pulumi.getter(name="accountAlias") - def account_alias(self) -> Optional[pulumi.Input[str]]: - """ - The account alias of the owner of the OMI. - """ - return pulumi.get(self, "account_alias") - - @account_alias.setter - def account_alias(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "account_alias", value) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> Optional[pulumi.Input[str]]: - """ - The account ID of the owner of the OMI. - """ - return pulumi.get(self, "account_id") - - @account_id.setter - def account_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "account_id", value) - - @property - @pulumi.getter - def architecture(self) -> Optional[pulumi.Input[str]]: - """ - The architecture of the OMI (by default, `i386` if you specified the `file_location` or `root_device_name` parameter). - """ - return pulumi.get(self, "architecture") - - @architecture.setter - def architecture(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "architecture", value) - - @property - @pulumi.getter(name="blockDeviceMappings") - def block_device_mappings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ImageBlockDeviceMappingArgs']]]]: - """ - One or more block device mappings. - """ - return pulumi.get(self, "block_device_mappings") - - @block_device_mappings.setter - def block_device_mappings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ImageBlockDeviceMappingArgs']]]]): - pulumi.set(self, "block_device_mappings", value) - - @property - @pulumi.getter(name="creationDate") - def creation_date(self) -> Optional[pulumi.Input[str]]: - """ - The date and time of creation of the OMI, in ISO 8601 date-time format. - """ - return pulumi.get(self, "creation_date") - - @creation_date.setter - def creation_date(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "creation_date", value) - - @property - @pulumi.getter - def description(self) -> Optional[pulumi.Input[str]]: - """ - A description for the new OMI. - """ - return pulumi.get(self, "description") - - @description.setter - def description(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "description", value) - - @property - @pulumi.getter(name="fileLocation") - def file_location(self) -> Optional[pulumi.Input[str]]: - """ - The pre-signed URL of the OMI manifest file, or the full path to the OMI stored in a bucket. If you specify this parameter, a copy of the OMI is created in your account. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - """ - return pulumi.get(self, "file_location") - - @file_location.setter - def file_location(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "file_location", value) - - @property - @pulumi.getter(name="imageId") - def image_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the OMI. - """ - return pulumi.get(self, "image_id") - - @image_id.setter - def image_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "image_id", value) - - @property - @pulumi.getter(name="imageName") - def image_name(self) -> Optional[pulumi.Input[str]]: - """ - A unique name for the new OMI.
- Constraints: 3-128 alphanumeric characters, underscores (_), spaces ( ), parentheses (()), slashes (/), periods (.), or dashes (-). - """ - return pulumi.get(self, "image_name") - - @image_name.setter - def image_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "image_name", value) - - @property - @pulumi.getter(name="imageType") - def image_type(self) -> Optional[pulumi.Input[str]]: - """ - The type of the OMI. - """ - return pulumi.get(self, "image_type") - - @image_type.setter - def image_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "image_type", value) - - @property - @pulumi.getter(name="isPublic") - def is_public(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "is_public") - - @is_public.setter - def is_public(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "is_public", value) - - @property - @pulumi.getter(name="noReboot") - def no_reboot(self) -> Optional[pulumi.Input[bool]]: - """ - If false, the VM shuts down before creating the OMI and then reboots. If true, the VM does not. - """ - return pulumi.get(self, "no_reboot") - - @no_reboot.setter - def no_reboot(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "no_reboot", value) - - @property - @pulumi.getter(name="permissionsToLaunches") - def permissions_to_launches(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ImagePermissionsToLaunchArgs']]]]: - """ - Permissions for the resource. - """ - return pulumi.get(self, "permissions_to_launches") - - @permissions_to_launches.setter - def permissions_to_launches(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ImagePermissionsToLaunchArgs']]]]): - pulumi.set(self, "permissions_to_launches", value) - - @property - @pulumi.getter(name="productCodes") - def product_codes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - The product codes associated with the OMI. - """ - return pulumi.get(self, "product_codes") - - @product_codes.setter - def product_codes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "product_codes", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter(name="rootDeviceName") - def root_device_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the root device. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - """ - return pulumi.get(self, "root_device_name") - - @root_device_name.setter - def root_device_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "root_device_name", value) - - @property - @pulumi.getter(name="rootDeviceType") - def root_device_type(self) -> Optional[pulumi.Input[str]]: - """ - The type of root device used by the OMI (always `bsu`). - """ - return pulumi.get(self, "root_device_type") - - @root_device_type.setter - def root_device_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "root_device_type", value) - - @property - @pulumi.getter(name="sourceImageId") - def source_image_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the OMI you want to copy. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - """ - return pulumi.get(self, "source_image_id") - - @source_image_id.setter - def source_image_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "source_image_id", value) - - @property - @pulumi.getter(name="sourceRegionName") - def source_region_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the source Region, which must be the same as the Region of your account. - """ - return pulumi.get(self, "source_region_name") - - @source_region_name.setter - def source_region_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "source_region_name", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - The state of the OMI (`pending` \\| `available` \\| `failed`). - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - @property - @pulumi.getter(name="stateComments") - def state_comments(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ImageStateCommentArgs']]]]: - """ - Information about the change of state. - """ - return pulumi.get(self, "state_comments") - - @state_comments.setter - def state_comments(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ImageStateCommentArgs']]]]): - pulumi.set(self, "state_comments", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ImageTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ImageTagArgs']]]]): - pulumi.set(self, "tags", value) - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the VM from which you want to create the OMI. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - """ - return pulumi.get(self, "vm_id") - - @vm_id.setter - def vm_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "vm_id", value) - - -class Image(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - architecture: Optional[pulumi.Input[str]] = None, - block_device_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ImageBlockDeviceMappingArgs']]]]] = None, - description: Optional[pulumi.Input[str]] = None, - file_location: Optional[pulumi.Input[str]] = None, - image_name: Optional[pulumi.Input[str]] = None, - no_reboot: Optional[pulumi.Input[bool]] = None, - root_device_name: Optional[pulumi.Input[str]] = None, - source_image_id: Optional[pulumi.Input[str]] = None, - source_region_name: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ImageTagArgs']]]]] = None, - vm_id: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - Manages an image. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-OMIs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-image). - - ## Example Usage - ### Create an image - - ```python - import pulumi - import pulumi_outscale as outscale - - image01 = outscale.Image("image01", - image_name="terraform-omi-create", - vm_id=var["vm_id"], - no_reboot=True) - ``` - ### Import an image - > **Important** Make sure the manifest file is still valid. - - ```python - import pulumi - import pulumi_outscale as outscale - - image02 = outscale.Image("image02", - description="Terraform register OMI", - file_location="", - image_name="terraform-omi-register") - ``` - ### Copy an image - - ```python - import pulumi - import pulumi_outscale as outscale - - image03 = outscale.Image("image03", - description="Terraform copy OMI", - image_name="terraform-omi-copy", - source_image_id="ami-12345678", - source_region_name="eu-west-2") - ``` - ### Create an image with a Block Storage Unit (BSU) volume - - ```python - import pulumi - import pulumi_outscale as outscale - - image04 = outscale.Image("image04", - block_device_mappings=[outscale.ImageBlockDeviceMappingArgs( - bsus=[outscale.ImageBlockDeviceMappingBsusArgs( - delete_on_vm_deletion=True, - iops=150, - snapshot_id="snap-12345678", - volume_size=120, - volume_type="io1", - )], - device_name="/dev/sda1", - )], - description="Terraform OMI with BSU", - image_name="terraform-omi-bsu", - root_device_name="/dev/sda1") - ``` - - ## Import - - An image can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/image:Image ImportedImage ami-12345678 - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] architecture: The architecture of the OMI (by default, `i386` if you specified the `file_location` or `root_device_name` parameter). - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ImageBlockDeviceMappingArgs']]]] block_device_mappings: One or more block device mappings. - :param pulumi.Input[str] description: A description for the new OMI. - :param pulumi.Input[str] file_location: The pre-signed URL of the OMI manifest file, or the full path to the OMI stored in a bucket. If you specify this parameter, a copy of the OMI is created in your account. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - :param pulumi.Input[str] image_name: A unique name for the new OMI.
- Constraints: 3-128 alphanumeric characters, underscores (_), spaces ( ), parentheses (()), slashes (/), periods (.), or dashes (-). - :param pulumi.Input[bool] no_reboot: If false, the VM shuts down before creating the OMI and then reboots. If true, the VM does not. - :param pulumi.Input[str] root_device_name: The name of the root device. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - :param pulumi.Input[str] source_image_id: The ID of the OMI you want to copy. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - :param pulumi.Input[str] source_region_name: The name of the source Region, which must be the same as the Region of your account. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ImageTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - :param pulumi.Input[str] vm_id: The ID of the VM from which you want to create the OMI. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: Optional[ImageArgs] = None, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages an image. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-OMIs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-image). - - ## Example Usage - ### Create an image - - ```python - import pulumi - import pulumi_outscale as outscale - - image01 = outscale.Image("image01", - image_name="terraform-omi-create", - vm_id=var["vm_id"], - no_reboot=True) - ``` - ### Import an image - > **Important** Make sure the manifest file is still valid. - - ```python - import pulumi - import pulumi_outscale as outscale - - image02 = outscale.Image("image02", - description="Terraform register OMI", - file_location="", - image_name="terraform-omi-register") - ``` - ### Copy an image - - ```python - import pulumi - import pulumi_outscale as outscale - - image03 = outscale.Image("image03", - description="Terraform copy OMI", - image_name="terraform-omi-copy", - source_image_id="ami-12345678", - source_region_name="eu-west-2") - ``` - ### Create an image with a Block Storage Unit (BSU) volume - - ```python - import pulumi - import pulumi_outscale as outscale - - image04 = outscale.Image("image04", - block_device_mappings=[outscale.ImageBlockDeviceMappingArgs( - bsus=[outscale.ImageBlockDeviceMappingBsusArgs( - delete_on_vm_deletion=True, - iops=150, - snapshot_id="snap-12345678", - volume_size=120, - volume_type="io1", - )], - device_name="/dev/sda1", - )], - description="Terraform OMI with BSU", - image_name="terraform-omi-bsu", - root_device_name="/dev/sda1") - ``` - - ## Import - - An image can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/image:Image ImportedImage ami-12345678 - ``` - - :param str resource_name: The name of the resource. - :param ImageArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(ImageArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - architecture: Optional[pulumi.Input[str]] = None, - block_device_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ImageBlockDeviceMappingArgs']]]]] = None, - description: Optional[pulumi.Input[str]] = None, - file_location: Optional[pulumi.Input[str]] = None, - image_name: Optional[pulumi.Input[str]] = None, - no_reboot: Optional[pulumi.Input[bool]] = None, - root_device_name: Optional[pulumi.Input[str]] = None, - source_image_id: Optional[pulumi.Input[str]] = None, - source_region_name: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ImageTagArgs']]]]] = None, - vm_id: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = ImageArgs.__new__(ImageArgs) - - __props__.__dict__["architecture"] = architecture - __props__.__dict__["block_device_mappings"] = block_device_mappings - __props__.__dict__["description"] = description - __props__.__dict__["file_location"] = file_location - __props__.__dict__["image_name"] = image_name - __props__.__dict__["no_reboot"] = no_reboot - __props__.__dict__["root_device_name"] = root_device_name - __props__.__dict__["source_image_id"] = source_image_id - __props__.__dict__["source_region_name"] = source_region_name - __props__.__dict__["tags"] = tags - __props__.__dict__["vm_id"] = vm_id - __props__.__dict__["account_alias"] = None - __props__.__dict__["account_id"] = None - __props__.__dict__["creation_date"] = None - __props__.__dict__["image_id"] = None - __props__.__dict__["image_type"] = None - __props__.__dict__["is_public"] = None - __props__.__dict__["permissions_to_launches"] = None - __props__.__dict__["product_codes"] = None - __props__.__dict__["request_id"] = None - __props__.__dict__["root_device_type"] = None - __props__.__dict__["state"] = None - __props__.__dict__["state_comments"] = None - super(Image, __self__).__init__( - 'outscale:index/image:Image', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - account_alias: Optional[pulumi.Input[str]] = None, - account_id: Optional[pulumi.Input[str]] = None, - architecture: Optional[pulumi.Input[str]] = None, - block_device_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ImageBlockDeviceMappingArgs']]]]] = None, - creation_date: Optional[pulumi.Input[str]] = None, - description: Optional[pulumi.Input[str]] = None, - file_location: Optional[pulumi.Input[str]] = None, - image_id: Optional[pulumi.Input[str]] = None, - image_name: Optional[pulumi.Input[str]] = None, - image_type: Optional[pulumi.Input[str]] = None, - is_public: Optional[pulumi.Input[bool]] = None, - no_reboot: Optional[pulumi.Input[bool]] = None, - permissions_to_launches: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ImagePermissionsToLaunchArgs']]]]] = None, - product_codes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - request_id: Optional[pulumi.Input[str]] = None, - root_device_name: Optional[pulumi.Input[str]] = None, - root_device_type: Optional[pulumi.Input[str]] = None, - source_image_id: Optional[pulumi.Input[str]] = None, - source_region_name: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - state_comments: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ImageStateCommentArgs']]]]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ImageTagArgs']]]]] = None, - vm_id: Optional[pulumi.Input[str]] = None) -> 'Image': - """ - Get an existing Image resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] account_alias: The account alias of the owner of the OMI. - :param pulumi.Input[str] account_id: The account ID of the owner of the OMI. - :param pulumi.Input[str] architecture: The architecture of the OMI (by default, `i386` if you specified the `file_location` or `root_device_name` parameter). - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ImageBlockDeviceMappingArgs']]]] block_device_mappings: One or more block device mappings. - :param pulumi.Input[str] creation_date: The date and time of creation of the OMI, in ISO 8601 date-time format. - :param pulumi.Input[str] description: A description for the new OMI. - :param pulumi.Input[str] file_location: The pre-signed URL of the OMI manifest file, or the full path to the OMI stored in a bucket. If you specify this parameter, a copy of the OMI is created in your account. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - :param pulumi.Input[str] image_id: The ID of the OMI. - :param pulumi.Input[str] image_name: A unique name for the new OMI.
- Constraints: 3-128 alphanumeric characters, underscores (_), spaces ( ), parentheses (()), slashes (/), periods (.), or dashes (-). - :param pulumi.Input[str] image_type: The type of the OMI. - :param pulumi.Input[bool] no_reboot: If false, the VM shuts down before creating the OMI and then reboots. If true, the VM does not. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ImagePermissionsToLaunchArgs']]]] permissions_to_launches: Permissions for the resource. - :param pulumi.Input[Sequence[pulumi.Input[str]]] product_codes: The product codes associated with the OMI. - :param pulumi.Input[str] root_device_name: The name of the root device. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - :param pulumi.Input[str] root_device_type: The type of root device used by the OMI (always `bsu`). - :param pulumi.Input[str] source_image_id: The ID of the OMI you want to copy. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - :param pulumi.Input[str] source_region_name: The name of the source Region, which must be the same as the Region of your account. - :param pulumi.Input[str] state: The state of the OMI (`pending` \\| `available` \\| `failed`). - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ImageStateCommentArgs']]]] state_comments: Information about the change of state. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ImageTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - :param pulumi.Input[str] vm_id: The ID of the VM from which you want to create the OMI. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _ImageState.__new__(_ImageState) - - __props__.__dict__["account_alias"] = account_alias - __props__.__dict__["account_id"] = account_id - __props__.__dict__["architecture"] = architecture - __props__.__dict__["block_device_mappings"] = block_device_mappings - __props__.__dict__["creation_date"] = creation_date - __props__.__dict__["description"] = description - __props__.__dict__["file_location"] = file_location - __props__.__dict__["image_id"] = image_id - __props__.__dict__["image_name"] = image_name - __props__.__dict__["image_type"] = image_type - __props__.__dict__["is_public"] = is_public - __props__.__dict__["no_reboot"] = no_reboot - __props__.__dict__["permissions_to_launches"] = permissions_to_launches - __props__.__dict__["product_codes"] = product_codes - __props__.__dict__["request_id"] = request_id - __props__.__dict__["root_device_name"] = root_device_name - __props__.__dict__["root_device_type"] = root_device_type - __props__.__dict__["source_image_id"] = source_image_id - __props__.__dict__["source_region_name"] = source_region_name - __props__.__dict__["state"] = state - __props__.__dict__["state_comments"] = state_comments - __props__.__dict__["tags"] = tags - __props__.__dict__["vm_id"] = vm_id - return Image(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="accountAlias") - def account_alias(self) -> pulumi.Output[str]: - """ - The account alias of the owner of the OMI. - """ - return pulumi.get(self, "account_alias") - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> pulumi.Output[str]: - """ - The account ID of the owner of the OMI. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter - def architecture(self) -> pulumi.Output[str]: - """ - The architecture of the OMI (by default, `i386` if you specified the `file_location` or `root_device_name` parameter). - """ - return pulumi.get(self, "architecture") - - @property - @pulumi.getter(name="blockDeviceMappings") - def block_device_mappings(self) -> pulumi.Output[Sequence['outputs.ImageBlockDeviceMapping']]: - """ - One or more block device mappings. - """ - return pulumi.get(self, "block_device_mappings") - - @property - @pulumi.getter(name="creationDate") - def creation_date(self) -> pulumi.Output[str]: - """ - The date and time of creation of the OMI, in ISO 8601 date-time format. - """ - return pulumi.get(self, "creation_date") - - @property - @pulumi.getter - def description(self) -> pulumi.Output[str]: - """ - A description for the new OMI. - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter(name="fileLocation") - def file_location(self) -> pulumi.Output[str]: - """ - The pre-signed URL of the OMI manifest file, or the full path to the OMI stored in a bucket. If you specify this parameter, a copy of the OMI is created in your account. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - """ - return pulumi.get(self, "file_location") - - @property - @pulumi.getter(name="imageId") - def image_id(self) -> pulumi.Output[str]: - """ - The ID of the OMI. - """ - return pulumi.get(self, "image_id") - - @property - @pulumi.getter(name="imageName") - def image_name(self) -> pulumi.Output[str]: - """ - A unique name for the new OMI.
- Constraints: 3-128 alphanumeric characters, underscores (_), spaces ( ), parentheses (()), slashes (/), periods (.), or dashes (-). - """ - return pulumi.get(self, "image_name") - - @property - @pulumi.getter(name="imageType") - def image_type(self) -> pulumi.Output[str]: - """ - The type of the OMI. - """ - return pulumi.get(self, "image_type") - - @property - @pulumi.getter(name="isPublic") - def is_public(self) -> pulumi.Output[bool]: - return pulumi.get(self, "is_public") - - @property - @pulumi.getter(name="noReboot") - def no_reboot(self) -> pulumi.Output[bool]: - """ - If false, the VM shuts down before creating the OMI and then reboots. If true, the VM does not. - """ - return pulumi.get(self, "no_reboot") - - @property - @pulumi.getter(name="permissionsToLaunches") - def permissions_to_launches(self) -> pulumi.Output[Sequence['outputs.ImagePermissionsToLaunch']]: - """ - Permissions for the resource. - """ - return pulumi.get(self, "permissions_to_launches") - - @property - @pulumi.getter(name="productCodes") - def product_codes(self) -> pulumi.Output[Sequence[str]]: - """ - The product codes associated with the OMI. - """ - return pulumi.get(self, "product_codes") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="rootDeviceName") - def root_device_name(self) -> pulumi.Output[str]: - """ - The name of the root device. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - """ - return pulumi.get(self, "root_device_name") - - @property - @pulumi.getter(name="rootDeviceType") - def root_device_type(self) -> pulumi.Output[str]: - """ - The type of root device used by the OMI (always `bsu`). - """ - return pulumi.get(self, "root_device_type") - - @property - @pulumi.getter(name="sourceImageId") - def source_image_id(self) -> pulumi.Output[str]: - """ - The ID of the OMI you want to copy. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - """ - return pulumi.get(self, "source_image_id") - - @property - @pulumi.getter(name="sourceRegionName") - def source_region_name(self) -> pulumi.Output[Optional[str]]: - """ - The name of the source Region, which must be the same as the Region of your account. - """ - return pulumi.get(self, "source_region_name") - - @property - @pulumi.getter - def state(self) -> pulumi.Output[str]: - """ - The state of the OMI (`pending` \\| `available` \\| `failed`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="stateComments") - def state_comments(self) -> pulumi.Output[Sequence['outputs.ImageStateComment']]: - """ - Information about the change of state. - """ - return pulumi.get(self, "state_comments") - - @property - @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Sequence['outputs.ImageTag']]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> pulumi.Output[str]: - """ - The ID of the VM from which you want to create the OMI. You must specify only one of the following parameters: `file_location`, `root_device_name`, `source_image_id` or `vm_id`. - """ - return pulumi.get(self, "vm_id") - diff --git a/sdk/python/pulumi_outscale/image_export_task.py b/sdk/python/pulumi_outscale/image_export_task.py deleted file mode 100644 index 57a65e0..0000000 --- a/sdk/python/pulumi_outscale/image_export_task.py +++ /dev/null @@ -1,449 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['ImageExportTaskArgs', 'ImageExportTask'] - -@pulumi.input_type -class ImageExportTaskArgs: - def __init__(__self__, *, - image_id: pulumi.Input[str], - osu_exports: pulumi.Input[Sequence[pulumi.Input['ImageExportTaskOsuExportArgs']]], - tags: Optional[pulumi.Input[Sequence[pulumi.Input['ImageExportTaskTagArgs']]]] = None): - """ - The set of arguments for constructing a ImageExportTask resource. - :param pulumi.Input[str] image_id: The ID of the OMI to export. - :param pulumi.Input[Sequence[pulumi.Input['ImageExportTaskOsuExportArgs']]] osu_exports: Information about the OOS export task to create. - :param pulumi.Input[Sequence[pulumi.Input['ImageExportTaskTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - """ - pulumi.set(__self__, "image_id", image_id) - pulumi.set(__self__, "osu_exports", osu_exports) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="imageId") - def image_id(self) -> pulumi.Input[str]: - """ - The ID of the OMI to export. - """ - return pulumi.get(self, "image_id") - - @image_id.setter - def image_id(self, value: pulumi.Input[str]): - pulumi.set(self, "image_id", value) - - @property - @pulumi.getter(name="osuExports") - def osu_exports(self) -> pulumi.Input[Sequence[pulumi.Input['ImageExportTaskOsuExportArgs']]]: - """ - Information about the OOS export task to create. - """ - return pulumi.get(self, "osu_exports") - - @osu_exports.setter - def osu_exports(self, value: pulumi.Input[Sequence[pulumi.Input['ImageExportTaskOsuExportArgs']]]): - pulumi.set(self, "osu_exports", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ImageExportTaskTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ImageExportTaskTagArgs']]]]): - pulumi.set(self, "tags", value) - - -@pulumi.input_type -class _ImageExportTaskState: - def __init__(__self__, *, - comment: Optional[pulumi.Input[str]] = None, - image_id: Optional[pulumi.Input[str]] = None, - osu_exports: Optional[pulumi.Input[Sequence[pulumi.Input['ImageExportTaskOsuExportArgs']]]] = None, - progress: Optional[pulumi.Input[int]] = None, - request_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['ImageExportTaskTagArgs']]]] = None, - task_id: Optional[pulumi.Input[str]] = None): - """ - Input properties used for looking up and filtering ImageExportTask resources. - :param pulumi.Input[str] comment: If the OMI export task fails, an error message appears. - :param pulumi.Input[str] image_id: The ID of the OMI to export. - :param pulumi.Input[Sequence[pulumi.Input['ImageExportTaskOsuExportArgs']]] osu_exports: Information about the OOS export task to create. - :param pulumi.Input[int] progress: The progress of the OMI export task, as a percentage. - :param pulumi.Input[str] state: The state of the OMI export task (`pending/queued` \\| `pending` \\| `completed` \\| `failed` \\| `cancelled`). - :param pulumi.Input[Sequence[pulumi.Input['ImageExportTaskTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - :param pulumi.Input[str] task_id: The ID of the OMI export task. - """ - if comment is not None: - pulumi.set(__self__, "comment", comment) - if image_id is not None: - pulumi.set(__self__, "image_id", image_id) - if osu_exports is not None: - pulumi.set(__self__, "osu_exports", osu_exports) - if progress is not None: - pulumi.set(__self__, "progress", progress) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if state is not None: - pulumi.set(__self__, "state", state) - if tags is not None: - pulumi.set(__self__, "tags", tags) - if task_id is not None: - pulumi.set(__self__, "task_id", task_id) - - @property - @pulumi.getter - def comment(self) -> Optional[pulumi.Input[str]]: - """ - If the OMI export task fails, an error message appears. - """ - return pulumi.get(self, "comment") - - @comment.setter - def comment(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "comment", value) - - @property - @pulumi.getter(name="imageId") - def image_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the OMI to export. - """ - return pulumi.get(self, "image_id") - - @image_id.setter - def image_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "image_id", value) - - @property - @pulumi.getter(name="osuExports") - def osu_exports(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ImageExportTaskOsuExportArgs']]]]: - """ - Information about the OOS export task to create. - """ - return pulumi.get(self, "osu_exports") - - @osu_exports.setter - def osu_exports(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ImageExportTaskOsuExportArgs']]]]): - pulumi.set(self, "osu_exports", value) - - @property - @pulumi.getter - def progress(self) -> Optional[pulumi.Input[int]]: - """ - The progress of the OMI export task, as a percentage. - """ - return pulumi.get(self, "progress") - - @progress.setter - def progress(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "progress", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - The state of the OMI export task (`pending/queued` \\| `pending` \\| `completed` \\| `failed` \\| `cancelled`). - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ImageExportTaskTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ImageExportTaskTagArgs']]]]): - pulumi.set(self, "tags", value) - - @property - @pulumi.getter(name="taskId") - def task_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the OMI export task. - """ - return pulumi.get(self, "task_id") - - @task_id.setter - def task_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "task_id", value) - - -class ImageExportTask(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - image_id: Optional[pulumi.Input[str]] = None, - osu_exports: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ImageExportTaskOsuExportArgs']]]]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ImageExportTaskTagArgs']]]]] = None, - __props__=None): - """ - Manages an image export task. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-OMIs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-image). - - ## Example Usage - ### Required resource - - ```python - import pulumi - import pulumi_outscale as outscale - - image01 = outscale.Image("image01", - image_name="terraform-image-to-export", - vm_id="i-12345678") - ``` - ### Create an image export task - - ```python - import pulumi - import pulumi_outscale as outscale - - image_export_task01 = outscale.ImageExportTask("imageExportTask01", - image_id=outscale_image["image01"]["image_id"], - osu_exports=[outscale.ImageExportTaskOsuExportArgs( - disk_image_format="qcow2", - osu_bucket="terraform-bucket", - osu_prefix="new-export", - osu_api_keys=[outscale.ImageExportTaskOsuExportOsuApiKeyArgs( - api_key_id=var["access_key_id"], - secret_key=var["secret_key_id"], - )], - )], - tags=[outscale.ImageExportTaskTagArgs( - key="Name", - value="terraform-snapshot-export-task", - )]) - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] image_id: The ID of the OMI to export. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ImageExportTaskOsuExportArgs']]]] osu_exports: Information about the OOS export task to create. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ImageExportTaskTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: ImageExportTaskArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages an image export task. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-OMIs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-image). - - ## Example Usage - ### Required resource - - ```python - import pulumi - import pulumi_outscale as outscale - - image01 = outscale.Image("image01", - image_name="terraform-image-to-export", - vm_id="i-12345678") - ``` - ### Create an image export task - - ```python - import pulumi - import pulumi_outscale as outscale - - image_export_task01 = outscale.ImageExportTask("imageExportTask01", - image_id=outscale_image["image01"]["image_id"], - osu_exports=[outscale.ImageExportTaskOsuExportArgs( - disk_image_format="qcow2", - osu_bucket="terraform-bucket", - osu_prefix="new-export", - osu_api_keys=[outscale.ImageExportTaskOsuExportOsuApiKeyArgs( - api_key_id=var["access_key_id"], - secret_key=var["secret_key_id"], - )], - )], - tags=[outscale.ImageExportTaskTagArgs( - key="Name", - value="terraform-snapshot-export-task", - )]) - ``` - - :param str resource_name: The name of the resource. - :param ImageExportTaskArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(ImageExportTaskArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - image_id: Optional[pulumi.Input[str]] = None, - osu_exports: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ImageExportTaskOsuExportArgs']]]]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ImageExportTaskTagArgs']]]]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = ImageExportTaskArgs.__new__(ImageExportTaskArgs) - - if image_id is None and not opts.urn: - raise TypeError("Missing required property 'image_id'") - __props__.__dict__["image_id"] = image_id - if osu_exports is None and not opts.urn: - raise TypeError("Missing required property 'osu_exports'") - __props__.__dict__["osu_exports"] = osu_exports - __props__.__dict__["tags"] = tags - __props__.__dict__["comment"] = None - __props__.__dict__["progress"] = None - __props__.__dict__["request_id"] = None - __props__.__dict__["state"] = None - __props__.__dict__["task_id"] = None - super(ImageExportTask, __self__).__init__( - 'outscale:index/imageExportTask:ImageExportTask', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - comment: Optional[pulumi.Input[str]] = None, - image_id: Optional[pulumi.Input[str]] = None, - osu_exports: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ImageExportTaskOsuExportArgs']]]]] = None, - progress: Optional[pulumi.Input[int]] = None, - request_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ImageExportTaskTagArgs']]]]] = None, - task_id: Optional[pulumi.Input[str]] = None) -> 'ImageExportTask': - """ - Get an existing ImageExportTask resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] comment: If the OMI export task fails, an error message appears. - :param pulumi.Input[str] image_id: The ID of the OMI to export. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ImageExportTaskOsuExportArgs']]]] osu_exports: Information about the OOS export task to create. - :param pulumi.Input[int] progress: The progress of the OMI export task, as a percentage. - :param pulumi.Input[str] state: The state of the OMI export task (`pending/queued` \\| `pending` \\| `completed` \\| `failed` \\| `cancelled`). - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ImageExportTaskTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - :param pulumi.Input[str] task_id: The ID of the OMI export task. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _ImageExportTaskState.__new__(_ImageExportTaskState) - - __props__.__dict__["comment"] = comment - __props__.__dict__["image_id"] = image_id - __props__.__dict__["osu_exports"] = osu_exports - __props__.__dict__["progress"] = progress - __props__.__dict__["request_id"] = request_id - __props__.__dict__["state"] = state - __props__.__dict__["tags"] = tags - __props__.__dict__["task_id"] = task_id - return ImageExportTask(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter - def comment(self) -> pulumi.Output[str]: - """ - If the OMI export task fails, an error message appears. - """ - return pulumi.get(self, "comment") - - @property - @pulumi.getter(name="imageId") - def image_id(self) -> pulumi.Output[str]: - """ - The ID of the OMI to export. - """ - return pulumi.get(self, "image_id") - - @property - @pulumi.getter(name="osuExports") - def osu_exports(self) -> pulumi.Output[Sequence['outputs.ImageExportTaskOsuExport']]: - """ - Information about the OOS export task to create. - """ - return pulumi.get(self, "osu_exports") - - @property - @pulumi.getter - def progress(self) -> pulumi.Output[int]: - """ - The progress of the OMI export task, as a percentage. - """ - return pulumi.get(self, "progress") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def state(self) -> pulumi.Output[str]: - """ - The state of the OMI export task (`pending/queued` \\| `pending` \\| `completed` \\| `failed` \\| `cancelled`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Sequence['outputs.ImageExportTaskTag']]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter(name="taskId") - def task_id(self) -> pulumi.Output[str]: - """ - The ID of the OMI export task. - """ - return pulumi.get(self, "task_id") - diff --git a/sdk/python/pulumi_outscale/image_launch_permission.py b/sdk/python/pulumi_outscale/image_launch_permission.py deleted file mode 100644 index 7881662..0000000 --- a/sdk/python/pulumi_outscale/image_launch_permission.py +++ /dev/null @@ -1,376 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['ImageLaunchPermissionArgs', 'ImageLaunchPermission'] - -@pulumi.input_type -class ImageLaunchPermissionArgs: - def __init__(__self__, *, - image_id: pulumi.Input[str], - permission_additions: Optional[pulumi.Input['ImageLaunchPermissionPermissionAdditionsArgs']] = None, - permission_removals: Optional[pulumi.Input['ImageLaunchPermissionPermissionRemovalsArgs']] = None): - """ - The set of arguments for constructing a ImageLaunchPermission resource. - :param pulumi.Input[str] image_id: The ID of the OMI you want to modify. - :param pulumi.Input['ImageLaunchPermissionPermissionAdditionsArgs'] permission_additions: Information about the users to whom you want to give permissions for the resource. - :param pulumi.Input['ImageLaunchPermissionPermissionRemovalsArgs'] permission_removals: Information about the users from whom you want to remove permissions for the resource. - """ - pulumi.set(__self__, "image_id", image_id) - if permission_additions is not None: - pulumi.set(__self__, "permission_additions", permission_additions) - if permission_removals is not None: - pulumi.set(__self__, "permission_removals", permission_removals) - - @property - @pulumi.getter(name="imageId") - def image_id(self) -> pulumi.Input[str]: - """ - The ID of the OMI you want to modify. - """ - return pulumi.get(self, "image_id") - - @image_id.setter - def image_id(self, value: pulumi.Input[str]): - pulumi.set(self, "image_id", value) - - @property - @pulumi.getter(name="permissionAdditions") - def permission_additions(self) -> Optional[pulumi.Input['ImageLaunchPermissionPermissionAdditionsArgs']]: - """ - Information about the users to whom you want to give permissions for the resource. - """ - return pulumi.get(self, "permission_additions") - - @permission_additions.setter - def permission_additions(self, value: Optional[pulumi.Input['ImageLaunchPermissionPermissionAdditionsArgs']]): - pulumi.set(self, "permission_additions", value) - - @property - @pulumi.getter(name="permissionRemovals") - def permission_removals(self) -> Optional[pulumi.Input['ImageLaunchPermissionPermissionRemovalsArgs']]: - """ - Information about the users from whom you want to remove permissions for the resource. - """ - return pulumi.get(self, "permission_removals") - - @permission_removals.setter - def permission_removals(self, value: Optional[pulumi.Input['ImageLaunchPermissionPermissionRemovalsArgs']]): - pulumi.set(self, "permission_removals", value) - - -@pulumi.input_type -class _ImageLaunchPermissionState: - def __init__(__self__, *, - description: Optional[pulumi.Input[str]] = None, - image_id: Optional[pulumi.Input[str]] = None, - permission_additions: Optional[pulumi.Input['ImageLaunchPermissionPermissionAdditionsArgs']] = None, - permission_removals: Optional[pulumi.Input['ImageLaunchPermissionPermissionRemovalsArgs']] = None, - permissions_to_launches: Optional[pulumi.Input[Sequence[pulumi.Input['ImageLaunchPermissionPermissionsToLaunchArgs']]]] = None, - request_id: Optional[pulumi.Input[str]] = None): - """ - Input properties used for looking up and filtering ImageLaunchPermission resources. - :param pulumi.Input[str] description: The description of the OMI. - :param pulumi.Input[str] image_id: The ID of the OMI you want to modify. - :param pulumi.Input['ImageLaunchPermissionPermissionAdditionsArgs'] permission_additions: Information about the users to whom you want to give permissions for the resource. - :param pulumi.Input['ImageLaunchPermissionPermissionRemovalsArgs'] permission_removals: Information about the users from whom you want to remove permissions for the resource. - :param pulumi.Input[Sequence[pulumi.Input['ImageLaunchPermissionPermissionsToLaunchArgs']]] permissions_to_launches: Permissions for the resource. - """ - if description is not None: - pulumi.set(__self__, "description", description) - if image_id is not None: - pulumi.set(__self__, "image_id", image_id) - if permission_additions is not None: - pulumi.set(__self__, "permission_additions", permission_additions) - if permission_removals is not None: - pulumi.set(__self__, "permission_removals", permission_removals) - if permissions_to_launches is not None: - pulumi.set(__self__, "permissions_to_launches", permissions_to_launches) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - - @property - @pulumi.getter - def description(self) -> Optional[pulumi.Input[str]]: - """ - The description of the OMI. - """ - return pulumi.get(self, "description") - - @description.setter - def description(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "description", value) - - @property - @pulumi.getter(name="imageId") - def image_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the OMI you want to modify. - """ - return pulumi.get(self, "image_id") - - @image_id.setter - def image_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "image_id", value) - - @property - @pulumi.getter(name="permissionAdditions") - def permission_additions(self) -> Optional[pulumi.Input['ImageLaunchPermissionPermissionAdditionsArgs']]: - """ - Information about the users to whom you want to give permissions for the resource. - """ - return pulumi.get(self, "permission_additions") - - @permission_additions.setter - def permission_additions(self, value: Optional[pulumi.Input['ImageLaunchPermissionPermissionAdditionsArgs']]): - pulumi.set(self, "permission_additions", value) - - @property - @pulumi.getter(name="permissionRemovals") - def permission_removals(self) -> Optional[pulumi.Input['ImageLaunchPermissionPermissionRemovalsArgs']]: - """ - Information about the users from whom you want to remove permissions for the resource. - """ - return pulumi.get(self, "permission_removals") - - @permission_removals.setter - def permission_removals(self, value: Optional[pulumi.Input['ImageLaunchPermissionPermissionRemovalsArgs']]): - pulumi.set(self, "permission_removals", value) - - @property - @pulumi.getter(name="permissionsToLaunches") - def permissions_to_launches(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ImageLaunchPermissionPermissionsToLaunchArgs']]]]: - """ - Permissions for the resource. - """ - return pulumi.get(self, "permissions_to_launches") - - @permissions_to_launches.setter - def permissions_to_launches(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ImageLaunchPermissionPermissionsToLaunchArgs']]]]): - pulumi.set(self, "permissions_to_launches", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - -class ImageLaunchPermission(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - image_id: Optional[pulumi.Input[str]] = None, - permission_additions: Optional[pulumi.Input[pulumi.InputType['ImageLaunchPermissionPermissionAdditionsArgs']]] = None, - permission_removals: Optional[pulumi.Input[pulumi.InputType['ImageLaunchPermissionPermissionRemovalsArgs']]] = None, - __props__=None): - """ - Manages an image launch permission. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-OMIs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#updateimage). - - ## Example Usage - ### Add permissions - - ```python - import pulumi - import pulumi_outscale as outscale - - image01 = outscale.ImageLaunchPermission("image01", - image_id="ami-12345678", - permission_additions=outscale.ImageLaunchPermissionPermissionAdditionsArgs( - account_ids=["012345678910"], - )) - ``` - ### Remove permissions - - ```python - import pulumi - import pulumi_outscale as outscale - - image02 = outscale.ImageLaunchPermission("image02", - image_id="ami-12345678", - permission_removals=outscale.ImageLaunchPermissionPermissionRemovalsArgs( - account_ids=["012345678910"], - )) - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] image_id: The ID of the OMI you want to modify. - :param pulumi.Input[pulumi.InputType['ImageLaunchPermissionPermissionAdditionsArgs']] permission_additions: Information about the users to whom you want to give permissions for the resource. - :param pulumi.Input[pulumi.InputType['ImageLaunchPermissionPermissionRemovalsArgs']] permission_removals: Information about the users from whom you want to remove permissions for the resource. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: ImageLaunchPermissionArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages an image launch permission. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-OMIs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#updateimage). - - ## Example Usage - ### Add permissions - - ```python - import pulumi - import pulumi_outscale as outscale - - image01 = outscale.ImageLaunchPermission("image01", - image_id="ami-12345678", - permission_additions=outscale.ImageLaunchPermissionPermissionAdditionsArgs( - account_ids=["012345678910"], - )) - ``` - ### Remove permissions - - ```python - import pulumi - import pulumi_outscale as outscale - - image02 = outscale.ImageLaunchPermission("image02", - image_id="ami-12345678", - permission_removals=outscale.ImageLaunchPermissionPermissionRemovalsArgs( - account_ids=["012345678910"], - )) - ``` - - :param str resource_name: The name of the resource. - :param ImageLaunchPermissionArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(ImageLaunchPermissionArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - image_id: Optional[pulumi.Input[str]] = None, - permission_additions: Optional[pulumi.Input[pulumi.InputType['ImageLaunchPermissionPermissionAdditionsArgs']]] = None, - permission_removals: Optional[pulumi.Input[pulumi.InputType['ImageLaunchPermissionPermissionRemovalsArgs']]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = ImageLaunchPermissionArgs.__new__(ImageLaunchPermissionArgs) - - if image_id is None and not opts.urn: - raise TypeError("Missing required property 'image_id'") - __props__.__dict__["image_id"] = image_id - __props__.__dict__["permission_additions"] = permission_additions - __props__.__dict__["permission_removals"] = permission_removals - __props__.__dict__["description"] = None - __props__.__dict__["permissions_to_launches"] = None - __props__.__dict__["request_id"] = None - super(ImageLaunchPermission, __self__).__init__( - 'outscale:index/imageLaunchPermission:ImageLaunchPermission', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - description: Optional[pulumi.Input[str]] = None, - image_id: Optional[pulumi.Input[str]] = None, - permission_additions: Optional[pulumi.Input[pulumi.InputType['ImageLaunchPermissionPermissionAdditionsArgs']]] = None, - permission_removals: Optional[pulumi.Input[pulumi.InputType['ImageLaunchPermissionPermissionRemovalsArgs']]] = None, - permissions_to_launches: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ImageLaunchPermissionPermissionsToLaunchArgs']]]]] = None, - request_id: Optional[pulumi.Input[str]] = None) -> 'ImageLaunchPermission': - """ - Get an existing ImageLaunchPermission resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] description: The description of the OMI. - :param pulumi.Input[str] image_id: The ID of the OMI you want to modify. - :param pulumi.Input[pulumi.InputType['ImageLaunchPermissionPermissionAdditionsArgs']] permission_additions: Information about the users to whom you want to give permissions for the resource. - :param pulumi.Input[pulumi.InputType['ImageLaunchPermissionPermissionRemovalsArgs']] permission_removals: Information about the users from whom you want to remove permissions for the resource. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ImageLaunchPermissionPermissionsToLaunchArgs']]]] permissions_to_launches: Permissions for the resource. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _ImageLaunchPermissionState.__new__(_ImageLaunchPermissionState) - - __props__.__dict__["description"] = description - __props__.__dict__["image_id"] = image_id - __props__.__dict__["permission_additions"] = permission_additions - __props__.__dict__["permission_removals"] = permission_removals - __props__.__dict__["permissions_to_launches"] = permissions_to_launches - __props__.__dict__["request_id"] = request_id - return ImageLaunchPermission(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter - def description(self) -> pulumi.Output[str]: - """ - The description of the OMI. - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter(name="imageId") - def image_id(self) -> pulumi.Output[str]: - """ - The ID of the OMI you want to modify. - """ - return pulumi.get(self, "image_id") - - @property - @pulumi.getter(name="permissionAdditions") - def permission_additions(self) -> pulumi.Output[Optional['outputs.ImageLaunchPermissionPermissionAdditions']]: - """ - Information about the users to whom you want to give permissions for the resource. - """ - return pulumi.get(self, "permission_additions") - - @property - @pulumi.getter(name="permissionRemovals") - def permission_removals(self) -> pulumi.Output[Optional['outputs.ImageLaunchPermissionPermissionRemovals']]: - """ - Information about the users from whom you want to remove permissions for the resource. - """ - return pulumi.get(self, "permission_removals") - - @property - @pulumi.getter(name="permissionsToLaunches") - def permissions_to_launches(self) -> pulumi.Output[Sequence['outputs.ImageLaunchPermissionPermissionsToLaunch']]: - """ - Permissions for the resource. - """ - return pulumi.get(self, "permissions_to_launches") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - diff --git a/sdk/python/pulumi_outscale/internet_service.py b/sdk/python/pulumi_outscale/internet_service.py deleted file mode 100644 index 94f66d3..0000000 --- a/sdk/python/pulumi_outscale/internet_service.py +++ /dev/null @@ -1,291 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['InternetServiceArgs', 'InternetService'] - -@pulumi.input_type -class InternetServiceArgs: - def __init__(__self__, *, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['InternetServiceTagArgs']]]] = None): - """ - The set of arguments for constructing a InternetService resource. - :param pulumi.Input[Sequence[pulumi.Input['InternetServiceTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - """ - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InternetServiceTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InternetServiceTagArgs']]]]): - pulumi.set(self, "tags", value) - - -@pulumi.input_type -class _InternetServiceState: - def __init__(__self__, *, - internet_service_id: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['InternetServiceTagArgs']]]] = None): - """ - Input properties used for looking up and filtering InternetService resources. - :param pulumi.Input[str] internet_service_id: The ID of the Internet service. - :param pulumi.Input[str] net_id: The ID of the Net attached to the Internet service. - :param pulumi.Input[str] state: The state of the attachment of the Internet service to the Net (always `available`). - :param pulumi.Input[Sequence[pulumi.Input['InternetServiceTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - """ - if internet_service_id is not None: - pulumi.set(__self__, "internet_service_id", internet_service_id) - if net_id is not None: - pulumi.set(__self__, "net_id", net_id) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if state is not None: - pulumi.set(__self__, "state", state) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="internetServiceId") - def internet_service_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Internet service. - """ - return pulumi.get(self, "internet_service_id") - - @internet_service_id.setter - def internet_service_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "internet_service_id", value) - - @property - @pulumi.getter(name="netId") - def net_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Net attached to the Internet service. - """ - return pulumi.get(self, "net_id") - - @net_id.setter - def net_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "net_id", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - The state of the attachment of the Internet service to the Net (always `available`). - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InternetServiceTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InternetServiceTagArgs']]]]): - pulumi.set(self, "tags", value) - - -class InternetService(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InternetServiceTagArgs']]]]] = None, - __props__=None): - """ - Manages an Internet service. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Internet-Gateways.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-internetservice). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - internet_service01 = outscale.InternetService("internetService01") - ``` - - ## Import - - An internet service can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/internetService:InternetService ImportedInternetService igw-12345678 - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InternetServiceTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: Optional[InternetServiceArgs] = None, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages an Internet service. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Internet-Gateways.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-internetservice). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - internet_service01 = outscale.InternetService("internetService01") - ``` - - ## Import - - An internet service can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/internetService:InternetService ImportedInternetService igw-12345678 - ``` - - :param str resource_name: The name of the resource. - :param InternetServiceArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(InternetServiceArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InternetServiceTagArgs']]]]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = InternetServiceArgs.__new__(InternetServiceArgs) - - __props__.__dict__["tags"] = tags - __props__.__dict__["internet_service_id"] = None - __props__.__dict__["net_id"] = None - __props__.__dict__["request_id"] = None - __props__.__dict__["state"] = None - super(InternetService, __self__).__init__( - 'outscale:index/internetService:InternetService', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - internet_service_id: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InternetServiceTagArgs']]]]] = None) -> 'InternetService': - """ - Get an existing InternetService resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] internet_service_id: The ID of the Internet service. - :param pulumi.Input[str] net_id: The ID of the Net attached to the Internet service. - :param pulumi.Input[str] state: The state of the attachment of the Internet service to the Net (always `available`). - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InternetServiceTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _InternetServiceState.__new__(_InternetServiceState) - - __props__.__dict__["internet_service_id"] = internet_service_id - __props__.__dict__["net_id"] = net_id - __props__.__dict__["request_id"] = request_id - __props__.__dict__["state"] = state - __props__.__dict__["tags"] = tags - return InternetService(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="internetServiceId") - def internet_service_id(self) -> pulumi.Output[str]: - """ - The ID of the Internet service. - """ - return pulumi.get(self, "internet_service_id") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> pulumi.Output[str]: - """ - The ID of the Net attached to the Internet service. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def state(self) -> pulumi.Output[str]: - """ - The state of the attachment of the Internet service to the Net (always `available`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Sequence['outputs.InternetServiceTag']]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - diff --git a/sdk/python/pulumi_outscale/internet_service_link.py b/sdk/python/pulumi_outscale/internet_service_link.py deleted file mode 100644 index 55de5cf..0000000 --- a/sdk/python/pulumi_outscale/internet_service_link.py +++ /dev/null @@ -1,336 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['InternetServiceLinkArgs', 'InternetServiceLink'] - -@pulumi.input_type -class InternetServiceLinkArgs: - def __init__(__self__, *, - internet_service_id: pulumi.Input[str], - net_id: pulumi.Input[str]): - """ - The set of arguments for constructing a InternetServiceLink resource. - :param pulumi.Input[str] internet_service_id: The ID of the Internet service you want to attach. - :param pulumi.Input[str] net_id: The ID of the Net to which you want to attach the Internet service. - """ - pulumi.set(__self__, "internet_service_id", internet_service_id) - pulumi.set(__self__, "net_id", net_id) - - @property - @pulumi.getter(name="internetServiceId") - def internet_service_id(self) -> pulumi.Input[str]: - """ - The ID of the Internet service you want to attach. - """ - return pulumi.get(self, "internet_service_id") - - @internet_service_id.setter - def internet_service_id(self, value: pulumi.Input[str]): - pulumi.set(self, "internet_service_id", value) - - @property - @pulumi.getter(name="netId") - def net_id(self) -> pulumi.Input[str]: - """ - The ID of the Net to which you want to attach the Internet service. - """ - return pulumi.get(self, "net_id") - - @net_id.setter - def net_id(self, value: pulumi.Input[str]): - pulumi.set(self, "net_id", value) - - -@pulumi.input_type -class _InternetServiceLinkState: - def __init__(__self__, *, - internet_service_id: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['InternetServiceLinkTagArgs']]]] = None): - """ - Input properties used for looking up and filtering InternetServiceLink resources. - :param pulumi.Input[str] internet_service_id: The ID of the Internet service you want to attach. - :param pulumi.Input[str] net_id: The ID of the Net to which you want to attach the Internet service. - :param pulumi.Input[str] state: The state of the attachment of the Internet service to the Net (always `available`). - :param pulumi.Input[Sequence[pulumi.Input['InternetServiceLinkTagArgs']]] tags: One or more tags associated with the Internet service. - """ - if internet_service_id is not None: - pulumi.set(__self__, "internet_service_id", internet_service_id) - if net_id is not None: - pulumi.set(__self__, "net_id", net_id) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if state is not None: - pulumi.set(__self__, "state", state) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="internetServiceId") - def internet_service_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Internet service you want to attach. - """ - return pulumi.get(self, "internet_service_id") - - @internet_service_id.setter - def internet_service_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "internet_service_id", value) - - @property - @pulumi.getter(name="netId") - def net_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Net to which you want to attach the Internet service. - """ - return pulumi.get(self, "net_id") - - @net_id.setter - def net_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "net_id", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - The state of the attachment of the Internet service to the Net (always `available`). - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InternetServiceLinkTagArgs']]]]: - """ - One or more tags associated with the Internet service. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InternetServiceLinkTagArgs']]]]): - pulumi.set(self, "tags", value) - - -class InternetServiceLink(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - internet_service_id: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - Manages an Internet service link. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Internet-Gateways.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-internetservice). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - net01 = outscale.Net("net01", ip_range="10.0.0.0/18") - internet_service01 = outscale.InternetService("internetService01") - ``` - ### Link an Internet service to a Net - - ```python - import pulumi - import pulumi_outscale as outscale - - internet_service_link01 = outscale.InternetServiceLink("internetServiceLink01", - internet_service_id=outscale_internet_service["internet_service01"]["internet_service_id"], - net_id=outscale_net["net01"]["net_id"]) - ``` - - ## Import - - An internet service link can be imported using the internet service ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/internetServiceLink:InternetServiceLink ImportedInternetServiceLink igw-87654321 - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] internet_service_id: The ID of the Internet service you want to attach. - :param pulumi.Input[str] net_id: The ID of the Net to which you want to attach the Internet service. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: InternetServiceLinkArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages an Internet service link. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Internet-Gateways.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-internetservice). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - net01 = outscale.Net("net01", ip_range="10.0.0.0/18") - internet_service01 = outscale.InternetService("internetService01") - ``` - ### Link an Internet service to a Net - - ```python - import pulumi - import pulumi_outscale as outscale - - internet_service_link01 = outscale.InternetServiceLink("internetServiceLink01", - internet_service_id=outscale_internet_service["internet_service01"]["internet_service_id"], - net_id=outscale_net["net01"]["net_id"]) - ``` - - ## Import - - An internet service link can be imported using the internet service ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/internetServiceLink:InternetServiceLink ImportedInternetServiceLink igw-87654321 - ``` - - :param str resource_name: The name of the resource. - :param InternetServiceLinkArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(InternetServiceLinkArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - internet_service_id: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = InternetServiceLinkArgs.__new__(InternetServiceLinkArgs) - - if internet_service_id is None and not opts.urn: - raise TypeError("Missing required property 'internet_service_id'") - __props__.__dict__["internet_service_id"] = internet_service_id - if net_id is None and not opts.urn: - raise TypeError("Missing required property 'net_id'") - __props__.__dict__["net_id"] = net_id - __props__.__dict__["request_id"] = None - __props__.__dict__["state"] = None - __props__.__dict__["tags"] = None - super(InternetServiceLink, __self__).__init__( - 'outscale:index/internetServiceLink:InternetServiceLink', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - internet_service_id: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InternetServiceLinkTagArgs']]]]] = None) -> 'InternetServiceLink': - """ - Get an existing InternetServiceLink resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] internet_service_id: The ID of the Internet service you want to attach. - :param pulumi.Input[str] net_id: The ID of the Net to which you want to attach the Internet service. - :param pulumi.Input[str] state: The state of the attachment of the Internet service to the Net (always `available`). - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InternetServiceLinkTagArgs']]]] tags: One or more tags associated with the Internet service. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _InternetServiceLinkState.__new__(_InternetServiceLinkState) - - __props__.__dict__["internet_service_id"] = internet_service_id - __props__.__dict__["net_id"] = net_id - __props__.__dict__["request_id"] = request_id - __props__.__dict__["state"] = state - __props__.__dict__["tags"] = tags - return InternetServiceLink(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="internetServiceId") - def internet_service_id(self) -> pulumi.Output[str]: - """ - The ID of the Internet service you want to attach. - """ - return pulumi.get(self, "internet_service_id") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> pulumi.Output[str]: - """ - The ID of the Net to which you want to attach the Internet service. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def state(self) -> pulumi.Output[str]: - """ - The state of the attachment of the Internet service to the Net (always `available`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter - def tags(self) -> pulumi.Output[Sequence['outputs.InternetServiceLinkTag']]: - """ - One or more tags associated with the Internet service. - """ - return pulumi.get(self, "tags") - diff --git a/sdk/python/pulumi_outscale/keypair.py b/sdk/python/pulumi_outscale/keypair.py deleted file mode 100644 index e092beb..0000000 --- a/sdk/python/pulumi_outscale/keypair.py +++ /dev/null @@ -1,336 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities - -__all__ = ['KeypairArgs', 'Keypair'] - -@pulumi.input_type -class KeypairArgs: - def __init__(__self__, *, - keypair_name: Optional[pulumi.Input[str]] = None, - public_key: Optional[pulumi.Input[str]] = None): - """ - The set of arguments for constructing a Keypair resource. - :param pulumi.Input[str] keypair_name: A unique name for the keypair, with a maximum length of 255 [ASCII printable characters](https://en.wikipedia.org/wiki/ASCII#Printable_characters). - :param pulumi.Input[str] public_key: The public key. It must be Base64-encoded. - """ - if keypair_name is not None: - pulumi.set(__self__, "keypair_name", keypair_name) - if public_key is not None: - pulumi.set(__self__, "public_key", public_key) - - @property - @pulumi.getter(name="keypairName") - def keypair_name(self) -> Optional[pulumi.Input[str]]: - """ - A unique name for the keypair, with a maximum length of 255 [ASCII printable characters](https://en.wikipedia.org/wiki/ASCII#Printable_characters). - """ - return pulumi.get(self, "keypair_name") - - @keypair_name.setter - def keypair_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "keypair_name", value) - - @property - @pulumi.getter(name="publicKey") - def public_key(self) -> Optional[pulumi.Input[str]]: - """ - The public key. It must be Base64-encoded. - """ - return pulumi.get(self, "public_key") - - @public_key.setter - def public_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_key", value) - - -@pulumi.input_type -class _KeypairState: - def __init__(__self__, *, - keypair_fingerprint: Optional[pulumi.Input[str]] = None, - keypair_name: Optional[pulumi.Input[str]] = None, - private_key: Optional[pulumi.Input[str]] = None, - public_key: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None): - """ - Input properties used for looking up and filtering Keypair resources. - :param pulumi.Input[str] keypair_fingerprint: The MD5 public key fingerprint as specified in section 4 of RFC 4716. - :param pulumi.Input[str] keypair_name: A unique name for the keypair, with a maximum length of 255 [ASCII printable characters](https://en.wikipedia.org/wiki/ASCII#Printable_characters). - :param pulumi.Input[str] private_key: The private key. When saving the private key in a .rsa file, replace the `\\n` escape sequences with line breaks. - :param pulumi.Input[str] public_key: The public key. It must be Base64-encoded. - """ - if keypair_fingerprint is not None: - pulumi.set(__self__, "keypair_fingerprint", keypair_fingerprint) - if keypair_name is not None: - pulumi.set(__self__, "keypair_name", keypair_name) - if private_key is not None: - pulumi.set(__self__, "private_key", private_key) - if public_key is not None: - pulumi.set(__self__, "public_key", public_key) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - - @property - @pulumi.getter(name="keypairFingerprint") - def keypair_fingerprint(self) -> Optional[pulumi.Input[str]]: - """ - The MD5 public key fingerprint as specified in section 4 of RFC 4716. - """ - return pulumi.get(self, "keypair_fingerprint") - - @keypair_fingerprint.setter - def keypair_fingerprint(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "keypair_fingerprint", value) - - @property - @pulumi.getter(name="keypairName") - def keypair_name(self) -> Optional[pulumi.Input[str]]: - """ - A unique name for the keypair, with a maximum length of 255 [ASCII printable characters](https://en.wikipedia.org/wiki/ASCII#Printable_characters). - """ - return pulumi.get(self, "keypair_name") - - @keypair_name.setter - def keypair_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "keypair_name", value) - - @property - @pulumi.getter(name="privateKey") - def private_key(self) -> Optional[pulumi.Input[str]]: - """ - The private key. When saving the private key in a .rsa file, replace the `\\n` escape sequences with line breaks. - """ - return pulumi.get(self, "private_key") - - @private_key.setter - def private_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "private_key", value) - - @property - @pulumi.getter(name="publicKey") - def public_key(self) -> Optional[pulumi.Input[str]]: - """ - The public key. It must be Base64-encoded. - """ - return pulumi.get(self, "public_key") - - @public_key.setter - def public_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_key", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - -class Keypair(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - keypair_name: Optional[pulumi.Input[str]] = None, - public_key: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - Manages a keypair. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Keypairs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-keypair). - - ## Example Usage - ### Create a keypair - - ```python - import pulumi - import pulumi_outscale as outscale - - keypair01 = outscale.Keypair("keypair01", keypair_name="terraform-keypair-create") - ``` - ### Import keypairs - - ```python - import pulumi - import pulumi_outscale as outscale - - keypair02 = outscale.Keypair("keypair02", - keypair_name="terraform-keypair-import-file", - public_key=(lambda path: open(path).read())("")) - keypair03 = outscale.Keypair("keypair03", - keypair_name="terraform-keypair-import-text", - public_key="UFVCTElDIEtFWQ==") - ``` - - ## Import - - A keypair can be imported using its name. For exampleconsole - - ```sh - $ pulumi import outscale:index/keypair:Keypair ImportedKeypair Name-of-the-Keypair - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] keypair_name: A unique name for the keypair, with a maximum length of 255 [ASCII printable characters](https://en.wikipedia.org/wiki/ASCII#Printable_characters). - :param pulumi.Input[str] public_key: The public key. It must be Base64-encoded. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: Optional[KeypairArgs] = None, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages a keypair. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Keypairs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-keypair). - - ## Example Usage - ### Create a keypair - - ```python - import pulumi - import pulumi_outscale as outscale - - keypair01 = outscale.Keypair("keypair01", keypair_name="terraform-keypair-create") - ``` - ### Import keypairs - - ```python - import pulumi - import pulumi_outscale as outscale - - keypair02 = outscale.Keypair("keypair02", - keypair_name="terraform-keypair-import-file", - public_key=(lambda path: open(path).read())("")) - keypair03 = outscale.Keypair("keypair03", - keypair_name="terraform-keypair-import-text", - public_key="UFVCTElDIEtFWQ==") - ``` - - ## Import - - A keypair can be imported using its name. For exampleconsole - - ```sh - $ pulumi import outscale:index/keypair:Keypair ImportedKeypair Name-of-the-Keypair - ``` - - :param str resource_name: The name of the resource. - :param KeypairArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(KeypairArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - keypair_name: Optional[pulumi.Input[str]] = None, - public_key: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = KeypairArgs.__new__(KeypairArgs) - - __props__.__dict__["keypair_name"] = keypair_name - __props__.__dict__["public_key"] = public_key - __props__.__dict__["keypair_fingerprint"] = None - __props__.__dict__["private_key"] = None - __props__.__dict__["request_id"] = None - super(Keypair, __self__).__init__( - 'outscale:index/keypair:Keypair', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - keypair_fingerprint: Optional[pulumi.Input[str]] = None, - keypair_name: Optional[pulumi.Input[str]] = None, - private_key: Optional[pulumi.Input[str]] = None, - public_key: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None) -> 'Keypair': - """ - Get an existing Keypair resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] keypair_fingerprint: The MD5 public key fingerprint as specified in section 4 of RFC 4716. - :param pulumi.Input[str] keypair_name: A unique name for the keypair, with a maximum length of 255 [ASCII printable characters](https://en.wikipedia.org/wiki/ASCII#Printable_characters). - :param pulumi.Input[str] private_key: The private key. When saving the private key in a .rsa file, replace the `\\n` escape sequences with line breaks. - :param pulumi.Input[str] public_key: The public key. It must be Base64-encoded. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _KeypairState.__new__(_KeypairState) - - __props__.__dict__["keypair_fingerprint"] = keypair_fingerprint - __props__.__dict__["keypair_name"] = keypair_name - __props__.__dict__["private_key"] = private_key - __props__.__dict__["public_key"] = public_key - __props__.__dict__["request_id"] = request_id - return Keypair(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="keypairFingerprint") - def keypair_fingerprint(self) -> pulumi.Output[str]: - """ - The MD5 public key fingerprint as specified in section 4 of RFC 4716. - """ - return pulumi.get(self, "keypair_fingerprint") - - @property - @pulumi.getter(name="keypairName") - def keypair_name(self) -> pulumi.Output[str]: - """ - A unique name for the keypair, with a maximum length of 255 [ASCII printable characters](https://en.wikipedia.org/wiki/ASCII#Printable_characters). - """ - return pulumi.get(self, "keypair_name") - - @property - @pulumi.getter(name="privateKey") - def private_key(self) -> pulumi.Output[str]: - """ - The private key. When saving the private key in a .rsa file, replace the `\\n` escape sequences with line breaks. - """ - return pulumi.get(self, "private_key") - - @property - @pulumi.getter(name="publicKey") - def public_key(self) -> pulumi.Output[str]: - """ - The public key. It must be Base64-encoded. - """ - return pulumi.get(self, "public_key") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - diff --git a/sdk/python/pulumi_outscale/load_balancer.py b/sdk/python/pulumi_outscale/load_balancer.py deleted file mode 100644 index a94b651..0000000 --- a/sdk/python/pulumi_outscale/load_balancer.py +++ /dev/null @@ -1,1071 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['LoadBalancerArgs', 'LoadBalancer'] - -@pulumi.input_type -class LoadBalancerArgs: - def __init__(__self__, *, - listeners: pulumi.Input[Sequence[pulumi.Input['LoadBalancerListenerArgs']]], - load_balancer_name: pulumi.Input[str], - access_logs: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerAccessLogArgs']]]] = None, - backend_vm_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - load_balancer_type: Optional[pulumi.Input[str]] = None, - public_ip: Optional[pulumi.Input[str]] = None, - secured_cookies: Optional[pulumi.Input[bool]] = None, - security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - subnets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - subregion_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerTagArgs']]]] = None): - """ - The set of arguments for constructing a LoadBalancer resource. - :param pulumi.Input[Sequence[pulumi.Input['LoadBalancerListenerArgs']]] listeners: One or more listeners to create. - :param pulumi.Input[str] load_balancer_name: The unique name of the load balancer (32 alphanumeric or hyphen characters maximum, but cannot start or end with a hyphen). - :param pulumi.Input[Sequence[pulumi.Input['LoadBalancerAccessLogArgs']]] access_logs: Information about access logs. - :param pulumi.Input[Sequence[pulumi.Input[str]]] backend_vm_ids: One or more IDs of back-end VMs for the load balancer. - :param pulumi.Input[str] load_balancer_type: The type of load balancer: `internet-facing` or `internal`. Use this parameter only for load balancers in a Net. - :param pulumi.Input[str] public_ip: (internet-facing only) The public IP you want to associate with the load balancer. If not specified, a public IP owned by 3DS OUTSCALE is associated. - :param pulumi.Input[bool] secured_cookies: Whether secure cookies are enabled for the load balancer. - :param pulumi.Input[Sequence[pulumi.Input[str]]] security_groups: (Net only) One or more IDs of security groups you want to assign to the load balancer. If not specified, the default security group of the Net is assigned to the load balancer. - :param pulumi.Input[Sequence[pulumi.Input[str]]] subnets: (Net only) The ID of the Subnet in which you want to create the load balancer. Regardless of this Subnet, the load balancer can distribute traffic to all Subnets. This parameter is required in a Net. - :param pulumi.Input[Sequence[pulumi.Input[str]]] subregion_names: (public Cloud only) The Subregion in which you want to create the load balancer. Regardless of this Subregion, the load balancer can distribute traffic to all Subregions. This parameter is required in the public Cloud. - :param pulumi.Input[Sequence[pulumi.Input['LoadBalancerTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - """ - pulumi.set(__self__, "listeners", listeners) - pulumi.set(__self__, "load_balancer_name", load_balancer_name) - if access_logs is not None: - pulumi.set(__self__, "access_logs", access_logs) - if backend_vm_ids is not None: - pulumi.set(__self__, "backend_vm_ids", backend_vm_ids) - if load_balancer_type is not None: - pulumi.set(__self__, "load_balancer_type", load_balancer_type) - if public_ip is not None: - pulumi.set(__self__, "public_ip", public_ip) - if secured_cookies is not None: - pulumi.set(__self__, "secured_cookies", secured_cookies) - if security_groups is not None: - pulumi.set(__self__, "security_groups", security_groups) - if subnets is not None: - pulumi.set(__self__, "subnets", subnets) - if subregion_names is not None: - pulumi.set(__self__, "subregion_names", subregion_names) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter - def listeners(self) -> pulumi.Input[Sequence[pulumi.Input['LoadBalancerListenerArgs']]]: - """ - One or more listeners to create. - """ - return pulumi.get(self, "listeners") - - @listeners.setter - def listeners(self, value: pulumi.Input[Sequence[pulumi.Input['LoadBalancerListenerArgs']]]): - pulumi.set(self, "listeners", value) - - @property - @pulumi.getter(name="loadBalancerName") - def load_balancer_name(self) -> pulumi.Input[str]: - """ - The unique name of the load balancer (32 alphanumeric or hyphen characters maximum, but cannot start or end with a hyphen). - """ - return pulumi.get(self, "load_balancer_name") - - @load_balancer_name.setter - def load_balancer_name(self, value: pulumi.Input[str]): - pulumi.set(self, "load_balancer_name", value) - - @property - @pulumi.getter(name="accessLogs") - def access_logs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerAccessLogArgs']]]]: - """ - Information about access logs. - """ - return pulumi.get(self, "access_logs") - - @access_logs.setter - def access_logs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerAccessLogArgs']]]]): - pulumi.set(self, "access_logs", value) - - @property - @pulumi.getter(name="backendVmIds") - def backend_vm_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - One or more IDs of back-end VMs for the load balancer. - """ - return pulumi.get(self, "backend_vm_ids") - - @backend_vm_ids.setter - def backend_vm_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "backend_vm_ids", value) - - @property - @pulumi.getter(name="loadBalancerType") - def load_balancer_type(self) -> Optional[pulumi.Input[str]]: - """ - The type of load balancer: `internet-facing` or `internal`. Use this parameter only for load balancers in a Net. - """ - return pulumi.get(self, "load_balancer_type") - - @load_balancer_type.setter - def load_balancer_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "load_balancer_type", value) - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> Optional[pulumi.Input[str]]: - """ - (internet-facing only) The public IP you want to associate with the load balancer. If not specified, a public IP owned by 3DS OUTSCALE is associated. - """ - return pulumi.get(self, "public_ip") - - @public_ip.setter - def public_ip(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_ip", value) - - @property - @pulumi.getter(name="securedCookies") - def secured_cookies(self) -> Optional[pulumi.Input[bool]]: - """ - Whether secure cookies are enabled for the load balancer. - """ - return pulumi.get(self, "secured_cookies") - - @secured_cookies.setter - def secured_cookies(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "secured_cookies", value) - - @property - @pulumi.getter(name="securityGroups") - def security_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - (Net only) One or more IDs of security groups you want to assign to the load balancer. If not specified, the default security group of the Net is assigned to the load balancer. - """ - return pulumi.get(self, "security_groups") - - @security_groups.setter - def security_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "security_groups", value) - - @property - @pulumi.getter - def subnets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - (Net only) The ID of the Subnet in which you want to create the load balancer. Regardless of this Subnet, the load balancer can distribute traffic to all Subnets. This parameter is required in a Net. - """ - return pulumi.get(self, "subnets") - - @subnets.setter - def subnets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "subnets", value) - - @property - @pulumi.getter(name="subregionNames") - def subregion_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - (public Cloud only) The Subregion in which you want to create the load balancer. Regardless of this Subregion, the load balancer can distribute traffic to all Subregions. This parameter is required in the public Cloud. - """ - return pulumi.get(self, "subregion_names") - - @subregion_names.setter - def subregion_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "subregion_names", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerTagArgs']]]]): - pulumi.set(self, "tags", value) - - -@pulumi.input_type -class _LoadBalancerState: - def __init__(__self__, *, - access_logs: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerAccessLogArgs']]]] = None, - application_sticky_cookie_policies: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerApplicationStickyCookiePolicyArgs']]]] = None, - backend_vm_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - dns_name: Optional[pulumi.Input[str]] = None, - health_checks: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerHealthCheckArgs']]]] = None, - listeners: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerListenerArgs']]]] = None, - load_balancer_name: Optional[pulumi.Input[str]] = None, - load_balancer_sticky_cookie_policies: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerLoadBalancerStickyCookiePolicyArgs']]]] = None, - load_balancer_type: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None, - public_ip: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - secured_cookies: Optional[pulumi.Input[bool]] = None, - security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - source_security_groups: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerSourceSecurityGroupArgs']]]] = None, - subnets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - subregion_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerTagArgs']]]] = None): - """ - Input properties used for looking up and filtering LoadBalancer resources. - :param pulumi.Input[Sequence[pulumi.Input['LoadBalancerAccessLogArgs']]] access_logs: Information about access logs. - :param pulumi.Input[Sequence[pulumi.Input['LoadBalancerApplicationStickyCookiePolicyArgs']]] application_sticky_cookie_policies: The stickiness policies defined for the load balancer. - :param pulumi.Input[Sequence[pulumi.Input[str]]] backend_vm_ids: One or more IDs of back-end VMs for the load balancer. - :param pulumi.Input[str] dns_name: The DNS name of the load balancer. - :param pulumi.Input[Sequence[pulumi.Input['LoadBalancerHealthCheckArgs']]] health_checks: Information about the health check configuration. - :param pulumi.Input[Sequence[pulumi.Input['LoadBalancerListenerArgs']]] listeners: One or more listeners to create. - :param pulumi.Input[str] load_balancer_name: The unique name of the load balancer (32 alphanumeric or hyphen characters maximum, but cannot start or end with a hyphen). - :param pulumi.Input[Sequence[pulumi.Input['LoadBalancerLoadBalancerStickyCookiePolicyArgs']]] load_balancer_sticky_cookie_policies: The policies defined for the load balancer. - :param pulumi.Input[str] load_balancer_type: The type of load balancer: `internet-facing` or `internal`. Use this parameter only for load balancers in a Net. - :param pulumi.Input[str] net_id: The ID of the Net for the load balancer. - :param pulumi.Input[str] public_ip: (internet-facing only) The public IP you want to associate with the load balancer. If not specified, a public IP owned by 3DS OUTSCALE is associated. - :param pulumi.Input[bool] secured_cookies: Whether secure cookies are enabled for the load balancer. - :param pulumi.Input[Sequence[pulumi.Input[str]]] security_groups: (Net only) One or more IDs of security groups you want to assign to the load balancer. If not specified, the default security group of the Net is assigned to the load balancer. - :param pulumi.Input[Sequence[pulumi.Input['LoadBalancerSourceSecurityGroupArgs']]] source_security_groups: Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.
- To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. - :param pulumi.Input[Sequence[pulumi.Input[str]]] subnets: (Net only) The ID of the Subnet in which you want to create the load balancer. Regardless of this Subnet, the load balancer can distribute traffic to all Subnets. This parameter is required in a Net. - :param pulumi.Input[Sequence[pulumi.Input[str]]] subregion_names: (public Cloud only) The Subregion in which you want to create the load balancer. Regardless of this Subregion, the load balancer can distribute traffic to all Subregions. This parameter is required in the public Cloud. - :param pulumi.Input[Sequence[pulumi.Input['LoadBalancerTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - """ - if access_logs is not None: - pulumi.set(__self__, "access_logs", access_logs) - if application_sticky_cookie_policies is not None: - pulumi.set(__self__, "application_sticky_cookie_policies", application_sticky_cookie_policies) - if backend_vm_ids is not None: - pulumi.set(__self__, "backend_vm_ids", backend_vm_ids) - if dns_name is not None: - pulumi.set(__self__, "dns_name", dns_name) - if health_checks is not None: - pulumi.set(__self__, "health_checks", health_checks) - if listeners is not None: - pulumi.set(__self__, "listeners", listeners) - if load_balancer_name is not None: - pulumi.set(__self__, "load_balancer_name", load_balancer_name) - if load_balancer_sticky_cookie_policies is not None: - pulumi.set(__self__, "load_balancer_sticky_cookie_policies", load_balancer_sticky_cookie_policies) - if load_balancer_type is not None: - pulumi.set(__self__, "load_balancer_type", load_balancer_type) - if net_id is not None: - pulumi.set(__self__, "net_id", net_id) - if public_ip is not None: - pulumi.set(__self__, "public_ip", public_ip) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if secured_cookies is not None: - pulumi.set(__self__, "secured_cookies", secured_cookies) - if security_groups is not None: - pulumi.set(__self__, "security_groups", security_groups) - if source_security_groups is not None: - pulumi.set(__self__, "source_security_groups", source_security_groups) - if subnets is not None: - pulumi.set(__self__, "subnets", subnets) - if subregion_names is not None: - pulumi.set(__self__, "subregion_names", subregion_names) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="accessLogs") - def access_logs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerAccessLogArgs']]]]: - """ - Information about access logs. - """ - return pulumi.get(self, "access_logs") - - @access_logs.setter - def access_logs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerAccessLogArgs']]]]): - pulumi.set(self, "access_logs", value) - - @property - @pulumi.getter(name="applicationStickyCookiePolicies") - def application_sticky_cookie_policies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerApplicationStickyCookiePolicyArgs']]]]: - """ - The stickiness policies defined for the load balancer. - """ - return pulumi.get(self, "application_sticky_cookie_policies") - - @application_sticky_cookie_policies.setter - def application_sticky_cookie_policies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerApplicationStickyCookiePolicyArgs']]]]): - pulumi.set(self, "application_sticky_cookie_policies", value) - - @property - @pulumi.getter(name="backendVmIds") - def backend_vm_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - One or more IDs of back-end VMs for the load balancer. - """ - return pulumi.get(self, "backend_vm_ids") - - @backend_vm_ids.setter - def backend_vm_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "backend_vm_ids", value) - - @property - @pulumi.getter(name="dnsName") - def dns_name(self) -> Optional[pulumi.Input[str]]: - """ - The DNS name of the load balancer. - """ - return pulumi.get(self, "dns_name") - - @dns_name.setter - def dns_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "dns_name", value) - - @property - @pulumi.getter(name="healthChecks") - def health_checks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerHealthCheckArgs']]]]: - """ - Information about the health check configuration. - """ - return pulumi.get(self, "health_checks") - - @health_checks.setter - def health_checks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerHealthCheckArgs']]]]): - pulumi.set(self, "health_checks", value) - - @property - @pulumi.getter - def listeners(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerListenerArgs']]]]: - """ - One or more listeners to create. - """ - return pulumi.get(self, "listeners") - - @listeners.setter - def listeners(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerListenerArgs']]]]): - pulumi.set(self, "listeners", value) - - @property - @pulumi.getter(name="loadBalancerName") - def load_balancer_name(self) -> Optional[pulumi.Input[str]]: - """ - The unique name of the load balancer (32 alphanumeric or hyphen characters maximum, but cannot start or end with a hyphen). - """ - return pulumi.get(self, "load_balancer_name") - - @load_balancer_name.setter - def load_balancer_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "load_balancer_name", value) - - @property - @pulumi.getter(name="loadBalancerStickyCookiePolicies") - def load_balancer_sticky_cookie_policies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerLoadBalancerStickyCookiePolicyArgs']]]]: - """ - The policies defined for the load balancer. - """ - return pulumi.get(self, "load_balancer_sticky_cookie_policies") - - @load_balancer_sticky_cookie_policies.setter - def load_balancer_sticky_cookie_policies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerLoadBalancerStickyCookiePolicyArgs']]]]): - pulumi.set(self, "load_balancer_sticky_cookie_policies", value) - - @property - @pulumi.getter(name="loadBalancerType") - def load_balancer_type(self) -> Optional[pulumi.Input[str]]: - """ - The type of load balancer: `internet-facing` or `internal`. Use this parameter only for load balancers in a Net. - """ - return pulumi.get(self, "load_balancer_type") - - @load_balancer_type.setter - def load_balancer_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "load_balancer_type", value) - - @property - @pulumi.getter(name="netId") - def net_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Net for the load balancer. - """ - return pulumi.get(self, "net_id") - - @net_id.setter - def net_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "net_id", value) - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> Optional[pulumi.Input[str]]: - """ - (internet-facing only) The public IP you want to associate with the load balancer. If not specified, a public IP owned by 3DS OUTSCALE is associated. - """ - return pulumi.get(self, "public_ip") - - @public_ip.setter - def public_ip(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_ip", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter(name="securedCookies") - def secured_cookies(self) -> Optional[pulumi.Input[bool]]: - """ - Whether secure cookies are enabled for the load balancer. - """ - return pulumi.get(self, "secured_cookies") - - @secured_cookies.setter - def secured_cookies(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "secured_cookies", value) - - @property - @pulumi.getter(name="securityGroups") - def security_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - (Net only) One or more IDs of security groups you want to assign to the load balancer. If not specified, the default security group of the Net is assigned to the load balancer. - """ - return pulumi.get(self, "security_groups") - - @security_groups.setter - def security_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "security_groups", value) - - @property - @pulumi.getter(name="sourceSecurityGroups") - def source_security_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerSourceSecurityGroupArgs']]]]: - """ - Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.
- To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. - """ - return pulumi.get(self, "source_security_groups") - - @source_security_groups.setter - def source_security_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerSourceSecurityGroupArgs']]]]): - pulumi.set(self, "source_security_groups", value) - - @property - @pulumi.getter - def subnets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - (Net only) The ID of the Subnet in which you want to create the load balancer. Regardless of this Subnet, the load balancer can distribute traffic to all Subnets. This parameter is required in a Net. - """ - return pulumi.get(self, "subnets") - - @subnets.setter - def subnets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "subnets", value) - - @property - @pulumi.getter(name="subregionNames") - def subregion_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - (public Cloud only) The Subregion in which you want to create the load balancer. Regardless of this Subregion, the load balancer can distribute traffic to all Subregions. This parameter is required in the public Cloud. - """ - return pulumi.get(self, "subregion_names") - - @subregion_names.setter - def subregion_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "subregion_names", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerTagArgs']]]]): - pulumi.set(self, "tags", value) - - -class LoadBalancer(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - access_logs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerAccessLogArgs']]]]] = None, - backend_vm_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - listeners: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerListenerArgs']]]]] = None, - load_balancer_name: Optional[pulumi.Input[str]] = None, - load_balancer_type: Optional[pulumi.Input[str]] = None, - public_ip: Optional[pulumi.Input[str]] = None, - secured_cookies: Optional[pulumi.Input[bool]] = None, - security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - subnets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - subregion_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerTagArgs']]]]] = None, - __props__=None): - """ - Manages a load balancer. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Load-Balancers.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-loadbalancer). - - ## Example Usage - ### Create a load balancer in the public Cloud - - ```python - import pulumi - import pulumi_outscale as outscale - - load_balancer01 = outscale.LoadBalancer("loadBalancer01", - listeners=[outscale.LoadBalancerListenerArgs( - backend_port=8080, - backend_protocol="HTTP", - load_balancer_port=8080, - load_balancer_protocol="HTTP", - )], - load_balancer_name="terraform-public-load-balancer", - subregion_names=[f"{var['region']}a"], - tags=[outscale.LoadBalancerTagArgs( - key="name", - value="terraform-public-load-balancer", - )]) - ``` - ### Create a load balancer in a Net - - ```python - import pulumi - import pulumi_outscale as outscale - - net01 = outscale.Net("net01", ip_range="10.0.0.0/16") - subnet01 = outscale.Subnet("subnet01", - net_id=net01.net_id, - ip_range="10.0.0.0/24", - tags=[outscale.SubnetTagArgs( - key="Name", - value="terraform-subnet-for-internal-load-balancer", - )]) - security_group01 = outscale.SecurityGroup("securityGroup01", - description="Terraform security group for internal load balancer", - security_group_name="terraform-security-group-for-internal-load-balancer", - net_id=net01.net_id, - tags=[outscale.SecurityGroupTagArgs( - key="Name", - value="terraform-security-group-for-internal-load-balancer", - )]) - load_balancer02 = outscale.LoadBalancer("loadBalancer02", - load_balancer_name="terraform-private-load-balancer", - listeners=[outscale.LoadBalancerListenerArgs( - backend_port=80, - backend_protocol="TCP", - load_balancer_protocol="TCP", - load_balancer_port=80, - )], - subnets=[subnet01.subnet_id], - security_groups=[security_group01.security_group_id], - load_balancer_type="internal", - tags=[outscale.LoadBalancerTagArgs( - key="name", - value="terraform-private-load-balancer", - )]) - ``` - ### Create an internet-facing load balancer in a Net - - ```python - import pulumi - import pulumi_outscale as outscale - - net02 = outscale.Net("net02", ip_range="10.0.0.0/16") - subnet02 = outscale.Subnet("subnet02", - net_id=net02.net_id, - ip_range="10.0.0.0/24", - tags=[outscale.SubnetTagArgs( - key="Name", - value="terraform-security-group-for-load-balancer", - )]) - internet_service01 = outscale.InternetService("internetService01", opts=pulumi.ResourceOptions(depends_on=[net02])) - internet_service_link01 = outscale.InternetServiceLink("internetServiceLink01", - internet_service_id=internet_service01.internet_service_id, - net_id=net02.net_id) - route_table01 = outscale.RouteTable("routeTable01", - net_id=net02.net_id, - tags=[outscale.RouteTableTagArgs( - key="name", - value="terraform-route-table-for-load-balancer", - )]) - route01 = outscale.Route("route01", - gateway_id=internet_service01.id, - destination_ip_range="10.0.0.0/0", - route_table_id=route_table01.route_table_id) - route_table_link01 = outscale.RouteTableLink("routeTableLink01", - route_table_id=route_table01.route_table_id, - subnet_id=subnet02.subnet_id) - load_balancer03 = outscale.LoadBalancer("loadBalancer03", - load_balancer_name="terraform-internet-private-lb", - listeners=[ - outscale.LoadBalancerListenerArgs( - backend_port=80, - backend_protocol="TCP", - load_balancer_protocol="TCP", - load_balancer_port=80, - ), - outscale.LoadBalancerListenerArgs( - backend_port=8080, - backend_protocol="HTTP", - load_balancer_protocol="HTTP", - load_balancer_port=8080, - ), - ], - subnets=[subnet02.subnet_id], - load_balancer_type="internet-facing", - public_ip="192.0.2.0", - tags=[outscale.LoadBalancerTagArgs( - key="name", - value="terraform-internet-private-lb", - )], - opts=pulumi.ResourceOptions(depends_on=[ - route01, - route_table_link01, - ])) - ``` - - ## Import - - A load balancer can be imported using its name. For exampleconsole - - ```sh - $ pulumi import outscale:index/loadBalancer:LoadBalancer ImportedLbu Name-of-the-Lbu - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerAccessLogArgs']]]] access_logs: Information about access logs. - :param pulumi.Input[Sequence[pulumi.Input[str]]] backend_vm_ids: One or more IDs of back-end VMs for the load balancer. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerListenerArgs']]]] listeners: One or more listeners to create. - :param pulumi.Input[str] load_balancer_name: The unique name of the load balancer (32 alphanumeric or hyphen characters maximum, but cannot start or end with a hyphen). - :param pulumi.Input[str] load_balancer_type: The type of load balancer: `internet-facing` or `internal`. Use this parameter only for load balancers in a Net. - :param pulumi.Input[str] public_ip: (internet-facing only) The public IP you want to associate with the load balancer. If not specified, a public IP owned by 3DS OUTSCALE is associated. - :param pulumi.Input[bool] secured_cookies: Whether secure cookies are enabled for the load balancer. - :param pulumi.Input[Sequence[pulumi.Input[str]]] security_groups: (Net only) One or more IDs of security groups you want to assign to the load balancer. If not specified, the default security group of the Net is assigned to the load balancer. - :param pulumi.Input[Sequence[pulumi.Input[str]]] subnets: (Net only) The ID of the Subnet in which you want to create the load balancer. Regardless of this Subnet, the load balancer can distribute traffic to all Subnets. This parameter is required in a Net. - :param pulumi.Input[Sequence[pulumi.Input[str]]] subregion_names: (public Cloud only) The Subregion in which you want to create the load balancer. Regardless of this Subregion, the load balancer can distribute traffic to all Subregions. This parameter is required in the public Cloud. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: LoadBalancerArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages a load balancer. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Load-Balancers.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-loadbalancer). - - ## Example Usage - ### Create a load balancer in the public Cloud - - ```python - import pulumi - import pulumi_outscale as outscale - - load_balancer01 = outscale.LoadBalancer("loadBalancer01", - listeners=[outscale.LoadBalancerListenerArgs( - backend_port=8080, - backend_protocol="HTTP", - load_balancer_port=8080, - load_balancer_protocol="HTTP", - )], - load_balancer_name="terraform-public-load-balancer", - subregion_names=[f"{var['region']}a"], - tags=[outscale.LoadBalancerTagArgs( - key="name", - value="terraform-public-load-balancer", - )]) - ``` - ### Create a load balancer in a Net - - ```python - import pulumi - import pulumi_outscale as outscale - - net01 = outscale.Net("net01", ip_range="10.0.0.0/16") - subnet01 = outscale.Subnet("subnet01", - net_id=net01.net_id, - ip_range="10.0.0.0/24", - tags=[outscale.SubnetTagArgs( - key="Name", - value="terraform-subnet-for-internal-load-balancer", - )]) - security_group01 = outscale.SecurityGroup("securityGroup01", - description="Terraform security group for internal load balancer", - security_group_name="terraform-security-group-for-internal-load-balancer", - net_id=net01.net_id, - tags=[outscale.SecurityGroupTagArgs( - key="Name", - value="terraform-security-group-for-internal-load-balancer", - )]) - load_balancer02 = outscale.LoadBalancer("loadBalancer02", - load_balancer_name="terraform-private-load-balancer", - listeners=[outscale.LoadBalancerListenerArgs( - backend_port=80, - backend_protocol="TCP", - load_balancer_protocol="TCP", - load_balancer_port=80, - )], - subnets=[subnet01.subnet_id], - security_groups=[security_group01.security_group_id], - load_balancer_type="internal", - tags=[outscale.LoadBalancerTagArgs( - key="name", - value="terraform-private-load-balancer", - )]) - ``` - ### Create an internet-facing load balancer in a Net - - ```python - import pulumi - import pulumi_outscale as outscale - - net02 = outscale.Net("net02", ip_range="10.0.0.0/16") - subnet02 = outscale.Subnet("subnet02", - net_id=net02.net_id, - ip_range="10.0.0.0/24", - tags=[outscale.SubnetTagArgs( - key="Name", - value="terraform-security-group-for-load-balancer", - )]) - internet_service01 = outscale.InternetService("internetService01", opts=pulumi.ResourceOptions(depends_on=[net02])) - internet_service_link01 = outscale.InternetServiceLink("internetServiceLink01", - internet_service_id=internet_service01.internet_service_id, - net_id=net02.net_id) - route_table01 = outscale.RouteTable("routeTable01", - net_id=net02.net_id, - tags=[outscale.RouteTableTagArgs( - key="name", - value="terraform-route-table-for-load-balancer", - )]) - route01 = outscale.Route("route01", - gateway_id=internet_service01.id, - destination_ip_range="10.0.0.0/0", - route_table_id=route_table01.route_table_id) - route_table_link01 = outscale.RouteTableLink("routeTableLink01", - route_table_id=route_table01.route_table_id, - subnet_id=subnet02.subnet_id) - load_balancer03 = outscale.LoadBalancer("loadBalancer03", - load_balancer_name="terraform-internet-private-lb", - listeners=[ - outscale.LoadBalancerListenerArgs( - backend_port=80, - backend_protocol="TCP", - load_balancer_protocol="TCP", - load_balancer_port=80, - ), - outscale.LoadBalancerListenerArgs( - backend_port=8080, - backend_protocol="HTTP", - load_balancer_protocol="HTTP", - load_balancer_port=8080, - ), - ], - subnets=[subnet02.subnet_id], - load_balancer_type="internet-facing", - public_ip="192.0.2.0", - tags=[outscale.LoadBalancerTagArgs( - key="name", - value="terraform-internet-private-lb", - )], - opts=pulumi.ResourceOptions(depends_on=[ - route01, - route_table_link01, - ])) - ``` - - ## Import - - A load balancer can be imported using its name. For exampleconsole - - ```sh - $ pulumi import outscale:index/loadBalancer:LoadBalancer ImportedLbu Name-of-the-Lbu - ``` - - :param str resource_name: The name of the resource. - :param LoadBalancerArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(LoadBalancerArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - access_logs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerAccessLogArgs']]]]] = None, - backend_vm_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - listeners: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerListenerArgs']]]]] = None, - load_balancer_name: Optional[pulumi.Input[str]] = None, - load_balancer_type: Optional[pulumi.Input[str]] = None, - public_ip: Optional[pulumi.Input[str]] = None, - secured_cookies: Optional[pulumi.Input[bool]] = None, - security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - subnets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - subregion_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerTagArgs']]]]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = LoadBalancerArgs.__new__(LoadBalancerArgs) - - __props__.__dict__["access_logs"] = access_logs - __props__.__dict__["backend_vm_ids"] = backend_vm_ids - if listeners is None and not opts.urn: - raise TypeError("Missing required property 'listeners'") - __props__.__dict__["listeners"] = listeners - if load_balancer_name is None and not opts.urn: - raise TypeError("Missing required property 'load_balancer_name'") - __props__.__dict__["load_balancer_name"] = load_balancer_name - __props__.__dict__["load_balancer_type"] = load_balancer_type - __props__.__dict__["public_ip"] = public_ip - __props__.__dict__["secured_cookies"] = secured_cookies - __props__.__dict__["security_groups"] = security_groups - __props__.__dict__["subnets"] = subnets - __props__.__dict__["subregion_names"] = subregion_names - __props__.__dict__["tags"] = tags - __props__.__dict__["application_sticky_cookie_policies"] = None - __props__.__dict__["dns_name"] = None - __props__.__dict__["health_checks"] = None - __props__.__dict__["load_balancer_sticky_cookie_policies"] = None - __props__.__dict__["net_id"] = None - __props__.__dict__["request_id"] = None - __props__.__dict__["source_security_groups"] = None - super(LoadBalancer, __self__).__init__( - 'outscale:index/loadBalancer:LoadBalancer', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - access_logs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerAccessLogArgs']]]]] = None, - application_sticky_cookie_policies: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerApplicationStickyCookiePolicyArgs']]]]] = None, - backend_vm_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - dns_name: Optional[pulumi.Input[str]] = None, - health_checks: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerHealthCheckArgs']]]]] = None, - listeners: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerListenerArgs']]]]] = None, - load_balancer_name: Optional[pulumi.Input[str]] = None, - load_balancer_sticky_cookie_policies: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerLoadBalancerStickyCookiePolicyArgs']]]]] = None, - load_balancer_type: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None, - public_ip: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - secured_cookies: Optional[pulumi.Input[bool]] = None, - security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - source_security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerSourceSecurityGroupArgs']]]]] = None, - subnets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - subregion_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerTagArgs']]]]] = None) -> 'LoadBalancer': - """ - Get an existing LoadBalancer resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerAccessLogArgs']]]] access_logs: Information about access logs. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerApplicationStickyCookiePolicyArgs']]]] application_sticky_cookie_policies: The stickiness policies defined for the load balancer. - :param pulumi.Input[Sequence[pulumi.Input[str]]] backend_vm_ids: One or more IDs of back-end VMs for the load balancer. - :param pulumi.Input[str] dns_name: The DNS name of the load balancer. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerHealthCheckArgs']]]] health_checks: Information about the health check configuration. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerListenerArgs']]]] listeners: One or more listeners to create. - :param pulumi.Input[str] load_balancer_name: The unique name of the load balancer (32 alphanumeric or hyphen characters maximum, but cannot start or end with a hyphen). - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerLoadBalancerStickyCookiePolicyArgs']]]] load_balancer_sticky_cookie_policies: The policies defined for the load balancer. - :param pulumi.Input[str] load_balancer_type: The type of load balancer: `internet-facing` or `internal`. Use this parameter only for load balancers in a Net. - :param pulumi.Input[str] net_id: The ID of the Net for the load balancer. - :param pulumi.Input[str] public_ip: (internet-facing only) The public IP you want to associate with the load balancer. If not specified, a public IP owned by 3DS OUTSCALE is associated. - :param pulumi.Input[bool] secured_cookies: Whether secure cookies are enabled for the load balancer. - :param pulumi.Input[Sequence[pulumi.Input[str]]] security_groups: (Net only) One or more IDs of security groups you want to assign to the load balancer. If not specified, the default security group of the Net is assigned to the load balancer. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerSourceSecurityGroupArgs']]]] source_security_groups: Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.
- To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. - :param pulumi.Input[Sequence[pulumi.Input[str]]] subnets: (Net only) The ID of the Subnet in which you want to create the load balancer. Regardless of this Subnet, the load balancer can distribute traffic to all Subnets. This parameter is required in a Net. - :param pulumi.Input[Sequence[pulumi.Input[str]]] subregion_names: (public Cloud only) The Subregion in which you want to create the load balancer. Regardless of this Subregion, the load balancer can distribute traffic to all Subregions. This parameter is required in the public Cloud. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _LoadBalancerState.__new__(_LoadBalancerState) - - __props__.__dict__["access_logs"] = access_logs - __props__.__dict__["application_sticky_cookie_policies"] = application_sticky_cookie_policies - __props__.__dict__["backend_vm_ids"] = backend_vm_ids - __props__.__dict__["dns_name"] = dns_name - __props__.__dict__["health_checks"] = health_checks - __props__.__dict__["listeners"] = listeners - __props__.__dict__["load_balancer_name"] = load_balancer_name - __props__.__dict__["load_balancer_sticky_cookie_policies"] = load_balancer_sticky_cookie_policies - __props__.__dict__["load_balancer_type"] = load_balancer_type - __props__.__dict__["net_id"] = net_id - __props__.__dict__["public_ip"] = public_ip - __props__.__dict__["request_id"] = request_id - __props__.__dict__["secured_cookies"] = secured_cookies - __props__.__dict__["security_groups"] = security_groups - __props__.__dict__["source_security_groups"] = source_security_groups - __props__.__dict__["subnets"] = subnets - __props__.__dict__["subregion_names"] = subregion_names - __props__.__dict__["tags"] = tags - return LoadBalancer(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="accessLogs") - def access_logs(self) -> pulumi.Output[Sequence['outputs.LoadBalancerAccessLog']]: - """ - Information about access logs. - """ - return pulumi.get(self, "access_logs") - - @property - @pulumi.getter(name="applicationStickyCookiePolicies") - def application_sticky_cookie_policies(self) -> pulumi.Output[Sequence['outputs.LoadBalancerApplicationStickyCookiePolicy']]: - """ - The stickiness policies defined for the load balancer. - """ - return pulumi.get(self, "application_sticky_cookie_policies") - - @property - @pulumi.getter(name="backendVmIds") - def backend_vm_ids(self) -> pulumi.Output[Sequence[str]]: - """ - One or more IDs of back-end VMs for the load balancer. - """ - return pulumi.get(self, "backend_vm_ids") - - @property - @pulumi.getter(name="dnsName") - def dns_name(self) -> pulumi.Output[str]: - """ - The DNS name of the load balancer. - """ - return pulumi.get(self, "dns_name") - - @property - @pulumi.getter(name="healthChecks") - def health_checks(self) -> pulumi.Output[Sequence['outputs.LoadBalancerHealthCheck']]: - """ - Information about the health check configuration. - """ - return pulumi.get(self, "health_checks") - - @property - @pulumi.getter - def listeners(self) -> pulumi.Output[Sequence['outputs.LoadBalancerListener']]: - """ - One or more listeners to create. - """ - return pulumi.get(self, "listeners") - - @property - @pulumi.getter(name="loadBalancerName") - def load_balancer_name(self) -> pulumi.Output[str]: - """ - The unique name of the load balancer (32 alphanumeric or hyphen characters maximum, but cannot start or end with a hyphen). - """ - return pulumi.get(self, "load_balancer_name") - - @property - @pulumi.getter(name="loadBalancerStickyCookiePolicies") - def load_balancer_sticky_cookie_policies(self) -> pulumi.Output[Sequence['outputs.LoadBalancerLoadBalancerStickyCookiePolicy']]: - """ - The policies defined for the load balancer. - """ - return pulumi.get(self, "load_balancer_sticky_cookie_policies") - - @property - @pulumi.getter(name="loadBalancerType") - def load_balancer_type(self) -> pulumi.Output[str]: - """ - The type of load balancer: `internet-facing` or `internal`. Use this parameter only for load balancers in a Net. - """ - return pulumi.get(self, "load_balancer_type") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> pulumi.Output[str]: - """ - The ID of the Net for the load balancer. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> pulumi.Output[str]: - """ - (internet-facing only) The public IP you want to associate with the load balancer. If not specified, a public IP owned by 3DS OUTSCALE is associated. - """ - return pulumi.get(self, "public_ip") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="securedCookies") - def secured_cookies(self) -> pulumi.Output[bool]: - """ - Whether secure cookies are enabled for the load balancer. - """ - return pulumi.get(self, "secured_cookies") - - @property - @pulumi.getter(name="securityGroups") - def security_groups(self) -> pulumi.Output[Sequence[str]]: - """ - (Net only) One or more IDs of security groups you want to assign to the load balancer. If not specified, the default security group of the Net is assigned to the load balancer. - """ - return pulumi.get(self, "security_groups") - - @property - @pulumi.getter(name="sourceSecurityGroups") - def source_security_groups(self) -> pulumi.Output[Sequence['outputs.LoadBalancerSourceSecurityGroup']]: - """ - Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.
- To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. - """ - return pulumi.get(self, "source_security_groups") - - @property - @pulumi.getter - def subnets(self) -> pulumi.Output[Sequence[str]]: - """ - (Net only) The ID of the Subnet in which you want to create the load balancer. Regardless of this Subnet, the load balancer can distribute traffic to all Subnets. This parameter is required in a Net. - """ - return pulumi.get(self, "subnets") - - @property - @pulumi.getter(name="subregionNames") - def subregion_names(self) -> pulumi.Output[Sequence[str]]: - """ - (public Cloud only) The Subregion in which you want to create the load balancer. Regardless of this Subregion, the load balancer can distribute traffic to all Subregions. This parameter is required in the public Cloud. - """ - return pulumi.get(self, "subregion_names") - - @property - @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Sequence['outputs.LoadBalancerTag']]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - diff --git a/sdk/python/pulumi_outscale/load_balancer_attributes.py b/sdk/python/pulumi_outscale/load_balancer_attributes.py deleted file mode 100644 index 40b88ac..0000000 --- a/sdk/python/pulumi_outscale/load_balancer_attributes.py +++ /dev/null @@ -1,944 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['LoadBalancerAttributesArgs', 'LoadBalancerAttributes'] - -@pulumi.input_type -class LoadBalancerAttributesArgs: - def __init__(__self__, *, - load_balancer_name: pulumi.Input[str], - access_log: Optional[pulumi.Input['LoadBalancerAttributesAccessLogArgs']] = None, - health_check: Optional[pulumi.Input['LoadBalancerAttributesHealthCheckArgs']] = None, - load_balancer_port: Optional[pulumi.Input[int]] = None, - policy_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - server_certificate_id: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerAttributesTagArgs']]]] = None): - """ - The set of arguments for constructing a LoadBalancerAttributes resource. - :param pulumi.Input[str] load_balancer_name: The name of the load balancer. - :param pulumi.Input['LoadBalancerAttributesAccessLogArgs'] access_log: Information about access logs. - :param pulumi.Input['LoadBalancerAttributesHealthCheckArgs'] health_check: Information about the health check configuration. - :param pulumi.Input[int] load_balancer_port: The port on which the load balancer is listening (between `1` and `65535`, both included). This parameter is required if you want to update the server certificate. - :param pulumi.Input[Sequence[pulumi.Input[str]]] policy_names: The name of the policy you want to enable for the listener. - :param pulumi.Input[str] server_certificate_id: The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). If this parameter is specified, you must also specify the `load_balancer_port` parameter. - :param pulumi.Input[Sequence[pulumi.Input['LoadBalancerAttributesTagArgs']]] tags: One or more tags associated with the load balancer. - """ - pulumi.set(__self__, "load_balancer_name", load_balancer_name) - if access_log is not None: - pulumi.set(__self__, "access_log", access_log) - if health_check is not None: - pulumi.set(__self__, "health_check", health_check) - if load_balancer_port is not None: - pulumi.set(__self__, "load_balancer_port", load_balancer_port) - if policy_names is not None: - pulumi.set(__self__, "policy_names", policy_names) - if server_certificate_id is not None: - pulumi.set(__self__, "server_certificate_id", server_certificate_id) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="loadBalancerName") - def load_balancer_name(self) -> pulumi.Input[str]: - """ - The name of the load balancer. - """ - return pulumi.get(self, "load_balancer_name") - - @load_balancer_name.setter - def load_balancer_name(self, value: pulumi.Input[str]): - pulumi.set(self, "load_balancer_name", value) - - @property - @pulumi.getter(name="accessLog") - def access_log(self) -> Optional[pulumi.Input['LoadBalancerAttributesAccessLogArgs']]: - """ - Information about access logs. - """ - return pulumi.get(self, "access_log") - - @access_log.setter - def access_log(self, value: Optional[pulumi.Input['LoadBalancerAttributesAccessLogArgs']]): - pulumi.set(self, "access_log", value) - - @property - @pulumi.getter(name="healthCheck") - def health_check(self) -> Optional[pulumi.Input['LoadBalancerAttributesHealthCheckArgs']]: - """ - Information about the health check configuration. - """ - return pulumi.get(self, "health_check") - - @health_check.setter - def health_check(self, value: Optional[pulumi.Input['LoadBalancerAttributesHealthCheckArgs']]): - pulumi.set(self, "health_check", value) - - @property - @pulumi.getter(name="loadBalancerPort") - def load_balancer_port(self) -> Optional[pulumi.Input[int]]: - """ - The port on which the load balancer is listening (between `1` and `65535`, both included). This parameter is required if you want to update the server certificate. - """ - return pulumi.get(self, "load_balancer_port") - - @load_balancer_port.setter - def load_balancer_port(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "load_balancer_port", value) - - @property - @pulumi.getter(name="policyNames") - def policy_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - The name of the policy you want to enable for the listener. - """ - return pulumi.get(self, "policy_names") - - @policy_names.setter - def policy_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "policy_names", value) - - @property - @pulumi.getter(name="serverCertificateId") - def server_certificate_id(self) -> Optional[pulumi.Input[str]]: - """ - The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). If this parameter is specified, you must also specify the `load_balancer_port` parameter. - """ - return pulumi.get(self, "server_certificate_id") - - @server_certificate_id.setter - def server_certificate_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "server_certificate_id", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerAttributesTagArgs']]]]: - """ - One or more tags associated with the load balancer. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerAttributesTagArgs']]]]): - pulumi.set(self, "tags", value) - - -@pulumi.input_type -class _LoadBalancerAttributesState: - def __init__(__self__, *, - access_log: Optional[pulumi.Input['LoadBalancerAttributesAccessLogArgs']] = None, - application_sticky_cookie_policies: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerAttributesApplicationStickyCookiePolicyArgs']]]] = None, - backend_vm_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - dns_name: Optional[pulumi.Input[str]] = None, - health_check: Optional[pulumi.Input['LoadBalancerAttributesHealthCheckArgs']] = None, - listeners: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerAttributesListenerArgs']]]] = None, - load_balancer_name: Optional[pulumi.Input[str]] = None, - load_balancer_port: Optional[pulumi.Input[int]] = None, - load_balancer_sticky_cookie_policies: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerAttributesLoadBalancerStickyCookiePolicyArgs']]]] = None, - load_balancer_type: Optional[pulumi.Input[str]] = None, - policy_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - request_id: Optional[pulumi.Input[str]] = None, - security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - server_certificate_id: Optional[pulumi.Input[str]] = None, - source_security_groups: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerAttributesSourceSecurityGroupArgs']]]] = None, - subnets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - subregion_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerAttributesTagArgs']]]] = None): - """ - Input properties used for looking up and filtering LoadBalancerAttributes resources. - :param pulumi.Input['LoadBalancerAttributesAccessLogArgs'] access_log: Information about access logs. - :param pulumi.Input[Sequence[pulumi.Input['LoadBalancerAttributesApplicationStickyCookiePolicyArgs']]] application_sticky_cookie_policies: The stickiness policies defined for the load balancer. - :param pulumi.Input[Sequence[pulumi.Input[str]]] backend_vm_ids: One or more IDs of back-end VMs for the load balancer. - :param pulumi.Input[str] dns_name: The DNS name of the load balancer. - :param pulumi.Input['LoadBalancerAttributesHealthCheckArgs'] health_check: Information about the health check configuration. - :param pulumi.Input[Sequence[pulumi.Input['LoadBalancerAttributesListenerArgs']]] listeners: The listeners for the load balancer. - :param pulumi.Input[str] load_balancer_name: The name of the load balancer. - :param pulumi.Input[int] load_balancer_port: The port on which the load balancer is listening (between `1` and `65535`, both included). This parameter is required if you want to update the server certificate. - :param pulumi.Input[Sequence[pulumi.Input['LoadBalancerAttributesLoadBalancerStickyCookiePolicyArgs']]] load_balancer_sticky_cookie_policies: The policies defined for the load balancer. - :param pulumi.Input[str] load_balancer_type: The type of load balancer. Valid only for load balancers in a Net.
- If `load_balancer_type` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.
- If `load_balancer_type` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - :param pulumi.Input[Sequence[pulumi.Input[str]]] policy_names: The name of the policy you want to enable for the listener. - :param pulumi.Input[Sequence[pulumi.Input[str]]] security_groups: One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - :param pulumi.Input[str] server_certificate_id: The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). If this parameter is specified, you must also specify the `load_balancer_port` parameter. - :param pulumi.Input[Sequence[pulumi.Input['LoadBalancerAttributesSourceSecurityGroupArgs']]] source_security_groups: Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.
- To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. - :param pulumi.Input[Sequence[pulumi.Input[str]]] subnets: The ID of the Subnet in which the load balancer was created. - :param pulumi.Input[Sequence[pulumi.Input[str]]] subregion_names: The ID of the Subregion in which the load balancer was created. - :param pulumi.Input[Sequence[pulumi.Input['LoadBalancerAttributesTagArgs']]] tags: One or more tags associated with the load balancer. - """ - if access_log is not None: - pulumi.set(__self__, "access_log", access_log) - if application_sticky_cookie_policies is not None: - pulumi.set(__self__, "application_sticky_cookie_policies", application_sticky_cookie_policies) - if backend_vm_ids is not None: - pulumi.set(__self__, "backend_vm_ids", backend_vm_ids) - if dns_name is not None: - pulumi.set(__self__, "dns_name", dns_name) - if health_check is not None: - pulumi.set(__self__, "health_check", health_check) - if listeners is not None: - pulumi.set(__self__, "listeners", listeners) - if load_balancer_name is not None: - pulumi.set(__self__, "load_balancer_name", load_balancer_name) - if load_balancer_port is not None: - pulumi.set(__self__, "load_balancer_port", load_balancer_port) - if load_balancer_sticky_cookie_policies is not None: - pulumi.set(__self__, "load_balancer_sticky_cookie_policies", load_balancer_sticky_cookie_policies) - if load_balancer_type is not None: - pulumi.set(__self__, "load_balancer_type", load_balancer_type) - if policy_names is not None: - pulumi.set(__self__, "policy_names", policy_names) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if security_groups is not None: - pulumi.set(__self__, "security_groups", security_groups) - if server_certificate_id is not None: - pulumi.set(__self__, "server_certificate_id", server_certificate_id) - if source_security_groups is not None: - pulumi.set(__self__, "source_security_groups", source_security_groups) - if subnets is not None: - pulumi.set(__self__, "subnets", subnets) - if subregion_names is not None: - pulumi.set(__self__, "subregion_names", subregion_names) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="accessLog") - def access_log(self) -> Optional[pulumi.Input['LoadBalancerAttributesAccessLogArgs']]: - """ - Information about access logs. - """ - return pulumi.get(self, "access_log") - - @access_log.setter - def access_log(self, value: Optional[pulumi.Input['LoadBalancerAttributesAccessLogArgs']]): - pulumi.set(self, "access_log", value) - - @property - @pulumi.getter(name="applicationStickyCookiePolicies") - def application_sticky_cookie_policies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerAttributesApplicationStickyCookiePolicyArgs']]]]: - """ - The stickiness policies defined for the load balancer. - """ - return pulumi.get(self, "application_sticky_cookie_policies") - - @application_sticky_cookie_policies.setter - def application_sticky_cookie_policies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerAttributesApplicationStickyCookiePolicyArgs']]]]): - pulumi.set(self, "application_sticky_cookie_policies", value) - - @property - @pulumi.getter(name="backendVmIds") - def backend_vm_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - One or more IDs of back-end VMs for the load balancer. - """ - return pulumi.get(self, "backend_vm_ids") - - @backend_vm_ids.setter - def backend_vm_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "backend_vm_ids", value) - - @property - @pulumi.getter(name="dnsName") - def dns_name(self) -> Optional[pulumi.Input[str]]: - """ - The DNS name of the load balancer. - """ - return pulumi.get(self, "dns_name") - - @dns_name.setter - def dns_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "dns_name", value) - - @property - @pulumi.getter(name="healthCheck") - def health_check(self) -> Optional[pulumi.Input['LoadBalancerAttributesHealthCheckArgs']]: - """ - Information about the health check configuration. - """ - return pulumi.get(self, "health_check") - - @health_check.setter - def health_check(self, value: Optional[pulumi.Input['LoadBalancerAttributesHealthCheckArgs']]): - pulumi.set(self, "health_check", value) - - @property - @pulumi.getter - def listeners(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerAttributesListenerArgs']]]]: - """ - The listeners for the load balancer. - """ - return pulumi.get(self, "listeners") - - @listeners.setter - def listeners(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerAttributesListenerArgs']]]]): - pulumi.set(self, "listeners", value) - - @property - @pulumi.getter(name="loadBalancerName") - def load_balancer_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the load balancer. - """ - return pulumi.get(self, "load_balancer_name") - - @load_balancer_name.setter - def load_balancer_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "load_balancer_name", value) - - @property - @pulumi.getter(name="loadBalancerPort") - def load_balancer_port(self) -> Optional[pulumi.Input[int]]: - """ - The port on which the load balancer is listening (between `1` and `65535`, both included). This parameter is required if you want to update the server certificate. - """ - return pulumi.get(self, "load_balancer_port") - - @load_balancer_port.setter - def load_balancer_port(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "load_balancer_port", value) - - @property - @pulumi.getter(name="loadBalancerStickyCookiePolicies") - def load_balancer_sticky_cookie_policies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerAttributesLoadBalancerStickyCookiePolicyArgs']]]]: - """ - The policies defined for the load balancer. - """ - return pulumi.get(self, "load_balancer_sticky_cookie_policies") - - @load_balancer_sticky_cookie_policies.setter - def load_balancer_sticky_cookie_policies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerAttributesLoadBalancerStickyCookiePolicyArgs']]]]): - pulumi.set(self, "load_balancer_sticky_cookie_policies", value) - - @property - @pulumi.getter(name="loadBalancerType") - def load_balancer_type(self) -> Optional[pulumi.Input[str]]: - """ - The type of load balancer. Valid only for load balancers in a Net.
- If `load_balancer_type` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.
- If `load_balancer_type` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - """ - return pulumi.get(self, "load_balancer_type") - - @load_balancer_type.setter - def load_balancer_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "load_balancer_type", value) - - @property - @pulumi.getter(name="policyNames") - def policy_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - The name of the policy you want to enable for the listener. - """ - return pulumi.get(self, "policy_names") - - @policy_names.setter - def policy_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "policy_names", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter(name="securityGroups") - def security_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - """ - return pulumi.get(self, "security_groups") - - @security_groups.setter - def security_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "security_groups", value) - - @property - @pulumi.getter(name="serverCertificateId") - def server_certificate_id(self) -> Optional[pulumi.Input[str]]: - """ - The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). If this parameter is specified, you must also specify the `load_balancer_port` parameter. - """ - return pulumi.get(self, "server_certificate_id") - - @server_certificate_id.setter - def server_certificate_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "server_certificate_id", value) - - @property - @pulumi.getter(name="sourceSecurityGroups") - def source_security_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerAttributesSourceSecurityGroupArgs']]]]: - """ - Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.
- To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. - """ - return pulumi.get(self, "source_security_groups") - - @source_security_groups.setter - def source_security_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerAttributesSourceSecurityGroupArgs']]]]): - pulumi.set(self, "source_security_groups", value) - - @property - @pulumi.getter - def subnets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - The ID of the Subnet in which the load balancer was created. - """ - return pulumi.get(self, "subnets") - - @subnets.setter - def subnets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "subnets", value) - - @property - @pulumi.getter(name="subregionNames") - def subregion_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - The ID of the Subregion in which the load balancer was created. - """ - return pulumi.get(self, "subregion_names") - - @subregion_names.setter - def subregion_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "subregion_names", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerAttributesTagArgs']]]]: - """ - One or more tags associated with the load balancer. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerAttributesTagArgs']]]]): - pulumi.set(self, "tags", value) - - -class LoadBalancerAttributes(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - access_log: Optional[pulumi.Input[pulumi.InputType['LoadBalancerAttributesAccessLogArgs']]] = None, - health_check: Optional[pulumi.Input[pulumi.InputType['LoadBalancerAttributesHealthCheckArgs']]] = None, - load_balancer_name: Optional[pulumi.Input[str]] = None, - load_balancer_port: Optional[pulumi.Input[int]] = None, - policy_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - server_certificate_id: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerAttributesTagArgs']]]]] = None, - __props__=None): - """ - Manages load balancer attributes. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Load-Balancers.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#updateloadbalancer). - - ## Example Usage - ### Required resource - - ```python - import pulumi - import pulumi_outscale as outscale - - load_balancer01 = outscale.LoadBalancer("loadBalancer01", - listeners=[ - outscale.LoadBalancerListenerArgs( - backend_port=80, - backend_protocol="HTTP", - load_balancer_port=80, - load_balancer_protocol="HTTP", - ), - outscale.LoadBalancerListenerArgs( - backend_port=8080, - backend_protocol="HTTPS", - load_balancer_port=8080, - load_balancer_protocol="HTTPS", - server_certificate_id="arn:aws:iam::012345678910:server-certificate/MyCertificates/Certificate", - ), - outscale.LoadBalancerListenerArgs( - backend_port=1024, - backend_protocol="TCP", - load_balancer_port=1024, - load_balancer_protocol="TCP", - ), - ], - load_balancer_name="terraform-load-balancer", - subregion_names=["eu-west-2a"], - tags=[ - outscale.LoadBalancerTagArgs( - key="name", - value="terraform-load-balancer", - ), - outscale.LoadBalancerTagArgs( - key="platform", - value="eu-west-2", - ), - ]) - ``` - ### Update health check - - ```python - import pulumi - import pulumi_outscale as outscale - - attributes01 = outscale.LoadBalancerAttributes("attributes01", - load_balancer_name=outscale_load_balancer["load_balancer01"]["id"], - health_check=outscale.LoadBalancerAttributesHealthCheckArgs( - healthy_threshold=10, - check_interval=30, - path="/index.html", - port=8080, - protocol="HTTPS", - timeout=5, - unhealthy_threshold=5, - )) - ``` - ### Update access log - - ```python - import pulumi - import pulumi_outscale as outscale - - attributes02 = outscale.LoadBalancerAttributes("attributes02", - load_balancer_name=outscale_load_balancer["load_balancer01"]["id"], - access_log=outscale.LoadBalancerAttributesAccessLogArgs( - publication_interval=5, - is_enabled=True, - osu_bucket_name="terraform-access-logs", - osu_bucket_prefix="access-logs-01234", - )) - ``` - ### Update policies - - ```python - import pulumi - import pulumi_outscale as outscale - - attributes03 = outscale.LoadBalancerAttributes("attributes03", - load_balancer_name=outscale_load_balancer["load_balancer01"]["id"], - load_balancer_port=80, - policy_names=["policy-name-01"]) - ``` - ### Update SSL certificate - - ```python - import pulumi - import pulumi_outscale as outscale - - attributes04 = outscale.LoadBalancerAttributes("attributes04", - load_balancer_name=outscale_load_balancer["load_balancer01"]["id"], - load_balancer_port=8080, - server_certificate_id="arn:aws:iam::012345678910:server-certificate/MyCertificates/Certificate") - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[pulumi.InputType['LoadBalancerAttributesAccessLogArgs']] access_log: Information about access logs. - :param pulumi.Input[pulumi.InputType['LoadBalancerAttributesHealthCheckArgs']] health_check: Information about the health check configuration. - :param pulumi.Input[str] load_balancer_name: The name of the load balancer. - :param pulumi.Input[int] load_balancer_port: The port on which the load balancer is listening (between `1` and `65535`, both included). This parameter is required if you want to update the server certificate. - :param pulumi.Input[Sequence[pulumi.Input[str]]] policy_names: The name of the policy you want to enable for the listener. - :param pulumi.Input[str] server_certificate_id: The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). If this parameter is specified, you must also specify the `load_balancer_port` parameter. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerAttributesTagArgs']]]] tags: One or more tags associated with the load balancer. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: LoadBalancerAttributesArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages load balancer attributes. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Load-Balancers.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#updateloadbalancer). - - ## Example Usage - ### Required resource - - ```python - import pulumi - import pulumi_outscale as outscale - - load_balancer01 = outscale.LoadBalancer("loadBalancer01", - listeners=[ - outscale.LoadBalancerListenerArgs( - backend_port=80, - backend_protocol="HTTP", - load_balancer_port=80, - load_balancer_protocol="HTTP", - ), - outscale.LoadBalancerListenerArgs( - backend_port=8080, - backend_protocol="HTTPS", - load_balancer_port=8080, - load_balancer_protocol="HTTPS", - server_certificate_id="arn:aws:iam::012345678910:server-certificate/MyCertificates/Certificate", - ), - outscale.LoadBalancerListenerArgs( - backend_port=1024, - backend_protocol="TCP", - load_balancer_port=1024, - load_balancer_protocol="TCP", - ), - ], - load_balancer_name="terraform-load-balancer", - subregion_names=["eu-west-2a"], - tags=[ - outscale.LoadBalancerTagArgs( - key="name", - value="terraform-load-balancer", - ), - outscale.LoadBalancerTagArgs( - key="platform", - value="eu-west-2", - ), - ]) - ``` - ### Update health check - - ```python - import pulumi - import pulumi_outscale as outscale - - attributes01 = outscale.LoadBalancerAttributes("attributes01", - load_balancer_name=outscale_load_balancer["load_balancer01"]["id"], - health_check=outscale.LoadBalancerAttributesHealthCheckArgs( - healthy_threshold=10, - check_interval=30, - path="/index.html", - port=8080, - protocol="HTTPS", - timeout=5, - unhealthy_threshold=5, - )) - ``` - ### Update access log - - ```python - import pulumi - import pulumi_outscale as outscale - - attributes02 = outscale.LoadBalancerAttributes("attributes02", - load_balancer_name=outscale_load_balancer["load_balancer01"]["id"], - access_log=outscale.LoadBalancerAttributesAccessLogArgs( - publication_interval=5, - is_enabled=True, - osu_bucket_name="terraform-access-logs", - osu_bucket_prefix="access-logs-01234", - )) - ``` - ### Update policies - - ```python - import pulumi - import pulumi_outscale as outscale - - attributes03 = outscale.LoadBalancerAttributes("attributes03", - load_balancer_name=outscale_load_balancer["load_balancer01"]["id"], - load_balancer_port=80, - policy_names=["policy-name-01"]) - ``` - ### Update SSL certificate - - ```python - import pulumi - import pulumi_outscale as outscale - - attributes04 = outscale.LoadBalancerAttributes("attributes04", - load_balancer_name=outscale_load_balancer["load_balancer01"]["id"], - load_balancer_port=8080, - server_certificate_id="arn:aws:iam::012345678910:server-certificate/MyCertificates/Certificate") - ``` - - :param str resource_name: The name of the resource. - :param LoadBalancerAttributesArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(LoadBalancerAttributesArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - access_log: Optional[pulumi.Input[pulumi.InputType['LoadBalancerAttributesAccessLogArgs']]] = None, - health_check: Optional[pulumi.Input[pulumi.InputType['LoadBalancerAttributesHealthCheckArgs']]] = None, - load_balancer_name: Optional[pulumi.Input[str]] = None, - load_balancer_port: Optional[pulumi.Input[int]] = None, - policy_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - server_certificate_id: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerAttributesTagArgs']]]]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = LoadBalancerAttributesArgs.__new__(LoadBalancerAttributesArgs) - - __props__.__dict__["access_log"] = access_log - __props__.__dict__["health_check"] = health_check - if load_balancer_name is None and not opts.urn: - raise TypeError("Missing required property 'load_balancer_name'") - __props__.__dict__["load_balancer_name"] = load_balancer_name - __props__.__dict__["load_balancer_port"] = load_balancer_port - __props__.__dict__["policy_names"] = policy_names - __props__.__dict__["server_certificate_id"] = server_certificate_id - __props__.__dict__["tags"] = tags - __props__.__dict__["application_sticky_cookie_policies"] = None - __props__.__dict__["backend_vm_ids"] = None - __props__.__dict__["dns_name"] = None - __props__.__dict__["listeners"] = None - __props__.__dict__["load_balancer_sticky_cookie_policies"] = None - __props__.__dict__["load_balancer_type"] = None - __props__.__dict__["request_id"] = None - __props__.__dict__["security_groups"] = None - __props__.__dict__["source_security_groups"] = None - __props__.__dict__["subnets"] = None - __props__.__dict__["subregion_names"] = None - super(LoadBalancerAttributes, __self__).__init__( - 'outscale:index/loadBalancerAttributes:LoadBalancerAttributes', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - access_log: Optional[pulumi.Input[pulumi.InputType['LoadBalancerAttributesAccessLogArgs']]] = None, - application_sticky_cookie_policies: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerAttributesApplicationStickyCookiePolicyArgs']]]]] = None, - backend_vm_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - dns_name: Optional[pulumi.Input[str]] = None, - health_check: Optional[pulumi.Input[pulumi.InputType['LoadBalancerAttributesHealthCheckArgs']]] = None, - listeners: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerAttributesListenerArgs']]]]] = None, - load_balancer_name: Optional[pulumi.Input[str]] = None, - load_balancer_port: Optional[pulumi.Input[int]] = None, - load_balancer_sticky_cookie_policies: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerAttributesLoadBalancerStickyCookiePolicyArgs']]]]] = None, - load_balancer_type: Optional[pulumi.Input[str]] = None, - policy_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - request_id: Optional[pulumi.Input[str]] = None, - security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - server_certificate_id: Optional[pulumi.Input[str]] = None, - source_security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerAttributesSourceSecurityGroupArgs']]]]] = None, - subnets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - subregion_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerAttributesTagArgs']]]]] = None) -> 'LoadBalancerAttributes': - """ - Get an existing LoadBalancerAttributes resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[pulumi.InputType['LoadBalancerAttributesAccessLogArgs']] access_log: Information about access logs. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerAttributesApplicationStickyCookiePolicyArgs']]]] application_sticky_cookie_policies: The stickiness policies defined for the load balancer. - :param pulumi.Input[Sequence[pulumi.Input[str]]] backend_vm_ids: One or more IDs of back-end VMs for the load balancer. - :param pulumi.Input[str] dns_name: The DNS name of the load balancer. - :param pulumi.Input[pulumi.InputType['LoadBalancerAttributesHealthCheckArgs']] health_check: Information about the health check configuration. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerAttributesListenerArgs']]]] listeners: The listeners for the load balancer. - :param pulumi.Input[str] load_balancer_name: The name of the load balancer. - :param pulumi.Input[int] load_balancer_port: The port on which the load balancer is listening (between `1` and `65535`, both included). This parameter is required if you want to update the server certificate. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerAttributesLoadBalancerStickyCookiePolicyArgs']]]] load_balancer_sticky_cookie_policies: The policies defined for the load balancer. - :param pulumi.Input[str] load_balancer_type: The type of load balancer. Valid only for load balancers in a Net.
- If `load_balancer_type` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.
- If `load_balancer_type` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - :param pulumi.Input[Sequence[pulumi.Input[str]]] policy_names: The name of the policy you want to enable for the listener. - :param pulumi.Input[Sequence[pulumi.Input[str]]] security_groups: One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - :param pulumi.Input[str] server_certificate_id: The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). If this parameter is specified, you must also specify the `load_balancer_port` parameter. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerAttributesSourceSecurityGroupArgs']]]] source_security_groups: Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.
- To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. - :param pulumi.Input[Sequence[pulumi.Input[str]]] subnets: The ID of the Subnet in which the load balancer was created. - :param pulumi.Input[Sequence[pulumi.Input[str]]] subregion_names: The ID of the Subregion in which the load balancer was created. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerAttributesTagArgs']]]] tags: One or more tags associated with the load balancer. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _LoadBalancerAttributesState.__new__(_LoadBalancerAttributesState) - - __props__.__dict__["access_log"] = access_log - __props__.__dict__["application_sticky_cookie_policies"] = application_sticky_cookie_policies - __props__.__dict__["backend_vm_ids"] = backend_vm_ids - __props__.__dict__["dns_name"] = dns_name - __props__.__dict__["health_check"] = health_check - __props__.__dict__["listeners"] = listeners - __props__.__dict__["load_balancer_name"] = load_balancer_name - __props__.__dict__["load_balancer_port"] = load_balancer_port - __props__.__dict__["load_balancer_sticky_cookie_policies"] = load_balancer_sticky_cookie_policies - __props__.__dict__["load_balancer_type"] = load_balancer_type - __props__.__dict__["policy_names"] = policy_names - __props__.__dict__["request_id"] = request_id - __props__.__dict__["security_groups"] = security_groups - __props__.__dict__["server_certificate_id"] = server_certificate_id - __props__.__dict__["source_security_groups"] = source_security_groups - __props__.__dict__["subnets"] = subnets - __props__.__dict__["subregion_names"] = subregion_names - __props__.__dict__["tags"] = tags - return LoadBalancerAttributes(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="accessLog") - def access_log(self) -> pulumi.Output['outputs.LoadBalancerAttributesAccessLog']: - """ - Information about access logs. - """ - return pulumi.get(self, "access_log") - - @property - @pulumi.getter(name="applicationStickyCookiePolicies") - def application_sticky_cookie_policies(self) -> pulumi.Output[Sequence['outputs.LoadBalancerAttributesApplicationStickyCookiePolicy']]: - """ - The stickiness policies defined for the load balancer. - """ - return pulumi.get(self, "application_sticky_cookie_policies") - - @property - @pulumi.getter(name="backendVmIds") - def backend_vm_ids(self) -> pulumi.Output[Sequence[str]]: - """ - One or more IDs of back-end VMs for the load balancer. - """ - return pulumi.get(self, "backend_vm_ids") - - @property - @pulumi.getter(name="dnsName") - def dns_name(self) -> pulumi.Output[str]: - """ - The DNS name of the load balancer. - """ - return pulumi.get(self, "dns_name") - - @property - @pulumi.getter(name="healthCheck") - def health_check(self) -> pulumi.Output['outputs.LoadBalancerAttributesHealthCheck']: - """ - Information about the health check configuration. - """ - return pulumi.get(self, "health_check") - - @property - @pulumi.getter - def listeners(self) -> pulumi.Output[Sequence['outputs.LoadBalancerAttributesListener']]: - """ - The listeners for the load balancer. - """ - return pulumi.get(self, "listeners") - - @property - @pulumi.getter(name="loadBalancerName") - def load_balancer_name(self) -> pulumi.Output[str]: - """ - The name of the load balancer. - """ - return pulumi.get(self, "load_balancer_name") - - @property - @pulumi.getter(name="loadBalancerPort") - def load_balancer_port(self) -> pulumi.Output[Optional[int]]: - """ - The port on which the load balancer is listening (between `1` and `65535`, both included). This parameter is required if you want to update the server certificate. - """ - return pulumi.get(self, "load_balancer_port") - - @property - @pulumi.getter(name="loadBalancerStickyCookiePolicies") - def load_balancer_sticky_cookie_policies(self) -> pulumi.Output[Sequence['outputs.LoadBalancerAttributesLoadBalancerStickyCookiePolicy']]: - """ - The policies defined for the load balancer. - """ - return pulumi.get(self, "load_balancer_sticky_cookie_policies") - - @property - @pulumi.getter(name="loadBalancerType") - def load_balancer_type(self) -> pulumi.Output[str]: - """ - The type of load balancer. Valid only for load balancers in a Net.
- If `load_balancer_type` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.
- If `load_balancer_type` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - """ - return pulumi.get(self, "load_balancer_type") - - @property - @pulumi.getter(name="policyNames") - def policy_names(self) -> pulumi.Output[Optional[Sequence[str]]]: - """ - The name of the policy you want to enable for the listener. - """ - return pulumi.get(self, "policy_names") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="securityGroups") - def security_groups(self) -> pulumi.Output[Sequence[str]]: - """ - One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - """ - return pulumi.get(self, "security_groups") - - @property - @pulumi.getter(name="serverCertificateId") - def server_certificate_id(self) -> pulumi.Output[Optional[str]]: - """ - The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). If this parameter is specified, you must also specify the `load_balancer_port` parameter. - """ - return pulumi.get(self, "server_certificate_id") - - @property - @pulumi.getter(name="sourceSecurityGroups") - def source_security_groups(self) -> pulumi.Output[Sequence['outputs.LoadBalancerAttributesSourceSecurityGroup']]: - """ - Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.
- To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. - """ - return pulumi.get(self, "source_security_groups") - - @property - @pulumi.getter - def subnets(self) -> pulumi.Output[Sequence[str]]: - """ - The ID of the Subnet in which the load balancer was created. - """ - return pulumi.get(self, "subnets") - - @property - @pulumi.getter(name="subregionNames") - def subregion_names(self) -> pulumi.Output[Sequence[str]]: - """ - The ID of the Subregion in which the load balancer was created. - """ - return pulumi.get(self, "subregion_names") - - @property - @pulumi.getter - def tags(self) -> pulumi.Output[Sequence['outputs.LoadBalancerAttributesTag']]: - """ - One or more tags associated with the load balancer. - """ - return pulumi.get(self, "tags") - diff --git a/sdk/python/pulumi_outscale/load_balancer_policy.py b/sdk/python/pulumi_outscale/load_balancer_policy.py deleted file mode 100644 index 481b84b..0000000 --- a/sdk/python/pulumi_outscale/load_balancer_policy.py +++ /dev/null @@ -1,1022 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['LoadBalancerPolicyArgs', 'LoadBalancerPolicy'] - -@pulumi.input_type -class LoadBalancerPolicyArgs: - def __init__(__self__, *, - load_balancer_name: pulumi.Input[str], - policy_name: pulumi.Input[str], - policy_type: pulumi.Input[str], - access_logs: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerPolicyAccessLogArgs']]]] = None, - backend_vm_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - cookie_expiration_period: Optional[pulumi.Input[int]] = None, - cookie_name: Optional[pulumi.Input[str]] = None, - load_balancer_type: Optional[pulumi.Input[str]] = None, - security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - subnets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - subregion_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerPolicyTagArgs']]]] = None): - """ - The set of arguments for constructing a LoadBalancerPolicy resource. - :param pulumi.Input[str] load_balancer_name: The name of the load balancer for which you want to create a policy. - :param pulumi.Input[str] policy_name: The name of the policy. This name must be unique and consist of alphanumeric characters and dashes (-). - :param pulumi.Input[str] policy_type: The type of stickiness policy you want to create: `app` or `load_balancer`. - :param pulumi.Input[Sequence[pulumi.Input['LoadBalancerPolicyAccessLogArgs']]] access_logs: Information about access logs. - :param pulumi.Input[Sequence[pulumi.Input[str]]] backend_vm_ids: One or more IDs of back-end VMs for the load balancer. - :param pulumi.Input[str] cookie_name: The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie. - :param pulumi.Input[str] load_balancer_type: The type of load balancer. Valid only for load balancers in a Net.
- If `load_balancer_type` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.
- If `load_balancer_type` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - :param pulumi.Input[Sequence[pulumi.Input[str]]] security_groups: One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - :param pulumi.Input[Sequence[pulumi.Input[str]]] subnets: The ID of the Subnet in which the load balancer was created. - :param pulumi.Input[Sequence[pulumi.Input[str]]] subregion_names: The ID of the Subregion in which the load balancer was created. - :param pulumi.Input[Sequence[pulumi.Input['LoadBalancerPolicyTagArgs']]] tags: One or more tags associated with the load balancer. - """ - pulumi.set(__self__, "load_balancer_name", load_balancer_name) - pulumi.set(__self__, "policy_name", policy_name) - pulumi.set(__self__, "policy_type", policy_type) - if access_logs is not None: - pulumi.set(__self__, "access_logs", access_logs) - if backend_vm_ids is not None: - pulumi.set(__self__, "backend_vm_ids", backend_vm_ids) - if cookie_expiration_period is not None: - pulumi.set(__self__, "cookie_expiration_period", cookie_expiration_period) - if cookie_name is not None: - pulumi.set(__self__, "cookie_name", cookie_name) - if load_balancer_type is not None: - pulumi.set(__self__, "load_balancer_type", load_balancer_type) - if security_groups is not None: - pulumi.set(__self__, "security_groups", security_groups) - if subnets is not None: - pulumi.set(__self__, "subnets", subnets) - if subregion_names is not None: - pulumi.set(__self__, "subregion_names", subregion_names) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="loadBalancerName") - def load_balancer_name(self) -> pulumi.Input[str]: - """ - The name of the load balancer for which you want to create a policy. - """ - return pulumi.get(self, "load_balancer_name") - - @load_balancer_name.setter - def load_balancer_name(self, value: pulumi.Input[str]): - pulumi.set(self, "load_balancer_name", value) - - @property - @pulumi.getter(name="policyName") - def policy_name(self) -> pulumi.Input[str]: - """ - The name of the policy. This name must be unique and consist of alphanumeric characters and dashes (-). - """ - return pulumi.get(self, "policy_name") - - @policy_name.setter - def policy_name(self, value: pulumi.Input[str]): - pulumi.set(self, "policy_name", value) - - @property - @pulumi.getter(name="policyType") - def policy_type(self) -> pulumi.Input[str]: - """ - The type of stickiness policy you want to create: `app` or `load_balancer`. - """ - return pulumi.get(self, "policy_type") - - @policy_type.setter - def policy_type(self, value: pulumi.Input[str]): - pulumi.set(self, "policy_type", value) - - @property - @pulumi.getter(name="accessLogs") - def access_logs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerPolicyAccessLogArgs']]]]: - """ - Information about access logs. - """ - return pulumi.get(self, "access_logs") - - @access_logs.setter - def access_logs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerPolicyAccessLogArgs']]]]): - pulumi.set(self, "access_logs", value) - - @property - @pulumi.getter(name="backendVmIds") - def backend_vm_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - One or more IDs of back-end VMs for the load balancer. - """ - return pulumi.get(self, "backend_vm_ids") - - @backend_vm_ids.setter - def backend_vm_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "backend_vm_ids", value) - - @property - @pulumi.getter(name="cookieExpirationPeriod") - def cookie_expiration_period(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "cookie_expiration_period") - - @cookie_expiration_period.setter - def cookie_expiration_period(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "cookie_expiration_period", value) - - @property - @pulumi.getter(name="cookieName") - def cookie_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie. - """ - return pulumi.get(self, "cookie_name") - - @cookie_name.setter - def cookie_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "cookie_name", value) - - @property - @pulumi.getter(name="loadBalancerType") - def load_balancer_type(self) -> Optional[pulumi.Input[str]]: - """ - The type of load balancer. Valid only for load balancers in a Net.
- If `load_balancer_type` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.
- If `load_balancer_type` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - """ - return pulumi.get(self, "load_balancer_type") - - @load_balancer_type.setter - def load_balancer_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "load_balancer_type", value) - - @property - @pulumi.getter(name="securityGroups") - def security_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - """ - return pulumi.get(self, "security_groups") - - @security_groups.setter - def security_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "security_groups", value) - - @property - @pulumi.getter - def subnets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - The ID of the Subnet in which the load balancer was created. - """ - return pulumi.get(self, "subnets") - - @subnets.setter - def subnets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "subnets", value) - - @property - @pulumi.getter(name="subregionNames") - def subregion_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - The ID of the Subregion in which the load balancer was created. - """ - return pulumi.get(self, "subregion_names") - - @subregion_names.setter - def subregion_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "subregion_names", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerPolicyTagArgs']]]]: - """ - One or more tags associated with the load balancer. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerPolicyTagArgs']]]]): - pulumi.set(self, "tags", value) - - -@pulumi.input_type -class _LoadBalancerPolicyState: - def __init__(__self__, *, - access_logs: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerPolicyAccessLogArgs']]]] = None, - application_sticky_cookie_policies: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerPolicyApplicationStickyCookiePolicyArgs']]]] = None, - backend_vm_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - cookie_expiration_period: Optional[pulumi.Input[int]] = None, - cookie_name: Optional[pulumi.Input[str]] = None, - dns_name: Optional[pulumi.Input[str]] = None, - health_checks: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerPolicyHealthCheckArgs']]]] = None, - listeners: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerPolicyListenerArgs']]]] = None, - load_balancer_name: Optional[pulumi.Input[str]] = None, - load_balancer_sticky_cookie_policies: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerPolicyLoadBalancerStickyCookiePolicyArgs']]]] = None, - load_balancer_type: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None, - policy_name: Optional[pulumi.Input[str]] = None, - policy_type: Optional[pulumi.Input[str]] = None, - public_ip: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - secured_cookies: Optional[pulumi.Input[bool]] = None, - security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - source_security_groups: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerPolicySourceSecurityGroupArgs']]]] = None, - subnets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - subregion_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerPolicyTagArgs']]]] = None): - """ - Input properties used for looking up and filtering LoadBalancerPolicy resources. - :param pulumi.Input[Sequence[pulumi.Input['LoadBalancerPolicyAccessLogArgs']]] access_logs: Information about access logs. - :param pulumi.Input[Sequence[pulumi.Input['LoadBalancerPolicyApplicationStickyCookiePolicyArgs']]] application_sticky_cookie_policies: The stickiness policies defined for the load balancer. - :param pulumi.Input[Sequence[pulumi.Input[str]]] backend_vm_ids: One or more IDs of back-end VMs for the load balancer. - :param pulumi.Input[str] cookie_name: The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie. - :param pulumi.Input[str] dns_name: The DNS name of the load balancer. - :param pulumi.Input[Sequence[pulumi.Input['LoadBalancerPolicyHealthCheckArgs']]] health_checks: Information about the health check configuration. - :param pulumi.Input[Sequence[pulumi.Input['LoadBalancerPolicyListenerArgs']]] listeners: The listeners for the load balancer. - :param pulumi.Input[str] load_balancer_name: The name of the load balancer for which you want to create a policy. - :param pulumi.Input[Sequence[pulumi.Input['LoadBalancerPolicyLoadBalancerStickyCookiePolicyArgs']]] load_balancer_sticky_cookie_policies: The policies defined for the load balancer. - :param pulumi.Input[str] load_balancer_type: The type of load balancer. Valid only for load balancers in a Net.
- If `load_balancer_type` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.
- If `load_balancer_type` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - :param pulumi.Input[str] net_id: The ID of the Net for the load balancer. - :param pulumi.Input[str] policy_name: The name of the policy. This name must be unique and consist of alphanumeric characters and dashes (-). - :param pulumi.Input[str] policy_type: The type of stickiness policy you want to create: `app` or `load_balancer`. - :param pulumi.Input[Sequence[pulumi.Input[str]]] security_groups: One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - :param pulumi.Input[Sequence[pulumi.Input['LoadBalancerPolicySourceSecurityGroupArgs']]] source_security_groups: Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.
- To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. - :param pulumi.Input[Sequence[pulumi.Input[str]]] subnets: The ID of the Subnet in which the load balancer was created. - :param pulumi.Input[Sequence[pulumi.Input[str]]] subregion_names: The ID of the Subregion in which the load balancer was created. - :param pulumi.Input[Sequence[pulumi.Input['LoadBalancerPolicyTagArgs']]] tags: One or more tags associated with the load balancer. - """ - if access_logs is not None: - pulumi.set(__self__, "access_logs", access_logs) - if application_sticky_cookie_policies is not None: - pulumi.set(__self__, "application_sticky_cookie_policies", application_sticky_cookie_policies) - if backend_vm_ids is not None: - pulumi.set(__self__, "backend_vm_ids", backend_vm_ids) - if cookie_expiration_period is not None: - pulumi.set(__self__, "cookie_expiration_period", cookie_expiration_period) - if cookie_name is not None: - pulumi.set(__self__, "cookie_name", cookie_name) - if dns_name is not None: - pulumi.set(__self__, "dns_name", dns_name) - if health_checks is not None: - pulumi.set(__self__, "health_checks", health_checks) - if listeners is not None: - pulumi.set(__self__, "listeners", listeners) - if load_balancer_name is not None: - pulumi.set(__self__, "load_balancer_name", load_balancer_name) - if load_balancer_sticky_cookie_policies is not None: - pulumi.set(__self__, "load_balancer_sticky_cookie_policies", load_balancer_sticky_cookie_policies) - if load_balancer_type is not None: - pulumi.set(__self__, "load_balancer_type", load_balancer_type) - if net_id is not None: - pulumi.set(__self__, "net_id", net_id) - if policy_name is not None: - pulumi.set(__self__, "policy_name", policy_name) - if policy_type is not None: - pulumi.set(__self__, "policy_type", policy_type) - if public_ip is not None: - pulumi.set(__self__, "public_ip", public_ip) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if secured_cookies is not None: - pulumi.set(__self__, "secured_cookies", secured_cookies) - if security_groups is not None: - pulumi.set(__self__, "security_groups", security_groups) - if source_security_groups is not None: - pulumi.set(__self__, "source_security_groups", source_security_groups) - if subnets is not None: - pulumi.set(__self__, "subnets", subnets) - if subregion_names is not None: - pulumi.set(__self__, "subregion_names", subregion_names) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="accessLogs") - def access_logs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerPolicyAccessLogArgs']]]]: - """ - Information about access logs. - """ - return pulumi.get(self, "access_logs") - - @access_logs.setter - def access_logs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerPolicyAccessLogArgs']]]]): - pulumi.set(self, "access_logs", value) - - @property - @pulumi.getter(name="applicationStickyCookiePolicies") - def application_sticky_cookie_policies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerPolicyApplicationStickyCookiePolicyArgs']]]]: - """ - The stickiness policies defined for the load balancer. - """ - return pulumi.get(self, "application_sticky_cookie_policies") - - @application_sticky_cookie_policies.setter - def application_sticky_cookie_policies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerPolicyApplicationStickyCookiePolicyArgs']]]]): - pulumi.set(self, "application_sticky_cookie_policies", value) - - @property - @pulumi.getter(name="backendVmIds") - def backend_vm_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - One or more IDs of back-end VMs for the load balancer. - """ - return pulumi.get(self, "backend_vm_ids") - - @backend_vm_ids.setter - def backend_vm_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "backend_vm_ids", value) - - @property - @pulumi.getter(name="cookieExpirationPeriod") - def cookie_expiration_period(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "cookie_expiration_period") - - @cookie_expiration_period.setter - def cookie_expiration_period(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "cookie_expiration_period", value) - - @property - @pulumi.getter(name="cookieName") - def cookie_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie. - """ - return pulumi.get(self, "cookie_name") - - @cookie_name.setter - def cookie_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "cookie_name", value) - - @property - @pulumi.getter(name="dnsName") - def dns_name(self) -> Optional[pulumi.Input[str]]: - """ - The DNS name of the load balancer. - """ - return pulumi.get(self, "dns_name") - - @dns_name.setter - def dns_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "dns_name", value) - - @property - @pulumi.getter(name="healthChecks") - def health_checks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerPolicyHealthCheckArgs']]]]: - """ - Information about the health check configuration. - """ - return pulumi.get(self, "health_checks") - - @health_checks.setter - def health_checks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerPolicyHealthCheckArgs']]]]): - pulumi.set(self, "health_checks", value) - - @property - @pulumi.getter - def listeners(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerPolicyListenerArgs']]]]: - """ - The listeners for the load balancer. - """ - return pulumi.get(self, "listeners") - - @listeners.setter - def listeners(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerPolicyListenerArgs']]]]): - pulumi.set(self, "listeners", value) - - @property - @pulumi.getter(name="loadBalancerName") - def load_balancer_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the load balancer for which you want to create a policy. - """ - return pulumi.get(self, "load_balancer_name") - - @load_balancer_name.setter - def load_balancer_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "load_balancer_name", value) - - @property - @pulumi.getter(name="loadBalancerStickyCookiePolicies") - def load_balancer_sticky_cookie_policies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerPolicyLoadBalancerStickyCookiePolicyArgs']]]]: - """ - The policies defined for the load balancer. - """ - return pulumi.get(self, "load_balancer_sticky_cookie_policies") - - @load_balancer_sticky_cookie_policies.setter - def load_balancer_sticky_cookie_policies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerPolicyLoadBalancerStickyCookiePolicyArgs']]]]): - pulumi.set(self, "load_balancer_sticky_cookie_policies", value) - - @property - @pulumi.getter(name="loadBalancerType") - def load_balancer_type(self) -> Optional[pulumi.Input[str]]: - """ - The type of load balancer. Valid only for load balancers in a Net.
- If `load_balancer_type` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.
- If `load_balancer_type` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - """ - return pulumi.get(self, "load_balancer_type") - - @load_balancer_type.setter - def load_balancer_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "load_balancer_type", value) - - @property - @pulumi.getter(name="netId") - def net_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Net for the load balancer. - """ - return pulumi.get(self, "net_id") - - @net_id.setter - def net_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "net_id", value) - - @property - @pulumi.getter(name="policyName") - def policy_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the policy. This name must be unique and consist of alphanumeric characters and dashes (-). - """ - return pulumi.get(self, "policy_name") - - @policy_name.setter - def policy_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "policy_name", value) - - @property - @pulumi.getter(name="policyType") - def policy_type(self) -> Optional[pulumi.Input[str]]: - """ - The type of stickiness policy you want to create: `app` or `load_balancer`. - """ - return pulumi.get(self, "policy_type") - - @policy_type.setter - def policy_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "policy_type", value) - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "public_ip") - - @public_ip.setter - def public_ip(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_ip", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter(name="securedCookies") - def secured_cookies(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "secured_cookies") - - @secured_cookies.setter - def secured_cookies(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "secured_cookies", value) - - @property - @pulumi.getter(name="securityGroups") - def security_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - """ - return pulumi.get(self, "security_groups") - - @security_groups.setter - def security_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "security_groups", value) - - @property - @pulumi.getter(name="sourceSecurityGroups") - def source_security_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerPolicySourceSecurityGroupArgs']]]]: - """ - Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.
- To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. - """ - return pulumi.get(self, "source_security_groups") - - @source_security_groups.setter - def source_security_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerPolicySourceSecurityGroupArgs']]]]): - pulumi.set(self, "source_security_groups", value) - - @property - @pulumi.getter - def subnets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - The ID of the Subnet in which the load balancer was created. - """ - return pulumi.get(self, "subnets") - - @subnets.setter - def subnets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "subnets", value) - - @property - @pulumi.getter(name="subregionNames") - def subregion_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - The ID of the Subregion in which the load balancer was created. - """ - return pulumi.get(self, "subregion_names") - - @subregion_names.setter - def subregion_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "subregion_names", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerPolicyTagArgs']]]]: - """ - One or more tags associated with the load balancer. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerPolicyTagArgs']]]]): - pulumi.set(self, "tags", value) - - -class LoadBalancerPolicy(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - access_logs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerPolicyAccessLogArgs']]]]] = None, - backend_vm_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - cookie_expiration_period: Optional[pulumi.Input[int]] = None, - cookie_name: Optional[pulumi.Input[str]] = None, - load_balancer_name: Optional[pulumi.Input[str]] = None, - load_balancer_type: Optional[pulumi.Input[str]] = None, - policy_name: Optional[pulumi.Input[str]] = None, - policy_type: Optional[pulumi.Input[str]] = None, - security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - subnets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - subregion_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerPolicyTagArgs']]]]] = None, - __props__=None): - """ - Manages a load balancer policy. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Load-Balancers.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-loadbalancerpolicy). - - ## Example Usage - ### Create a load balancer policy based on browser - - ```python - import pulumi - import pulumi_outscale as outscale - - load_balancer01 = outscale.LoadBalancer("loadBalancer01", - listeners=[outscale.LoadBalancerListenerArgs( - backend_port=8080, - backend_protocol="HTTP", - load_balancer_port=8080, - load_balancer_protocol="HTTP", - )], - load_balancer_name="terraform-lb-for-browser-policy", - subregion_names=["eu-west-2a"]) - load_balancer_policy01 = outscale.LoadBalancerPolicy("loadBalancerPolicy01", - load_balancer_name="terraform-lb-for-browser-policy", - policy_name="terraform-lb-browser-policy", - policy_type="load_balancer") - ``` - ### Create a load balancer policy based on application cookie - - ```python - import pulumi - import pulumi_outscale as outscale - - load_balancer02 = outscale.LoadBalancer("loadBalancer02", - load_balancer_name="terraform-lb-for-app-policy", - subregion_names=[f"{var['region']}b"], - listeners=[outscale.LoadBalancerListenerArgs( - load_balancer_port=80, - load_balancer_protocol="TCP", - backend_port=80, - backend_protocol="TCP", - )]) - load_balancer_policy02 = outscale.LoadBalancerPolicy("loadBalancerPolicy02", - load_balancer_name=load_balancer02.load_balancer_name, - policy_name="terraform-lb-app-policy", - policy_type="app", - cookie_name="cookie01", - opts=pulumi.ResourceOptions(depends_on=[load_balancer02])) - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerPolicyAccessLogArgs']]]] access_logs: Information about access logs. - :param pulumi.Input[Sequence[pulumi.Input[str]]] backend_vm_ids: One or more IDs of back-end VMs for the load balancer. - :param pulumi.Input[str] cookie_name: The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie. - :param pulumi.Input[str] load_balancer_name: The name of the load balancer for which you want to create a policy. - :param pulumi.Input[str] load_balancer_type: The type of load balancer. Valid only for load balancers in a Net.
- If `load_balancer_type` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.
- If `load_balancer_type` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - :param pulumi.Input[str] policy_name: The name of the policy. This name must be unique and consist of alphanumeric characters and dashes (-). - :param pulumi.Input[str] policy_type: The type of stickiness policy you want to create: `app` or `load_balancer`. - :param pulumi.Input[Sequence[pulumi.Input[str]]] security_groups: One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - :param pulumi.Input[Sequence[pulumi.Input[str]]] subnets: The ID of the Subnet in which the load balancer was created. - :param pulumi.Input[Sequence[pulumi.Input[str]]] subregion_names: The ID of the Subregion in which the load balancer was created. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerPolicyTagArgs']]]] tags: One or more tags associated with the load balancer. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: LoadBalancerPolicyArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages a load balancer policy. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Load-Balancers.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-loadbalancerpolicy). - - ## Example Usage - ### Create a load balancer policy based on browser - - ```python - import pulumi - import pulumi_outscale as outscale - - load_balancer01 = outscale.LoadBalancer("loadBalancer01", - listeners=[outscale.LoadBalancerListenerArgs( - backend_port=8080, - backend_protocol="HTTP", - load_balancer_port=8080, - load_balancer_protocol="HTTP", - )], - load_balancer_name="terraform-lb-for-browser-policy", - subregion_names=["eu-west-2a"]) - load_balancer_policy01 = outscale.LoadBalancerPolicy("loadBalancerPolicy01", - load_balancer_name="terraform-lb-for-browser-policy", - policy_name="terraform-lb-browser-policy", - policy_type="load_balancer") - ``` - ### Create a load balancer policy based on application cookie - - ```python - import pulumi - import pulumi_outscale as outscale - - load_balancer02 = outscale.LoadBalancer("loadBalancer02", - load_balancer_name="terraform-lb-for-app-policy", - subregion_names=[f"{var['region']}b"], - listeners=[outscale.LoadBalancerListenerArgs( - load_balancer_port=80, - load_balancer_protocol="TCP", - backend_port=80, - backend_protocol="TCP", - )]) - load_balancer_policy02 = outscale.LoadBalancerPolicy("loadBalancerPolicy02", - load_balancer_name=load_balancer02.load_balancer_name, - policy_name="terraform-lb-app-policy", - policy_type="app", - cookie_name="cookie01", - opts=pulumi.ResourceOptions(depends_on=[load_balancer02])) - ``` - - :param str resource_name: The name of the resource. - :param LoadBalancerPolicyArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(LoadBalancerPolicyArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - access_logs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerPolicyAccessLogArgs']]]]] = None, - backend_vm_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - cookie_expiration_period: Optional[pulumi.Input[int]] = None, - cookie_name: Optional[pulumi.Input[str]] = None, - load_balancer_name: Optional[pulumi.Input[str]] = None, - load_balancer_type: Optional[pulumi.Input[str]] = None, - policy_name: Optional[pulumi.Input[str]] = None, - policy_type: Optional[pulumi.Input[str]] = None, - security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - subnets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - subregion_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerPolicyTagArgs']]]]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = LoadBalancerPolicyArgs.__new__(LoadBalancerPolicyArgs) - - __props__.__dict__["access_logs"] = access_logs - __props__.__dict__["backend_vm_ids"] = backend_vm_ids - __props__.__dict__["cookie_expiration_period"] = cookie_expiration_period - __props__.__dict__["cookie_name"] = cookie_name - if load_balancer_name is None and not opts.urn: - raise TypeError("Missing required property 'load_balancer_name'") - __props__.__dict__["load_balancer_name"] = load_balancer_name - __props__.__dict__["load_balancer_type"] = load_balancer_type - if policy_name is None and not opts.urn: - raise TypeError("Missing required property 'policy_name'") - __props__.__dict__["policy_name"] = policy_name - if policy_type is None and not opts.urn: - raise TypeError("Missing required property 'policy_type'") - __props__.__dict__["policy_type"] = policy_type - __props__.__dict__["security_groups"] = security_groups - __props__.__dict__["subnets"] = subnets - __props__.__dict__["subregion_names"] = subregion_names - __props__.__dict__["tags"] = tags - __props__.__dict__["application_sticky_cookie_policies"] = None - __props__.__dict__["dns_name"] = None - __props__.__dict__["health_checks"] = None - __props__.__dict__["listeners"] = None - __props__.__dict__["load_balancer_sticky_cookie_policies"] = None - __props__.__dict__["net_id"] = None - __props__.__dict__["public_ip"] = None - __props__.__dict__["request_id"] = None - __props__.__dict__["secured_cookies"] = None - __props__.__dict__["source_security_groups"] = None - super(LoadBalancerPolicy, __self__).__init__( - 'outscale:index/loadBalancerPolicy:LoadBalancerPolicy', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - access_logs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerPolicyAccessLogArgs']]]]] = None, - application_sticky_cookie_policies: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerPolicyApplicationStickyCookiePolicyArgs']]]]] = None, - backend_vm_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - cookie_expiration_period: Optional[pulumi.Input[int]] = None, - cookie_name: Optional[pulumi.Input[str]] = None, - dns_name: Optional[pulumi.Input[str]] = None, - health_checks: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerPolicyHealthCheckArgs']]]]] = None, - listeners: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerPolicyListenerArgs']]]]] = None, - load_balancer_name: Optional[pulumi.Input[str]] = None, - load_balancer_sticky_cookie_policies: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerPolicyLoadBalancerStickyCookiePolicyArgs']]]]] = None, - load_balancer_type: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None, - policy_name: Optional[pulumi.Input[str]] = None, - policy_type: Optional[pulumi.Input[str]] = None, - public_ip: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - secured_cookies: Optional[pulumi.Input[bool]] = None, - security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - source_security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerPolicySourceSecurityGroupArgs']]]]] = None, - subnets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - subregion_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerPolicyTagArgs']]]]] = None) -> 'LoadBalancerPolicy': - """ - Get an existing LoadBalancerPolicy resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerPolicyAccessLogArgs']]]] access_logs: Information about access logs. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerPolicyApplicationStickyCookiePolicyArgs']]]] application_sticky_cookie_policies: The stickiness policies defined for the load balancer. - :param pulumi.Input[Sequence[pulumi.Input[str]]] backend_vm_ids: One or more IDs of back-end VMs for the load balancer. - :param pulumi.Input[str] cookie_name: The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie. - :param pulumi.Input[str] dns_name: The DNS name of the load balancer. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerPolicyHealthCheckArgs']]]] health_checks: Information about the health check configuration. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerPolicyListenerArgs']]]] listeners: The listeners for the load balancer. - :param pulumi.Input[str] load_balancer_name: The name of the load balancer for which you want to create a policy. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerPolicyLoadBalancerStickyCookiePolicyArgs']]]] load_balancer_sticky_cookie_policies: The policies defined for the load balancer. - :param pulumi.Input[str] load_balancer_type: The type of load balancer. Valid only for load balancers in a Net.
- If `load_balancer_type` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.
- If `load_balancer_type` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - :param pulumi.Input[str] net_id: The ID of the Net for the load balancer. - :param pulumi.Input[str] policy_name: The name of the policy. This name must be unique and consist of alphanumeric characters and dashes (-). - :param pulumi.Input[str] policy_type: The type of stickiness policy you want to create: `app` or `load_balancer`. - :param pulumi.Input[Sequence[pulumi.Input[str]]] security_groups: One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerPolicySourceSecurityGroupArgs']]]] source_security_groups: Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.
- To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. - :param pulumi.Input[Sequence[pulumi.Input[str]]] subnets: The ID of the Subnet in which the load balancer was created. - :param pulumi.Input[Sequence[pulumi.Input[str]]] subregion_names: The ID of the Subregion in which the load balancer was created. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['LoadBalancerPolicyTagArgs']]]] tags: One or more tags associated with the load balancer. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _LoadBalancerPolicyState.__new__(_LoadBalancerPolicyState) - - __props__.__dict__["access_logs"] = access_logs - __props__.__dict__["application_sticky_cookie_policies"] = application_sticky_cookie_policies - __props__.__dict__["backend_vm_ids"] = backend_vm_ids - __props__.__dict__["cookie_expiration_period"] = cookie_expiration_period - __props__.__dict__["cookie_name"] = cookie_name - __props__.__dict__["dns_name"] = dns_name - __props__.__dict__["health_checks"] = health_checks - __props__.__dict__["listeners"] = listeners - __props__.__dict__["load_balancer_name"] = load_balancer_name - __props__.__dict__["load_balancer_sticky_cookie_policies"] = load_balancer_sticky_cookie_policies - __props__.__dict__["load_balancer_type"] = load_balancer_type - __props__.__dict__["net_id"] = net_id - __props__.__dict__["policy_name"] = policy_name - __props__.__dict__["policy_type"] = policy_type - __props__.__dict__["public_ip"] = public_ip - __props__.__dict__["request_id"] = request_id - __props__.__dict__["secured_cookies"] = secured_cookies - __props__.__dict__["security_groups"] = security_groups - __props__.__dict__["source_security_groups"] = source_security_groups - __props__.__dict__["subnets"] = subnets - __props__.__dict__["subregion_names"] = subregion_names - __props__.__dict__["tags"] = tags - return LoadBalancerPolicy(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="accessLogs") - def access_logs(self) -> pulumi.Output[Sequence['outputs.LoadBalancerPolicyAccessLog']]: - """ - Information about access logs. - """ - return pulumi.get(self, "access_logs") - - @property - @pulumi.getter(name="applicationStickyCookiePolicies") - def application_sticky_cookie_policies(self) -> pulumi.Output[Sequence['outputs.LoadBalancerPolicyApplicationStickyCookiePolicy']]: - """ - The stickiness policies defined for the load balancer. - """ - return pulumi.get(self, "application_sticky_cookie_policies") - - @property - @pulumi.getter(name="backendVmIds") - def backend_vm_ids(self) -> pulumi.Output[Sequence[str]]: - """ - One or more IDs of back-end VMs for the load balancer. - """ - return pulumi.get(self, "backend_vm_ids") - - @property - @pulumi.getter(name="cookieExpirationPeriod") - def cookie_expiration_period(self) -> pulumi.Output[int]: - return pulumi.get(self, "cookie_expiration_period") - - @property - @pulumi.getter(name="cookieName") - def cookie_name(self) -> pulumi.Output[str]: - """ - The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie. - """ - return pulumi.get(self, "cookie_name") - - @property - @pulumi.getter(name="dnsName") - def dns_name(self) -> pulumi.Output[str]: - """ - The DNS name of the load balancer. - """ - return pulumi.get(self, "dns_name") - - @property - @pulumi.getter(name="healthChecks") - def health_checks(self) -> pulumi.Output[Sequence['outputs.LoadBalancerPolicyHealthCheck']]: - """ - Information about the health check configuration. - """ - return pulumi.get(self, "health_checks") - - @property - @pulumi.getter - def listeners(self) -> pulumi.Output[Sequence['outputs.LoadBalancerPolicyListener']]: - """ - The listeners for the load balancer. - """ - return pulumi.get(self, "listeners") - - @property - @pulumi.getter(name="loadBalancerName") - def load_balancer_name(self) -> pulumi.Output[str]: - """ - The name of the load balancer for which you want to create a policy. - """ - return pulumi.get(self, "load_balancer_name") - - @property - @pulumi.getter(name="loadBalancerStickyCookiePolicies") - def load_balancer_sticky_cookie_policies(self) -> pulumi.Output[Sequence['outputs.LoadBalancerPolicyLoadBalancerStickyCookiePolicy']]: - """ - The policies defined for the load balancer. - """ - return pulumi.get(self, "load_balancer_sticky_cookie_policies") - - @property - @pulumi.getter(name="loadBalancerType") - def load_balancer_type(self) -> pulumi.Output[str]: - """ - The type of load balancer. Valid only for load balancers in a Net.
- If `load_balancer_type` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.
- If `load_balancer_type` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - """ - return pulumi.get(self, "load_balancer_type") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> pulumi.Output[str]: - """ - The ID of the Net for the load balancer. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="policyName") - def policy_name(self) -> pulumi.Output[str]: - """ - The name of the policy. This name must be unique and consist of alphanumeric characters and dashes (-). - """ - return pulumi.get(self, "policy_name") - - @property - @pulumi.getter(name="policyType") - def policy_type(self) -> pulumi.Output[str]: - """ - The type of stickiness policy you want to create: `app` or `load_balancer`. - """ - return pulumi.get(self, "policy_type") - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> pulumi.Output[str]: - return pulumi.get(self, "public_ip") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="securedCookies") - def secured_cookies(self) -> pulumi.Output[bool]: - return pulumi.get(self, "secured_cookies") - - @property - @pulumi.getter(name="securityGroups") - def security_groups(self) -> pulumi.Output[Sequence[str]]: - """ - One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - """ - return pulumi.get(self, "security_groups") - - @property - @pulumi.getter(name="sourceSecurityGroups") - def source_security_groups(self) -> pulumi.Output[Sequence['outputs.LoadBalancerPolicySourceSecurityGroup']]: - """ - Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.
- To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. - """ - return pulumi.get(self, "source_security_groups") - - @property - @pulumi.getter - def subnets(self) -> pulumi.Output[Sequence[str]]: - """ - The ID of the Subnet in which the load balancer was created. - """ - return pulumi.get(self, "subnets") - - @property - @pulumi.getter(name="subregionNames") - def subregion_names(self) -> pulumi.Output[Sequence[str]]: - """ - The ID of the Subregion in which the load balancer was created. - """ - return pulumi.get(self, "subregion_names") - - @property - @pulumi.getter - def tags(self) -> pulumi.Output[Sequence['outputs.LoadBalancerPolicyTag']]: - """ - One or more tags associated with the load balancer. - """ - return pulumi.get(self, "tags") - diff --git a/sdk/python/pulumi_outscale/load_balancer_vms.py b/sdk/python/pulumi_outscale/load_balancer_vms.py deleted file mode 100644 index e88a61d..0000000 --- a/sdk/python/pulumi_outscale/load_balancer_vms.py +++ /dev/null @@ -1,313 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities - -__all__ = ['LoadBalancerVmsArgs', 'LoadBalancerVms'] - -@pulumi.input_type -class LoadBalancerVmsArgs: - def __init__(__self__, *, - backend_vm_ids: pulumi.Input[Sequence[pulumi.Input[str]]], - load_balancer_name: pulumi.Input[str]): - """ - The set of arguments for constructing a LoadBalancerVms resource. - :param pulumi.Input[Sequence[pulumi.Input[str]]] backend_vm_ids: One or more IDs of back-end VMs.
- Specifying the same ID several times has no effect as each back-end VM has equal weight. - :param pulumi.Input[str] load_balancer_name: The name of the load balancer. - """ - pulumi.set(__self__, "backend_vm_ids", backend_vm_ids) - pulumi.set(__self__, "load_balancer_name", load_balancer_name) - - @property - @pulumi.getter(name="backendVmIds") - def backend_vm_ids(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: - """ - One or more IDs of back-end VMs.
- Specifying the same ID several times has no effect as each back-end VM has equal weight. - """ - return pulumi.get(self, "backend_vm_ids") - - @backend_vm_ids.setter - def backend_vm_ids(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): - pulumi.set(self, "backend_vm_ids", value) - - @property - @pulumi.getter(name="loadBalancerName") - def load_balancer_name(self) -> pulumi.Input[str]: - """ - The name of the load balancer. - """ - return pulumi.get(self, "load_balancer_name") - - @load_balancer_name.setter - def load_balancer_name(self, value: pulumi.Input[str]): - pulumi.set(self, "load_balancer_name", value) - - -@pulumi.input_type -class _LoadBalancerVmsState: - def __init__(__self__, *, - backend_vm_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - load_balancer_name: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None): - """ - Input properties used for looking up and filtering LoadBalancerVms resources. - :param pulumi.Input[Sequence[pulumi.Input[str]]] backend_vm_ids: One or more IDs of back-end VMs.
- Specifying the same ID several times has no effect as each back-end VM has equal weight. - :param pulumi.Input[str] load_balancer_name: The name of the load balancer. - """ - if backend_vm_ids is not None: - pulumi.set(__self__, "backend_vm_ids", backend_vm_ids) - if load_balancer_name is not None: - pulumi.set(__self__, "load_balancer_name", load_balancer_name) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - - @property - @pulumi.getter(name="backendVmIds") - def backend_vm_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - One or more IDs of back-end VMs.
- Specifying the same ID several times has no effect as each back-end VM has equal weight. - """ - return pulumi.get(self, "backend_vm_ids") - - @backend_vm_ids.setter - def backend_vm_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "backend_vm_ids", value) - - @property - @pulumi.getter(name="loadBalancerName") - def load_balancer_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the load balancer. - """ - return pulumi.get(self, "load_balancer_name") - - @load_balancer_name.setter - def load_balancer_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "load_balancer_name", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - -class LoadBalancerVms(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - backend_vm_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - load_balancer_name: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - Manages load balancer VMs. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Load-Balancers.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-loadbalancer). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - outscale_vm01 = outscale.Vm("outscaleVm01", - image_id="ami-12345678", - vm_type="t2.small", - keypair_name=var["keypair_name"]) - outscale_vm02 = outscale.Vm("outscaleVm02", - image_id=var["image_id"], - vm_type=var["vm_type"], - keypair_name=var["keypair_name"]) - load_balancer01 = outscale.LoadBalancer("loadBalancer01", - load_balancer_name="load-balancer-for-backend-vms", - subregion_names=[f"{var['region']}a"], - listeners=[outscale.LoadBalancerListenerArgs( - backend_port=80, - backend_protocol="TCP", - load_balancer_protocol="TCP", - load_balancer_port=80, - )], - tags=[outscale.LoadBalancerTagArgs( - key="name", - value="outscale_load_balancer01", - )]) - ``` - ### Register VMs with a load balancer - - ```python - import pulumi - import pulumi_outscale as outscale - - outscale_load_balancer_vms01 = outscale.LoadBalancerVms("outscaleLoadBalancerVms01", - load_balancer_name="load-balancer-for-backend-vms", - backend_vm_ids=[ - outscale_vm["outscale_vm01"]["vm_id"], - outscale_vm["outscale_vm_02"]["vm_id"], - ]) - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Sequence[pulumi.Input[str]]] backend_vm_ids: One or more IDs of back-end VMs.
- Specifying the same ID several times has no effect as each back-end VM has equal weight. - :param pulumi.Input[str] load_balancer_name: The name of the load balancer. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: LoadBalancerVmsArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages load balancer VMs. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Load-Balancers.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-loadbalancer). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - outscale_vm01 = outscale.Vm("outscaleVm01", - image_id="ami-12345678", - vm_type="t2.small", - keypair_name=var["keypair_name"]) - outscale_vm02 = outscale.Vm("outscaleVm02", - image_id=var["image_id"], - vm_type=var["vm_type"], - keypair_name=var["keypair_name"]) - load_balancer01 = outscale.LoadBalancer("loadBalancer01", - load_balancer_name="load-balancer-for-backend-vms", - subregion_names=[f"{var['region']}a"], - listeners=[outscale.LoadBalancerListenerArgs( - backend_port=80, - backend_protocol="TCP", - load_balancer_protocol="TCP", - load_balancer_port=80, - )], - tags=[outscale.LoadBalancerTagArgs( - key="name", - value="outscale_load_balancer01", - )]) - ``` - ### Register VMs with a load balancer - - ```python - import pulumi - import pulumi_outscale as outscale - - outscale_load_balancer_vms01 = outscale.LoadBalancerVms("outscaleLoadBalancerVms01", - load_balancer_name="load-balancer-for-backend-vms", - backend_vm_ids=[ - outscale_vm["outscale_vm01"]["vm_id"], - outscale_vm["outscale_vm_02"]["vm_id"], - ]) - ``` - - :param str resource_name: The name of the resource. - :param LoadBalancerVmsArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(LoadBalancerVmsArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - backend_vm_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - load_balancer_name: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = LoadBalancerVmsArgs.__new__(LoadBalancerVmsArgs) - - if backend_vm_ids is None and not opts.urn: - raise TypeError("Missing required property 'backend_vm_ids'") - __props__.__dict__["backend_vm_ids"] = backend_vm_ids - if load_balancer_name is None and not opts.urn: - raise TypeError("Missing required property 'load_balancer_name'") - __props__.__dict__["load_balancer_name"] = load_balancer_name - __props__.__dict__["request_id"] = None - super(LoadBalancerVms, __self__).__init__( - 'outscale:index/loadBalancerVms:LoadBalancerVms', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - backend_vm_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - load_balancer_name: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None) -> 'LoadBalancerVms': - """ - Get an existing LoadBalancerVms resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Sequence[pulumi.Input[str]]] backend_vm_ids: One or more IDs of back-end VMs.
- Specifying the same ID several times has no effect as each back-end VM has equal weight. - :param pulumi.Input[str] load_balancer_name: The name of the load balancer. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _LoadBalancerVmsState.__new__(_LoadBalancerVmsState) - - __props__.__dict__["backend_vm_ids"] = backend_vm_ids - __props__.__dict__["load_balancer_name"] = load_balancer_name - __props__.__dict__["request_id"] = request_id - return LoadBalancerVms(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="backendVmIds") - def backend_vm_ids(self) -> pulumi.Output[Sequence[str]]: - """ - One or more IDs of back-end VMs.
- Specifying the same ID several times has no effect as each back-end VM has equal weight. - """ - return pulumi.get(self, "backend_vm_ids") - - @property - @pulumi.getter(name="loadBalancerName") - def load_balancer_name(self) -> pulumi.Output[str]: - """ - The name of the load balancer. - """ - return pulumi.get(self, "load_balancer_name") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - diff --git a/sdk/python/pulumi_outscale/nat_service.py b/sdk/python/pulumi_outscale/nat_service.py deleted file mode 100644 index 4f3d352..0000000 --- a/sdk/python/pulumi_outscale/nat_service.py +++ /dev/null @@ -1,480 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['NatServiceArgs', 'NatService'] - -@pulumi.input_type -class NatServiceArgs: - def __init__(__self__, *, - public_ip_id: pulumi.Input[str], - subnet_id: pulumi.Input[str], - tags: Optional[pulumi.Input[Sequence[pulumi.Input['NatServiceTagArgs']]]] = None): - """ - The set of arguments for constructing a NatService resource. - :param pulumi.Input[str] public_ip_id: The allocation ID of the public IP to associate with the NAT service.
- If the public IP is already associated with another resource, you must first disassociate it. - :param pulumi.Input[str] subnet_id: The ID of the Subnet in which you want to create the NAT service. - :param pulumi.Input[Sequence[pulumi.Input['NatServiceTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - """ - pulumi.set(__self__, "public_ip_id", public_ip_id) - pulumi.set(__self__, "subnet_id", subnet_id) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="publicIpId") - def public_ip_id(self) -> pulumi.Input[str]: - """ - The allocation ID of the public IP to associate with the NAT service.
- If the public IP is already associated with another resource, you must first disassociate it. - """ - return pulumi.get(self, "public_ip_id") - - @public_ip_id.setter - def public_ip_id(self, value: pulumi.Input[str]): - pulumi.set(self, "public_ip_id", value) - - @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> pulumi.Input[str]: - """ - The ID of the Subnet in which you want to create the NAT service. - """ - return pulumi.get(self, "subnet_id") - - @subnet_id.setter - def subnet_id(self, value: pulumi.Input[str]): - pulumi.set(self, "subnet_id", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NatServiceTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NatServiceTagArgs']]]]): - pulumi.set(self, "tags", value) - - -@pulumi.input_type -class _NatServiceState: - def __init__(__self__, *, - nat_service_id: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None, - public_ip_id: Optional[pulumi.Input[str]] = None, - public_ips: Optional[pulumi.Input[Sequence[pulumi.Input['NatServicePublicIpArgs']]]] = None, - request_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - subnet_id: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['NatServiceTagArgs']]]] = None): - """ - Input properties used for looking up and filtering NatService resources. - :param pulumi.Input[str] nat_service_id: The ID of the NAT service. - :param pulumi.Input[str] net_id: The ID of the Net in which the NAT service is. - :param pulumi.Input[str] public_ip_id: The allocation ID of the public IP to associate with the NAT service.
- If the public IP is already associated with another resource, you must first disassociate it. - :param pulumi.Input[Sequence[pulumi.Input['NatServicePublicIpArgs']]] public_ips: Information about the public IP or IPs associated with the NAT service. - :param pulumi.Input[str] state: The state of the NAT service (`pending` \\| `available` \\| `deleting` \\| `deleted`). - :param pulumi.Input[str] subnet_id: The ID of the Subnet in which you want to create the NAT service. - :param pulumi.Input[Sequence[pulumi.Input['NatServiceTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - """ - if nat_service_id is not None: - pulumi.set(__self__, "nat_service_id", nat_service_id) - if net_id is not None: - pulumi.set(__self__, "net_id", net_id) - if public_ip_id is not None: - pulumi.set(__self__, "public_ip_id", public_ip_id) - if public_ips is not None: - pulumi.set(__self__, "public_ips", public_ips) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if state is not None: - pulumi.set(__self__, "state", state) - if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="natServiceId") - def nat_service_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the NAT service. - """ - return pulumi.get(self, "nat_service_id") - - @nat_service_id.setter - def nat_service_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "nat_service_id", value) - - @property - @pulumi.getter(name="netId") - def net_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Net in which the NAT service is. - """ - return pulumi.get(self, "net_id") - - @net_id.setter - def net_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "net_id", value) - - @property - @pulumi.getter(name="publicIpId") - def public_ip_id(self) -> Optional[pulumi.Input[str]]: - """ - The allocation ID of the public IP to associate with the NAT service.
- If the public IP is already associated with another resource, you must first disassociate it. - """ - return pulumi.get(self, "public_ip_id") - - @public_ip_id.setter - def public_ip_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_ip_id", value) - - @property - @pulumi.getter(name="publicIps") - def public_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NatServicePublicIpArgs']]]]: - """ - Information about the public IP or IPs associated with the NAT service. - """ - return pulumi.get(self, "public_ips") - - @public_ips.setter - def public_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NatServicePublicIpArgs']]]]): - pulumi.set(self, "public_ips", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - The state of the NAT service (`pending` \\| `available` \\| `deleting` \\| `deleted`). - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Subnet in which you want to create the NAT service. - """ - return pulumi.get(self, "subnet_id") - - @subnet_id.setter - def subnet_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "subnet_id", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NatServiceTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NatServiceTagArgs']]]]): - pulumi.set(self, "tags", value) - - -class NatService(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - public_ip_id: Optional[pulumi.Input[str]] = None, - subnet_id: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NatServiceTagArgs']]]]] = None, - __props__=None): - """ - Manages a NAT service. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-NAT-Gateways.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-natservice). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - net01 = outscale.Net("net01", ip_range="10.0.0.0/16") - subnet01 = outscale.Subnet("subnet01", - net_id=net01.net_id, - ip_range="10.0.0.0/18") - route_table01 = outscale.RouteTable("routeTable01", net_id=net01.net_id) - outscale_route_table_link01 = outscale.RouteTableLink("outscaleRouteTableLink01", - subnet_id=subnet01.subnet_id, - route_table_id=route_table01.route_table_id) - internet_service01 = outscale.InternetService("internetService01") - internet_service_link01 = outscale.InternetServiceLink("internetServiceLink01", - net_id=net01.net_id, - internet_service_id=internet_service01.internet_service_id) - route01 = outscale.Route("route01", - destination_ip_range="0.0.0.0/0", - gateway_id=internet_service01.internet_service_id, - route_table_id=route_table01.route_table_id, - opts=pulumi.ResourceOptions(depends_on=[internet_service_link01])) - public_ip01 = outscale.PublicIp("publicIp01") - ``` - ### Create a NAT service - - ```python - import pulumi - import pulumi_outscale as outscale - - nat_service01 = outscale.NatService("natService01", - subnet_id=outscale_subnet["subnet01"]["subnet_id"], - public_ip_id=outscale_public_ip["public_ip01"]["public_ip_id"], - opts=pulumi.ResourceOptions(depends_on=[outscale_route["route01"]])) - ``` - - ## Import - - A NAT service can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/natService:NatService ImportedNatService nat-87654321 - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] public_ip_id: The allocation ID of the public IP to associate with the NAT service.
- If the public IP is already associated with another resource, you must first disassociate it. - :param pulumi.Input[str] subnet_id: The ID of the Subnet in which you want to create the NAT service. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NatServiceTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: NatServiceArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages a NAT service. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-NAT-Gateways.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-natservice). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - net01 = outscale.Net("net01", ip_range="10.0.0.0/16") - subnet01 = outscale.Subnet("subnet01", - net_id=net01.net_id, - ip_range="10.0.0.0/18") - route_table01 = outscale.RouteTable("routeTable01", net_id=net01.net_id) - outscale_route_table_link01 = outscale.RouteTableLink("outscaleRouteTableLink01", - subnet_id=subnet01.subnet_id, - route_table_id=route_table01.route_table_id) - internet_service01 = outscale.InternetService("internetService01") - internet_service_link01 = outscale.InternetServiceLink("internetServiceLink01", - net_id=net01.net_id, - internet_service_id=internet_service01.internet_service_id) - route01 = outscale.Route("route01", - destination_ip_range="0.0.0.0/0", - gateway_id=internet_service01.internet_service_id, - route_table_id=route_table01.route_table_id, - opts=pulumi.ResourceOptions(depends_on=[internet_service_link01])) - public_ip01 = outscale.PublicIp("publicIp01") - ``` - ### Create a NAT service - - ```python - import pulumi - import pulumi_outscale as outscale - - nat_service01 = outscale.NatService("natService01", - subnet_id=outscale_subnet["subnet01"]["subnet_id"], - public_ip_id=outscale_public_ip["public_ip01"]["public_ip_id"], - opts=pulumi.ResourceOptions(depends_on=[outscale_route["route01"]])) - ``` - - ## Import - - A NAT service can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/natService:NatService ImportedNatService nat-87654321 - ``` - - :param str resource_name: The name of the resource. - :param NatServiceArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(NatServiceArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - public_ip_id: Optional[pulumi.Input[str]] = None, - subnet_id: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NatServiceTagArgs']]]]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = NatServiceArgs.__new__(NatServiceArgs) - - if public_ip_id is None and not opts.urn: - raise TypeError("Missing required property 'public_ip_id'") - __props__.__dict__["public_ip_id"] = public_ip_id - if subnet_id is None and not opts.urn: - raise TypeError("Missing required property 'subnet_id'") - __props__.__dict__["subnet_id"] = subnet_id - __props__.__dict__["tags"] = tags - __props__.__dict__["nat_service_id"] = None - __props__.__dict__["net_id"] = None - __props__.__dict__["public_ips"] = None - __props__.__dict__["request_id"] = None - __props__.__dict__["state"] = None - super(NatService, __self__).__init__( - 'outscale:index/natService:NatService', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - nat_service_id: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None, - public_ip_id: Optional[pulumi.Input[str]] = None, - public_ips: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NatServicePublicIpArgs']]]]] = None, - request_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - subnet_id: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NatServiceTagArgs']]]]] = None) -> 'NatService': - """ - Get an existing NatService resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] nat_service_id: The ID of the NAT service. - :param pulumi.Input[str] net_id: The ID of the Net in which the NAT service is. - :param pulumi.Input[str] public_ip_id: The allocation ID of the public IP to associate with the NAT service.
- If the public IP is already associated with another resource, you must first disassociate it. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NatServicePublicIpArgs']]]] public_ips: Information about the public IP or IPs associated with the NAT service. - :param pulumi.Input[str] state: The state of the NAT service (`pending` \\| `available` \\| `deleting` \\| `deleted`). - :param pulumi.Input[str] subnet_id: The ID of the Subnet in which you want to create the NAT service. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NatServiceTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _NatServiceState.__new__(_NatServiceState) - - __props__.__dict__["nat_service_id"] = nat_service_id - __props__.__dict__["net_id"] = net_id - __props__.__dict__["public_ip_id"] = public_ip_id - __props__.__dict__["public_ips"] = public_ips - __props__.__dict__["request_id"] = request_id - __props__.__dict__["state"] = state - __props__.__dict__["subnet_id"] = subnet_id - __props__.__dict__["tags"] = tags - return NatService(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="natServiceId") - def nat_service_id(self) -> pulumi.Output[str]: - """ - The ID of the NAT service. - """ - return pulumi.get(self, "nat_service_id") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> pulumi.Output[str]: - """ - The ID of the Net in which the NAT service is. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="publicIpId") - def public_ip_id(self) -> pulumi.Output[str]: - """ - The allocation ID of the public IP to associate with the NAT service.
- If the public IP is already associated with another resource, you must first disassociate it. - """ - return pulumi.get(self, "public_ip_id") - - @property - @pulumi.getter(name="publicIps") - def public_ips(self) -> pulumi.Output[Sequence['outputs.NatServicePublicIp']]: - """ - Information about the public IP or IPs associated with the NAT service. - """ - return pulumi.get(self, "public_ips") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def state(self) -> pulumi.Output[str]: - """ - The state of the NAT service (`pending` \\| `available` \\| `deleting` \\| `deleted`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> pulumi.Output[str]: - """ - The ID of the Subnet in which you want to create the NAT service. - """ - return pulumi.get(self, "subnet_id") - - @property - @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Sequence['outputs.NatServiceTag']]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - diff --git a/sdk/python/pulumi_outscale/net.py b/sdk/python/pulumi_outscale/net.py deleted file mode 100644 index 09217e9..0000000 --- a/sdk/python/pulumi_outscale/net.py +++ /dev/null @@ -1,446 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['NetArgs', 'Net'] - -@pulumi.input_type -class NetArgs: - def __init__(__self__, *, - ip_range: pulumi.Input[str], - tags: Optional[pulumi.Input[Sequence[pulumi.Input['NetTagArgs']]]] = None, - tenancy: Optional[pulumi.Input[str]] = None): - """ - The set of arguments for constructing a Net resource. - :param pulumi.Input[str] ip_range: The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). - :param pulumi.Input[Sequence[pulumi.Input['NetTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - :param pulumi.Input[str] tenancy: The tenancy options for the VMs (`default` if a VM created in a Net can be launched with any tenancy, `dedicated` if it can be launched with dedicated tenancy VMs running on single-tenant hardware). - """ - pulumi.set(__self__, "ip_range", ip_range) - if tags is not None: - pulumi.set(__self__, "tags", tags) - if tenancy is not None: - pulumi.set(__self__, "tenancy", tenancy) - - @property - @pulumi.getter(name="ipRange") - def ip_range(self) -> pulumi.Input[str]: - """ - The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). - """ - return pulumi.get(self, "ip_range") - - @ip_range.setter - def ip_range(self, value: pulumi.Input[str]): - pulumi.set(self, "ip_range", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NetTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NetTagArgs']]]]): - pulumi.set(self, "tags", value) - - @property - @pulumi.getter - def tenancy(self) -> Optional[pulumi.Input[str]]: - """ - The tenancy options for the VMs (`default` if a VM created in a Net can be launched with any tenancy, `dedicated` if it can be launched with dedicated tenancy VMs running on single-tenant hardware). - """ - return pulumi.get(self, "tenancy") - - @tenancy.setter - def tenancy(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "tenancy", value) - - -@pulumi.input_type -class _NetState: - def __init__(__self__, *, - dhcp_options_set_id: Optional[pulumi.Input[str]] = None, - ip_range: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['NetTagArgs']]]] = None, - tenancy: Optional[pulumi.Input[str]] = None): - """ - Input properties used for looking up and filtering Net resources. - :param pulumi.Input[str] dhcp_options_set_id: The ID of the DHCP options set (or `default` if you want to associate the default one). - :param pulumi.Input[str] ip_range: The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). - :param pulumi.Input[str] net_id: The ID of the Net. - :param pulumi.Input[str] state: The state of the Net (`pending` \\| `available` \\| `deleted`). - :param pulumi.Input[Sequence[pulumi.Input['NetTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - :param pulumi.Input[str] tenancy: The tenancy options for the VMs (`default` if a VM created in a Net can be launched with any tenancy, `dedicated` if it can be launched with dedicated tenancy VMs running on single-tenant hardware). - """ - if dhcp_options_set_id is not None: - pulumi.set(__self__, "dhcp_options_set_id", dhcp_options_set_id) - if ip_range is not None: - pulumi.set(__self__, "ip_range", ip_range) - if net_id is not None: - pulumi.set(__self__, "net_id", net_id) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if state is not None: - pulumi.set(__self__, "state", state) - if tags is not None: - pulumi.set(__self__, "tags", tags) - if tenancy is not None: - pulumi.set(__self__, "tenancy", tenancy) - - @property - @pulumi.getter(name="dhcpOptionsSetId") - def dhcp_options_set_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the DHCP options set (or `default` if you want to associate the default one). - """ - return pulumi.get(self, "dhcp_options_set_id") - - @dhcp_options_set_id.setter - def dhcp_options_set_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "dhcp_options_set_id", value) - - @property - @pulumi.getter(name="ipRange") - def ip_range(self) -> Optional[pulumi.Input[str]]: - """ - The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). - """ - return pulumi.get(self, "ip_range") - - @ip_range.setter - def ip_range(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ip_range", value) - - @property - @pulumi.getter(name="netId") - def net_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Net. - """ - return pulumi.get(self, "net_id") - - @net_id.setter - def net_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "net_id", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - The state of the Net (`pending` \\| `available` \\| `deleted`). - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NetTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NetTagArgs']]]]): - pulumi.set(self, "tags", value) - - @property - @pulumi.getter - def tenancy(self) -> Optional[pulumi.Input[str]]: - """ - The tenancy options for the VMs (`default` if a VM created in a Net can be launched with any tenancy, `dedicated` if it can be launched with dedicated tenancy VMs running on single-tenant hardware). - """ - return pulumi.get(self, "tenancy") - - @tenancy.setter - def tenancy(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "tenancy", value) - - -class Net(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - ip_range: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetTagArgs']]]]] = None, - tenancy: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - Manages a Net. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPCs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-net). - - ## Example Usage - ### Create a Net - - ```python - import pulumi - import pulumi_outscale as outscale - - net01 = outscale.Net("net01", - ip_range="10.10.0.0/16", - tenancy="default") - ``` - ### Create a Net with a network - - ```python - import pulumi - import pulumi_outscale as outscale - - net02 = outscale.Net("net02", ip_range="10.0.0.0/16") - subnet01 = outscale.Subnet("subnet01", - net_id=net02.net_id, - ip_range="10.0.0.0/18") - public_ip01 = outscale.PublicIp("publicIp01") - nat_service01 = outscale.NatService("natService01", - subnet_id=subnet01.subnet_id, - public_ip_id=public_ip01.public_ip_id) - route_table01 = outscale.RouteTable("routeTable01", net_id=net02.net_id) - internet_service01 = outscale.InternetService("internetService01") - route01 = outscale.Route("route01", - destination_ip_range="0.0.0.0/0", - gateway_id=internet_service01.internet_service_id, - route_table_id=route_table01.route_table_id) - route_table_link01 = outscale.RouteTableLink("routeTableLink01", - subnet_id=subnet01.subnet_id, - route_table_id=route_table01.id) - internet_service_link01 = outscale.InternetServiceLink("internetServiceLink01", - net_id=net02.net_id, - internet_service_id=internet_service01.id) - ``` - - ## Import - - A Net can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/net:Net ImportedNet vpc-87654321 - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] ip_range: The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - :param pulumi.Input[str] tenancy: The tenancy options for the VMs (`default` if a VM created in a Net can be launched with any tenancy, `dedicated` if it can be launched with dedicated tenancy VMs running on single-tenant hardware). - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: NetArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages a Net. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPCs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-net). - - ## Example Usage - ### Create a Net - - ```python - import pulumi - import pulumi_outscale as outscale - - net01 = outscale.Net("net01", - ip_range="10.10.0.0/16", - tenancy="default") - ``` - ### Create a Net with a network - - ```python - import pulumi - import pulumi_outscale as outscale - - net02 = outscale.Net("net02", ip_range="10.0.0.0/16") - subnet01 = outscale.Subnet("subnet01", - net_id=net02.net_id, - ip_range="10.0.0.0/18") - public_ip01 = outscale.PublicIp("publicIp01") - nat_service01 = outscale.NatService("natService01", - subnet_id=subnet01.subnet_id, - public_ip_id=public_ip01.public_ip_id) - route_table01 = outscale.RouteTable("routeTable01", net_id=net02.net_id) - internet_service01 = outscale.InternetService("internetService01") - route01 = outscale.Route("route01", - destination_ip_range="0.0.0.0/0", - gateway_id=internet_service01.internet_service_id, - route_table_id=route_table01.route_table_id) - route_table_link01 = outscale.RouteTableLink("routeTableLink01", - subnet_id=subnet01.subnet_id, - route_table_id=route_table01.id) - internet_service_link01 = outscale.InternetServiceLink("internetServiceLink01", - net_id=net02.net_id, - internet_service_id=internet_service01.id) - ``` - - ## Import - - A Net can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/net:Net ImportedNet vpc-87654321 - ``` - - :param str resource_name: The name of the resource. - :param NetArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(NetArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - ip_range: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetTagArgs']]]]] = None, - tenancy: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = NetArgs.__new__(NetArgs) - - if ip_range is None and not opts.urn: - raise TypeError("Missing required property 'ip_range'") - __props__.__dict__["ip_range"] = ip_range - __props__.__dict__["tags"] = tags - __props__.__dict__["tenancy"] = tenancy - __props__.__dict__["dhcp_options_set_id"] = None - __props__.__dict__["net_id"] = None - __props__.__dict__["request_id"] = None - __props__.__dict__["state"] = None - super(Net, __self__).__init__( - 'outscale:index/net:Net', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - dhcp_options_set_id: Optional[pulumi.Input[str]] = None, - ip_range: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetTagArgs']]]]] = None, - tenancy: Optional[pulumi.Input[str]] = None) -> 'Net': - """ - Get an existing Net resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] dhcp_options_set_id: The ID of the DHCP options set (or `default` if you want to associate the default one). - :param pulumi.Input[str] ip_range: The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). - :param pulumi.Input[str] net_id: The ID of the Net. - :param pulumi.Input[str] state: The state of the Net (`pending` \\| `available` \\| `deleted`). - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - :param pulumi.Input[str] tenancy: The tenancy options for the VMs (`default` if a VM created in a Net can be launched with any tenancy, `dedicated` if it can be launched with dedicated tenancy VMs running on single-tenant hardware). - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _NetState.__new__(_NetState) - - __props__.__dict__["dhcp_options_set_id"] = dhcp_options_set_id - __props__.__dict__["ip_range"] = ip_range - __props__.__dict__["net_id"] = net_id - __props__.__dict__["request_id"] = request_id - __props__.__dict__["state"] = state - __props__.__dict__["tags"] = tags - __props__.__dict__["tenancy"] = tenancy - return Net(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="dhcpOptionsSetId") - def dhcp_options_set_id(self) -> pulumi.Output[str]: - """ - The ID of the DHCP options set (or `default` if you want to associate the default one). - """ - return pulumi.get(self, "dhcp_options_set_id") - - @property - @pulumi.getter(name="ipRange") - def ip_range(self) -> pulumi.Output[str]: - """ - The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). - """ - return pulumi.get(self, "ip_range") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> pulumi.Output[str]: - """ - The ID of the Net. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def state(self) -> pulumi.Output[str]: - """ - The state of the Net (`pending` \\| `available` \\| `deleted`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Sequence['outputs.NetTag']]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter - def tenancy(self) -> pulumi.Output[str]: - """ - The tenancy options for the VMs (`default` if a VM created in a Net can be launched with any tenancy, `dedicated` if it can be launched with dedicated tenancy VMs running on single-tenant hardware). - """ - return pulumi.get(self, "tenancy") - diff --git a/sdk/python/pulumi_outscale/net_access_point.py b/sdk/python/pulumi_outscale/net_access_point.py deleted file mode 100644 index b1b02a8..0000000 --- a/sdk/python/pulumi_outscale/net_access_point.py +++ /dev/null @@ -1,440 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['NetAccessPointArgs', 'NetAccessPoint'] - -@pulumi.input_type -class NetAccessPointArgs: - def __init__(__self__, *, - net_id: pulumi.Input[str], - service_name: pulumi.Input[str], - route_table_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['NetAccessPointTagArgs']]]] = None): - """ - The set of arguments for constructing a NetAccessPoint resource. - :param pulumi.Input[str] net_id: The ID of the Net. - :param pulumi.Input[str] service_name: The name of the service (in the format `com.outscale.region.service`). - :param pulumi.Input[Sequence[pulumi.Input[str]]] route_table_ids: One or more IDs of route tables to use for the connection. - :param pulumi.Input[Sequence[pulumi.Input['NetAccessPointTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - """ - pulumi.set(__self__, "net_id", net_id) - pulumi.set(__self__, "service_name", service_name) - if route_table_ids is not None: - pulumi.set(__self__, "route_table_ids", route_table_ids) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="netId") - def net_id(self) -> pulumi.Input[str]: - """ - The ID of the Net. - """ - return pulumi.get(self, "net_id") - - @net_id.setter - def net_id(self, value: pulumi.Input[str]): - pulumi.set(self, "net_id", value) - - @property - @pulumi.getter(name="serviceName") - def service_name(self) -> pulumi.Input[str]: - """ - The name of the service (in the format `com.outscale.region.service`). - """ - return pulumi.get(self, "service_name") - - @service_name.setter - def service_name(self, value: pulumi.Input[str]): - pulumi.set(self, "service_name", value) - - @property - @pulumi.getter(name="routeTableIds") - def route_table_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - One or more IDs of route tables to use for the connection. - """ - return pulumi.get(self, "route_table_ids") - - @route_table_ids.setter - def route_table_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "route_table_ids", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NetAccessPointTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NetAccessPointTagArgs']]]]): - pulumi.set(self, "tags", value) - - -@pulumi.input_type -class _NetAccessPointState: - def __init__(__self__, *, - net_access_point_id: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - route_table_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - service_name: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['NetAccessPointTagArgs']]]] = None): - """ - Input properties used for looking up and filtering NetAccessPoint resources. - :param pulumi.Input[str] net_access_point_id: The ID of the Net access point. - :param pulumi.Input[str] net_id: The ID of the Net. - :param pulumi.Input[Sequence[pulumi.Input[str]]] route_table_ids: One or more IDs of route tables to use for the connection. - :param pulumi.Input[str] service_name: The name of the service (in the format `com.outscale.region.service`). - :param pulumi.Input[str] state: The state of the Net access point (`pending` \\| `available` \\| `deleting` \\| `deleted`). - :param pulumi.Input[Sequence[pulumi.Input['NetAccessPointTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - """ - if net_access_point_id is not None: - pulumi.set(__self__, "net_access_point_id", net_access_point_id) - if net_id is not None: - pulumi.set(__self__, "net_id", net_id) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if route_table_ids is not None: - pulumi.set(__self__, "route_table_ids", route_table_ids) - if service_name is not None: - pulumi.set(__self__, "service_name", service_name) - if state is not None: - pulumi.set(__self__, "state", state) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="netAccessPointId") - def net_access_point_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Net access point. - """ - return pulumi.get(self, "net_access_point_id") - - @net_access_point_id.setter - def net_access_point_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "net_access_point_id", value) - - @property - @pulumi.getter(name="netId") - def net_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Net. - """ - return pulumi.get(self, "net_id") - - @net_id.setter - def net_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "net_id", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter(name="routeTableIds") - def route_table_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - One or more IDs of route tables to use for the connection. - """ - return pulumi.get(self, "route_table_ids") - - @route_table_ids.setter - def route_table_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "route_table_ids", value) - - @property - @pulumi.getter(name="serviceName") - def service_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the service (in the format `com.outscale.region.service`). - """ - return pulumi.get(self, "service_name") - - @service_name.setter - def service_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "service_name", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - The state of the Net access point (`pending` \\| `available` \\| `deleting` \\| `deleted`). - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NetAccessPointTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NetAccessPointTagArgs']]]]): - pulumi.set(self, "tags", value) - - -class NetAccessPoint(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - net_id: Optional[pulumi.Input[str]] = None, - route_table_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - service_name: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetAccessPointTagArgs']]]]] = None, - __props__=None): - """ - Manages a Net access point. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Endpoints.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netaccesspoint). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - net01 = outscale.Net("net01", ip_range="10.0.0.0/16") - route_table01 = outscale.RouteTable("routeTable01", net_id=net01.net_id) - ``` - ### Create a Net access point - - ```python - import pulumi - import pulumi_outscale as outscale - - net_access_point01 = outscale.NetAccessPoint("netAccessPoint01", - net_id=outscale_net["net01"]["net_id"], - route_table_ids=[outscale_route_table["route_table01"]["route_table_id"]], - service_name="com.outscale.eu-west-2.api", - tags=[outscale.NetAccessPointTagArgs( - key="name", - value="terraform-net-access-point", - )]) - ``` - - ## Import - - A Net access point can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/netAccessPoint:NetAccessPoint ImportedNetAccessPoint vpce-87654321 - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] net_id: The ID of the Net. - :param pulumi.Input[Sequence[pulumi.Input[str]]] route_table_ids: One or more IDs of route tables to use for the connection. - :param pulumi.Input[str] service_name: The name of the service (in the format `com.outscale.region.service`). - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetAccessPointTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: NetAccessPointArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages a Net access point. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Endpoints.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netaccesspoint). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - net01 = outscale.Net("net01", ip_range="10.0.0.0/16") - route_table01 = outscale.RouteTable("routeTable01", net_id=net01.net_id) - ``` - ### Create a Net access point - - ```python - import pulumi - import pulumi_outscale as outscale - - net_access_point01 = outscale.NetAccessPoint("netAccessPoint01", - net_id=outscale_net["net01"]["net_id"], - route_table_ids=[outscale_route_table["route_table01"]["route_table_id"]], - service_name="com.outscale.eu-west-2.api", - tags=[outscale.NetAccessPointTagArgs( - key="name", - value="terraform-net-access-point", - )]) - ``` - - ## Import - - A Net access point can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/netAccessPoint:NetAccessPoint ImportedNetAccessPoint vpce-87654321 - ``` - - :param str resource_name: The name of the resource. - :param NetAccessPointArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(NetAccessPointArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - net_id: Optional[pulumi.Input[str]] = None, - route_table_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - service_name: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetAccessPointTagArgs']]]]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = NetAccessPointArgs.__new__(NetAccessPointArgs) - - if net_id is None and not opts.urn: - raise TypeError("Missing required property 'net_id'") - __props__.__dict__["net_id"] = net_id - __props__.__dict__["route_table_ids"] = route_table_ids - if service_name is None and not opts.urn: - raise TypeError("Missing required property 'service_name'") - __props__.__dict__["service_name"] = service_name - __props__.__dict__["tags"] = tags - __props__.__dict__["net_access_point_id"] = None - __props__.__dict__["request_id"] = None - __props__.__dict__["state"] = None - super(NetAccessPoint, __self__).__init__( - 'outscale:index/netAccessPoint:NetAccessPoint', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - net_access_point_id: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - route_table_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - service_name: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetAccessPointTagArgs']]]]] = None) -> 'NetAccessPoint': - """ - Get an existing NetAccessPoint resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] net_access_point_id: The ID of the Net access point. - :param pulumi.Input[str] net_id: The ID of the Net. - :param pulumi.Input[Sequence[pulumi.Input[str]]] route_table_ids: One or more IDs of route tables to use for the connection. - :param pulumi.Input[str] service_name: The name of the service (in the format `com.outscale.region.service`). - :param pulumi.Input[str] state: The state of the Net access point (`pending` \\| `available` \\| `deleting` \\| `deleted`). - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetAccessPointTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _NetAccessPointState.__new__(_NetAccessPointState) - - __props__.__dict__["net_access_point_id"] = net_access_point_id - __props__.__dict__["net_id"] = net_id - __props__.__dict__["request_id"] = request_id - __props__.__dict__["route_table_ids"] = route_table_ids - __props__.__dict__["service_name"] = service_name - __props__.__dict__["state"] = state - __props__.__dict__["tags"] = tags - return NetAccessPoint(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="netAccessPointId") - def net_access_point_id(self) -> pulumi.Output[str]: - """ - The ID of the Net access point. - """ - return pulumi.get(self, "net_access_point_id") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> pulumi.Output[str]: - """ - The ID of the Net. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="routeTableIds") - def route_table_ids(self) -> pulumi.Output[Optional[Sequence[str]]]: - """ - One or more IDs of route tables to use for the connection. - """ - return pulumi.get(self, "route_table_ids") - - @property - @pulumi.getter(name="serviceName") - def service_name(self) -> pulumi.Output[str]: - """ - The name of the service (in the format `com.outscale.region.service`). - """ - return pulumi.get(self, "service_name") - - @property - @pulumi.getter - def state(self) -> pulumi.Output[str]: - """ - The state of the Net access point (`pending` \\| `available` \\| `deleting` \\| `deleted`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Sequence['outputs.NetAccessPointTag']]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - diff --git a/sdk/python/pulumi_outscale/net_attributes.py b/sdk/python/pulumi_outscale/net_attributes.py deleted file mode 100644 index 9bb1c7a..0000000 --- a/sdk/python/pulumi_outscale/net_attributes.py +++ /dev/null @@ -1,389 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['NetAttributesArgs', 'NetAttributes'] - -@pulumi.input_type -class NetAttributesArgs: - def __init__(__self__, *, - net_id: pulumi.Input[str], - dhcp_options_set_id: Optional[pulumi.Input[str]] = None): - """ - The set of arguments for constructing a NetAttributes resource. - :param pulumi.Input[str] net_id: The ID of the Net. - :param pulumi.Input[str] dhcp_options_set_id: The ID of the DHCP options set (or `default` if you want to associate the default one). - """ - pulumi.set(__self__, "net_id", net_id) - if dhcp_options_set_id is not None: - pulumi.set(__self__, "dhcp_options_set_id", dhcp_options_set_id) - - @property - @pulumi.getter(name="netId") - def net_id(self) -> pulumi.Input[str]: - """ - The ID of the Net. - """ - return pulumi.get(self, "net_id") - - @net_id.setter - def net_id(self, value: pulumi.Input[str]): - pulumi.set(self, "net_id", value) - - @property - @pulumi.getter(name="dhcpOptionsSetId") - def dhcp_options_set_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the DHCP options set (or `default` if you want to associate the default one). - """ - return pulumi.get(self, "dhcp_options_set_id") - - @dhcp_options_set_id.setter - def dhcp_options_set_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "dhcp_options_set_id", value) - - -@pulumi.input_type -class _NetAttributesState: - def __init__(__self__, *, - dhcp_options_set_id: Optional[pulumi.Input[str]] = None, - ip_range: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['NetAttributesTagArgs']]]] = None, - tenancy: Optional[pulumi.Input[str]] = None): - """ - Input properties used for looking up and filtering NetAttributes resources. - :param pulumi.Input[str] dhcp_options_set_id: The ID of the DHCP options set (or `default` if you want to associate the default one). - :param pulumi.Input[str] ip_range: The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). - :param pulumi.Input[str] net_id: The ID of the Net. - :param pulumi.Input[str] state: The state of the Net (`pending` \\| `available` \\| `deleted`). - :param pulumi.Input[Sequence[pulumi.Input['NetAttributesTagArgs']]] tags: One or more tags associated with the Net. - :param pulumi.Input[str] tenancy: The VM tenancy in a Net. - """ - if dhcp_options_set_id is not None: - pulumi.set(__self__, "dhcp_options_set_id", dhcp_options_set_id) - if ip_range is not None: - pulumi.set(__self__, "ip_range", ip_range) - if net_id is not None: - pulumi.set(__self__, "net_id", net_id) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if state is not None: - pulumi.set(__self__, "state", state) - if tags is not None: - pulumi.set(__self__, "tags", tags) - if tenancy is not None: - pulumi.set(__self__, "tenancy", tenancy) - - @property - @pulumi.getter(name="dhcpOptionsSetId") - def dhcp_options_set_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the DHCP options set (or `default` if you want to associate the default one). - """ - return pulumi.get(self, "dhcp_options_set_id") - - @dhcp_options_set_id.setter - def dhcp_options_set_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "dhcp_options_set_id", value) - - @property - @pulumi.getter(name="ipRange") - def ip_range(self) -> Optional[pulumi.Input[str]]: - """ - The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). - """ - return pulumi.get(self, "ip_range") - - @ip_range.setter - def ip_range(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ip_range", value) - - @property - @pulumi.getter(name="netId") - def net_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Net. - """ - return pulumi.get(self, "net_id") - - @net_id.setter - def net_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "net_id", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - The state of the Net (`pending` \\| `available` \\| `deleted`). - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NetAttributesTagArgs']]]]: - """ - One or more tags associated with the Net. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NetAttributesTagArgs']]]]): - pulumi.set(self, "tags", value) - - @property - @pulumi.getter - def tenancy(self) -> Optional[pulumi.Input[str]]: - """ - The VM tenancy in a Net. - """ - return pulumi.get(self, "tenancy") - - @tenancy.setter - def tenancy(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "tenancy", value) - - -class NetAttributes(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - dhcp_options_set_id: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - Manages the attributes of a Net. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-DHCP-Options.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#updatenet). - - ## Example Usage - ### Required resource - - ```python - import pulumi - import pulumi_outscale as outscale - - net01 = outscale.Net("net01", ip_range="10.0.0.0/16") - ``` - ### Associate a DHCP option set to a Net - - ```python - import pulumi - import pulumi_outscale as outscale - - net_attributes01 = outscale.NetAttributes("netAttributes01", - net_id=outscale_net["net01"]["net_id"], - dhcp_options_set_id=var["dhcp_options_set_id"]) - ``` - - ## Import - - A Net attribute can be imported using the Net ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/netAttributes:NetAttributes ImportedNet vpc-12345678 - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] dhcp_options_set_id: The ID of the DHCP options set (or `default` if you want to associate the default one). - :param pulumi.Input[str] net_id: The ID of the Net. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: NetAttributesArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages the attributes of a Net. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-DHCP-Options.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#updatenet). - - ## Example Usage - ### Required resource - - ```python - import pulumi - import pulumi_outscale as outscale - - net01 = outscale.Net("net01", ip_range="10.0.0.0/16") - ``` - ### Associate a DHCP option set to a Net - - ```python - import pulumi - import pulumi_outscale as outscale - - net_attributes01 = outscale.NetAttributes("netAttributes01", - net_id=outscale_net["net01"]["net_id"], - dhcp_options_set_id=var["dhcp_options_set_id"]) - ``` - - ## Import - - A Net attribute can be imported using the Net ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/netAttributes:NetAttributes ImportedNet vpc-12345678 - ``` - - :param str resource_name: The name of the resource. - :param NetAttributesArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(NetAttributesArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - dhcp_options_set_id: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = NetAttributesArgs.__new__(NetAttributesArgs) - - __props__.__dict__["dhcp_options_set_id"] = dhcp_options_set_id - if net_id is None and not opts.urn: - raise TypeError("Missing required property 'net_id'") - __props__.__dict__["net_id"] = net_id - __props__.__dict__["ip_range"] = None - __props__.__dict__["request_id"] = None - __props__.__dict__["state"] = None - __props__.__dict__["tags"] = None - __props__.__dict__["tenancy"] = None - super(NetAttributes, __self__).__init__( - 'outscale:index/netAttributes:NetAttributes', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - dhcp_options_set_id: Optional[pulumi.Input[str]] = None, - ip_range: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetAttributesTagArgs']]]]] = None, - tenancy: Optional[pulumi.Input[str]] = None) -> 'NetAttributes': - """ - Get an existing NetAttributes resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] dhcp_options_set_id: The ID of the DHCP options set (or `default` if you want to associate the default one). - :param pulumi.Input[str] ip_range: The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). - :param pulumi.Input[str] net_id: The ID of the Net. - :param pulumi.Input[str] state: The state of the Net (`pending` \\| `available` \\| `deleted`). - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetAttributesTagArgs']]]] tags: One or more tags associated with the Net. - :param pulumi.Input[str] tenancy: The VM tenancy in a Net. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _NetAttributesState.__new__(_NetAttributesState) - - __props__.__dict__["dhcp_options_set_id"] = dhcp_options_set_id - __props__.__dict__["ip_range"] = ip_range - __props__.__dict__["net_id"] = net_id - __props__.__dict__["request_id"] = request_id - __props__.__dict__["state"] = state - __props__.__dict__["tags"] = tags - __props__.__dict__["tenancy"] = tenancy - return NetAttributes(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="dhcpOptionsSetId") - def dhcp_options_set_id(self) -> pulumi.Output[str]: - """ - The ID of the DHCP options set (or `default` if you want to associate the default one). - """ - return pulumi.get(self, "dhcp_options_set_id") - - @property - @pulumi.getter(name="ipRange") - def ip_range(self) -> pulumi.Output[str]: - """ - The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). - """ - return pulumi.get(self, "ip_range") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> pulumi.Output[str]: - """ - The ID of the Net. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def state(self) -> pulumi.Output[str]: - """ - The state of the Net (`pending` \\| `available` \\| `deleted`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter - def tags(self) -> pulumi.Output[Sequence['outputs.NetAttributesTag']]: - """ - One or more tags associated with the Net. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter - def tenancy(self) -> pulumi.Output[str]: - """ - The VM tenancy in a Net. - """ - return pulumi.get(self, "tenancy") - diff --git a/sdk/python/pulumi_outscale/net_peering.py b/sdk/python/pulumi_outscale/net_peering.py deleted file mode 100644 index 96b8672..0000000 --- a/sdk/python/pulumi_outscale/net_peering.py +++ /dev/null @@ -1,473 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['NetPeeringArgs', 'NetPeering'] - -@pulumi.input_type -class NetPeeringArgs: - def __init__(__self__, *, - accepter_net_id: pulumi.Input[str], - source_net_id: pulumi.Input[str], - source_net_account_id: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['NetPeeringTagArgs']]]] = None): - """ - The set of arguments for constructing a NetPeering resource. - :param pulumi.Input[str] accepter_net_id: The ID of the Net you want to connect with. - :param pulumi.Input[str] source_net_id: The ID of the Net you send the peering request from. - :param pulumi.Input[Sequence[pulumi.Input['NetPeeringTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - """ - pulumi.set(__self__, "accepter_net_id", accepter_net_id) - pulumi.set(__self__, "source_net_id", source_net_id) - if source_net_account_id is not None: - pulumi.set(__self__, "source_net_account_id", source_net_account_id) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="accepterNetId") - def accepter_net_id(self) -> pulumi.Input[str]: - """ - The ID of the Net you want to connect with. - """ - return pulumi.get(self, "accepter_net_id") - - @accepter_net_id.setter - def accepter_net_id(self, value: pulumi.Input[str]): - pulumi.set(self, "accepter_net_id", value) - - @property - @pulumi.getter(name="sourceNetId") - def source_net_id(self) -> pulumi.Input[str]: - """ - The ID of the Net you send the peering request from. - """ - return pulumi.get(self, "source_net_id") - - @source_net_id.setter - def source_net_id(self, value: pulumi.Input[str]): - pulumi.set(self, "source_net_id", value) - - @property - @pulumi.getter(name="sourceNetAccountId") - def source_net_account_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "source_net_account_id") - - @source_net_account_id.setter - def source_net_account_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "source_net_account_id", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NetPeeringTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NetPeeringTagArgs']]]]): - pulumi.set(self, "tags", value) - - -@pulumi.input_type -class _NetPeeringState: - def __init__(__self__, *, - accepter_net_id: Optional[pulumi.Input[str]] = None, - accepter_nets: Optional[pulumi.Input[Sequence[pulumi.Input['NetPeeringAccepterNetArgs']]]] = None, - net_peering_id: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - source_net_account_id: Optional[pulumi.Input[str]] = None, - source_net_id: Optional[pulumi.Input[str]] = None, - source_nets: Optional[pulumi.Input[Sequence[pulumi.Input['NetPeeringSourceNetArgs']]]] = None, - states: Optional[pulumi.Input[Sequence[pulumi.Input['NetPeeringStateArgs']]]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['NetPeeringTagArgs']]]] = None): - """ - Input properties used for looking up and filtering NetPeering resources. - :param pulumi.Input[str] accepter_net_id: The ID of the Net you want to connect with. - :param pulumi.Input[Sequence[pulumi.Input['NetPeeringAccepterNetArgs']]] accepter_nets: Information about the accepter Net. - :param pulumi.Input[str] net_peering_id: The ID of the Net peering. - :param pulumi.Input[str] source_net_id: The ID of the Net you send the peering request from. - :param pulumi.Input[Sequence[pulumi.Input['NetPeeringSourceNetArgs']]] source_nets: Information about the source Net. - :param pulumi.Input[Sequence[pulumi.Input['NetPeeringStateArgs']]] states: Information about the state of the Net peering. - :param pulumi.Input[Sequence[pulumi.Input['NetPeeringTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - """ - if accepter_net_id is not None: - pulumi.set(__self__, "accepter_net_id", accepter_net_id) - if accepter_nets is not None: - pulumi.set(__self__, "accepter_nets", accepter_nets) - if net_peering_id is not None: - pulumi.set(__self__, "net_peering_id", net_peering_id) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if source_net_account_id is not None: - pulumi.set(__self__, "source_net_account_id", source_net_account_id) - if source_net_id is not None: - pulumi.set(__self__, "source_net_id", source_net_id) - if source_nets is not None: - pulumi.set(__self__, "source_nets", source_nets) - if states is not None: - pulumi.set(__self__, "states", states) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="accepterNetId") - def accepter_net_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Net you want to connect with. - """ - return pulumi.get(self, "accepter_net_id") - - @accepter_net_id.setter - def accepter_net_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "accepter_net_id", value) - - @property - @pulumi.getter(name="accepterNets") - def accepter_nets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NetPeeringAccepterNetArgs']]]]: - """ - Information about the accepter Net. - """ - return pulumi.get(self, "accepter_nets") - - @accepter_nets.setter - def accepter_nets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NetPeeringAccepterNetArgs']]]]): - pulumi.set(self, "accepter_nets", value) - - @property - @pulumi.getter(name="netPeeringId") - def net_peering_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Net peering. - """ - return pulumi.get(self, "net_peering_id") - - @net_peering_id.setter - def net_peering_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "net_peering_id", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter(name="sourceNetAccountId") - def source_net_account_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "source_net_account_id") - - @source_net_account_id.setter - def source_net_account_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "source_net_account_id", value) - - @property - @pulumi.getter(name="sourceNetId") - def source_net_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Net you send the peering request from. - """ - return pulumi.get(self, "source_net_id") - - @source_net_id.setter - def source_net_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "source_net_id", value) - - @property - @pulumi.getter(name="sourceNets") - def source_nets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NetPeeringSourceNetArgs']]]]: - """ - Information about the source Net. - """ - return pulumi.get(self, "source_nets") - - @source_nets.setter - def source_nets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NetPeeringSourceNetArgs']]]]): - pulumi.set(self, "source_nets", value) - - @property - @pulumi.getter - def states(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NetPeeringStateArgs']]]]: - """ - Information about the state of the Net peering. - """ - return pulumi.get(self, "states") - - @states.setter - def states(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NetPeeringStateArgs']]]]): - pulumi.set(self, "states", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NetPeeringTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NetPeeringTagArgs']]]]): - pulumi.set(self, "tags", value) - - -class NetPeering(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - accepter_net_id: Optional[pulumi.Input[str]] = None, - source_net_account_id: Optional[pulumi.Input[str]] = None, - source_net_id: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetPeeringTagArgs']]]]] = None, - __props__=None): - """ - Manages a Net peering. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Peering-Connections.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netpeering). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - net01 = outscale.Net("net01", ip_range="10.10.0.0/24") - net02 = outscale.Net("net02", ip_range="10.31.0.0/16") - ``` - ### Peer Nets - - ```python - import pulumi - import pulumi_outscale as outscale - - net_peering01 = outscale.NetPeering("netPeering01", - accepter_net_id=outscale_net["net01"]["net_id"], - source_net_id=outscale_net["net02"]["net_id"]) - ``` - - ## Import - - A Net peering can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/netPeering:NetPeering ImportedNetPeering pcx-12345678 - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] accepter_net_id: The ID of the Net you want to connect with. - :param pulumi.Input[str] source_net_id: The ID of the Net you send the peering request from. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetPeeringTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: NetPeeringArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages a Net peering. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Peering-Connections.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netpeering). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - net01 = outscale.Net("net01", ip_range="10.10.0.0/24") - net02 = outscale.Net("net02", ip_range="10.31.0.0/16") - ``` - ### Peer Nets - - ```python - import pulumi - import pulumi_outscale as outscale - - net_peering01 = outscale.NetPeering("netPeering01", - accepter_net_id=outscale_net["net01"]["net_id"], - source_net_id=outscale_net["net02"]["net_id"]) - ``` - - ## Import - - A Net peering can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/netPeering:NetPeering ImportedNetPeering pcx-12345678 - ``` - - :param str resource_name: The name of the resource. - :param NetPeeringArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(NetPeeringArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - accepter_net_id: Optional[pulumi.Input[str]] = None, - source_net_account_id: Optional[pulumi.Input[str]] = None, - source_net_id: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetPeeringTagArgs']]]]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = NetPeeringArgs.__new__(NetPeeringArgs) - - if accepter_net_id is None and not opts.urn: - raise TypeError("Missing required property 'accepter_net_id'") - __props__.__dict__["accepter_net_id"] = accepter_net_id - __props__.__dict__["source_net_account_id"] = source_net_account_id - if source_net_id is None and not opts.urn: - raise TypeError("Missing required property 'source_net_id'") - __props__.__dict__["source_net_id"] = source_net_id - __props__.__dict__["tags"] = tags - __props__.__dict__["accepter_nets"] = None - __props__.__dict__["net_peering_id"] = None - __props__.__dict__["request_id"] = None - __props__.__dict__["source_nets"] = None - __props__.__dict__["states"] = None - super(NetPeering, __self__).__init__( - 'outscale:index/netPeering:NetPeering', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - accepter_net_id: Optional[pulumi.Input[str]] = None, - accepter_nets: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetPeeringAccepterNetArgs']]]]] = None, - net_peering_id: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - source_net_account_id: Optional[pulumi.Input[str]] = None, - source_net_id: Optional[pulumi.Input[str]] = None, - source_nets: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetPeeringSourceNetArgs']]]]] = None, - states: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetPeeringStateArgs']]]]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetPeeringTagArgs']]]]] = None) -> 'NetPeering': - """ - Get an existing NetPeering resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] accepter_net_id: The ID of the Net you want to connect with. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetPeeringAccepterNetArgs']]]] accepter_nets: Information about the accepter Net. - :param pulumi.Input[str] net_peering_id: The ID of the Net peering. - :param pulumi.Input[str] source_net_id: The ID of the Net you send the peering request from. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetPeeringSourceNetArgs']]]] source_nets: Information about the source Net. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetPeeringStateArgs']]]] states: Information about the state of the Net peering. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetPeeringTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _NetPeeringState.__new__(_NetPeeringState) - - __props__.__dict__["accepter_net_id"] = accepter_net_id - __props__.__dict__["accepter_nets"] = accepter_nets - __props__.__dict__["net_peering_id"] = net_peering_id - __props__.__dict__["request_id"] = request_id - __props__.__dict__["source_net_account_id"] = source_net_account_id - __props__.__dict__["source_net_id"] = source_net_id - __props__.__dict__["source_nets"] = source_nets - __props__.__dict__["states"] = states - __props__.__dict__["tags"] = tags - return NetPeering(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="accepterNetId") - def accepter_net_id(self) -> pulumi.Output[str]: - """ - The ID of the Net you want to connect with. - """ - return pulumi.get(self, "accepter_net_id") - - @property - @pulumi.getter(name="accepterNets") - def accepter_nets(self) -> pulumi.Output[Sequence['outputs.NetPeeringAccepterNet']]: - """ - Information about the accepter Net. - """ - return pulumi.get(self, "accepter_nets") - - @property - @pulumi.getter(name="netPeeringId") - def net_peering_id(self) -> pulumi.Output[str]: - """ - The ID of the Net peering. - """ - return pulumi.get(self, "net_peering_id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="sourceNetAccountId") - def source_net_account_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "source_net_account_id") - - @property - @pulumi.getter(name="sourceNetId") - def source_net_id(self) -> pulumi.Output[str]: - """ - The ID of the Net you send the peering request from. - """ - return pulumi.get(self, "source_net_id") - - @property - @pulumi.getter(name="sourceNets") - def source_nets(self) -> pulumi.Output[Sequence['outputs.NetPeeringSourceNet']]: - """ - Information about the source Net. - """ - return pulumi.get(self, "source_nets") - - @property - @pulumi.getter - def states(self) -> pulumi.Output[Sequence['outputs.NetPeeringState']]: - """ - Information about the state of the Net peering. - """ - return pulumi.get(self, "states") - - @property - @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Sequence['outputs.NetPeeringTag']]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - diff --git a/sdk/python/pulumi_outscale/net_peering_acception.py b/sdk/python/pulumi_outscale/net_peering_acception.py deleted file mode 100644 index d8f2566..0000000 --- a/sdk/python/pulumi_outscale/net_peering_acception.py +++ /dev/null @@ -1,344 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['NetPeeringAcceptionArgs', 'NetPeeringAcception'] - -@pulumi.input_type -class NetPeeringAcceptionArgs: - def __init__(__self__, *, - net_peering_id: pulumi.Input[str]): - """ - The set of arguments for constructing a NetPeeringAcception resource. - :param pulumi.Input[str] net_peering_id: The ID of the Net peering you want to accept. - """ - pulumi.set(__self__, "net_peering_id", net_peering_id) - - @property - @pulumi.getter(name="netPeeringId") - def net_peering_id(self) -> pulumi.Input[str]: - """ - The ID of the Net peering you want to accept. - """ - return pulumi.get(self, "net_peering_id") - - @net_peering_id.setter - def net_peering_id(self, value: pulumi.Input[str]): - pulumi.set(self, "net_peering_id", value) - - -@pulumi.input_type -class _NetPeeringAcceptionState: - def __init__(__self__, *, - accepter_net_id: Optional[pulumi.Input[str]] = None, - accepter_nets: Optional[pulumi.Input[Sequence[pulumi.Input['NetPeeringAcceptionAccepterNetArgs']]]] = None, - net_peering_id: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - source_net_id: Optional[pulumi.Input[str]] = None, - source_nets: Optional[pulumi.Input[Sequence[pulumi.Input['NetPeeringAcceptionSourceNetArgs']]]] = None, - states: Optional[pulumi.Input[Sequence[pulumi.Input['NetPeeringAcceptionStateArgs']]]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['NetPeeringAcceptionTagArgs']]]] = None): - """ - Input properties used for looking up and filtering NetPeeringAcception resources. - :param pulumi.Input[Sequence[pulumi.Input['NetPeeringAcceptionAccepterNetArgs']]] accepter_nets: Information about the accepter Net. - :param pulumi.Input[str] net_peering_id: The ID of the Net peering you want to accept. - :param pulumi.Input[Sequence[pulumi.Input['NetPeeringAcceptionSourceNetArgs']]] source_nets: Information about the source Net. - :param pulumi.Input[Sequence[pulumi.Input['NetPeeringAcceptionStateArgs']]] states: Information about the state of the Net peering. - :param pulumi.Input[Sequence[pulumi.Input['NetPeeringAcceptionTagArgs']]] tags: One or more tags associated with the Net peering. - """ - if accepter_net_id is not None: - pulumi.set(__self__, "accepter_net_id", accepter_net_id) - if accepter_nets is not None: - pulumi.set(__self__, "accepter_nets", accepter_nets) - if net_peering_id is not None: - pulumi.set(__self__, "net_peering_id", net_peering_id) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if source_net_id is not None: - pulumi.set(__self__, "source_net_id", source_net_id) - if source_nets is not None: - pulumi.set(__self__, "source_nets", source_nets) - if states is not None: - pulumi.set(__self__, "states", states) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="accepterNetId") - def accepter_net_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "accepter_net_id") - - @accepter_net_id.setter - def accepter_net_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "accepter_net_id", value) - - @property - @pulumi.getter(name="accepterNets") - def accepter_nets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NetPeeringAcceptionAccepterNetArgs']]]]: - """ - Information about the accepter Net. - """ - return pulumi.get(self, "accepter_nets") - - @accepter_nets.setter - def accepter_nets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NetPeeringAcceptionAccepterNetArgs']]]]): - pulumi.set(self, "accepter_nets", value) - - @property - @pulumi.getter(name="netPeeringId") - def net_peering_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Net peering you want to accept. - """ - return pulumi.get(self, "net_peering_id") - - @net_peering_id.setter - def net_peering_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "net_peering_id", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter(name="sourceNetId") - def source_net_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "source_net_id") - - @source_net_id.setter - def source_net_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "source_net_id", value) - - @property - @pulumi.getter(name="sourceNets") - def source_nets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NetPeeringAcceptionSourceNetArgs']]]]: - """ - Information about the source Net. - """ - return pulumi.get(self, "source_nets") - - @source_nets.setter - def source_nets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NetPeeringAcceptionSourceNetArgs']]]]): - pulumi.set(self, "source_nets", value) - - @property - @pulumi.getter - def states(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NetPeeringAcceptionStateArgs']]]]: - """ - Information about the state of the Net peering. - """ - return pulumi.get(self, "states") - - @states.setter - def states(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NetPeeringAcceptionStateArgs']]]]): - pulumi.set(self, "states", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NetPeeringAcceptionTagArgs']]]]: - """ - One or more tags associated with the Net peering. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NetPeeringAcceptionTagArgs']]]]): - pulumi.set(self, "tags", value) - - -class NetPeeringAcception(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - net_peering_id: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - Manages a Net peering acceptation. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Peering-Connections.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netpeering). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - net_peering_acceptation01 = outscale.NetPeeringAcception("netPeeringAcceptation01", net_peering_id=outscale_net_peering["net_peering01"]["net_peering_id"]) - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] net_peering_id: The ID of the Net peering you want to accept. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: NetPeeringAcceptionArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages a Net peering acceptation. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPC-Peering-Connections.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-netpeering). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - net_peering_acceptation01 = outscale.NetPeeringAcception("netPeeringAcceptation01", net_peering_id=outscale_net_peering["net_peering01"]["net_peering_id"]) - ``` - - :param str resource_name: The name of the resource. - :param NetPeeringAcceptionArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(NetPeeringAcceptionArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - net_peering_id: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = NetPeeringAcceptionArgs.__new__(NetPeeringAcceptionArgs) - - if net_peering_id is None and not opts.urn: - raise TypeError("Missing required property 'net_peering_id'") - __props__.__dict__["net_peering_id"] = net_peering_id - __props__.__dict__["accepter_net_id"] = None - __props__.__dict__["accepter_nets"] = None - __props__.__dict__["request_id"] = None - __props__.__dict__["source_net_id"] = None - __props__.__dict__["source_nets"] = None - __props__.__dict__["states"] = None - __props__.__dict__["tags"] = None - super(NetPeeringAcception, __self__).__init__( - 'outscale:index/netPeeringAcception:NetPeeringAcception', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - accepter_net_id: Optional[pulumi.Input[str]] = None, - accepter_nets: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetPeeringAcceptionAccepterNetArgs']]]]] = None, - net_peering_id: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - source_net_id: Optional[pulumi.Input[str]] = None, - source_nets: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetPeeringAcceptionSourceNetArgs']]]]] = None, - states: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetPeeringAcceptionStateArgs']]]]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetPeeringAcceptionTagArgs']]]]] = None) -> 'NetPeeringAcception': - """ - Get an existing NetPeeringAcception resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetPeeringAcceptionAccepterNetArgs']]]] accepter_nets: Information about the accepter Net. - :param pulumi.Input[str] net_peering_id: The ID of the Net peering you want to accept. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetPeeringAcceptionSourceNetArgs']]]] source_nets: Information about the source Net. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetPeeringAcceptionStateArgs']]]] states: Information about the state of the Net peering. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetPeeringAcceptionTagArgs']]]] tags: One or more tags associated with the Net peering. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _NetPeeringAcceptionState.__new__(_NetPeeringAcceptionState) - - __props__.__dict__["accepter_net_id"] = accepter_net_id - __props__.__dict__["accepter_nets"] = accepter_nets - __props__.__dict__["net_peering_id"] = net_peering_id - __props__.__dict__["request_id"] = request_id - __props__.__dict__["source_net_id"] = source_net_id - __props__.__dict__["source_nets"] = source_nets - __props__.__dict__["states"] = states - __props__.__dict__["tags"] = tags - return NetPeeringAcception(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="accepterNetId") - def accepter_net_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "accepter_net_id") - - @property - @pulumi.getter(name="accepterNets") - def accepter_nets(self) -> pulumi.Output[Sequence['outputs.NetPeeringAcceptionAccepterNet']]: - """ - Information about the accepter Net. - """ - return pulumi.get(self, "accepter_nets") - - @property - @pulumi.getter(name="netPeeringId") - def net_peering_id(self) -> pulumi.Output[str]: - """ - The ID of the Net peering you want to accept. - """ - return pulumi.get(self, "net_peering_id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="sourceNetId") - def source_net_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "source_net_id") - - @property - @pulumi.getter(name="sourceNets") - def source_nets(self) -> pulumi.Output[Sequence['outputs.NetPeeringAcceptionSourceNet']]: - """ - Information about the source Net. - """ - return pulumi.get(self, "source_nets") - - @property - @pulumi.getter - def states(self) -> pulumi.Output[Sequence['outputs.NetPeeringAcceptionState']]: - """ - Information about the state of the Net peering. - """ - return pulumi.get(self, "states") - - @property - @pulumi.getter - def tags(self) -> pulumi.Output[Sequence['outputs.NetPeeringAcceptionTag']]: - """ - One or more tags associated with the Net peering. - """ - return pulumi.get(self, "tags") - diff --git a/sdk/python/pulumi_outscale/nic.py b/sdk/python/pulumi_outscale/nic.py deleted file mode 100644 index 243771d..0000000 --- a/sdk/python/pulumi_outscale/nic.py +++ /dev/null @@ -1,861 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['NicArgs', 'Nic'] - -@pulumi.input_type -class NicArgs: - def __init__(__self__, *, - subnet_id: pulumi.Input[str], - description: Optional[pulumi.Input[str]] = None, - private_ip: Optional[pulumi.Input[str]] = None, - private_ips: Optional[pulumi.Input[Sequence[pulumi.Input['NicPrivateIpArgs']]]] = None, - security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['NicTagArgs']]]] = None): - """ - The set of arguments for constructing a Nic resource. - :param pulumi.Input[str] subnet_id: The ID of the Subnet in which you want to create the NIC. - :param pulumi.Input[str] description: A description for the NIC. - :param pulumi.Input[str] private_ip: The private IP of the NIC. - :param pulumi.Input[Sequence[pulumi.Input['NicPrivateIpArgs']]] private_ips: The primary private IP for the NIC.
- This IP must be within the IP range of the Subnet that you specify with the `subnet_id` attribute.
- If you do not specify this attribute, a random private IP is selected within the IP range of the Subnet. - :param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: One or more IDs of security groups for the NIC. - :param pulumi.Input[Sequence[pulumi.Input['NicTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - """ - pulumi.set(__self__, "subnet_id", subnet_id) - if description is not None: - pulumi.set(__self__, "description", description) - if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) - if private_ips is not None: - pulumi.set(__self__, "private_ips", private_ips) - if security_group_ids is not None: - pulumi.set(__self__, "security_group_ids", security_group_ids) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> pulumi.Input[str]: - """ - The ID of the Subnet in which you want to create the NIC. - """ - return pulumi.get(self, "subnet_id") - - @subnet_id.setter - def subnet_id(self, value: pulumi.Input[str]): - pulumi.set(self, "subnet_id", value) - - @property - @pulumi.getter - def description(self) -> Optional[pulumi.Input[str]]: - """ - A description for the NIC. - """ - return pulumi.get(self, "description") - - @description.setter - def description(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "description", value) - - @property - @pulumi.getter(name="privateIp") - def private_ip(self) -> Optional[pulumi.Input[str]]: - """ - The private IP of the NIC. - """ - return pulumi.get(self, "private_ip") - - @private_ip.setter - def private_ip(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "private_ip", value) - - @property - @pulumi.getter(name="privateIps") - def private_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NicPrivateIpArgs']]]]: - """ - The primary private IP for the NIC.
- This IP must be within the IP range of the Subnet that you specify with the `subnet_id` attribute.
- If you do not specify this attribute, a random private IP is selected within the IP range of the Subnet. - """ - return pulumi.get(self, "private_ips") - - @private_ips.setter - def private_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NicPrivateIpArgs']]]]): - pulumi.set(self, "private_ips", value) - - @property - @pulumi.getter(name="securityGroupIds") - def security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - One or more IDs of security groups for the NIC. - """ - return pulumi.get(self, "security_group_ids") - - @security_group_ids.setter - def security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "security_group_ids", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NicTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NicTagArgs']]]]): - pulumi.set(self, "tags", value) - - -@pulumi.input_type -class _NicState: - def __init__(__self__, *, - account_id: Optional[pulumi.Input[str]] = None, - description: Optional[pulumi.Input[str]] = None, - is_source_dest_checked: Optional[pulumi.Input[bool]] = None, - link_nics: Optional[pulumi.Input[Sequence[pulumi.Input['NicLinkNicArgs']]]] = None, - link_public_ips: Optional[pulumi.Input[Sequence[pulumi.Input['NicLinkPublicIpArgs']]]] = None, - mac_address: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None, - nic_id: Optional[pulumi.Input[str]] = None, - private_dns_name: Optional[pulumi.Input[str]] = None, - private_ip: Optional[pulumi.Input[str]] = None, - private_ips: Optional[pulumi.Input[Sequence[pulumi.Input['NicPrivateIpArgs']]]] = None, - request_id: Optional[pulumi.Input[str]] = None, - requester_managed: Optional[pulumi.Input[bool]] = None, - security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - security_groups: Optional[pulumi.Input[Sequence[pulumi.Input['NicSecurityGroupArgs']]]] = None, - state: Optional[pulumi.Input[str]] = None, - subnet_id: Optional[pulumi.Input[str]] = None, - subregion_name: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['NicTagArgs']]]] = None): - """ - Input properties used for looking up and filtering Nic resources. - :param pulumi.Input[str] account_id: The account ID of the owner of the NIC. - :param pulumi.Input[str] description: A description for the NIC. - :param pulumi.Input[bool] is_source_dest_checked: (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - :param pulumi.Input[Sequence[pulumi.Input['NicLinkNicArgs']]] link_nics: Information about the NIC attachment. - :param pulumi.Input[Sequence[pulumi.Input['NicLinkPublicIpArgs']]] link_public_ips: Information about the public IP association. - :param pulumi.Input[str] mac_address: The Media Access Control (MAC) address of the NIC. - :param pulumi.Input[str] net_id: The ID of the Net for the NIC. - :param pulumi.Input[str] nic_id: The ID of the NIC. - :param pulumi.Input[str] private_dns_name: The name of the private DNS. - :param pulumi.Input[str] private_ip: The private IP of the NIC. - :param pulumi.Input[Sequence[pulumi.Input['NicPrivateIpArgs']]] private_ips: The primary private IP for the NIC.
- This IP must be within the IP range of the Subnet that you specify with the `subnet_id` attribute.
- If you do not specify this attribute, a random private IP is selected within the IP range of the Subnet. - :param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: One or more IDs of security groups for the NIC. - :param pulumi.Input[Sequence[pulumi.Input['NicSecurityGroupArgs']]] security_groups: One or more IDs of security groups for the NIC. - :param pulumi.Input[str] state: The state of the NIC (`available` \\| `attaching` \\| `in-use` \\| `detaching`). - :param pulumi.Input[str] subnet_id: The ID of the Subnet in which you want to create the NIC. - :param pulumi.Input[str] subregion_name: The Subregion in which the NIC is located. - :param pulumi.Input[Sequence[pulumi.Input['NicTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - """ - if account_id is not None: - pulumi.set(__self__, "account_id", account_id) - if description is not None: - pulumi.set(__self__, "description", description) - if is_source_dest_checked is not None: - pulumi.set(__self__, "is_source_dest_checked", is_source_dest_checked) - if link_nics is not None: - pulumi.set(__self__, "link_nics", link_nics) - if link_public_ips is not None: - pulumi.set(__self__, "link_public_ips", link_public_ips) - if mac_address is not None: - pulumi.set(__self__, "mac_address", mac_address) - if net_id is not None: - pulumi.set(__self__, "net_id", net_id) - if nic_id is not None: - pulumi.set(__self__, "nic_id", nic_id) - if private_dns_name is not None: - pulumi.set(__self__, "private_dns_name", private_dns_name) - if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) - if private_ips is not None: - pulumi.set(__self__, "private_ips", private_ips) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if requester_managed is not None: - pulumi.set(__self__, "requester_managed", requester_managed) - if security_group_ids is not None: - pulumi.set(__self__, "security_group_ids", security_group_ids) - if security_groups is not None: - pulumi.set(__self__, "security_groups", security_groups) - if state is not None: - pulumi.set(__self__, "state", state) - if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) - if subregion_name is not None: - pulumi.set(__self__, "subregion_name", subregion_name) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> Optional[pulumi.Input[str]]: - """ - The account ID of the owner of the NIC. - """ - return pulumi.get(self, "account_id") - - @account_id.setter - def account_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "account_id", value) - - @property - @pulumi.getter - def description(self) -> Optional[pulumi.Input[str]]: - """ - A description for the NIC. - """ - return pulumi.get(self, "description") - - @description.setter - def description(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "description", value) - - @property - @pulumi.getter(name="isSourceDestChecked") - def is_source_dest_checked(self) -> Optional[pulumi.Input[bool]]: - """ - (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - """ - return pulumi.get(self, "is_source_dest_checked") - - @is_source_dest_checked.setter - def is_source_dest_checked(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "is_source_dest_checked", value) - - @property - @pulumi.getter(name="linkNics") - def link_nics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NicLinkNicArgs']]]]: - """ - Information about the NIC attachment. - """ - return pulumi.get(self, "link_nics") - - @link_nics.setter - def link_nics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NicLinkNicArgs']]]]): - pulumi.set(self, "link_nics", value) - - @property - @pulumi.getter(name="linkPublicIps") - def link_public_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NicLinkPublicIpArgs']]]]: - """ - Information about the public IP association. - """ - return pulumi.get(self, "link_public_ips") - - @link_public_ips.setter - def link_public_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NicLinkPublicIpArgs']]]]): - pulumi.set(self, "link_public_ips", value) - - @property - @pulumi.getter(name="macAddress") - def mac_address(self) -> Optional[pulumi.Input[str]]: - """ - The Media Access Control (MAC) address of the NIC. - """ - return pulumi.get(self, "mac_address") - - @mac_address.setter - def mac_address(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "mac_address", value) - - @property - @pulumi.getter(name="netId") - def net_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Net for the NIC. - """ - return pulumi.get(self, "net_id") - - @net_id.setter - def net_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "net_id", value) - - @property - @pulumi.getter(name="nicId") - def nic_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the NIC. - """ - return pulumi.get(self, "nic_id") - - @nic_id.setter - def nic_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "nic_id", value) - - @property - @pulumi.getter(name="privateDnsName") - def private_dns_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the private DNS. - """ - return pulumi.get(self, "private_dns_name") - - @private_dns_name.setter - def private_dns_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "private_dns_name", value) - - @property - @pulumi.getter(name="privateIp") - def private_ip(self) -> Optional[pulumi.Input[str]]: - """ - The private IP of the NIC. - """ - return pulumi.get(self, "private_ip") - - @private_ip.setter - def private_ip(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "private_ip", value) - - @property - @pulumi.getter(name="privateIps") - def private_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NicPrivateIpArgs']]]]: - """ - The primary private IP for the NIC.
- This IP must be within the IP range of the Subnet that you specify with the `subnet_id` attribute.
- If you do not specify this attribute, a random private IP is selected within the IP range of the Subnet. - """ - return pulumi.get(self, "private_ips") - - @private_ips.setter - def private_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NicPrivateIpArgs']]]]): - pulumi.set(self, "private_ips", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter(name="requesterManaged") - def requester_managed(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "requester_managed") - - @requester_managed.setter - def requester_managed(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "requester_managed", value) - - @property - @pulumi.getter(name="securityGroupIds") - def security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - One or more IDs of security groups for the NIC. - """ - return pulumi.get(self, "security_group_ids") - - @security_group_ids.setter - def security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "security_group_ids", value) - - @property - @pulumi.getter(name="securityGroups") - def security_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NicSecurityGroupArgs']]]]: - """ - One or more IDs of security groups for the NIC. - """ - return pulumi.get(self, "security_groups") - - @security_groups.setter - def security_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NicSecurityGroupArgs']]]]): - pulumi.set(self, "security_groups", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - The state of the NIC (`available` \\| `attaching` \\| `in-use` \\| `detaching`). - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Subnet in which you want to create the NIC. - """ - return pulumi.get(self, "subnet_id") - - @subnet_id.setter - def subnet_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "subnet_id", value) - - @property - @pulumi.getter(name="subregionName") - def subregion_name(self) -> Optional[pulumi.Input[str]]: - """ - The Subregion in which the NIC is located. - """ - return pulumi.get(self, "subregion_name") - - @subregion_name.setter - def subregion_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "subregion_name", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NicTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NicTagArgs']]]]): - pulumi.set(self, "tags", value) - - -class Nic(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - description: Optional[pulumi.Input[str]] = None, - private_ip: Optional[pulumi.Input[str]] = None, - private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NicPrivateIpArgs']]]]] = None, - security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - subnet_id: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NicTagArgs']]]]] = None, - __props__=None): - """ - Manages a network interface card (NIC). - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-FNIs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-nic). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - net01 = outscale.Net("net01", ip_range="10.0.0.0/16") - subnet01 = outscale.Subnet("subnet01", - subregion_name="eu-west-2a", - ip_range="10.0.0.0/18", - net_id=net01.net_id) - security_group01 = outscale.SecurityGroup("securityGroup01", - description="Terraform security group for nic with private IPs", - security_group_name="terraform-security-group-nic-ips", - net_id=net01.net_id) - ``` - ### Create a NIC - - ```python - import pulumi - import pulumi_outscale as outscale - - nic01 = outscale.Nic("nic01", subnet_id=outscale_subnet["subnet01"]["subnet_id"]) - ``` - ### Create a NIC with private IP addresses - - ```python - import pulumi - import pulumi_outscale as outscale - - nic02 = outscale.Nic("nic02", - description="Terraform nic with private IPs", - subnet_id=outscale_subnet["subnet01"]["subnet_id"], - security_group_ids=[outscale_security_group["security_group01"]["security_group_id"]], - private_ips=[ - outscale.NicPrivateIpArgs( - is_primary=True, - private_ip="10.0.0.1", - ), - outscale.NicPrivateIpArgs( - is_primary=False, - private_ip="10.0.0.2", - ), - ]) - ``` - - ## Import - - A NIC can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/nic:Nic ImportedNic eni-12345678 - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] description: A description for the NIC. - :param pulumi.Input[str] private_ip: The private IP of the NIC. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NicPrivateIpArgs']]]] private_ips: The primary private IP for the NIC.
- This IP must be within the IP range of the Subnet that you specify with the `subnet_id` attribute.
- If you do not specify this attribute, a random private IP is selected within the IP range of the Subnet. - :param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: One or more IDs of security groups for the NIC. - :param pulumi.Input[str] subnet_id: The ID of the Subnet in which you want to create the NIC. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NicTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: NicArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages a network interface card (NIC). - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-FNIs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-nic). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - net01 = outscale.Net("net01", ip_range="10.0.0.0/16") - subnet01 = outscale.Subnet("subnet01", - subregion_name="eu-west-2a", - ip_range="10.0.0.0/18", - net_id=net01.net_id) - security_group01 = outscale.SecurityGroup("securityGroup01", - description="Terraform security group for nic with private IPs", - security_group_name="terraform-security-group-nic-ips", - net_id=net01.net_id) - ``` - ### Create a NIC - - ```python - import pulumi - import pulumi_outscale as outscale - - nic01 = outscale.Nic("nic01", subnet_id=outscale_subnet["subnet01"]["subnet_id"]) - ``` - ### Create a NIC with private IP addresses - - ```python - import pulumi - import pulumi_outscale as outscale - - nic02 = outscale.Nic("nic02", - description="Terraform nic with private IPs", - subnet_id=outscale_subnet["subnet01"]["subnet_id"], - security_group_ids=[outscale_security_group["security_group01"]["security_group_id"]], - private_ips=[ - outscale.NicPrivateIpArgs( - is_primary=True, - private_ip="10.0.0.1", - ), - outscale.NicPrivateIpArgs( - is_primary=False, - private_ip="10.0.0.2", - ), - ]) - ``` - - ## Import - - A NIC can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/nic:Nic ImportedNic eni-12345678 - ``` - - :param str resource_name: The name of the resource. - :param NicArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(NicArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - description: Optional[pulumi.Input[str]] = None, - private_ip: Optional[pulumi.Input[str]] = None, - private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NicPrivateIpArgs']]]]] = None, - security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - subnet_id: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NicTagArgs']]]]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = NicArgs.__new__(NicArgs) - - __props__.__dict__["description"] = description - __props__.__dict__["private_ip"] = private_ip - __props__.__dict__["private_ips"] = private_ips - __props__.__dict__["security_group_ids"] = security_group_ids - if subnet_id is None and not opts.urn: - raise TypeError("Missing required property 'subnet_id'") - __props__.__dict__["subnet_id"] = subnet_id - __props__.__dict__["tags"] = tags - __props__.__dict__["account_id"] = None - __props__.__dict__["is_source_dest_checked"] = None - __props__.__dict__["link_nics"] = None - __props__.__dict__["link_public_ips"] = None - __props__.__dict__["mac_address"] = None - __props__.__dict__["net_id"] = None - __props__.__dict__["nic_id"] = None - __props__.__dict__["private_dns_name"] = None - __props__.__dict__["request_id"] = None - __props__.__dict__["requester_managed"] = None - __props__.__dict__["security_groups"] = None - __props__.__dict__["state"] = None - __props__.__dict__["subregion_name"] = None - super(Nic, __self__).__init__( - 'outscale:index/nic:Nic', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - account_id: Optional[pulumi.Input[str]] = None, - description: Optional[pulumi.Input[str]] = None, - is_source_dest_checked: Optional[pulumi.Input[bool]] = None, - link_nics: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NicLinkNicArgs']]]]] = None, - link_public_ips: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NicLinkPublicIpArgs']]]]] = None, - mac_address: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None, - nic_id: Optional[pulumi.Input[str]] = None, - private_dns_name: Optional[pulumi.Input[str]] = None, - private_ip: Optional[pulumi.Input[str]] = None, - private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NicPrivateIpArgs']]]]] = None, - request_id: Optional[pulumi.Input[str]] = None, - requester_managed: Optional[pulumi.Input[bool]] = None, - security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NicSecurityGroupArgs']]]]] = None, - state: Optional[pulumi.Input[str]] = None, - subnet_id: Optional[pulumi.Input[str]] = None, - subregion_name: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NicTagArgs']]]]] = None) -> 'Nic': - """ - Get an existing Nic resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] account_id: The account ID of the owner of the NIC. - :param pulumi.Input[str] description: A description for the NIC. - :param pulumi.Input[bool] is_source_dest_checked: (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NicLinkNicArgs']]]] link_nics: Information about the NIC attachment. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NicLinkPublicIpArgs']]]] link_public_ips: Information about the public IP association. - :param pulumi.Input[str] mac_address: The Media Access Control (MAC) address of the NIC. - :param pulumi.Input[str] net_id: The ID of the Net for the NIC. - :param pulumi.Input[str] nic_id: The ID of the NIC. - :param pulumi.Input[str] private_dns_name: The name of the private DNS. - :param pulumi.Input[str] private_ip: The private IP of the NIC. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NicPrivateIpArgs']]]] private_ips: The primary private IP for the NIC.
- This IP must be within the IP range of the Subnet that you specify with the `subnet_id` attribute.
- If you do not specify this attribute, a random private IP is selected within the IP range of the Subnet. - :param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: One or more IDs of security groups for the NIC. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NicSecurityGroupArgs']]]] security_groups: One or more IDs of security groups for the NIC. - :param pulumi.Input[str] state: The state of the NIC (`available` \\| `attaching` \\| `in-use` \\| `detaching`). - :param pulumi.Input[str] subnet_id: The ID of the Subnet in which you want to create the NIC. - :param pulumi.Input[str] subregion_name: The Subregion in which the NIC is located. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NicTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _NicState.__new__(_NicState) - - __props__.__dict__["account_id"] = account_id - __props__.__dict__["description"] = description - __props__.__dict__["is_source_dest_checked"] = is_source_dest_checked - __props__.__dict__["link_nics"] = link_nics - __props__.__dict__["link_public_ips"] = link_public_ips - __props__.__dict__["mac_address"] = mac_address - __props__.__dict__["net_id"] = net_id - __props__.__dict__["nic_id"] = nic_id - __props__.__dict__["private_dns_name"] = private_dns_name - __props__.__dict__["private_ip"] = private_ip - __props__.__dict__["private_ips"] = private_ips - __props__.__dict__["request_id"] = request_id - __props__.__dict__["requester_managed"] = requester_managed - __props__.__dict__["security_group_ids"] = security_group_ids - __props__.__dict__["security_groups"] = security_groups - __props__.__dict__["state"] = state - __props__.__dict__["subnet_id"] = subnet_id - __props__.__dict__["subregion_name"] = subregion_name - __props__.__dict__["tags"] = tags - return Nic(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> pulumi.Output[str]: - """ - The account ID of the owner of the NIC. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter - def description(self) -> pulumi.Output[str]: - """ - A description for the NIC. - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter(name="isSourceDestChecked") - def is_source_dest_checked(self) -> pulumi.Output[bool]: - """ - (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - """ - return pulumi.get(self, "is_source_dest_checked") - - @property - @pulumi.getter(name="linkNics") - def link_nics(self) -> pulumi.Output[Sequence['outputs.NicLinkNic']]: - """ - Information about the NIC attachment. - """ - return pulumi.get(self, "link_nics") - - @property - @pulumi.getter(name="linkPublicIps") - def link_public_ips(self) -> pulumi.Output[Sequence['outputs.NicLinkPublicIp']]: - """ - Information about the public IP association. - """ - return pulumi.get(self, "link_public_ips") - - @property - @pulumi.getter(name="macAddress") - def mac_address(self) -> pulumi.Output[str]: - """ - The Media Access Control (MAC) address of the NIC. - """ - return pulumi.get(self, "mac_address") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> pulumi.Output[str]: - """ - The ID of the Net for the NIC. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="nicId") - def nic_id(self) -> pulumi.Output[str]: - """ - The ID of the NIC. - """ - return pulumi.get(self, "nic_id") - - @property - @pulumi.getter(name="privateDnsName") - def private_dns_name(self) -> pulumi.Output[str]: - """ - The name of the private DNS. - """ - return pulumi.get(self, "private_dns_name") - - @property - @pulumi.getter(name="privateIp") - def private_ip(self) -> pulumi.Output[str]: - """ - The private IP of the NIC. - """ - return pulumi.get(self, "private_ip") - - @property - @pulumi.getter(name="privateIps") - def private_ips(self) -> pulumi.Output[Sequence['outputs.NicPrivateIp']]: - """ - The primary private IP for the NIC.
- This IP must be within the IP range of the Subnet that you specify with the `subnet_id` attribute.
- If you do not specify this attribute, a random private IP is selected within the IP range of the Subnet. - """ - return pulumi.get(self, "private_ips") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="requesterManaged") - def requester_managed(self) -> pulumi.Output[bool]: - return pulumi.get(self, "requester_managed") - - @property - @pulumi.getter(name="securityGroupIds") - def security_group_ids(self) -> pulumi.Output[Optional[Sequence[str]]]: - """ - One or more IDs of security groups for the NIC. - """ - return pulumi.get(self, "security_group_ids") - - @property - @pulumi.getter(name="securityGroups") - def security_groups(self) -> pulumi.Output[Sequence['outputs.NicSecurityGroup']]: - """ - One or more IDs of security groups for the NIC. - """ - return pulumi.get(self, "security_groups") - - @property - @pulumi.getter - def state(self) -> pulumi.Output[str]: - """ - The state of the NIC (`available` \\| `attaching` \\| `in-use` \\| `detaching`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> pulumi.Output[str]: - """ - The ID of the Subnet in which you want to create the NIC. - """ - return pulumi.get(self, "subnet_id") - - @property - @pulumi.getter(name="subregionName") - def subregion_name(self) -> pulumi.Output[str]: - """ - The Subregion in which the NIC is located. - """ - return pulumi.get(self, "subregion_name") - - @property - @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Sequence['outputs.NicTag']]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - diff --git a/sdk/python/pulumi_outscale/nic_link.py b/sdk/python/pulumi_outscale/nic_link.py deleted file mode 100644 index b352972..0000000 --- a/sdk/python/pulumi_outscale/nic_link.py +++ /dev/null @@ -1,434 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities - -__all__ = ['NicLinkArgs', 'NicLink'] - -@pulumi.input_type -class NicLinkArgs: - def __init__(__self__, *, - device_number: pulumi.Input[int], - nic_id: pulumi.Input[str], - vm_id: pulumi.Input[str]): - """ - The set of arguments for constructing a NicLink resource. - :param pulumi.Input[int] device_number: The index of the VM device for the NIC attachment (between `1` and `7`, both included). - :param pulumi.Input[str] nic_id: The ID of the NIC you want to attach. - :param pulumi.Input[str] vm_id: The ID of the VM to which you want to attach the NIC. - """ - pulumi.set(__self__, "device_number", device_number) - pulumi.set(__self__, "nic_id", nic_id) - pulumi.set(__self__, "vm_id", vm_id) - - @property - @pulumi.getter(name="deviceNumber") - def device_number(self) -> pulumi.Input[int]: - """ - The index of the VM device for the NIC attachment (between `1` and `7`, both included). - """ - return pulumi.get(self, "device_number") - - @device_number.setter - def device_number(self, value: pulumi.Input[int]): - pulumi.set(self, "device_number", value) - - @property - @pulumi.getter(name="nicId") - def nic_id(self) -> pulumi.Input[str]: - """ - The ID of the NIC you want to attach. - """ - return pulumi.get(self, "nic_id") - - @nic_id.setter - def nic_id(self, value: pulumi.Input[str]): - pulumi.set(self, "nic_id", value) - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> pulumi.Input[str]: - """ - The ID of the VM to which you want to attach the NIC. - """ - return pulumi.get(self, "vm_id") - - @vm_id.setter - def vm_id(self, value: pulumi.Input[str]): - pulumi.set(self, "vm_id", value) - - -@pulumi.input_type -class _NicLinkState: - def __init__(__self__, *, - delete_on_vm_deletion: Optional[pulumi.Input[bool]] = None, - device_number: Optional[pulumi.Input[int]] = None, - link_nic_id: Optional[pulumi.Input[str]] = None, - nic_id: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - vm_account_id: Optional[pulumi.Input[str]] = None, - vm_id: Optional[pulumi.Input[str]] = None): - """ - Input properties used for looking up and filtering NicLink resources. - :param pulumi.Input[int] device_number: The index of the VM device for the NIC attachment (between `1` and `7`, both included). - :param pulumi.Input[str] link_nic_id: The ID of the NIC attachment. - :param pulumi.Input[str] nic_id: The ID of the NIC you want to attach. - :param pulumi.Input[str] vm_id: The ID of the VM to which you want to attach the NIC. - """ - if delete_on_vm_deletion is not None: - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - if device_number is not None: - pulumi.set(__self__, "device_number", device_number) - if link_nic_id is not None: - pulumi.set(__self__, "link_nic_id", link_nic_id) - if nic_id is not None: - pulumi.set(__self__, "nic_id", nic_id) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if state is not None: - pulumi.set(__self__, "state", state) - if vm_account_id is not None: - pulumi.set(__self__, "vm_account_id", vm_account_id) - if vm_id is not None: - pulumi.set(__self__, "vm_id", vm_id) - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "delete_on_vm_deletion") - - @delete_on_vm_deletion.setter - def delete_on_vm_deletion(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "delete_on_vm_deletion", value) - - @property - @pulumi.getter(name="deviceNumber") - def device_number(self) -> Optional[pulumi.Input[int]]: - """ - The index of the VM device for the NIC attachment (between `1` and `7`, both included). - """ - return pulumi.get(self, "device_number") - - @device_number.setter - def device_number(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "device_number", value) - - @property - @pulumi.getter(name="linkNicId") - def link_nic_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the NIC attachment. - """ - return pulumi.get(self, "link_nic_id") - - @link_nic_id.setter - def link_nic_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "link_nic_id", value) - - @property - @pulumi.getter(name="nicId") - def nic_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the NIC you want to attach. - """ - return pulumi.get(self, "nic_id") - - @nic_id.setter - def nic_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "nic_id", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - @property - @pulumi.getter(name="vmAccountId") - def vm_account_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "vm_account_id") - - @vm_account_id.setter - def vm_account_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "vm_account_id", value) - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the VM to which you want to attach the NIC. - """ - return pulumi.get(self, "vm_id") - - @vm_id.setter - def vm_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "vm_id", value) - - -class NicLink(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - device_number: Optional[pulumi.Input[int]] = None, - nic_id: Optional[pulumi.Input[str]] = None, - vm_id: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - Manages a NIC link. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-FNIs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-nic). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - net01 = outscale.Net("net01", ip_range="10.0.0.0/16") - subnet01 = outscale.Subnet("subnet01", - subregion_name=f"{var['region']}a", - ip_range="10.0.0.0/16", - net_id=net01.net_id) - vm01 = outscale.Vm("vm01", - image_id=var["image_id"], - vm_type=var["vm_type"], - keypair_name=var["keypair_name"], - subnet_id=subnet01.subnet_id) - nic01 = outscale.Nic("nic01", subnet_id=subnet01.subnet_id) - ``` - ### Link a NIC to a VM - - ```python - import pulumi - import pulumi_outscale as outscale - - nic_link01 = outscale.NicLink("nicLink01", - device_number=1, - vm_id=outscale_vm["vm01"]["vm_id"], - nic_id=outscale_nic["nic01"]["nic_id"]) - ``` - - ## Import - - A NIC link can be imported using the NIC ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/nicLink:NicLink ImportedNicLink eni-12345678 - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[int] device_number: The index of the VM device for the NIC attachment (between `1` and `7`, both included). - :param pulumi.Input[str] nic_id: The ID of the NIC you want to attach. - :param pulumi.Input[str] vm_id: The ID of the VM to which you want to attach the NIC. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: NicLinkArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages a NIC link. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-FNIs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-nic). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - net01 = outscale.Net("net01", ip_range="10.0.0.0/16") - subnet01 = outscale.Subnet("subnet01", - subregion_name=f"{var['region']}a", - ip_range="10.0.0.0/16", - net_id=net01.net_id) - vm01 = outscale.Vm("vm01", - image_id=var["image_id"], - vm_type=var["vm_type"], - keypair_name=var["keypair_name"], - subnet_id=subnet01.subnet_id) - nic01 = outscale.Nic("nic01", subnet_id=subnet01.subnet_id) - ``` - ### Link a NIC to a VM - - ```python - import pulumi - import pulumi_outscale as outscale - - nic_link01 = outscale.NicLink("nicLink01", - device_number=1, - vm_id=outscale_vm["vm01"]["vm_id"], - nic_id=outscale_nic["nic01"]["nic_id"]) - ``` - - ## Import - - A NIC link can be imported using the NIC ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/nicLink:NicLink ImportedNicLink eni-12345678 - ``` - - :param str resource_name: The name of the resource. - :param NicLinkArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(NicLinkArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - device_number: Optional[pulumi.Input[int]] = None, - nic_id: Optional[pulumi.Input[str]] = None, - vm_id: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = NicLinkArgs.__new__(NicLinkArgs) - - if device_number is None and not opts.urn: - raise TypeError("Missing required property 'device_number'") - __props__.__dict__["device_number"] = device_number - if nic_id is None and not opts.urn: - raise TypeError("Missing required property 'nic_id'") - __props__.__dict__["nic_id"] = nic_id - if vm_id is None and not opts.urn: - raise TypeError("Missing required property 'vm_id'") - __props__.__dict__["vm_id"] = vm_id - __props__.__dict__["delete_on_vm_deletion"] = None - __props__.__dict__["link_nic_id"] = None - __props__.__dict__["request_id"] = None - __props__.__dict__["state"] = None - __props__.__dict__["vm_account_id"] = None - super(NicLink, __self__).__init__( - 'outscale:index/nicLink:NicLink', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - delete_on_vm_deletion: Optional[pulumi.Input[bool]] = None, - device_number: Optional[pulumi.Input[int]] = None, - link_nic_id: Optional[pulumi.Input[str]] = None, - nic_id: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - vm_account_id: Optional[pulumi.Input[str]] = None, - vm_id: Optional[pulumi.Input[str]] = None) -> 'NicLink': - """ - Get an existing NicLink resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[int] device_number: The index of the VM device for the NIC attachment (between `1` and `7`, both included). - :param pulumi.Input[str] link_nic_id: The ID of the NIC attachment. - :param pulumi.Input[str] nic_id: The ID of the NIC you want to attach. - :param pulumi.Input[str] vm_id: The ID of the VM to which you want to attach the NIC. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _NicLinkState.__new__(_NicLinkState) - - __props__.__dict__["delete_on_vm_deletion"] = delete_on_vm_deletion - __props__.__dict__["device_number"] = device_number - __props__.__dict__["link_nic_id"] = link_nic_id - __props__.__dict__["nic_id"] = nic_id - __props__.__dict__["request_id"] = request_id - __props__.__dict__["state"] = state - __props__.__dict__["vm_account_id"] = vm_account_id - __props__.__dict__["vm_id"] = vm_id - return NicLink(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> pulumi.Output[bool]: - return pulumi.get(self, "delete_on_vm_deletion") - - @property - @pulumi.getter(name="deviceNumber") - def device_number(self) -> pulumi.Output[int]: - """ - The index of the VM device for the NIC attachment (between `1` and `7`, both included). - """ - return pulumi.get(self, "device_number") - - @property - @pulumi.getter(name="linkNicId") - def link_nic_id(self) -> pulumi.Output[str]: - """ - The ID of the NIC attachment. - """ - return pulumi.get(self, "link_nic_id") - - @property - @pulumi.getter(name="nicId") - def nic_id(self) -> pulumi.Output[str]: - """ - The ID of the NIC you want to attach. - """ - return pulumi.get(self, "nic_id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def state(self) -> pulumi.Output[str]: - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="vmAccountId") - def vm_account_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "vm_account_id") - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> pulumi.Output[str]: - """ - The ID of the VM to which you want to attach the NIC. - """ - return pulumi.get(self, "vm_id") - diff --git a/sdk/python/pulumi_outscale/nic_private_ip.py b/sdk/python/pulumi_outscale/nic_private_ip.py deleted file mode 100644 index 0ca6f78..0000000 --- a/sdk/python/pulumi_outscale/nic_private_ip.py +++ /dev/null @@ -1,409 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities - -__all__ = ['NicPrivateIpInitArgs', 'NicPrivateIp'] - -@pulumi.input_type -class NicPrivateIpInitArgs: - def __init__(__self__, *, - nic_id: pulumi.Input[str], - allow_relink: Optional[pulumi.Input[bool]] = None, - private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - secondary_private_ip_count: Optional[pulumi.Input[int]] = None): - """ - The set of arguments for constructing a NicPrivateIp resource. - :param pulumi.Input[str] nic_id: The ID of the NIC. - :param pulumi.Input[bool] allow_relink: If true, allows an IP that is already assigned to another NIC in the same Subnet to be assigned to the NIC you specified. - :param pulumi.Input[Sequence[pulumi.Input[str]]] private_ips: The secondary private IP or IPs you want to assign to the NIC within the IP range of the Subnet. - :param pulumi.Input[int] secondary_private_ip_count: The number of secondary private IPs to assign to the NIC. - """ - pulumi.set(__self__, "nic_id", nic_id) - if allow_relink is not None: - pulumi.set(__self__, "allow_relink", allow_relink) - if private_ips is not None: - pulumi.set(__self__, "private_ips", private_ips) - if secondary_private_ip_count is not None: - pulumi.set(__self__, "secondary_private_ip_count", secondary_private_ip_count) - - @property - @pulumi.getter(name="nicId") - def nic_id(self) -> pulumi.Input[str]: - """ - The ID of the NIC. - """ - return pulumi.get(self, "nic_id") - - @nic_id.setter - def nic_id(self, value: pulumi.Input[str]): - pulumi.set(self, "nic_id", value) - - @property - @pulumi.getter(name="allowRelink") - def allow_relink(self) -> Optional[pulumi.Input[bool]]: - """ - If true, allows an IP that is already assigned to another NIC in the same Subnet to be assigned to the NIC you specified. - """ - return pulumi.get(self, "allow_relink") - - @allow_relink.setter - def allow_relink(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "allow_relink", value) - - @property - @pulumi.getter(name="privateIps") - def private_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - The secondary private IP or IPs you want to assign to the NIC within the IP range of the Subnet. - """ - return pulumi.get(self, "private_ips") - - @private_ips.setter - def private_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "private_ips", value) - - @property - @pulumi.getter(name="secondaryPrivateIpCount") - def secondary_private_ip_count(self) -> Optional[pulumi.Input[int]]: - """ - The number of secondary private IPs to assign to the NIC. - """ - return pulumi.get(self, "secondary_private_ip_count") - - @secondary_private_ip_count.setter - def secondary_private_ip_count(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "secondary_private_ip_count", value) - - -@pulumi.input_type -class _NicPrivateIpState: - def __init__(__self__, *, - allow_relink: Optional[pulumi.Input[bool]] = None, - nic_id: Optional[pulumi.Input[str]] = None, - primary_private_ip: Optional[pulumi.Input[str]] = None, - private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - request_id: Optional[pulumi.Input[str]] = None, - secondary_private_ip_count: Optional[pulumi.Input[int]] = None): - """ - Input properties used for looking up and filtering NicPrivateIp resources. - :param pulumi.Input[bool] allow_relink: If true, allows an IP that is already assigned to another NIC in the same Subnet to be assigned to the NIC you specified. - :param pulumi.Input[str] nic_id: The ID of the NIC. - :param pulumi.Input[Sequence[pulumi.Input[str]]] private_ips: The secondary private IP or IPs you want to assign to the NIC within the IP range of the Subnet. - :param pulumi.Input[int] secondary_private_ip_count: The number of secondary private IPs to assign to the NIC. - """ - if allow_relink is not None: - pulumi.set(__self__, "allow_relink", allow_relink) - if nic_id is not None: - pulumi.set(__self__, "nic_id", nic_id) - if primary_private_ip is not None: - pulumi.set(__self__, "primary_private_ip", primary_private_ip) - if private_ips is not None: - pulumi.set(__self__, "private_ips", private_ips) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if secondary_private_ip_count is not None: - pulumi.set(__self__, "secondary_private_ip_count", secondary_private_ip_count) - - @property - @pulumi.getter(name="allowRelink") - def allow_relink(self) -> Optional[pulumi.Input[bool]]: - """ - If true, allows an IP that is already assigned to another NIC in the same Subnet to be assigned to the NIC you specified. - """ - return pulumi.get(self, "allow_relink") - - @allow_relink.setter - def allow_relink(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "allow_relink", value) - - @property - @pulumi.getter(name="nicId") - def nic_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the NIC. - """ - return pulumi.get(self, "nic_id") - - @nic_id.setter - def nic_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "nic_id", value) - - @property - @pulumi.getter(name="primaryPrivateIp") - def primary_private_ip(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "primary_private_ip") - - @primary_private_ip.setter - def primary_private_ip(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "primary_private_ip", value) - - @property - @pulumi.getter(name="privateIps") - def private_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - The secondary private IP or IPs you want to assign to the NIC within the IP range of the Subnet. - """ - return pulumi.get(self, "private_ips") - - @private_ips.setter - def private_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "private_ips", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter(name="secondaryPrivateIpCount") - def secondary_private_ip_count(self) -> Optional[pulumi.Input[int]]: - """ - The number of secondary private IPs to assign to the NIC. - """ - return pulumi.get(self, "secondary_private_ip_count") - - @secondary_private_ip_count.setter - def secondary_private_ip_count(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "secondary_private_ip_count", value) - - -class NicPrivateIp(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - allow_relink: Optional[pulumi.Input[bool]] = None, - nic_id: Optional[pulumi.Input[str]] = None, - private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - secondary_private_ip_count: Optional[pulumi.Input[int]] = None, - __props__=None): - """ - Manages a NIC's private IPs. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-FNIs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-nic). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - net01 = outscale.Net("net01", ip_range="10.0.0.0/16") - subnet01 = outscale.Subnet("subnet01", - subregion_name=f"{var['region']}a", - ip_range="10.0.0.0/16", - net_id=net01.net_id) - nic01 = outscale.Nic("nic01", subnet_id=subnet01.subnet_id) - ``` - ### Link a specific secondary private IP address to a NIC - - ```python - import pulumi - import pulumi_outscale as outscale - - nic_private_ip01 = outscale.NicPrivateIp("nicPrivateIp01", - nic_id=outscale_nic["nic01"]["nic_id"], - private_ips=[ - "10.0.12.34", - "10.0.12.35", - ]) - ``` - ### Link several automatic secondary private IP addresses to a NIC - - ```python - import pulumi - import pulumi_outscale as outscale - - nic_private_ip02 = outscale.NicPrivateIp("nicPrivateIp02", - nic_id=outscale_nic["nic01"]["nic_id"], - secondary_private_ip_count=2) - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[bool] allow_relink: If true, allows an IP that is already assigned to another NIC in the same Subnet to be assigned to the NIC you specified. - :param pulumi.Input[str] nic_id: The ID of the NIC. - :param pulumi.Input[Sequence[pulumi.Input[str]]] private_ips: The secondary private IP or IPs you want to assign to the NIC within the IP range of the Subnet. - :param pulumi.Input[int] secondary_private_ip_count: The number of secondary private IPs to assign to the NIC. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: NicPrivateIpInitArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages a NIC's private IPs. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-FNIs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-nic). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - net01 = outscale.Net("net01", ip_range="10.0.0.0/16") - subnet01 = outscale.Subnet("subnet01", - subregion_name=f"{var['region']}a", - ip_range="10.0.0.0/16", - net_id=net01.net_id) - nic01 = outscale.Nic("nic01", subnet_id=subnet01.subnet_id) - ``` - ### Link a specific secondary private IP address to a NIC - - ```python - import pulumi - import pulumi_outscale as outscale - - nic_private_ip01 = outscale.NicPrivateIp("nicPrivateIp01", - nic_id=outscale_nic["nic01"]["nic_id"], - private_ips=[ - "10.0.12.34", - "10.0.12.35", - ]) - ``` - ### Link several automatic secondary private IP addresses to a NIC - - ```python - import pulumi - import pulumi_outscale as outscale - - nic_private_ip02 = outscale.NicPrivateIp("nicPrivateIp02", - nic_id=outscale_nic["nic01"]["nic_id"], - secondary_private_ip_count=2) - ``` - - :param str resource_name: The name of the resource. - :param NicPrivateIpInitArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(NicPrivateIpInitArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - allow_relink: Optional[pulumi.Input[bool]] = None, - nic_id: Optional[pulumi.Input[str]] = None, - private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - secondary_private_ip_count: Optional[pulumi.Input[int]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = NicPrivateIpInitArgs.__new__(NicPrivateIpInitArgs) - - __props__.__dict__["allow_relink"] = allow_relink - if nic_id is None and not opts.urn: - raise TypeError("Missing required property 'nic_id'") - __props__.__dict__["nic_id"] = nic_id - __props__.__dict__["private_ips"] = private_ips - __props__.__dict__["secondary_private_ip_count"] = secondary_private_ip_count - __props__.__dict__["primary_private_ip"] = None - __props__.__dict__["request_id"] = None - super(NicPrivateIp, __self__).__init__( - 'outscale:index/nicPrivateIp:NicPrivateIp', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - allow_relink: Optional[pulumi.Input[bool]] = None, - nic_id: Optional[pulumi.Input[str]] = None, - primary_private_ip: Optional[pulumi.Input[str]] = None, - private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - request_id: Optional[pulumi.Input[str]] = None, - secondary_private_ip_count: Optional[pulumi.Input[int]] = None) -> 'NicPrivateIp': - """ - Get an existing NicPrivateIp resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[bool] allow_relink: If true, allows an IP that is already assigned to another NIC in the same Subnet to be assigned to the NIC you specified. - :param pulumi.Input[str] nic_id: The ID of the NIC. - :param pulumi.Input[Sequence[pulumi.Input[str]]] private_ips: The secondary private IP or IPs you want to assign to the NIC within the IP range of the Subnet. - :param pulumi.Input[int] secondary_private_ip_count: The number of secondary private IPs to assign to the NIC. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _NicPrivateIpState.__new__(_NicPrivateIpState) - - __props__.__dict__["allow_relink"] = allow_relink - __props__.__dict__["nic_id"] = nic_id - __props__.__dict__["primary_private_ip"] = primary_private_ip - __props__.__dict__["private_ips"] = private_ips - __props__.__dict__["request_id"] = request_id - __props__.__dict__["secondary_private_ip_count"] = secondary_private_ip_count - return NicPrivateIp(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="allowRelink") - def allow_relink(self) -> pulumi.Output[Optional[bool]]: - """ - If true, allows an IP that is already assigned to another NIC in the same Subnet to be assigned to the NIC you specified. - """ - return pulumi.get(self, "allow_relink") - - @property - @pulumi.getter(name="nicId") - def nic_id(self) -> pulumi.Output[str]: - """ - The ID of the NIC. - """ - return pulumi.get(self, "nic_id") - - @property - @pulumi.getter(name="primaryPrivateIp") - def primary_private_ip(self) -> pulumi.Output[str]: - return pulumi.get(self, "primary_private_ip") - - @property - @pulumi.getter(name="privateIps") - def private_ips(self) -> pulumi.Output[Optional[Sequence[str]]]: - """ - The secondary private IP or IPs you want to assign to the NIC within the IP range of the Subnet. - """ - return pulumi.get(self, "private_ips") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="secondaryPrivateIpCount") - def secondary_private_ip_count(self) -> pulumi.Output[int]: - """ - The number of secondary private IPs to assign to the NIC. - """ - return pulumi.get(self, "secondary_private_ip_count") - diff --git a/sdk/python/pulumi_outscale/outbound_rule.py b/sdk/python/pulumi_outscale/outbound_rule.py deleted file mode 100644 index f0ecd3b..0000000 --- a/sdk/python/pulumi_outscale/outbound_rule.py +++ /dev/null @@ -1,466 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['OutboundRuleArgs', 'OutboundRule'] - -@pulumi.input_type -class OutboundRuleArgs: - def __init__(__self__, *, - flow: pulumi.Input[str], - security_group_id: pulumi.Input[str], - from_port_range: Optional[pulumi.Input[int]] = None, - ip_protocol: Optional[pulumi.Input[str]] = None, - ip_range: Optional[pulumi.Input[str]] = None, - rules: Optional[pulumi.Input[Sequence[pulumi.Input['OutboundRuleRuleArgs']]]] = None, - security_group_account_id_to_link: Optional[pulumi.Input[str]] = None, - security_group_name_to_link: Optional[pulumi.Input[str]] = None, - to_port_range: Optional[pulumi.Input[int]] = None): - """ - The set of arguments for constructing a OutboundRule resource. - """ - pulumi.set(__self__, "flow", flow) - pulumi.set(__self__, "security_group_id", security_group_id) - if from_port_range is not None: - pulumi.set(__self__, "from_port_range", from_port_range) - if ip_protocol is not None: - pulumi.set(__self__, "ip_protocol", ip_protocol) - if ip_range is not None: - pulumi.set(__self__, "ip_range", ip_range) - if rules is not None: - pulumi.set(__self__, "rules", rules) - if security_group_account_id_to_link is not None: - pulumi.set(__self__, "security_group_account_id_to_link", security_group_account_id_to_link) - if security_group_name_to_link is not None: - pulumi.set(__self__, "security_group_name_to_link", security_group_name_to_link) - if to_port_range is not None: - pulumi.set(__self__, "to_port_range", to_port_range) - - @property - @pulumi.getter - def flow(self) -> pulumi.Input[str]: - return pulumi.get(self, "flow") - - @flow.setter - def flow(self, value: pulumi.Input[str]): - pulumi.set(self, "flow", value) - - @property - @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> pulumi.Input[str]: - return pulumi.get(self, "security_group_id") - - @security_group_id.setter - def security_group_id(self, value: pulumi.Input[str]): - pulumi.set(self, "security_group_id", value) - - @property - @pulumi.getter(name="fromPortRange") - def from_port_range(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "from_port_range") - - @from_port_range.setter - def from_port_range(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "from_port_range", value) - - @property - @pulumi.getter(name="ipProtocol") - def ip_protocol(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "ip_protocol") - - @ip_protocol.setter - def ip_protocol(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ip_protocol", value) - - @property - @pulumi.getter(name="ipRange") - def ip_range(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "ip_range") - - @ip_range.setter - def ip_range(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ip_range", value) - - @property - @pulumi.getter - def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OutboundRuleRuleArgs']]]]: - return pulumi.get(self, "rules") - - @rules.setter - def rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OutboundRuleRuleArgs']]]]): - pulumi.set(self, "rules", value) - - @property - @pulumi.getter(name="securityGroupAccountIdToLink") - def security_group_account_id_to_link(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "security_group_account_id_to_link") - - @security_group_account_id_to_link.setter - def security_group_account_id_to_link(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "security_group_account_id_to_link", value) - - @property - @pulumi.getter(name="securityGroupNameToLink") - def security_group_name_to_link(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "security_group_name_to_link") - - @security_group_name_to_link.setter - def security_group_name_to_link(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "security_group_name_to_link", value) - - @property - @pulumi.getter(name="toPortRange") - def to_port_range(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "to_port_range") - - @to_port_range.setter - def to_port_range(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "to_port_range", value) - - -@pulumi.input_type -class _OutboundRuleState: - def __init__(__self__, *, - flow: Optional[pulumi.Input[str]] = None, - from_port_range: Optional[pulumi.Input[int]] = None, - ip_protocol: Optional[pulumi.Input[str]] = None, - ip_range: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - rules: Optional[pulumi.Input[Sequence[pulumi.Input['OutboundRuleRuleArgs']]]] = None, - security_group_account_id_to_link: Optional[pulumi.Input[str]] = None, - security_group_id: Optional[pulumi.Input[str]] = None, - security_group_name: Optional[pulumi.Input[str]] = None, - security_group_name_to_link: Optional[pulumi.Input[str]] = None, - to_port_range: Optional[pulumi.Input[int]] = None): - """ - Input properties used for looking up and filtering OutboundRule resources. - """ - if flow is not None: - pulumi.set(__self__, "flow", flow) - if from_port_range is not None: - pulumi.set(__self__, "from_port_range", from_port_range) - if ip_protocol is not None: - pulumi.set(__self__, "ip_protocol", ip_protocol) - if ip_range is not None: - pulumi.set(__self__, "ip_range", ip_range) - if net_id is not None: - pulumi.set(__self__, "net_id", net_id) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if rules is not None: - pulumi.set(__self__, "rules", rules) - if security_group_account_id_to_link is not None: - pulumi.set(__self__, "security_group_account_id_to_link", security_group_account_id_to_link) - if security_group_id is not None: - pulumi.set(__self__, "security_group_id", security_group_id) - if security_group_name is not None: - pulumi.set(__self__, "security_group_name", security_group_name) - if security_group_name_to_link is not None: - pulumi.set(__self__, "security_group_name_to_link", security_group_name_to_link) - if to_port_range is not None: - pulumi.set(__self__, "to_port_range", to_port_range) - - @property - @pulumi.getter - def flow(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "flow") - - @flow.setter - def flow(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "flow", value) - - @property - @pulumi.getter(name="fromPortRange") - def from_port_range(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "from_port_range") - - @from_port_range.setter - def from_port_range(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "from_port_range", value) - - @property - @pulumi.getter(name="ipProtocol") - def ip_protocol(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "ip_protocol") - - @ip_protocol.setter - def ip_protocol(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ip_protocol", value) - - @property - @pulumi.getter(name="ipRange") - def ip_range(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "ip_range") - - @ip_range.setter - def ip_range(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ip_range", value) - - @property - @pulumi.getter(name="netId") - def net_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "net_id") - - @net_id.setter - def net_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "net_id", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter - def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OutboundRuleRuleArgs']]]]: - return pulumi.get(self, "rules") - - @rules.setter - def rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OutboundRuleRuleArgs']]]]): - pulumi.set(self, "rules", value) - - @property - @pulumi.getter(name="securityGroupAccountIdToLink") - def security_group_account_id_to_link(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "security_group_account_id_to_link") - - @security_group_account_id_to_link.setter - def security_group_account_id_to_link(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "security_group_account_id_to_link", value) - - @property - @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "security_group_id") - - @security_group_id.setter - def security_group_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "security_group_id", value) - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "security_group_name") - - @security_group_name.setter - def security_group_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "security_group_name", value) - - @property - @pulumi.getter(name="securityGroupNameToLink") - def security_group_name_to_link(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "security_group_name_to_link") - - @security_group_name_to_link.setter - def security_group_name_to_link(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "security_group_name_to_link", value) - - @property - @pulumi.getter(name="toPortRange") - def to_port_range(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "to_port_range") - - @to_port_range.setter - def to_port_range(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "to_port_range", value) - - -class OutboundRule(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - flow: Optional[pulumi.Input[str]] = None, - from_port_range: Optional[pulumi.Input[int]] = None, - ip_protocol: Optional[pulumi.Input[str]] = None, - ip_range: Optional[pulumi.Input[str]] = None, - rules: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OutboundRuleRuleArgs']]]]] = None, - security_group_account_id_to_link: Optional[pulumi.Input[str]] = None, - security_group_id: Optional[pulumi.Input[str]] = None, - security_group_name_to_link: Optional[pulumi.Input[str]] = None, - to_port_range: Optional[pulumi.Input[int]] = None, - __props__=None): - """ - Create a OutboundRule resource with the given unique name, props, and options. - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: OutboundRuleArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Create a OutboundRule resource with the given unique name, props, and options. - :param str resource_name: The name of the resource. - :param OutboundRuleArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(OutboundRuleArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - flow: Optional[pulumi.Input[str]] = None, - from_port_range: Optional[pulumi.Input[int]] = None, - ip_protocol: Optional[pulumi.Input[str]] = None, - ip_range: Optional[pulumi.Input[str]] = None, - rules: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OutboundRuleRuleArgs']]]]] = None, - security_group_account_id_to_link: Optional[pulumi.Input[str]] = None, - security_group_id: Optional[pulumi.Input[str]] = None, - security_group_name_to_link: Optional[pulumi.Input[str]] = None, - to_port_range: Optional[pulumi.Input[int]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = OutboundRuleArgs.__new__(OutboundRuleArgs) - - if flow is None and not opts.urn: - raise TypeError("Missing required property 'flow'") - __props__.__dict__["flow"] = flow - __props__.__dict__["from_port_range"] = from_port_range - __props__.__dict__["ip_protocol"] = ip_protocol - __props__.__dict__["ip_range"] = ip_range - __props__.__dict__["rules"] = rules - __props__.__dict__["security_group_account_id_to_link"] = security_group_account_id_to_link - if security_group_id is None and not opts.urn: - raise TypeError("Missing required property 'security_group_id'") - __props__.__dict__["security_group_id"] = security_group_id - __props__.__dict__["security_group_name_to_link"] = security_group_name_to_link - __props__.__dict__["to_port_range"] = to_port_range - __props__.__dict__["net_id"] = None - __props__.__dict__["request_id"] = None - __props__.__dict__["security_group_name"] = None - super(OutboundRule, __self__).__init__( - 'outscale:index/outboundRule:OutboundRule', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - flow: Optional[pulumi.Input[str]] = None, - from_port_range: Optional[pulumi.Input[int]] = None, - ip_protocol: Optional[pulumi.Input[str]] = None, - ip_range: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - rules: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OutboundRuleRuleArgs']]]]] = None, - security_group_account_id_to_link: Optional[pulumi.Input[str]] = None, - security_group_id: Optional[pulumi.Input[str]] = None, - security_group_name: Optional[pulumi.Input[str]] = None, - security_group_name_to_link: Optional[pulumi.Input[str]] = None, - to_port_range: Optional[pulumi.Input[int]] = None) -> 'OutboundRule': - """ - Get an existing OutboundRule resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _OutboundRuleState.__new__(_OutboundRuleState) - - __props__.__dict__["flow"] = flow - __props__.__dict__["from_port_range"] = from_port_range - __props__.__dict__["ip_protocol"] = ip_protocol - __props__.__dict__["ip_range"] = ip_range - __props__.__dict__["net_id"] = net_id - __props__.__dict__["request_id"] = request_id - __props__.__dict__["rules"] = rules - __props__.__dict__["security_group_account_id_to_link"] = security_group_account_id_to_link - __props__.__dict__["security_group_id"] = security_group_id - __props__.__dict__["security_group_name"] = security_group_name - __props__.__dict__["security_group_name_to_link"] = security_group_name_to_link - __props__.__dict__["to_port_range"] = to_port_range - return OutboundRule(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter - def flow(self) -> pulumi.Output[str]: - return pulumi.get(self, "flow") - - @property - @pulumi.getter(name="fromPortRange") - def from_port_range(self) -> pulumi.Output[Optional[int]]: - return pulumi.get(self, "from_port_range") - - @property - @pulumi.getter(name="ipProtocol") - def ip_protocol(self) -> pulumi.Output[Optional[str]]: - return pulumi.get(self, "ip_protocol") - - @property - @pulumi.getter(name="ipRange") - def ip_range(self) -> pulumi.Output[Optional[str]]: - return pulumi.get(self, "ip_range") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def rules(self) -> pulumi.Output[Optional[Sequence['outputs.OutboundRuleRule']]]: - return pulumi.get(self, "rules") - - @property - @pulumi.getter(name="securityGroupAccountIdToLink") - def security_group_account_id_to_link(self) -> pulumi.Output[Optional[str]]: - return pulumi.get(self, "security_group_account_id_to_link") - - @property - @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "security_group_id") - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> pulumi.Output[str]: - return pulumi.get(self, "security_group_name") - - @property - @pulumi.getter(name="securityGroupNameToLink") - def security_group_name_to_link(self) -> pulumi.Output[Optional[str]]: - return pulumi.get(self, "security_group_name_to_link") - - @property - @pulumi.getter(name="toPortRange") - def to_port_range(self) -> pulumi.Output[Optional[int]]: - return pulumi.get(self, "to_port_range") - diff --git a/sdk/python/pulumi_outscale/outputs.py b/sdk/python/pulumi_outscale/outputs.py deleted file mode 100644 index 45afae9..0000000 --- a/sdk/python/pulumi_outscale/outputs.py +++ /dev/null @@ -1,18220 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs - -__all__ = [ - 'ClientGatewayTag', - 'DhcpOptionTag', - 'ImageBlockDeviceMapping', - 'ImageBlockDeviceMappingBsus', - 'ImageExportTaskOsuExport', - 'ImageExportTaskOsuExportOsuApiKey', - 'ImageExportTaskTag', - 'ImageLaunchPermissionPermissionAdditions', - 'ImageLaunchPermissionPermissionRemovals', - 'ImageLaunchPermissionPermissionsToLaunch', - 'ImagePermissionsToLaunch', - 'ImageStateComment', - 'ImageTag', - 'InternetServiceLinkTag', - 'InternetServiceTag', - 'LoadBalancerAccessLog', - 'LoadBalancerApplicationStickyCookiePolicy', - 'LoadBalancerAttributesAccessLog', - 'LoadBalancerAttributesApplicationStickyCookiePolicy', - 'LoadBalancerAttributesHealthCheck', - 'LoadBalancerAttributesListener', - 'LoadBalancerAttributesLoadBalancerStickyCookiePolicy', - 'LoadBalancerAttributesSourceSecurityGroup', - 'LoadBalancerAttributesTag', - 'LoadBalancerHealthCheck', - 'LoadBalancerListener', - 'LoadBalancerLoadBalancerStickyCookiePolicy', - 'LoadBalancerPolicyAccessLog', - 'LoadBalancerPolicyApplicationStickyCookiePolicy', - 'LoadBalancerPolicyHealthCheck', - 'LoadBalancerPolicyListener', - 'LoadBalancerPolicyLoadBalancerStickyCookiePolicy', - 'LoadBalancerPolicySourceSecurityGroup', - 'LoadBalancerPolicyTag', - 'LoadBalancerSourceSecurityGroup', - 'LoadBalancerTag', - 'NatServicePublicIp', - 'NatServiceTag', - 'NetAccessPointTag', - 'NetAttributesTag', - 'NetPeeringAccepterNet', - 'NetPeeringAcceptionAccepterNet', - 'NetPeeringAcceptionSourceNet', - 'NetPeeringAcceptionState', - 'NetPeeringAcceptionTag', - 'NetPeeringSourceNet', - 'NetPeeringState', - 'NetPeeringTag', - 'NetTag', - 'NicLinkNic', - 'NicLinkPublicIp', - 'NicPrivateIp', - 'NicPrivateIpLinkPublicIp', - 'NicSecurityGroup', - 'NicTag', - 'OutboundRuleRule', - 'OutboundRuleRuleSecurityGroupsMember', - 'PublicIpLinkTag', - 'PublicIpTag', - 'RouteTableLinkRouteTable', - 'RouteTableRoute', - 'RouteTableRoutePropagatingVirtualGateway', - 'RouteTableTag', - 'SecurityGroupInboundRule', - 'SecurityGroupOutboundRule', - 'SecurityGroupRuleRule', - 'SecurityGroupRuleRuleSecurityGroupsMember', - 'SecurityGroupTag', - 'SnapshotAttributesPermissionsToCreateVolumeAdditions', - 'SnapshotAttributesPermissionsToCreateVolumeRemoval', - 'SnapshotExportTaskOsuExport', - 'SnapshotExportTaskOsuExportOsuApiKey', - 'SnapshotExportTaskTag', - 'SnapshotPermissionsToCreateVolume', - 'SnapshotTag', - 'SubnetTag', - 'TagTag', - 'VirtualGatewayLinkNetToVirtualGatewayLink', - 'VirtualGatewayNetToVirtualGatewayLink', - 'VirtualGatewayTag', - 'VmBlockDeviceMapping', - 'VmBlockDeviceMappingBsu', - 'VmBlockDeviceMappingBsuTag', - 'VmBlockDeviceMappingsCreated', - 'VmBlockDeviceMappingsCreatedBsus', - 'VmBlockDeviceMappingsCreatedBsusTag', - 'VmNic', - 'VmNicLinkNic', - 'VmNicLinkPublicIp', - 'VmNicPrivateIp', - 'VmNicPrivateIpLinkPublicIp', - 'VmNicSecurityGroup', - 'VmPrimaryNic', - 'VmPrimaryNicLinkNic', - 'VmPrimaryNicLinkPublicIp', - 'VmPrimaryNicPrivateIp', - 'VmPrimaryNicPrivateIpLinkPublicIp', - 'VmPrimaryNicSecurityGroup', - 'VmSecurityGroup', - 'VmTag', - 'VolumeLinkedVolume', - 'VolumeTag', - 'VpnConnectionRoute', - 'VpnConnectionTag', - 'VpnConnectionVgwTelemetry', - 'GetAccessKeyFilterResult', - 'GetAccessKeysAccessKeyResult', - 'GetAccessKeysFilterResult', - 'GetAccountsAccountResult', - 'GetApiAccessRuleFilterResult', - 'GetApiAccessRulesApiAccessRuleResult', - 'GetApiAccessRulesFilterResult', - 'GetCaFilterResult', - 'GetCasCaResult', - 'GetCasFilterResult', - 'GetClientGatewayFilterResult', - 'GetClientGatewayTagResult', - 'GetClientGatewaysClientGatewayResult', - 'GetClientGatewaysClientGatewayTagResult', - 'GetClientGatewaysFilterResult', - 'GetDhcpOptionFilterResult', - 'GetDhcpOptionTagResult', - 'GetDhcpOptionsDhcpOptionResult', - 'GetDhcpOptionsDhcpOptionTagResult', - 'GetDhcpOptionsFilterResult', - 'GetFlexibleGpuCatalogFilterResult', - 'GetFlexibleGpuCatalogFlexibleGpuCatalogResult', - 'GetFlexibleGpuFilterResult', - 'GetFlexibleGpusFilterResult', - 'GetFlexibleGpusFlexibleGpusResult', - 'GetImageBlockDeviceMappingResult', - 'GetImageBlockDeviceMappingBsusResult', - 'GetImageExportTaskFilterResult', - 'GetImageExportTaskOsuExportResult', - 'GetImageExportTaskTagResult', - 'GetImageExportTasksFilterResult', - 'GetImageExportTasksImageExportTaskResult', - 'GetImageExportTasksImageExportTaskOsuExportResult', - 'GetImageExportTasksImageExportTaskTagResult', - 'GetImageFilterResult', - 'GetImagePermissionsToLaunchResult', - 'GetImageStateCommentResult', - 'GetImageTagResult', - 'GetImagesFilterResult', - 'GetImagesImageResult', - 'GetImagesImageBlockDeviceMappingResult', - 'GetImagesImageBlockDeviceMappingBsusResult', - 'GetImagesImagePermissionsToLaunchResult', - 'GetImagesImageStateCommentResult', - 'GetImagesImageTagResult', - 'GetInternetServiceFilterResult', - 'GetInternetServiceTagResult', - 'GetInternetServicesFilterResult', - 'GetInternetServicesInternetServiceResult', - 'GetInternetServicesInternetServiceTagResult', - 'GetKeypairFilterResult', - 'GetKeypairsFilterResult', - 'GetKeypairsKeypairResult', - 'GetLoadBalancerAccessLogResult', - 'GetLoadBalancerApplicationStickyCookiePolicyResult', - 'GetLoadBalancerFilterResult', - 'GetLoadBalancerHealthCheckResult', - 'GetLoadBalancerListenerResult', - 'GetLoadBalancerLoadBalancerStickyCookiePolicyResult', - 'GetLoadBalancerSourceSecurityGroupResult', - 'GetLoadBalancerTagResult', - 'GetLoadBalancerTagsFilterResult', - 'GetLoadBalancerTagsTagResult', - 'GetLoadBalancerVmHealthBackendVmHealthResult', - 'GetLoadBalancerVmHealthFilterResult', - 'GetLoadBalancersFilterResult', - 'GetLoadBalancersLoadBalancerResult', - 'GetLoadBalancersLoadBalancerAccessLogResult', - 'GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyResult', - 'GetLoadBalancersLoadBalancerBackendVmIdResult', - 'GetLoadBalancersLoadBalancerHealthCheckResult', - 'GetLoadBalancersLoadBalancerListenerResult', - 'GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyResult', - 'GetLoadBalancersLoadBalancerSourceSecurityGroupResult', - 'GetLoadBalancersLoadBalancerTagResult', - 'GetNatServiceFilterResult', - 'GetNatServicePublicIpResult', - 'GetNatServiceTagResult', - 'GetNatServicesFilterResult', - 'GetNatServicesNatServiceResult', - 'GetNatServicesNatServicePublicIpResult', - 'GetNatServicesNatServiceTagResult', - 'GetNetAccessPointFilterResult', - 'GetNetAccessPointServicesFilterResult', - 'GetNetAccessPointServicesServiceResult', - 'GetNetAccessPointTagResult', - 'GetNetAccessPointsFilterResult', - 'GetNetAccessPointsNetAccessPointResult', - 'GetNetAccessPointsNetAccessPointTagResult', - 'GetNetAttributesTagResult', - 'GetNetFilterResult', - 'GetNetPeeringAccepterNetResult', - 'GetNetPeeringFilterResult', - 'GetNetPeeringSourceNetResult', - 'GetNetPeeringStateResult', - 'GetNetPeeringTagResult', - 'GetNetPeeringsFilterResult', - 'GetNetPeeringsNetPeeringResult', - 'GetNetPeeringsNetPeeringAccepterNetResult', - 'GetNetPeeringsNetPeeringSourceNetResult', - 'GetNetPeeringsNetPeeringStateResult', - 'GetNetPeeringsNetPeeringTagResult', - 'GetNetTagResult', - 'GetNetsFilterResult', - 'GetNetsNetResult', - 'GetNetsNetTagResult', - 'GetNicFilterResult', - 'GetNicLinkNicResult', - 'GetNicLinkPublicIpResult', - 'GetNicPrivateIpResult', - 'GetNicPrivateIpLinkPublicIpResult', - 'GetNicSecurityGroupResult', - 'GetNicTagResult', - 'GetNicsFilterResult', - 'GetNicsNicResult', - 'GetNicsNicLinkNicResult', - 'GetNicsNicLinkPublicIpResult', - 'GetNicsNicPrivateIpResult', - 'GetNicsNicPrivateIpLinkPublicIpResult', - 'GetNicsNicSecurityGroupResult', - 'GetNicsNicTagResult', - 'GetProductTypeFilterResult', - 'GetProductTypesFilterResult', - 'GetProductTypesProductTypeResult', - 'GetPublicIpFilterResult', - 'GetPublicIpTagResult', - 'GetPublicIpsFilterResult', - 'GetPublicIpsPublicIpResult', - 'GetPublicIpsPublicIpTagResult', - 'GetPulicCatalogCatalogResult', - 'GetPulicCatalogCatalogEntryResult', - 'GetQuotaFilterResult', - 'GetQuotasFilterResult', - 'GetQuotasQuotaResult', - 'GetRegionsRegionResult', - 'GetRouteTableFilterResult', - 'GetRouteTableLinkRouteTableResult', - 'GetRouteTableRouteResult', - 'GetRouteTableRoutePropagatingVirtualGatewayResult', - 'GetRouteTableTagResult', - 'GetRouteTablesFilterResult', - 'GetRouteTablesRouteTableResult', - 'GetRouteTablesRouteTableLinkRouteTableResult', - 'GetRouteTablesRouteTableRouteResult', - 'GetRouteTablesRouteTableRoutePropagatingVirtualGatewayResult', - 'GetRouteTablesRouteTableTagResult', - 'GetSecurityGroupFilterResult', - 'GetSecurityGroupInboundRuleResult', - 'GetSecurityGroupInboundRuleSecurityGroupsMemberResult', - 'GetSecurityGroupOutboundRuleResult', - 'GetSecurityGroupOutboundRuleSecurityGroupsMemberResult', - 'GetSecurityGroupTagResult', - 'GetSecurityGroupsFilterResult', - 'GetSecurityGroupsSecurityGroupResult', - 'GetSecurityGroupsSecurityGroupInboundRuleResult', - 'GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberResult', - 'GetSecurityGroupsSecurityGroupOutboundRuleResult', - 'GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberResult', - 'GetSecurityGroupsSecurityGroupTagResult', - 'GetServerCertificateFilterResult', - 'GetServerCertificatesFilterResult', - 'GetServerCertificatesServerCertificateResult', - 'GetSnapshotExportTaskFilterResult', - 'GetSnapshotExportTaskOsuExportResult', - 'GetSnapshotExportTaskTagResult', - 'GetSnapshotExportTasksFilterResult', - 'GetSnapshotExportTasksSnapshotExportTaskResult', - 'GetSnapshotExportTasksSnapshotExportTaskOsuExportResult', - 'GetSnapshotExportTasksSnapshotExportTaskTagResult', - 'GetSnapshotFilterResult', - 'GetSnapshotPermissionsToCreateVolumeResult', - 'GetSnapshotTagResult', - 'GetSnapshotsFilterResult', - 'GetSnapshotsSnapshotResult', - 'GetSnapshotsSnapshotPermissionsToCreateVolumeResult', - 'GetSnapshotsSnapshotTagResult', - 'GetSubnetFilterResult', - 'GetSubnetTagResult', - 'GetSubnetsFilterResult', - 'GetSubnetsSubnetResult', - 'GetSubnetsSubnetTagResult', - 'GetSubregionsFilterResult', - 'GetSubregionsSubregionResult', - 'GetTagFilterResult', - 'GetVirtualGatewayFilterResult', - 'GetVirtualGatewayNetToVirtualGatewayLinkResult', - 'GetVirtualGatewayTagResult', - 'GetVirtualGatewaysFilterResult', - 'GetVirtualGatewaysVirtualGatewayResult', - 'GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkResult', - 'GetVirtualGatewaysVirtualGatewayTagResult', - 'GetVmBlockDeviceMappingsCreatedResult', - 'GetVmBlockDeviceMappingsCreatedBsusResult', - 'GetVmBlockDeviceMappingsCreatedBsusTagResult', - 'GetVmFilterResult', - 'GetVmNicResult', - 'GetVmNicLinkNicResult', - 'GetVmNicLinkPublicIpResult', - 'GetVmNicPrivateIpResult', - 'GetVmNicPrivateIpLinkPublicIpResult', - 'GetVmNicSecurityGroupResult', - 'GetVmPrimaryNicResult', - 'GetVmPrimaryNicLinkNicResult', - 'GetVmPrimaryNicLinkPublicIpResult', - 'GetVmPrimaryNicPrivateIpResult', - 'GetVmPrimaryNicPrivateIpLinkPublicIpResult', - 'GetVmPrimaryNicSecurityGroupResult', - 'GetVmSecurityGroupResult', - 'GetVmStateFilterResult', - 'GetVmStateMaintenanceEventResult', - 'GetVmStatesFilterResult', - 'GetVmStatesVmStateResult', - 'GetVmStatesVmStateMaintenanceEventResult', - 'GetVmTagResult', - 'GetVmTypesFilterResult', - 'GetVmTypesVmTypeResult', - 'GetVmsFilterResult', - 'GetVmsVmResult', - 'GetVmsVmBlockDeviceMappingsCreatedResult', - 'GetVmsVmBlockDeviceMappingsCreatedBsusResult', - 'GetVmsVmBlockDeviceMappingsCreatedBsusTagResult', - 'GetVmsVmNicResult', - 'GetVmsVmNicLinkNicResult', - 'GetVmsVmNicLinkPublicIpResult', - 'GetVmsVmNicPrivateIpResult', - 'GetVmsVmNicPrivateIpLinkPublicIpResult', - 'GetVmsVmNicSecurityGroupResult', - 'GetVmsVmPrimaryNicResult', - 'GetVmsVmPrimaryNicLinkNicResult', - 'GetVmsVmPrimaryNicLinkPublicIpResult', - 'GetVmsVmPrimaryNicPrivateIpResult', - 'GetVmsVmPrimaryNicPrivateIpLinkPublicIpResult', - 'GetVmsVmPrimaryNicSecurityGroupResult', - 'GetVmsVmSecurityGroupResult', - 'GetVmsVmTagResult', - 'GetVolumeFilterResult', - 'GetVolumeLinkedVolumeResult', - 'GetVolumeTagResult', - 'GetVolumesFilterResult', - 'GetVolumesVolumeResult', - 'GetVolumesVolumeLinkedVolumeResult', - 'GetVolumesVolumeTagResult', - 'GetVpnConnectionFilterResult', - 'GetVpnConnectionRouteResult', - 'GetVpnConnectionTagResult', - 'GetVpnConnectionVgwTelemetryResult', - 'GetVpnConnectionsFilterResult', - 'GetVpnConnectionsVpnConnectionResult', - 'GetVpnConnectionsVpnConnectionRouteResult', - 'GetVpnConnectionsVpnConnectionTagResult', - 'GetVpnConnectionsVpnConnectionVgwTelemetryResult', -] - -@pulumi.output_type -class ClientGatewayTag(dict): - def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[str]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> Optional[str]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class DhcpOptionTag(dict): - def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[str]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> Optional[str]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class ImageBlockDeviceMapping(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "deviceName": - suggest = "device_name" - elif key == "virtualDeviceName": - suggest = "virtual_device_name" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in ImageBlockDeviceMapping. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - ImageBlockDeviceMapping.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - ImageBlockDeviceMapping.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - bsus: Optional[Sequence['outputs.ImageBlockDeviceMappingBsus']] = None, - device_name: Optional[str] = None, - virtual_device_name: Optional[str] = None): - """ - :param Sequence['ImageBlockDeviceMappingBsusArgs'] bsus: Information about the BSU volume to create. - :param str device_name: The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - :param str virtual_device_name: The name of the virtual device (`ephemeralN`). - """ - if bsus is not None: - pulumi.set(__self__, "bsus", bsus) - if device_name is not None: - pulumi.set(__self__, "device_name", device_name) - if virtual_device_name is not None: - pulumi.set(__self__, "virtual_device_name", virtual_device_name) - - @property - @pulumi.getter - def bsus(self) -> Optional[Sequence['outputs.ImageBlockDeviceMappingBsus']]: - """ - Information about the BSU volume to create. - """ - return pulumi.get(self, "bsus") - - @property - @pulumi.getter(name="deviceName") - def device_name(self) -> Optional[str]: - """ - The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - """ - return pulumi.get(self, "device_name") - - @property - @pulumi.getter(name="virtualDeviceName") - def virtual_device_name(self) -> Optional[str]: - """ - The name of the virtual device (`ephemeralN`). - """ - return pulumi.get(self, "virtual_device_name") - - -@pulumi.output_type -class ImageBlockDeviceMappingBsus(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "deleteOnVmDeletion": - suggest = "delete_on_vm_deletion" - elif key == "snapshotId": - suggest = "snapshot_id" - elif key == "volumeSize": - suggest = "volume_size" - elif key == "volumeType": - suggest = "volume_type" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in ImageBlockDeviceMappingBsus. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - ImageBlockDeviceMappingBsus.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - ImageBlockDeviceMappingBsus.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - delete_on_vm_deletion: Optional[bool] = None, - iops: Optional[int] = None, - snapshot_id: Optional[str] = None, - volume_size: Optional[int] = None, - volume_type: Optional[str] = None): - """ - :param bool delete_on_vm_deletion: By default or if set to true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - :param int iops: The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - :param str snapshot_id: The ID of the snapshot used to create the volume. - :param int volume_size: The size of the volume, in gibibytes (GiB).
- If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.
- If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. - :param str volume_type: The type of the volume (`standard` \\| `io1` \\| `gp2`). If not specified in the request, a `standard` volume is created.
- For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - """ - if delete_on_vm_deletion is not None: - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - if iops is not None: - pulumi.set(__self__, "iops", iops) - if snapshot_id is not None: - pulumi.set(__self__, "snapshot_id", snapshot_id) - if volume_size is not None: - pulumi.set(__self__, "volume_size", volume_size) - if volume_type is not None: - pulumi.set(__self__, "volume_type", volume_type) - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> Optional[bool]: - """ - By default or if set to true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @property - @pulumi.getter - def iops(self) -> Optional[int]: - """ - The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - """ - return pulumi.get(self, "iops") - - @property - @pulumi.getter(name="snapshotId") - def snapshot_id(self) -> Optional[str]: - """ - The ID of the snapshot used to create the volume. - """ - return pulumi.get(self, "snapshot_id") - - @property - @pulumi.getter(name="volumeSize") - def volume_size(self) -> Optional[int]: - """ - The size of the volume, in gibibytes (GiB).
- If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.
- If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. - """ - return pulumi.get(self, "volume_size") - - @property - @pulumi.getter(name="volumeType") - def volume_type(self) -> Optional[str]: - """ - The type of the volume (`standard` \\| `io1` \\| `gp2`). If not specified in the request, a `standard` volume is created.
- For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - """ - return pulumi.get(self, "volume_type") - - -@pulumi.output_type -class ImageExportTaskOsuExport(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "diskImageFormat": - suggest = "disk_image_format" - elif key == "osuBucket": - suggest = "osu_bucket" - elif key == "osuApiKeys": - suggest = "osu_api_keys" - elif key == "osuManifestUrl": - suggest = "osu_manifest_url" - elif key == "osuPrefix": - suggest = "osu_prefix" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in ImageExportTaskOsuExport. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - ImageExportTaskOsuExport.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - ImageExportTaskOsuExport.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - disk_image_format: str, - osu_bucket: str, - osu_api_keys: Optional[Sequence['outputs.ImageExportTaskOsuExportOsuApiKey']] = None, - osu_manifest_url: Optional[str] = None, - osu_prefix: Optional[str] = None): - """ - :param str disk_image_format: The format of the export disk (`qcow2` \\| `raw`). - :param str osu_bucket: The name of the OOS bucket where you want to export the object. - :param Sequence['ImageExportTaskOsuExportOsuApiKeyArgs'] osu_api_keys: Information about the OOS API key. - :param str osu_manifest_url: The URL of the manifest file. - :param str osu_prefix: The prefix for the key of the OOS object. - """ - pulumi.set(__self__, "disk_image_format", disk_image_format) - pulumi.set(__self__, "osu_bucket", osu_bucket) - if osu_api_keys is not None: - pulumi.set(__self__, "osu_api_keys", osu_api_keys) - if osu_manifest_url is not None: - pulumi.set(__self__, "osu_manifest_url", osu_manifest_url) - if osu_prefix is not None: - pulumi.set(__self__, "osu_prefix", osu_prefix) - - @property - @pulumi.getter(name="diskImageFormat") - def disk_image_format(self) -> str: - """ - The format of the export disk (`qcow2` \\| `raw`). - """ - return pulumi.get(self, "disk_image_format") - - @property - @pulumi.getter(name="osuBucket") - def osu_bucket(self) -> str: - """ - The name of the OOS bucket where you want to export the object. - """ - return pulumi.get(self, "osu_bucket") - - @property - @pulumi.getter(name="osuApiKeys") - def osu_api_keys(self) -> Optional[Sequence['outputs.ImageExportTaskOsuExportOsuApiKey']]: - """ - Information about the OOS API key. - """ - return pulumi.get(self, "osu_api_keys") - - @property - @pulumi.getter(name="osuManifestUrl") - def osu_manifest_url(self) -> Optional[str]: - """ - The URL of the manifest file. - """ - return pulumi.get(self, "osu_manifest_url") - - @property - @pulumi.getter(name="osuPrefix") - def osu_prefix(self) -> Optional[str]: - """ - The prefix for the key of the OOS object. - """ - return pulumi.get(self, "osu_prefix") - - -@pulumi.output_type -class ImageExportTaskOsuExportOsuApiKey(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "apiKeyId": - suggest = "api_key_id" - elif key == "secretKey": - suggest = "secret_key" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in ImageExportTaskOsuExportOsuApiKey. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - ImageExportTaskOsuExportOsuApiKey.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - ImageExportTaskOsuExportOsuApiKey.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - api_key_id: str, - secret_key: str): - """ - :param str api_key_id: The API key of the OOS account that enables you to access the bucket. - :param str secret_key: The secret key of the OOS account that enables you to access the bucket. - """ - pulumi.set(__self__, "api_key_id", api_key_id) - pulumi.set(__self__, "secret_key", secret_key) - - @property - @pulumi.getter(name="apiKeyId") - def api_key_id(self) -> str: - """ - The API key of the OOS account that enables you to access the bucket. - """ - return pulumi.get(self, "api_key_id") - - @property - @pulumi.getter(name="secretKey") - def secret_key(self) -> str: - """ - The secret key of the OOS account that enables you to access the bucket. - """ - return pulumi.get(self, "secret_key") - - -@pulumi.output_type -class ImageExportTaskTag(dict): - def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[str]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> Optional[str]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class ImageLaunchPermissionPermissionAdditions(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "accountIds": - suggest = "account_ids" - elif key == "globalPermission": - suggest = "global_permission" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in ImageLaunchPermissionPermissionAdditions. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - ImageLaunchPermissionPermissionAdditions.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - ImageLaunchPermissionPermissionAdditions.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - account_ids: Optional[Sequence[str]] = None, - global_permission: Optional[str] = None): - """ - :param Sequence[str] account_ids: The account ID of one or more users from whom you want to remove permissions. - :param str global_permission: If true, the resource is public. If false, the resource is private. - """ - if account_ids is not None: - pulumi.set(__self__, "account_ids", account_ids) - if global_permission is not None: - pulumi.set(__self__, "global_permission", global_permission) - - @property - @pulumi.getter(name="accountIds") - def account_ids(self) -> Optional[Sequence[str]]: - """ - The account ID of one or more users from whom you want to remove permissions. - """ - return pulumi.get(self, "account_ids") - - @property - @pulumi.getter(name="globalPermission") - def global_permission(self) -> Optional[str]: - """ - If true, the resource is public. If false, the resource is private. - """ - return pulumi.get(self, "global_permission") - - -@pulumi.output_type -class ImageLaunchPermissionPermissionRemovals(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "accountIds": - suggest = "account_ids" - elif key == "globalPermission": - suggest = "global_permission" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in ImageLaunchPermissionPermissionRemovals. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - ImageLaunchPermissionPermissionRemovals.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - ImageLaunchPermissionPermissionRemovals.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - account_ids: Optional[Sequence[str]] = None, - global_permission: Optional[str] = None): - """ - :param Sequence[str] account_ids: The account ID of one or more users from whom you want to remove permissions. - :param str global_permission: If true, the resource is public. If false, the resource is private. - """ - if account_ids is not None: - pulumi.set(__self__, "account_ids", account_ids) - if global_permission is not None: - pulumi.set(__self__, "global_permission", global_permission) - - @property - @pulumi.getter(name="accountIds") - def account_ids(self) -> Optional[Sequence[str]]: - """ - The account ID of one or more users from whom you want to remove permissions. - """ - return pulumi.get(self, "account_ids") - - @property - @pulumi.getter(name="globalPermission") - def global_permission(self) -> Optional[str]: - """ - If true, the resource is public. If false, the resource is private. - """ - return pulumi.get(self, "global_permission") - - -@pulumi.output_type -class ImageLaunchPermissionPermissionsToLaunch(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "accountIds": - suggest = "account_ids" - elif key == "globalPermission": - suggest = "global_permission" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in ImageLaunchPermissionPermissionsToLaunch. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - ImageLaunchPermissionPermissionsToLaunch.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - ImageLaunchPermissionPermissionsToLaunch.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - account_ids: Optional[Sequence[str]] = None, - global_permission: Optional[str] = None): - """ - :param Sequence[str] account_ids: The account ID of one or more users from whom you want to remove permissions. - :param str global_permission: If true, the resource is public. If false, the resource is private. - """ - if account_ids is not None: - pulumi.set(__self__, "account_ids", account_ids) - if global_permission is not None: - pulumi.set(__self__, "global_permission", global_permission) - - @property - @pulumi.getter(name="accountIds") - def account_ids(self) -> Optional[Sequence[str]]: - """ - The account ID of one or more users from whom you want to remove permissions. - """ - return pulumi.get(self, "account_ids") - - @property - @pulumi.getter(name="globalPermission") - def global_permission(self) -> Optional[str]: - """ - If true, the resource is public. If false, the resource is private. - """ - return pulumi.get(self, "global_permission") - - -@pulumi.output_type -class ImagePermissionsToLaunch(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "accountIds": - suggest = "account_ids" - elif key == "globalPermission": - suggest = "global_permission" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in ImagePermissionsToLaunch. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - ImagePermissionsToLaunch.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - ImagePermissionsToLaunch.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - account_ids: Optional[Sequence[str]] = None, - global_permission: Optional[bool] = None): - """ - :param Sequence[str] account_ids: One or more account IDs that the permission is associated with. - :param bool global_permission: A global permission for all accounts.
- (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).
- (Response) If true, the resource is public. If false, the resource is private. - """ - if account_ids is not None: - pulumi.set(__self__, "account_ids", account_ids) - if global_permission is not None: - pulumi.set(__self__, "global_permission", global_permission) - - @property - @pulumi.getter(name="accountIds") - def account_ids(self) -> Optional[Sequence[str]]: - """ - One or more account IDs that the permission is associated with. - """ - return pulumi.get(self, "account_ids") - - @property - @pulumi.getter(name="globalPermission") - def global_permission(self) -> Optional[bool]: - """ - A global permission for all accounts.
- (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).
- (Response) If true, the resource is public. If false, the resource is private. - """ - return pulumi.get(self, "global_permission") - - -@pulumi.output_type -class ImageStateComment(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "stateCode": - suggest = "state_code" - elif key == "stateMessage": - suggest = "state_message" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in ImageStateComment. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - ImageStateComment.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - ImageStateComment.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - state_code: Optional[str] = None, - state_message: Optional[str] = None): - """ - :param str state_code: The code of the change of state. - :param str state_message: A message explaining the change of state. - """ - if state_code is not None: - pulumi.set(__self__, "state_code", state_code) - if state_message is not None: - pulumi.set(__self__, "state_message", state_message) - - @property - @pulumi.getter(name="stateCode") - def state_code(self) -> Optional[str]: - """ - The code of the change of state. - """ - return pulumi.get(self, "state_code") - - @property - @pulumi.getter(name="stateMessage") - def state_message(self) -> Optional[str]: - """ - A message explaining the change of state. - """ - return pulumi.get(self, "state_message") - - -@pulumi.output_type -class ImageTag(dict): - def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[str]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> Optional[str]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class InternetServiceLinkTag(dict): - def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[str]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> Optional[str]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class InternetServiceTag(dict): - def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[str]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> Optional[str]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class LoadBalancerAccessLog(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "isEnabled": - suggest = "is_enabled" - elif key == "osuBucketName": - suggest = "osu_bucket_name" - elif key == "osuBucketPrefix": - suggest = "osu_bucket_prefix" - elif key == "publicationInterval": - suggest = "publication_interval" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in LoadBalancerAccessLog. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - LoadBalancerAccessLog.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - LoadBalancerAccessLog.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - is_enabled: Optional[bool] = None, - osu_bucket_name: Optional[str] = None, - osu_bucket_prefix: Optional[str] = None, - publication_interval: Optional[int] = None): - """ - :param bool is_enabled: If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osu_bucket_name` parameter is required. - :param str osu_bucket_name: The name of the OOS bucket for the access logs. - :param str osu_bucket_prefix: The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - :param int publication_interval: The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - """ - if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) - if osu_bucket_name is not None: - pulumi.set(__self__, "osu_bucket_name", osu_bucket_name) - if osu_bucket_prefix is not None: - pulumi.set(__self__, "osu_bucket_prefix", osu_bucket_prefix) - if publication_interval is not None: - pulumi.set(__self__, "publication_interval", publication_interval) - - @property - @pulumi.getter(name="isEnabled") - def is_enabled(self) -> Optional[bool]: - """ - If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osu_bucket_name` parameter is required. - """ - return pulumi.get(self, "is_enabled") - - @property - @pulumi.getter(name="osuBucketName") - def osu_bucket_name(self) -> Optional[str]: - """ - The name of the OOS bucket for the access logs. - """ - return pulumi.get(self, "osu_bucket_name") - - @property - @pulumi.getter(name="osuBucketPrefix") - def osu_bucket_prefix(self) -> Optional[str]: - """ - The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - """ - return pulumi.get(self, "osu_bucket_prefix") - - @property - @pulumi.getter(name="publicationInterval") - def publication_interval(self) -> Optional[int]: - """ - The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - """ - return pulumi.get(self, "publication_interval") - - -@pulumi.output_type -class LoadBalancerApplicationStickyCookiePolicy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "cookieName": - suggest = "cookie_name" - elif key == "policyName": - suggest = "policy_name" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in LoadBalancerApplicationStickyCookiePolicy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - LoadBalancerApplicationStickyCookiePolicy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - LoadBalancerApplicationStickyCookiePolicy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - cookie_name: Optional[str] = None, - policy_name: Optional[str] = None): - """ - :param str cookie_name: The name of the application cookie used for stickiness. - :param str policy_name: The name of the stickiness policy. - """ - if cookie_name is not None: - pulumi.set(__self__, "cookie_name", cookie_name) - if policy_name is not None: - pulumi.set(__self__, "policy_name", policy_name) - - @property - @pulumi.getter(name="cookieName") - def cookie_name(self) -> Optional[str]: - """ - The name of the application cookie used for stickiness. - """ - return pulumi.get(self, "cookie_name") - - @property - @pulumi.getter(name="policyName") - def policy_name(self) -> Optional[str]: - """ - The name of the stickiness policy. - """ - return pulumi.get(self, "policy_name") - - -@pulumi.output_type -class LoadBalancerAttributesAccessLog(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "isEnabled": - suggest = "is_enabled" - elif key == "osuBucketName": - suggest = "osu_bucket_name" - elif key == "osuBucketPrefix": - suggest = "osu_bucket_prefix" - elif key == "publicationInterval": - suggest = "publication_interval" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in LoadBalancerAttributesAccessLog. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - LoadBalancerAttributesAccessLog.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - LoadBalancerAttributesAccessLog.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - is_enabled: Optional[bool] = None, - osu_bucket_name: Optional[str] = None, - osu_bucket_prefix: Optional[str] = None, - publication_interval: Optional[int] = None): - """ - :param bool is_enabled: If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osu_bucket_name` parameter is required. - :param str osu_bucket_name: The name of the OOS bucket for the access logs. - :param str osu_bucket_prefix: The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - :param int publication_interval: The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - """ - if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) - if osu_bucket_name is not None: - pulumi.set(__self__, "osu_bucket_name", osu_bucket_name) - if osu_bucket_prefix is not None: - pulumi.set(__self__, "osu_bucket_prefix", osu_bucket_prefix) - if publication_interval is not None: - pulumi.set(__self__, "publication_interval", publication_interval) - - @property - @pulumi.getter(name="isEnabled") - def is_enabled(self) -> Optional[bool]: - """ - If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osu_bucket_name` parameter is required. - """ - return pulumi.get(self, "is_enabled") - - @property - @pulumi.getter(name="osuBucketName") - def osu_bucket_name(self) -> Optional[str]: - """ - The name of the OOS bucket for the access logs. - """ - return pulumi.get(self, "osu_bucket_name") - - @property - @pulumi.getter(name="osuBucketPrefix") - def osu_bucket_prefix(self) -> Optional[str]: - """ - The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - """ - return pulumi.get(self, "osu_bucket_prefix") - - @property - @pulumi.getter(name="publicationInterval") - def publication_interval(self) -> Optional[int]: - """ - The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - """ - return pulumi.get(self, "publication_interval") - - -@pulumi.output_type -class LoadBalancerAttributesApplicationStickyCookiePolicy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "cookieName": - suggest = "cookie_name" - elif key == "policyName": - suggest = "policy_name" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in LoadBalancerAttributesApplicationStickyCookiePolicy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - LoadBalancerAttributesApplicationStickyCookiePolicy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - LoadBalancerAttributesApplicationStickyCookiePolicy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - cookie_name: Optional[str] = None, - policy_name: Optional[str] = None): - """ - :param str cookie_name: The name of the application cookie used for stickiness. - :param str policy_name: The name of the stickiness policy. - """ - if cookie_name is not None: - pulumi.set(__self__, "cookie_name", cookie_name) - if policy_name is not None: - pulumi.set(__self__, "policy_name", policy_name) - - @property - @pulumi.getter(name="cookieName") - def cookie_name(self) -> Optional[str]: - """ - The name of the application cookie used for stickiness. - """ - return pulumi.get(self, "cookie_name") - - @property - @pulumi.getter(name="policyName") - def policy_name(self) -> Optional[str]: - """ - The name of the stickiness policy. - """ - return pulumi.get(self, "policy_name") - - -@pulumi.output_type -class LoadBalancerAttributesHealthCheck(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "checkInterval": - suggest = "check_interval" - elif key == "healthyThreshold": - suggest = "healthy_threshold" - elif key == "unhealthyThreshold": - suggest = "unhealthy_threshold" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in LoadBalancerAttributesHealthCheck. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - LoadBalancerAttributesHealthCheck.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - LoadBalancerAttributesHealthCheck.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - port: int, - protocol: str, - check_interval: Optional[int] = None, - healthy_threshold: Optional[int] = None, - path: Optional[str] = None, - timeout: Optional[int] = None, - unhealthy_threshold: Optional[int] = None): - """ - :param int port: The port number (between `1` and `65535`, both included). - :param str protocol: The protocol for the URL of the VM (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - :param int check_interval: The number of seconds between two pings (between `5` and `600` both included). - :param int healthy_threshold: The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - :param str path: If you use the HTTP or HTTPS protocols, the ping path. - :param int timeout: The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - :param int unhealthy_threshold: The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - """ - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - if check_interval is not None: - pulumi.set(__self__, "check_interval", check_interval) - if healthy_threshold is not None: - pulumi.set(__self__, "healthy_threshold", healthy_threshold) - if path is not None: - pulumi.set(__self__, "path", path) - if timeout is not None: - pulumi.set(__self__, "timeout", timeout) - if unhealthy_threshold is not None: - pulumi.set(__self__, "unhealthy_threshold", unhealthy_threshold) - - @property - @pulumi.getter - def port(self) -> int: - """ - The port number (between `1` and `65535`, both included). - """ - return pulumi.get(self, "port") - - @property - @pulumi.getter - def protocol(self) -> str: - """ - The protocol for the URL of the VM (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - """ - return pulumi.get(self, "protocol") - - @property - @pulumi.getter(name="checkInterval") - def check_interval(self) -> Optional[int]: - """ - The number of seconds between two pings (between `5` and `600` both included). - """ - return pulumi.get(self, "check_interval") - - @property - @pulumi.getter(name="healthyThreshold") - def healthy_threshold(self) -> Optional[int]: - """ - The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - """ - return pulumi.get(self, "healthy_threshold") - - @property - @pulumi.getter - def path(self) -> Optional[str]: - """ - If you use the HTTP or HTTPS protocols, the ping path. - """ - return pulumi.get(self, "path") - - @property - @pulumi.getter - def timeout(self) -> Optional[int]: - """ - The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - """ - return pulumi.get(self, "timeout") - - @property - @pulumi.getter(name="unhealthyThreshold") - def unhealthy_threshold(self) -> Optional[int]: - """ - The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - """ - return pulumi.get(self, "unhealthy_threshold") - - -@pulumi.output_type -class LoadBalancerAttributesListener(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "backendPort": - suggest = "backend_port" - elif key == "backendProtocol": - suggest = "backend_protocol" - elif key == "loadBalancerPort": - suggest = "load_balancer_port" - elif key == "loadBalancerProtocol": - suggest = "load_balancer_protocol" - elif key == "policyNames": - suggest = "policy_names" - elif key == "serverCertificateId": - suggest = "server_certificate_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in LoadBalancerAttributesListener. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - LoadBalancerAttributesListener.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - LoadBalancerAttributesListener.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - backend_port: Optional[int] = None, - backend_protocol: Optional[str] = None, - load_balancer_port: Optional[int] = None, - load_balancer_protocol: Optional[str] = None, - policy_names: Optional[Sequence[str]] = None, - server_certificate_id: Optional[str] = None): - """ - :param int backend_port: The port on which the back-end VM is listening (between `1` and `65535`, both included). - :param str backend_protocol: The protocol for routing traffic to back-end VMs (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - :param int load_balancer_port: The port on which the load balancer is listening (between `1` and `65535`, both included). This parameter is required if you want to update the server certificate. - :param str load_balancer_protocol: The routing protocol (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - :param Sequence[str] policy_names: The name of the policy you want to enable for the listener. - :param str server_certificate_id: The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). If this parameter is specified, you must also specify the `load_balancer_port` parameter. - """ - if backend_port is not None: - pulumi.set(__self__, "backend_port", backend_port) - if backend_protocol is not None: - pulumi.set(__self__, "backend_protocol", backend_protocol) - if load_balancer_port is not None: - pulumi.set(__self__, "load_balancer_port", load_balancer_port) - if load_balancer_protocol is not None: - pulumi.set(__self__, "load_balancer_protocol", load_balancer_protocol) - if policy_names is not None: - pulumi.set(__self__, "policy_names", policy_names) - if server_certificate_id is not None: - pulumi.set(__self__, "server_certificate_id", server_certificate_id) - - @property - @pulumi.getter(name="backendPort") - def backend_port(self) -> Optional[int]: - """ - The port on which the back-end VM is listening (between `1` and `65535`, both included). - """ - return pulumi.get(self, "backend_port") - - @property - @pulumi.getter(name="backendProtocol") - def backend_protocol(self) -> Optional[str]: - """ - The protocol for routing traffic to back-end VMs (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - """ - return pulumi.get(self, "backend_protocol") - - @property - @pulumi.getter(name="loadBalancerPort") - def load_balancer_port(self) -> Optional[int]: - """ - The port on which the load balancer is listening (between `1` and `65535`, both included). This parameter is required if you want to update the server certificate. - """ - return pulumi.get(self, "load_balancer_port") - - @property - @pulumi.getter(name="loadBalancerProtocol") - def load_balancer_protocol(self) -> Optional[str]: - """ - The routing protocol (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - """ - return pulumi.get(self, "load_balancer_protocol") - - @property - @pulumi.getter(name="policyNames") - def policy_names(self) -> Optional[Sequence[str]]: - """ - The name of the policy you want to enable for the listener. - """ - return pulumi.get(self, "policy_names") - - @property - @pulumi.getter(name="serverCertificateId") - def server_certificate_id(self) -> Optional[str]: - """ - The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). If this parameter is specified, you must also specify the `load_balancer_port` parameter. - """ - return pulumi.get(self, "server_certificate_id") - - -@pulumi.output_type -class LoadBalancerAttributesLoadBalancerStickyCookiePolicy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "policyName": - suggest = "policy_name" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in LoadBalancerAttributesLoadBalancerStickyCookiePolicy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - LoadBalancerAttributesLoadBalancerStickyCookiePolicy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - LoadBalancerAttributesLoadBalancerStickyCookiePolicy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - policy_name: Optional[str] = None): - """ - :param str policy_name: The name of the stickiness policy. - """ - if policy_name is not None: - pulumi.set(__self__, "policy_name", policy_name) - - @property - @pulumi.getter(name="policyName") - def policy_name(self) -> Optional[str]: - """ - The name of the stickiness policy. - """ - return pulumi.get(self, "policy_name") - - -@pulumi.output_type -class LoadBalancerAttributesSourceSecurityGroup(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "securityGroupAccountId": - suggest = "security_group_account_id" - elif key == "securityGroupName": - suggest = "security_group_name" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in LoadBalancerAttributesSourceSecurityGroup. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - LoadBalancerAttributesSourceSecurityGroup.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - LoadBalancerAttributesSourceSecurityGroup.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - security_group_account_id: Optional[str] = None, - security_group_name: Optional[str] = None): - """ - :param str security_group_account_id: The account ID of the owner of the security group. - :param str security_group_name: The name of the security group. - """ - if security_group_account_id is not None: - pulumi.set(__self__, "security_group_account_id", security_group_account_id) - if security_group_name is not None: - pulumi.set(__self__, "security_group_name", security_group_name) - - @property - @pulumi.getter(name="securityGroupAccountId") - def security_group_account_id(self) -> Optional[str]: - """ - The account ID of the owner of the security group. - """ - return pulumi.get(self, "security_group_account_id") - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> Optional[str]: - """ - The name of the security group. - """ - return pulumi.get(self, "security_group_name") - - -@pulumi.output_type -class LoadBalancerAttributesTag(dict): - def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[str]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> Optional[str]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class LoadBalancerHealthCheck(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "checkInterval": - suggest = "check_interval" - elif key == "healthyThreshold": - suggest = "healthy_threshold" - elif key == "unhealthyThreshold": - suggest = "unhealthy_threshold" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in LoadBalancerHealthCheck. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - LoadBalancerHealthCheck.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - LoadBalancerHealthCheck.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - check_interval: Optional[int] = None, - healthy_threshold: Optional[int] = None, - path: Optional[str] = None, - port: Optional[int] = None, - protocol: Optional[str] = None, - timeout: Optional[int] = None, - unhealthy_threshold: Optional[int] = None): - """ - :param int check_interval: The number of seconds between two pings (between `5` and `600` both included). - :param int healthy_threshold: The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - :param str path: If you use the HTTP or HTTPS protocols, the ping path. - :param int port: The port number (between `1` and `65535`, both included). - :param str protocol: The protocol for the URL of the VM (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - :param int timeout: The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - :param int unhealthy_threshold: The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - """ - if check_interval is not None: - pulumi.set(__self__, "check_interval", check_interval) - if healthy_threshold is not None: - pulumi.set(__self__, "healthy_threshold", healthy_threshold) - if path is not None: - pulumi.set(__self__, "path", path) - if port is not None: - pulumi.set(__self__, "port", port) - if protocol is not None: - pulumi.set(__self__, "protocol", protocol) - if timeout is not None: - pulumi.set(__self__, "timeout", timeout) - if unhealthy_threshold is not None: - pulumi.set(__self__, "unhealthy_threshold", unhealthy_threshold) - - @property - @pulumi.getter(name="checkInterval") - def check_interval(self) -> Optional[int]: - """ - The number of seconds between two pings (between `5` and `600` both included). - """ - return pulumi.get(self, "check_interval") - - @property - @pulumi.getter(name="healthyThreshold") - def healthy_threshold(self) -> Optional[int]: - """ - The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - """ - return pulumi.get(self, "healthy_threshold") - - @property - @pulumi.getter - def path(self) -> Optional[str]: - """ - If you use the HTTP or HTTPS protocols, the ping path. - """ - return pulumi.get(self, "path") - - @property - @pulumi.getter - def port(self) -> Optional[int]: - """ - The port number (between `1` and `65535`, both included). - """ - return pulumi.get(self, "port") - - @property - @pulumi.getter - def protocol(self) -> Optional[str]: - """ - The protocol for the URL of the VM (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - """ - return pulumi.get(self, "protocol") - - @property - @pulumi.getter - def timeout(self) -> Optional[int]: - """ - The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - """ - return pulumi.get(self, "timeout") - - @property - @pulumi.getter(name="unhealthyThreshold") - def unhealthy_threshold(self) -> Optional[int]: - """ - The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - """ - return pulumi.get(self, "unhealthy_threshold") - - -@pulumi.output_type -class LoadBalancerListener(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "backendPort": - suggest = "backend_port" - elif key == "backendProtocol": - suggest = "backend_protocol" - elif key == "loadBalancerPort": - suggest = "load_balancer_port" - elif key == "loadBalancerProtocol": - suggest = "load_balancer_protocol" - elif key == "policyNames": - suggest = "policy_names" - elif key == "serverCertificateId": - suggest = "server_certificate_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in LoadBalancerListener. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - LoadBalancerListener.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - LoadBalancerListener.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - backend_port: int, - backend_protocol: str, - load_balancer_port: int, - load_balancer_protocol: str, - policy_names: Optional[Sequence[str]] = None, - server_certificate_id: Optional[str] = None): - """ - :param int backend_port: The port on which the back-end VM is listening (between `1` and `65535`, both included). - :param str backend_protocol: The protocol for routing traffic to back-end VMs (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - :param int load_balancer_port: The port on which the load balancer is listening (between `1` and `65535`, both included). - :param str load_balancer_protocol: The routing protocol (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - :param Sequence[str] policy_names: The names of the policies. If there are no policies enabled, the list is empty. - :param str server_certificate_id: The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > OUTSCALE Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - """ - pulumi.set(__self__, "backend_port", backend_port) - pulumi.set(__self__, "backend_protocol", backend_protocol) - pulumi.set(__self__, "load_balancer_port", load_balancer_port) - pulumi.set(__self__, "load_balancer_protocol", load_balancer_protocol) - if policy_names is not None: - pulumi.set(__self__, "policy_names", policy_names) - if server_certificate_id is not None: - pulumi.set(__self__, "server_certificate_id", server_certificate_id) - - @property - @pulumi.getter(name="backendPort") - def backend_port(self) -> int: - """ - The port on which the back-end VM is listening (between `1` and `65535`, both included). - """ - return pulumi.get(self, "backend_port") - - @property - @pulumi.getter(name="backendProtocol") - def backend_protocol(self) -> str: - """ - The protocol for routing traffic to back-end VMs (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - """ - return pulumi.get(self, "backend_protocol") - - @property - @pulumi.getter(name="loadBalancerPort") - def load_balancer_port(self) -> int: - """ - The port on which the load balancer is listening (between `1` and `65535`, both included). - """ - return pulumi.get(self, "load_balancer_port") - - @property - @pulumi.getter(name="loadBalancerProtocol") - def load_balancer_protocol(self) -> str: - """ - The routing protocol (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - """ - return pulumi.get(self, "load_balancer_protocol") - - @property - @pulumi.getter(name="policyNames") - def policy_names(self) -> Optional[Sequence[str]]: - """ - The names of the policies. If there are no policies enabled, the list is empty. - """ - return pulumi.get(self, "policy_names") - - @property - @pulumi.getter(name="serverCertificateId") - def server_certificate_id(self) -> Optional[str]: - """ - The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > OUTSCALE Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - """ - return pulumi.get(self, "server_certificate_id") - - -@pulumi.output_type -class LoadBalancerLoadBalancerStickyCookiePolicy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "policyName": - suggest = "policy_name" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in LoadBalancerLoadBalancerStickyCookiePolicy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - LoadBalancerLoadBalancerStickyCookiePolicy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - LoadBalancerLoadBalancerStickyCookiePolicy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - policy_name: Optional[str] = None): - """ - :param str policy_name: The name of the stickiness policy. - """ - if policy_name is not None: - pulumi.set(__self__, "policy_name", policy_name) - - @property - @pulumi.getter(name="policyName") - def policy_name(self) -> Optional[str]: - """ - The name of the stickiness policy. - """ - return pulumi.get(self, "policy_name") - - -@pulumi.output_type -class LoadBalancerPolicyAccessLog(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "isEnabled": - suggest = "is_enabled" - elif key == "osuBucketName": - suggest = "osu_bucket_name" - elif key == "osuBucketPrefix": - suggest = "osu_bucket_prefix" - elif key == "publicationInterval": - suggest = "publication_interval" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in LoadBalancerPolicyAccessLog. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - LoadBalancerPolicyAccessLog.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - LoadBalancerPolicyAccessLog.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - is_enabled: Optional[bool] = None, - osu_bucket_name: Optional[str] = None, - osu_bucket_prefix: Optional[str] = None, - publication_interval: Optional[int] = None): - """ - :param bool is_enabled: If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osu_bucket_name` parameter is required. - :param str osu_bucket_name: The name of the OOS bucket for the access logs. - :param str osu_bucket_prefix: The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - :param int publication_interval: The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - """ - if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) - if osu_bucket_name is not None: - pulumi.set(__self__, "osu_bucket_name", osu_bucket_name) - if osu_bucket_prefix is not None: - pulumi.set(__self__, "osu_bucket_prefix", osu_bucket_prefix) - if publication_interval is not None: - pulumi.set(__self__, "publication_interval", publication_interval) - - @property - @pulumi.getter(name="isEnabled") - def is_enabled(self) -> Optional[bool]: - """ - If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osu_bucket_name` parameter is required. - """ - return pulumi.get(self, "is_enabled") - - @property - @pulumi.getter(name="osuBucketName") - def osu_bucket_name(self) -> Optional[str]: - """ - The name of the OOS bucket for the access logs. - """ - return pulumi.get(self, "osu_bucket_name") - - @property - @pulumi.getter(name="osuBucketPrefix") - def osu_bucket_prefix(self) -> Optional[str]: - """ - The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - """ - return pulumi.get(self, "osu_bucket_prefix") - - @property - @pulumi.getter(name="publicationInterval") - def publication_interval(self) -> Optional[int]: - """ - The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - """ - return pulumi.get(self, "publication_interval") - - -@pulumi.output_type -class LoadBalancerPolicyApplicationStickyCookiePolicy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "cookieName": - suggest = "cookie_name" - elif key == "policyName": - suggest = "policy_name" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in LoadBalancerPolicyApplicationStickyCookiePolicy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - LoadBalancerPolicyApplicationStickyCookiePolicy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - LoadBalancerPolicyApplicationStickyCookiePolicy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - cookie_name: Optional[str] = None, - policy_name: Optional[str] = None): - """ - :param str cookie_name: The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie. - :param str policy_name: The name of the policy. This name must be unique and consist of alphanumeric characters and dashes (-). - """ - if cookie_name is not None: - pulumi.set(__self__, "cookie_name", cookie_name) - if policy_name is not None: - pulumi.set(__self__, "policy_name", policy_name) - - @property - @pulumi.getter(name="cookieName") - def cookie_name(self) -> Optional[str]: - """ - The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie. - """ - return pulumi.get(self, "cookie_name") - - @property - @pulumi.getter(name="policyName") - def policy_name(self) -> Optional[str]: - """ - The name of the policy. This name must be unique and consist of alphanumeric characters and dashes (-). - """ - return pulumi.get(self, "policy_name") - - -@pulumi.output_type -class LoadBalancerPolicyHealthCheck(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "checkInterval": - suggest = "check_interval" - elif key == "healthyThreshold": - suggest = "healthy_threshold" - elif key == "unhealthyThreshold": - suggest = "unhealthy_threshold" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in LoadBalancerPolicyHealthCheck. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - LoadBalancerPolicyHealthCheck.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - LoadBalancerPolicyHealthCheck.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - check_interval: Optional[int] = None, - healthy_threshold: Optional[int] = None, - path: Optional[str] = None, - port: Optional[int] = None, - protocol: Optional[str] = None, - timeout: Optional[int] = None, - unhealthy_threshold: Optional[int] = None): - """ - :param int check_interval: The number of seconds between two pings (between `5` and `600` both included). - :param int healthy_threshold: The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - :param str path: If you use the HTTP or HTTPS protocols, the ping path. - :param int port: The port number (between `1` and `65535`, both included). - :param str protocol: The protocol for the URL of the VM (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - :param int timeout: The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - :param int unhealthy_threshold: The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - """ - if check_interval is not None: - pulumi.set(__self__, "check_interval", check_interval) - if healthy_threshold is not None: - pulumi.set(__self__, "healthy_threshold", healthy_threshold) - if path is not None: - pulumi.set(__self__, "path", path) - if port is not None: - pulumi.set(__self__, "port", port) - if protocol is not None: - pulumi.set(__self__, "protocol", protocol) - if timeout is not None: - pulumi.set(__self__, "timeout", timeout) - if unhealthy_threshold is not None: - pulumi.set(__self__, "unhealthy_threshold", unhealthy_threshold) - - @property - @pulumi.getter(name="checkInterval") - def check_interval(self) -> Optional[int]: - """ - The number of seconds between two pings (between `5` and `600` both included). - """ - return pulumi.get(self, "check_interval") - - @property - @pulumi.getter(name="healthyThreshold") - def healthy_threshold(self) -> Optional[int]: - """ - The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - """ - return pulumi.get(self, "healthy_threshold") - - @property - @pulumi.getter - def path(self) -> Optional[str]: - """ - If you use the HTTP or HTTPS protocols, the ping path. - """ - return pulumi.get(self, "path") - - @property - @pulumi.getter - def port(self) -> Optional[int]: - """ - The port number (between `1` and `65535`, both included). - """ - return pulumi.get(self, "port") - - @property - @pulumi.getter - def protocol(self) -> Optional[str]: - """ - The protocol for the URL of the VM (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - """ - return pulumi.get(self, "protocol") - - @property - @pulumi.getter - def timeout(self) -> Optional[int]: - """ - The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - """ - return pulumi.get(self, "timeout") - - @property - @pulumi.getter(name="unhealthyThreshold") - def unhealthy_threshold(self) -> Optional[int]: - """ - The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - """ - return pulumi.get(self, "unhealthy_threshold") - - -@pulumi.output_type -class LoadBalancerPolicyListener(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "backendPort": - suggest = "backend_port" - elif key == "backendProtocol": - suggest = "backend_protocol" - elif key == "loadBalancerPort": - suggest = "load_balancer_port" - elif key == "loadBalancerProtocol": - suggest = "load_balancer_protocol" - elif key == "policyNames": - suggest = "policy_names" - elif key == "serverCertificateId": - suggest = "server_certificate_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in LoadBalancerPolicyListener. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - LoadBalancerPolicyListener.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - LoadBalancerPolicyListener.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - backend_port: Optional[int] = None, - backend_protocol: Optional[str] = None, - load_balancer_port: Optional[int] = None, - load_balancer_protocol: Optional[str] = None, - policy_names: Optional[Sequence[str]] = None, - server_certificate_id: Optional[str] = None): - """ - :param int backend_port: The port on which the back-end VM is listening (between `1` and `65535`, both included). - :param str backend_protocol: The protocol for routing traffic to back-end VMs (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - :param int load_balancer_port: The port on which the load balancer is listening (between `1` and `65535`, both included). - :param str load_balancer_protocol: The routing protocol (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - :param Sequence[str] policy_names: The names of the policies. If there are no policies enabled, the list is empty. - :param str server_certificate_id: The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > OUTSCALE Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - """ - if backend_port is not None: - pulumi.set(__self__, "backend_port", backend_port) - if backend_protocol is not None: - pulumi.set(__self__, "backend_protocol", backend_protocol) - if load_balancer_port is not None: - pulumi.set(__self__, "load_balancer_port", load_balancer_port) - if load_balancer_protocol is not None: - pulumi.set(__self__, "load_balancer_protocol", load_balancer_protocol) - if policy_names is not None: - pulumi.set(__self__, "policy_names", policy_names) - if server_certificate_id is not None: - pulumi.set(__self__, "server_certificate_id", server_certificate_id) - - @property - @pulumi.getter(name="backendPort") - def backend_port(self) -> Optional[int]: - """ - The port on which the back-end VM is listening (between `1` and `65535`, both included). - """ - return pulumi.get(self, "backend_port") - - @property - @pulumi.getter(name="backendProtocol") - def backend_protocol(self) -> Optional[str]: - """ - The protocol for routing traffic to back-end VMs (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - """ - return pulumi.get(self, "backend_protocol") - - @property - @pulumi.getter(name="loadBalancerPort") - def load_balancer_port(self) -> Optional[int]: - """ - The port on which the load balancer is listening (between `1` and `65535`, both included). - """ - return pulumi.get(self, "load_balancer_port") - - @property - @pulumi.getter(name="loadBalancerProtocol") - def load_balancer_protocol(self) -> Optional[str]: - """ - The routing protocol (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - """ - return pulumi.get(self, "load_balancer_protocol") - - @property - @pulumi.getter(name="policyNames") - def policy_names(self) -> Optional[Sequence[str]]: - """ - The names of the policies. If there are no policies enabled, the list is empty. - """ - return pulumi.get(self, "policy_names") - - @property - @pulumi.getter(name="serverCertificateId") - def server_certificate_id(self) -> Optional[str]: - """ - The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > OUTSCALE Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - """ - return pulumi.get(self, "server_certificate_id") - - -@pulumi.output_type -class LoadBalancerPolicyLoadBalancerStickyCookiePolicy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "policyName": - suggest = "policy_name" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in LoadBalancerPolicyLoadBalancerStickyCookiePolicy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - LoadBalancerPolicyLoadBalancerStickyCookiePolicy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - LoadBalancerPolicyLoadBalancerStickyCookiePolicy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - policy_name: Optional[str] = None): - """ - :param str policy_name: The name of the policy. This name must be unique and consist of alphanumeric characters and dashes (-). - """ - if policy_name is not None: - pulumi.set(__self__, "policy_name", policy_name) - - @property - @pulumi.getter(name="policyName") - def policy_name(self) -> Optional[str]: - """ - The name of the policy. This name must be unique and consist of alphanumeric characters and dashes (-). - """ - return pulumi.get(self, "policy_name") - - -@pulumi.output_type -class LoadBalancerPolicySourceSecurityGroup(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "securityGroupAccountId": - suggest = "security_group_account_id" - elif key == "securityGroupName": - suggest = "security_group_name" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in LoadBalancerPolicySourceSecurityGroup. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - LoadBalancerPolicySourceSecurityGroup.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - LoadBalancerPolicySourceSecurityGroup.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - security_group_account_id: Optional[str] = None, - security_group_name: Optional[str] = None): - """ - :param str security_group_account_id: The account ID of the owner of the security group. - :param str security_group_name: The name of the security group. - """ - if security_group_account_id is not None: - pulumi.set(__self__, "security_group_account_id", security_group_account_id) - if security_group_name is not None: - pulumi.set(__self__, "security_group_name", security_group_name) - - @property - @pulumi.getter(name="securityGroupAccountId") - def security_group_account_id(self) -> Optional[str]: - """ - The account ID of the owner of the security group. - """ - return pulumi.get(self, "security_group_account_id") - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> Optional[str]: - """ - The name of the security group. - """ - return pulumi.get(self, "security_group_name") - - -@pulumi.output_type -class LoadBalancerPolicyTag(dict): - def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[str]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> Optional[str]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class LoadBalancerSourceSecurityGroup(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "securityGroupAccountId": - suggest = "security_group_account_id" - elif key == "securityGroupName": - suggest = "security_group_name" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in LoadBalancerSourceSecurityGroup. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - LoadBalancerSourceSecurityGroup.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - LoadBalancerSourceSecurityGroup.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - security_group_account_id: Optional[str] = None, - security_group_name: Optional[str] = None): - """ - :param str security_group_account_id: The account ID of the owner of the security group. - :param str security_group_name: The name of the security group. - """ - if security_group_account_id is not None: - pulumi.set(__self__, "security_group_account_id", security_group_account_id) - if security_group_name is not None: - pulumi.set(__self__, "security_group_name", security_group_name) - - @property - @pulumi.getter(name="securityGroupAccountId") - def security_group_account_id(self) -> Optional[str]: - """ - The account ID of the owner of the security group. - """ - return pulumi.get(self, "security_group_account_id") - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> Optional[str]: - """ - The name of the security group. - """ - return pulumi.get(self, "security_group_name") - - -@pulumi.output_type -class LoadBalancerTag(dict): - def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[str]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> Optional[str]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class NatServicePublicIp(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "publicIp": - suggest = "public_ip" - elif key == "publicIpId": - suggest = "public_ip_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in NatServicePublicIp. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - NatServicePublicIp.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - NatServicePublicIp.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - public_ip: Optional[str] = None, - public_ip_id: Optional[str] = None): - """ - :param str public_ip: The public IP associated with the NAT service. - :param str public_ip_id: The allocation ID of the public IP to associate with the NAT service.
- If the public IP is already associated with another resource, you must first disassociate it. - """ - if public_ip is not None: - pulumi.set(__self__, "public_ip", public_ip) - if public_ip_id is not None: - pulumi.set(__self__, "public_ip_id", public_ip_id) - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> Optional[str]: - """ - The public IP associated with the NAT service. - """ - return pulumi.get(self, "public_ip") - - @property - @pulumi.getter(name="publicIpId") - def public_ip_id(self) -> Optional[str]: - """ - The allocation ID of the public IP to associate with the NAT service.
- If the public IP is already associated with another resource, you must first disassociate it. - """ - return pulumi.get(self, "public_ip_id") - - -@pulumi.output_type -class NatServiceTag(dict): - def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[str]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> Optional[str]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class NetAccessPointTag(dict): - def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[str]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> Optional[str]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class NetAttributesTag(dict): - def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[str]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> Optional[str]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class NetPeeringAccepterNet(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "accountId": - suggest = "account_id" - elif key == "ipRange": - suggest = "ip_range" - elif key == "netId": - suggest = "net_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in NetPeeringAccepterNet. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - NetPeeringAccepterNet.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - NetPeeringAccepterNet.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - account_id: Optional[str] = None, - ip_range: Optional[str] = None, - net_id: Optional[str] = None): - """ - :param str account_id: The account ID of the owner of the source Net. - :param str ip_range: The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - :param str net_id: The ID of the source Net. - """ - if account_id is not None: - pulumi.set(__self__, "account_id", account_id) - if ip_range is not None: - pulumi.set(__self__, "ip_range", ip_range) - if net_id is not None: - pulumi.set(__self__, "net_id", net_id) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> Optional[str]: - """ - The account ID of the owner of the source Net. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter(name="ipRange") - def ip_range(self) -> Optional[str]: - """ - The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - """ - return pulumi.get(self, "ip_range") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> Optional[str]: - """ - The ID of the source Net. - """ - return pulumi.get(self, "net_id") - - -@pulumi.output_type -class NetPeeringAcceptionAccepterNet(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "accountId": - suggest = "account_id" - elif key == "ipRange": - suggest = "ip_range" - elif key == "netId": - suggest = "net_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in NetPeeringAcceptionAccepterNet. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - NetPeeringAcceptionAccepterNet.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - NetPeeringAcceptionAccepterNet.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - account_id: Optional[str] = None, - ip_range: Optional[str] = None, - net_id: Optional[str] = None): - """ - :param str account_id: The account ID of the owner of the source Net. - :param str ip_range: The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - :param str net_id: The ID of the source Net. - """ - if account_id is not None: - pulumi.set(__self__, "account_id", account_id) - if ip_range is not None: - pulumi.set(__self__, "ip_range", ip_range) - if net_id is not None: - pulumi.set(__self__, "net_id", net_id) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> Optional[str]: - """ - The account ID of the owner of the source Net. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter(name="ipRange") - def ip_range(self) -> Optional[str]: - """ - The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - """ - return pulumi.get(self, "ip_range") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> Optional[str]: - """ - The ID of the source Net. - """ - return pulumi.get(self, "net_id") - - -@pulumi.output_type -class NetPeeringAcceptionSourceNet(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "accountId": - suggest = "account_id" - elif key == "ipRange": - suggest = "ip_range" - elif key == "netId": - suggest = "net_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in NetPeeringAcceptionSourceNet. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - NetPeeringAcceptionSourceNet.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - NetPeeringAcceptionSourceNet.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - account_id: Optional[str] = None, - ip_range: Optional[str] = None, - net_id: Optional[str] = None): - """ - :param str account_id: The account ID of the owner of the source Net. - :param str ip_range: The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - :param str net_id: The ID of the source Net. - """ - if account_id is not None: - pulumi.set(__self__, "account_id", account_id) - if ip_range is not None: - pulumi.set(__self__, "ip_range", ip_range) - if net_id is not None: - pulumi.set(__self__, "net_id", net_id) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> Optional[str]: - """ - The account ID of the owner of the source Net. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter(name="ipRange") - def ip_range(self) -> Optional[str]: - """ - The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - """ - return pulumi.get(self, "ip_range") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> Optional[str]: - """ - The ID of the source Net. - """ - return pulumi.get(self, "net_id") - - -@pulumi.output_type -class NetPeeringAcceptionState(dict): - def __init__(__self__, *, - message: Optional[str] = None, - name: Optional[str] = None): - """ - :param str message: Additional information about the state of the Net peering. - :param str name: The state of the Net peering (`pending-acceptance` \\| `active` \\| `rejected` \\| `failed` \\| `expired` \\| `deleted`). - """ - if message is not None: - pulumi.set(__self__, "message", message) - if name is not None: - pulumi.set(__self__, "name", name) - - @property - @pulumi.getter - def message(self) -> Optional[str]: - """ - Additional information about the state of the Net peering. - """ - return pulumi.get(self, "message") - - @property - @pulumi.getter - def name(self) -> Optional[str]: - """ - The state of the Net peering (`pending-acceptance` \\| `active` \\| `rejected` \\| `failed` \\| `expired` \\| `deleted`). - """ - return pulumi.get(self, "name") - - -@pulumi.output_type -class NetPeeringAcceptionTag(dict): - def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[str]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> Optional[str]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class NetPeeringSourceNet(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "accountId": - suggest = "account_id" - elif key == "ipRange": - suggest = "ip_range" - elif key == "netId": - suggest = "net_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in NetPeeringSourceNet. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - NetPeeringSourceNet.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - NetPeeringSourceNet.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - account_id: Optional[str] = None, - ip_range: Optional[str] = None, - net_id: Optional[str] = None): - """ - :param str account_id: The account ID of the owner of the source Net. - :param str ip_range: The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - :param str net_id: The ID of the source Net. - """ - if account_id is not None: - pulumi.set(__self__, "account_id", account_id) - if ip_range is not None: - pulumi.set(__self__, "ip_range", ip_range) - if net_id is not None: - pulumi.set(__self__, "net_id", net_id) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> Optional[str]: - """ - The account ID of the owner of the source Net. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter(name="ipRange") - def ip_range(self) -> Optional[str]: - """ - The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - """ - return pulumi.get(self, "ip_range") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> Optional[str]: - """ - The ID of the source Net. - """ - return pulumi.get(self, "net_id") - - -@pulumi.output_type -class NetPeeringState(dict): - def __init__(__self__, *, - message: Optional[str] = None, - name: Optional[str] = None): - """ - :param str message: Additional information about the state of the Net peering. - :param str name: The state of the Net peering (`pending-acceptance` \\| `active` \\| `rejected` \\| `failed` \\| `expired` \\| `deleted`). - """ - if message is not None: - pulumi.set(__self__, "message", message) - if name is not None: - pulumi.set(__self__, "name", name) - - @property - @pulumi.getter - def message(self) -> Optional[str]: - """ - Additional information about the state of the Net peering. - """ - return pulumi.get(self, "message") - - @property - @pulumi.getter - def name(self) -> Optional[str]: - """ - The state of the Net peering (`pending-acceptance` \\| `active` \\| `rejected` \\| `failed` \\| `expired` \\| `deleted`). - """ - return pulumi.get(self, "name") - - -@pulumi.output_type -class NetPeeringTag(dict): - def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[str]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> Optional[str]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class NetTag(dict): - def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[str]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> Optional[str]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class NicLinkNic(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "deleteOnVmDeletion": - suggest = "delete_on_vm_deletion" - elif key == "deviceNumber": - suggest = "device_number" - elif key == "linkNicId": - suggest = "link_nic_id" - elif key == "vmAccountId": - suggest = "vm_account_id" - elif key == "vmId": - suggest = "vm_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in NicLinkNic. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - NicLinkNic.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - NicLinkNic.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - delete_on_vm_deletion: Optional[str] = None, - device_number: Optional[int] = None, - link_nic_id: Optional[str] = None, - state: Optional[str] = None, - vm_account_id: Optional[str] = None, - vm_id: Optional[str] = None): - """ - :param str delete_on_vm_deletion: If true, the NIC is deleted when the VM is terminated. - :param int device_number: The device index for the NIC attachment (between `1` and `7`, both included). - :param str link_nic_id: The ID of the NIC to attach. - :param str state: The state of the NIC (`available` \\| `attaching` \\| `in-use` \\| `detaching`). - :param str vm_account_id: The account ID of the owner of the VM. - :param str vm_id: The ID of the VM. - """ - if delete_on_vm_deletion is not None: - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - if device_number is not None: - pulumi.set(__self__, "device_number", device_number) - if link_nic_id is not None: - pulumi.set(__self__, "link_nic_id", link_nic_id) - if state is not None: - pulumi.set(__self__, "state", state) - if vm_account_id is not None: - pulumi.set(__self__, "vm_account_id", vm_account_id) - if vm_id is not None: - pulumi.set(__self__, "vm_id", vm_id) - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> Optional[str]: - """ - If true, the NIC is deleted when the VM is terminated. - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @property - @pulumi.getter(name="deviceNumber") - def device_number(self) -> Optional[int]: - """ - The device index for the NIC attachment (between `1` and `7`, both included). - """ - return pulumi.get(self, "device_number") - - @property - @pulumi.getter(name="linkNicId") - def link_nic_id(self) -> Optional[str]: - """ - The ID of the NIC to attach. - """ - return pulumi.get(self, "link_nic_id") - - @property - @pulumi.getter - def state(self) -> Optional[str]: - """ - The state of the NIC (`available` \\| `attaching` \\| `in-use` \\| `detaching`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="vmAccountId") - def vm_account_id(self) -> Optional[str]: - """ - The account ID of the owner of the VM. - """ - return pulumi.get(self, "vm_account_id") - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> Optional[str]: - """ - The ID of the VM. - """ - return pulumi.get(self, "vm_id") - - -@pulumi.output_type -class NicLinkPublicIp(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "linkPublicIpId": - suggest = "link_public_ip_id" - elif key == "publicDnsName": - suggest = "public_dns_name" - elif key == "publicIp": - suggest = "public_ip" - elif key == "publicIpAccountId": - suggest = "public_ip_account_id" - elif key == "publicIpId": - suggest = "public_ip_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in NicLinkPublicIp. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - NicLinkPublicIp.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - NicLinkPublicIp.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - link_public_ip_id: Optional[str] = None, - public_dns_name: Optional[str] = None, - public_ip: Optional[str] = None, - public_ip_account_id: Optional[str] = None, - public_ip_id: Optional[str] = None): - """ - :param str link_public_ip_id: (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - :param str public_dns_name: The name of the public DNS. - :param str public_ip: The public IP associated with the NIC. - :param str public_ip_account_id: The account ID of the owner of the public IP. - :param str public_ip_id: The allocation ID of the public IP. - """ - if link_public_ip_id is not None: - pulumi.set(__self__, "link_public_ip_id", link_public_ip_id) - if public_dns_name is not None: - pulumi.set(__self__, "public_dns_name", public_dns_name) - if public_ip is not None: - pulumi.set(__self__, "public_ip", public_ip) - if public_ip_account_id is not None: - pulumi.set(__self__, "public_ip_account_id", public_ip_account_id) - if public_ip_id is not None: - pulumi.set(__self__, "public_ip_id", public_ip_id) - - @property - @pulumi.getter(name="linkPublicIpId") - def link_public_ip_id(self) -> Optional[str]: - """ - (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - """ - return pulumi.get(self, "link_public_ip_id") - - @property - @pulumi.getter(name="publicDnsName") - def public_dns_name(self) -> Optional[str]: - """ - The name of the public DNS. - """ - return pulumi.get(self, "public_dns_name") - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> Optional[str]: - """ - The public IP associated with the NIC. - """ - return pulumi.get(self, "public_ip") - - @property - @pulumi.getter(name="publicIpAccountId") - def public_ip_account_id(self) -> Optional[str]: - """ - The account ID of the owner of the public IP. - """ - return pulumi.get(self, "public_ip_account_id") - - @property - @pulumi.getter(name="publicIpId") - def public_ip_id(self) -> Optional[str]: - """ - The allocation ID of the public IP. - """ - return pulumi.get(self, "public_ip_id") - - -@pulumi.output_type -class NicPrivateIp(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "isPrimary": - suggest = "is_primary" - elif key == "linkPublicIps": - suggest = "link_public_ips" - elif key == "privateDnsName": - suggest = "private_dns_name" - elif key == "privateIp": - suggest = "private_ip" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in NicPrivateIp. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - NicPrivateIp.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - NicPrivateIp.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - is_primary: Optional[bool] = None, - link_public_ips: Optional[Sequence['outputs.NicPrivateIpLinkPublicIp']] = None, - private_dns_name: Optional[str] = None, - private_ip: Optional[str] = None): - """ - :param bool is_primary: If true, the IP is the primary private IP of the NIC. - :param Sequence['NicPrivateIpLinkPublicIpArgs'] link_public_ips: Information about the public IP association. - :param str private_dns_name: The name of the private DNS. - :param str private_ip: The private IP of the NIC. - """ - if is_primary is not None: - pulumi.set(__self__, "is_primary", is_primary) - if link_public_ips is not None: - pulumi.set(__self__, "link_public_ips", link_public_ips) - if private_dns_name is not None: - pulumi.set(__self__, "private_dns_name", private_dns_name) - if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) - - @property - @pulumi.getter(name="isPrimary") - def is_primary(self) -> Optional[bool]: - """ - If true, the IP is the primary private IP of the NIC. - """ - return pulumi.get(self, "is_primary") - - @property - @pulumi.getter(name="linkPublicIps") - def link_public_ips(self) -> Optional[Sequence['outputs.NicPrivateIpLinkPublicIp']]: - """ - Information about the public IP association. - """ - return pulumi.get(self, "link_public_ips") - - @property - @pulumi.getter(name="privateDnsName") - def private_dns_name(self) -> Optional[str]: - """ - The name of the private DNS. - """ - return pulumi.get(self, "private_dns_name") - - @property - @pulumi.getter(name="privateIp") - def private_ip(self) -> Optional[str]: - """ - The private IP of the NIC. - """ - return pulumi.get(self, "private_ip") - - -@pulumi.output_type -class NicPrivateIpLinkPublicIp(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "linkPublicIpId": - suggest = "link_public_ip_id" - elif key == "publicDnsName": - suggest = "public_dns_name" - elif key == "publicIp": - suggest = "public_ip" - elif key == "publicIpAccountId": - suggest = "public_ip_account_id" - elif key == "publicIpId": - suggest = "public_ip_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in NicPrivateIpLinkPublicIp. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - NicPrivateIpLinkPublicIp.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - NicPrivateIpLinkPublicIp.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - link_public_ip_id: Optional[str] = None, - public_dns_name: Optional[str] = None, - public_ip: Optional[str] = None, - public_ip_account_id: Optional[str] = None, - public_ip_id: Optional[str] = None): - """ - :param str link_public_ip_id: (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - :param str public_dns_name: The name of the public DNS. - :param str public_ip: The public IP associated with the NIC. - :param str public_ip_account_id: The account ID of the owner of the public IP. - :param str public_ip_id: The allocation ID of the public IP. - """ - if link_public_ip_id is not None: - pulumi.set(__self__, "link_public_ip_id", link_public_ip_id) - if public_dns_name is not None: - pulumi.set(__self__, "public_dns_name", public_dns_name) - if public_ip is not None: - pulumi.set(__self__, "public_ip", public_ip) - if public_ip_account_id is not None: - pulumi.set(__self__, "public_ip_account_id", public_ip_account_id) - if public_ip_id is not None: - pulumi.set(__self__, "public_ip_id", public_ip_id) - - @property - @pulumi.getter(name="linkPublicIpId") - def link_public_ip_id(self) -> Optional[str]: - """ - (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - """ - return pulumi.get(self, "link_public_ip_id") - - @property - @pulumi.getter(name="publicDnsName") - def public_dns_name(self) -> Optional[str]: - """ - The name of the public DNS. - """ - return pulumi.get(self, "public_dns_name") - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> Optional[str]: - """ - The public IP associated with the NIC. - """ - return pulumi.get(self, "public_ip") - - @property - @pulumi.getter(name="publicIpAccountId") - def public_ip_account_id(self) -> Optional[str]: - """ - The account ID of the owner of the public IP. - """ - return pulumi.get(self, "public_ip_account_id") - - @property - @pulumi.getter(name="publicIpId") - def public_ip_id(self) -> Optional[str]: - """ - The allocation ID of the public IP. - """ - return pulumi.get(self, "public_ip_id") - - -@pulumi.output_type -class NicSecurityGroup(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "securityGroupId": - suggest = "security_group_id" - elif key == "securityGroupName": - suggest = "security_group_name" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in NicSecurityGroup. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - NicSecurityGroup.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - NicSecurityGroup.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - security_group_id: Optional[str] = None, - security_group_name: Optional[str] = None): - """ - :param str security_group_id: The ID of the security group. - :param str security_group_name: The name of the security group. - """ - if security_group_id is not None: - pulumi.set(__self__, "security_group_id", security_group_id) - if security_group_name is not None: - pulumi.set(__self__, "security_group_name", security_group_name) - - @property - @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> Optional[str]: - """ - The ID of the security group. - """ - return pulumi.get(self, "security_group_id") - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> Optional[str]: - """ - The name of the security group. - """ - return pulumi.get(self, "security_group_name") - - -@pulumi.output_type -class NicTag(dict): - def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[str]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> Optional[str]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class OutboundRuleRule(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "fromPortRange": - suggest = "from_port_range" - elif key == "ipProtocol": - suggest = "ip_protocol" - elif key == "ipRanges": - suggest = "ip_ranges" - elif key == "securityGroupsMembers": - suggest = "security_groups_members" - elif key == "serviceIds": - suggest = "service_ids" - elif key == "toPortRange": - suggest = "to_port_range" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in OutboundRuleRule. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - OutboundRuleRule.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - OutboundRuleRule.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - from_port_range: Optional[int] = None, - ip_protocol: Optional[str] = None, - ip_ranges: Optional[Sequence[str]] = None, - security_groups_members: Optional[Sequence['outputs.OutboundRuleRuleSecurityGroupsMember']] = None, - service_ids: Optional[Sequence[str]] = None, - to_port_range: Optional[int] = None): - if from_port_range is not None: - pulumi.set(__self__, "from_port_range", from_port_range) - if ip_protocol is not None: - pulumi.set(__self__, "ip_protocol", ip_protocol) - if ip_ranges is not None: - pulumi.set(__self__, "ip_ranges", ip_ranges) - if security_groups_members is not None: - pulumi.set(__self__, "security_groups_members", security_groups_members) - if service_ids is not None: - pulumi.set(__self__, "service_ids", service_ids) - if to_port_range is not None: - pulumi.set(__self__, "to_port_range", to_port_range) - - @property - @pulumi.getter(name="fromPortRange") - def from_port_range(self) -> Optional[int]: - return pulumi.get(self, "from_port_range") - - @property - @pulumi.getter(name="ipProtocol") - def ip_protocol(self) -> Optional[str]: - return pulumi.get(self, "ip_protocol") - - @property - @pulumi.getter(name="ipRanges") - def ip_ranges(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "ip_ranges") - - @property - @pulumi.getter(name="securityGroupsMembers") - def security_groups_members(self) -> Optional[Sequence['outputs.OutboundRuleRuleSecurityGroupsMember']]: - return pulumi.get(self, "security_groups_members") - - @property - @pulumi.getter(name="serviceIds") - def service_ids(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "service_ids") - - @property - @pulumi.getter(name="toPortRange") - def to_port_range(self) -> Optional[int]: - return pulumi.get(self, "to_port_range") - - -@pulumi.output_type -class OutboundRuleRuleSecurityGroupsMember(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "accountId": - suggest = "account_id" - elif key == "securityGroupId": - suggest = "security_group_id" - elif key == "securityGroupName": - suggest = "security_group_name" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in OutboundRuleRuleSecurityGroupsMember. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - OutboundRuleRuleSecurityGroupsMember.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - OutboundRuleRuleSecurityGroupsMember.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - account_id: Optional[str] = None, - security_group_id: Optional[str] = None, - security_group_name: Optional[str] = None): - if account_id is not None: - pulumi.set(__self__, "account_id", account_id) - if security_group_id is not None: - pulumi.set(__self__, "security_group_id", security_group_id) - if security_group_name is not None: - pulumi.set(__self__, "security_group_name", security_group_name) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> Optional[str]: - return pulumi.get(self, "account_id") - - @property - @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> Optional[str]: - return pulumi.get(self, "security_group_id") - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> Optional[str]: - return pulumi.get(self, "security_group_name") - - -@pulumi.output_type -class PublicIpLinkTag(dict): - def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[str]: - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> Optional[str]: - return pulumi.get(self, "value") - - -@pulumi.output_type -class PublicIpTag(dict): - def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[str]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> Optional[str]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class RouteTableLinkRouteTable(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "linkRouteTableId": - suggest = "link_route_table_id" - elif key == "routeTableId": - suggest = "route_table_id" - elif key == "routeTableToSubnetLinkId": - suggest = "route_table_to_subnet_link_id" - elif key == "subnetId": - suggest = "subnet_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in RouteTableLinkRouteTable. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - RouteTableLinkRouteTable.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - RouteTableLinkRouteTable.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - link_route_table_id: Optional[str] = None, - main: Optional[bool] = None, - route_table_id: Optional[str] = None, - route_table_to_subnet_link_id: Optional[str] = None, - subnet_id: Optional[str] = None): - """ - :param str link_route_table_id: The ID of the association between the route table and the Subnet. - :param bool main: If true, the route table is the main one. - :param str route_table_id: The ID of the route table. - :param str subnet_id: The ID of the Subnet. - """ - if link_route_table_id is not None: - pulumi.set(__self__, "link_route_table_id", link_route_table_id) - if main is not None: - pulumi.set(__self__, "main", main) - if route_table_id is not None: - pulumi.set(__self__, "route_table_id", route_table_id) - if route_table_to_subnet_link_id is not None: - pulumi.set(__self__, "route_table_to_subnet_link_id", route_table_to_subnet_link_id) - if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) - - @property - @pulumi.getter(name="linkRouteTableId") - def link_route_table_id(self) -> Optional[str]: - """ - The ID of the association between the route table and the Subnet. - """ - return pulumi.get(self, "link_route_table_id") - - @property - @pulumi.getter - def main(self) -> Optional[bool]: - """ - If true, the route table is the main one. - """ - return pulumi.get(self, "main") - - @property - @pulumi.getter(name="routeTableId") - def route_table_id(self) -> Optional[str]: - """ - The ID of the route table. - """ - return pulumi.get(self, "route_table_id") - - @property - @pulumi.getter(name="routeTableToSubnetLinkId") - def route_table_to_subnet_link_id(self) -> Optional[str]: - return pulumi.get(self, "route_table_to_subnet_link_id") - - @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> Optional[str]: - """ - The ID of the Subnet. - """ - return pulumi.get(self, "subnet_id") - - -@pulumi.output_type -class RouteTableRoute(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "creationMethod": - suggest = "creation_method" - elif key == "destinationIpRange": - suggest = "destination_ip_range" - elif key == "destinationServiceId": - suggest = "destination_service_id" - elif key == "gatewayId": - suggest = "gateway_id" - elif key == "natServiceId": - suggest = "nat_service_id" - elif key == "netAccessPointId": - suggest = "net_access_point_id" - elif key == "netPeeringId": - suggest = "net_peering_id" - elif key == "nicId": - suggest = "nic_id" - elif key == "vmAccountId": - suggest = "vm_account_id" - elif key == "vmId": - suggest = "vm_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in RouteTableRoute. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - RouteTableRoute.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - RouteTableRoute.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - creation_method: Optional[str] = None, - destination_ip_range: Optional[str] = None, - destination_service_id: Optional[str] = None, - gateway_id: Optional[str] = None, - nat_service_id: Optional[str] = None, - net_access_point_id: Optional[str] = None, - net_peering_id: Optional[str] = None, - nic_id: Optional[str] = None, - state: Optional[str] = None, - vm_account_id: Optional[str] = None, - vm_id: Optional[str] = None): - """ - :param str creation_method: The method used to create the route. - :param str destination_ip_range: The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - :param str destination_service_id: The ID of the OUTSCALE service. - :param str gateway_id: The ID of the Internet service or virtual gateway attached to the Net. - :param str nat_service_id: The ID of a NAT service attached to the Net. - :param str net_access_point_id: The ID of the Net access point. - :param str net_peering_id: The ID of the Net peering. - :param str nic_id: The ID of the NIC. - :param str state: The state of a route in the route table (always `active`). - :param str vm_account_id: The account ID of the owner of the VM. - :param str vm_id: The ID of a VM specified in a route in the table. - """ - if creation_method is not None: - pulumi.set(__self__, "creation_method", creation_method) - if destination_ip_range is not None: - pulumi.set(__self__, "destination_ip_range", destination_ip_range) - if destination_service_id is not None: - pulumi.set(__self__, "destination_service_id", destination_service_id) - if gateway_id is not None: - pulumi.set(__self__, "gateway_id", gateway_id) - if nat_service_id is not None: - pulumi.set(__self__, "nat_service_id", nat_service_id) - if net_access_point_id is not None: - pulumi.set(__self__, "net_access_point_id", net_access_point_id) - if net_peering_id is not None: - pulumi.set(__self__, "net_peering_id", net_peering_id) - if nic_id is not None: - pulumi.set(__self__, "nic_id", nic_id) - if state is not None: - pulumi.set(__self__, "state", state) - if vm_account_id is not None: - pulumi.set(__self__, "vm_account_id", vm_account_id) - if vm_id is not None: - pulumi.set(__self__, "vm_id", vm_id) - - @property - @pulumi.getter(name="creationMethod") - def creation_method(self) -> Optional[str]: - """ - The method used to create the route. - """ - return pulumi.get(self, "creation_method") - - @property - @pulumi.getter(name="destinationIpRange") - def destination_ip_range(self) -> Optional[str]: - """ - The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - """ - return pulumi.get(self, "destination_ip_range") - - @property - @pulumi.getter(name="destinationServiceId") - def destination_service_id(self) -> Optional[str]: - """ - The ID of the OUTSCALE service. - """ - return pulumi.get(self, "destination_service_id") - - @property - @pulumi.getter(name="gatewayId") - def gateway_id(self) -> Optional[str]: - """ - The ID of the Internet service or virtual gateway attached to the Net. - """ - return pulumi.get(self, "gateway_id") - - @property - @pulumi.getter(name="natServiceId") - def nat_service_id(self) -> Optional[str]: - """ - The ID of a NAT service attached to the Net. - """ - return pulumi.get(self, "nat_service_id") - - @property - @pulumi.getter(name="netAccessPointId") - def net_access_point_id(self) -> Optional[str]: - """ - The ID of the Net access point. - """ - return pulumi.get(self, "net_access_point_id") - - @property - @pulumi.getter(name="netPeeringId") - def net_peering_id(self) -> Optional[str]: - """ - The ID of the Net peering. - """ - return pulumi.get(self, "net_peering_id") - - @property - @pulumi.getter(name="nicId") - def nic_id(self) -> Optional[str]: - """ - The ID of the NIC. - """ - return pulumi.get(self, "nic_id") - - @property - @pulumi.getter - def state(self) -> Optional[str]: - """ - The state of a route in the route table (always `active`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="vmAccountId") - def vm_account_id(self) -> Optional[str]: - """ - The account ID of the owner of the VM. - """ - return pulumi.get(self, "vm_account_id") - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> Optional[str]: - """ - The ID of a VM specified in a route in the table. - """ - return pulumi.get(self, "vm_id") - - -@pulumi.output_type -class RouteTableRoutePropagatingVirtualGateway(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "virtualGatewayId": - suggest = "virtual_gateway_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in RouteTableRoutePropagatingVirtualGateway. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - RouteTableRoutePropagatingVirtualGateway.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - RouteTableRoutePropagatingVirtualGateway.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - virtual_gateway_id: Optional[str] = None): - """ - :param str virtual_gateway_id: The ID of the virtual gateway. - """ - if virtual_gateway_id is not None: - pulumi.set(__self__, "virtual_gateway_id", virtual_gateway_id) - - @property - @pulumi.getter(name="virtualGatewayId") - def virtual_gateway_id(self) -> Optional[str]: - """ - The ID of the virtual gateway. - """ - return pulumi.get(self, "virtual_gateway_id") - - -@pulumi.output_type -class RouteTableTag(dict): - def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[str]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> Optional[str]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class SecurityGroupInboundRule(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "fromPortRange": - suggest = "from_port_range" - elif key == "ipProtocol": - suggest = "ip_protocol" - elif key == "ipRanges": - suggest = "ip_ranges" - elif key == "securityGroupsMembers": - suggest = "security_groups_members" - elif key == "toPortRange": - suggest = "to_port_range" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in SecurityGroupInboundRule. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - SecurityGroupInboundRule.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - SecurityGroupInboundRule.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - from_port_range: Optional[int] = None, - ip_protocol: Optional[str] = None, - ip_ranges: Optional[Sequence[str]] = None, - security_groups_members: Optional[Sequence[Mapping[str, Any]]] = None, - to_port_range: Optional[int] = None): - """ - :param int from_port_range: The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - :param str ip_protocol: The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - :param Sequence[str] ip_ranges: One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - :param Sequence[Mapping[str, Any]] security_groups_members: Information about one or more source or destination security groups. - :param int to_port_range: The end of the port range for the TCP and UDP protocols, or an ICMP code number. - """ - if from_port_range is not None: - pulumi.set(__self__, "from_port_range", from_port_range) - if ip_protocol is not None: - pulumi.set(__self__, "ip_protocol", ip_protocol) - if ip_ranges is not None: - pulumi.set(__self__, "ip_ranges", ip_ranges) - if security_groups_members is not None: - pulumi.set(__self__, "security_groups_members", security_groups_members) - if to_port_range is not None: - pulumi.set(__self__, "to_port_range", to_port_range) - - @property - @pulumi.getter(name="fromPortRange") - def from_port_range(self) -> Optional[int]: - """ - The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - """ - return pulumi.get(self, "from_port_range") - - @property - @pulumi.getter(name="ipProtocol") - def ip_protocol(self) -> Optional[str]: - """ - The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - """ - return pulumi.get(self, "ip_protocol") - - @property - @pulumi.getter(name="ipRanges") - def ip_ranges(self) -> Optional[Sequence[str]]: - """ - One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - """ - return pulumi.get(self, "ip_ranges") - - @property - @pulumi.getter(name="securityGroupsMembers") - def security_groups_members(self) -> Optional[Sequence[Mapping[str, Any]]]: - """ - Information about one or more source or destination security groups. - """ - return pulumi.get(self, "security_groups_members") - - @property - @pulumi.getter(name="toPortRange") - def to_port_range(self) -> Optional[int]: - """ - The end of the port range for the TCP and UDP protocols, or an ICMP code number. - """ - return pulumi.get(self, "to_port_range") - - -@pulumi.output_type -class SecurityGroupOutboundRule(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "fromPortRange": - suggest = "from_port_range" - elif key == "ipProtocol": - suggest = "ip_protocol" - elif key == "ipRanges": - suggest = "ip_ranges" - elif key == "securityGroupsMembers": - suggest = "security_groups_members" - elif key == "toPortRange": - suggest = "to_port_range" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in SecurityGroupOutboundRule. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - SecurityGroupOutboundRule.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - SecurityGroupOutboundRule.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - from_port_range: Optional[int] = None, - ip_protocol: Optional[str] = None, - ip_ranges: Optional[Sequence[str]] = None, - security_groups_members: Optional[Sequence[Mapping[str, Any]]] = None, - to_port_range: Optional[int] = None): - """ - :param int from_port_range: The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - :param str ip_protocol: The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - :param Sequence[str] ip_ranges: One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - :param Sequence[Mapping[str, Any]] security_groups_members: Information about one or more source or destination security groups. - :param int to_port_range: The end of the port range for the TCP and UDP protocols, or an ICMP code number. - """ - if from_port_range is not None: - pulumi.set(__self__, "from_port_range", from_port_range) - if ip_protocol is not None: - pulumi.set(__self__, "ip_protocol", ip_protocol) - if ip_ranges is not None: - pulumi.set(__self__, "ip_ranges", ip_ranges) - if security_groups_members is not None: - pulumi.set(__self__, "security_groups_members", security_groups_members) - if to_port_range is not None: - pulumi.set(__self__, "to_port_range", to_port_range) - - @property - @pulumi.getter(name="fromPortRange") - def from_port_range(self) -> Optional[int]: - """ - The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - """ - return pulumi.get(self, "from_port_range") - - @property - @pulumi.getter(name="ipProtocol") - def ip_protocol(self) -> Optional[str]: - """ - The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - """ - return pulumi.get(self, "ip_protocol") - - @property - @pulumi.getter(name="ipRanges") - def ip_ranges(self) -> Optional[Sequence[str]]: - """ - One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - """ - return pulumi.get(self, "ip_ranges") - - @property - @pulumi.getter(name="securityGroupsMembers") - def security_groups_members(self) -> Optional[Sequence[Mapping[str, Any]]]: - """ - Information about one or more source or destination security groups. - """ - return pulumi.get(self, "security_groups_members") - - @property - @pulumi.getter(name="toPortRange") - def to_port_range(self) -> Optional[int]: - """ - The end of the port range for the TCP and UDP protocols, or an ICMP code number. - """ - return pulumi.get(self, "to_port_range") - - -@pulumi.output_type -class SecurityGroupRuleRule(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "fromPortRange": - suggest = "from_port_range" - elif key == "ipProtocol": - suggest = "ip_protocol" - elif key == "ipRanges": - suggest = "ip_ranges" - elif key == "securityGroupsMembers": - suggest = "security_groups_members" - elif key == "serviceIds": - suggest = "service_ids" - elif key == "toPortRange": - suggest = "to_port_range" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in SecurityGroupRuleRule. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - SecurityGroupRuleRule.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - SecurityGroupRuleRule.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - from_port_range: Optional[int] = None, - ip_protocol: Optional[str] = None, - ip_ranges: Optional[Sequence[str]] = None, - security_groups_members: Optional[Sequence['outputs.SecurityGroupRuleRuleSecurityGroupsMember']] = None, - service_ids: Optional[Sequence[str]] = None, - to_port_range: Optional[int] = None): - """ - :param int from_port_range: The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - :param str ip_protocol: The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - :param Sequence[str] ip_ranges: One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - :param Sequence['SecurityGroupRuleRuleSecurityGroupsMemberArgs'] security_groups_members: Information about one or more source or destination security groups. - :param Sequence[str] service_ids: One or more service IDs to allow traffic from a Net to access the corresponding OUTSCALE services. For more information, see [ReadNetAccessPointServices](https://docs.outscale.com/api#readnetaccesspointservices). - :param int to_port_range: The end of the port range for the TCP and UDP protocols, or an ICMP code number. If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - """ - if from_port_range is not None: - pulumi.set(__self__, "from_port_range", from_port_range) - if ip_protocol is not None: - pulumi.set(__self__, "ip_protocol", ip_protocol) - if ip_ranges is not None: - pulumi.set(__self__, "ip_ranges", ip_ranges) - if security_groups_members is not None: - pulumi.set(__self__, "security_groups_members", security_groups_members) - if service_ids is not None: - pulumi.set(__self__, "service_ids", service_ids) - if to_port_range is not None: - pulumi.set(__self__, "to_port_range", to_port_range) - - @property - @pulumi.getter(name="fromPortRange") - def from_port_range(self) -> Optional[int]: - """ - The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - """ - return pulumi.get(self, "from_port_range") - - @property - @pulumi.getter(name="ipProtocol") - def ip_protocol(self) -> Optional[str]: - """ - The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - """ - return pulumi.get(self, "ip_protocol") - - @property - @pulumi.getter(name="ipRanges") - def ip_ranges(self) -> Optional[Sequence[str]]: - """ - One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - """ - return pulumi.get(self, "ip_ranges") - - @property - @pulumi.getter(name="securityGroupsMembers") - def security_groups_members(self) -> Optional[Sequence['outputs.SecurityGroupRuleRuleSecurityGroupsMember']]: - """ - Information about one or more source or destination security groups. - """ - return pulumi.get(self, "security_groups_members") - - @property - @pulumi.getter(name="serviceIds") - def service_ids(self) -> Optional[Sequence[str]]: - """ - One or more service IDs to allow traffic from a Net to access the corresponding OUTSCALE services. For more information, see [ReadNetAccessPointServices](https://docs.outscale.com/api#readnetaccesspointservices). - """ - return pulumi.get(self, "service_ids") - - @property - @pulumi.getter(name="toPortRange") - def to_port_range(self) -> Optional[int]: - """ - The end of the port range for the TCP and UDP protocols, or an ICMP code number. If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - """ - return pulumi.get(self, "to_port_range") - - -@pulumi.output_type -class SecurityGroupRuleRuleSecurityGroupsMember(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "accountId": - suggest = "account_id" - elif key == "securityGroupId": - suggest = "security_group_id" - elif key == "securityGroupName": - suggest = "security_group_name" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in SecurityGroupRuleRuleSecurityGroupsMember. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - SecurityGroupRuleRuleSecurityGroupsMember.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - SecurityGroupRuleRuleSecurityGroupsMember.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - account_id: Optional[str] = None, - security_group_id: Optional[str] = None, - security_group_name: Optional[str] = None): - """ - :param str account_id: The account ID that owns the source or destination security group. - :param str security_group_id: The ID of the security group for which you want to create a rule. - :param str security_group_name: (Public Cloud only) The name of a source or destination security group that you want to link to the security group of the rule. - """ - if account_id is not None: - pulumi.set(__self__, "account_id", account_id) - if security_group_id is not None: - pulumi.set(__self__, "security_group_id", security_group_id) - if security_group_name is not None: - pulumi.set(__self__, "security_group_name", security_group_name) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> Optional[str]: - """ - The account ID that owns the source or destination security group. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> Optional[str]: - """ - The ID of the security group for which you want to create a rule. - """ - return pulumi.get(self, "security_group_id") - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> Optional[str]: - """ - (Public Cloud only) The name of a source or destination security group that you want to link to the security group of the rule. - """ - return pulumi.get(self, "security_group_name") - - -@pulumi.output_type -class SecurityGroupTag(dict): - def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[str]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> Optional[str]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class SnapshotAttributesPermissionsToCreateVolumeAdditions(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "accountIds": - suggest = "account_ids" - elif key == "globalPermission": - suggest = "global_permission" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in SnapshotAttributesPermissionsToCreateVolumeAdditions. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - SnapshotAttributesPermissionsToCreateVolumeAdditions.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - SnapshotAttributesPermissionsToCreateVolumeAdditions.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - account_ids: Optional[Sequence[str]] = None, - global_permission: Optional[bool] = None): - """ - :param Sequence[str] account_ids: The account ID of one or more users from whom you want to remove permissions. - :param bool global_permission: If true, the resource is public. If false, the resource is private. - """ - if account_ids is not None: - pulumi.set(__self__, "account_ids", account_ids) - if global_permission is not None: - pulumi.set(__self__, "global_permission", global_permission) - - @property - @pulumi.getter(name="accountIds") - def account_ids(self) -> Optional[Sequence[str]]: - """ - The account ID of one or more users from whom you want to remove permissions. - """ - return pulumi.get(self, "account_ids") - - @property - @pulumi.getter(name="globalPermission") - def global_permission(self) -> Optional[bool]: - """ - If true, the resource is public. If false, the resource is private. - """ - return pulumi.get(self, "global_permission") - - -@pulumi.output_type -class SnapshotAttributesPermissionsToCreateVolumeRemoval(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "accountIds": - suggest = "account_ids" - elif key == "globalPermission": - suggest = "global_permission" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in SnapshotAttributesPermissionsToCreateVolumeRemoval. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - SnapshotAttributesPermissionsToCreateVolumeRemoval.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - SnapshotAttributesPermissionsToCreateVolumeRemoval.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - account_ids: Optional[Sequence[str]] = None, - global_permission: Optional[bool] = None): - """ - :param Sequence[str] account_ids: The account ID of one or more users from whom you want to remove permissions. - :param bool global_permission: If true, the resource is public. If false, the resource is private. - """ - if account_ids is not None: - pulumi.set(__self__, "account_ids", account_ids) - if global_permission is not None: - pulumi.set(__self__, "global_permission", global_permission) - - @property - @pulumi.getter(name="accountIds") - def account_ids(self) -> Optional[Sequence[str]]: - """ - The account ID of one or more users from whom you want to remove permissions. - """ - return pulumi.get(self, "account_ids") - - @property - @pulumi.getter(name="globalPermission") - def global_permission(self) -> Optional[bool]: - """ - If true, the resource is public. If false, the resource is private. - """ - return pulumi.get(self, "global_permission") - - -@pulumi.output_type -class SnapshotExportTaskOsuExport(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "diskImageFormat": - suggest = "disk_image_format" - elif key == "osuBucket": - suggest = "osu_bucket" - elif key == "osuApiKeys": - suggest = "osu_api_keys" - elif key == "osuPrefix": - suggest = "osu_prefix" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in SnapshotExportTaskOsuExport. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - SnapshotExportTaskOsuExport.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - SnapshotExportTaskOsuExport.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - disk_image_format: str, - osu_bucket: str, - osu_api_keys: Optional[Sequence['outputs.SnapshotExportTaskOsuExportOsuApiKey']] = None, - osu_prefix: Optional[str] = None): - """ - :param str disk_image_format: The format of the export disk (`qcow2` \\| `raw`). - :param str osu_bucket: The name of the OOS bucket where you want to export the object. - :param Sequence['SnapshotExportTaskOsuExportOsuApiKeyArgs'] osu_api_keys: Information about the OOS API key. - :param str osu_prefix: The prefix for the key of the OOS object. - """ - pulumi.set(__self__, "disk_image_format", disk_image_format) - pulumi.set(__self__, "osu_bucket", osu_bucket) - if osu_api_keys is not None: - pulumi.set(__self__, "osu_api_keys", osu_api_keys) - if osu_prefix is not None: - pulumi.set(__self__, "osu_prefix", osu_prefix) - - @property - @pulumi.getter(name="diskImageFormat") - def disk_image_format(self) -> str: - """ - The format of the export disk (`qcow2` \\| `raw`). - """ - return pulumi.get(self, "disk_image_format") - - @property - @pulumi.getter(name="osuBucket") - def osu_bucket(self) -> str: - """ - The name of the OOS bucket where you want to export the object. - """ - return pulumi.get(self, "osu_bucket") - - @property - @pulumi.getter(name="osuApiKeys") - def osu_api_keys(self) -> Optional[Sequence['outputs.SnapshotExportTaskOsuExportOsuApiKey']]: - """ - Information about the OOS API key. - """ - return pulumi.get(self, "osu_api_keys") - - @property - @pulumi.getter(name="osuPrefix") - def osu_prefix(self) -> Optional[str]: - """ - The prefix for the key of the OOS object. - """ - return pulumi.get(self, "osu_prefix") - - -@pulumi.output_type -class SnapshotExportTaskOsuExportOsuApiKey(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "apiKeyId": - suggest = "api_key_id" - elif key == "secretKey": - suggest = "secret_key" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in SnapshotExportTaskOsuExportOsuApiKey. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - SnapshotExportTaskOsuExportOsuApiKey.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - SnapshotExportTaskOsuExportOsuApiKey.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - api_key_id: str, - secret_key: str): - """ - :param str api_key_id: The API key of the OOS account that enables you to access the bucket. - :param str secret_key: The secret key of the OOS account that enables you to access the bucket. - """ - pulumi.set(__self__, "api_key_id", api_key_id) - pulumi.set(__self__, "secret_key", secret_key) - - @property - @pulumi.getter(name="apiKeyId") - def api_key_id(self) -> str: - """ - The API key of the OOS account that enables you to access the bucket. - """ - return pulumi.get(self, "api_key_id") - - @property - @pulumi.getter(name="secretKey") - def secret_key(self) -> str: - """ - The secret key of the OOS account that enables you to access the bucket. - """ - return pulumi.get(self, "secret_key") - - -@pulumi.output_type -class SnapshotExportTaskTag(dict): - def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[str]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> Optional[str]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class SnapshotPermissionsToCreateVolume(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "accountId": - suggest = "account_id" - elif key == "globalPermission": - suggest = "global_permission" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in SnapshotPermissionsToCreateVolume. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - SnapshotPermissionsToCreateVolume.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - SnapshotPermissionsToCreateVolume.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - account_id: Optional[str] = None, - global_permission: Optional[bool] = None): - """ - :param str account_id: The account ID of the owner of the snapshot. - :param bool global_permission: A global permission for all accounts.
- (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).
- (Response) If true, the resource is public. If false, the resource is private. - """ - if account_id is not None: - pulumi.set(__self__, "account_id", account_id) - if global_permission is not None: - pulumi.set(__self__, "global_permission", global_permission) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> Optional[str]: - """ - The account ID of the owner of the snapshot. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter(name="globalPermission") - def global_permission(self) -> Optional[bool]: - """ - A global permission for all accounts.
- (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).
- (Response) If true, the resource is public. If false, the resource is private. - """ - return pulumi.get(self, "global_permission") - - -@pulumi.output_type -class SnapshotTag(dict): - def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[str]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> Optional[str]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class SubnetTag(dict): - def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[str]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> Optional[str]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class TagTag(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "resourceId": - suggest = "resource_id" - elif key == "resourceType": - suggest = "resource_type" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in TagTag. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - TagTag.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - TagTag.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - key: Optional[str] = None, - resource_id: Optional[str] = None, - resource_type: Optional[str] = None, - value: Optional[str] = None): - if key is not None: - pulumi.set(__self__, "key", key) - if resource_id is not None: - pulumi.set(__self__, "resource_id", resource_id) - if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[str]: - return pulumi.get(self, "key") - - @property - @pulumi.getter(name="resourceId") - def resource_id(self) -> Optional[str]: - return pulumi.get(self, "resource_id") - - @property - @pulumi.getter(name="resourceType") - def resource_type(self) -> Optional[str]: - return pulumi.get(self, "resource_type") - - @property - @pulumi.getter - def value(self) -> Optional[str]: - return pulumi.get(self, "value") - - -@pulumi.output_type -class VirtualGatewayLinkNetToVirtualGatewayLink(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "netId": - suggest = "net_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in VirtualGatewayLinkNetToVirtualGatewayLink. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - VirtualGatewayLinkNetToVirtualGatewayLink.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - VirtualGatewayLinkNetToVirtualGatewayLink.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - net_id: Optional[str] = None, - state: Optional[str] = None): - """ - :param str net_id: The ID of the Net to which you want to attach the virtual gateway. - :param str state: The state of the attachment (`attaching` \\| `attached` \\| `detaching` \\| `detached`). - """ - if net_id is not None: - pulumi.set(__self__, "net_id", net_id) - if state is not None: - pulumi.set(__self__, "state", state) - - @property - @pulumi.getter(name="netId") - def net_id(self) -> Optional[str]: - """ - The ID of the Net to which you want to attach the virtual gateway. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter - def state(self) -> Optional[str]: - """ - The state of the attachment (`attaching` \\| `attached` \\| `detaching` \\| `detached`). - """ - return pulumi.get(self, "state") - - -@pulumi.output_type -class VirtualGatewayNetToVirtualGatewayLink(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "netId": - suggest = "net_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in VirtualGatewayNetToVirtualGatewayLink. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - VirtualGatewayNetToVirtualGatewayLink.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - VirtualGatewayNetToVirtualGatewayLink.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - net_id: Optional[str] = None, - state: Optional[str] = None): - """ - :param str net_id: The ID of the Net to which the virtual gateway is attached. - :param str state: The state of the virtual gateway (`pending` \\| `available` \\| `deleting` \\| `deleted`). - """ - if net_id is not None: - pulumi.set(__self__, "net_id", net_id) - if state is not None: - pulumi.set(__self__, "state", state) - - @property - @pulumi.getter(name="netId") - def net_id(self) -> Optional[str]: - """ - The ID of the Net to which the virtual gateway is attached. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter - def state(self) -> Optional[str]: - """ - The state of the virtual gateway (`pending` \\| `available` \\| `deleting` \\| `deleted`). - """ - return pulumi.get(self, "state") - - -@pulumi.output_type -class VirtualGatewayTag(dict): - def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[str]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> Optional[str]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class VmBlockDeviceMapping(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "deviceName": - suggest = "device_name" - elif key == "noDevice": - suggest = "no_device" - elif key == "virtualDeviceName": - suggest = "virtual_device_name" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in VmBlockDeviceMapping. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - VmBlockDeviceMapping.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - VmBlockDeviceMapping.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - bsu: Optional['outputs.VmBlockDeviceMappingBsu'] = None, - device_name: Optional[str] = None, - no_device: Optional[str] = None, - virtual_device_name: Optional[str] = None): - """ - :param 'VmBlockDeviceMappingBsuArgs' bsu: Information about the BSU volume to create. - :param str device_name: The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - :param str no_device: Removes the device which is included in the block device mapping of the OMI. - :param str virtual_device_name: The name of the virtual device (`ephemeralN`). - """ - if bsu is not None: - pulumi.set(__self__, "bsu", bsu) - if device_name is not None: - pulumi.set(__self__, "device_name", device_name) - if no_device is not None: - pulumi.set(__self__, "no_device", no_device) - if virtual_device_name is not None: - pulumi.set(__self__, "virtual_device_name", virtual_device_name) - - @property - @pulumi.getter - def bsu(self) -> Optional['outputs.VmBlockDeviceMappingBsu']: - """ - Information about the BSU volume to create. - """ - return pulumi.get(self, "bsu") - - @property - @pulumi.getter(name="deviceName") - def device_name(self) -> Optional[str]: - """ - The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - """ - return pulumi.get(self, "device_name") - - @property - @pulumi.getter(name="noDevice") - def no_device(self) -> Optional[str]: - """ - Removes the device which is included in the block device mapping of the OMI. - """ - return pulumi.get(self, "no_device") - - @property - @pulumi.getter(name="virtualDeviceName") - def virtual_device_name(self) -> Optional[str]: - """ - The name of the virtual device (`ephemeralN`). - """ - return pulumi.get(self, "virtual_device_name") - - -@pulumi.output_type -class VmBlockDeviceMappingBsu(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "deleteOnVmDeletion": - suggest = "delete_on_vm_deletion" - elif key == "snapshotId": - suggest = "snapshot_id" - elif key == "volumeSize": - suggest = "volume_size" - elif key == "volumeType": - suggest = "volume_type" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in VmBlockDeviceMappingBsu. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - VmBlockDeviceMappingBsu.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - VmBlockDeviceMappingBsu.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - delete_on_vm_deletion: Optional[bool] = None, - iops: Optional[int] = None, - snapshot_id: Optional[str] = None, - tags: Optional[Sequence['outputs.VmBlockDeviceMappingBsuTag']] = None, - volume_size: Optional[int] = None, - volume_type: Optional[str] = None): - """ - :param bool delete_on_vm_deletion: If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - :param int iops: The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - :param str snapshot_id: The ID of the snapshot used to create the volume. - :param Sequence['VmBlockDeviceMappingBsuTagArgs'] tags: A tag to add to this resource. You can specify this argument several times. - :param int volume_size: The size of the volume, in gibibytes (GiB).
- If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.
- If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. - :param str volume_type: The type of the volume (`standard` \\| `io1` \\| `gp2`). If not specified in the request, a `standard` volume is created.
- For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - """ - if delete_on_vm_deletion is not None: - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - if iops is not None: - pulumi.set(__self__, "iops", iops) - if snapshot_id is not None: - pulumi.set(__self__, "snapshot_id", snapshot_id) - if tags is not None: - pulumi.set(__self__, "tags", tags) - if volume_size is not None: - pulumi.set(__self__, "volume_size", volume_size) - if volume_type is not None: - pulumi.set(__self__, "volume_type", volume_type) - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> Optional[bool]: - """ - If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @property - @pulumi.getter - def iops(self) -> Optional[int]: - """ - The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - """ - return pulumi.get(self, "iops") - - @property - @pulumi.getter(name="snapshotId") - def snapshot_id(self) -> Optional[str]: - """ - The ID of the snapshot used to create the volume. - """ - return pulumi.get(self, "snapshot_id") - - @property - @pulumi.getter - def tags(self) -> Optional[Sequence['outputs.VmBlockDeviceMappingBsuTag']]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter(name="volumeSize") - def volume_size(self) -> Optional[int]: - """ - The size of the volume, in gibibytes (GiB).
- If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.
- If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. - """ - return pulumi.get(self, "volume_size") - - @property - @pulumi.getter(name="volumeType") - def volume_type(self) -> Optional[str]: - """ - The type of the volume (`standard` \\| `io1` \\| `gp2`). If not specified in the request, a `standard` volume is created.
- For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - """ - return pulumi.get(self, "volume_type") - - -@pulumi.output_type -class VmBlockDeviceMappingBsuTag(dict): - def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[str]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> Optional[str]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class VmBlockDeviceMappingsCreated(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "deviceName": - suggest = "device_name" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in VmBlockDeviceMappingsCreated. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - VmBlockDeviceMappingsCreated.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - VmBlockDeviceMappingsCreated.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - bsus: Optional[Sequence['outputs.VmBlockDeviceMappingsCreatedBsus']] = None, - device_name: Optional[str] = None): - """ - :param Sequence['VmBlockDeviceMappingsCreatedBsusArgs'] bsus: Information about the BSU volume to create. - :param str device_name: The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - """ - if bsus is not None: - pulumi.set(__self__, "bsus", bsus) - if device_name is not None: - pulumi.set(__self__, "device_name", device_name) - - @property - @pulumi.getter - def bsus(self) -> Optional[Sequence['outputs.VmBlockDeviceMappingsCreatedBsus']]: - """ - Information about the BSU volume to create. - """ - return pulumi.get(self, "bsus") - - @property - @pulumi.getter(name="deviceName") - def device_name(self) -> Optional[str]: - """ - The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - """ - return pulumi.get(self, "device_name") - - -@pulumi.output_type -class VmBlockDeviceMappingsCreatedBsus(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "deleteOnVmDeletion": - suggest = "delete_on_vm_deletion" - elif key == "linkDate": - suggest = "link_date" - elif key == "volumeId": - suggest = "volume_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in VmBlockDeviceMappingsCreatedBsus. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - VmBlockDeviceMappingsCreatedBsus.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - VmBlockDeviceMappingsCreatedBsus.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - delete_on_vm_deletion: Optional[bool] = None, - link_date: Optional[str] = None, - state: Optional[str] = None, - tags: Optional[Sequence['outputs.VmBlockDeviceMappingsCreatedBsusTag']] = None, - volume_id: Optional[str] = None): - """ - :param bool delete_on_vm_deletion: If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - :param str link_date: The date and time of attachment of the volume to the VM, in ISO 8601 date-time format. - :param str state: The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - :param Sequence['VmBlockDeviceMappingsCreatedBsusTagArgs'] tags: A tag to add to this resource. You can specify this argument several times. - :param str volume_id: The ID of the volume. - """ - if delete_on_vm_deletion is not None: - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - if link_date is not None: - pulumi.set(__self__, "link_date", link_date) - if state is not None: - pulumi.set(__self__, "state", state) - if tags is not None: - pulumi.set(__self__, "tags", tags) - if volume_id is not None: - pulumi.set(__self__, "volume_id", volume_id) - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> Optional[bool]: - """ - If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @property - @pulumi.getter(name="linkDate") - def link_date(self) -> Optional[str]: - """ - The date and time of attachment of the volume to the VM, in ISO 8601 date-time format. - """ - return pulumi.get(self, "link_date") - - @property - @pulumi.getter - def state(self) -> Optional[str]: - """ - The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter - def tags(self) -> Optional[Sequence['outputs.VmBlockDeviceMappingsCreatedBsusTag']]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter(name="volumeId") - def volume_id(self) -> Optional[str]: - """ - The ID of the volume. - """ - return pulumi.get(self, "volume_id") - - -@pulumi.output_type -class VmBlockDeviceMappingsCreatedBsusTag(dict): - def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[str]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> Optional[str]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class VmNic(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "deviceNumber": - suggest = "device_number" - elif key == "accountId": - suggest = "account_id" - elif key == "deleteOnVmDeletion": - suggest = "delete_on_vm_deletion" - elif key == "isSourceDestChecked": - suggest = "is_source_dest_checked" - elif key == "linkNics": - suggest = "link_nics" - elif key == "linkPublicIps": - suggest = "link_public_ips" - elif key == "macAddress": - suggest = "mac_address" - elif key == "netId": - suggest = "net_id" - elif key == "nicId": - suggest = "nic_id" - elif key == "privateDnsName": - suggest = "private_dns_name" - elif key == "privateIps": - suggest = "private_ips" - elif key == "secondaryPrivateIpCount": - suggest = "secondary_private_ip_count" - elif key == "securityGroupIds": - suggest = "security_group_ids" - elif key == "securityGroups": - suggest = "security_groups" - elif key == "subnetId": - suggest = "subnet_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in VmNic. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - VmNic.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - VmNic.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - device_number: int, - account_id: Optional[str] = None, - delete_on_vm_deletion: Optional[bool] = None, - description: Optional[str] = None, - is_source_dest_checked: Optional[bool] = None, - link_nics: Optional[Sequence['outputs.VmNicLinkNic']] = None, - link_public_ips: Optional[Sequence['outputs.VmNicLinkPublicIp']] = None, - mac_address: Optional[str] = None, - net_id: Optional[str] = None, - nic_id: Optional[str] = None, - private_dns_name: Optional[str] = None, - private_ips: Optional[Sequence['outputs.VmNicPrivateIp']] = None, - secondary_private_ip_count: Optional[int] = None, - security_group_ids: Optional[Sequence[str]] = None, - security_groups: Optional[Sequence['outputs.VmNicSecurityGroup']] = None, - state: Optional[str] = None, - subnet_id: Optional[str] = None): - """ - :param int device_number: The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. - :param str account_id: The account ID of the owner of the NIC. - :param bool delete_on_vm_deletion: If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - :param str description: The description of the NIC, if you are creating a NIC when creating the VM. - :param bool is_source_dest_checked: (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - :param Sequence['VmNicLinkNicArgs'] link_nics: Information about the network interface card (NIC). - :param Sequence['VmNicLinkPublicIpArgs'] link_public_ips: Information about the public IP associated with the NIC. - :param str mac_address: The Media Access Control (MAC) address of the NIC. - :param str net_id: The ID of the Net for the NIC. - :param str nic_id: The ID of the NIC, if you are attaching an existing NIC when creating a VM. - :param str private_dns_name: The name of the private DNS. - :param Sequence['VmNicPrivateIpArgs'] private_ips: One or more private IPs of the VM. - :param int secondary_private_ip_count: The number of secondary private IPs, if you create a NIC when creating a VM. This parameter cannot be specified if you specified more than one private IP in the `private_ips` parameter. - :param Sequence[str] security_group_ids: One or more IDs of security group for the VMs. - :param Sequence['VmNicSecurityGroupArgs'] security_groups: One or more security groups associated with the VM. - :param str state: The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - :param str subnet_id: The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `nics` parameter. - """ - pulumi.set(__self__, "device_number", device_number) - if account_id is not None: - pulumi.set(__self__, "account_id", account_id) - if delete_on_vm_deletion is not None: - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - if description is not None: - pulumi.set(__self__, "description", description) - if is_source_dest_checked is not None: - pulumi.set(__self__, "is_source_dest_checked", is_source_dest_checked) - if link_nics is not None: - pulumi.set(__self__, "link_nics", link_nics) - if link_public_ips is not None: - pulumi.set(__self__, "link_public_ips", link_public_ips) - if mac_address is not None: - pulumi.set(__self__, "mac_address", mac_address) - if net_id is not None: - pulumi.set(__self__, "net_id", net_id) - if nic_id is not None: - pulumi.set(__self__, "nic_id", nic_id) - if private_dns_name is not None: - pulumi.set(__self__, "private_dns_name", private_dns_name) - if private_ips is not None: - pulumi.set(__self__, "private_ips", private_ips) - if secondary_private_ip_count is not None: - pulumi.set(__self__, "secondary_private_ip_count", secondary_private_ip_count) - if security_group_ids is not None: - pulumi.set(__self__, "security_group_ids", security_group_ids) - if security_groups is not None: - pulumi.set(__self__, "security_groups", security_groups) - if state is not None: - pulumi.set(__self__, "state", state) - if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) - - @property - @pulumi.getter(name="deviceNumber") - def device_number(self) -> int: - """ - The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. - """ - return pulumi.get(self, "device_number") - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> Optional[str]: - """ - The account ID of the owner of the NIC. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> Optional[bool]: - """ - If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @property - @pulumi.getter - def description(self) -> Optional[str]: - """ - The description of the NIC, if you are creating a NIC when creating the VM. - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter(name="isSourceDestChecked") - def is_source_dest_checked(self) -> Optional[bool]: - """ - (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - """ - return pulumi.get(self, "is_source_dest_checked") - - @property - @pulumi.getter(name="linkNics") - def link_nics(self) -> Optional[Sequence['outputs.VmNicLinkNic']]: - """ - Information about the network interface card (NIC). - """ - return pulumi.get(self, "link_nics") - - @property - @pulumi.getter(name="linkPublicIps") - def link_public_ips(self) -> Optional[Sequence['outputs.VmNicLinkPublicIp']]: - """ - Information about the public IP associated with the NIC. - """ - return pulumi.get(self, "link_public_ips") - - @property - @pulumi.getter(name="macAddress") - def mac_address(self) -> Optional[str]: - """ - The Media Access Control (MAC) address of the NIC. - """ - return pulumi.get(self, "mac_address") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> Optional[str]: - """ - The ID of the Net for the NIC. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="nicId") - def nic_id(self) -> Optional[str]: - """ - The ID of the NIC, if you are attaching an existing NIC when creating a VM. - """ - return pulumi.get(self, "nic_id") - - @property - @pulumi.getter(name="privateDnsName") - def private_dns_name(self) -> Optional[str]: - """ - The name of the private DNS. - """ - return pulumi.get(self, "private_dns_name") - - @property - @pulumi.getter(name="privateIps") - def private_ips(self) -> Optional[Sequence['outputs.VmNicPrivateIp']]: - """ - One or more private IPs of the VM. - """ - return pulumi.get(self, "private_ips") - - @property - @pulumi.getter(name="secondaryPrivateIpCount") - def secondary_private_ip_count(self) -> Optional[int]: - """ - The number of secondary private IPs, if you create a NIC when creating a VM. This parameter cannot be specified if you specified more than one private IP in the `private_ips` parameter. - """ - return pulumi.get(self, "secondary_private_ip_count") - - @property - @pulumi.getter(name="securityGroupIds") - def security_group_ids(self) -> Optional[Sequence[str]]: - """ - One or more IDs of security group for the VMs. - """ - return pulumi.get(self, "security_group_ids") - - @property - @pulumi.getter(name="securityGroups") - def security_groups(self) -> Optional[Sequence['outputs.VmNicSecurityGroup']]: - """ - One or more security groups associated with the VM. - """ - return pulumi.get(self, "security_groups") - - @property - @pulumi.getter - def state(self) -> Optional[str]: - """ - The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> Optional[str]: - """ - The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `nics` parameter. - """ - return pulumi.get(self, "subnet_id") - - -@pulumi.output_type -class VmNicLinkNic(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "deleteOnVmDeletion": - suggest = "delete_on_vm_deletion" - elif key == "deviceNumber": - suggest = "device_number" - elif key == "linkNicId": - suggest = "link_nic_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in VmNicLinkNic. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - VmNicLinkNic.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - VmNicLinkNic.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - delete_on_vm_deletion: Optional[bool] = None, - device_number: Optional[str] = None, - link_nic_id: Optional[str] = None, - state: Optional[str] = None): - """ - :param bool delete_on_vm_deletion: If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - :param str device_number: The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. - :param str link_nic_id: The ID of the NIC to attach. - :param str state: The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - """ - if delete_on_vm_deletion is not None: - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - if device_number is not None: - pulumi.set(__self__, "device_number", device_number) - if link_nic_id is not None: - pulumi.set(__self__, "link_nic_id", link_nic_id) - if state is not None: - pulumi.set(__self__, "state", state) - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> Optional[bool]: - """ - If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @property - @pulumi.getter(name="deviceNumber") - def device_number(self) -> Optional[str]: - """ - The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. - """ - return pulumi.get(self, "device_number") - - @property - @pulumi.getter(name="linkNicId") - def link_nic_id(self) -> Optional[str]: - """ - The ID of the NIC to attach. - """ - return pulumi.get(self, "link_nic_id") - - @property - @pulumi.getter - def state(self) -> Optional[str]: - """ - The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - """ - return pulumi.get(self, "state") - - -@pulumi.output_type -class VmNicLinkPublicIp(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "publicDnsName": - suggest = "public_dns_name" - elif key == "publicIp": - suggest = "public_ip" - elif key == "publicIpAccountId": - suggest = "public_ip_account_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in VmNicLinkPublicIp. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - VmNicLinkPublicIp.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - VmNicLinkPublicIp.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - public_dns_name: Optional[str] = None, - public_ip: Optional[str] = None, - public_ip_account_id: Optional[str] = None): - """ - :param str public_dns_name: The name of the public DNS. - :param str public_ip: The public IP of the VM. - :param str public_ip_account_id: The account ID of the owner of the public IP. - """ - if public_dns_name is not None: - pulumi.set(__self__, "public_dns_name", public_dns_name) - if public_ip is not None: - pulumi.set(__self__, "public_ip", public_ip) - if public_ip_account_id is not None: - pulumi.set(__self__, "public_ip_account_id", public_ip_account_id) - - @property - @pulumi.getter(name="publicDnsName") - def public_dns_name(self) -> Optional[str]: - """ - The name of the public DNS. - """ - return pulumi.get(self, "public_dns_name") - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> Optional[str]: - """ - The public IP of the VM. - """ - return pulumi.get(self, "public_ip") - - @property - @pulumi.getter(name="publicIpAccountId") - def public_ip_account_id(self) -> Optional[str]: - """ - The account ID of the owner of the public IP. - """ - return pulumi.get(self, "public_ip_account_id") - - -@pulumi.output_type -class VmNicPrivateIp(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "isPrimary": - suggest = "is_primary" - elif key == "linkPublicIps": - suggest = "link_public_ips" - elif key == "privateDnsName": - suggest = "private_dns_name" - elif key == "privateIp": - suggest = "private_ip" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in VmNicPrivateIp. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - VmNicPrivateIp.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - VmNicPrivateIp.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - is_primary: Optional[bool] = None, - link_public_ips: Optional[Sequence['outputs.VmNicPrivateIpLinkPublicIp']] = None, - private_dns_name: Optional[str] = None, - private_ip: Optional[str] = None): - """ - :param bool is_primary: If true, the IP is the primary private IP of the NIC. - :param Sequence['VmNicPrivateIpLinkPublicIpArgs'] link_public_ips: Information about the public IP associated with the NIC. - :param str private_dns_name: The name of the private DNS. - :param str private_ip: The private IP of the NIC. - """ - if is_primary is not None: - pulumi.set(__self__, "is_primary", is_primary) - if link_public_ips is not None: - pulumi.set(__self__, "link_public_ips", link_public_ips) - if private_dns_name is not None: - pulumi.set(__self__, "private_dns_name", private_dns_name) - if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) - - @property - @pulumi.getter(name="isPrimary") - def is_primary(self) -> Optional[bool]: - """ - If true, the IP is the primary private IP of the NIC. - """ - return pulumi.get(self, "is_primary") - - @property - @pulumi.getter(name="linkPublicIps") - def link_public_ips(self) -> Optional[Sequence['outputs.VmNicPrivateIpLinkPublicIp']]: - """ - Information about the public IP associated with the NIC. - """ - return pulumi.get(self, "link_public_ips") - - @property - @pulumi.getter(name="privateDnsName") - def private_dns_name(self) -> Optional[str]: - """ - The name of the private DNS. - """ - return pulumi.get(self, "private_dns_name") - - @property - @pulumi.getter(name="privateIp") - def private_ip(self) -> Optional[str]: - """ - The private IP of the NIC. - """ - return pulumi.get(self, "private_ip") - - -@pulumi.output_type -class VmNicPrivateIpLinkPublicIp(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "publicDnsName": - suggest = "public_dns_name" - elif key == "publicIp": - suggest = "public_ip" - elif key == "publicIpAccountId": - suggest = "public_ip_account_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in VmNicPrivateIpLinkPublicIp. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - VmNicPrivateIpLinkPublicIp.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - VmNicPrivateIpLinkPublicIp.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - public_dns_name: Optional[str] = None, - public_ip: Optional[str] = None, - public_ip_account_id: Optional[str] = None): - """ - :param str public_dns_name: The name of the public DNS. - :param str public_ip: The public IP of the VM. - :param str public_ip_account_id: The account ID of the owner of the public IP. - """ - if public_dns_name is not None: - pulumi.set(__self__, "public_dns_name", public_dns_name) - if public_ip is not None: - pulumi.set(__self__, "public_ip", public_ip) - if public_ip_account_id is not None: - pulumi.set(__self__, "public_ip_account_id", public_ip_account_id) - - @property - @pulumi.getter(name="publicDnsName") - def public_dns_name(self) -> Optional[str]: - """ - The name of the public DNS. - """ - return pulumi.get(self, "public_dns_name") - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> Optional[str]: - """ - The public IP of the VM. - """ - return pulumi.get(self, "public_ip") - - @property - @pulumi.getter(name="publicIpAccountId") - def public_ip_account_id(self) -> Optional[str]: - """ - The account ID of the owner of the public IP. - """ - return pulumi.get(self, "public_ip_account_id") - - -@pulumi.output_type -class VmNicSecurityGroup(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "securityGroupId": - suggest = "security_group_id" - elif key == "securityGroupName": - suggest = "security_group_name" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in VmNicSecurityGroup. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - VmNicSecurityGroup.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - VmNicSecurityGroup.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - security_group_id: Optional[str] = None, - security_group_name: Optional[str] = None): - """ - :param str security_group_id: The ID of the security group. - :param str security_group_name: The name of the security group. - """ - if security_group_id is not None: - pulumi.set(__self__, "security_group_id", security_group_id) - if security_group_name is not None: - pulumi.set(__self__, "security_group_name", security_group_name) - - @property - @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> Optional[str]: - """ - The ID of the security group. - """ - return pulumi.get(self, "security_group_id") - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> Optional[str]: - """ - The name of the security group. - """ - return pulumi.get(self, "security_group_name") - - -@pulumi.output_type -class VmPrimaryNic(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "deviceNumber": - suggest = "device_number" - elif key == "accountId": - suggest = "account_id" - elif key == "deleteOnVmDeletion": - suggest = "delete_on_vm_deletion" - elif key == "isSourceDestChecked": - suggest = "is_source_dest_checked" - elif key == "linkNics": - suggest = "link_nics" - elif key == "linkPublicIps": - suggest = "link_public_ips" - elif key == "macAddress": - suggest = "mac_address" - elif key == "netId": - suggest = "net_id" - elif key == "nicId": - suggest = "nic_id" - elif key == "privateDnsName": - suggest = "private_dns_name" - elif key == "privateIps": - suggest = "private_ips" - elif key == "secondaryPrivateIpCount": - suggest = "secondary_private_ip_count" - elif key == "securityGroupIds": - suggest = "security_group_ids" - elif key == "securityGroups": - suggest = "security_groups" - elif key == "subnetId": - suggest = "subnet_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in VmPrimaryNic. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - VmPrimaryNic.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - VmPrimaryNic.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - device_number: int, - account_id: Optional[str] = None, - delete_on_vm_deletion: Optional[bool] = None, - description: Optional[str] = None, - is_source_dest_checked: Optional[bool] = None, - link_nics: Optional[Sequence['outputs.VmPrimaryNicLinkNic']] = None, - link_public_ips: Optional[Sequence['outputs.VmPrimaryNicLinkPublicIp']] = None, - mac_address: Optional[str] = None, - net_id: Optional[str] = None, - nic_id: Optional[str] = None, - private_dns_name: Optional[str] = None, - private_ips: Optional[Sequence['outputs.VmPrimaryNicPrivateIp']] = None, - secondary_private_ip_count: Optional[int] = None, - security_group_ids: Optional[Sequence[str]] = None, - security_groups: Optional[Sequence['outputs.VmPrimaryNicSecurityGroup']] = None, - state: Optional[str] = None, - subnet_id: Optional[str] = None): - """ - :param int device_number: The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. - :param str account_id: The account ID of the owner of the NIC. - :param bool delete_on_vm_deletion: If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - :param str description: The description of the NIC, if you are creating a NIC when creating the VM. - :param bool is_source_dest_checked: (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - :param Sequence['VmPrimaryNicLinkNicArgs'] link_nics: Information about the network interface card (NIC). - :param Sequence['VmPrimaryNicLinkPublicIpArgs'] link_public_ips: Information about the public IP associated with the NIC. - :param str mac_address: The Media Access Control (MAC) address of the NIC. - :param str net_id: The ID of the Net for the NIC. - :param str nic_id: The ID of the NIC, if you are attaching an existing NIC when creating a VM. - :param str private_dns_name: The name of the private DNS. - :param Sequence['VmPrimaryNicPrivateIpArgs'] private_ips: One or more private IPs of the VM. - :param int secondary_private_ip_count: The number of secondary private IPs, if you create a NIC when creating a VM. This parameter cannot be specified if you specified more than one private IP in the `private_ips` parameter. - :param Sequence[str] security_group_ids: One or more IDs of security group for the VMs. - :param Sequence['VmPrimaryNicSecurityGroupArgs'] security_groups: One or more security groups associated with the VM. - :param str state: The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - :param str subnet_id: The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `nics` parameter. - """ - pulumi.set(__self__, "device_number", device_number) - if account_id is not None: - pulumi.set(__self__, "account_id", account_id) - if delete_on_vm_deletion is not None: - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - if description is not None: - pulumi.set(__self__, "description", description) - if is_source_dest_checked is not None: - pulumi.set(__self__, "is_source_dest_checked", is_source_dest_checked) - if link_nics is not None: - pulumi.set(__self__, "link_nics", link_nics) - if link_public_ips is not None: - pulumi.set(__self__, "link_public_ips", link_public_ips) - if mac_address is not None: - pulumi.set(__self__, "mac_address", mac_address) - if net_id is not None: - pulumi.set(__self__, "net_id", net_id) - if nic_id is not None: - pulumi.set(__self__, "nic_id", nic_id) - if private_dns_name is not None: - pulumi.set(__self__, "private_dns_name", private_dns_name) - if private_ips is not None: - pulumi.set(__self__, "private_ips", private_ips) - if secondary_private_ip_count is not None: - pulumi.set(__self__, "secondary_private_ip_count", secondary_private_ip_count) - if security_group_ids is not None: - pulumi.set(__self__, "security_group_ids", security_group_ids) - if security_groups is not None: - pulumi.set(__self__, "security_groups", security_groups) - if state is not None: - pulumi.set(__self__, "state", state) - if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) - - @property - @pulumi.getter(name="deviceNumber") - def device_number(self) -> int: - """ - The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. - """ - return pulumi.get(self, "device_number") - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> Optional[str]: - """ - The account ID of the owner of the NIC. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> Optional[bool]: - """ - If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @property - @pulumi.getter - def description(self) -> Optional[str]: - """ - The description of the NIC, if you are creating a NIC when creating the VM. - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter(name="isSourceDestChecked") - def is_source_dest_checked(self) -> Optional[bool]: - """ - (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - """ - return pulumi.get(self, "is_source_dest_checked") - - @property - @pulumi.getter(name="linkNics") - def link_nics(self) -> Optional[Sequence['outputs.VmPrimaryNicLinkNic']]: - """ - Information about the network interface card (NIC). - """ - return pulumi.get(self, "link_nics") - - @property - @pulumi.getter(name="linkPublicIps") - def link_public_ips(self) -> Optional[Sequence['outputs.VmPrimaryNicLinkPublicIp']]: - """ - Information about the public IP associated with the NIC. - """ - return pulumi.get(self, "link_public_ips") - - @property - @pulumi.getter(name="macAddress") - def mac_address(self) -> Optional[str]: - """ - The Media Access Control (MAC) address of the NIC. - """ - return pulumi.get(self, "mac_address") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> Optional[str]: - """ - The ID of the Net for the NIC. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="nicId") - def nic_id(self) -> Optional[str]: - """ - The ID of the NIC, if you are attaching an existing NIC when creating a VM. - """ - return pulumi.get(self, "nic_id") - - @property - @pulumi.getter(name="privateDnsName") - def private_dns_name(self) -> Optional[str]: - """ - The name of the private DNS. - """ - return pulumi.get(self, "private_dns_name") - - @property - @pulumi.getter(name="privateIps") - def private_ips(self) -> Optional[Sequence['outputs.VmPrimaryNicPrivateIp']]: - """ - One or more private IPs of the VM. - """ - return pulumi.get(self, "private_ips") - - @property - @pulumi.getter(name="secondaryPrivateIpCount") - def secondary_private_ip_count(self) -> Optional[int]: - """ - The number of secondary private IPs, if you create a NIC when creating a VM. This parameter cannot be specified if you specified more than one private IP in the `private_ips` parameter. - """ - return pulumi.get(self, "secondary_private_ip_count") - - @property - @pulumi.getter(name="securityGroupIds") - def security_group_ids(self) -> Optional[Sequence[str]]: - """ - One or more IDs of security group for the VMs. - """ - return pulumi.get(self, "security_group_ids") - - @property - @pulumi.getter(name="securityGroups") - def security_groups(self) -> Optional[Sequence['outputs.VmPrimaryNicSecurityGroup']]: - """ - One or more security groups associated with the VM. - """ - return pulumi.get(self, "security_groups") - - @property - @pulumi.getter - def state(self) -> Optional[str]: - """ - The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> Optional[str]: - """ - The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `nics` parameter. - """ - return pulumi.get(self, "subnet_id") - - -@pulumi.output_type -class VmPrimaryNicLinkNic(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "deleteOnVmDeletion": - suggest = "delete_on_vm_deletion" - elif key == "deviceNumber": - suggest = "device_number" - elif key == "linkNicId": - suggest = "link_nic_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in VmPrimaryNicLinkNic. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - VmPrimaryNicLinkNic.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - VmPrimaryNicLinkNic.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - delete_on_vm_deletion: Optional[bool] = None, - device_number: Optional[str] = None, - link_nic_id: Optional[str] = None, - state: Optional[str] = None): - """ - :param bool delete_on_vm_deletion: If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - :param str device_number: The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. - :param str link_nic_id: The ID of the NIC to attach. - :param str state: The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - """ - if delete_on_vm_deletion is not None: - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - if device_number is not None: - pulumi.set(__self__, "device_number", device_number) - if link_nic_id is not None: - pulumi.set(__self__, "link_nic_id", link_nic_id) - if state is not None: - pulumi.set(__self__, "state", state) - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> Optional[bool]: - """ - If true, the NIC is deleted when the VM is terminated. You can specify this parameter only for a new NIC. To modify this value for an existing NIC, see [UpdateNic](https://docs.outscale.com/api#updatenic). - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @property - @pulumi.getter(name="deviceNumber") - def device_number(self) -> Optional[str]: - """ - The index of the VM device for the NIC attachment (must be `0`). This parameter is required if you create a NIC when creating the VM. - """ - return pulumi.get(self, "device_number") - - @property - @pulumi.getter(name="linkNicId") - def link_nic_id(self) -> Optional[str]: - """ - The ID of the NIC to attach. - """ - return pulumi.get(self, "link_nic_id") - - @property - @pulumi.getter - def state(self) -> Optional[str]: - """ - The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - """ - return pulumi.get(self, "state") - - -@pulumi.output_type -class VmPrimaryNicLinkPublicIp(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "publicDnsName": - suggest = "public_dns_name" - elif key == "publicIp": - suggest = "public_ip" - elif key == "publicIpAccountId": - suggest = "public_ip_account_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in VmPrimaryNicLinkPublicIp. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - VmPrimaryNicLinkPublicIp.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - VmPrimaryNicLinkPublicIp.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - public_dns_name: Optional[str] = None, - public_ip: Optional[str] = None, - public_ip_account_id: Optional[str] = None): - """ - :param str public_dns_name: The name of the public DNS. - :param str public_ip: The public IP of the VM. - :param str public_ip_account_id: The account ID of the owner of the public IP. - """ - if public_dns_name is not None: - pulumi.set(__self__, "public_dns_name", public_dns_name) - if public_ip is not None: - pulumi.set(__self__, "public_ip", public_ip) - if public_ip_account_id is not None: - pulumi.set(__self__, "public_ip_account_id", public_ip_account_id) - - @property - @pulumi.getter(name="publicDnsName") - def public_dns_name(self) -> Optional[str]: - """ - The name of the public DNS. - """ - return pulumi.get(self, "public_dns_name") - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> Optional[str]: - """ - The public IP of the VM. - """ - return pulumi.get(self, "public_ip") - - @property - @pulumi.getter(name="publicIpAccountId") - def public_ip_account_id(self) -> Optional[str]: - """ - The account ID of the owner of the public IP. - """ - return pulumi.get(self, "public_ip_account_id") - - -@pulumi.output_type -class VmPrimaryNicPrivateIp(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "isPrimary": - suggest = "is_primary" - elif key == "linkPublicIps": - suggest = "link_public_ips" - elif key == "privateDnsName": - suggest = "private_dns_name" - elif key == "privateIp": - suggest = "private_ip" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in VmPrimaryNicPrivateIp. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - VmPrimaryNicPrivateIp.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - VmPrimaryNicPrivateIp.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - is_primary: Optional[bool] = None, - link_public_ips: Optional[Sequence['outputs.VmPrimaryNicPrivateIpLinkPublicIp']] = None, - private_dns_name: Optional[str] = None, - private_ip: Optional[str] = None): - """ - :param bool is_primary: If true, the IP is the primary private IP of the NIC. - :param Sequence['VmPrimaryNicPrivateIpLinkPublicIpArgs'] link_public_ips: Information about the public IP associated with the NIC. - :param str private_dns_name: The name of the private DNS. - :param str private_ip: The private IP of the NIC. - """ - if is_primary is not None: - pulumi.set(__self__, "is_primary", is_primary) - if link_public_ips is not None: - pulumi.set(__self__, "link_public_ips", link_public_ips) - if private_dns_name is not None: - pulumi.set(__self__, "private_dns_name", private_dns_name) - if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) - - @property - @pulumi.getter(name="isPrimary") - def is_primary(self) -> Optional[bool]: - """ - If true, the IP is the primary private IP of the NIC. - """ - return pulumi.get(self, "is_primary") - - @property - @pulumi.getter(name="linkPublicIps") - def link_public_ips(self) -> Optional[Sequence['outputs.VmPrimaryNicPrivateIpLinkPublicIp']]: - """ - Information about the public IP associated with the NIC. - """ - return pulumi.get(self, "link_public_ips") - - @property - @pulumi.getter(name="privateDnsName") - def private_dns_name(self) -> Optional[str]: - """ - The name of the private DNS. - """ - return pulumi.get(self, "private_dns_name") - - @property - @pulumi.getter(name="privateIp") - def private_ip(self) -> Optional[str]: - """ - The private IP of the NIC. - """ - return pulumi.get(self, "private_ip") - - -@pulumi.output_type -class VmPrimaryNicPrivateIpLinkPublicIp(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "publicDnsName": - suggest = "public_dns_name" - elif key == "publicIp": - suggest = "public_ip" - elif key == "publicIpAccountId": - suggest = "public_ip_account_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in VmPrimaryNicPrivateIpLinkPublicIp. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - VmPrimaryNicPrivateIpLinkPublicIp.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - VmPrimaryNicPrivateIpLinkPublicIp.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - public_dns_name: Optional[str] = None, - public_ip: Optional[str] = None, - public_ip_account_id: Optional[str] = None): - """ - :param str public_dns_name: The name of the public DNS. - :param str public_ip: The public IP of the VM. - :param str public_ip_account_id: The account ID of the owner of the public IP. - """ - if public_dns_name is not None: - pulumi.set(__self__, "public_dns_name", public_dns_name) - if public_ip is not None: - pulumi.set(__self__, "public_ip", public_ip) - if public_ip_account_id is not None: - pulumi.set(__self__, "public_ip_account_id", public_ip_account_id) - - @property - @pulumi.getter(name="publicDnsName") - def public_dns_name(self) -> Optional[str]: - """ - The name of the public DNS. - """ - return pulumi.get(self, "public_dns_name") - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> Optional[str]: - """ - The public IP of the VM. - """ - return pulumi.get(self, "public_ip") - - @property - @pulumi.getter(name="publicIpAccountId") - def public_ip_account_id(self) -> Optional[str]: - """ - The account ID of the owner of the public IP. - """ - return pulumi.get(self, "public_ip_account_id") - - -@pulumi.output_type -class VmPrimaryNicSecurityGroup(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "securityGroupId": - suggest = "security_group_id" - elif key == "securityGroupName": - suggest = "security_group_name" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in VmPrimaryNicSecurityGroup. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - VmPrimaryNicSecurityGroup.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - VmPrimaryNicSecurityGroup.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - security_group_id: Optional[str] = None, - security_group_name: Optional[str] = None): - """ - :param str security_group_id: The ID of the security group. - :param str security_group_name: The name of the security group. - """ - if security_group_id is not None: - pulumi.set(__self__, "security_group_id", security_group_id) - if security_group_name is not None: - pulumi.set(__self__, "security_group_name", security_group_name) - - @property - @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> Optional[str]: - """ - The ID of the security group. - """ - return pulumi.get(self, "security_group_id") - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> Optional[str]: - """ - The name of the security group. - """ - return pulumi.get(self, "security_group_name") - - -@pulumi.output_type -class VmSecurityGroup(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "securityGroupId": - suggest = "security_group_id" - elif key == "securityGroupName": - suggest = "security_group_name" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in VmSecurityGroup. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - VmSecurityGroup.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - VmSecurityGroup.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - security_group_id: Optional[str] = None, - security_group_name: Optional[str] = None): - """ - :param str security_group_id: The ID of the security group. - :param str security_group_name: The name of the security group. - """ - if security_group_id is not None: - pulumi.set(__self__, "security_group_id", security_group_id) - if security_group_name is not None: - pulumi.set(__self__, "security_group_name", security_group_name) - - @property - @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> Optional[str]: - """ - The ID of the security group. - """ - return pulumi.get(self, "security_group_id") - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> Optional[str]: - """ - The name of the security group. - """ - return pulumi.get(self, "security_group_name") - - -@pulumi.output_type -class VmTag(dict): - def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[str]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> Optional[str]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class VolumeLinkedVolume(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "deleteOnVmDeletion": - suggest = "delete_on_vm_deletion" - elif key == "deviceName": - suggest = "device_name" - elif key == "vmId": - suggest = "vm_id" - elif key == "volumeId": - suggest = "volume_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in VolumeLinkedVolume. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - VolumeLinkedVolume.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - VolumeLinkedVolume.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - delete_on_vm_deletion: Optional[bool] = None, - device_name: Optional[str] = None, - state: Optional[str] = None, - vm_id: Optional[str] = None, - volume_id: Optional[str] = None): - """ - :param bool delete_on_vm_deletion: If true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - :param str device_name: The name of the device. - :param str state: The state of the volume (`creating` \\| `available` \\| `in-use` \\| `updating` \\| `deleting` \\| `error`). - :param str vm_id: The ID of the VM. - :param str volume_id: The ID of the volume. - """ - if delete_on_vm_deletion is not None: - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - if device_name is not None: - pulumi.set(__self__, "device_name", device_name) - if state is not None: - pulumi.set(__self__, "state", state) - if vm_id is not None: - pulumi.set(__self__, "vm_id", vm_id) - if volume_id is not None: - pulumi.set(__self__, "volume_id", volume_id) - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> Optional[bool]: - """ - If true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @property - @pulumi.getter(name="deviceName") - def device_name(self) -> Optional[str]: - """ - The name of the device. - """ - return pulumi.get(self, "device_name") - - @property - @pulumi.getter - def state(self) -> Optional[str]: - """ - The state of the volume (`creating` \\| `available` \\| `in-use` \\| `updating` \\| `deleting` \\| `error`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> Optional[str]: - """ - The ID of the VM. - """ - return pulumi.get(self, "vm_id") - - @property - @pulumi.getter(name="volumeId") - def volume_id(self) -> Optional[str]: - """ - The ID of the volume. - """ - return pulumi.get(self, "volume_id") - - -@pulumi.output_type -class VolumeTag(dict): - def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[str]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> Optional[str]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class VpnConnectionRoute(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "destinationIpRange": - suggest = "destination_ip_range" - elif key == "routeType": - suggest = "route_type" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in VpnConnectionRoute. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - VpnConnectionRoute.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - VpnConnectionRoute.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - destination_ip_range: Optional[str] = None, - route_type: Optional[str] = None, - state: Optional[str] = None): - """ - :param str destination_ip_range: The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - :param str route_type: The type of route (always `static`). - :param str state: The state of the IPSEC tunnel (`UP` \\| `DOWN`). - """ - if destination_ip_range is not None: - pulumi.set(__self__, "destination_ip_range", destination_ip_range) - if route_type is not None: - pulumi.set(__self__, "route_type", route_type) - if state is not None: - pulumi.set(__self__, "state", state) - - @property - @pulumi.getter(name="destinationIpRange") - def destination_ip_range(self) -> Optional[str]: - """ - The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - """ - return pulumi.get(self, "destination_ip_range") - - @property - @pulumi.getter(name="routeType") - def route_type(self) -> Optional[str]: - """ - The type of route (always `static`). - """ - return pulumi.get(self, "route_type") - - @property - @pulumi.getter - def state(self) -> Optional[str]: - """ - The state of the IPSEC tunnel (`UP` \\| `DOWN`). - """ - return pulumi.get(self, "state") - - -@pulumi.output_type -class VpnConnectionTag(dict): - def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[str]: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> Optional[str]: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class VpnConnectionVgwTelemetry(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "acceptedRouteCount": - suggest = "accepted_route_count" - elif key == "lastStateChangeDate": - suggest = "last_state_change_date" - elif key == "outsideIpAddress": - suggest = "outside_ip_address" - elif key == "stateDescription": - suggest = "state_description" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in VpnConnectionVgwTelemetry. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - VpnConnectionVgwTelemetry.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - VpnConnectionVgwTelemetry.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - accepted_route_count: Optional[int] = None, - last_state_change_date: Optional[str] = None, - outside_ip_address: Optional[str] = None, - state: Optional[str] = None, - state_description: Optional[str] = None): - """ - :param int accepted_route_count: The number of routes accepted through BGP (Border Gateway Protocol) route exchanges. - :param str last_state_change_date: The date and time (UTC) of the latest state update. - :param str outside_ip_address: The IP on the OUTSCALE side of the tunnel. - :param str state: The state of the IPSEC tunnel (`UP` \\| `DOWN`). - :param str state_description: A description of the current state of the tunnel. - """ - if accepted_route_count is not None: - pulumi.set(__self__, "accepted_route_count", accepted_route_count) - if last_state_change_date is not None: - pulumi.set(__self__, "last_state_change_date", last_state_change_date) - if outside_ip_address is not None: - pulumi.set(__self__, "outside_ip_address", outside_ip_address) - if state is not None: - pulumi.set(__self__, "state", state) - if state_description is not None: - pulumi.set(__self__, "state_description", state_description) - - @property - @pulumi.getter(name="acceptedRouteCount") - def accepted_route_count(self) -> Optional[int]: - """ - The number of routes accepted through BGP (Border Gateway Protocol) route exchanges. - """ - return pulumi.get(self, "accepted_route_count") - - @property - @pulumi.getter(name="lastStateChangeDate") - def last_state_change_date(self) -> Optional[str]: - """ - The date and time (UTC) of the latest state update. - """ - return pulumi.get(self, "last_state_change_date") - - @property - @pulumi.getter(name="outsideIpAddress") - def outside_ip_address(self) -> Optional[str]: - """ - The IP on the OUTSCALE side of the tunnel. - """ - return pulumi.get(self, "outside_ip_address") - - @property - @pulumi.getter - def state(self) -> Optional[str]: - """ - The state of the IPSEC tunnel (`UP` \\| `DOWN`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="stateDescription") - def state_description(self) -> Optional[str]: - """ - A description of the current state of the tunnel. - """ - return pulumi.get(self, "state_description") - - -@pulumi.output_type -class GetAccessKeyFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetAccessKeysAccessKeyResult(dict): - def __init__(__self__, *, - access_key_id: str, - creation_date: str, - expiration_date: str, - last_modification_date: str, - state: str): - """ - :param str access_key_id: The ID of the access key. - :param str creation_date: The date and time (UTC) of creation of the access key. - :param str expiration_date: The date (UTC) at which the access key expires. - :param str last_modification_date: The date and time (UTC) of the last modification of the access key. - :param str state: The state of the access key (`ACTIVE` if the key is valid for API calls, or `INACTIVE` if not). - """ - pulumi.set(__self__, "access_key_id", access_key_id) - pulumi.set(__self__, "creation_date", creation_date) - pulumi.set(__self__, "expiration_date", expiration_date) - pulumi.set(__self__, "last_modification_date", last_modification_date) - pulumi.set(__self__, "state", state) - - @property - @pulumi.getter(name="accessKeyId") - def access_key_id(self) -> str: - """ - The ID of the access key. - """ - return pulumi.get(self, "access_key_id") - - @property - @pulumi.getter(name="creationDate") - def creation_date(self) -> str: - """ - The date and time (UTC) of creation of the access key. - """ - return pulumi.get(self, "creation_date") - - @property - @pulumi.getter(name="expirationDate") - def expiration_date(self) -> str: - """ - The date (UTC) at which the access key expires. - """ - return pulumi.get(self, "expiration_date") - - @property - @pulumi.getter(name="lastModificationDate") - def last_modification_date(self) -> str: - """ - The date and time (UTC) of the last modification of the access key. - """ - return pulumi.get(self, "last_modification_date") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the access key (`ACTIVE` if the key is valid for API calls, or `INACTIVE` if not). - """ - return pulumi.get(self, "state") - - -@pulumi.output_type -class GetAccessKeysFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetAccountsAccountResult(dict): - def __init__(__self__, *, - account_id: str, - additional_emails: Sequence[str], - city: str, - company_name: str, - country: str, - customer_id: str, - email: str, - first_name: str, - job_title: str, - last_name: str, - mobile_number: str, - phone_number: str, - state_province: str, - vat_number: str, - zip_code: str): - """ - :param str account_id: The ID of the account. - :param Sequence[str] additional_emails: One or more additional email addresses for the account. These addresses are used for notifications only. - :param str city: The city of the account owner. - :param str company_name: The name of the company for the account. - :param str country: The country of the account owner. - :param str customer_id: The ID of the customer. - :param str email: The main email address for the account. This address is used for your credentials and for notifications. - :param str first_name: The first name of the account owner. - :param str job_title: The job title of the account owner. - :param str last_name: The last name of the account owner. - :param str mobile_number: The mobile phone number of the account owner. - :param str phone_number: The landline phone number of the account owner. - :param str state_province: The state/province of the account. - :param str vat_number: The value added tax (VAT) number for the account. - :param str zip_code: The ZIP code of the city. - """ - pulumi.set(__self__, "account_id", account_id) - pulumi.set(__self__, "additional_emails", additional_emails) - pulumi.set(__self__, "city", city) - pulumi.set(__self__, "company_name", company_name) - pulumi.set(__self__, "country", country) - pulumi.set(__self__, "customer_id", customer_id) - pulumi.set(__self__, "email", email) - pulumi.set(__self__, "first_name", first_name) - pulumi.set(__self__, "job_title", job_title) - pulumi.set(__self__, "last_name", last_name) - pulumi.set(__self__, "mobile_number", mobile_number) - pulumi.set(__self__, "phone_number", phone_number) - pulumi.set(__self__, "state_province", state_province) - pulumi.set(__self__, "vat_number", vat_number) - pulumi.set(__self__, "zip_code", zip_code) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> str: - """ - The ID of the account. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter(name="additionalEmails") - def additional_emails(self) -> Sequence[str]: - """ - One or more additional email addresses for the account. These addresses are used for notifications only. - """ - return pulumi.get(self, "additional_emails") - - @property - @pulumi.getter - def city(self) -> str: - """ - The city of the account owner. - """ - return pulumi.get(self, "city") - - @property - @pulumi.getter(name="companyName") - def company_name(self) -> str: - """ - The name of the company for the account. - """ - return pulumi.get(self, "company_name") - - @property - @pulumi.getter - def country(self) -> str: - """ - The country of the account owner. - """ - return pulumi.get(self, "country") - - @property - @pulumi.getter(name="customerId") - def customer_id(self) -> str: - """ - The ID of the customer. - """ - return pulumi.get(self, "customer_id") - - @property - @pulumi.getter - def email(self) -> str: - """ - The main email address for the account. This address is used for your credentials and for notifications. - """ - return pulumi.get(self, "email") - - @property - @pulumi.getter(name="firstName") - def first_name(self) -> str: - """ - The first name of the account owner. - """ - return pulumi.get(self, "first_name") - - @property - @pulumi.getter(name="jobTitle") - def job_title(self) -> str: - """ - The job title of the account owner. - """ - return pulumi.get(self, "job_title") - - @property - @pulumi.getter(name="lastName") - def last_name(self) -> str: - """ - The last name of the account owner. - """ - return pulumi.get(self, "last_name") - - @property - @pulumi.getter(name="mobileNumber") - def mobile_number(self) -> str: - """ - The mobile phone number of the account owner. - """ - return pulumi.get(self, "mobile_number") - - @property - @pulumi.getter(name="phoneNumber") - def phone_number(self) -> str: - """ - The landline phone number of the account owner. - """ - return pulumi.get(self, "phone_number") - - @property - @pulumi.getter(name="stateProvince") - def state_province(self) -> str: - """ - The state/province of the account. - """ - return pulumi.get(self, "state_province") - - @property - @pulumi.getter(name="vatNumber") - def vat_number(self) -> str: - """ - The value added tax (VAT) number for the account. - """ - return pulumi.get(self, "vat_number") - - @property - @pulumi.getter(name="zipCode") - def zip_code(self) -> str: - """ - The ZIP code of the city. - """ - return pulumi.get(self, "zip_code") - - -@pulumi.output_type -class GetApiAccessRuleFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetApiAccessRulesApiAccessRuleResult(dict): - def __init__(__self__, *, - api_access_rule_id: str, - ca_ids: Sequence[str], - cns: Sequence[str], - description: str, - ip_ranges: Sequence[str]): - """ - :param str api_access_rule_id: The ID of the API access rule. - :param Sequence[str] ca_ids: One or more IDs of Client Certificate Authorities (CAs). - :param Sequence[str] cns: One or more Client Certificate Common Names (CNs). - :param str description: The description of the API access rule. - :param Sequence[str] ip_ranges: One or more IP addresses or CIDR blocks (for example, `192.0.2.0/16`). - """ - pulumi.set(__self__, "api_access_rule_id", api_access_rule_id) - pulumi.set(__self__, "ca_ids", ca_ids) - pulumi.set(__self__, "cns", cns) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "ip_ranges", ip_ranges) - - @property - @pulumi.getter(name="apiAccessRuleId") - def api_access_rule_id(self) -> str: - """ - The ID of the API access rule. - """ - return pulumi.get(self, "api_access_rule_id") - - @property - @pulumi.getter(name="caIds") - def ca_ids(self) -> Sequence[str]: - """ - One or more IDs of Client Certificate Authorities (CAs). - """ - return pulumi.get(self, "ca_ids") - - @property - @pulumi.getter - def cns(self) -> Sequence[str]: - """ - One or more Client Certificate Common Names (CNs). - """ - return pulumi.get(self, "cns") - - @property - @pulumi.getter - def description(self) -> str: - """ - The description of the API access rule. - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter(name="ipRanges") - def ip_ranges(self) -> Sequence[str]: - """ - One or more IP addresses or CIDR blocks (for example, `192.0.2.0/16`). - """ - return pulumi.get(self, "ip_ranges") - - -@pulumi.output_type -class GetApiAccessRulesFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetCaFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetCasCaResult(dict): - def __init__(__self__, *, - ca_fingerprint: str, - ca_id: str, - description: str): - """ - :param str ca_fingerprint: The fingerprint of the CA. - :param str ca_id: The ID of the CA. - :param str description: The description of the CA. - """ - pulumi.set(__self__, "ca_fingerprint", ca_fingerprint) - pulumi.set(__self__, "ca_id", ca_id) - pulumi.set(__self__, "description", description) - - @property - @pulumi.getter(name="caFingerprint") - def ca_fingerprint(self) -> str: - """ - The fingerprint of the CA. - """ - return pulumi.get(self, "ca_fingerprint") - - @property - @pulumi.getter(name="caId") - def ca_id(self) -> str: - """ - The ID of the CA. - """ - return pulumi.get(self, "ca_id") - - @property - @pulumi.getter - def description(self) -> str: - """ - The description of the CA. - """ - return pulumi.get(self, "description") - - -@pulumi.output_type -class GetCasFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetClientGatewayFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetClientGatewayTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetClientGatewaysClientGatewayResult(dict): - def __init__(__self__, *, - bgp_asn: int, - connection_type: str, - public_ip: str, - state: str, - tags: Sequence['outputs.GetClientGatewaysClientGatewayTagResult'], - client_gateway_id: Optional[str] = None): - """ - :param int bgp_asn: The Autonomous System Number (ASN) used by the Border Gateway Protocol (BGP) to find the path to your client gateway through the Internet. - :param str connection_type: The type of communication tunnel used by the client gateway (only `ipsec.1` is supported). - :param str public_ip: The public IPv4 address of the client gateway (must be a fixed address into a NATed network). - :param str state: The state of the client gateway (`pending` \\| `available` \\| `deleting` \\| `deleted`). - :param Sequence['GetClientGatewaysClientGatewayTagArgs'] tags: The key/value combinations of the tags associated with the client gateways, in the following format: `TAGKEY=TAGVALUE`. - :param str client_gateway_id: The ID of the client gateway. - """ - pulumi.set(__self__, "bgp_asn", bgp_asn) - pulumi.set(__self__, "connection_type", connection_type) - pulumi.set(__self__, "public_ip", public_ip) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "tags", tags) - if client_gateway_id is not None: - pulumi.set(__self__, "client_gateway_id", client_gateway_id) - - @property - @pulumi.getter(name="bgpAsn") - def bgp_asn(self) -> int: - """ - The Autonomous System Number (ASN) used by the Border Gateway Protocol (BGP) to find the path to your client gateway through the Internet. - """ - return pulumi.get(self, "bgp_asn") - - @property - @pulumi.getter(name="connectionType") - def connection_type(self) -> str: - """ - The type of communication tunnel used by the client gateway (only `ipsec.1` is supported). - """ - return pulumi.get(self, "connection_type") - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> str: - """ - The public IPv4 address of the client gateway (must be a fixed address into a NATed network). - """ - return pulumi.get(self, "public_ip") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the client gateway (`pending` \\| `available` \\| `deleting` \\| `deleted`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetClientGatewaysClientGatewayTagResult']: - """ - The key/value combinations of the tags associated with the client gateways, in the following format: `TAGKEY=TAGVALUE`. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter(name="clientGatewayId") - def client_gateway_id(self) -> Optional[str]: - """ - The ID of the client gateway. - """ - return pulumi.get(self, "client_gateway_id") - - -@pulumi.output_type -class GetClientGatewaysClientGatewayTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetClientGatewaysFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetDhcpOptionFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetDhcpOptionTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetDhcpOptionsDhcpOptionResult(dict): - def __init__(__self__, *, - default: bool, - dhcp_options_set_id: str, - domain_name: str, - domain_name_servers: Sequence[str], - log_servers: Sequence[str], - ntp_servers: Sequence[str], - tags: Sequence['outputs.GetDhcpOptionsDhcpOptionTagResult']): - """ - :param bool default: If true, lists all default DHCP options set. If false, lists all non-default DHCP options set. - :param str dhcp_options_set_id: The ID of the DHCP options set. - :param str domain_name: The domain name. - :param Sequence[str] domain_name_servers: The IPs of the domain name servers used for the DHCP options sets. - :param Sequence[str] log_servers: The IPs of the log servers used for the DHCP options sets. - :param Sequence[str] ntp_servers: The IPs of the Network Time Protocol (NTP) servers used for the DHCP options sets. - :param Sequence['GetDhcpOptionsDhcpOptionTagArgs'] tags: The key/value combinations of the tags associated with the DHCP options sets, in the following format: `TAGKEY=TAGVALUE`. - """ - pulumi.set(__self__, "default", default) - pulumi.set(__self__, "dhcp_options_set_id", dhcp_options_set_id) - pulumi.set(__self__, "domain_name", domain_name) - pulumi.set(__self__, "domain_name_servers", domain_name_servers) - pulumi.set(__self__, "log_servers", log_servers) - pulumi.set(__self__, "ntp_servers", ntp_servers) - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter - def default(self) -> bool: - """ - If true, lists all default DHCP options set. If false, lists all non-default DHCP options set. - """ - return pulumi.get(self, "default") - - @property - @pulumi.getter(name="dhcpOptionsSetId") - def dhcp_options_set_id(self) -> str: - """ - The ID of the DHCP options set. - """ - return pulumi.get(self, "dhcp_options_set_id") - - @property - @pulumi.getter(name="domainName") - def domain_name(self) -> str: - """ - The domain name. - """ - return pulumi.get(self, "domain_name") - - @property - @pulumi.getter(name="domainNameServers") - def domain_name_servers(self) -> Sequence[str]: - """ - The IPs of the domain name servers used for the DHCP options sets. - """ - return pulumi.get(self, "domain_name_servers") - - @property - @pulumi.getter(name="logServers") - def log_servers(self) -> Sequence[str]: - """ - The IPs of the log servers used for the DHCP options sets. - """ - return pulumi.get(self, "log_servers") - - @property - @pulumi.getter(name="ntpServers") - def ntp_servers(self) -> Sequence[str]: - """ - The IPs of the Network Time Protocol (NTP) servers used for the DHCP options sets. - """ - return pulumi.get(self, "ntp_servers") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetDhcpOptionsDhcpOptionTagResult']: - """ - The key/value combinations of the tags associated with the DHCP options sets, in the following format: `TAGKEY=TAGVALUE`. - """ - return pulumi.get(self, "tags") - - -@pulumi.output_type -class GetDhcpOptionsDhcpOptionTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetDhcpOptionsFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetFlexibleGpuCatalogFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetFlexibleGpuCatalogFlexibleGpuCatalogResult(dict): - def __init__(__self__, *, - generations: Sequence[str], - max_cpu: int, - max_ram: int, - model_name: str, - v_ram: int): - """ - :param Sequence[str] generations: The generations of VMs that the fGPU is compatible with. - :param int max_cpu: The maximum number of VM vCores that the fGPU is compatible with. - :param int max_ram: The maximum amount of VM memory that the fGPU is compatible with. - :param str model_name: The model of fGPU. - :param int v_ram: The amount of video RAM (VRAM) of the fGPU. - """ - pulumi.set(__self__, "generations", generations) - pulumi.set(__self__, "max_cpu", max_cpu) - pulumi.set(__self__, "max_ram", max_ram) - pulumi.set(__self__, "model_name", model_name) - pulumi.set(__self__, "v_ram", v_ram) - - @property - @pulumi.getter - def generations(self) -> Sequence[str]: - """ - The generations of VMs that the fGPU is compatible with. - """ - return pulumi.get(self, "generations") - - @property - @pulumi.getter(name="maxCpu") - def max_cpu(self) -> int: - """ - The maximum number of VM vCores that the fGPU is compatible with. - """ - return pulumi.get(self, "max_cpu") - - @property - @pulumi.getter(name="maxRam") - def max_ram(self) -> int: - """ - The maximum amount of VM memory that the fGPU is compatible with. - """ - return pulumi.get(self, "max_ram") - - @property - @pulumi.getter(name="modelName") - def model_name(self) -> str: - """ - The model of fGPU. - """ - return pulumi.get(self, "model_name") - - @property - @pulumi.getter(name="vRam") - def v_ram(self) -> int: - """ - The amount of video RAM (VRAM) of the fGPU. - """ - return pulumi.get(self, "v_ram") - - -@pulumi.output_type -class GetFlexibleGpuFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetFlexibleGpusFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetFlexibleGpusFlexibleGpusResult(dict): - def __init__(__self__, *, - delete_on_vm_deletion: bool, - flexible_gpu_id: str, - generation: str, - model_name: str, - state: str, - subregion_name: str, - vm_id: str): - """ - :param bool delete_on_vm_deletion: Indicates whether the fGPU is deleted when terminating the VM. - :param str flexible_gpu_id: The ID of the fGPU. - :param str generation: The compatible processor generation. - :param str model_name: The model of fGPU. For more information, see [About Flexible GPUs](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html). - :param str state: The state of the fGPU (`allocated` \\| `attaching` \\| `attached` \\| `detaching`). - :param str subregion_name: The Subregion where the fGPU is located. - :param str vm_id: The ID of the VM the fGPU is attached to, if any. - """ - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - pulumi.set(__self__, "flexible_gpu_id", flexible_gpu_id) - pulumi.set(__self__, "generation", generation) - pulumi.set(__self__, "model_name", model_name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subregion_name", subregion_name) - pulumi.set(__self__, "vm_id", vm_id) - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> bool: - """ - Indicates whether the fGPU is deleted when terminating the VM. - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @property - @pulumi.getter(name="flexibleGpuId") - def flexible_gpu_id(self) -> str: - """ - The ID of the fGPU. - """ - return pulumi.get(self, "flexible_gpu_id") - - @property - @pulumi.getter - def generation(self) -> str: - """ - The compatible processor generation. - """ - return pulumi.get(self, "generation") - - @property - @pulumi.getter(name="modelName") - def model_name(self) -> str: - """ - The model of fGPU. For more information, see [About Flexible GPUs](https://docs.outscale.com/en/userguide/About-Flexible-GPUs.html). - """ - return pulumi.get(self, "model_name") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the fGPU (`allocated` \\| `attaching` \\| `attached` \\| `detaching`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="subregionName") - def subregion_name(self) -> str: - """ - The Subregion where the fGPU is located. - """ - return pulumi.get(self, "subregion_name") - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> str: - """ - The ID of the VM the fGPU is attached to, if any. - """ - return pulumi.get(self, "vm_id") - - -@pulumi.output_type -class GetImageBlockDeviceMappingResult(dict): - def __init__(__self__, *, - bsus: Sequence['outputs.GetImageBlockDeviceMappingBsusResult'], - device_name: str, - virtual_device_name: str): - """ - :param Sequence['GetImageBlockDeviceMappingBsusArgs'] bsus: Information about the BSU volume to create. - :param str device_name: The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - :param str virtual_device_name: The name of the virtual device (`ephemeralN`). - """ - pulumi.set(__self__, "bsus", bsus) - pulumi.set(__self__, "device_name", device_name) - pulumi.set(__self__, "virtual_device_name", virtual_device_name) - - @property - @pulumi.getter - def bsus(self) -> Sequence['outputs.GetImageBlockDeviceMappingBsusResult']: - """ - Information about the BSU volume to create. - """ - return pulumi.get(self, "bsus") - - @property - @pulumi.getter(name="deviceName") - def device_name(self) -> str: - """ - The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - """ - return pulumi.get(self, "device_name") - - @property - @pulumi.getter(name="virtualDeviceName") - def virtual_device_name(self) -> str: - """ - The name of the virtual device (`ephemeralN`). - """ - return pulumi.get(self, "virtual_device_name") - - -@pulumi.output_type -class GetImageBlockDeviceMappingBsusResult(dict): - def __init__(__self__, *, - delete_on_vm_deletion: bool, - iops: int, - snapshot_id: str, - volume_size: int, - volume_type: str): - """ - :param bool delete_on_vm_deletion: By default or if set to true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - :param int iops: The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - :param str snapshot_id: The ID of the snapshot used to create the volume. - :param int volume_size: The size of the volume, in gibibytes (GiB).
- If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.
- If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. - :param str volume_type: The type of the volume (`standard` \\| `io1` \\| `gp2`). If not specified in the request, a `standard` volume is created.
- For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - """ - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - pulumi.set(__self__, "iops", iops) - pulumi.set(__self__, "snapshot_id", snapshot_id) - pulumi.set(__self__, "volume_size", volume_size) - pulumi.set(__self__, "volume_type", volume_type) - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> bool: - """ - By default or if set to true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @property - @pulumi.getter - def iops(self) -> int: - """ - The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - """ - return pulumi.get(self, "iops") - - @property - @pulumi.getter(name="snapshotId") - def snapshot_id(self) -> str: - """ - The ID of the snapshot used to create the volume. - """ - return pulumi.get(self, "snapshot_id") - - @property - @pulumi.getter(name="volumeSize") - def volume_size(self) -> int: - """ - The size of the volume, in gibibytes (GiB).
- If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.
- If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. - """ - return pulumi.get(self, "volume_size") - - @property - @pulumi.getter(name="volumeType") - def volume_type(self) -> str: - """ - The type of the volume (`standard` \\| `io1` \\| `gp2`). If not specified in the request, a `standard` volume is created.
- For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - """ - return pulumi.get(self, "volume_type") - - -@pulumi.output_type -class GetImageExportTaskFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetImageExportTaskOsuExportResult(dict): - def __init__(__self__, *, - disk_image_format: str, - osu_bucket: str, - osu_manifest_url: str, - osu_prefix: str): - """ - :param str disk_image_format: The format of the export disk (`qcow2` \\| `raw`). - :param str osu_bucket: The name of the OOS bucket the OMI is exported to. - :param str osu_manifest_url: The URL of the manifest file. - :param str osu_prefix: The prefix for the key of the OOS object corresponding to the image. - """ - pulumi.set(__self__, "disk_image_format", disk_image_format) - pulumi.set(__self__, "osu_bucket", osu_bucket) - pulumi.set(__self__, "osu_manifest_url", osu_manifest_url) - pulumi.set(__self__, "osu_prefix", osu_prefix) - - @property - @pulumi.getter(name="diskImageFormat") - def disk_image_format(self) -> str: - """ - The format of the export disk (`qcow2` \\| `raw`). - """ - return pulumi.get(self, "disk_image_format") - - @property - @pulumi.getter(name="osuBucket") - def osu_bucket(self) -> str: - """ - The name of the OOS bucket the OMI is exported to. - """ - return pulumi.get(self, "osu_bucket") - - @property - @pulumi.getter(name="osuManifestUrl") - def osu_manifest_url(self) -> str: - """ - The URL of the manifest file. - """ - return pulumi.get(self, "osu_manifest_url") - - @property - @pulumi.getter(name="osuPrefix") - def osu_prefix(self) -> str: - """ - The prefix for the key of the OOS object corresponding to the image. - """ - return pulumi.get(self, "osu_prefix") - - -@pulumi.output_type -class GetImageExportTaskTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetImageExportTasksFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetImageExportTasksImageExportTaskResult(dict): - def __init__(__self__, *, - comment: str, - image_id: str, - osu_exports: Sequence['outputs.GetImageExportTasksImageExportTaskOsuExportResult'], - progress: int, - state: str, - tags: Sequence['outputs.GetImageExportTasksImageExportTaskTagResult'], - task_id: str): - """ - :param str comment: If the OMI export task fails, an error message appears. - :param str image_id: The ID of the OMI to be exported. - :param Sequence['GetImageExportTasksImageExportTaskOsuExportArgs'] osu_exports: Information about the OMI export task. - :param int progress: The progress of the OMI export task, as a percentage. - :param str state: The state of the OMI export task (`pending/queued` \\| `pending` \\| `completed` \\| `failed` \\| `cancelled`). - :param Sequence['GetImageExportTasksImageExportTaskTagArgs'] tags: One or more tags associated with the image export task. - :param str task_id: The ID of the OMI export task. - """ - pulumi.set(__self__, "comment", comment) - pulumi.set(__self__, "image_id", image_id) - pulumi.set(__self__, "osu_exports", osu_exports) - pulumi.set(__self__, "progress", progress) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "task_id", task_id) - - @property - @pulumi.getter - def comment(self) -> str: - """ - If the OMI export task fails, an error message appears. - """ - return pulumi.get(self, "comment") - - @property - @pulumi.getter(name="imageId") - def image_id(self) -> str: - """ - The ID of the OMI to be exported. - """ - return pulumi.get(self, "image_id") - - @property - @pulumi.getter(name="osuExports") - def osu_exports(self) -> Sequence['outputs.GetImageExportTasksImageExportTaskOsuExportResult']: - """ - Information about the OMI export task. - """ - return pulumi.get(self, "osu_exports") - - @property - @pulumi.getter - def progress(self) -> int: - """ - The progress of the OMI export task, as a percentage. - """ - return pulumi.get(self, "progress") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the OMI export task (`pending/queued` \\| `pending` \\| `completed` \\| `failed` \\| `cancelled`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetImageExportTasksImageExportTaskTagResult']: - """ - One or more tags associated with the image export task. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter(name="taskId") - def task_id(self) -> str: - """ - The ID of the OMI export task. - """ - return pulumi.get(self, "task_id") - - -@pulumi.output_type -class GetImageExportTasksImageExportTaskOsuExportResult(dict): - def __init__(__self__, *, - disk_image_format: str, - osu_bucket: str, - osu_manifest_url: str, - osu_prefix: str): - """ - :param str disk_image_format: The format of the export disk (`qcow2` \\| `raw`). - :param str osu_bucket: The name of the OOS bucket the OMI is exported to. - :param str osu_manifest_url: The URL of the manifest file. - :param str osu_prefix: The prefix for the key of the OOS object corresponding to the image. - """ - pulumi.set(__self__, "disk_image_format", disk_image_format) - pulumi.set(__self__, "osu_bucket", osu_bucket) - pulumi.set(__self__, "osu_manifest_url", osu_manifest_url) - pulumi.set(__self__, "osu_prefix", osu_prefix) - - @property - @pulumi.getter(name="diskImageFormat") - def disk_image_format(self) -> str: - """ - The format of the export disk (`qcow2` \\| `raw`). - """ - return pulumi.get(self, "disk_image_format") - - @property - @pulumi.getter(name="osuBucket") - def osu_bucket(self) -> str: - """ - The name of the OOS bucket the OMI is exported to. - """ - return pulumi.get(self, "osu_bucket") - - @property - @pulumi.getter(name="osuManifestUrl") - def osu_manifest_url(self) -> str: - """ - The URL of the manifest file. - """ - return pulumi.get(self, "osu_manifest_url") - - @property - @pulumi.getter(name="osuPrefix") - def osu_prefix(self) -> str: - """ - The prefix for the key of the OOS object corresponding to the image. - """ - return pulumi.get(self, "osu_prefix") - - -@pulumi.output_type -class GetImageExportTasksImageExportTaskTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetImageFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetImagePermissionsToLaunchResult(dict): - def __init__(__self__, *, - account_id: str, - global_permission: bool): - """ - :param str account_id: The account ID of the owner of the OMI. - :param bool global_permission: A global permission for all accounts.
- (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).
- (Response) If true, the resource is public. If false, the resource is private. - """ - pulumi.set(__self__, "account_id", account_id) - pulumi.set(__self__, "global_permission", global_permission) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> str: - """ - The account ID of the owner of the OMI. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter(name="globalPermission") - def global_permission(self) -> bool: - """ - A global permission for all accounts.
- (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).
- (Response) If true, the resource is public. If false, the resource is private. - """ - return pulumi.get(self, "global_permission") - - -@pulumi.output_type -class GetImageStateCommentResult(dict): - def __init__(__self__, *, - state_code: str, - state_message: str): - """ - :param str state_code: The code of the change of state. - :param str state_message: A message explaining the change of state. - """ - pulumi.set(__self__, "state_code", state_code) - pulumi.set(__self__, "state_message", state_message) - - @property - @pulumi.getter(name="stateCode") - def state_code(self) -> str: - """ - The code of the change of state. - """ - return pulumi.get(self, "state_code") - - @property - @pulumi.getter(name="stateMessage") - def state_message(self) -> str: - """ - A message explaining the change of state. - """ - return pulumi.get(self, "state_message") - - -@pulumi.output_type -class GetImageTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetImagesFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetImagesImageResult(dict): - def __init__(__self__, *, - account_alias: str, - account_id: str, - architecture: str, - block_device_mappings: Sequence['outputs.GetImagesImageBlockDeviceMappingResult'], - creation_date: str, - description: str, - file_location: str, - image_id: str, - image_name: str, - image_type: str, - permissions_to_launches: Sequence['outputs.GetImagesImagePermissionsToLaunchResult'], - product_codes: Sequence[str], - root_device_name: str, - root_device_type: str, - state: str, - state_comments: Sequence['outputs.GetImagesImageStateCommentResult'], - tags: Sequence['outputs.GetImagesImageTagResult']): - """ - :param str account_alias: The account alias of the owner of the OMI. - :param str account_id: The account ID of the owner of the OMI. - :param str architecture: The architecture of the OMI (by default, `i386`). - :param Sequence['GetImagesImageBlockDeviceMappingArgs'] block_device_mappings: One or more block device mappings. - :param str creation_date: The date and time of creation of the OMI, in ISO 8601 date-time format. - :param str description: The description of the OMI. - :param str file_location: The location of the bucket where the OMI files are stored. - :param str image_id: The ID of the OMI. - :param str image_name: The name of the OMI. - :param str image_type: The type of the OMI. - :param Sequence['GetImagesImagePermissionsToLaunchArgs'] permissions_to_launches: Permissions for the resource. - :param Sequence[str] product_codes: The product codes associated with the OMI. - :param str root_device_name: The name of the root device. - :param str root_device_type: The type of root device used by the OMI (always `bsu`). - :param str state: The state of the OMI (`pending` \\| `available` \\| `failed`). - :param Sequence['GetImagesImageStateCommentArgs'] state_comments: Information about the change of state. - :param Sequence['GetImagesImageTagArgs'] tags: The key/value combinations of the tags associated with the OMIs, in the following format: `TAGKEY=TAGVALUE`. - """ - pulumi.set(__self__, "account_alias", account_alias) - pulumi.set(__self__, "account_id", account_id) - pulumi.set(__self__, "architecture", architecture) - pulumi.set(__self__, "block_device_mappings", block_device_mappings) - pulumi.set(__self__, "creation_date", creation_date) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "file_location", file_location) - pulumi.set(__self__, "image_id", image_id) - pulumi.set(__self__, "image_name", image_name) - pulumi.set(__self__, "image_type", image_type) - pulumi.set(__self__, "permissions_to_launches", permissions_to_launches) - pulumi.set(__self__, "product_codes", product_codes) - pulumi.set(__self__, "root_device_name", root_device_name) - pulumi.set(__self__, "root_device_type", root_device_type) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "state_comments", state_comments) - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="accountAlias") - def account_alias(self) -> str: - """ - The account alias of the owner of the OMI. - """ - return pulumi.get(self, "account_alias") - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> str: - """ - The account ID of the owner of the OMI. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter - def architecture(self) -> str: - """ - The architecture of the OMI (by default, `i386`). - """ - return pulumi.get(self, "architecture") - - @property - @pulumi.getter(name="blockDeviceMappings") - def block_device_mappings(self) -> Sequence['outputs.GetImagesImageBlockDeviceMappingResult']: - """ - One or more block device mappings. - """ - return pulumi.get(self, "block_device_mappings") - - @property - @pulumi.getter(name="creationDate") - def creation_date(self) -> str: - """ - The date and time of creation of the OMI, in ISO 8601 date-time format. - """ - return pulumi.get(self, "creation_date") - - @property - @pulumi.getter - def description(self) -> str: - """ - The description of the OMI. - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter(name="fileLocation") - def file_location(self) -> str: - """ - The location of the bucket where the OMI files are stored. - """ - return pulumi.get(self, "file_location") - - @property - @pulumi.getter(name="imageId") - def image_id(self) -> str: - """ - The ID of the OMI. - """ - return pulumi.get(self, "image_id") - - @property - @pulumi.getter(name="imageName") - def image_name(self) -> str: - """ - The name of the OMI. - """ - return pulumi.get(self, "image_name") - - @property - @pulumi.getter(name="imageType") - def image_type(self) -> str: - """ - The type of the OMI. - """ - return pulumi.get(self, "image_type") - - @property - @pulumi.getter(name="permissionsToLaunches") - def permissions_to_launches(self) -> Sequence['outputs.GetImagesImagePermissionsToLaunchResult']: - """ - Permissions for the resource. - """ - return pulumi.get(self, "permissions_to_launches") - - @property - @pulumi.getter(name="productCodes") - def product_codes(self) -> Sequence[str]: - """ - The product codes associated with the OMI. - """ - return pulumi.get(self, "product_codes") - - @property - @pulumi.getter(name="rootDeviceName") - def root_device_name(self) -> str: - """ - The name of the root device. - """ - return pulumi.get(self, "root_device_name") - - @property - @pulumi.getter(name="rootDeviceType") - def root_device_type(self) -> str: - """ - The type of root device used by the OMI (always `bsu`). - """ - return pulumi.get(self, "root_device_type") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the OMI (`pending` \\| `available` \\| `failed`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="stateComments") - def state_comments(self) -> Sequence['outputs.GetImagesImageStateCommentResult']: - """ - Information about the change of state. - """ - return pulumi.get(self, "state_comments") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetImagesImageTagResult']: - """ - The key/value combinations of the tags associated with the OMIs, in the following format: `TAGKEY=TAGVALUE`. - """ - return pulumi.get(self, "tags") - - -@pulumi.output_type -class GetImagesImageBlockDeviceMappingResult(dict): - def __init__(__self__, *, - bsus: Sequence['outputs.GetImagesImageBlockDeviceMappingBsusResult'], - device_name: str, - virtual_device_name: str): - """ - :param Sequence['GetImagesImageBlockDeviceMappingBsusArgs'] bsus: Information about the BSU volume to create. - :param str device_name: The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - :param str virtual_device_name: The name of the virtual device (`ephemeralN`). - """ - pulumi.set(__self__, "bsus", bsus) - pulumi.set(__self__, "device_name", device_name) - pulumi.set(__self__, "virtual_device_name", virtual_device_name) - - @property - @pulumi.getter - def bsus(self) -> Sequence['outputs.GetImagesImageBlockDeviceMappingBsusResult']: - """ - Information about the BSU volume to create. - """ - return pulumi.get(self, "bsus") - - @property - @pulumi.getter(name="deviceName") - def device_name(self) -> str: - """ - The device name for the volume. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - """ - return pulumi.get(self, "device_name") - - @property - @pulumi.getter(name="virtualDeviceName") - def virtual_device_name(self) -> str: - """ - The name of the virtual device (`ephemeralN`). - """ - return pulumi.get(self, "virtual_device_name") - - -@pulumi.output_type -class GetImagesImageBlockDeviceMappingBsusResult(dict): - def __init__(__self__, *, - delete_on_vm_deletion: bool, - iops: int, - snapshot_id: str, - volume_size: int, - volume_type: str): - """ - :param bool delete_on_vm_deletion: By default or if set to true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - :param int iops: The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - :param str snapshot_id: The ID of the snapshot used to create the volume. - :param int volume_size: The size of the volume, in gibibytes (GiB).
- If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.
- If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. - :param str volume_type: The type of the volume (`standard` \\| `io1` \\| `gp2`). If not specified in the request, a `standard` volume is created.
- For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - """ - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - pulumi.set(__self__, "iops", iops) - pulumi.set(__self__, "snapshot_id", snapshot_id) - pulumi.set(__self__, "volume_size", volume_size) - pulumi.set(__self__, "volume_type", volume_type) - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> bool: - """ - By default or if set to true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @property - @pulumi.getter - def iops(self) -> int: - """ - The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - """ - return pulumi.get(self, "iops") - - @property - @pulumi.getter(name="snapshotId") - def snapshot_id(self) -> str: - """ - The ID of the snapshot used to create the volume. - """ - return pulumi.get(self, "snapshot_id") - - @property - @pulumi.getter(name="volumeSize") - def volume_size(self) -> int: - """ - The size of the volume, in gibibytes (GiB).
- If you specify a snapshot ID, the volume size must be at least equal to the snapshot size.
- If you specify a snapshot ID but no volume size, the volume is created with a size similar to the snapshot one. - """ - return pulumi.get(self, "volume_size") - - @property - @pulumi.getter(name="volumeType") - def volume_type(self) -> str: - """ - The type of the volume (`standard` \\| `io1` \\| `gp2`). If not specified in the request, a `standard` volume is created.
- For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - """ - return pulumi.get(self, "volume_type") - - -@pulumi.output_type -class GetImagesImagePermissionsToLaunchResult(dict): - def __init__(__self__, *, - account_id: str, - global_permission: bool): - """ - :param str account_id: The account ID of the owner of the OMI. - :param bool global_permission: A global permission for all accounts.
- (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).
- (Response) If true, the resource is public. If false, the resource is private. - """ - pulumi.set(__self__, "account_id", account_id) - pulumi.set(__self__, "global_permission", global_permission) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> str: - """ - The account ID of the owner of the OMI. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter(name="globalPermission") - def global_permission(self) -> bool: - """ - A global permission for all accounts.
- (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).
- (Response) If true, the resource is public. If false, the resource is private. - """ - return pulumi.get(self, "global_permission") - - -@pulumi.output_type -class GetImagesImageStateCommentResult(dict): - def __init__(__self__, *, - state_code: str, - state_message: str): - """ - :param str state_code: The code of the change of state. - :param str state_message: A message explaining the change of state. - """ - pulumi.set(__self__, "state_code", state_code) - pulumi.set(__self__, "state_message", state_message) - - @property - @pulumi.getter(name="stateCode") - def state_code(self) -> str: - """ - The code of the change of state. - """ - return pulumi.get(self, "state_code") - - @property - @pulumi.getter(name="stateMessage") - def state_message(self) -> str: - """ - A message explaining the change of state. - """ - return pulumi.get(self, "state_message") - - -@pulumi.output_type -class GetImagesImageTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetInternetServiceFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetInternetServiceTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetInternetServicesFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetInternetServicesInternetServiceResult(dict): - def __init__(__self__, *, - internet_service_id: str, - net_id: str, - state: str, - tags: Sequence['outputs.GetInternetServicesInternetServiceTagResult']): - """ - :param str internet_service_id: The ID of the Internet service. - :param str net_id: The ID of the Net attached to the Internet service. - :param str state: The state of the attachment of the Internet service to the Net (always `available`). - :param Sequence['GetInternetServicesInternetServiceTagArgs'] tags: The key/value combinations of the tags associated with the Internet services, in the following format: `TAGKEY=TAGVALUE`. - """ - pulumi.set(__self__, "internet_service_id", internet_service_id) - pulumi.set(__self__, "net_id", net_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="internetServiceId") - def internet_service_id(self) -> str: - """ - The ID of the Internet service. - """ - return pulumi.get(self, "internet_service_id") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> str: - """ - The ID of the Net attached to the Internet service. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the attachment of the Internet service to the Net (always `available`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetInternetServicesInternetServiceTagResult']: - """ - The key/value combinations of the tags associated with the Internet services, in the following format: `TAGKEY=TAGVALUE`. - """ - return pulumi.get(self, "tags") - - -@pulumi.output_type -class GetInternetServicesInternetServiceTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetKeypairFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetKeypairsFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetKeypairsKeypairResult(dict): - def __init__(__self__, *, - keypair_fingerprint: str, - keypair_name: str): - """ - :param str keypair_fingerprint: The MD5 public key fingerprint as specified in section 4 of RFC 4716. - :param str keypair_name: The name of the keypair. - """ - pulumi.set(__self__, "keypair_fingerprint", keypair_fingerprint) - pulumi.set(__self__, "keypair_name", keypair_name) - - @property - @pulumi.getter(name="keypairFingerprint") - def keypair_fingerprint(self) -> str: - """ - The MD5 public key fingerprint as specified in section 4 of RFC 4716. - """ - return pulumi.get(self, "keypair_fingerprint") - - @property - @pulumi.getter(name="keypairName") - def keypair_name(self) -> str: - """ - The name of the keypair. - """ - return pulumi.get(self, "keypair_name") - - -@pulumi.output_type -class GetLoadBalancerAccessLogResult(dict): - def __init__(__self__, *, - is_enabled: bool, - osu_bucket_name: str, - osu_bucket_prefix: str, - publication_interval: int): - """ - :param bool is_enabled: If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osu_bucket_name` parameter is required. - :param str osu_bucket_name: The name of the OOS bucket for the access logs. - :param str osu_bucket_prefix: The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - :param int publication_interval: The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - """ - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "osu_bucket_name", osu_bucket_name) - pulumi.set(__self__, "osu_bucket_prefix", osu_bucket_prefix) - pulumi.set(__self__, "publication_interval", publication_interval) - - @property - @pulumi.getter(name="isEnabled") - def is_enabled(self) -> bool: - """ - If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osu_bucket_name` parameter is required. - """ - return pulumi.get(self, "is_enabled") - - @property - @pulumi.getter(name="osuBucketName") - def osu_bucket_name(self) -> str: - """ - The name of the OOS bucket for the access logs. - """ - return pulumi.get(self, "osu_bucket_name") - - @property - @pulumi.getter(name="osuBucketPrefix") - def osu_bucket_prefix(self) -> str: - """ - The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - """ - return pulumi.get(self, "osu_bucket_prefix") - - @property - @pulumi.getter(name="publicationInterval") - def publication_interval(self) -> int: - """ - The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - """ - return pulumi.get(self, "publication_interval") - - -@pulumi.output_type -class GetLoadBalancerApplicationStickyCookiePolicyResult(dict): - def __init__(__self__, *, - cookie_name: str, - policy_name: str): - """ - :param str cookie_name: The name of the application cookie used for stickiness. - :param str policy_name: The name of the stickiness policy. - """ - pulumi.set(__self__, "cookie_name", cookie_name) - pulumi.set(__self__, "policy_name", policy_name) - - @property - @pulumi.getter(name="cookieName") - def cookie_name(self) -> str: - """ - The name of the application cookie used for stickiness. - """ - return pulumi.get(self, "cookie_name") - - @property - @pulumi.getter(name="policyName") - def policy_name(self) -> str: - """ - The name of the stickiness policy. - """ - return pulumi.get(self, "policy_name") - - -@pulumi.output_type -class GetLoadBalancerFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetLoadBalancerHealthCheckResult(dict): - def __init__(__self__, *, - check_interval: int, - healthy_threshold: int, - path: str, - port: int, - protocol: str, - timeout: int, - unhealthy_threshold: int): - """ - :param int check_interval: The number of seconds between two pings (between `5` and `600` both included). - :param int healthy_threshold: The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - :param str path: If you use the HTTP or HTTPS protocols, the ping path. - :param int port: The port number (between `1` and `65535`, both included). - :param str protocol: The protocol for the URL of the VM (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - :param int timeout: The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - :param int unhealthy_threshold: The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - """ - pulumi.set(__self__, "check_interval", check_interval) - pulumi.set(__self__, "healthy_threshold", healthy_threshold) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "timeout", timeout) - pulumi.set(__self__, "unhealthy_threshold", unhealthy_threshold) - - @property - @pulumi.getter(name="checkInterval") - def check_interval(self) -> int: - """ - The number of seconds between two pings (between `5` and `600` both included). - """ - return pulumi.get(self, "check_interval") - - @property - @pulumi.getter(name="healthyThreshold") - def healthy_threshold(self) -> int: - """ - The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - """ - return pulumi.get(self, "healthy_threshold") - - @property - @pulumi.getter - def path(self) -> str: - """ - If you use the HTTP or HTTPS protocols, the ping path. - """ - return pulumi.get(self, "path") - - @property - @pulumi.getter - def port(self) -> int: - """ - The port number (between `1` and `65535`, both included). - """ - return pulumi.get(self, "port") - - @property - @pulumi.getter - def protocol(self) -> str: - """ - The protocol for the URL of the VM (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - """ - return pulumi.get(self, "protocol") - - @property - @pulumi.getter - def timeout(self) -> int: - """ - The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - """ - return pulumi.get(self, "timeout") - - @property - @pulumi.getter(name="unhealthyThreshold") - def unhealthy_threshold(self) -> int: - """ - The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - """ - return pulumi.get(self, "unhealthy_threshold") - - -@pulumi.output_type -class GetLoadBalancerListenerResult(dict): - def __init__(__self__, *, - backend_port: int, - backend_protocol: str, - load_balancer_port: int, - load_balancer_protocol: str, - policy_names: Sequence[str], - server_certificate_id: str): - """ - :param int backend_port: The port on which the back-end VM is listening (between `1` and `65535`, both included). - :param str backend_protocol: The protocol for routing traffic to back-end VMs (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - :param int load_balancer_port: The port on which the load balancer is listening (between `1` and `65535`, both included). - :param str load_balancer_protocol: The routing protocol (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - :param Sequence[str] policy_names: The names of the policies. If there are no policies enabled, the list is empty. - :param str server_certificate_id: The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > OUTSCALE Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - """ - pulumi.set(__self__, "backend_port", backend_port) - pulumi.set(__self__, "backend_protocol", backend_protocol) - pulumi.set(__self__, "load_balancer_port", load_balancer_port) - pulumi.set(__self__, "load_balancer_protocol", load_balancer_protocol) - pulumi.set(__self__, "policy_names", policy_names) - pulumi.set(__self__, "server_certificate_id", server_certificate_id) - - @property - @pulumi.getter(name="backendPort") - def backend_port(self) -> int: - """ - The port on which the back-end VM is listening (between `1` and `65535`, both included). - """ - return pulumi.get(self, "backend_port") - - @property - @pulumi.getter(name="backendProtocol") - def backend_protocol(self) -> str: - """ - The protocol for routing traffic to back-end VMs (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - """ - return pulumi.get(self, "backend_protocol") - - @property - @pulumi.getter(name="loadBalancerPort") - def load_balancer_port(self) -> int: - """ - The port on which the load balancer is listening (between `1` and `65535`, both included). - """ - return pulumi.get(self, "load_balancer_port") - - @property - @pulumi.getter(name="loadBalancerProtocol") - def load_balancer_protocol(self) -> str: - """ - The routing protocol (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - """ - return pulumi.get(self, "load_balancer_protocol") - - @property - @pulumi.getter(name="policyNames") - def policy_names(self) -> Sequence[str]: - """ - The names of the policies. If there are no policies enabled, the list is empty. - """ - return pulumi.get(self, "policy_names") - - @property - @pulumi.getter(name="serverCertificateId") - def server_certificate_id(self) -> str: - """ - The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > OUTSCALE Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - """ - return pulumi.get(self, "server_certificate_id") - - -@pulumi.output_type -class GetLoadBalancerLoadBalancerStickyCookiePolicyResult(dict): - def __init__(__self__, *, - policy_name: str): - """ - :param str policy_name: The name of the stickiness policy. - """ - pulumi.set(__self__, "policy_name", policy_name) - - @property - @pulumi.getter(name="policyName") - def policy_name(self) -> str: - """ - The name of the stickiness policy. - """ - return pulumi.get(self, "policy_name") - - -@pulumi.output_type -class GetLoadBalancerSourceSecurityGroupResult(dict): - def __init__(__self__, *, - security_group_account_id: str, - security_group_name: str): - """ - :param str security_group_account_id: The account ID of the owner of the security group. - :param str security_group_name: The name of the security group. - """ - pulumi.set(__self__, "security_group_account_id", security_group_account_id) - pulumi.set(__self__, "security_group_name", security_group_name) - - @property - @pulumi.getter(name="securityGroupAccountId") - def security_group_account_id(self) -> str: - """ - The account ID of the owner of the security group. - """ - return pulumi.get(self, "security_group_account_id") - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> str: - """ - The name of the security group. - """ - return pulumi.get(self, "security_group_name") - - -@pulumi.output_type -class GetLoadBalancerTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetLoadBalancerTagsFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetLoadBalancerTagsTagResult(dict): - def __init__(__self__, *, - key: str, - load_balancer_name: str, - value: str): - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "load_balancer_name", load_balancer_name) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - return pulumi.get(self, "key") - - @property - @pulumi.getter(name="loadBalancerName") - def load_balancer_name(self) -> str: - return pulumi.get(self, "load_balancer_name") - - @property - @pulumi.getter - def value(self) -> str: - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetLoadBalancerVmHealthBackendVmHealthResult(dict): - def __init__(__self__, *, - description: str, - state: str, - state_reason: str, - vm_id: str): - """ - :param str description: The description of the state of the back-end VM. - :param str state: The state of the back-end VM (`InService` \\| `OutOfService` \\| `Unknown`). - :param str state_reason: Information about the cause of `OutOfService` VMs.
- Specifically, whether the cause is Elastic Load Balancing or the VM (`ELB` \\| `Instance` \\| `N/A`). - :param str vm_id: The ID of the back-end VM. - """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "state_reason", state_reason) - pulumi.set(__self__, "vm_id", vm_id) - - @property - @pulumi.getter - def description(self) -> str: - """ - The description of the state of the back-end VM. - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the back-end VM (`InService` \\| `OutOfService` \\| `Unknown`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="stateReason") - def state_reason(self) -> str: - """ - Information about the cause of `OutOfService` VMs.
- Specifically, whether the cause is Elastic Load Balancing or the VM (`ELB` \\| `Instance` \\| `N/A`). - """ - return pulumi.get(self, "state_reason") - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> str: - """ - The ID of the back-end VM. - """ - return pulumi.get(self, "vm_id") - - -@pulumi.output_type -class GetLoadBalancerVmHealthFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetLoadBalancersFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetLoadBalancersLoadBalancerResult(dict): - def __init__(__self__, *, - access_logs: Sequence['outputs.GetLoadBalancersLoadBalancerAccessLogResult'], - application_sticky_cookie_policies: Sequence['outputs.GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyResult'], - backend_vm_ids: Sequence['outputs.GetLoadBalancersLoadBalancerBackendVmIdResult'], - dns_name: str, - health_checks: Sequence['outputs.GetLoadBalancersLoadBalancerHealthCheckResult'], - listeners: Sequence['outputs.GetLoadBalancersLoadBalancerListenerResult'], - load_balancer_name: str, - load_balancer_sticky_cookie_policies: Sequence['outputs.GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyResult'], - load_balancer_type: str, - net_id: str, - public_ip: str, - secured_cookies: bool, - security_groups: Sequence[str], - source_security_groups: Sequence['outputs.GetLoadBalancersLoadBalancerSourceSecurityGroupResult'], - subnet_ids: Sequence[str], - subregion_names: Sequence[str], - tags: Sequence['outputs.GetLoadBalancersLoadBalancerTagResult']): - """ - :param Sequence['GetLoadBalancersLoadBalancerAccessLogArgs'] access_logs: Information about access logs. - :param Sequence['GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyArgs'] application_sticky_cookie_policies: The stickiness policies defined for the load balancer. - :param Sequence['GetLoadBalancersLoadBalancerBackendVmIdArgs'] backend_vm_ids: One or more IDs of back-end VMs for the load balancer. - :param str dns_name: The DNS name of the load balancer. - :param Sequence['GetLoadBalancersLoadBalancerHealthCheckArgs'] health_checks: Information about the health check configuration. - :param Sequence['GetLoadBalancersLoadBalancerListenerArgs'] listeners: The listeners for the load balancer. - :param str load_balancer_name: The name of the load balancer. - :param Sequence['GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyArgs'] load_balancer_sticky_cookie_policies: The policies defined for the load balancer. - :param str load_balancer_type: The type of load balancer. Valid only for load balancers in a Net.
- If `load_balancer_type` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.
- If `load_balancer_type` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - :param str net_id: The ID of the Net for the load balancer. - :param str public_ip: (internet-facing only) The public IP associated with the load balancer. - :param bool secured_cookies: Whether secure cookies are enabled for the load balancer. - :param Sequence[str] security_groups: One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - :param Sequence['GetLoadBalancersLoadBalancerSourceSecurityGroupArgs'] source_security_groups: Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.
- To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. - :param Sequence[str] subregion_names: The ID of the Subregion in which the load balancer was created. - :param Sequence['GetLoadBalancersLoadBalancerTagArgs'] tags: One or more tags associated with the load balancer. - """ - pulumi.set(__self__, "access_logs", access_logs) - pulumi.set(__self__, "application_sticky_cookie_policies", application_sticky_cookie_policies) - pulumi.set(__self__, "backend_vm_ids", backend_vm_ids) - pulumi.set(__self__, "dns_name", dns_name) - pulumi.set(__self__, "health_checks", health_checks) - pulumi.set(__self__, "listeners", listeners) - pulumi.set(__self__, "load_balancer_name", load_balancer_name) - pulumi.set(__self__, "load_balancer_sticky_cookie_policies", load_balancer_sticky_cookie_policies) - pulumi.set(__self__, "load_balancer_type", load_balancer_type) - pulumi.set(__self__, "net_id", net_id) - pulumi.set(__self__, "public_ip", public_ip) - pulumi.set(__self__, "secured_cookies", secured_cookies) - pulumi.set(__self__, "security_groups", security_groups) - pulumi.set(__self__, "source_security_groups", source_security_groups) - pulumi.set(__self__, "subnet_ids", subnet_ids) - pulumi.set(__self__, "subregion_names", subregion_names) - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="accessLogs") - def access_logs(self) -> Sequence['outputs.GetLoadBalancersLoadBalancerAccessLogResult']: - """ - Information about access logs. - """ - return pulumi.get(self, "access_logs") - - @property - @pulumi.getter(name="applicationStickyCookiePolicies") - def application_sticky_cookie_policies(self) -> Sequence['outputs.GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyResult']: - """ - The stickiness policies defined for the load balancer. - """ - return pulumi.get(self, "application_sticky_cookie_policies") - - @property - @pulumi.getter(name="backendVmIds") - def backend_vm_ids(self) -> Sequence['outputs.GetLoadBalancersLoadBalancerBackendVmIdResult']: - """ - One or more IDs of back-end VMs for the load balancer. - """ - return pulumi.get(self, "backend_vm_ids") - - @property - @pulumi.getter(name="dnsName") - def dns_name(self) -> str: - """ - The DNS name of the load balancer. - """ - return pulumi.get(self, "dns_name") - - @property - @pulumi.getter(name="healthChecks") - def health_checks(self) -> Sequence['outputs.GetLoadBalancersLoadBalancerHealthCheckResult']: - """ - Information about the health check configuration. - """ - return pulumi.get(self, "health_checks") - - @property - @pulumi.getter - def listeners(self) -> Sequence['outputs.GetLoadBalancersLoadBalancerListenerResult']: - """ - The listeners for the load balancer. - """ - return pulumi.get(self, "listeners") - - @property - @pulumi.getter(name="loadBalancerName") - def load_balancer_name(self) -> str: - """ - The name of the load balancer. - """ - return pulumi.get(self, "load_balancer_name") - - @property - @pulumi.getter(name="loadBalancerStickyCookiePolicies") - def load_balancer_sticky_cookie_policies(self) -> Sequence['outputs.GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyResult']: - """ - The policies defined for the load balancer. - """ - return pulumi.get(self, "load_balancer_sticky_cookie_policies") - - @property - @pulumi.getter(name="loadBalancerType") - def load_balancer_type(self) -> str: - """ - The type of load balancer. Valid only for load balancers in a Net.
- If `load_balancer_type` is `internet-facing`, the load balancer has a public DNS name that resolves to a public IP.
- If `load_balancer_type` is `internal`, the load balancer has a public DNS name that resolves to a private IP. - """ - return pulumi.get(self, "load_balancer_type") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> str: - """ - The ID of the Net for the load balancer. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> str: - """ - (internet-facing only) The public IP associated with the load balancer. - """ - return pulumi.get(self, "public_ip") - - @property - @pulumi.getter(name="securedCookies") - def secured_cookies(self) -> bool: - """ - Whether secure cookies are enabled for the load balancer. - """ - return pulumi.get(self, "secured_cookies") - - @property - @pulumi.getter(name="securityGroups") - def security_groups(self) -> Sequence[str]: - """ - One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net. - """ - return pulumi.get(self, "security_groups") - - @property - @pulumi.getter(name="sourceSecurityGroups") - def source_security_groups(self) -> Sequence['outputs.GetLoadBalancersLoadBalancerSourceSecurityGroupResult']: - """ - Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs.
- To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source. - """ - return pulumi.get(self, "source_security_groups") - - @property - @pulumi.getter(name="subnetIds") - def subnet_ids(self) -> Sequence[str]: - return pulumi.get(self, "subnet_ids") - - @property - @pulumi.getter(name="subregionNames") - def subregion_names(self) -> Sequence[str]: - """ - The ID of the Subregion in which the load balancer was created. - """ - return pulumi.get(self, "subregion_names") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetLoadBalancersLoadBalancerTagResult']: - """ - One or more tags associated with the load balancer. - """ - return pulumi.get(self, "tags") - - -@pulumi.output_type -class GetLoadBalancersLoadBalancerAccessLogResult(dict): - def __init__(__self__, *, - is_enabled: bool, - osu_bucket_name: str, - osu_bucket_prefix: str, - publication_interval: int): - """ - :param bool is_enabled: If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osu_bucket_name` parameter is required. - :param str osu_bucket_name: The name of the OOS bucket for the access logs. - :param str osu_bucket_prefix: The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - :param int publication_interval: The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - """ - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "osu_bucket_name", osu_bucket_name) - pulumi.set(__self__, "osu_bucket_prefix", osu_bucket_prefix) - pulumi.set(__self__, "publication_interval", publication_interval) - - @property - @pulumi.getter(name="isEnabled") - def is_enabled(self) -> bool: - """ - If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the `osu_bucket_name` parameter is required. - """ - return pulumi.get(self, "is_enabled") - - @property - @pulumi.getter(name="osuBucketName") - def osu_bucket_name(self) -> str: - """ - The name of the OOS bucket for the access logs. - """ - return pulumi.get(self, "osu_bucket_name") - - @property - @pulumi.getter(name="osuBucketPrefix") - def osu_bucket_prefix(self) -> str: - """ - The path to the folder of the access logs in your OOS bucket (by default, the `root` level of your bucket). - """ - return pulumi.get(self, "osu_bucket_prefix") - - @property - @pulumi.getter(name="publicationInterval") - def publication_interval(self) -> int: - """ - The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either `5` or `60` (by default, `60`). - """ - return pulumi.get(self, "publication_interval") - - -@pulumi.output_type -class GetLoadBalancersLoadBalancerApplicationStickyCookiePolicyResult(dict): - def __init__(__self__, *, - cookie_name: str, - policy_name: str): - """ - :param str cookie_name: The name of the application cookie used for stickiness. - :param str policy_name: The name of the stickiness policy. - """ - pulumi.set(__self__, "cookie_name", cookie_name) - pulumi.set(__self__, "policy_name", policy_name) - - @property - @pulumi.getter(name="cookieName") - def cookie_name(self) -> str: - """ - The name of the application cookie used for stickiness. - """ - return pulumi.get(self, "cookie_name") - - @property - @pulumi.getter(name="policyName") - def policy_name(self) -> str: - """ - The name of the stickiness policy. - """ - return pulumi.get(self, "policy_name") - - -@pulumi.output_type -class GetLoadBalancersLoadBalancerBackendVmIdResult(dict): - def __init__(__self__, *, - vm_id: str): - pulumi.set(__self__, "vm_id", vm_id) - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> str: - return pulumi.get(self, "vm_id") - - -@pulumi.output_type -class GetLoadBalancersLoadBalancerHealthCheckResult(dict): - def __init__(__self__, *, - check_interval: int, - healthy_threshold: int, - path: str, - port: int, - protocol: str, - timeout: int, - unhealthy_threshold: int): - """ - :param int check_interval: The number of seconds between two pings (between `5` and `600` both included). - :param int healthy_threshold: The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - :param str path: If you use the HTTP or HTTPS protocols, the ping path. - :param int port: The port number (between `1` and `65535`, both included). - :param str protocol: The protocol for the URL of the VM (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - :param int timeout: The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - :param int unhealthy_threshold: The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - """ - pulumi.set(__self__, "check_interval", check_interval) - pulumi.set(__self__, "healthy_threshold", healthy_threshold) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "timeout", timeout) - pulumi.set(__self__, "unhealthy_threshold", unhealthy_threshold) - - @property - @pulumi.getter(name="checkInterval") - def check_interval(self) -> int: - """ - The number of seconds between two pings (between `5` and `600` both included). - """ - return pulumi.get(self, "check_interval") - - @property - @pulumi.getter(name="healthyThreshold") - def healthy_threshold(self) -> int: - """ - The number of consecutive successful pings before considering the VM as healthy (between `2` and `10` both included). - """ - return pulumi.get(self, "healthy_threshold") - - @property - @pulumi.getter - def path(self) -> str: - """ - If you use the HTTP or HTTPS protocols, the ping path. - """ - return pulumi.get(self, "path") - - @property - @pulumi.getter - def port(self) -> int: - """ - The port number (between `1` and `65535`, both included). - """ - return pulumi.get(self, "port") - - @property - @pulumi.getter - def protocol(self) -> str: - """ - The protocol for the URL of the VM (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - """ - return pulumi.get(self, "protocol") - - @property - @pulumi.getter - def timeout(self) -> int: - """ - The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between `2` and `60` both included). - """ - return pulumi.get(self, "timeout") - - @property - @pulumi.getter(name="unhealthyThreshold") - def unhealthy_threshold(self) -> int: - """ - The number of consecutive failed pings before considering the VM as unhealthy (between `2` and `10` both included). - """ - return pulumi.get(self, "unhealthy_threshold") - - -@pulumi.output_type -class GetLoadBalancersLoadBalancerListenerResult(dict): - def __init__(__self__, *, - backend_port: int, - backend_protocol: str, - load_balancer_port: int, - load_balancer_protocol: str, - policy_names: Sequence[str], - server_certificate_id: str): - """ - :param int backend_port: The port on which the back-end VM is listening (between `1` and `65535`, both included). - :param str backend_protocol: The protocol for routing traffic to back-end VMs (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - :param int load_balancer_port: The port on which the load balancer is listening (between `1` and `65535`, both included). - :param str load_balancer_protocol: The routing protocol (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - :param Sequence[str] policy_names: The names of the policies. If there are no policies enabled, the list is empty. - :param str server_certificate_id: The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > OUTSCALE Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - """ - pulumi.set(__self__, "backend_port", backend_port) - pulumi.set(__self__, "backend_protocol", backend_protocol) - pulumi.set(__self__, "load_balancer_port", load_balancer_port) - pulumi.set(__self__, "load_balancer_protocol", load_balancer_protocol) - pulumi.set(__self__, "policy_names", policy_names) - pulumi.set(__self__, "server_certificate_id", server_certificate_id) - - @property - @pulumi.getter(name="backendPort") - def backend_port(self) -> int: - """ - The port on which the back-end VM is listening (between `1` and `65535`, both included). - """ - return pulumi.get(self, "backend_port") - - @property - @pulumi.getter(name="backendProtocol") - def backend_protocol(self) -> str: - """ - The protocol for routing traffic to back-end VMs (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - """ - return pulumi.get(self, "backend_protocol") - - @property - @pulumi.getter(name="loadBalancerPort") - def load_balancer_port(self) -> int: - """ - The port on which the load balancer is listening (between `1` and `65535`, both included). - """ - return pulumi.get(self, "load_balancer_port") - - @property - @pulumi.getter(name="loadBalancerProtocol") - def load_balancer_protocol(self) -> str: - """ - The routing protocol (`HTTP` \\| `HTTPS` \\| `TCP` \\| `SSL`). - """ - return pulumi.get(self, "load_balancer_protocol") - - @property - @pulumi.getter(name="policyNames") - def policy_names(self) -> Sequence[str]: - """ - The names of the policies. If there are no policies enabled, the list is empty. - """ - return pulumi.get(self, "policy_names") - - @property - @pulumi.getter(name="serverCertificateId") - def server_certificate_id(self) -> str: - """ - The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > OUTSCALE Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - """ - return pulumi.get(self, "server_certificate_id") - - -@pulumi.output_type -class GetLoadBalancersLoadBalancerLoadBalancerStickyCookiePolicyResult(dict): - def __init__(__self__, *, - policy_name: str): - """ - :param str policy_name: The name of the stickiness policy. - """ - pulumi.set(__self__, "policy_name", policy_name) - - @property - @pulumi.getter(name="policyName") - def policy_name(self) -> str: - """ - The name of the stickiness policy. - """ - return pulumi.get(self, "policy_name") - - -@pulumi.output_type -class GetLoadBalancersLoadBalancerSourceSecurityGroupResult(dict): - def __init__(__self__, *, - security_group_account_id: str, - security_group_name: str): - """ - :param str security_group_account_id: The account ID of the owner of the security group. - :param str security_group_name: The name of the security group. - """ - pulumi.set(__self__, "security_group_account_id", security_group_account_id) - pulumi.set(__self__, "security_group_name", security_group_name) - - @property - @pulumi.getter(name="securityGroupAccountId") - def security_group_account_id(self) -> str: - """ - The account ID of the owner of the security group. - """ - return pulumi.get(self, "security_group_account_id") - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> str: - """ - The name of the security group. - """ - return pulumi.get(self, "security_group_name") - - -@pulumi.output_type -class GetLoadBalancersLoadBalancerTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetNatServiceFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetNatServicePublicIpResult(dict): - def __init__(__self__, *, - public_ip: str, - public_ip_id: str): - """ - :param str public_ip: The public IP associated with the NAT service. - :param str public_ip_id: The allocation ID of the public IP associated with the NAT service. - """ - pulumi.set(__self__, "public_ip", public_ip) - pulumi.set(__self__, "public_ip_id", public_ip_id) - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> str: - """ - The public IP associated with the NAT service. - """ - return pulumi.get(self, "public_ip") - - @property - @pulumi.getter(name="publicIpId") - def public_ip_id(self) -> str: - """ - The allocation ID of the public IP associated with the NAT service. - """ - return pulumi.get(self, "public_ip_id") - - -@pulumi.output_type -class GetNatServiceTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetNatServicesFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetNatServicesNatServiceResult(dict): - def __init__(__self__, *, - nat_service_id: str, - net_id: str, - public_ips: Sequence['outputs.GetNatServicesNatServicePublicIpResult'], - state: str, - subnet_id: str, - tags: Sequence['outputs.GetNatServicesNatServiceTagResult']): - """ - :param str nat_service_id: The ID of the NAT service. - :param str net_id: The ID of the Net in which the NAT service is. - :param Sequence['GetNatServicesNatServicePublicIpArgs'] public_ips: Information about the public IP or IPs associated with the NAT service. - :param str state: The state of the NAT service (`pending` \\| `available` \\| `deleting` \\| `deleted`). - :param str subnet_id: The ID of the Subnet in which the NAT service is. - :param Sequence['GetNatServicesNatServiceTagArgs'] tags: The key/value combinations of the tags associated with the NAT services, in the following format: `TAGKEY=TAGVALUE`. - """ - pulumi.set(__self__, "nat_service_id", nat_service_id) - pulumi.set(__self__, "net_id", net_id) - pulumi.set(__self__, "public_ips", public_ips) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="natServiceId") - def nat_service_id(self) -> str: - """ - The ID of the NAT service. - """ - return pulumi.get(self, "nat_service_id") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> str: - """ - The ID of the Net in which the NAT service is. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="publicIps") - def public_ips(self) -> Sequence['outputs.GetNatServicesNatServicePublicIpResult']: - """ - Information about the public IP or IPs associated with the NAT service. - """ - return pulumi.get(self, "public_ips") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the NAT service (`pending` \\| `available` \\| `deleting` \\| `deleted`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> str: - """ - The ID of the Subnet in which the NAT service is. - """ - return pulumi.get(self, "subnet_id") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetNatServicesNatServiceTagResult']: - """ - The key/value combinations of the tags associated with the NAT services, in the following format: `TAGKEY=TAGVALUE`. - """ - return pulumi.get(self, "tags") - - -@pulumi.output_type -class GetNatServicesNatServicePublicIpResult(dict): - def __init__(__self__, *, - public_ip: str, - public_ip_id: str): - """ - :param str public_ip: The public IP associated with the NAT service. - :param str public_ip_id: The allocation ID of the public IP associated with the NAT service. - """ - pulumi.set(__self__, "public_ip", public_ip) - pulumi.set(__self__, "public_ip_id", public_ip_id) - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> str: - """ - The public IP associated with the NAT service. - """ - return pulumi.get(self, "public_ip") - - @property - @pulumi.getter(name="publicIpId") - def public_ip_id(self) -> str: - """ - The allocation ID of the public IP associated with the NAT service. - """ - return pulumi.get(self, "public_ip_id") - - -@pulumi.output_type -class GetNatServicesNatServiceTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetNetAccessPointFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetNetAccessPointServicesFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetNetAccessPointServicesServiceResult(dict): - def __init__(__self__, *, - ip_ranges: Sequence[str], - service_id: str, - service_name: str): - """ - :param Sequence[str] ip_ranges: The list of network prefixes used by the service, in CIDR notation. - :param str service_id: The ID of the service. - :param str service_name: The name of the service. - """ - pulumi.set(__self__, "ip_ranges", ip_ranges) - pulumi.set(__self__, "service_id", service_id) - pulumi.set(__self__, "service_name", service_name) - - @property - @pulumi.getter(name="ipRanges") - def ip_ranges(self) -> Sequence[str]: - """ - The list of network prefixes used by the service, in CIDR notation. - """ - return pulumi.get(self, "ip_ranges") - - @property - @pulumi.getter(name="serviceId") - def service_id(self) -> str: - """ - The ID of the service. - """ - return pulumi.get(self, "service_id") - - @property - @pulumi.getter(name="serviceName") - def service_name(self) -> str: - """ - The name of the service. - """ - return pulumi.get(self, "service_name") - - -@pulumi.output_type -class GetNetAccessPointTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetNetAccessPointsFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetNetAccessPointsNetAccessPointResult(dict): - def __init__(__self__, *, - net_access_point_id: str, - net_id: str, - route_table_ids: Sequence[str], - service_name: str, - state: str, - tags: Sequence['outputs.GetNetAccessPointsNetAccessPointTagResult']): - """ - :param str net_access_point_id: The ID of the Net access point. - :param str net_id: The ID of the Net with which the Net access point is associated. - :param Sequence[str] route_table_ids: The ID of the route tables associated with the Net access point. - :param str service_name: The name of the service with which the Net access point is associated. - :param str state: The state of the Net access point (`pending` \\| `available` \\| `deleting` \\| `deleted`). - :param Sequence['GetNetAccessPointsNetAccessPointTagArgs'] tags: The key/value combinations of the tags associated with the Net access points, in the following format: `TAGKEY=TAGVALUE`. - """ - pulumi.set(__self__, "net_access_point_id", net_access_point_id) - pulumi.set(__self__, "net_id", net_id) - pulumi.set(__self__, "route_table_ids", route_table_ids) - pulumi.set(__self__, "service_name", service_name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="netAccessPointId") - def net_access_point_id(self) -> str: - """ - The ID of the Net access point. - """ - return pulumi.get(self, "net_access_point_id") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> str: - """ - The ID of the Net with which the Net access point is associated. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="routeTableIds") - def route_table_ids(self) -> Sequence[str]: - """ - The ID of the route tables associated with the Net access point. - """ - return pulumi.get(self, "route_table_ids") - - @property - @pulumi.getter(name="serviceName") - def service_name(self) -> str: - """ - The name of the service with which the Net access point is associated. - """ - return pulumi.get(self, "service_name") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the Net access point (`pending` \\| `available` \\| `deleting` \\| `deleted`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetNetAccessPointsNetAccessPointTagResult']: - """ - The key/value combinations of the tags associated with the Net access points, in the following format: `TAGKEY=TAGVALUE`. - """ - return pulumi.get(self, "tags") - - -@pulumi.output_type -class GetNetAccessPointsNetAccessPointTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetNetAttributesTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetNetFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetNetPeeringAccepterNetResult(dict): - def __init__(__self__, *, - account_id: str, - ip_range: str, - net_id: str): - """ - :param str account_id: The account ID of the owner of the source Net. - :param str ip_range: The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - :param str net_id: The ID of the source Net. - """ - pulumi.set(__self__, "account_id", account_id) - pulumi.set(__self__, "ip_range", ip_range) - pulumi.set(__self__, "net_id", net_id) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> str: - """ - The account ID of the owner of the source Net. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter(name="ipRange") - def ip_range(self) -> str: - """ - The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - """ - return pulumi.get(self, "ip_range") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> str: - """ - The ID of the source Net. - """ - return pulumi.get(self, "net_id") - - -@pulumi.output_type -class GetNetPeeringFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - """ - :param str name: The state of the Net peering (`pending-acceptance` \\| `active` \\| `rejected` \\| `failed` \\| `expired` \\| `deleted`). - """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - """ - The state of the Net peering (`pending-acceptance` \\| `active` \\| `rejected` \\| `failed` \\| `expired` \\| `deleted`). - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetNetPeeringSourceNetResult(dict): - def __init__(__self__, *, - account_id: str, - ip_range: str, - net_id: str): - """ - :param str account_id: The account ID of the owner of the source Net. - :param str ip_range: The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - :param str net_id: The ID of the source Net. - """ - pulumi.set(__self__, "account_id", account_id) - pulumi.set(__self__, "ip_range", ip_range) - pulumi.set(__self__, "net_id", net_id) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> str: - """ - The account ID of the owner of the source Net. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter(name="ipRange") - def ip_range(self) -> str: - """ - The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - """ - return pulumi.get(self, "ip_range") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> str: - """ - The ID of the source Net. - """ - return pulumi.get(self, "net_id") - - -@pulumi.output_type -class GetNetPeeringStateResult(dict): - def __init__(__self__, *, - message: str, - name: str): - """ - :param str message: Additional information about the state of the Net peering. - :param str name: The state of the Net peering (`pending-acceptance` \\| `active` \\| `rejected` \\| `failed` \\| `expired` \\| `deleted`). - """ - pulumi.set(__self__, "message", message) - pulumi.set(__self__, "name", name) - - @property - @pulumi.getter - def message(self) -> str: - """ - Additional information about the state of the Net peering. - """ - return pulumi.get(self, "message") - - @property - @pulumi.getter - def name(self) -> str: - """ - The state of the Net peering (`pending-acceptance` \\| `active` \\| `rejected` \\| `failed` \\| `expired` \\| `deleted`). - """ - return pulumi.get(self, "name") - - -@pulumi.output_type -class GetNetPeeringTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetNetPeeringsFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - """ - :param str name: The state of the Net peering (`pending-acceptance` \\| `active` \\| `rejected` \\| `failed` \\| `expired` \\| `deleted`). - """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - """ - The state of the Net peering (`pending-acceptance` \\| `active` \\| `rejected` \\| `failed` \\| `expired` \\| `deleted`). - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetNetPeeringsNetPeeringResult(dict): - def __init__(__self__, *, - accepter_nets: Sequence['outputs.GetNetPeeringsNetPeeringAccepterNetResult'], - net_peering_id: str, - source_nets: Sequence['outputs.GetNetPeeringsNetPeeringSourceNetResult'], - states: Sequence['outputs.GetNetPeeringsNetPeeringStateResult'], - tags: Sequence['outputs.GetNetPeeringsNetPeeringTagResult']): - """ - :param Sequence['GetNetPeeringsNetPeeringAccepterNetArgs'] accepter_nets: Information about the accepter Net. - :param str net_peering_id: The ID of the Net peering. - :param Sequence['GetNetPeeringsNetPeeringSourceNetArgs'] source_nets: Information about the source Net. - :param Sequence['GetNetPeeringsNetPeeringStateArgs'] states: Information about the state of the Net peering. - :param Sequence['GetNetPeeringsNetPeeringTagArgs'] tags: The key/value combinations of the tags associated with the Net peerings, in the following format: `TAGKEY=TAGVALUE`. - """ - pulumi.set(__self__, "accepter_nets", accepter_nets) - pulumi.set(__self__, "net_peering_id", net_peering_id) - pulumi.set(__self__, "source_nets", source_nets) - pulumi.set(__self__, "states", states) - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="accepterNets") - def accepter_nets(self) -> Sequence['outputs.GetNetPeeringsNetPeeringAccepterNetResult']: - """ - Information about the accepter Net. - """ - return pulumi.get(self, "accepter_nets") - - @property - @pulumi.getter(name="netPeeringId") - def net_peering_id(self) -> str: - """ - The ID of the Net peering. - """ - return pulumi.get(self, "net_peering_id") - - @property - @pulumi.getter(name="sourceNets") - def source_nets(self) -> Sequence['outputs.GetNetPeeringsNetPeeringSourceNetResult']: - """ - Information about the source Net. - """ - return pulumi.get(self, "source_nets") - - @property - @pulumi.getter - def states(self) -> Sequence['outputs.GetNetPeeringsNetPeeringStateResult']: - """ - Information about the state of the Net peering. - """ - return pulumi.get(self, "states") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetNetPeeringsNetPeeringTagResult']: - """ - The key/value combinations of the tags associated with the Net peerings, in the following format: `TAGKEY=TAGVALUE`. - """ - return pulumi.get(self, "tags") - - -@pulumi.output_type -class GetNetPeeringsNetPeeringAccepterNetResult(dict): - def __init__(__self__, *, - account_id: str, - ip_range: str, - net_id: str): - """ - :param str account_id: The account ID of the owner of the source Net. - :param str ip_range: The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - :param str net_id: The ID of the source Net. - """ - pulumi.set(__self__, "account_id", account_id) - pulumi.set(__self__, "ip_range", ip_range) - pulumi.set(__self__, "net_id", net_id) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> str: - """ - The account ID of the owner of the source Net. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter(name="ipRange") - def ip_range(self) -> str: - """ - The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - """ - return pulumi.get(self, "ip_range") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> str: - """ - The ID of the source Net. - """ - return pulumi.get(self, "net_id") - - -@pulumi.output_type -class GetNetPeeringsNetPeeringSourceNetResult(dict): - def __init__(__self__, *, - account_id: str, - ip_range: str, - net_id: str): - """ - :param str account_id: The account ID of the owner of the source Net. - :param str ip_range: The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - :param str net_id: The ID of the source Net. - """ - pulumi.set(__self__, "account_id", account_id) - pulumi.set(__self__, "ip_range", ip_range) - pulumi.set(__self__, "net_id", net_id) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> str: - """ - The account ID of the owner of the source Net. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter(name="ipRange") - def ip_range(self) -> str: - """ - The IP range for the source Net, in CIDR notation (for example, `10.0.0.0/16`). - """ - return pulumi.get(self, "ip_range") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> str: - """ - The ID of the source Net. - """ - return pulumi.get(self, "net_id") - - -@pulumi.output_type -class GetNetPeeringsNetPeeringStateResult(dict): - def __init__(__self__, *, - message: str, - name: str): - """ - :param str message: Additional information about the state of the Net peering. - :param str name: The state of the Net peering (`pending-acceptance` \\| `active` \\| `rejected` \\| `failed` \\| `expired` \\| `deleted`). - """ - pulumi.set(__self__, "message", message) - pulumi.set(__self__, "name", name) - - @property - @pulumi.getter - def message(self) -> str: - """ - Additional information about the state of the Net peering. - """ - return pulumi.get(self, "message") - - @property - @pulumi.getter - def name(self) -> str: - """ - The state of the Net peering (`pending-acceptance` \\| `active` \\| `rejected` \\| `failed` \\| `expired` \\| `deleted`). - """ - return pulumi.get(self, "name") - - -@pulumi.output_type -class GetNetPeeringsNetPeeringTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetNetTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetNetsFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetNetsNetResult(dict): - def __init__(__self__, *, - dhcp_options_set_id: str, - ip_range: str, - net_id: str, - state: str, - tags: Sequence['outputs.GetNetsNetTagResult'], - tenancy: str): - """ - :param str dhcp_options_set_id: The ID of the DHCP options set (or `default` if you want to associate the default one). - :param str ip_range: The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). - :param str net_id: The ID of the Net. - :param str state: The state of the Net (`pending` \\| `available` \\| `deleted`). - :param Sequence['GetNetsNetTagArgs'] tags: The key/value combinations of the tags associated with the Nets, in the following format: `TAGKEY=TAGVALUE`. - :param str tenancy: The VM tenancy in a Net. - """ - pulumi.set(__self__, "dhcp_options_set_id", dhcp_options_set_id) - pulumi.set(__self__, "ip_range", ip_range) - pulumi.set(__self__, "net_id", net_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy", tenancy) - - @property - @pulumi.getter(name="dhcpOptionsSetId") - def dhcp_options_set_id(self) -> str: - """ - The ID of the DHCP options set (or `default` if you want to associate the default one). - """ - return pulumi.get(self, "dhcp_options_set_id") - - @property - @pulumi.getter(name="ipRange") - def ip_range(self) -> str: - """ - The IP range for the Net, in CIDR notation (for example, `10.0.0.0/16`). - """ - return pulumi.get(self, "ip_range") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> str: - """ - The ID of the Net. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the Net (`pending` \\| `available` \\| `deleted`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetNetsNetTagResult']: - """ - The key/value combinations of the tags associated with the Nets, in the following format: `TAGKEY=TAGVALUE`. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter - def tenancy(self) -> str: - """ - The VM tenancy in a Net. - """ - return pulumi.get(self, "tenancy") - - -@pulumi.output_type -class GetNetsNetTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetNicFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetNicLinkNicResult(dict): - def __init__(__self__, *, - delete_on_vm_deletion: str, - device_number: int, - link_nic_id: str, - state: str, - vm_account_id: str, - vm_id: str): - """ - :param str delete_on_vm_deletion: If true, the NIC is deleted when the VM is terminated. - :param int device_number: The device index for the NIC attachment (between `1` and `7`, both included). - :param str link_nic_id: The ID of the NIC to attach. - :param str state: The state of the NIC (`available` \\| `attaching` \\| `in-use` \\| `detaching`). - :param str vm_account_id: The account ID of the owner of the VM. - :param str vm_id: The ID of the VM. - """ - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - pulumi.set(__self__, "device_number", device_number) - pulumi.set(__self__, "link_nic_id", link_nic_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "vm_account_id", vm_account_id) - pulumi.set(__self__, "vm_id", vm_id) - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> str: - """ - If true, the NIC is deleted when the VM is terminated. - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @property - @pulumi.getter(name="deviceNumber") - def device_number(self) -> int: - """ - The device index for the NIC attachment (between `1` and `7`, both included). - """ - return pulumi.get(self, "device_number") - - @property - @pulumi.getter(name="linkNicId") - def link_nic_id(self) -> str: - """ - The ID of the NIC to attach. - """ - return pulumi.get(self, "link_nic_id") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the NIC (`available` \\| `attaching` \\| `in-use` \\| `detaching`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="vmAccountId") - def vm_account_id(self) -> str: - """ - The account ID of the owner of the VM. - """ - return pulumi.get(self, "vm_account_id") - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> str: - """ - The ID of the VM. - """ - return pulumi.get(self, "vm_id") - - -@pulumi.output_type -class GetNicLinkPublicIpResult(dict): - def __init__(__self__, *, - link_public_ip_id: str, - public_dns_name: str, - public_ip_account_id: str, - public_ip_id: str): - """ - :param str link_public_ip_id: (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - :param str public_dns_name: The name of the public DNS. - :param str public_ip_account_id: The account ID of the owner of the public IP. - :param str public_ip_id: The allocation ID of the public IP. - """ - pulumi.set(__self__, "link_public_ip_id", link_public_ip_id) - pulumi.set(__self__, "public_dns_name", public_dns_name) - pulumi.set(__self__, "public_ip_account_id", public_ip_account_id) - pulumi.set(__self__, "public_ip_id", public_ip_id) - - @property - @pulumi.getter(name="linkPublicIpId") - def link_public_ip_id(self) -> str: - """ - (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - """ - return pulumi.get(self, "link_public_ip_id") - - @property - @pulumi.getter(name="publicDnsName") - def public_dns_name(self) -> str: - """ - The name of the public DNS. - """ - return pulumi.get(self, "public_dns_name") - - @property - @pulumi.getter(name="publicIpAccountId") - def public_ip_account_id(self) -> str: - """ - The account ID of the owner of the public IP. - """ - return pulumi.get(self, "public_ip_account_id") - - @property - @pulumi.getter(name="publicIpId") - def public_ip_id(self) -> str: - """ - The allocation ID of the public IP. - """ - return pulumi.get(self, "public_ip_id") - - -@pulumi.output_type -class GetNicPrivateIpResult(dict): - def __init__(__self__, *, - is_primary: bool, - link_public_ips: Sequence['outputs.GetNicPrivateIpLinkPublicIpResult'], - private_dns_name: str, - private_ip: str): - """ - :param bool is_primary: If true, the IP is the primary private IP of the NIC. - :param Sequence['GetNicPrivateIpLinkPublicIpArgs'] link_public_ips: Information about the public IP association. - :param str private_dns_name: The name of the private DNS. - :param str private_ip: The private IP of the NIC. - """ - pulumi.set(__self__, "is_primary", is_primary) - pulumi.set(__self__, "link_public_ips", link_public_ips) - pulumi.set(__self__, "private_dns_name", private_dns_name) - pulumi.set(__self__, "private_ip", private_ip) - - @property - @pulumi.getter(name="isPrimary") - def is_primary(self) -> bool: - """ - If true, the IP is the primary private IP of the NIC. - """ - return pulumi.get(self, "is_primary") - - @property - @pulumi.getter(name="linkPublicIps") - def link_public_ips(self) -> Sequence['outputs.GetNicPrivateIpLinkPublicIpResult']: - """ - Information about the public IP association. - """ - return pulumi.get(self, "link_public_ips") - - @property - @pulumi.getter(name="privateDnsName") - def private_dns_name(self) -> str: - """ - The name of the private DNS. - """ - return pulumi.get(self, "private_dns_name") - - @property - @pulumi.getter(name="privateIp") - def private_ip(self) -> str: - """ - The private IP of the NIC. - """ - return pulumi.get(self, "private_ip") - - -@pulumi.output_type -class GetNicPrivateIpLinkPublicIpResult(dict): - def __init__(__self__, *, - link_public_ip_id: str, - public_dns_name: str, - public_ip: str, - public_ip_account_id: str, - public_ip_id: str): - """ - :param str link_public_ip_id: (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - :param str public_dns_name: The name of the public DNS. - :param str public_ip: The public IP associated with the NIC. - :param str public_ip_account_id: The account ID of the owner of the public IP. - :param str public_ip_id: The allocation ID of the public IP. - """ - pulumi.set(__self__, "link_public_ip_id", link_public_ip_id) - pulumi.set(__self__, "public_dns_name", public_dns_name) - pulumi.set(__self__, "public_ip", public_ip) - pulumi.set(__self__, "public_ip_account_id", public_ip_account_id) - pulumi.set(__self__, "public_ip_id", public_ip_id) - - @property - @pulumi.getter(name="linkPublicIpId") - def link_public_ip_id(self) -> str: - """ - (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - """ - return pulumi.get(self, "link_public_ip_id") - - @property - @pulumi.getter(name="publicDnsName") - def public_dns_name(self) -> str: - """ - The name of the public DNS. - """ - return pulumi.get(self, "public_dns_name") - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> str: - """ - The public IP associated with the NIC. - """ - return pulumi.get(self, "public_ip") - - @property - @pulumi.getter(name="publicIpAccountId") - def public_ip_account_id(self) -> str: - """ - The account ID of the owner of the public IP. - """ - return pulumi.get(self, "public_ip_account_id") - - @property - @pulumi.getter(name="publicIpId") - def public_ip_id(self) -> str: - """ - The allocation ID of the public IP. - """ - return pulumi.get(self, "public_ip_id") - - -@pulumi.output_type -class GetNicSecurityGroupResult(dict): - def __init__(__self__, *, - security_group_id: str, - security_group_name: str): - """ - :param str security_group_id: The ID of the security group. - :param str security_group_name: The name of the security group. - """ - pulumi.set(__self__, "security_group_id", security_group_id) - pulumi.set(__self__, "security_group_name", security_group_name) - - @property - @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> str: - """ - The ID of the security group. - """ - return pulumi.get(self, "security_group_id") - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> str: - """ - The name of the security group. - """ - return pulumi.get(self, "security_group_name") - - -@pulumi.output_type -class GetNicTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetNicsFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetNicsNicResult(dict): - def __init__(__self__, *, - account_id: str, - description: str, - is_source_dest_checked: bool, - link_nics: Sequence['outputs.GetNicsNicLinkNicResult'], - link_public_ips: Sequence['outputs.GetNicsNicLinkPublicIpResult'], - mac_address: str, - net_id: str, - nic_id: str, - private_dns_name: str, - private_ips: Sequence['outputs.GetNicsNicPrivateIpResult'], - security_groups: Sequence['outputs.GetNicsNicSecurityGroupResult'], - state: str, - subnet_id: str, - subregion_name: str, - tags: Sequence['outputs.GetNicsNicTagResult']): - """ - :param str account_id: The account ID of the owner of the NIC. - :param str description: The description of the NIC. - :param bool is_source_dest_checked: (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - :param Sequence['GetNicsNicLinkNicArgs'] link_nics: Information about the NIC attachment. - :param Sequence['GetNicsNicLinkPublicIpArgs'] link_public_ips: Information about the public IP association. - :param str mac_address: The Media Access Control (MAC) address of the NIC. - :param str net_id: The ID of the Net for the NIC. - :param str nic_id: The ID of the NIC. - :param str private_dns_name: The name of the private DNS. - :param Sequence['GetNicsNicPrivateIpArgs'] private_ips: The private IPs of the NIC. - :param Sequence['GetNicsNicSecurityGroupArgs'] security_groups: One or more IDs of security groups for the NIC. - :param str state: The state of the NIC (`available` \\| `attaching` \\| `in-use` \\| `detaching`). - :param str subnet_id: The ID of the Subnet. - :param str subregion_name: The Subregion in which the NIC is located. - :param Sequence['GetNicsNicTagArgs'] tags: The key/value combinations of the tags associated with the NICs, in the following format: `TAGKEY=TAGVALUE`. - """ - pulumi.set(__self__, "account_id", account_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "is_source_dest_checked", is_source_dest_checked) - pulumi.set(__self__, "link_nics", link_nics) - pulumi.set(__self__, "link_public_ips", link_public_ips) - pulumi.set(__self__, "mac_address", mac_address) - pulumi.set(__self__, "net_id", net_id) - pulumi.set(__self__, "nic_id", nic_id) - pulumi.set(__self__, "private_dns_name", private_dns_name) - pulumi.set(__self__, "private_ips", private_ips) - pulumi.set(__self__, "security_groups", security_groups) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "subregion_name", subregion_name) - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> str: - """ - The account ID of the owner of the NIC. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter - def description(self) -> str: - """ - The description of the NIC. - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter(name="isSourceDestChecked") - def is_source_dest_checked(self) -> bool: - """ - (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - """ - return pulumi.get(self, "is_source_dest_checked") - - @property - @pulumi.getter(name="linkNics") - def link_nics(self) -> Sequence['outputs.GetNicsNicLinkNicResult']: - """ - Information about the NIC attachment. - """ - return pulumi.get(self, "link_nics") - - @property - @pulumi.getter(name="linkPublicIps") - def link_public_ips(self) -> Sequence['outputs.GetNicsNicLinkPublicIpResult']: - """ - Information about the public IP association. - """ - return pulumi.get(self, "link_public_ips") - - @property - @pulumi.getter(name="macAddress") - def mac_address(self) -> str: - """ - The Media Access Control (MAC) address of the NIC. - """ - return pulumi.get(self, "mac_address") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> str: - """ - The ID of the Net for the NIC. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="nicId") - def nic_id(self) -> str: - """ - The ID of the NIC. - """ - return pulumi.get(self, "nic_id") - - @property - @pulumi.getter(name="privateDnsName") - def private_dns_name(self) -> str: - """ - The name of the private DNS. - """ - return pulumi.get(self, "private_dns_name") - - @property - @pulumi.getter(name="privateIps") - def private_ips(self) -> Sequence['outputs.GetNicsNicPrivateIpResult']: - """ - The private IPs of the NIC. - """ - return pulumi.get(self, "private_ips") - - @property - @pulumi.getter(name="securityGroups") - def security_groups(self) -> Sequence['outputs.GetNicsNicSecurityGroupResult']: - """ - One or more IDs of security groups for the NIC. - """ - return pulumi.get(self, "security_groups") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the NIC (`available` \\| `attaching` \\| `in-use` \\| `detaching`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> str: - """ - The ID of the Subnet. - """ - return pulumi.get(self, "subnet_id") - - @property - @pulumi.getter(name="subregionName") - def subregion_name(self) -> str: - """ - The Subregion in which the NIC is located. - """ - return pulumi.get(self, "subregion_name") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetNicsNicTagResult']: - """ - The key/value combinations of the tags associated with the NICs, in the following format: `TAGKEY=TAGVALUE`. - """ - return pulumi.get(self, "tags") - - -@pulumi.output_type -class GetNicsNicLinkNicResult(dict): - def __init__(__self__, *, - delete_on_vm_deletion: bool, - device_number: int, - link_nic_id: str, - state: str, - vm_account_id: str, - vm_id: str): - """ - :param bool delete_on_vm_deletion: If true, the NIC is deleted when the VM is terminated. - :param int device_number: The device index for the NIC attachment (between `1` and `7`, both included). - :param str link_nic_id: The ID of the NIC to attach. - :param str state: The state of the NIC (`available` \\| `attaching` \\| `in-use` \\| `detaching`). - :param str vm_account_id: The account ID of the owner of the VM. - :param str vm_id: The ID of the VM. - """ - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - pulumi.set(__self__, "device_number", device_number) - pulumi.set(__self__, "link_nic_id", link_nic_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "vm_account_id", vm_account_id) - pulumi.set(__self__, "vm_id", vm_id) - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> bool: - """ - If true, the NIC is deleted when the VM is terminated. - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @property - @pulumi.getter(name="deviceNumber") - def device_number(self) -> int: - """ - The device index for the NIC attachment (between `1` and `7`, both included). - """ - return pulumi.get(self, "device_number") - - @property - @pulumi.getter(name="linkNicId") - def link_nic_id(self) -> str: - """ - The ID of the NIC to attach. - """ - return pulumi.get(self, "link_nic_id") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the NIC (`available` \\| `attaching` \\| `in-use` \\| `detaching`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="vmAccountId") - def vm_account_id(self) -> str: - """ - The account ID of the owner of the VM. - """ - return pulumi.get(self, "vm_account_id") - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> str: - """ - The ID of the VM. - """ - return pulumi.get(self, "vm_id") - - -@pulumi.output_type -class GetNicsNicLinkPublicIpResult(dict): - def __init__(__self__, *, - link_public_ip_id: str, - public_dns_name: str, - public_ip: str, - public_ip_account_id: str, - public_ip_id: str): - """ - :param str link_public_ip_id: (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - :param str public_dns_name: The name of the public DNS. - :param str public_ip: The public IP associated with the NIC. - :param str public_ip_account_id: The account ID of the owner of the public IP. - :param str public_ip_id: The allocation ID of the public IP. - """ - pulumi.set(__self__, "link_public_ip_id", link_public_ip_id) - pulumi.set(__self__, "public_dns_name", public_dns_name) - pulumi.set(__self__, "public_ip", public_ip) - pulumi.set(__self__, "public_ip_account_id", public_ip_account_id) - pulumi.set(__self__, "public_ip_id", public_ip_id) - - @property - @pulumi.getter(name="linkPublicIpId") - def link_public_ip_id(self) -> str: - """ - (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - """ - return pulumi.get(self, "link_public_ip_id") - - @property - @pulumi.getter(name="publicDnsName") - def public_dns_name(self) -> str: - """ - The name of the public DNS. - """ - return pulumi.get(self, "public_dns_name") - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> str: - """ - The public IP associated with the NIC. - """ - return pulumi.get(self, "public_ip") - - @property - @pulumi.getter(name="publicIpAccountId") - def public_ip_account_id(self) -> str: - """ - The account ID of the owner of the public IP. - """ - return pulumi.get(self, "public_ip_account_id") - - @property - @pulumi.getter(name="publicIpId") - def public_ip_id(self) -> str: - """ - The allocation ID of the public IP. - """ - return pulumi.get(self, "public_ip_id") - - -@pulumi.output_type -class GetNicsNicPrivateIpResult(dict): - def __init__(__self__, *, - is_primary: bool, - link_public_ips: Sequence['outputs.GetNicsNicPrivateIpLinkPublicIpResult'], - private_dns_name: str, - private_ip: str): - """ - :param bool is_primary: If true, the IP is the primary private IP of the NIC. - :param Sequence['GetNicsNicPrivateIpLinkPublicIpArgs'] link_public_ips: Information about the public IP association. - :param str private_dns_name: The name of the private DNS. - :param str private_ip: The private IP of the NIC. - """ - pulumi.set(__self__, "is_primary", is_primary) - pulumi.set(__self__, "link_public_ips", link_public_ips) - pulumi.set(__self__, "private_dns_name", private_dns_name) - pulumi.set(__self__, "private_ip", private_ip) - - @property - @pulumi.getter(name="isPrimary") - def is_primary(self) -> bool: - """ - If true, the IP is the primary private IP of the NIC. - """ - return pulumi.get(self, "is_primary") - - @property - @pulumi.getter(name="linkPublicIps") - def link_public_ips(self) -> Sequence['outputs.GetNicsNicPrivateIpLinkPublicIpResult']: - """ - Information about the public IP association. - """ - return pulumi.get(self, "link_public_ips") - - @property - @pulumi.getter(name="privateDnsName") - def private_dns_name(self) -> str: - """ - The name of the private DNS. - """ - return pulumi.get(self, "private_dns_name") - - @property - @pulumi.getter(name="privateIp") - def private_ip(self) -> str: - """ - The private IP of the NIC. - """ - return pulumi.get(self, "private_ip") - - -@pulumi.output_type -class GetNicsNicPrivateIpLinkPublicIpResult(dict): - def __init__(__self__, *, - link_public_ip_id: str, - public_dns_name: str, - public_ip: str, - public_ip_account_id: str, - public_ip_id: str): - """ - :param str link_public_ip_id: (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - :param str public_dns_name: The name of the public DNS. - :param str public_ip: The public IP associated with the NIC. - :param str public_ip_account_id: The account ID of the owner of the public IP. - :param str public_ip_id: The allocation ID of the public IP. - """ - pulumi.set(__self__, "link_public_ip_id", link_public_ip_id) - pulumi.set(__self__, "public_dns_name", public_dns_name) - pulumi.set(__self__, "public_ip", public_ip) - pulumi.set(__self__, "public_ip_account_id", public_ip_account_id) - pulumi.set(__self__, "public_ip_id", public_ip_id) - - @property - @pulumi.getter(name="linkPublicIpId") - def link_public_ip_id(self) -> str: - """ - (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - """ - return pulumi.get(self, "link_public_ip_id") - - @property - @pulumi.getter(name="publicDnsName") - def public_dns_name(self) -> str: - """ - The name of the public DNS. - """ - return pulumi.get(self, "public_dns_name") - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> str: - """ - The public IP associated with the NIC. - """ - return pulumi.get(self, "public_ip") - - @property - @pulumi.getter(name="publicIpAccountId") - def public_ip_account_id(self) -> str: - """ - The account ID of the owner of the public IP. - """ - return pulumi.get(self, "public_ip_account_id") - - @property - @pulumi.getter(name="publicIpId") - def public_ip_id(self) -> str: - """ - The allocation ID of the public IP. - """ - return pulumi.get(self, "public_ip_id") - - -@pulumi.output_type -class GetNicsNicSecurityGroupResult(dict): - def __init__(__self__, *, - security_group_id: str, - security_group_name: str): - """ - :param str security_group_id: The ID of the security group. - :param str security_group_name: The name of the security group. - """ - pulumi.set(__self__, "security_group_id", security_group_id) - pulumi.set(__self__, "security_group_name", security_group_name) - - @property - @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> str: - """ - The ID of the security group. - """ - return pulumi.get(self, "security_group_id") - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> str: - """ - The name of the security group. - """ - return pulumi.get(self, "security_group_name") - - -@pulumi.output_type -class GetNicsNicTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetProductTypeFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetProductTypesFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetProductTypesProductTypeResult(dict): - def __init__(__self__, *, - description: str, - product_type_id: str, - vendor: str): - """ - :param str description: The description of the product type. - :param str product_type_id: The ID of the product type. - :param str vendor: The vendor of the product type. - """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "product_type_id", product_type_id) - pulumi.set(__self__, "vendor", vendor) - - @property - @pulumi.getter - def description(self) -> str: - """ - The description of the product type. - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter(name="productTypeId") - def product_type_id(self) -> str: - """ - The ID of the product type. - """ - return pulumi.get(self, "product_type_id") - - @property - @pulumi.getter - def vendor(self) -> str: - """ - The vendor of the product type. - """ - return pulumi.get(self, "vendor") - - -@pulumi.output_type -class GetPublicIpFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetPublicIpTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetPublicIpsFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetPublicIpsPublicIpResult(dict): - def __init__(__self__, *, - link_public_ip_id: str, - nic_account_id: str, - nic_id: str, - private_ip: str, - public_ip: str, - public_ip_id: str, - tags: Sequence['outputs.GetPublicIpsPublicIpTagResult'], - vm_id: str): - """ - :param str link_public_ip_id: (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - :param str nic_account_id: The account ID of the owner of the NIC. - :param str nic_id: The ID of the NIC the public IP is associated with (if any). - :param str private_ip: The private IP associated with the public IP. - :param str public_ip: The public IP. - :param str public_ip_id: The allocation ID of the public IP. - :param Sequence['GetPublicIpsPublicIpTagArgs'] tags: The key/value combinations of the tags associated with the public IPs, in the following format: `TAGKEY=TAGVALUE`. - :param str vm_id: The ID of the VM the public IP is associated with (if any). - """ - pulumi.set(__self__, "link_public_ip_id", link_public_ip_id) - pulumi.set(__self__, "nic_account_id", nic_account_id) - pulumi.set(__self__, "nic_id", nic_id) - pulumi.set(__self__, "private_ip", private_ip) - pulumi.set(__self__, "public_ip", public_ip) - pulumi.set(__self__, "public_ip_id", public_ip_id) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "vm_id", vm_id) - - @property - @pulumi.getter(name="linkPublicIpId") - def link_public_ip_id(self) -> str: - """ - (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - """ - return pulumi.get(self, "link_public_ip_id") - - @property - @pulumi.getter(name="nicAccountId") - def nic_account_id(self) -> str: - """ - The account ID of the owner of the NIC. - """ - return pulumi.get(self, "nic_account_id") - - @property - @pulumi.getter(name="nicId") - def nic_id(self) -> str: - """ - The ID of the NIC the public IP is associated with (if any). - """ - return pulumi.get(self, "nic_id") - - @property - @pulumi.getter(name="privateIp") - def private_ip(self) -> str: - """ - The private IP associated with the public IP. - """ - return pulumi.get(self, "private_ip") - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> str: - """ - The public IP. - """ - return pulumi.get(self, "public_ip") - - @property - @pulumi.getter(name="publicIpId") - def public_ip_id(self) -> str: - """ - The allocation ID of the public IP. - """ - return pulumi.get(self, "public_ip_id") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetPublicIpsPublicIpTagResult']: - """ - The key/value combinations of the tags associated with the public IPs, in the following format: `TAGKEY=TAGVALUE`. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> str: - """ - The ID of the VM the public IP is associated with (if any). - """ - return pulumi.get(self, "vm_id") - - -@pulumi.output_type -class GetPublicIpsPublicIpTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetPulicCatalogCatalogResult(dict): - def __init__(__self__, *, - entries: Sequence['outputs.GetPulicCatalogCatalogEntryResult']): - pulumi.set(__self__, "entries", entries) - - @property - @pulumi.getter - def entries(self) -> Sequence['outputs.GetPulicCatalogCatalogEntryResult']: - return pulumi.get(self, "entries") - - -@pulumi.output_type -class GetPulicCatalogCatalogEntryResult(dict): - def __init__(__self__, *, - category: str, - flags: str, - operation: str, - service: str, - subregion_name: str, - title: str, - type: str, - unit_price: float): - pulumi.set(__self__, "category", category) - pulumi.set(__self__, "flags", flags) - pulumi.set(__self__, "operation", operation) - pulumi.set(__self__, "service", service) - pulumi.set(__self__, "subregion_name", subregion_name) - pulumi.set(__self__, "title", title) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "unit_price", unit_price) - - @property - @pulumi.getter - def category(self) -> str: - return pulumi.get(self, "category") - - @property - @pulumi.getter - def flags(self) -> str: - return pulumi.get(self, "flags") - - @property - @pulumi.getter - def operation(self) -> str: - return pulumi.get(self, "operation") - - @property - @pulumi.getter - def service(self) -> str: - return pulumi.get(self, "service") - - @property - @pulumi.getter(name="subregionName") - def subregion_name(self) -> str: - return pulumi.get(self, "subregion_name") - - @property - @pulumi.getter - def title(self) -> str: - return pulumi.get(self, "title") - - @property - @pulumi.getter - def type(self) -> str: - return pulumi.get(self, "type") - - @property - @pulumi.getter(name="unitPrice") - def unit_price(self) -> float: - return pulumi.get(self, "unit_price") - - -@pulumi.output_type -class GetQuotaFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - """ - :param str name: The unique name of the quota. - """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - """ - The unique name of the quota. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetQuotasFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - """ - :param str name: The unique name of the quota. - """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - """ - The unique name of the quota. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetQuotasQuotaResult(dict): - def __init__(__self__, *, - account_id: str, - description: str, - max_value: int, - name: str, - quota_collection: str, - quota_type: str, - short_description: str, - used_value: int): - """ - :param str account_id: The account ID of the owner of the quotas. - :param str description: The description of the quota. - :param int max_value: The maximum value of the quota for the OUTSCALE user account (if there is no limit, `0`). - :param str name: The unique name of the quota. - :param str quota_collection: The group name of the quota. - :param str quota_type: The ressource ID if it is a resource-specific quota, `global` if it is not. - :param str short_description: The description of the quota. - :param int used_value: The limit value currently used by the OUTSCALE user account. - """ - pulumi.set(__self__, "account_id", account_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "max_value", max_value) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "quota_collection", quota_collection) - pulumi.set(__self__, "quota_type", quota_type) - pulumi.set(__self__, "short_description", short_description) - pulumi.set(__self__, "used_value", used_value) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> str: - """ - The account ID of the owner of the quotas. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter - def description(self) -> str: - """ - The description of the quota. - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter(name="maxValue") - def max_value(self) -> int: - """ - The maximum value of the quota for the OUTSCALE user account (if there is no limit, `0`). - """ - return pulumi.get(self, "max_value") - - @property - @pulumi.getter - def name(self) -> str: - """ - The unique name of the quota. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="quotaCollection") - def quota_collection(self) -> str: - """ - The group name of the quota. - """ - return pulumi.get(self, "quota_collection") - - @property - @pulumi.getter(name="quotaType") - def quota_type(self) -> str: - """ - The ressource ID if it is a resource-specific quota, `global` if it is not. - """ - return pulumi.get(self, "quota_type") - - @property - @pulumi.getter(name="shortDescription") - def short_description(self) -> str: - """ - The description of the quota. - """ - return pulumi.get(self, "short_description") - - @property - @pulumi.getter(name="usedValue") - def used_value(self) -> int: - """ - The limit value currently used by the OUTSCALE user account. - """ - return pulumi.get(self, "used_value") - - -@pulumi.output_type -class GetRegionsRegionResult(dict): - def __init__(__self__, *, - endpoint: str, - region_name: str): - """ - :param str endpoint: The hostname of the gateway to access the Region. - :param str region_name: The administrative name of the Region. - """ - pulumi.set(__self__, "endpoint", endpoint) - pulumi.set(__self__, "region_name", region_name) - - @property - @pulumi.getter - def endpoint(self) -> str: - """ - The hostname of the gateway to access the Region. - """ - return pulumi.get(self, "endpoint") - - @property - @pulumi.getter(name="regionName") - def region_name(self) -> str: - """ - The administrative name of the Region. - """ - return pulumi.get(self, "region_name") - - -@pulumi.output_type -class GetRouteTableFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetRouteTableLinkRouteTableResult(dict): - def __init__(__self__, *, - link_route_table_id: str, - main: bool, - route_table_id: str, - route_table_to_subnet_link_id: str, - subnet_id: str): - """ - :param str link_route_table_id: The ID of the association between the route table and the Subnet. - :param bool main: If true, the route table is the main one. - :param str route_table_id: The ID of the route table. - :param str subnet_id: The ID of the Subnet. - """ - pulumi.set(__self__, "link_route_table_id", link_route_table_id) - pulumi.set(__self__, "main", main) - pulumi.set(__self__, "route_table_id", route_table_id) - pulumi.set(__self__, "route_table_to_subnet_link_id", route_table_to_subnet_link_id) - pulumi.set(__self__, "subnet_id", subnet_id) - - @property - @pulumi.getter(name="linkRouteTableId") - def link_route_table_id(self) -> str: - """ - The ID of the association between the route table and the Subnet. - """ - return pulumi.get(self, "link_route_table_id") - - @property - @pulumi.getter - def main(self) -> bool: - """ - If true, the route table is the main one. - """ - return pulumi.get(self, "main") - - @property - @pulumi.getter(name="routeTableId") - def route_table_id(self) -> str: - """ - The ID of the route table. - """ - return pulumi.get(self, "route_table_id") - - @property - @pulumi.getter(name="routeTableToSubnetLinkId") - def route_table_to_subnet_link_id(self) -> str: - return pulumi.get(self, "route_table_to_subnet_link_id") - - @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> str: - """ - The ID of the Subnet. - """ - return pulumi.get(self, "subnet_id") - - -@pulumi.output_type -class GetRouteTableRouteResult(dict): - def __init__(__self__, *, - creation_method: str, - destination_ip_range: str, - destination_service_id: str, - gateway_id: str, - nat_service_id: str, - net_access_point_id: str, - net_peering_id: str, - nic_id: str, - state: str, - vm_account_id: str, - vm_id: str): - """ - :param str creation_method: The method used to create the route. - :param str destination_ip_range: The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - :param str destination_service_id: The ID of the OUTSCALE service. - :param str gateway_id: The ID of the Internet service or virtual gateway attached to the Net. - :param str nat_service_id: The ID of a NAT service attached to the Net. - :param str net_access_point_id: The ID of the Net access point. - :param str net_peering_id: The ID of the Net peering. - :param str nic_id: The ID of the NIC. - :param str state: The state of a route in the route table (always `active`). - :param str vm_account_id: The account ID of the owner of the VM. - :param str vm_id: The ID of a VM specified in a route in the table. - """ - pulumi.set(__self__, "creation_method", creation_method) - pulumi.set(__self__, "destination_ip_range", destination_ip_range) - pulumi.set(__self__, "destination_service_id", destination_service_id) - pulumi.set(__self__, "gateway_id", gateway_id) - pulumi.set(__self__, "nat_service_id", nat_service_id) - pulumi.set(__self__, "net_access_point_id", net_access_point_id) - pulumi.set(__self__, "net_peering_id", net_peering_id) - pulumi.set(__self__, "nic_id", nic_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "vm_account_id", vm_account_id) - pulumi.set(__self__, "vm_id", vm_id) - - @property - @pulumi.getter(name="creationMethod") - def creation_method(self) -> str: - """ - The method used to create the route. - """ - return pulumi.get(self, "creation_method") - - @property - @pulumi.getter(name="destinationIpRange") - def destination_ip_range(self) -> str: - """ - The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - """ - return pulumi.get(self, "destination_ip_range") - - @property - @pulumi.getter(name="destinationServiceId") - def destination_service_id(self) -> str: - """ - The ID of the OUTSCALE service. - """ - return pulumi.get(self, "destination_service_id") - - @property - @pulumi.getter(name="gatewayId") - def gateway_id(self) -> str: - """ - The ID of the Internet service or virtual gateway attached to the Net. - """ - return pulumi.get(self, "gateway_id") - - @property - @pulumi.getter(name="natServiceId") - def nat_service_id(self) -> str: - """ - The ID of a NAT service attached to the Net. - """ - return pulumi.get(self, "nat_service_id") - - @property - @pulumi.getter(name="netAccessPointId") - def net_access_point_id(self) -> str: - """ - The ID of the Net access point. - """ - return pulumi.get(self, "net_access_point_id") - - @property - @pulumi.getter(name="netPeeringId") - def net_peering_id(self) -> str: - """ - The ID of the Net peering. - """ - return pulumi.get(self, "net_peering_id") - - @property - @pulumi.getter(name="nicId") - def nic_id(self) -> str: - """ - The ID of the NIC. - """ - return pulumi.get(self, "nic_id") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of a route in the route table (always `active`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="vmAccountId") - def vm_account_id(self) -> str: - """ - The account ID of the owner of the VM. - """ - return pulumi.get(self, "vm_account_id") - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> str: - """ - The ID of a VM specified in a route in the table. - """ - return pulumi.get(self, "vm_id") - - -@pulumi.output_type -class GetRouteTableRoutePropagatingVirtualGatewayResult(dict): - def __init__(__self__, *, - virtual_gateway_id: str): - """ - :param str virtual_gateway_id: The ID of the virtual gateway. - """ - pulumi.set(__self__, "virtual_gateway_id", virtual_gateway_id) - - @property - @pulumi.getter(name="virtualGatewayId") - def virtual_gateway_id(self) -> str: - """ - The ID of the virtual gateway. - """ - return pulumi.get(self, "virtual_gateway_id") - - -@pulumi.output_type -class GetRouteTableTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetRouteTablesFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetRouteTablesRouteTableResult(dict): - def __init__(__self__, *, - link_route_tables: Sequence['outputs.GetRouteTablesRouteTableLinkRouteTableResult'], - net_id: str, - route_propagating_virtual_gateways: Sequence['outputs.GetRouteTablesRouteTableRoutePropagatingVirtualGatewayResult'], - route_table_id: str, - routes: Sequence['outputs.GetRouteTablesRouteTableRouteResult'], - tags: Sequence['outputs.GetRouteTablesRouteTableTagResult']): - """ - :param Sequence['GetRouteTablesRouteTableLinkRouteTableArgs'] link_route_tables: One or more associations between the route table and Subnets. - :param str net_id: The ID of the Net for the route table. - :param Sequence['GetRouteTablesRouteTableRoutePropagatingVirtualGatewayArgs'] route_propagating_virtual_gateways: Information about virtual gateways propagating routes. - :param str route_table_id: The ID of the route table. - :param Sequence['GetRouteTablesRouteTableRouteArgs'] routes: One or more routes in the route table. - :param Sequence['GetRouteTablesRouteTableTagArgs'] tags: The key/value combinations of the tags associated with the route tables, in the following format: `TAGKEY=TAGVALUE`. - """ - pulumi.set(__self__, "link_route_tables", link_route_tables) - pulumi.set(__self__, "net_id", net_id) - pulumi.set(__self__, "route_propagating_virtual_gateways", route_propagating_virtual_gateways) - pulumi.set(__self__, "route_table_id", route_table_id) - pulumi.set(__self__, "routes", routes) - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="linkRouteTables") - def link_route_tables(self) -> Sequence['outputs.GetRouteTablesRouteTableLinkRouteTableResult']: - """ - One or more associations between the route table and Subnets. - """ - return pulumi.get(self, "link_route_tables") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> str: - """ - The ID of the Net for the route table. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="routePropagatingVirtualGateways") - def route_propagating_virtual_gateways(self) -> Sequence['outputs.GetRouteTablesRouteTableRoutePropagatingVirtualGatewayResult']: - """ - Information about virtual gateways propagating routes. - """ - return pulumi.get(self, "route_propagating_virtual_gateways") - - @property - @pulumi.getter(name="routeTableId") - def route_table_id(self) -> str: - """ - The ID of the route table. - """ - return pulumi.get(self, "route_table_id") - - @property - @pulumi.getter - def routes(self) -> Sequence['outputs.GetRouteTablesRouteTableRouteResult']: - """ - One or more routes in the route table. - """ - return pulumi.get(self, "routes") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetRouteTablesRouteTableTagResult']: - """ - The key/value combinations of the tags associated with the route tables, in the following format: `TAGKEY=TAGVALUE`. - """ - return pulumi.get(self, "tags") - - -@pulumi.output_type -class GetRouteTablesRouteTableLinkRouteTableResult(dict): - def __init__(__self__, *, - link_route_table_id: str, - main: bool, - route_table_id: str, - route_table_to_subnet_link_id: str, - subnet_id: str): - """ - :param str link_route_table_id: The ID of the association between the route table and the Subnet. - :param bool main: If true, the route table is the main one. - :param str route_table_id: The ID of the route table. - :param str subnet_id: The ID of the Subnet. - """ - pulumi.set(__self__, "link_route_table_id", link_route_table_id) - pulumi.set(__self__, "main", main) - pulumi.set(__self__, "route_table_id", route_table_id) - pulumi.set(__self__, "route_table_to_subnet_link_id", route_table_to_subnet_link_id) - pulumi.set(__self__, "subnet_id", subnet_id) - - @property - @pulumi.getter(name="linkRouteTableId") - def link_route_table_id(self) -> str: - """ - The ID of the association between the route table and the Subnet. - """ - return pulumi.get(self, "link_route_table_id") - - @property - @pulumi.getter - def main(self) -> bool: - """ - If true, the route table is the main one. - """ - return pulumi.get(self, "main") - - @property - @pulumi.getter(name="routeTableId") - def route_table_id(self) -> str: - """ - The ID of the route table. - """ - return pulumi.get(self, "route_table_id") - - @property - @pulumi.getter(name="routeTableToSubnetLinkId") - def route_table_to_subnet_link_id(self) -> str: - return pulumi.get(self, "route_table_to_subnet_link_id") - - @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> str: - """ - The ID of the Subnet. - """ - return pulumi.get(self, "subnet_id") - - -@pulumi.output_type -class GetRouteTablesRouteTableRouteResult(dict): - def __init__(__self__, *, - creation_method: str, - destination_ip_range: str, - destination_service_id: str, - gateway_id: str, - nat_service_id: str, - net_access_point_id: str, - net_peering_id: str, - nic_id: str, - state: str, - vm_account_id: str, - vm_id: str): - """ - :param str creation_method: The method used to create the route. - :param str destination_ip_range: The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - :param str destination_service_id: The ID of the OUTSCALE service. - :param str gateway_id: The ID of the Internet service or virtual gateway attached to the Net. - :param str nat_service_id: The ID of a NAT service attached to the Net. - :param str net_access_point_id: The ID of the Net access point. - :param str net_peering_id: The ID of the Net peering. - :param str nic_id: The ID of the NIC. - :param str state: The state of a route in the route table (always `active`). - :param str vm_account_id: The account ID of the owner of the VM. - :param str vm_id: The ID of a VM specified in a route in the table. - """ - pulumi.set(__self__, "creation_method", creation_method) - pulumi.set(__self__, "destination_ip_range", destination_ip_range) - pulumi.set(__self__, "destination_service_id", destination_service_id) - pulumi.set(__self__, "gateway_id", gateway_id) - pulumi.set(__self__, "nat_service_id", nat_service_id) - pulumi.set(__self__, "net_access_point_id", net_access_point_id) - pulumi.set(__self__, "net_peering_id", net_peering_id) - pulumi.set(__self__, "nic_id", nic_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "vm_account_id", vm_account_id) - pulumi.set(__self__, "vm_id", vm_id) - - @property - @pulumi.getter(name="creationMethod") - def creation_method(self) -> str: - """ - The method used to create the route. - """ - return pulumi.get(self, "creation_method") - - @property - @pulumi.getter(name="destinationIpRange") - def destination_ip_range(self) -> str: - """ - The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - """ - return pulumi.get(self, "destination_ip_range") - - @property - @pulumi.getter(name="destinationServiceId") - def destination_service_id(self) -> str: - """ - The ID of the OUTSCALE service. - """ - return pulumi.get(self, "destination_service_id") - - @property - @pulumi.getter(name="gatewayId") - def gateway_id(self) -> str: - """ - The ID of the Internet service or virtual gateway attached to the Net. - """ - return pulumi.get(self, "gateway_id") - - @property - @pulumi.getter(name="natServiceId") - def nat_service_id(self) -> str: - """ - The ID of a NAT service attached to the Net. - """ - return pulumi.get(self, "nat_service_id") - - @property - @pulumi.getter(name="netAccessPointId") - def net_access_point_id(self) -> str: - """ - The ID of the Net access point. - """ - return pulumi.get(self, "net_access_point_id") - - @property - @pulumi.getter(name="netPeeringId") - def net_peering_id(self) -> str: - """ - The ID of the Net peering. - """ - return pulumi.get(self, "net_peering_id") - - @property - @pulumi.getter(name="nicId") - def nic_id(self) -> str: - """ - The ID of the NIC. - """ - return pulumi.get(self, "nic_id") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of a route in the route table (always `active`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="vmAccountId") - def vm_account_id(self) -> str: - """ - The account ID of the owner of the VM. - """ - return pulumi.get(self, "vm_account_id") - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> str: - """ - The ID of a VM specified in a route in the table. - """ - return pulumi.get(self, "vm_id") - - -@pulumi.output_type -class GetRouteTablesRouteTableRoutePropagatingVirtualGatewayResult(dict): - def __init__(__self__, *, - virtual_gateway_id: str): - """ - :param str virtual_gateway_id: The ID of the virtual gateway. - """ - pulumi.set(__self__, "virtual_gateway_id", virtual_gateway_id) - - @property - @pulumi.getter(name="virtualGatewayId") - def virtual_gateway_id(self) -> str: - """ - The ID of the virtual gateway. - """ - return pulumi.get(self, "virtual_gateway_id") - - -@pulumi.output_type -class GetRouteTablesRouteTableTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetSecurityGroupFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetSecurityGroupInboundRuleResult(dict): - def __init__(__self__, *, - from_port_range: int, - ip_protocol: str, - ip_ranges: Sequence[str], - prefix_list_ids: Sequence[str], - security_groups_members: Sequence['outputs.GetSecurityGroupInboundRuleSecurityGroupsMemberResult'], - to_port_range: int): - """ - :param int from_port_range: The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - :param str ip_protocol: The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - :param Sequence[str] ip_ranges: One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - :param Sequence['GetSecurityGroupInboundRuleSecurityGroupsMemberArgs'] security_groups_members: Information about one or more source or destination security groups. - :param int to_port_range: The end of the port range for the TCP and UDP protocols, or an ICMP code number. - """ - pulumi.set(__self__, "from_port_range", from_port_range) - pulumi.set(__self__, "ip_protocol", ip_protocol) - pulumi.set(__self__, "ip_ranges", ip_ranges) - pulumi.set(__self__, "prefix_list_ids", prefix_list_ids) - pulumi.set(__self__, "security_groups_members", security_groups_members) - pulumi.set(__self__, "to_port_range", to_port_range) - - @property - @pulumi.getter(name="fromPortRange") - def from_port_range(self) -> int: - """ - The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - """ - return pulumi.get(self, "from_port_range") - - @property - @pulumi.getter(name="ipProtocol") - def ip_protocol(self) -> str: - """ - The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - """ - return pulumi.get(self, "ip_protocol") - - @property - @pulumi.getter(name="ipRanges") - def ip_ranges(self) -> Sequence[str]: - """ - One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - """ - return pulumi.get(self, "ip_ranges") - - @property - @pulumi.getter(name="prefixListIds") - def prefix_list_ids(self) -> Sequence[str]: - return pulumi.get(self, "prefix_list_ids") - - @property - @pulumi.getter(name="securityGroupsMembers") - def security_groups_members(self) -> Sequence['outputs.GetSecurityGroupInboundRuleSecurityGroupsMemberResult']: - """ - Information about one or more source or destination security groups. - """ - return pulumi.get(self, "security_groups_members") - - @property - @pulumi.getter(name="toPortRange") - def to_port_range(self) -> int: - """ - The end of the port range for the TCP and UDP protocols, or an ICMP code number. - """ - return pulumi.get(self, "to_port_range") - - -@pulumi.output_type -class GetSecurityGroupInboundRuleSecurityGroupsMemberResult(dict): - def __init__(__self__, *, - account_id: str, - security_group_id: str, - security_group_name: str): - """ - :param str account_id: The account ID that owns the source or destination security group. - :param str security_group_id: The ID of the security group. - :param str security_group_name: The name of the security group. - """ - pulumi.set(__self__, "account_id", account_id) - pulumi.set(__self__, "security_group_id", security_group_id) - pulumi.set(__self__, "security_group_name", security_group_name) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> str: - """ - The account ID that owns the source or destination security group. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> str: - """ - The ID of the security group. - """ - return pulumi.get(self, "security_group_id") - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> str: - """ - The name of the security group. - """ - return pulumi.get(self, "security_group_name") - - -@pulumi.output_type -class GetSecurityGroupOutboundRuleResult(dict): - def __init__(__self__, *, - from_port_range: int, - ip_protocol: str, - ip_ranges: Sequence[str], - prefix_list_ids: Sequence[str], - security_groups_members: Sequence['outputs.GetSecurityGroupOutboundRuleSecurityGroupsMemberResult'], - to_port_range: int): - """ - :param int from_port_range: The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - :param str ip_protocol: The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - :param Sequence[str] ip_ranges: One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - :param Sequence['GetSecurityGroupOutboundRuleSecurityGroupsMemberArgs'] security_groups_members: Information about one or more source or destination security groups. - :param int to_port_range: The end of the port range for the TCP and UDP protocols, or an ICMP code number. - """ - pulumi.set(__self__, "from_port_range", from_port_range) - pulumi.set(__self__, "ip_protocol", ip_protocol) - pulumi.set(__self__, "ip_ranges", ip_ranges) - pulumi.set(__self__, "prefix_list_ids", prefix_list_ids) - pulumi.set(__self__, "security_groups_members", security_groups_members) - pulumi.set(__self__, "to_port_range", to_port_range) - - @property - @pulumi.getter(name="fromPortRange") - def from_port_range(self) -> int: - """ - The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - """ - return pulumi.get(self, "from_port_range") - - @property - @pulumi.getter(name="ipProtocol") - def ip_protocol(self) -> str: - """ - The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - """ - return pulumi.get(self, "ip_protocol") - - @property - @pulumi.getter(name="ipRanges") - def ip_ranges(self) -> Sequence[str]: - """ - One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - """ - return pulumi.get(self, "ip_ranges") - - @property - @pulumi.getter(name="prefixListIds") - def prefix_list_ids(self) -> Sequence[str]: - return pulumi.get(self, "prefix_list_ids") - - @property - @pulumi.getter(name="securityGroupsMembers") - def security_groups_members(self) -> Sequence['outputs.GetSecurityGroupOutboundRuleSecurityGroupsMemberResult']: - """ - Information about one or more source or destination security groups. - """ - return pulumi.get(self, "security_groups_members") - - @property - @pulumi.getter(name="toPortRange") - def to_port_range(self) -> int: - """ - The end of the port range for the TCP and UDP protocols, or an ICMP code number. - """ - return pulumi.get(self, "to_port_range") - - -@pulumi.output_type -class GetSecurityGroupOutboundRuleSecurityGroupsMemberResult(dict): - def __init__(__self__, *, - account_id: str, - security_group_id: str, - security_group_name: str): - """ - :param str account_id: The account ID that owns the source or destination security group. - :param str security_group_id: The ID of the security group. - :param str security_group_name: The name of the security group. - """ - pulumi.set(__self__, "account_id", account_id) - pulumi.set(__self__, "security_group_id", security_group_id) - pulumi.set(__self__, "security_group_name", security_group_name) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> str: - """ - The account ID that owns the source or destination security group. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> str: - """ - The ID of the security group. - """ - return pulumi.get(self, "security_group_id") - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> str: - """ - The name of the security group. - """ - return pulumi.get(self, "security_group_name") - - -@pulumi.output_type -class GetSecurityGroupTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetSecurityGroupsFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetSecurityGroupsSecurityGroupResult(dict): - def __init__(__self__, *, - account_id: str, - description: str, - inbound_rules: Sequence['outputs.GetSecurityGroupsSecurityGroupInboundRuleResult'], - net_id: str, - outbound_rules: Sequence['outputs.GetSecurityGroupsSecurityGroupOutboundRuleResult'], - security_group_id: str, - security_group_name: str, - tags: Sequence['outputs.GetSecurityGroupsSecurityGroupTagResult']): - """ - :param str account_id: The account ID that owns the source or destination security group. - :param str description: The description of the security group. - :param Sequence['GetSecurityGroupsSecurityGroupInboundRuleArgs'] inbound_rules: The inbound rules associated with the security group. - :param str net_id: The ID of the Net for the security group. - :param Sequence['GetSecurityGroupsSecurityGroupOutboundRuleArgs'] outbound_rules: The outbound rules associated with the security group. - :param str security_group_id: The ID of the security group. - :param str security_group_name: The name of the security group. - :param Sequence['GetSecurityGroupsSecurityGroupTagArgs'] tags: The key/value combinations of the tags associated with the security groups, in the following format: `TAGKEY=TAGVALUE`. - """ - pulumi.set(__self__, "account_id", account_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "inbound_rules", inbound_rules) - pulumi.set(__self__, "net_id", net_id) - pulumi.set(__self__, "outbound_rules", outbound_rules) - pulumi.set(__self__, "security_group_id", security_group_id) - pulumi.set(__self__, "security_group_name", security_group_name) - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> str: - """ - The account ID that owns the source or destination security group. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter - def description(self) -> str: - """ - The description of the security group. - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter(name="inboundRules") - def inbound_rules(self) -> Sequence['outputs.GetSecurityGroupsSecurityGroupInboundRuleResult']: - """ - The inbound rules associated with the security group. - """ - return pulumi.get(self, "inbound_rules") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> str: - """ - The ID of the Net for the security group. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="outboundRules") - def outbound_rules(self) -> Sequence['outputs.GetSecurityGroupsSecurityGroupOutboundRuleResult']: - """ - The outbound rules associated with the security group. - """ - return pulumi.get(self, "outbound_rules") - - @property - @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> str: - """ - The ID of the security group. - """ - return pulumi.get(self, "security_group_id") - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> str: - """ - The name of the security group. - """ - return pulumi.get(self, "security_group_name") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetSecurityGroupsSecurityGroupTagResult']: - """ - The key/value combinations of the tags associated with the security groups, in the following format: `TAGKEY=TAGVALUE`. - """ - return pulumi.get(self, "tags") - - -@pulumi.output_type -class GetSecurityGroupsSecurityGroupInboundRuleResult(dict): - def __init__(__self__, *, - from_port_range: int, - ip_protocol: str, - ip_ranges: Sequence[str], - prefix_list_ids: Sequence[str], - security_groups_members: Sequence['outputs.GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberResult'], - to_port_range: int): - """ - :param int from_port_range: The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - :param str ip_protocol: The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - :param Sequence[str] ip_ranges: One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - :param Sequence['GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberArgs'] security_groups_members: Information about one or more source or destination security groups. - :param int to_port_range: The end of the port range for the TCP and UDP protocols, or an ICMP code number. - """ - pulumi.set(__self__, "from_port_range", from_port_range) - pulumi.set(__self__, "ip_protocol", ip_protocol) - pulumi.set(__self__, "ip_ranges", ip_ranges) - pulumi.set(__self__, "prefix_list_ids", prefix_list_ids) - pulumi.set(__self__, "security_groups_members", security_groups_members) - pulumi.set(__self__, "to_port_range", to_port_range) - - @property - @pulumi.getter(name="fromPortRange") - def from_port_range(self) -> int: - """ - The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - """ - return pulumi.get(self, "from_port_range") - - @property - @pulumi.getter(name="ipProtocol") - def ip_protocol(self) -> str: - """ - The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - """ - return pulumi.get(self, "ip_protocol") - - @property - @pulumi.getter(name="ipRanges") - def ip_ranges(self) -> Sequence[str]: - """ - One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - """ - return pulumi.get(self, "ip_ranges") - - @property - @pulumi.getter(name="prefixListIds") - def prefix_list_ids(self) -> Sequence[str]: - return pulumi.get(self, "prefix_list_ids") - - @property - @pulumi.getter(name="securityGroupsMembers") - def security_groups_members(self) -> Sequence['outputs.GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberResult']: - """ - Information about one or more source or destination security groups. - """ - return pulumi.get(self, "security_groups_members") - - @property - @pulumi.getter(name="toPortRange") - def to_port_range(self) -> int: - """ - The end of the port range for the TCP and UDP protocols, or an ICMP code number. - """ - return pulumi.get(self, "to_port_range") - - -@pulumi.output_type -class GetSecurityGroupsSecurityGroupInboundRuleSecurityGroupsMemberResult(dict): - def __init__(__self__, *, - account_id: str, - security_group_id: str, - security_group_name: str): - """ - :param str account_id: The account ID that owns the source or destination security group. - :param str security_group_id: The ID of the security group. - :param str security_group_name: The name of the security group. - """ - pulumi.set(__self__, "account_id", account_id) - pulumi.set(__self__, "security_group_id", security_group_id) - pulumi.set(__self__, "security_group_name", security_group_name) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> str: - """ - The account ID that owns the source or destination security group. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> str: - """ - The ID of the security group. - """ - return pulumi.get(self, "security_group_id") - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> str: - """ - The name of the security group. - """ - return pulumi.get(self, "security_group_name") - - -@pulumi.output_type -class GetSecurityGroupsSecurityGroupOutboundRuleResult(dict): - def __init__(__self__, *, - from_port_range: int, - ip_protocol: str, - ip_ranges: Sequence[str], - prefix_list_ids: Sequence[str], - security_groups_members: Sequence['outputs.GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberResult'], - to_port_range: int): - """ - :param int from_port_range: The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - :param str ip_protocol: The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - :param Sequence[str] ip_ranges: One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - :param Sequence['GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberArgs'] security_groups_members: Information about one or more source or destination security groups. - :param int to_port_range: The end of the port range for the TCP and UDP protocols, or an ICMP code number. - """ - pulumi.set(__self__, "from_port_range", from_port_range) - pulumi.set(__self__, "ip_protocol", ip_protocol) - pulumi.set(__self__, "ip_ranges", ip_ranges) - pulumi.set(__self__, "prefix_list_ids", prefix_list_ids) - pulumi.set(__self__, "security_groups_members", security_groups_members) - pulumi.set(__self__, "to_port_range", to_port_range) - - @property - @pulumi.getter(name="fromPortRange") - def from_port_range(self) -> int: - """ - The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - """ - return pulumi.get(self, "from_port_range") - - @property - @pulumi.getter(name="ipProtocol") - def ip_protocol(self) -> str: - """ - The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - """ - return pulumi.get(self, "ip_protocol") - - @property - @pulumi.getter(name="ipRanges") - def ip_ranges(self) -> Sequence[str]: - """ - One or more IP ranges for the security group rules, in CIDR notation (for example, `10.0.0.0/16`). - """ - return pulumi.get(self, "ip_ranges") - - @property - @pulumi.getter(name="prefixListIds") - def prefix_list_ids(self) -> Sequence[str]: - return pulumi.get(self, "prefix_list_ids") - - @property - @pulumi.getter(name="securityGroupsMembers") - def security_groups_members(self) -> Sequence['outputs.GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberResult']: - """ - Information about one or more source or destination security groups. - """ - return pulumi.get(self, "security_groups_members") - - @property - @pulumi.getter(name="toPortRange") - def to_port_range(self) -> int: - """ - The end of the port range for the TCP and UDP protocols, or an ICMP code number. - """ - return pulumi.get(self, "to_port_range") - - -@pulumi.output_type -class GetSecurityGroupsSecurityGroupOutboundRuleSecurityGroupsMemberResult(dict): - def __init__(__self__, *, - account_id: str, - security_group_id: str, - security_group_name: str): - """ - :param str account_id: The account ID that owns the source or destination security group. - :param str security_group_id: The ID of the security group. - :param str security_group_name: The name of the security group. - """ - pulumi.set(__self__, "account_id", account_id) - pulumi.set(__self__, "security_group_id", security_group_id) - pulumi.set(__self__, "security_group_name", security_group_name) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> str: - """ - The account ID that owns the source or destination security group. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> str: - """ - The ID of the security group. - """ - return pulumi.get(self, "security_group_id") - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> str: - """ - The name of the security group. - """ - return pulumi.get(self, "security_group_name") - - -@pulumi.output_type -class GetSecurityGroupsSecurityGroupTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetServerCertificateFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - """ - :param str name: The name of the server certificate. - """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the server certificate. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetServerCertificatesFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - """ - :param str name: The name of the server certificate. - """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the server certificate. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetServerCertificatesServerCertificateResult(dict): - def __init__(__self__, *, - expiration_date: str, - id: str, - name: str, - orn: str, - path: str, - upload_date: str): - """ - :param str expiration_date: The date at which the server certificate expires. - :param str id: The ID of the server certificate. - :param str name: The name of the server certificate. - :param str orn: The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - :param str path: The path to the server certificate. - :param str upload_date: The date at which the server certificate has been uploaded. - """ - pulumi.set(__self__, "expiration_date", expiration_date) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "orn", orn) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "upload_date", upload_date) - - @property - @pulumi.getter(name="expirationDate") - def expiration_date(self) -> str: - """ - The date at which the server certificate expires. - """ - return pulumi.get(self, "expiration_date") - - @property - @pulumi.getter - def id(self) -> str: - """ - The ID of the server certificate. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter - def name(self) -> str: - """ - The name of the server certificate. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter - def orn(self) -> str: - """ - The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - """ - return pulumi.get(self, "orn") - - @property - @pulumi.getter - def path(self) -> str: - """ - The path to the server certificate. - """ - return pulumi.get(self, "path") - - @property - @pulumi.getter(name="uploadDate") - def upload_date(self) -> str: - """ - The date at which the server certificate has been uploaded. - """ - return pulumi.get(self, "upload_date") - - -@pulumi.output_type -class GetSnapshotExportTaskFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetSnapshotExportTaskOsuExportResult(dict): - def __init__(__self__, *, - disk_image_format: str, - osu_bucket: str, - osu_prefix: str): - """ - :param str disk_image_format: The format of the export disk (`qcow2` \\| `raw`). - :param str osu_bucket: The name of the OOS bucket the snapshot is exported to. - :param str osu_prefix: The prefix for the key of the OOS object corresponding to the snapshot. - """ - pulumi.set(__self__, "disk_image_format", disk_image_format) - pulumi.set(__self__, "osu_bucket", osu_bucket) - pulumi.set(__self__, "osu_prefix", osu_prefix) - - @property - @pulumi.getter(name="diskImageFormat") - def disk_image_format(self) -> str: - """ - The format of the export disk (`qcow2` \\| `raw`). - """ - return pulumi.get(self, "disk_image_format") - - @property - @pulumi.getter(name="osuBucket") - def osu_bucket(self) -> str: - """ - The name of the OOS bucket the snapshot is exported to. - """ - return pulumi.get(self, "osu_bucket") - - @property - @pulumi.getter(name="osuPrefix") - def osu_prefix(self) -> str: - """ - The prefix for the key of the OOS object corresponding to the snapshot. - """ - return pulumi.get(self, "osu_prefix") - - -@pulumi.output_type -class GetSnapshotExportTaskTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetSnapshotExportTasksFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetSnapshotExportTasksSnapshotExportTaskResult(dict): - def __init__(__self__, *, - comment: str, - osu_exports: Sequence['outputs.GetSnapshotExportTasksSnapshotExportTaskOsuExportResult'], - progress: int, - snapshot_id: str, - state: str, - tags: Sequence['outputs.GetSnapshotExportTasksSnapshotExportTaskTagResult'], - task_id: str): - """ - :param str comment: If the snapshot export task fails, an error message appears. - :param Sequence['GetSnapshotExportTasksSnapshotExportTaskOsuExportArgs'] osu_exports: Information about the snapshot export task. - :param int progress: The progress of the snapshot export task, as a percentage. - :param str snapshot_id: The ID of the snapshot to be exported. - :param str state: The state of the snapshot export task (`pending` \\| `active` \\| `completed` \\| `failed`). - :param Sequence['GetSnapshotExportTasksSnapshotExportTaskTagArgs'] tags: One or more tags associated with the snapshot export task. - :param str task_id: The ID of the snapshot export task. - """ - pulumi.set(__self__, "comment", comment) - pulumi.set(__self__, "osu_exports", osu_exports) - pulumi.set(__self__, "progress", progress) - pulumi.set(__self__, "snapshot_id", snapshot_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "task_id", task_id) - - @property - @pulumi.getter - def comment(self) -> str: - """ - If the snapshot export task fails, an error message appears. - """ - return pulumi.get(self, "comment") - - @property - @pulumi.getter(name="osuExports") - def osu_exports(self) -> Sequence['outputs.GetSnapshotExportTasksSnapshotExportTaskOsuExportResult']: - """ - Information about the snapshot export task. - """ - return pulumi.get(self, "osu_exports") - - @property - @pulumi.getter - def progress(self) -> int: - """ - The progress of the snapshot export task, as a percentage. - """ - return pulumi.get(self, "progress") - - @property - @pulumi.getter(name="snapshotId") - def snapshot_id(self) -> str: - """ - The ID of the snapshot to be exported. - """ - return pulumi.get(self, "snapshot_id") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the snapshot export task (`pending` \\| `active` \\| `completed` \\| `failed`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetSnapshotExportTasksSnapshotExportTaskTagResult']: - """ - One or more tags associated with the snapshot export task. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter(name="taskId") - def task_id(self) -> str: - """ - The ID of the snapshot export task. - """ - return pulumi.get(self, "task_id") - - -@pulumi.output_type -class GetSnapshotExportTasksSnapshotExportTaskOsuExportResult(dict): - def __init__(__self__, *, - disk_image_format: str, - osu_bucket: str, - osu_prefix: str): - """ - :param str disk_image_format: The format of the export disk (`qcow2` \\| `raw`). - :param str osu_bucket: The name of the OOS bucket the snapshot is exported to. - :param str osu_prefix: The prefix for the key of the OOS object corresponding to the snapshot. - """ - pulumi.set(__self__, "disk_image_format", disk_image_format) - pulumi.set(__self__, "osu_bucket", osu_bucket) - pulumi.set(__self__, "osu_prefix", osu_prefix) - - @property - @pulumi.getter(name="diskImageFormat") - def disk_image_format(self) -> str: - """ - The format of the export disk (`qcow2` \\| `raw`). - """ - return pulumi.get(self, "disk_image_format") - - @property - @pulumi.getter(name="osuBucket") - def osu_bucket(self) -> str: - """ - The name of the OOS bucket the snapshot is exported to. - """ - return pulumi.get(self, "osu_bucket") - - @property - @pulumi.getter(name="osuPrefix") - def osu_prefix(self) -> str: - """ - The prefix for the key of the OOS object corresponding to the snapshot. - """ - return pulumi.get(self, "osu_prefix") - - -@pulumi.output_type -class GetSnapshotExportTasksSnapshotExportTaskTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetSnapshotFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetSnapshotPermissionsToCreateVolumeResult(dict): - def __init__(__self__, *, - account_ids: Sequence[str], - global_permission: bool): - """ - :param Sequence[str] account_ids: The account IDs of the owners of the snapshots. - :param bool global_permission: A global permission for all accounts.
- (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).
- (Response) If true, the resource is public. If false, the resource is private. - """ - pulumi.set(__self__, "account_ids", account_ids) - pulumi.set(__self__, "global_permission", global_permission) - - @property - @pulumi.getter(name="accountIds") - def account_ids(self) -> Sequence[str]: - """ - The account IDs of the owners of the snapshots. - """ - return pulumi.get(self, "account_ids") - - @property - @pulumi.getter(name="globalPermission") - def global_permission(self) -> bool: - """ - A global permission for all accounts.
- (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).
- (Response) If true, the resource is public. If false, the resource is private. - """ - return pulumi.get(self, "global_permission") - - -@pulumi.output_type -class GetSnapshotTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetSnapshotsFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetSnapshotsSnapshotResult(dict): - def __init__(__self__, *, - account_alias: str, - account_id: str, - creation_date: str, - description: str, - permissions_to_create_volumes: Sequence['outputs.GetSnapshotsSnapshotPermissionsToCreateVolumeResult'], - progress: int, - snapshot_id: str, - state: str, - tags: Sequence['outputs.GetSnapshotsSnapshotTagResult'], - volume_id: str, - volume_size: int): - """ - :param str account_alias: The account alias of the owner of the snapshot. - :param str account_id: The account ID of the owner of the snapshot. - :param str creation_date: The date and time of creation of the snapshot. - :param str description: The description of the snapshot. - :param Sequence['GetSnapshotsSnapshotPermissionsToCreateVolumeArgs'] permissions_to_create_volumes: Permissions for the resource. - :param int progress: The progress of the snapshot, as a percentage. - :param str snapshot_id: The ID of the snapshot. - :param str state: The state of the snapshot (`in-queue` \\| `completed` \\| `error`). - :param Sequence['GetSnapshotsSnapshotTagArgs'] tags: The key/value combinations of the tags associated with the snapshots, in the following format: `TAGKEY=TAGVALUE`. - :param str volume_id: The ID of the volume used to create the snapshot. - :param int volume_size: The size of the volume used to create the snapshot, in gibibytes (GiB). - """ - pulumi.set(__self__, "account_alias", account_alias) - pulumi.set(__self__, "account_id", account_id) - pulumi.set(__self__, "creation_date", creation_date) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "permissions_to_create_volumes", permissions_to_create_volumes) - pulumi.set(__self__, "progress", progress) - pulumi.set(__self__, "snapshot_id", snapshot_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "volume_id", volume_id) - pulumi.set(__self__, "volume_size", volume_size) - - @property - @pulumi.getter(name="accountAlias") - def account_alias(self) -> str: - """ - The account alias of the owner of the snapshot. - """ - return pulumi.get(self, "account_alias") - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> str: - """ - The account ID of the owner of the snapshot. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter(name="creationDate") - def creation_date(self) -> str: - """ - The date and time of creation of the snapshot. - """ - return pulumi.get(self, "creation_date") - - @property - @pulumi.getter - def description(self) -> str: - """ - The description of the snapshot. - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter(name="permissionsToCreateVolumes") - def permissions_to_create_volumes(self) -> Sequence['outputs.GetSnapshotsSnapshotPermissionsToCreateVolumeResult']: - """ - Permissions for the resource. - """ - return pulumi.get(self, "permissions_to_create_volumes") - - @property - @pulumi.getter - def progress(self) -> int: - """ - The progress of the snapshot, as a percentage. - """ - return pulumi.get(self, "progress") - - @property - @pulumi.getter(name="snapshotId") - def snapshot_id(self) -> str: - """ - The ID of the snapshot. - """ - return pulumi.get(self, "snapshot_id") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the snapshot (`in-queue` \\| `completed` \\| `error`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetSnapshotsSnapshotTagResult']: - """ - The key/value combinations of the tags associated with the snapshots, in the following format: `TAGKEY=TAGVALUE`. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter(name="volumeId") - def volume_id(self) -> str: - """ - The ID of the volume used to create the snapshot. - """ - return pulumi.get(self, "volume_id") - - @property - @pulumi.getter(name="volumeSize") - def volume_size(self) -> int: - """ - The size of the volume used to create the snapshot, in gibibytes (GiB). - """ - return pulumi.get(self, "volume_size") - - -@pulumi.output_type -class GetSnapshotsSnapshotPermissionsToCreateVolumeResult(dict): - def __init__(__self__, *, - account_ids: Sequence[str], - global_permission: bool): - """ - :param Sequence[str] account_ids: The account IDs of the owners of the snapshots. - :param bool global_permission: A global permission for all accounts.
- (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).
- (Response) If true, the resource is public. If false, the resource is private. - """ - pulumi.set(__self__, "account_ids", account_ids) - pulumi.set(__self__, "global_permission", global_permission) - - @property - @pulumi.getter(name="accountIds") - def account_ids(self) -> Sequence[str]: - """ - The account IDs of the owners of the snapshots. - """ - return pulumi.get(self, "account_ids") - - @property - @pulumi.getter(name="globalPermission") - def global_permission(self) -> bool: - """ - A global permission for all accounts.
- (Request) Set this parameter to true to make the resource public (if the parent parameter is `Additions`) or to make the resource private (if the parent parameter is `Removals`).
- (Response) If true, the resource is public. If false, the resource is private. - """ - return pulumi.get(self, "global_permission") - - -@pulumi.output_type -class GetSnapshotsSnapshotTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetSubnetFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetSubnetTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetSubnetsFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetSubnetsSubnetResult(dict): - def __init__(__self__, *, - available_ips_count: int, - ip_range: str, - map_public_ip_on_launch: bool, - net_id: str, - state: str, - subnet_id: str, - subregion_name: str, - tags: Sequence['outputs.GetSubnetsSubnetTagResult']): - """ - :param int available_ips_count: The number of available IPs in the Subnets. - :param str ip_range: The IP range in the Subnet, in CIDR notation (for example, `10.0.0.0/16`). - :param bool map_public_ip_on_launch: If true, a public IP is assigned to the network interface cards (NICs) created in the specified Subnet. - :param str net_id: The ID of the Net in which the Subnet is. - :param str state: The state of the Subnet (`pending` \\| `available` \\| `deleted`). - :param str subnet_id: The ID of the Subnet. - :param str subregion_name: The name of the Subregion in which the Subnet is located. - :param Sequence['GetSubnetsSubnetTagArgs'] tags: The key/value combinations of the tags associated with the Subnets, in the following format: `TAGKEY=TAGVALUE`. - """ - pulumi.set(__self__, "available_ips_count", available_ips_count) - pulumi.set(__self__, "ip_range", ip_range) - pulumi.set(__self__, "map_public_ip_on_launch", map_public_ip_on_launch) - pulumi.set(__self__, "net_id", net_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "subregion_name", subregion_name) - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="availableIpsCount") - def available_ips_count(self) -> int: - """ - The number of available IPs in the Subnets. - """ - return pulumi.get(self, "available_ips_count") - - @property - @pulumi.getter(name="ipRange") - def ip_range(self) -> str: - """ - The IP range in the Subnet, in CIDR notation (for example, `10.0.0.0/16`). - """ - return pulumi.get(self, "ip_range") - - @property - @pulumi.getter(name="mapPublicIpOnLaunch") - def map_public_ip_on_launch(self) -> bool: - """ - If true, a public IP is assigned to the network interface cards (NICs) created in the specified Subnet. - """ - return pulumi.get(self, "map_public_ip_on_launch") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> str: - """ - The ID of the Net in which the Subnet is. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the Subnet (`pending` \\| `available` \\| `deleted`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> str: - """ - The ID of the Subnet. - """ - return pulumi.get(self, "subnet_id") - - @property - @pulumi.getter(name="subregionName") - def subregion_name(self) -> str: - """ - The name of the Subregion in which the Subnet is located. - """ - return pulumi.get(self, "subregion_name") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetSubnetsSubnetTagResult']: - """ - The key/value combinations of the tags associated with the Subnets, in the following format: `TAGKEY=TAGVALUE`. - """ - return pulumi.get(self, "tags") - - -@pulumi.output_type -class GetSubnetsSubnetTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetSubregionsFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetSubregionsSubregionResult(dict): - def __init__(__self__, *, - location_code: str, - region_name: str, - state: str, - subregion_name: str): - """ - :param str location_code: The location code of the Subregion. - :param str region_name: The name of the Region containing the Subregion. - :param str state: The state of the Subregion (`available` \\| `information` \\| `impaired` \\| `unavailable`). - :param str subregion_name: The name of the Subregion. - """ - pulumi.set(__self__, "location_code", location_code) - pulumi.set(__self__, "region_name", region_name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subregion_name", subregion_name) - - @property - @pulumi.getter(name="locationCode") - def location_code(self) -> str: - """ - The location code of the Subregion. - """ - return pulumi.get(self, "location_code") - - @property - @pulumi.getter(name="regionName") - def region_name(self) -> str: - """ - The name of the Region containing the Subregion. - """ - return pulumi.get(self, "region_name") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the Subregion (`available` \\| `information` \\| `impaired` \\| `unavailable`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="subregionName") - def subregion_name(self) -> str: - """ - The name of the Subregion. - """ - return pulumi.get(self, "subregion_name") - - -@pulumi.output_type -class GetTagFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetVirtualGatewayFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetVirtualGatewayNetToVirtualGatewayLinkResult(dict): - def __init__(__self__, *, - net_id: str, - state: str): - """ - :param str net_id: The ID of the Net to which the virtual gateway is attached. - :param str state: The state of the virtual gateway (`pending` \\| `available` \\| `deleting` \\| `deleted`). - """ - pulumi.set(__self__, "net_id", net_id) - pulumi.set(__self__, "state", state) - - @property - @pulumi.getter(name="netId") - def net_id(self) -> str: - """ - The ID of the Net to which the virtual gateway is attached. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the virtual gateway (`pending` \\| `available` \\| `deleting` \\| `deleted`). - """ - return pulumi.get(self, "state") - - -@pulumi.output_type -class GetVirtualGatewayTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetVirtualGatewaysFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetVirtualGatewaysVirtualGatewayResult(dict): - def __init__(__self__, *, - connection_type: str, - net_to_virtual_gateway_links: Sequence['outputs.GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkResult'], - state: str, - tags: Sequence['outputs.GetVirtualGatewaysVirtualGatewayTagResult'], - virtual_gateway_id: str): - """ - :param str connection_type: The type of VPN connection supported by the virtual gateway (only `ipsec.1` is supported). - :param Sequence['GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkArgs'] net_to_virtual_gateway_links: The Net to which the virtual gateway is attached. - :param str state: The state of the virtual gateway (`pending` \\| `available` \\| `deleting` \\| `deleted`). - :param Sequence['GetVirtualGatewaysVirtualGatewayTagArgs'] tags: The key/value combinations of the tags associated with the virtual gateways, in the following format: `TAGKEY=TAGVALUE`. - :param str virtual_gateway_id: The ID of the virtual gateway. - """ - pulumi.set(__self__, "connection_type", connection_type) - pulumi.set(__self__, "net_to_virtual_gateway_links", net_to_virtual_gateway_links) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "virtual_gateway_id", virtual_gateway_id) - - @property - @pulumi.getter(name="connectionType") - def connection_type(self) -> str: - """ - The type of VPN connection supported by the virtual gateway (only `ipsec.1` is supported). - """ - return pulumi.get(self, "connection_type") - - @property - @pulumi.getter(name="netToVirtualGatewayLinks") - def net_to_virtual_gateway_links(self) -> Sequence['outputs.GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkResult']: - """ - The Net to which the virtual gateway is attached. - """ - return pulumi.get(self, "net_to_virtual_gateway_links") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the virtual gateway (`pending` \\| `available` \\| `deleting` \\| `deleted`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetVirtualGatewaysVirtualGatewayTagResult']: - """ - The key/value combinations of the tags associated with the virtual gateways, in the following format: `TAGKEY=TAGVALUE`. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter(name="virtualGatewayId") - def virtual_gateway_id(self) -> str: - """ - The ID of the virtual gateway. - """ - return pulumi.get(self, "virtual_gateway_id") - - -@pulumi.output_type -class GetVirtualGatewaysVirtualGatewayNetToVirtualGatewayLinkResult(dict): - def __init__(__self__, *, - net_id: str, - state: str): - """ - :param str net_id: The ID of the Net to which the virtual gateway is attached. - :param str state: The state of the virtual gateway (`pending` \\| `available` \\| `deleting` \\| `deleted`). - """ - pulumi.set(__self__, "net_id", net_id) - pulumi.set(__self__, "state", state) - - @property - @pulumi.getter(name="netId") - def net_id(self) -> str: - """ - The ID of the Net to which the virtual gateway is attached. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the virtual gateway (`pending` \\| `available` \\| `deleting` \\| `deleted`). - """ - return pulumi.get(self, "state") - - -@pulumi.output_type -class GetVirtualGatewaysVirtualGatewayTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetVmBlockDeviceMappingsCreatedResult(dict): - def __init__(__self__, *, - bsus: Sequence['outputs.GetVmBlockDeviceMappingsCreatedBsusResult'], - device_name: str): - """ - :param Sequence['GetVmBlockDeviceMappingsCreatedBsusArgs'] bsus: Information about the created BSU volume. - :param str device_name: The name of the device. - """ - pulumi.set(__self__, "bsus", bsus) - pulumi.set(__self__, "device_name", device_name) - - @property - @pulumi.getter - def bsus(self) -> Sequence['outputs.GetVmBlockDeviceMappingsCreatedBsusResult']: - """ - Information about the created BSU volume. - """ - return pulumi.get(self, "bsus") - - @property - @pulumi.getter(name="deviceName") - def device_name(self) -> str: - """ - The name of the device. - """ - return pulumi.get(self, "device_name") - - -@pulumi.output_type -class GetVmBlockDeviceMappingsCreatedBsusResult(dict): - def __init__(__self__, *, - delete_on_vm_deletion: bool, - link_date: str, - state: str, - volume_id: str, - tags: Optional[Sequence['outputs.GetVmBlockDeviceMappingsCreatedBsusTagResult']] = None): - """ - :param bool delete_on_vm_deletion: If true, the NIC is deleted when the VM is terminated. - :param str link_date: The date and time of attachment of the volume to the VM, in ISO 8601 date-time format. - :param str state: The state of the VM (`pending` \\| `running` \\| `stopping` \\| `stopped` \\| `shutting-down` \\| `terminated` \\| `quarantine`). - :param str volume_id: The ID of the volume. - :param Sequence['GetVmBlockDeviceMappingsCreatedBsusTagArgs'] tags: The key/value combinations of the tags associated with the VMs, in the following format: `TAGKEY=TAGVALUE`. - """ - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - pulumi.set(__self__, "link_date", link_date) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "volume_id", volume_id) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> bool: - """ - If true, the NIC is deleted when the VM is terminated. - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @property - @pulumi.getter(name="linkDate") - def link_date(self) -> str: - """ - The date and time of attachment of the volume to the VM, in ISO 8601 date-time format. - """ - return pulumi.get(self, "link_date") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the VM (`pending` \\| `running` \\| `stopping` \\| `stopped` \\| `shutting-down` \\| `terminated` \\| `quarantine`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="volumeId") - def volume_id(self) -> str: - """ - The ID of the volume. - """ - return pulumi.get(self, "volume_id") - - @property - @pulumi.getter - def tags(self) -> Optional[Sequence['outputs.GetVmBlockDeviceMappingsCreatedBsusTagResult']]: - """ - The key/value combinations of the tags associated with the VMs, in the following format: `TAGKEY=TAGVALUE`. - """ - return pulumi.get(self, "tags") - - -@pulumi.output_type -class GetVmBlockDeviceMappingsCreatedBsusTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetVmFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetVmNicResult(dict): - def __init__(__self__, *, - account_id: str, - delete_on_vm_deletion: bool, - description: str, - device_number: int, - is_source_dest_checked: bool, - link_nics: Sequence['outputs.GetVmNicLinkNicResult'], - link_public_ips: Sequence['outputs.GetVmNicLinkPublicIpResult'], - mac_address: str, - net_id: str, - nic_id: str, - private_dns_name: str, - private_ips: Sequence['outputs.GetVmNicPrivateIpResult'], - secondary_private_ip_count: int, - security_group_ids: Sequence[str], - security_groups: Sequence['outputs.GetVmNicSecurityGroupResult'], - security_groups_names: Sequence[str], - state: str, - subnet_id: str): - """ - :param str account_id: The account ID of the owner of the NIC. - :param bool delete_on_vm_deletion: If true, the NIC is deleted when the VM is terminated. - :param str description: The description of the NIC. - :param int device_number: The device index for the NIC attachment (between `1` and `7`, both included). - :param bool is_source_dest_checked: (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - :param Sequence['GetVmNicLinkNicArgs'] link_nics: Information about the network interface card (NIC). - :param Sequence['GetVmNicLinkPublicIpArgs'] link_public_ips: Information about the public IP associated with the NIC. - :param str mac_address: The Media Access Control (MAC) address of the NIC. - :param str net_id: The ID of the Net for the NIC. - :param str nic_id: The ID of the NIC. - :param str private_dns_name: The name of the private DNS. - :param Sequence['GetVmNicPrivateIpArgs'] private_ips: The private IP or IPs of the NIC. - :param Sequence['GetVmNicSecurityGroupArgs'] security_groups: One or more security groups associated with the VM. - :param str state: The state of the VM (`pending` \\| `running` \\| `stopping` \\| `stopped` \\| `shutting-down` \\| `terminated` \\| `quarantine`). - :param str subnet_id: The ID of the Subnet for the VM. - """ - pulumi.set(__self__, "account_id", account_id) - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "device_number", device_number) - pulumi.set(__self__, "is_source_dest_checked", is_source_dest_checked) - pulumi.set(__self__, "link_nics", link_nics) - pulumi.set(__self__, "link_public_ips", link_public_ips) - pulumi.set(__self__, "mac_address", mac_address) - pulumi.set(__self__, "net_id", net_id) - pulumi.set(__self__, "nic_id", nic_id) - pulumi.set(__self__, "private_dns_name", private_dns_name) - pulumi.set(__self__, "private_ips", private_ips) - pulumi.set(__self__, "secondary_private_ip_count", secondary_private_ip_count) - pulumi.set(__self__, "security_group_ids", security_group_ids) - pulumi.set(__self__, "security_groups", security_groups) - pulumi.set(__self__, "security_groups_names", security_groups_names) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> str: - """ - The account ID of the owner of the NIC. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> bool: - """ - If true, the NIC is deleted when the VM is terminated. - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @property - @pulumi.getter - def description(self) -> str: - """ - The description of the NIC. - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter(name="deviceNumber") - def device_number(self) -> int: - """ - The device index for the NIC attachment (between `1` and `7`, both included). - """ - return pulumi.get(self, "device_number") - - @property - @pulumi.getter(name="isSourceDestChecked") - def is_source_dest_checked(self) -> bool: - """ - (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - """ - return pulumi.get(self, "is_source_dest_checked") - - @property - @pulumi.getter(name="linkNics") - def link_nics(self) -> Sequence['outputs.GetVmNicLinkNicResult']: - """ - Information about the network interface card (NIC). - """ - return pulumi.get(self, "link_nics") - - @property - @pulumi.getter(name="linkPublicIps") - def link_public_ips(self) -> Sequence['outputs.GetVmNicLinkPublicIpResult']: - """ - Information about the public IP associated with the NIC. - """ - return pulumi.get(self, "link_public_ips") - - @property - @pulumi.getter(name="macAddress") - def mac_address(self) -> str: - """ - The Media Access Control (MAC) address of the NIC. - """ - return pulumi.get(self, "mac_address") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> str: - """ - The ID of the Net for the NIC. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="nicId") - def nic_id(self) -> str: - """ - The ID of the NIC. - """ - return pulumi.get(self, "nic_id") - - @property - @pulumi.getter(name="privateDnsName") - def private_dns_name(self) -> str: - """ - The name of the private DNS. - """ - return pulumi.get(self, "private_dns_name") - - @property - @pulumi.getter(name="privateIps") - def private_ips(self) -> Sequence['outputs.GetVmNicPrivateIpResult']: - """ - The private IP or IPs of the NIC. - """ - return pulumi.get(self, "private_ips") - - @property - @pulumi.getter(name="secondaryPrivateIpCount") - def secondary_private_ip_count(self) -> int: - return pulumi.get(self, "secondary_private_ip_count") - - @property - @pulumi.getter(name="securityGroupIds") - def security_group_ids(self) -> Sequence[str]: - return pulumi.get(self, "security_group_ids") - - @property - @pulumi.getter(name="securityGroups") - def security_groups(self) -> Sequence['outputs.GetVmNicSecurityGroupResult']: - """ - One or more security groups associated with the VM. - """ - return pulumi.get(self, "security_groups") - - @property - @pulumi.getter(name="securityGroupsNames") - def security_groups_names(self) -> Sequence[str]: - return pulumi.get(self, "security_groups_names") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the VM (`pending` \\| `running` \\| `stopping` \\| `stopped` \\| `shutting-down` \\| `terminated` \\| `quarantine`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> str: - """ - The ID of the Subnet for the VM. - """ - return pulumi.get(self, "subnet_id") - - -@pulumi.output_type -class GetVmNicLinkNicResult(dict): - def __init__(__self__, *, - delete_on_vm_deletion: bool, - device_number: str, - link_nic_id: str, - state: str): - """ - :param bool delete_on_vm_deletion: If true, the NIC is deleted when the VM is terminated. - :param str device_number: The device index for the NIC attachment (between `1` and `7`, both included). - :param str link_nic_id: The ID of the NIC to attach. - :param str state: The state of the VM (`pending` \\| `running` \\| `stopping` \\| `stopped` \\| `shutting-down` \\| `terminated` \\| `quarantine`). - """ - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - pulumi.set(__self__, "device_number", device_number) - pulumi.set(__self__, "link_nic_id", link_nic_id) - pulumi.set(__self__, "state", state) - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> bool: - """ - If true, the NIC is deleted when the VM is terminated. - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @property - @pulumi.getter(name="deviceNumber") - def device_number(self) -> str: - """ - The device index for the NIC attachment (between `1` and `7`, both included). - """ - return pulumi.get(self, "device_number") - - @property - @pulumi.getter(name="linkNicId") - def link_nic_id(self) -> str: - """ - The ID of the NIC to attach. - """ - return pulumi.get(self, "link_nic_id") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the VM (`pending` \\| `running` \\| `stopping` \\| `stopped` \\| `shutting-down` \\| `terminated` \\| `quarantine`). - """ - return pulumi.get(self, "state") - - -@pulumi.output_type -class GetVmNicLinkPublicIpResult(dict): - def __init__(__self__, *, - public_dns_name: str, - public_ip: str, - public_ip_account_id: str): - """ - :param str public_dns_name: The name of the public DNS. - :param str public_ip: The public IP of the VM. - :param str public_ip_account_id: The account ID of the owner of the public IP. - """ - pulumi.set(__self__, "public_dns_name", public_dns_name) - pulumi.set(__self__, "public_ip", public_ip) - pulumi.set(__self__, "public_ip_account_id", public_ip_account_id) - - @property - @pulumi.getter(name="publicDnsName") - def public_dns_name(self) -> str: - """ - The name of the public DNS. - """ - return pulumi.get(self, "public_dns_name") - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> str: - """ - The public IP of the VM. - """ - return pulumi.get(self, "public_ip") - - @property - @pulumi.getter(name="publicIpAccountId") - def public_ip_account_id(self) -> str: - """ - The account ID of the owner of the public IP. - """ - return pulumi.get(self, "public_ip_account_id") - - -@pulumi.output_type -class GetVmNicPrivateIpResult(dict): - def __init__(__self__, *, - is_primary: bool, - link_public_ips: Sequence['outputs.GetVmNicPrivateIpLinkPublicIpResult'], - private_dns_name: str, - private_ip: str): - """ - :param bool is_primary: If true, the IP is the primary private IP of the NIC. - :param Sequence['GetVmNicPrivateIpLinkPublicIpArgs'] link_public_ips: Information about the public IP associated with the NIC. - :param str private_dns_name: The name of the private DNS. - :param str private_ip: The primary private IP of the VM. - """ - pulumi.set(__self__, "is_primary", is_primary) - pulumi.set(__self__, "link_public_ips", link_public_ips) - pulumi.set(__self__, "private_dns_name", private_dns_name) - pulumi.set(__self__, "private_ip", private_ip) - - @property - @pulumi.getter(name="isPrimary") - def is_primary(self) -> bool: - """ - If true, the IP is the primary private IP of the NIC. - """ - return pulumi.get(self, "is_primary") - - @property - @pulumi.getter(name="linkPublicIps") - def link_public_ips(self) -> Sequence['outputs.GetVmNicPrivateIpLinkPublicIpResult']: - """ - Information about the public IP associated with the NIC. - """ - return pulumi.get(self, "link_public_ips") - - @property - @pulumi.getter(name="privateDnsName") - def private_dns_name(self) -> str: - """ - The name of the private DNS. - """ - return pulumi.get(self, "private_dns_name") - - @property - @pulumi.getter(name="privateIp") - def private_ip(self) -> str: - """ - The primary private IP of the VM. - """ - return pulumi.get(self, "private_ip") - - -@pulumi.output_type -class GetVmNicPrivateIpLinkPublicIpResult(dict): - def __init__(__self__, *, - public_dns_name: str, - public_ip: str, - public_ip_account_id: str): - """ - :param str public_dns_name: The name of the public DNS. - :param str public_ip: The public IP of the VM. - :param str public_ip_account_id: The account ID of the owner of the public IP. - """ - pulumi.set(__self__, "public_dns_name", public_dns_name) - pulumi.set(__self__, "public_ip", public_ip) - pulumi.set(__self__, "public_ip_account_id", public_ip_account_id) - - @property - @pulumi.getter(name="publicDnsName") - def public_dns_name(self) -> str: - """ - The name of the public DNS. - """ - return pulumi.get(self, "public_dns_name") - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> str: - """ - The public IP of the VM. - """ - return pulumi.get(self, "public_ip") - - @property - @pulumi.getter(name="publicIpAccountId") - def public_ip_account_id(self) -> str: - """ - The account ID of the owner of the public IP. - """ - return pulumi.get(self, "public_ip_account_id") - - -@pulumi.output_type -class GetVmNicSecurityGroupResult(dict): - def __init__(__self__, *, - security_group_id: str, - security_group_name: str): - """ - :param str security_group_id: The ID of the security group. - :param str security_group_name: The name of the security group. - """ - pulumi.set(__self__, "security_group_id", security_group_id) - pulumi.set(__self__, "security_group_name", security_group_name) - - @property - @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> str: - """ - The ID of the security group. - """ - return pulumi.get(self, "security_group_id") - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> str: - """ - The name of the security group. - """ - return pulumi.get(self, "security_group_name") - - -@pulumi.output_type -class GetVmPrimaryNicResult(dict): - def __init__(__self__, *, - account_id: str, - delete_on_vm_deletion: bool, - description: str, - device_number: int, - is_source_dest_checked: bool, - link_nics: Sequence['outputs.GetVmPrimaryNicLinkNicResult'], - link_public_ips: Sequence['outputs.GetVmPrimaryNicLinkPublicIpResult'], - mac_address: str, - net_id: str, - nic_id: str, - private_dns_name: str, - private_ips: Sequence['outputs.GetVmPrimaryNicPrivateIpResult'], - secondary_private_ip_count: int, - security_group_ids: Sequence[str], - security_groups: Sequence['outputs.GetVmPrimaryNicSecurityGroupResult'], - state: str, - subnet_id: str): - """ - :param str account_id: The account ID of the owner of the NIC. - :param bool delete_on_vm_deletion: If true, the NIC is deleted when the VM is terminated. - :param str description: The description of the NIC. - :param int device_number: The device index for the NIC attachment (between `1` and `7`, both included). - :param bool is_source_dest_checked: (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - :param Sequence['GetVmPrimaryNicLinkNicArgs'] link_nics: Information about the network interface card (NIC). - :param Sequence['GetVmPrimaryNicLinkPublicIpArgs'] link_public_ips: Information about the public IP associated with the NIC. - :param str mac_address: The Media Access Control (MAC) address of the NIC. - :param str net_id: The ID of the Net for the NIC. - :param str nic_id: The ID of the NIC. - :param str private_dns_name: The name of the private DNS. - :param Sequence['GetVmPrimaryNicPrivateIpArgs'] private_ips: The private IP or IPs of the NIC. - :param Sequence['GetVmPrimaryNicSecurityGroupArgs'] security_groups: One or more security groups associated with the VM. - :param str state: The state of the VM (`pending` \\| `running` \\| `stopping` \\| `stopped` \\| `shutting-down` \\| `terminated` \\| `quarantine`). - :param str subnet_id: The ID of the Subnet for the VM. - """ - pulumi.set(__self__, "account_id", account_id) - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "device_number", device_number) - pulumi.set(__self__, "is_source_dest_checked", is_source_dest_checked) - pulumi.set(__self__, "link_nics", link_nics) - pulumi.set(__self__, "link_public_ips", link_public_ips) - pulumi.set(__self__, "mac_address", mac_address) - pulumi.set(__self__, "net_id", net_id) - pulumi.set(__self__, "nic_id", nic_id) - pulumi.set(__self__, "private_dns_name", private_dns_name) - pulumi.set(__self__, "private_ips", private_ips) - pulumi.set(__self__, "secondary_private_ip_count", secondary_private_ip_count) - pulumi.set(__self__, "security_group_ids", security_group_ids) - pulumi.set(__self__, "security_groups", security_groups) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> str: - """ - The account ID of the owner of the NIC. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> bool: - """ - If true, the NIC is deleted when the VM is terminated. - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @property - @pulumi.getter - def description(self) -> str: - """ - The description of the NIC. - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter(name="deviceNumber") - def device_number(self) -> int: - """ - The device index for the NIC attachment (between `1` and `7`, both included). - """ - return pulumi.get(self, "device_number") - - @property - @pulumi.getter(name="isSourceDestChecked") - def is_source_dest_checked(self) -> bool: - """ - (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - """ - return pulumi.get(self, "is_source_dest_checked") - - @property - @pulumi.getter(name="linkNics") - def link_nics(self) -> Sequence['outputs.GetVmPrimaryNicLinkNicResult']: - """ - Information about the network interface card (NIC). - """ - return pulumi.get(self, "link_nics") - - @property - @pulumi.getter(name="linkPublicIps") - def link_public_ips(self) -> Sequence['outputs.GetVmPrimaryNicLinkPublicIpResult']: - """ - Information about the public IP associated with the NIC. - """ - return pulumi.get(self, "link_public_ips") - - @property - @pulumi.getter(name="macAddress") - def mac_address(self) -> str: - """ - The Media Access Control (MAC) address of the NIC. - """ - return pulumi.get(self, "mac_address") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> str: - """ - The ID of the Net for the NIC. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="nicId") - def nic_id(self) -> str: - """ - The ID of the NIC. - """ - return pulumi.get(self, "nic_id") - - @property - @pulumi.getter(name="privateDnsName") - def private_dns_name(self) -> str: - """ - The name of the private DNS. - """ - return pulumi.get(self, "private_dns_name") - - @property - @pulumi.getter(name="privateIps") - def private_ips(self) -> Sequence['outputs.GetVmPrimaryNicPrivateIpResult']: - """ - The private IP or IPs of the NIC. - """ - return pulumi.get(self, "private_ips") - - @property - @pulumi.getter(name="secondaryPrivateIpCount") - def secondary_private_ip_count(self) -> int: - return pulumi.get(self, "secondary_private_ip_count") - - @property - @pulumi.getter(name="securityGroupIds") - def security_group_ids(self) -> Sequence[str]: - return pulumi.get(self, "security_group_ids") - - @property - @pulumi.getter(name="securityGroups") - def security_groups(self) -> Sequence['outputs.GetVmPrimaryNicSecurityGroupResult']: - """ - One or more security groups associated with the VM. - """ - return pulumi.get(self, "security_groups") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the VM (`pending` \\| `running` \\| `stopping` \\| `stopped` \\| `shutting-down` \\| `terminated` \\| `quarantine`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> str: - """ - The ID of the Subnet for the VM. - """ - return pulumi.get(self, "subnet_id") - - -@pulumi.output_type -class GetVmPrimaryNicLinkNicResult(dict): - def __init__(__self__, *, - delete_on_vm_deletion: bool, - device_number: str, - link_nic_id: str, - state: str): - """ - :param bool delete_on_vm_deletion: If true, the NIC is deleted when the VM is terminated. - :param str device_number: The device index for the NIC attachment (between `1` and `7`, both included). - :param str link_nic_id: The ID of the NIC to attach. - :param str state: The state of the VM (`pending` \\| `running` \\| `stopping` \\| `stopped` \\| `shutting-down` \\| `terminated` \\| `quarantine`). - """ - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - pulumi.set(__self__, "device_number", device_number) - pulumi.set(__self__, "link_nic_id", link_nic_id) - pulumi.set(__self__, "state", state) - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> bool: - """ - If true, the NIC is deleted when the VM is terminated. - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @property - @pulumi.getter(name="deviceNumber") - def device_number(self) -> str: - """ - The device index for the NIC attachment (between `1` and `7`, both included). - """ - return pulumi.get(self, "device_number") - - @property - @pulumi.getter(name="linkNicId") - def link_nic_id(self) -> str: - """ - The ID of the NIC to attach. - """ - return pulumi.get(self, "link_nic_id") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the VM (`pending` \\| `running` \\| `stopping` \\| `stopped` \\| `shutting-down` \\| `terminated` \\| `quarantine`). - """ - return pulumi.get(self, "state") - - -@pulumi.output_type -class GetVmPrimaryNicLinkPublicIpResult(dict): - def __init__(__self__, *, - public_dns_name: str, - public_ip: str, - public_ip_account_id: str): - """ - :param str public_dns_name: The name of the public DNS. - :param str public_ip: The public IP of the VM. - :param str public_ip_account_id: The account ID of the owner of the public IP. - """ - pulumi.set(__self__, "public_dns_name", public_dns_name) - pulumi.set(__self__, "public_ip", public_ip) - pulumi.set(__self__, "public_ip_account_id", public_ip_account_id) - - @property - @pulumi.getter(name="publicDnsName") - def public_dns_name(self) -> str: - """ - The name of the public DNS. - """ - return pulumi.get(self, "public_dns_name") - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> str: - """ - The public IP of the VM. - """ - return pulumi.get(self, "public_ip") - - @property - @pulumi.getter(name="publicIpAccountId") - def public_ip_account_id(self) -> str: - """ - The account ID of the owner of the public IP. - """ - return pulumi.get(self, "public_ip_account_id") - - -@pulumi.output_type -class GetVmPrimaryNicPrivateIpResult(dict): - def __init__(__self__, *, - is_primary: bool, - link_public_ips: Sequence['outputs.GetVmPrimaryNicPrivateIpLinkPublicIpResult'], - private_dns_name: str, - private_ip: str): - """ - :param bool is_primary: If true, the IP is the primary private IP of the NIC. - :param Sequence['GetVmPrimaryNicPrivateIpLinkPublicIpArgs'] link_public_ips: Information about the public IP associated with the NIC. - :param str private_dns_name: The name of the private DNS. - :param str private_ip: The primary private IP of the VM. - """ - pulumi.set(__self__, "is_primary", is_primary) - pulumi.set(__self__, "link_public_ips", link_public_ips) - pulumi.set(__self__, "private_dns_name", private_dns_name) - pulumi.set(__self__, "private_ip", private_ip) - - @property - @pulumi.getter(name="isPrimary") - def is_primary(self) -> bool: - """ - If true, the IP is the primary private IP of the NIC. - """ - return pulumi.get(self, "is_primary") - - @property - @pulumi.getter(name="linkPublicIps") - def link_public_ips(self) -> Sequence['outputs.GetVmPrimaryNicPrivateIpLinkPublicIpResult']: - """ - Information about the public IP associated with the NIC. - """ - return pulumi.get(self, "link_public_ips") - - @property - @pulumi.getter(name="privateDnsName") - def private_dns_name(self) -> str: - """ - The name of the private DNS. - """ - return pulumi.get(self, "private_dns_name") - - @property - @pulumi.getter(name="privateIp") - def private_ip(self) -> str: - """ - The primary private IP of the VM. - """ - return pulumi.get(self, "private_ip") - - -@pulumi.output_type -class GetVmPrimaryNicPrivateIpLinkPublicIpResult(dict): - def __init__(__self__, *, - public_dns_name: str, - public_ip: str, - public_ip_account_id: str): - """ - :param str public_dns_name: The name of the public DNS. - :param str public_ip: The public IP of the VM. - :param str public_ip_account_id: The account ID of the owner of the public IP. - """ - pulumi.set(__self__, "public_dns_name", public_dns_name) - pulumi.set(__self__, "public_ip", public_ip) - pulumi.set(__self__, "public_ip_account_id", public_ip_account_id) - - @property - @pulumi.getter(name="publicDnsName") - def public_dns_name(self) -> str: - """ - The name of the public DNS. - """ - return pulumi.get(self, "public_dns_name") - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> str: - """ - The public IP of the VM. - """ - return pulumi.get(self, "public_ip") - - @property - @pulumi.getter(name="publicIpAccountId") - def public_ip_account_id(self) -> str: - """ - The account ID of the owner of the public IP. - """ - return pulumi.get(self, "public_ip_account_id") - - -@pulumi.output_type -class GetVmPrimaryNicSecurityGroupResult(dict): - def __init__(__self__, *, - security_group_id: str, - security_group_name: str): - """ - :param str security_group_id: The ID of the security group. - :param str security_group_name: The name of the security group. - """ - pulumi.set(__self__, "security_group_id", security_group_id) - pulumi.set(__self__, "security_group_name", security_group_name) - - @property - @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> str: - """ - The ID of the security group. - """ - return pulumi.get(self, "security_group_id") - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> str: - """ - The name of the security group. - """ - return pulumi.get(self, "security_group_name") - - -@pulumi.output_type -class GetVmSecurityGroupResult(dict): - def __init__(__self__, *, - security_group_id: str, - security_group_name: str): - """ - :param str security_group_id: The ID of the security group. - :param str security_group_name: The name of the security group. - """ - pulumi.set(__self__, "security_group_id", security_group_id) - pulumi.set(__self__, "security_group_name", security_group_name) - - @property - @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> str: - """ - The ID of the security group. - """ - return pulumi.get(self, "security_group_id") - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> str: - """ - The name of the security group. - """ - return pulumi.get(self, "security_group_name") - - -@pulumi.output_type -class GetVmStateFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetVmStateMaintenanceEventResult(dict): - def __init__(__self__, *, - code: str, - description: str, - not_after: str, - not_before: str): - """ - :param str code: The code of the event (`system-reboot` \\| `system-maintenance`). - :param str description: The description of the event. - :param str not_after: The latest scheduled end time for the event. - :param str not_before: The earliest scheduled start time for the event. - """ - pulumi.set(__self__, "code", code) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "not_after", not_after) - pulumi.set(__self__, "not_before", not_before) - - @property - @pulumi.getter - def code(self) -> str: - """ - The code of the event (`system-reboot` \\| `system-maintenance`). - """ - return pulumi.get(self, "code") - - @property - @pulumi.getter - def description(self) -> str: - """ - The description of the event. - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter(name="notAfter") - def not_after(self) -> str: - """ - The latest scheduled end time for the event. - """ - return pulumi.get(self, "not_after") - - @property - @pulumi.getter(name="notBefore") - def not_before(self) -> str: - """ - The earliest scheduled start time for the event. - """ - return pulumi.get(self, "not_before") - - -@pulumi.output_type -class GetVmStatesFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetVmStatesVmStateResult(dict): - def __init__(__self__, *, - maintenance_events: Sequence['outputs.GetVmStatesVmStateMaintenanceEventResult'], - subregion_name: str, - vm_state: str, - all_vms: Optional[bool] = None, - vm_id: Optional[str] = None): - """ - :param Sequence['GetVmStatesVmStateMaintenanceEventArgs'] maintenance_events: One or more scheduled events associated with the VM. - :param str subregion_name: The name of the Subregion of the VM. - :param str vm_state: The state of the VM (`pending` \\| `running` \\| `stopping` \\| `stopped` \\| `shutting-down` \\| `terminated` \\| `quarantine`). - :param bool all_vms: If true, includes the status of all VMs. By default or if set to false, only includes the status of running VMs. - :param str vm_id: The ID of the VM. - """ - pulumi.set(__self__, "maintenance_events", maintenance_events) - pulumi.set(__self__, "subregion_name", subregion_name) - pulumi.set(__self__, "vm_state", vm_state) - if all_vms is not None: - pulumi.set(__self__, "all_vms", all_vms) - if vm_id is not None: - pulumi.set(__self__, "vm_id", vm_id) - - @property - @pulumi.getter(name="maintenanceEvents") - def maintenance_events(self) -> Sequence['outputs.GetVmStatesVmStateMaintenanceEventResult']: - """ - One or more scheduled events associated with the VM. - """ - return pulumi.get(self, "maintenance_events") - - @property - @pulumi.getter(name="subregionName") - def subregion_name(self) -> str: - """ - The name of the Subregion of the VM. - """ - return pulumi.get(self, "subregion_name") - - @property - @pulumi.getter(name="vmState") - def vm_state(self) -> str: - """ - The state of the VM (`pending` \\| `running` \\| `stopping` \\| `stopped` \\| `shutting-down` \\| `terminated` \\| `quarantine`). - """ - return pulumi.get(self, "vm_state") - - @property - @pulumi.getter(name="allVms") - def all_vms(self) -> Optional[bool]: - """ - If true, includes the status of all VMs. By default or if set to false, only includes the status of running VMs. - """ - return pulumi.get(self, "all_vms") - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> Optional[str]: - """ - The ID of the VM. - """ - return pulumi.get(self, "vm_id") - - -@pulumi.output_type -class GetVmStatesVmStateMaintenanceEventResult(dict): - def __init__(__self__, *, - code: str, - description: str, - not_after: str, - not_before: str): - """ - :param str code: The code of the event (`system-reboot` \\| `system-maintenance`). - :param str description: The description of the event. - :param str not_after: The latest scheduled end time for the event. - :param str not_before: The earliest scheduled start time for the event. - """ - pulumi.set(__self__, "code", code) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "not_after", not_after) - pulumi.set(__self__, "not_before", not_before) - - @property - @pulumi.getter - def code(self) -> str: - """ - The code of the event (`system-reboot` \\| `system-maintenance`). - """ - return pulumi.get(self, "code") - - @property - @pulumi.getter - def description(self) -> str: - """ - The description of the event. - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter(name="notAfter") - def not_after(self) -> str: - """ - The latest scheduled end time for the event. - """ - return pulumi.get(self, "not_after") - - @property - @pulumi.getter(name="notBefore") - def not_before(self) -> str: - """ - The earliest scheduled start time for the event. - """ - return pulumi.get(self, "not_before") - - -@pulumi.output_type -class GetVmTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetVmTypesFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetVmTypesVmTypeResult(dict): - def __init__(__self__, *, - bsu_optimized: bool, - max_private_ips: int, - memory_size: int, - vcore_count: int, - vm_type_name: str, - volume_count: int, - volume_size: int): - """ - :param bool bsu_optimized: This parameter is not available. It is present in our API for the sake of historical compatibility with AWS. - :param int max_private_ips: The maximum number of private IPs per network interface card (NIC). - :param int memory_size: The amount of memory, in gibibytes. - :param int vcore_count: The number of vCores. - :param str vm_type_name: The name of the VM type. - :param int volume_count: The maximum number of ephemeral storage disks. - :param int volume_size: The size of one ephemeral storage disk, in gibibytes (GiB). - """ - pulumi.set(__self__, "bsu_optimized", bsu_optimized) - pulumi.set(__self__, "max_private_ips", max_private_ips) - pulumi.set(__self__, "memory_size", memory_size) - pulumi.set(__self__, "vcore_count", vcore_count) - pulumi.set(__self__, "vm_type_name", vm_type_name) - pulumi.set(__self__, "volume_count", volume_count) - pulumi.set(__self__, "volume_size", volume_size) - - @property - @pulumi.getter(name="bsuOptimized") - def bsu_optimized(self) -> bool: - """ - This parameter is not available. It is present in our API for the sake of historical compatibility with AWS. - """ - return pulumi.get(self, "bsu_optimized") - - @property - @pulumi.getter(name="maxPrivateIps") - def max_private_ips(self) -> int: - """ - The maximum number of private IPs per network interface card (NIC). - """ - return pulumi.get(self, "max_private_ips") - - @property - @pulumi.getter(name="memorySize") - def memory_size(self) -> int: - """ - The amount of memory, in gibibytes. - """ - return pulumi.get(self, "memory_size") - - @property - @pulumi.getter(name="vcoreCount") - def vcore_count(self) -> int: - """ - The number of vCores. - """ - return pulumi.get(self, "vcore_count") - - @property - @pulumi.getter(name="vmTypeName") - def vm_type_name(self) -> str: - """ - The name of the VM type. - """ - return pulumi.get(self, "vm_type_name") - - @property - @pulumi.getter(name="volumeCount") - def volume_count(self) -> int: - """ - The maximum number of ephemeral storage disks. - """ - return pulumi.get(self, "volume_count") - - @property - @pulumi.getter(name="volumeSize") - def volume_size(self) -> int: - """ - The size of one ephemeral storage disk, in gibibytes (GiB). - """ - return pulumi.get(self, "volume_size") - - -@pulumi.output_type -class GetVmsFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetVmsVmResult(dict): - def __init__(__self__, *, - architecture: str, - block_device_mappings_createds: Sequence['outputs.GetVmsVmBlockDeviceMappingsCreatedResult'], - bsu_optimized: bool, - client_token: str, - creation_date: str, - deletion_protection: bool, - hypervisor: str, - image_id: str, - is_source_dest_checked: bool, - keypair_name: str, - launch_number: int, - nested_virtualization: bool, - net_id: str, - nics: Sequence['outputs.GetVmsVmNicResult'], - os_family: str, - performance: str, - placement_subregion_name: str, - placement_tenancy: str, - primary_nics: Sequence['outputs.GetVmsVmPrimaryNicResult'], - private_dns_name: str, - private_ip: str, - private_ips: Sequence[str], - product_codes: Sequence[str], - public_dns_name: str, - public_ip: str, - request_id: str, - reservation_id: str, - root_device_name: str, - root_device_type: str, - security_group_ids: Sequence[str], - security_group_names: Sequence[str], - security_groups: Sequence['outputs.GetVmsVmSecurityGroupResult'], - state: str, - state_reason: str, - subnet_id: str, - tags: Sequence['outputs.GetVmsVmTagResult'], - user_data: str, - vm_id: str, - vm_initiated_shutdown_behavior: str, - vm_type: str): - """ - :param str architecture: The architecture of the VM (`i386` \\| `x86_64`). - :param Sequence['GetVmsVmBlockDeviceMappingsCreatedArgs'] block_device_mappings_createds: The block device mapping of the VM. - :param str client_token: The idempotency token provided when launching the VM. - :param str creation_date: The date and time of creation of the VM. - :param bool deletion_protection: If true, you cannot delete the VM unless you change this parameter back to false. - :param str hypervisor: The hypervisor type of the VMs (`ovm` \\| `xen`). - :param str image_id: The ID of the OMI used to create the VM. - :param bool is_source_dest_checked: (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - :param str keypair_name: The name of the keypair used when launching the VM. - :param int launch_number: The number for the VM when launching a group of several VMs (for example, `0`, `1`, `2`, and so on). - :param bool nested_virtualization: If true, nested virtualization is enabled. If false, it is disabled. - :param str net_id: The ID of the Net for the NIC. - :param Sequence['GetVmsVmNicArgs'] nics: (Net only) The network interface cards (NICs) the VMs are attached to. - :param str os_family: Indicates the operating system (OS) of the VM. - :param str performance: The performance of the VM (`medium` \\| `high` \\| `highest`). - :param str private_dns_name: The name of the private DNS. - :param str private_ip: The primary private IP of the VM. - :param Sequence[str] private_ips: The private IP or IPs of the NIC. - :param Sequence[str] product_codes: The product codes associated with the OMI used to create the VM. - :param str public_dns_name: The name of the public DNS. - :param str public_ip: The public IP of the VM. - :param str reservation_id: The reservation ID of the VM. - :param str root_device_name: The name of the root device for the VM (for example, `/dev/vda1`). - :param str root_device_type: The type of root device used by the VM (always `bsu`). - :param Sequence['GetVmsVmSecurityGroupArgs'] security_groups: One or more security groups associated with the VM. - :param str state: The state of the VM (`pending` \\| `running` \\| `stopping` \\| `stopped` \\| `shutting-down` \\| `terminated` \\| `quarantine`). - :param str state_reason: The reason explaining the current state of the VM. - :param str subnet_id: The ID of the Subnet for the VM. - :param Sequence['GetVmsVmTagArgs'] tags: The key/value combinations of the tags associated with the VMs, in the following format: `TAGKEY=TAGVALUE`. - :param str user_data: The Base64-encoded MIME user data. - :param str vm_id: The ID of the VM. - :param str vm_initiated_shutdown_behavior: The VM behavior when you stop it. If set to `stop`, the VM stops. If set to `restart`, the VM stops then automatically restarts. If set to `terminate`, the VM stops and is deleted. - :param str vm_type: The type of VM. For more information, see [Instance Types](https://docs.outscale.com/en/userguide/Instance-Types.html). - """ - pulumi.set(__self__, "architecture", architecture) - pulumi.set(__self__, "block_device_mappings_createds", block_device_mappings_createds) - pulumi.set(__self__, "bsu_optimized", bsu_optimized) - pulumi.set(__self__, "client_token", client_token) - pulumi.set(__self__, "creation_date", creation_date) - pulumi.set(__self__, "deletion_protection", deletion_protection) - pulumi.set(__self__, "hypervisor", hypervisor) - pulumi.set(__self__, "image_id", image_id) - pulumi.set(__self__, "is_source_dest_checked", is_source_dest_checked) - pulumi.set(__self__, "keypair_name", keypair_name) - pulumi.set(__self__, "launch_number", launch_number) - pulumi.set(__self__, "nested_virtualization", nested_virtualization) - pulumi.set(__self__, "net_id", net_id) - pulumi.set(__self__, "nics", nics) - pulumi.set(__self__, "os_family", os_family) - pulumi.set(__self__, "performance", performance) - pulumi.set(__self__, "placement_subregion_name", placement_subregion_name) - pulumi.set(__self__, "placement_tenancy", placement_tenancy) - pulumi.set(__self__, "primary_nics", primary_nics) - pulumi.set(__self__, "private_dns_name", private_dns_name) - pulumi.set(__self__, "private_ip", private_ip) - pulumi.set(__self__, "private_ips", private_ips) - pulumi.set(__self__, "product_codes", product_codes) - pulumi.set(__self__, "public_dns_name", public_dns_name) - pulumi.set(__self__, "public_ip", public_ip) - pulumi.set(__self__, "request_id", request_id) - pulumi.set(__self__, "reservation_id", reservation_id) - pulumi.set(__self__, "root_device_name", root_device_name) - pulumi.set(__self__, "root_device_type", root_device_type) - pulumi.set(__self__, "security_group_ids", security_group_ids) - pulumi.set(__self__, "security_group_names", security_group_names) - pulumi.set(__self__, "security_groups", security_groups) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "state_reason", state_reason) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "user_data", user_data) - pulumi.set(__self__, "vm_id", vm_id) - pulumi.set(__self__, "vm_initiated_shutdown_behavior", vm_initiated_shutdown_behavior) - pulumi.set(__self__, "vm_type", vm_type) - - @property - @pulumi.getter - def architecture(self) -> str: - """ - The architecture of the VM (`i386` \\| `x86_64`). - """ - return pulumi.get(self, "architecture") - - @property - @pulumi.getter(name="blockDeviceMappingsCreateds") - def block_device_mappings_createds(self) -> Sequence['outputs.GetVmsVmBlockDeviceMappingsCreatedResult']: - """ - The block device mapping of the VM. - """ - return pulumi.get(self, "block_device_mappings_createds") - - @property - @pulumi.getter(name="bsuOptimized") - def bsu_optimized(self) -> bool: - return pulumi.get(self, "bsu_optimized") - - @property - @pulumi.getter(name="clientToken") - def client_token(self) -> str: - """ - The idempotency token provided when launching the VM. - """ - return pulumi.get(self, "client_token") - - @property - @pulumi.getter(name="creationDate") - def creation_date(self) -> str: - """ - The date and time of creation of the VM. - """ - return pulumi.get(self, "creation_date") - - @property - @pulumi.getter(name="deletionProtection") - def deletion_protection(self) -> bool: - """ - If true, you cannot delete the VM unless you change this parameter back to false. - """ - return pulumi.get(self, "deletion_protection") - - @property - @pulumi.getter - def hypervisor(self) -> str: - """ - The hypervisor type of the VMs (`ovm` \\| `xen`). - """ - return pulumi.get(self, "hypervisor") - - @property - @pulumi.getter(name="imageId") - def image_id(self) -> str: - """ - The ID of the OMI used to create the VM. - """ - return pulumi.get(self, "image_id") - - @property - @pulumi.getter(name="isSourceDestChecked") - def is_source_dest_checked(self) -> bool: - """ - (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - """ - return pulumi.get(self, "is_source_dest_checked") - - @property - @pulumi.getter(name="keypairName") - def keypair_name(self) -> str: - """ - The name of the keypair used when launching the VM. - """ - return pulumi.get(self, "keypair_name") - - @property - @pulumi.getter(name="launchNumber") - def launch_number(self) -> int: - """ - The number for the VM when launching a group of several VMs (for example, `0`, `1`, `2`, and so on). - """ - return pulumi.get(self, "launch_number") - - @property - @pulumi.getter(name="nestedVirtualization") - def nested_virtualization(self) -> bool: - """ - If true, nested virtualization is enabled. If false, it is disabled. - """ - return pulumi.get(self, "nested_virtualization") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> str: - """ - The ID of the Net for the NIC. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter - def nics(self) -> Sequence['outputs.GetVmsVmNicResult']: - """ - (Net only) The network interface cards (NICs) the VMs are attached to. - """ - return pulumi.get(self, "nics") - - @property - @pulumi.getter(name="osFamily") - def os_family(self) -> str: - """ - Indicates the operating system (OS) of the VM. - """ - return pulumi.get(self, "os_family") - - @property - @pulumi.getter - def performance(self) -> str: - """ - The performance of the VM (`medium` \\| `high` \\| `highest`). - """ - return pulumi.get(self, "performance") - - @property - @pulumi.getter(name="placementSubregionName") - def placement_subregion_name(self) -> str: - return pulumi.get(self, "placement_subregion_name") - - @property - @pulumi.getter(name="placementTenancy") - def placement_tenancy(self) -> str: - return pulumi.get(self, "placement_tenancy") - - @property - @pulumi.getter(name="primaryNics") - def primary_nics(self) -> Sequence['outputs.GetVmsVmPrimaryNicResult']: - return pulumi.get(self, "primary_nics") - - @property - @pulumi.getter(name="privateDnsName") - def private_dns_name(self) -> str: - """ - The name of the private DNS. - """ - return pulumi.get(self, "private_dns_name") - - @property - @pulumi.getter(name="privateIp") - def private_ip(self) -> str: - """ - The primary private IP of the VM. - """ - return pulumi.get(self, "private_ip") - - @property - @pulumi.getter(name="privateIps") - def private_ips(self) -> Sequence[str]: - """ - The private IP or IPs of the NIC. - """ - return pulumi.get(self, "private_ips") - - @property - @pulumi.getter(name="productCodes") - def product_codes(self) -> Sequence[str]: - """ - The product codes associated with the OMI used to create the VM. - """ - return pulumi.get(self, "product_codes") - - @property - @pulumi.getter(name="publicDnsName") - def public_dns_name(self) -> str: - """ - The name of the public DNS. - """ - return pulumi.get(self, "public_dns_name") - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> str: - """ - The public IP of the VM. - """ - return pulumi.get(self, "public_ip") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> str: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="reservationId") - def reservation_id(self) -> str: - """ - The reservation ID of the VM. - """ - return pulumi.get(self, "reservation_id") - - @property - @pulumi.getter(name="rootDeviceName") - def root_device_name(self) -> str: - """ - The name of the root device for the VM (for example, `/dev/vda1`). - """ - return pulumi.get(self, "root_device_name") - - @property - @pulumi.getter(name="rootDeviceType") - def root_device_type(self) -> str: - """ - The type of root device used by the VM (always `bsu`). - """ - return pulumi.get(self, "root_device_type") - - @property - @pulumi.getter(name="securityGroupIds") - def security_group_ids(self) -> Sequence[str]: - return pulumi.get(self, "security_group_ids") - - @property - @pulumi.getter(name="securityGroupNames") - def security_group_names(self) -> Sequence[str]: - return pulumi.get(self, "security_group_names") - - @property - @pulumi.getter(name="securityGroups") - def security_groups(self) -> Sequence['outputs.GetVmsVmSecurityGroupResult']: - """ - One or more security groups associated with the VM. - """ - return pulumi.get(self, "security_groups") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the VM (`pending` \\| `running` \\| `stopping` \\| `stopped` \\| `shutting-down` \\| `terminated` \\| `quarantine`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="stateReason") - def state_reason(self) -> str: - """ - The reason explaining the current state of the VM. - """ - return pulumi.get(self, "state_reason") - - @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> str: - """ - The ID of the Subnet for the VM. - """ - return pulumi.get(self, "subnet_id") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetVmsVmTagResult']: - """ - The key/value combinations of the tags associated with the VMs, in the following format: `TAGKEY=TAGVALUE`. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter(name="userData") - def user_data(self) -> str: - """ - The Base64-encoded MIME user data. - """ - return pulumi.get(self, "user_data") - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> str: - """ - The ID of the VM. - """ - return pulumi.get(self, "vm_id") - - @property - @pulumi.getter(name="vmInitiatedShutdownBehavior") - def vm_initiated_shutdown_behavior(self) -> str: - """ - The VM behavior when you stop it. If set to `stop`, the VM stops. If set to `restart`, the VM stops then automatically restarts. If set to `terminate`, the VM stops and is deleted. - """ - return pulumi.get(self, "vm_initiated_shutdown_behavior") - - @property - @pulumi.getter(name="vmType") - def vm_type(self) -> str: - """ - The type of VM. For more information, see [Instance Types](https://docs.outscale.com/en/userguide/Instance-Types.html). - """ - return pulumi.get(self, "vm_type") - - -@pulumi.output_type -class GetVmsVmBlockDeviceMappingsCreatedResult(dict): - def __init__(__self__, *, - bsus: Sequence['outputs.GetVmsVmBlockDeviceMappingsCreatedBsusResult'], - device_name: str): - """ - :param Sequence['GetVmsVmBlockDeviceMappingsCreatedBsusArgs'] bsus: Information about the created BSU volume. - :param str device_name: The name of the device. - """ - pulumi.set(__self__, "bsus", bsus) - pulumi.set(__self__, "device_name", device_name) - - @property - @pulumi.getter - def bsus(self) -> Sequence['outputs.GetVmsVmBlockDeviceMappingsCreatedBsusResult']: - """ - Information about the created BSU volume. - """ - return pulumi.get(self, "bsus") - - @property - @pulumi.getter(name="deviceName") - def device_name(self) -> str: - """ - The name of the device. - """ - return pulumi.get(self, "device_name") - - -@pulumi.output_type -class GetVmsVmBlockDeviceMappingsCreatedBsusResult(dict): - def __init__(__self__, *, - delete_on_vm_deletion: bool, - link_date: str, - state: str, - volume_id: str, - tags: Optional[Sequence['outputs.GetVmsVmBlockDeviceMappingsCreatedBsusTagResult']] = None): - """ - :param bool delete_on_vm_deletion: If true, the NIC is deleted when the VM is terminated. - :param str link_date: The date and time of attachment of the volume to the VM, in ISO 8601 date-time format. - :param str state: The state of the VM (`pending` \\| `running` \\| `stopping` \\| `stopped` \\| `shutting-down` \\| `terminated` \\| `quarantine`). - :param str volume_id: The ID of the volume. - :param Sequence['GetVmsVmBlockDeviceMappingsCreatedBsusTagArgs'] tags: The key/value combinations of the tags associated with the VMs, in the following format: `TAGKEY=TAGVALUE`. - """ - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - pulumi.set(__self__, "link_date", link_date) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "volume_id", volume_id) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> bool: - """ - If true, the NIC is deleted when the VM is terminated. - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @property - @pulumi.getter(name="linkDate") - def link_date(self) -> str: - """ - The date and time of attachment of the volume to the VM, in ISO 8601 date-time format. - """ - return pulumi.get(self, "link_date") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the VM (`pending` \\| `running` \\| `stopping` \\| `stopped` \\| `shutting-down` \\| `terminated` \\| `quarantine`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="volumeId") - def volume_id(self) -> str: - """ - The ID of the volume. - """ - return pulumi.get(self, "volume_id") - - @property - @pulumi.getter - def tags(self) -> Optional[Sequence['outputs.GetVmsVmBlockDeviceMappingsCreatedBsusTagResult']]: - """ - The key/value combinations of the tags associated with the VMs, in the following format: `TAGKEY=TAGVALUE`. - """ - return pulumi.get(self, "tags") - - -@pulumi.output_type -class GetVmsVmBlockDeviceMappingsCreatedBsusTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetVmsVmNicResult(dict): - def __init__(__self__, *, - account_id: str, - delete_on_vm_deletion: bool, - description: str, - device_number: int, - is_source_dest_checked: bool, - link_nics: Sequence['outputs.GetVmsVmNicLinkNicResult'], - link_public_ips: Sequence['outputs.GetVmsVmNicLinkPublicIpResult'], - mac_address: str, - net_id: str, - nic_id: str, - private_dns_name: str, - private_ips: Sequence['outputs.GetVmsVmNicPrivateIpResult'], - secondary_private_ip_count: int, - security_group_ids: Sequence[str], - security_groups: Sequence['outputs.GetVmsVmNicSecurityGroupResult'], - security_groups_names: Sequence[str], - state: str, - subnet_id: str): - """ - :param str account_id: The account ID of the owner of the NIC. - :param bool delete_on_vm_deletion: If true, the NIC is deleted when the VM is terminated. - :param str description: The description of the NIC. - :param int device_number: The device index for the NIC attachment (between `1` and `7`, both included). - :param bool is_source_dest_checked: (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - :param Sequence['GetVmsVmNicLinkNicArgs'] link_nics: Information about the network interface card (NIC). - :param Sequence['GetVmsVmNicLinkPublicIpArgs'] link_public_ips: Information about the public IP associated with the NIC. - :param str mac_address: The Media Access Control (MAC) address of the NIC. - :param str net_id: The ID of the Net for the NIC. - :param str nic_id: The ID of the NIC. - :param str private_dns_name: The name of the private DNS. - :param Sequence['GetVmsVmNicPrivateIpArgs'] private_ips: The private IP or IPs of the NIC. - :param Sequence['GetVmsVmNicSecurityGroupArgs'] security_groups: One or more security groups associated with the VM. - :param str state: The state of the VM (`pending` \\| `running` \\| `stopping` \\| `stopped` \\| `shutting-down` \\| `terminated` \\| `quarantine`). - :param str subnet_id: The ID of the Subnet for the VM. - """ - pulumi.set(__self__, "account_id", account_id) - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "device_number", device_number) - pulumi.set(__self__, "is_source_dest_checked", is_source_dest_checked) - pulumi.set(__self__, "link_nics", link_nics) - pulumi.set(__self__, "link_public_ips", link_public_ips) - pulumi.set(__self__, "mac_address", mac_address) - pulumi.set(__self__, "net_id", net_id) - pulumi.set(__self__, "nic_id", nic_id) - pulumi.set(__self__, "private_dns_name", private_dns_name) - pulumi.set(__self__, "private_ips", private_ips) - pulumi.set(__self__, "secondary_private_ip_count", secondary_private_ip_count) - pulumi.set(__self__, "security_group_ids", security_group_ids) - pulumi.set(__self__, "security_groups", security_groups) - pulumi.set(__self__, "security_groups_names", security_groups_names) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> str: - """ - The account ID of the owner of the NIC. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> bool: - """ - If true, the NIC is deleted when the VM is terminated. - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @property - @pulumi.getter - def description(self) -> str: - """ - The description of the NIC. - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter(name="deviceNumber") - def device_number(self) -> int: - """ - The device index for the NIC attachment (between `1` and `7`, both included). - """ - return pulumi.get(self, "device_number") - - @property - @pulumi.getter(name="isSourceDestChecked") - def is_source_dest_checked(self) -> bool: - """ - (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - """ - return pulumi.get(self, "is_source_dest_checked") - - @property - @pulumi.getter(name="linkNics") - def link_nics(self) -> Sequence['outputs.GetVmsVmNicLinkNicResult']: - """ - Information about the network interface card (NIC). - """ - return pulumi.get(self, "link_nics") - - @property - @pulumi.getter(name="linkPublicIps") - def link_public_ips(self) -> Sequence['outputs.GetVmsVmNicLinkPublicIpResult']: - """ - Information about the public IP associated with the NIC. - """ - return pulumi.get(self, "link_public_ips") - - @property - @pulumi.getter(name="macAddress") - def mac_address(self) -> str: - """ - The Media Access Control (MAC) address of the NIC. - """ - return pulumi.get(self, "mac_address") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> str: - """ - The ID of the Net for the NIC. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="nicId") - def nic_id(self) -> str: - """ - The ID of the NIC. - """ - return pulumi.get(self, "nic_id") - - @property - @pulumi.getter(name="privateDnsName") - def private_dns_name(self) -> str: - """ - The name of the private DNS. - """ - return pulumi.get(self, "private_dns_name") - - @property - @pulumi.getter(name="privateIps") - def private_ips(self) -> Sequence['outputs.GetVmsVmNicPrivateIpResult']: - """ - The private IP or IPs of the NIC. - """ - return pulumi.get(self, "private_ips") - - @property - @pulumi.getter(name="secondaryPrivateIpCount") - def secondary_private_ip_count(self) -> int: - return pulumi.get(self, "secondary_private_ip_count") - - @property - @pulumi.getter(name="securityGroupIds") - def security_group_ids(self) -> Sequence[str]: - return pulumi.get(self, "security_group_ids") - - @property - @pulumi.getter(name="securityGroups") - def security_groups(self) -> Sequence['outputs.GetVmsVmNicSecurityGroupResult']: - """ - One or more security groups associated with the VM. - """ - return pulumi.get(self, "security_groups") - - @property - @pulumi.getter(name="securityGroupsNames") - def security_groups_names(self) -> Sequence[str]: - return pulumi.get(self, "security_groups_names") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the VM (`pending` \\| `running` \\| `stopping` \\| `stopped` \\| `shutting-down` \\| `terminated` \\| `quarantine`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> str: - """ - The ID of the Subnet for the VM. - """ - return pulumi.get(self, "subnet_id") - - -@pulumi.output_type -class GetVmsVmNicLinkNicResult(dict): - def __init__(__self__, *, - delete_on_vm_deletion: bool, - device_number: str, - link_nic_id: str, - state: str): - """ - :param bool delete_on_vm_deletion: If true, the NIC is deleted when the VM is terminated. - :param str device_number: The device index for the NIC attachment (between `1` and `7`, both included). - :param str link_nic_id: The ID of the NIC to attach. - :param str state: The state of the VM (`pending` \\| `running` \\| `stopping` \\| `stopped` \\| `shutting-down` \\| `terminated` \\| `quarantine`). - """ - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - pulumi.set(__self__, "device_number", device_number) - pulumi.set(__self__, "link_nic_id", link_nic_id) - pulumi.set(__self__, "state", state) - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> bool: - """ - If true, the NIC is deleted when the VM is terminated. - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @property - @pulumi.getter(name="deviceNumber") - def device_number(self) -> str: - """ - The device index for the NIC attachment (between `1` and `7`, both included). - """ - return pulumi.get(self, "device_number") - - @property - @pulumi.getter(name="linkNicId") - def link_nic_id(self) -> str: - """ - The ID of the NIC to attach. - """ - return pulumi.get(self, "link_nic_id") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the VM (`pending` \\| `running` \\| `stopping` \\| `stopped` \\| `shutting-down` \\| `terminated` \\| `quarantine`). - """ - return pulumi.get(self, "state") - - -@pulumi.output_type -class GetVmsVmNicLinkPublicIpResult(dict): - def __init__(__self__, *, - public_dns_name: str, - public_ip: str, - public_ip_account_id: str): - """ - :param str public_dns_name: The name of the public DNS. - :param str public_ip: The public IP of the VM. - :param str public_ip_account_id: The account ID of the owner of the public IP. - """ - pulumi.set(__self__, "public_dns_name", public_dns_name) - pulumi.set(__self__, "public_ip", public_ip) - pulumi.set(__self__, "public_ip_account_id", public_ip_account_id) - - @property - @pulumi.getter(name="publicDnsName") - def public_dns_name(self) -> str: - """ - The name of the public DNS. - """ - return pulumi.get(self, "public_dns_name") - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> str: - """ - The public IP of the VM. - """ - return pulumi.get(self, "public_ip") - - @property - @pulumi.getter(name="publicIpAccountId") - def public_ip_account_id(self) -> str: - """ - The account ID of the owner of the public IP. - """ - return pulumi.get(self, "public_ip_account_id") - - -@pulumi.output_type -class GetVmsVmNicPrivateIpResult(dict): - def __init__(__self__, *, - is_primary: bool, - link_public_ips: Sequence['outputs.GetVmsVmNicPrivateIpLinkPublicIpResult'], - private_dns_name: str, - private_ip: str): - """ - :param bool is_primary: If true, the IP is the primary private IP of the NIC. - :param Sequence['GetVmsVmNicPrivateIpLinkPublicIpArgs'] link_public_ips: Information about the public IP associated with the NIC. - :param str private_dns_name: The name of the private DNS. - :param str private_ip: The primary private IP of the VM. - """ - pulumi.set(__self__, "is_primary", is_primary) - pulumi.set(__self__, "link_public_ips", link_public_ips) - pulumi.set(__self__, "private_dns_name", private_dns_name) - pulumi.set(__self__, "private_ip", private_ip) - - @property - @pulumi.getter(name="isPrimary") - def is_primary(self) -> bool: - """ - If true, the IP is the primary private IP of the NIC. - """ - return pulumi.get(self, "is_primary") - - @property - @pulumi.getter(name="linkPublicIps") - def link_public_ips(self) -> Sequence['outputs.GetVmsVmNicPrivateIpLinkPublicIpResult']: - """ - Information about the public IP associated with the NIC. - """ - return pulumi.get(self, "link_public_ips") - - @property - @pulumi.getter(name="privateDnsName") - def private_dns_name(self) -> str: - """ - The name of the private DNS. - """ - return pulumi.get(self, "private_dns_name") - - @property - @pulumi.getter(name="privateIp") - def private_ip(self) -> str: - """ - The primary private IP of the VM. - """ - return pulumi.get(self, "private_ip") - - -@pulumi.output_type -class GetVmsVmNicPrivateIpLinkPublicIpResult(dict): - def __init__(__self__, *, - public_dns_name: str, - public_ip: str, - public_ip_account_id: str): - """ - :param str public_dns_name: The name of the public DNS. - :param str public_ip: The public IP of the VM. - :param str public_ip_account_id: The account ID of the owner of the public IP. - """ - pulumi.set(__self__, "public_dns_name", public_dns_name) - pulumi.set(__self__, "public_ip", public_ip) - pulumi.set(__self__, "public_ip_account_id", public_ip_account_id) - - @property - @pulumi.getter(name="publicDnsName") - def public_dns_name(self) -> str: - """ - The name of the public DNS. - """ - return pulumi.get(self, "public_dns_name") - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> str: - """ - The public IP of the VM. - """ - return pulumi.get(self, "public_ip") - - @property - @pulumi.getter(name="publicIpAccountId") - def public_ip_account_id(self) -> str: - """ - The account ID of the owner of the public IP. - """ - return pulumi.get(self, "public_ip_account_id") - - -@pulumi.output_type -class GetVmsVmNicSecurityGroupResult(dict): - def __init__(__self__, *, - security_group_id: str, - security_group_name: str): - """ - :param str security_group_id: The ID of the security group. - :param str security_group_name: The name of the security group. - """ - pulumi.set(__self__, "security_group_id", security_group_id) - pulumi.set(__self__, "security_group_name", security_group_name) - - @property - @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> str: - """ - The ID of the security group. - """ - return pulumi.get(self, "security_group_id") - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> str: - """ - The name of the security group. - """ - return pulumi.get(self, "security_group_name") - - -@pulumi.output_type -class GetVmsVmPrimaryNicResult(dict): - def __init__(__self__, *, - account_id: str, - delete_on_vm_deletion: bool, - description: str, - device_number: int, - is_source_dest_checked: bool, - link_nics: Sequence['outputs.GetVmsVmPrimaryNicLinkNicResult'], - link_public_ips: Sequence['outputs.GetVmsVmPrimaryNicLinkPublicIpResult'], - mac_address: str, - net_id: str, - nic_id: str, - private_dns_name: str, - private_ips: Sequence['outputs.GetVmsVmPrimaryNicPrivateIpResult'], - secondary_private_ip_count: int, - security_group_ids: Sequence[str], - security_groups: Sequence['outputs.GetVmsVmPrimaryNicSecurityGroupResult'], - state: str, - subnet_id: str): - """ - :param str account_id: The account ID of the owner of the NIC. - :param bool delete_on_vm_deletion: If true, the NIC is deleted when the VM is terminated. - :param str description: The description of the NIC. - :param int device_number: The device index for the NIC attachment (between `1` and `7`, both included). - :param bool is_source_dest_checked: (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - :param Sequence['GetVmsVmPrimaryNicLinkNicArgs'] link_nics: Information about the network interface card (NIC). - :param Sequence['GetVmsVmPrimaryNicLinkPublicIpArgs'] link_public_ips: Information about the public IP associated with the NIC. - :param str mac_address: The Media Access Control (MAC) address of the NIC. - :param str net_id: The ID of the Net for the NIC. - :param str nic_id: The ID of the NIC. - :param str private_dns_name: The name of the private DNS. - :param Sequence['GetVmsVmPrimaryNicPrivateIpArgs'] private_ips: The private IP or IPs of the NIC. - :param Sequence['GetVmsVmPrimaryNicSecurityGroupArgs'] security_groups: One or more security groups associated with the VM. - :param str state: The state of the VM (`pending` \\| `running` \\| `stopping` \\| `stopped` \\| `shutting-down` \\| `terminated` \\| `quarantine`). - :param str subnet_id: The ID of the Subnet for the VM. - """ - pulumi.set(__self__, "account_id", account_id) - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "device_number", device_number) - pulumi.set(__self__, "is_source_dest_checked", is_source_dest_checked) - pulumi.set(__self__, "link_nics", link_nics) - pulumi.set(__self__, "link_public_ips", link_public_ips) - pulumi.set(__self__, "mac_address", mac_address) - pulumi.set(__self__, "net_id", net_id) - pulumi.set(__self__, "nic_id", nic_id) - pulumi.set(__self__, "private_dns_name", private_dns_name) - pulumi.set(__self__, "private_ips", private_ips) - pulumi.set(__self__, "secondary_private_ip_count", secondary_private_ip_count) - pulumi.set(__self__, "security_group_ids", security_group_ids) - pulumi.set(__self__, "security_groups", security_groups) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> str: - """ - The account ID of the owner of the NIC. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> bool: - """ - If true, the NIC is deleted when the VM is terminated. - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @property - @pulumi.getter - def description(self) -> str: - """ - The description of the NIC. - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter(name="deviceNumber") - def device_number(self) -> int: - """ - The device index for the NIC attachment (between `1` and `7`, both included). - """ - return pulumi.get(self, "device_number") - - @property - @pulumi.getter(name="isSourceDestChecked") - def is_source_dest_checked(self) -> bool: - """ - (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - """ - return pulumi.get(self, "is_source_dest_checked") - - @property - @pulumi.getter(name="linkNics") - def link_nics(self) -> Sequence['outputs.GetVmsVmPrimaryNicLinkNicResult']: - """ - Information about the network interface card (NIC). - """ - return pulumi.get(self, "link_nics") - - @property - @pulumi.getter(name="linkPublicIps") - def link_public_ips(self) -> Sequence['outputs.GetVmsVmPrimaryNicLinkPublicIpResult']: - """ - Information about the public IP associated with the NIC. - """ - return pulumi.get(self, "link_public_ips") - - @property - @pulumi.getter(name="macAddress") - def mac_address(self) -> str: - """ - The Media Access Control (MAC) address of the NIC. - """ - return pulumi.get(self, "mac_address") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> str: - """ - The ID of the Net for the NIC. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="nicId") - def nic_id(self) -> str: - """ - The ID of the NIC. - """ - return pulumi.get(self, "nic_id") - - @property - @pulumi.getter(name="privateDnsName") - def private_dns_name(self) -> str: - """ - The name of the private DNS. - """ - return pulumi.get(self, "private_dns_name") - - @property - @pulumi.getter(name="privateIps") - def private_ips(self) -> Sequence['outputs.GetVmsVmPrimaryNicPrivateIpResult']: - """ - The private IP or IPs of the NIC. - """ - return pulumi.get(self, "private_ips") - - @property - @pulumi.getter(name="secondaryPrivateIpCount") - def secondary_private_ip_count(self) -> int: - return pulumi.get(self, "secondary_private_ip_count") - - @property - @pulumi.getter(name="securityGroupIds") - def security_group_ids(self) -> Sequence[str]: - return pulumi.get(self, "security_group_ids") - - @property - @pulumi.getter(name="securityGroups") - def security_groups(self) -> Sequence['outputs.GetVmsVmPrimaryNicSecurityGroupResult']: - """ - One or more security groups associated with the VM. - """ - return pulumi.get(self, "security_groups") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the VM (`pending` \\| `running` \\| `stopping` \\| `stopped` \\| `shutting-down` \\| `terminated` \\| `quarantine`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> str: - """ - The ID of the Subnet for the VM. - """ - return pulumi.get(self, "subnet_id") - - -@pulumi.output_type -class GetVmsVmPrimaryNicLinkNicResult(dict): - def __init__(__self__, *, - delete_on_vm_deletion: bool, - device_number: str, - link_nic_id: str, - state: str): - """ - :param bool delete_on_vm_deletion: If true, the NIC is deleted when the VM is terminated. - :param str device_number: The device index for the NIC attachment (between `1` and `7`, both included). - :param str link_nic_id: The ID of the NIC to attach. - :param str state: The state of the VM (`pending` \\| `running` \\| `stopping` \\| `stopped` \\| `shutting-down` \\| `terminated` \\| `quarantine`). - """ - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - pulumi.set(__self__, "device_number", device_number) - pulumi.set(__self__, "link_nic_id", link_nic_id) - pulumi.set(__self__, "state", state) - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> bool: - """ - If true, the NIC is deleted when the VM is terminated. - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @property - @pulumi.getter(name="deviceNumber") - def device_number(self) -> str: - """ - The device index for the NIC attachment (between `1` and `7`, both included). - """ - return pulumi.get(self, "device_number") - - @property - @pulumi.getter(name="linkNicId") - def link_nic_id(self) -> str: - """ - The ID of the NIC to attach. - """ - return pulumi.get(self, "link_nic_id") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the VM (`pending` \\| `running` \\| `stopping` \\| `stopped` \\| `shutting-down` \\| `terminated` \\| `quarantine`). - """ - return pulumi.get(self, "state") - - -@pulumi.output_type -class GetVmsVmPrimaryNicLinkPublicIpResult(dict): - def __init__(__self__, *, - public_dns_name: str, - public_ip: str, - public_ip_account_id: str): - """ - :param str public_dns_name: The name of the public DNS. - :param str public_ip: The public IP of the VM. - :param str public_ip_account_id: The account ID of the owner of the public IP. - """ - pulumi.set(__self__, "public_dns_name", public_dns_name) - pulumi.set(__self__, "public_ip", public_ip) - pulumi.set(__self__, "public_ip_account_id", public_ip_account_id) - - @property - @pulumi.getter(name="publicDnsName") - def public_dns_name(self) -> str: - """ - The name of the public DNS. - """ - return pulumi.get(self, "public_dns_name") - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> str: - """ - The public IP of the VM. - """ - return pulumi.get(self, "public_ip") - - @property - @pulumi.getter(name="publicIpAccountId") - def public_ip_account_id(self) -> str: - """ - The account ID of the owner of the public IP. - """ - return pulumi.get(self, "public_ip_account_id") - - -@pulumi.output_type -class GetVmsVmPrimaryNicPrivateIpResult(dict): - def __init__(__self__, *, - is_primary: bool, - link_public_ips: Sequence['outputs.GetVmsVmPrimaryNicPrivateIpLinkPublicIpResult'], - private_dns_name: str, - private_ip: str): - """ - :param bool is_primary: If true, the IP is the primary private IP of the NIC. - :param Sequence['GetVmsVmPrimaryNicPrivateIpLinkPublicIpArgs'] link_public_ips: Information about the public IP associated with the NIC. - :param str private_dns_name: The name of the private DNS. - :param str private_ip: The primary private IP of the VM. - """ - pulumi.set(__self__, "is_primary", is_primary) - pulumi.set(__self__, "link_public_ips", link_public_ips) - pulumi.set(__self__, "private_dns_name", private_dns_name) - pulumi.set(__self__, "private_ip", private_ip) - - @property - @pulumi.getter(name="isPrimary") - def is_primary(self) -> bool: - """ - If true, the IP is the primary private IP of the NIC. - """ - return pulumi.get(self, "is_primary") - - @property - @pulumi.getter(name="linkPublicIps") - def link_public_ips(self) -> Sequence['outputs.GetVmsVmPrimaryNicPrivateIpLinkPublicIpResult']: - """ - Information about the public IP associated with the NIC. - """ - return pulumi.get(self, "link_public_ips") - - @property - @pulumi.getter(name="privateDnsName") - def private_dns_name(self) -> str: - """ - The name of the private DNS. - """ - return pulumi.get(self, "private_dns_name") - - @property - @pulumi.getter(name="privateIp") - def private_ip(self) -> str: - """ - The primary private IP of the VM. - """ - return pulumi.get(self, "private_ip") - - -@pulumi.output_type -class GetVmsVmPrimaryNicPrivateIpLinkPublicIpResult(dict): - def __init__(__self__, *, - public_dns_name: str, - public_ip: str, - public_ip_account_id: str): - """ - :param str public_dns_name: The name of the public DNS. - :param str public_ip: The public IP of the VM. - :param str public_ip_account_id: The account ID of the owner of the public IP. - """ - pulumi.set(__self__, "public_dns_name", public_dns_name) - pulumi.set(__self__, "public_ip", public_ip) - pulumi.set(__self__, "public_ip_account_id", public_ip_account_id) - - @property - @pulumi.getter(name="publicDnsName") - def public_dns_name(self) -> str: - """ - The name of the public DNS. - """ - return pulumi.get(self, "public_dns_name") - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> str: - """ - The public IP of the VM. - """ - return pulumi.get(self, "public_ip") - - @property - @pulumi.getter(name="publicIpAccountId") - def public_ip_account_id(self) -> str: - """ - The account ID of the owner of the public IP. - """ - return pulumi.get(self, "public_ip_account_id") - - -@pulumi.output_type -class GetVmsVmPrimaryNicSecurityGroupResult(dict): - def __init__(__self__, *, - security_group_id: str, - security_group_name: str): - """ - :param str security_group_id: The ID of the security group. - :param str security_group_name: The name of the security group. - """ - pulumi.set(__self__, "security_group_id", security_group_id) - pulumi.set(__self__, "security_group_name", security_group_name) - - @property - @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> str: - """ - The ID of the security group. - """ - return pulumi.get(self, "security_group_id") - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> str: - """ - The name of the security group. - """ - return pulumi.get(self, "security_group_name") - - -@pulumi.output_type -class GetVmsVmSecurityGroupResult(dict): - def __init__(__self__, *, - security_group_id: str, - security_group_name: str): - """ - :param str security_group_id: The ID of the security group. - :param str security_group_name: The name of the security group. - """ - pulumi.set(__self__, "security_group_id", security_group_id) - pulumi.set(__self__, "security_group_name", security_group_name) - - @property - @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> str: - """ - The ID of the security group. - """ - return pulumi.get(self, "security_group_id") - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> str: - """ - The name of the security group. - """ - return pulumi.get(self, "security_group_name") - - -@pulumi.output_type -class GetVmsVmTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetVolumeFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetVolumeLinkedVolumeResult(dict): - def __init__(__self__, *, - delete_on_vm_deletion: bool, - device_name: str, - state: str, - vm_id: str, - volume_id: str): - """ - :param bool delete_on_vm_deletion: If true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - :param str device_name: The name of the device. - :param str state: The state of the volume (`creating` \\| `available` \\| `in-use` \\| `updating` \\| `deleting` \\| `error`). - :param str vm_id: The ID of the VM. - :param str volume_id: The ID of the volume. - """ - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - pulumi.set(__self__, "device_name", device_name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "vm_id", vm_id) - pulumi.set(__self__, "volume_id", volume_id) - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> bool: - """ - If true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @property - @pulumi.getter(name="deviceName") - def device_name(self) -> str: - """ - The name of the device. - """ - return pulumi.get(self, "device_name") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the volume (`creating` \\| `available` \\| `in-use` \\| `updating` \\| `deleting` \\| `error`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> str: - """ - The ID of the VM. - """ - return pulumi.get(self, "vm_id") - - @property - @pulumi.getter(name="volumeId") - def volume_id(self) -> str: - """ - The ID of the volume. - """ - return pulumi.get(self, "volume_id") - - -@pulumi.output_type -class GetVolumeTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetVolumesFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetVolumesVolumeResult(dict): - def __init__(__self__, *, - creation_date: str, - iops: int, - linked_volumes: Sequence['outputs.GetVolumesVolumeLinkedVolumeResult'], - size: int, - snapshot_id: str, - state: str, - subregion_name: str, - tags: Sequence['outputs.GetVolumesVolumeTagResult'], - volume_id: str, - volume_type: str): - """ - :param str creation_date: The date and time of creation of the volume. - :param int iops: The number of I/O operations per second (IOPS):
- For `io1` volumes, the number of provisioned IOPS.
- For `gp2` volumes, the baseline performance of the volume. - :param Sequence['GetVolumesVolumeLinkedVolumeArgs'] linked_volumes: Information about your volume attachment. - :param int size: The size of the volume, in gibibytes (GiB). - :param str snapshot_id: The snapshot from which the volume was created. - :param str state: The state of the volume (`creating` \\| `available` \\| `in-use` \\| `updating` \\| `deleting` \\| `error`). - :param str subregion_name: The Subregion in which the volume was created. - :param Sequence['GetVolumesVolumeTagArgs'] tags: The key/value combinations of the tags associated with the volumes, in the following format: `TAGKEY=TAGVALUE`. - :param str volume_id: The ID of the volume. - :param str volume_type: The type of the volume (`standard` \\| `gp2` \\| `io1`). - """ - pulumi.set(__self__, "creation_date", creation_date) - pulumi.set(__self__, "iops", iops) - pulumi.set(__self__, "linked_volumes", linked_volumes) - pulumi.set(__self__, "size", size) - pulumi.set(__self__, "snapshot_id", snapshot_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subregion_name", subregion_name) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "volume_id", volume_id) - pulumi.set(__self__, "volume_type", volume_type) - - @property - @pulumi.getter(name="creationDate") - def creation_date(self) -> str: - """ - The date and time of creation of the volume. - """ - return pulumi.get(self, "creation_date") - - @property - @pulumi.getter - def iops(self) -> int: - """ - The number of I/O operations per second (IOPS):
- For `io1` volumes, the number of provisioned IOPS.
- For `gp2` volumes, the baseline performance of the volume. - """ - return pulumi.get(self, "iops") - - @property - @pulumi.getter(name="linkedVolumes") - def linked_volumes(self) -> Sequence['outputs.GetVolumesVolumeLinkedVolumeResult']: - """ - Information about your volume attachment. - """ - return pulumi.get(self, "linked_volumes") - - @property - @pulumi.getter - def size(self) -> int: - """ - The size of the volume, in gibibytes (GiB). - """ - return pulumi.get(self, "size") - - @property - @pulumi.getter(name="snapshotId") - def snapshot_id(self) -> str: - """ - The snapshot from which the volume was created. - """ - return pulumi.get(self, "snapshot_id") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the volume (`creating` \\| `available` \\| `in-use` \\| `updating` \\| `deleting` \\| `error`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="subregionName") - def subregion_name(self) -> str: - """ - The Subregion in which the volume was created. - """ - return pulumi.get(self, "subregion_name") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetVolumesVolumeTagResult']: - """ - The key/value combinations of the tags associated with the volumes, in the following format: `TAGKEY=TAGVALUE`. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter(name="volumeId") - def volume_id(self) -> str: - """ - The ID of the volume. - """ - return pulumi.get(self, "volume_id") - - @property - @pulumi.getter(name="volumeType") - def volume_type(self) -> str: - """ - The type of the volume (`standard` \\| `gp2` \\| `io1`). - """ - return pulumi.get(self, "volume_type") - - -@pulumi.output_type -class GetVolumesVolumeLinkedVolumeResult(dict): - def __init__(__self__, *, - delete_on_vm_deletion: bool, - device_name: str, - state: str, - vm_id: str, - volume_id: str): - """ - :param bool delete_on_vm_deletion: If true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - :param str device_name: The name of the device. - :param str state: The state of the volume (`creating` \\| `available` \\| `in-use` \\| `updating` \\| `deleting` \\| `error`). - :param str vm_id: The ID of the VM. - :param str volume_id: The ID of the volume. - """ - pulumi.set(__self__, "delete_on_vm_deletion", delete_on_vm_deletion) - pulumi.set(__self__, "device_name", device_name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "vm_id", vm_id) - pulumi.set(__self__, "volume_id", volume_id) - - @property - @pulumi.getter(name="deleteOnVmDeletion") - def delete_on_vm_deletion(self) -> bool: - """ - If true, the volume is deleted when terminating the VM. If false, the volume is not deleted when terminating the VM. - """ - return pulumi.get(self, "delete_on_vm_deletion") - - @property - @pulumi.getter(name="deviceName") - def device_name(self) -> str: - """ - The name of the device. - """ - return pulumi.get(self, "device_name") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the volume (`creating` \\| `available` \\| `in-use` \\| `updating` \\| `deleting` \\| `error`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> str: - """ - The ID of the VM. - """ - return pulumi.get(self, "vm_id") - - @property - @pulumi.getter(name="volumeId") - def volume_id(self) -> str: - """ - The ID of the volume. - """ - return pulumi.get(self, "volume_id") - - -@pulumi.output_type -class GetVolumesVolumeTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetVpnConnectionFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetVpnConnectionRouteResult(dict): - def __init__(__self__, *, - destination_ip_range: str, - route_type: str, - state: str): - """ - :param str destination_ip_range: The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - :param str route_type: The type of route (always `static`). - :param str state: The state of the IPSEC tunnel (`UP` \\| `DOWN`). - """ - pulumi.set(__self__, "destination_ip_range", destination_ip_range) - pulumi.set(__self__, "route_type", route_type) - pulumi.set(__self__, "state", state) - - @property - @pulumi.getter(name="destinationIpRange") - def destination_ip_range(self) -> str: - """ - The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - """ - return pulumi.get(self, "destination_ip_range") - - @property - @pulumi.getter(name="routeType") - def route_type(self) -> str: - """ - The type of route (always `static`). - """ - return pulumi.get(self, "route_type") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the IPSEC tunnel (`UP` \\| `DOWN`). - """ - return pulumi.get(self, "state") - - -@pulumi.output_type -class GetVpnConnectionTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetVpnConnectionVgwTelemetryResult(dict): - def __init__(__self__, *, - accepted_route_count: int, - last_state_change_date: str, - outside_ip_address: str, - state: str, - state_description: str): - """ - :param int accepted_route_count: The number of routes accepted through BGP (Border Gateway Protocol) route exchanges. - :param str last_state_change_date: The date and time (UTC) of the latest state update. - :param str outside_ip_address: The IP on the OUTSCALE side of the tunnel. - :param str state: The state of the IPSEC tunnel (`UP` \\| `DOWN`). - :param str state_description: A description of the current state of the tunnel. - """ - pulumi.set(__self__, "accepted_route_count", accepted_route_count) - pulumi.set(__self__, "last_state_change_date", last_state_change_date) - pulumi.set(__self__, "outside_ip_address", outside_ip_address) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "state_description", state_description) - - @property - @pulumi.getter(name="acceptedRouteCount") - def accepted_route_count(self) -> int: - """ - The number of routes accepted through BGP (Border Gateway Protocol) route exchanges. - """ - return pulumi.get(self, "accepted_route_count") - - @property - @pulumi.getter(name="lastStateChangeDate") - def last_state_change_date(self) -> str: - """ - The date and time (UTC) of the latest state update. - """ - return pulumi.get(self, "last_state_change_date") - - @property - @pulumi.getter(name="outsideIpAddress") - def outside_ip_address(self) -> str: - """ - The IP on the OUTSCALE side of the tunnel. - """ - return pulumi.get(self, "outside_ip_address") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the IPSEC tunnel (`UP` \\| `DOWN`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="stateDescription") - def state_description(self) -> str: - """ - A description of the current state of the tunnel. - """ - return pulumi.get(self, "state_description") - - -@pulumi.output_type -class GetVpnConnectionsFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str]): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") - - -@pulumi.output_type -class GetVpnConnectionsVpnConnectionResult(dict): - def __init__(__self__, *, - client_gateway_configuration: str, - client_gateway_id: str, - connection_type: str, - routes: Sequence['outputs.GetVpnConnectionsVpnConnectionRouteResult'], - state: str, - tags: Sequence['outputs.GetVpnConnectionsVpnConnectionTagResult'], - vgw_telemetries: Sequence['outputs.GetVpnConnectionsVpnConnectionVgwTelemetryResult'], - virtual_gateway_id: str, - vpn_connection_id: str, - static_routes_only: Optional[bool] = None): - """ - :param str client_gateway_configuration: Example configuration for the client gateway. - :param str client_gateway_id: The ID of the client gateway used on the client end of the connection. - :param str connection_type: The type of VPN connection (always `ipsec.1`). - :param Sequence['GetVpnConnectionsVpnConnectionRouteArgs'] routes: Information about one or more static routes associated with the VPN connection, if any. - :param str state: The state of the IPSEC tunnel (`UP` \\| `DOWN`). - :param Sequence['GetVpnConnectionsVpnConnectionTagArgs'] tags: The key/value combinations of the tags associated with the VPN connections, in the following format: `TAGKEY=TAGVALUE`. - :param Sequence['GetVpnConnectionsVpnConnectionVgwTelemetryArgs'] vgw_telemetries: Information about the current state of one or more of the VPN tunnels. - :param str virtual_gateway_id: The ID of the virtual gateway used on the OUTSCALE end of the connection. - :param str vpn_connection_id: The ID of the VPN connection. - :param bool static_routes_only: If false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see [CreateVpnConnectionRoute](https://docs.outscale.com/api#createvpnconnectionroute) and [DeleteVpnConnectionRoute](https://docs.outscale.com/api#deletevpnconnectionroute). - """ - pulumi.set(__self__, "client_gateway_configuration", client_gateway_configuration) - pulumi.set(__self__, "client_gateway_id", client_gateway_id) - pulumi.set(__self__, "connection_type", connection_type) - pulumi.set(__self__, "routes", routes) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "vgw_telemetries", vgw_telemetries) - pulumi.set(__self__, "virtual_gateway_id", virtual_gateway_id) - pulumi.set(__self__, "vpn_connection_id", vpn_connection_id) - if static_routes_only is not None: - pulumi.set(__self__, "static_routes_only", static_routes_only) - - @property - @pulumi.getter(name="clientGatewayConfiguration") - def client_gateway_configuration(self) -> str: - """ - Example configuration for the client gateway. - """ - return pulumi.get(self, "client_gateway_configuration") - - @property - @pulumi.getter(name="clientGatewayId") - def client_gateway_id(self) -> str: - """ - The ID of the client gateway used on the client end of the connection. - """ - return pulumi.get(self, "client_gateway_id") - - @property - @pulumi.getter(name="connectionType") - def connection_type(self) -> str: - """ - The type of VPN connection (always `ipsec.1`). - """ - return pulumi.get(self, "connection_type") - - @property - @pulumi.getter - def routes(self) -> Sequence['outputs.GetVpnConnectionsVpnConnectionRouteResult']: - """ - Information about one or more static routes associated with the VPN connection, if any. - """ - return pulumi.get(self, "routes") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the IPSEC tunnel (`UP` \\| `DOWN`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetVpnConnectionsVpnConnectionTagResult']: - """ - The key/value combinations of the tags associated with the VPN connections, in the following format: `TAGKEY=TAGVALUE`. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter(name="vgwTelemetries") - def vgw_telemetries(self) -> Sequence['outputs.GetVpnConnectionsVpnConnectionVgwTelemetryResult']: - """ - Information about the current state of one or more of the VPN tunnels. - """ - return pulumi.get(self, "vgw_telemetries") - - @property - @pulumi.getter(name="virtualGatewayId") - def virtual_gateway_id(self) -> str: - """ - The ID of the virtual gateway used on the OUTSCALE end of the connection. - """ - return pulumi.get(self, "virtual_gateway_id") - - @property - @pulumi.getter(name="vpnConnectionId") - def vpn_connection_id(self) -> str: - """ - The ID of the VPN connection. - """ - return pulumi.get(self, "vpn_connection_id") - - @property - @pulumi.getter(name="staticRoutesOnly") - def static_routes_only(self) -> Optional[bool]: - """ - If false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see [CreateVpnConnectionRoute](https://docs.outscale.com/api#createvpnconnectionroute) and [DeleteVpnConnectionRoute](https://docs.outscale.com/api#deletevpnconnectionroute). - """ - return pulumi.get(self, "static_routes_only") - - -@pulumi.output_type -class GetVpnConnectionsVpnConnectionRouteResult(dict): - def __init__(__self__, *, - destination_ip_range: str, - route_type: str, - state: str): - """ - :param str destination_ip_range: The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - :param str route_type: The type of route (always `static`). - :param str state: The state of the IPSEC tunnel (`UP` \\| `DOWN`). - """ - pulumi.set(__self__, "destination_ip_range", destination_ip_range) - pulumi.set(__self__, "route_type", route_type) - pulumi.set(__self__, "state", state) - - @property - @pulumi.getter(name="destinationIpRange") - def destination_ip_range(self) -> str: - """ - The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - """ - return pulumi.get(self, "destination_ip_range") - - @property - @pulumi.getter(name="routeType") - def route_type(self) -> str: - """ - The type of route (always `static`). - """ - return pulumi.get(self, "route_type") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the IPSEC tunnel (`UP` \\| `DOWN`). - """ - return pulumi.get(self, "state") - - -@pulumi.output_type -class GetVpnConnectionsVpnConnectionTagResult(dict): - def __init__(__self__, *, - key: str, - value: str): - """ - :param str key: The key of the tag, with a minimum of 1 character. - :param str value: The value of the tag, between 0 and 255 characters. - """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - """ - The key of the tag, with a minimum of 1 character. - """ - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - """ - The value of the tag, between 0 and 255 characters. - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetVpnConnectionsVpnConnectionVgwTelemetryResult(dict): - def __init__(__self__, *, - accepted_route_count: int, - last_state_change_date: str, - outside_ip_address: str, - state: str, - state_description: str): - """ - :param int accepted_route_count: The number of routes accepted through BGP (Border Gateway Protocol) route exchanges. - :param str last_state_change_date: The date and time (UTC) of the latest state update. - :param str outside_ip_address: The IP on the OUTSCALE side of the tunnel. - :param str state: The state of the IPSEC tunnel (`UP` \\| `DOWN`). - :param str state_description: A description of the current state of the tunnel. - """ - pulumi.set(__self__, "accepted_route_count", accepted_route_count) - pulumi.set(__self__, "last_state_change_date", last_state_change_date) - pulumi.set(__self__, "outside_ip_address", outside_ip_address) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "state_description", state_description) - - @property - @pulumi.getter(name="acceptedRouteCount") - def accepted_route_count(self) -> int: - """ - The number of routes accepted through BGP (Border Gateway Protocol) route exchanges. - """ - return pulumi.get(self, "accepted_route_count") - - @property - @pulumi.getter(name="lastStateChangeDate") - def last_state_change_date(self) -> str: - """ - The date and time (UTC) of the latest state update. - """ - return pulumi.get(self, "last_state_change_date") - - @property - @pulumi.getter(name="outsideIpAddress") - def outside_ip_address(self) -> str: - """ - The IP on the OUTSCALE side of the tunnel. - """ - return pulumi.get(self, "outside_ip_address") - - @property - @pulumi.getter - def state(self) -> str: - """ - The state of the IPSEC tunnel (`UP` \\| `DOWN`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="stateDescription") - def state_description(self) -> str: - """ - A description of the current state of the tunnel. - """ - return pulumi.get(self, "state_description") - - diff --git a/sdk/python/pulumi_outscale/provider.py b/sdk/python/pulumi_outscale/provider.py deleted file mode 100644 index 5979071..0000000 --- a/sdk/python/pulumi_outscale/provider.py +++ /dev/null @@ -1,266 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from ._inputs import * - -__all__ = ['ProviderArgs', 'Provider'] - -@pulumi.input_type -class ProviderArgs: - def __init__(__self__, *, - access_key_id: Optional[pulumi.Input[str]] = None, - endpoints: Optional[pulumi.Input[Sequence[pulumi.Input['ProviderEndpointArgs']]]] = None, - insecure: Optional[pulumi.Input[bool]] = None, - region: Optional[pulumi.Input[str]] = None, - secret_key_id: Optional[pulumi.Input[str]] = None, - x509_cert_path: Optional[pulumi.Input[str]] = None, - x509_key_path: Optional[pulumi.Input[str]] = None): - """ - The set of arguments for constructing a Provider resource. - :param pulumi.Input[str] access_key_id: The Access Key ID for API operations - :param pulumi.Input[bool] insecure: tls insecure connection - :param pulumi.Input[str] region: The Region for API operations. - :param pulumi.Input[str] secret_key_id: The Secret Key ID for API operations. - :param pulumi.Input[str] x509_cert_path: The path to your x509 cert - :param pulumi.Input[str] x509_key_path: The path to your x509 key - """ - if access_key_id is None: - access_key_id = _utilities.get_env('OUTSCALE_ACCESSKEYID') - if access_key_id is not None: - pulumi.set(__self__, "access_key_id", access_key_id) - if endpoints is not None: - pulumi.set(__self__, "endpoints", endpoints) - if insecure is not None: - pulumi.set(__self__, "insecure", insecure) - if region is None: - region = _utilities.get_env('OUTSCALE_REGION') - if region is not None: - pulumi.set(__self__, "region", region) - if secret_key_id is None: - secret_key_id = _utilities.get_env('OUTSCALE_SECRETKEYID') - if secret_key_id is not None: - pulumi.set(__self__, "secret_key_id", secret_key_id) - if x509_cert_path is not None: - pulumi.set(__self__, "x509_cert_path", x509_cert_path) - if x509_key_path is not None: - pulumi.set(__self__, "x509_key_path", x509_key_path) - - @property - @pulumi.getter(name="accessKeyId") - def access_key_id(self) -> Optional[pulumi.Input[str]]: - """ - The Access Key ID for API operations - """ - return pulumi.get(self, "access_key_id") - - @access_key_id.setter - def access_key_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "access_key_id", value) - - @property - @pulumi.getter - def endpoints(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ProviderEndpointArgs']]]]: - return pulumi.get(self, "endpoints") - - @endpoints.setter - def endpoints(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ProviderEndpointArgs']]]]): - pulumi.set(self, "endpoints", value) - - @property - @pulumi.getter - def insecure(self) -> Optional[pulumi.Input[bool]]: - """ - tls insecure connection - """ - return pulumi.get(self, "insecure") - - @insecure.setter - def insecure(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "insecure", value) - - @property - @pulumi.getter - def region(self) -> Optional[pulumi.Input[str]]: - """ - The Region for API operations. - """ - return pulumi.get(self, "region") - - @region.setter - def region(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "region", value) - - @property - @pulumi.getter(name="secretKeyId") - def secret_key_id(self) -> Optional[pulumi.Input[str]]: - """ - The Secret Key ID for API operations. - """ - return pulumi.get(self, "secret_key_id") - - @secret_key_id.setter - def secret_key_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "secret_key_id", value) - - @property - @pulumi.getter(name="x509CertPath") - def x509_cert_path(self) -> Optional[pulumi.Input[str]]: - """ - The path to your x509 cert - """ - return pulumi.get(self, "x509_cert_path") - - @x509_cert_path.setter - def x509_cert_path(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "x509_cert_path", value) - - @property - @pulumi.getter(name="x509KeyPath") - def x509_key_path(self) -> Optional[pulumi.Input[str]]: - """ - The path to your x509 key - """ - return pulumi.get(self, "x509_key_path") - - @x509_key_path.setter - def x509_key_path(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "x509_key_path", value) - - -class Provider(pulumi.ProviderResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - access_key_id: Optional[pulumi.Input[str]] = None, - endpoints: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ProviderEndpointArgs']]]]] = None, - insecure: Optional[pulumi.Input[bool]] = None, - region: Optional[pulumi.Input[str]] = None, - secret_key_id: Optional[pulumi.Input[str]] = None, - x509_cert_path: Optional[pulumi.Input[str]] = None, - x509_key_path: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - The provider type for the outscale package. By default, resources use package-wide configuration - settings, however an explicit `Provider` instance may be created and passed during resource - construction to achieve fine-grained programmatic control over provider settings. See the - [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information. - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] access_key_id: The Access Key ID for API operations - :param pulumi.Input[bool] insecure: tls insecure connection - :param pulumi.Input[str] region: The Region for API operations. - :param pulumi.Input[str] secret_key_id: The Secret Key ID for API operations. - :param pulumi.Input[str] x509_cert_path: The path to your x509 cert - :param pulumi.Input[str] x509_key_path: The path to your x509 key - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: Optional[ProviderArgs] = None, - opts: Optional[pulumi.ResourceOptions] = None): - """ - The provider type for the outscale package. By default, resources use package-wide configuration - settings, however an explicit `Provider` instance may be created and passed during resource - construction to achieve fine-grained programmatic control over provider settings. See the - [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information. - - :param str resource_name: The name of the resource. - :param ProviderArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(ProviderArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - access_key_id: Optional[pulumi.Input[str]] = None, - endpoints: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ProviderEndpointArgs']]]]] = None, - insecure: Optional[pulumi.Input[bool]] = None, - region: Optional[pulumi.Input[str]] = None, - secret_key_id: Optional[pulumi.Input[str]] = None, - x509_cert_path: Optional[pulumi.Input[str]] = None, - x509_key_path: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = ProviderArgs.__new__(ProviderArgs) - - if access_key_id is None: - access_key_id = _utilities.get_env('OUTSCALE_ACCESSKEYID') - __props__.__dict__["access_key_id"] = access_key_id - __props__.__dict__["endpoints"] = pulumi.Output.from_input(endpoints).apply(pulumi.runtime.to_json) if endpoints is not None else None - __props__.__dict__["insecure"] = pulumi.Output.from_input(insecure).apply(pulumi.runtime.to_json) if insecure is not None else None - if region is None: - region = _utilities.get_env('OUTSCALE_REGION') - __props__.__dict__["region"] = region - if secret_key_id is None: - secret_key_id = _utilities.get_env('OUTSCALE_SECRETKEYID') - __props__.__dict__["secret_key_id"] = secret_key_id - __props__.__dict__["x509_cert_path"] = x509_cert_path - __props__.__dict__["x509_key_path"] = x509_key_path - super(Provider, __self__).__init__( - 'outscale', - resource_name, - __props__, - opts) - - @property - @pulumi.getter(name="accessKeyId") - def access_key_id(self) -> pulumi.Output[Optional[str]]: - """ - The Access Key ID for API operations - """ - return pulumi.get(self, "access_key_id") - - @property - @pulumi.getter - def region(self) -> pulumi.Output[Optional[str]]: - """ - The Region for API operations. - """ - return pulumi.get(self, "region") - - @property - @pulumi.getter(name="secretKeyId") - def secret_key_id(self) -> pulumi.Output[Optional[str]]: - """ - The Secret Key ID for API operations. - """ - return pulumi.get(self, "secret_key_id") - - @property - @pulumi.getter(name="x509CertPath") - def x509_cert_path(self) -> pulumi.Output[Optional[str]]: - """ - The path to your x509 cert - """ - return pulumi.get(self, "x509_cert_path") - - @property - @pulumi.getter(name="x509KeyPath") - def x509_key_path(self) -> pulumi.Output[Optional[str]]: - """ - The path to your x509 key - """ - return pulumi.get(self, "x509_key_path") - diff --git a/sdk/python/pulumi_outscale/public_ip.py b/sdk/python/pulumi_outscale/public_ip.py deleted file mode 100644 index b2e8003..0000000 --- a/sdk/python/pulumi_outscale/public_ip.py +++ /dev/null @@ -1,403 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['PublicIpArgs', 'PublicIp'] - -@pulumi.input_type -class PublicIpArgs: - def __init__(__self__, *, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['PublicIpTagArgs']]]] = None): - """ - The set of arguments for constructing a PublicIp resource. - :param pulumi.Input[Sequence[pulumi.Input['PublicIpTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - """ - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PublicIpTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PublicIpTagArgs']]]]): - pulumi.set(self, "tags", value) - - -@pulumi.input_type -class _PublicIpState: - def __init__(__self__, *, - link_public_ip_id: Optional[pulumi.Input[str]] = None, - nic_account_id: Optional[pulumi.Input[str]] = None, - nic_id: Optional[pulumi.Input[str]] = None, - private_ip: Optional[pulumi.Input[str]] = None, - public_ip: Optional[pulumi.Input[str]] = None, - public_ip_id: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['PublicIpTagArgs']]]] = None, - vm_id: Optional[pulumi.Input[str]] = None): - """ - Input properties used for looking up and filtering PublicIp resources. - :param pulumi.Input[str] link_public_ip_id: (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - :param pulumi.Input[str] nic_account_id: The account ID of the owner of the NIC. - :param pulumi.Input[str] nic_id: The ID of the NIC the public IP is associated with (if any). - :param pulumi.Input[str] private_ip: The private IP associated with the public IP. - :param pulumi.Input[str] public_ip: The public IP. - :param pulumi.Input[str] public_ip_id: The allocation ID of the public IP. - :param pulumi.Input[Sequence[pulumi.Input['PublicIpTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - :param pulumi.Input[str] vm_id: The ID of the VM the public IP is associated with (if any). - """ - if link_public_ip_id is not None: - pulumi.set(__self__, "link_public_ip_id", link_public_ip_id) - if nic_account_id is not None: - pulumi.set(__self__, "nic_account_id", nic_account_id) - if nic_id is not None: - pulumi.set(__self__, "nic_id", nic_id) - if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) - if public_ip is not None: - pulumi.set(__self__, "public_ip", public_ip) - if public_ip_id is not None: - pulumi.set(__self__, "public_ip_id", public_ip_id) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if tags is not None: - pulumi.set(__self__, "tags", tags) - if vm_id is not None: - pulumi.set(__self__, "vm_id", vm_id) - - @property - @pulumi.getter(name="linkPublicIpId") - def link_public_ip_id(self) -> Optional[pulumi.Input[str]]: - """ - (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - """ - return pulumi.get(self, "link_public_ip_id") - - @link_public_ip_id.setter - def link_public_ip_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "link_public_ip_id", value) - - @property - @pulumi.getter(name="nicAccountId") - def nic_account_id(self) -> Optional[pulumi.Input[str]]: - """ - The account ID of the owner of the NIC. - """ - return pulumi.get(self, "nic_account_id") - - @nic_account_id.setter - def nic_account_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "nic_account_id", value) - - @property - @pulumi.getter(name="nicId") - def nic_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the NIC the public IP is associated with (if any). - """ - return pulumi.get(self, "nic_id") - - @nic_id.setter - def nic_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "nic_id", value) - - @property - @pulumi.getter(name="privateIp") - def private_ip(self) -> Optional[pulumi.Input[str]]: - """ - The private IP associated with the public IP. - """ - return pulumi.get(self, "private_ip") - - @private_ip.setter - def private_ip(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "private_ip", value) - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> Optional[pulumi.Input[str]]: - """ - The public IP. - """ - return pulumi.get(self, "public_ip") - - @public_ip.setter - def public_ip(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_ip", value) - - @property - @pulumi.getter(name="publicIpId") - def public_ip_id(self) -> Optional[pulumi.Input[str]]: - """ - The allocation ID of the public IP. - """ - return pulumi.get(self, "public_ip_id") - - @public_ip_id.setter - def public_ip_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_ip_id", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PublicIpTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PublicIpTagArgs']]]]): - pulumi.set(self, "tags", value) - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the VM the public IP is associated with (if any). - """ - return pulumi.get(self, "vm_id") - - @vm_id.setter - def vm_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "vm_id", value) - - -class PublicIp(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PublicIpTagArgs']]]]] = None, - __props__=None): - """ - Manages a public IP. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-EIPs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-publicip). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - public_ip01 = outscale.PublicIp("publicIp01") - ``` - - ## Import - - A public IP can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/publicIp:PublicIp ImportedPublicIp eipalloc-12345678 - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PublicIpTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: Optional[PublicIpArgs] = None, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages a public IP. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-EIPs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-publicip). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - public_ip01 = outscale.PublicIp("publicIp01") - ``` - - ## Import - - A public IP can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/publicIp:PublicIp ImportedPublicIp eipalloc-12345678 - ``` - - :param str resource_name: The name of the resource. - :param PublicIpArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(PublicIpArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PublicIpTagArgs']]]]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = PublicIpArgs.__new__(PublicIpArgs) - - __props__.__dict__["tags"] = tags - __props__.__dict__["link_public_ip_id"] = None - __props__.__dict__["nic_account_id"] = None - __props__.__dict__["nic_id"] = None - __props__.__dict__["private_ip"] = None - __props__.__dict__["public_ip"] = None - __props__.__dict__["public_ip_id"] = None - __props__.__dict__["request_id"] = None - __props__.__dict__["vm_id"] = None - super(PublicIp, __self__).__init__( - 'outscale:index/publicIp:PublicIp', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - link_public_ip_id: Optional[pulumi.Input[str]] = None, - nic_account_id: Optional[pulumi.Input[str]] = None, - nic_id: Optional[pulumi.Input[str]] = None, - private_ip: Optional[pulumi.Input[str]] = None, - public_ip: Optional[pulumi.Input[str]] = None, - public_ip_id: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PublicIpTagArgs']]]]] = None, - vm_id: Optional[pulumi.Input[str]] = None) -> 'PublicIp': - """ - Get an existing PublicIp resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] link_public_ip_id: (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - :param pulumi.Input[str] nic_account_id: The account ID of the owner of the NIC. - :param pulumi.Input[str] nic_id: The ID of the NIC the public IP is associated with (if any). - :param pulumi.Input[str] private_ip: The private IP associated with the public IP. - :param pulumi.Input[str] public_ip: The public IP. - :param pulumi.Input[str] public_ip_id: The allocation ID of the public IP. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PublicIpTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - :param pulumi.Input[str] vm_id: The ID of the VM the public IP is associated with (if any). - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _PublicIpState.__new__(_PublicIpState) - - __props__.__dict__["link_public_ip_id"] = link_public_ip_id - __props__.__dict__["nic_account_id"] = nic_account_id - __props__.__dict__["nic_id"] = nic_id - __props__.__dict__["private_ip"] = private_ip - __props__.__dict__["public_ip"] = public_ip - __props__.__dict__["public_ip_id"] = public_ip_id - __props__.__dict__["request_id"] = request_id - __props__.__dict__["tags"] = tags - __props__.__dict__["vm_id"] = vm_id - return PublicIp(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="linkPublicIpId") - def link_public_ip_id(self) -> pulumi.Output[str]: - """ - (Required in a Net) The ID representing the association of the public IP with the VM or the NIC. - """ - return pulumi.get(self, "link_public_ip_id") - - @property - @pulumi.getter(name="nicAccountId") - def nic_account_id(self) -> pulumi.Output[str]: - """ - The account ID of the owner of the NIC. - """ - return pulumi.get(self, "nic_account_id") - - @property - @pulumi.getter(name="nicId") - def nic_id(self) -> pulumi.Output[str]: - """ - The ID of the NIC the public IP is associated with (if any). - """ - return pulumi.get(self, "nic_id") - - @property - @pulumi.getter(name="privateIp") - def private_ip(self) -> pulumi.Output[str]: - """ - The private IP associated with the public IP. - """ - return pulumi.get(self, "private_ip") - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> pulumi.Output[str]: - """ - The public IP. - """ - return pulumi.get(self, "public_ip") - - @property - @pulumi.getter(name="publicIpId") - def public_ip_id(self) -> pulumi.Output[str]: - """ - The allocation ID of the public IP. - """ - return pulumi.get(self, "public_ip_id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Sequence['outputs.PublicIpTag']]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> pulumi.Output[str]: - """ - The ID of the VM the public IP is associated with (if any). - """ - return pulumi.get(self, "vm_id") - diff --git a/sdk/python/pulumi_outscale/public_ip_link.py b/sdk/python/pulumi_outscale/public_ip_link.py deleted file mode 100644 index b619bbc..0000000 --- a/sdk/python/pulumi_outscale/public_ip_link.py +++ /dev/null @@ -1,542 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['PublicIpLinkArgs', 'PublicIpLink'] - -@pulumi.input_type -class PublicIpLinkArgs: - def __init__(__self__, *, - allow_relink: Optional[pulumi.Input[bool]] = None, - nic_id: Optional[pulumi.Input[str]] = None, - private_ip: Optional[pulumi.Input[str]] = None, - public_ip: Optional[pulumi.Input[str]] = None, - public_ip_id: Optional[pulumi.Input[str]] = None, - vm_id: Optional[pulumi.Input[str]] = None): - """ - The set of arguments for constructing a PublicIpLink resource. - :param pulumi.Input[bool] allow_relink: If true, allows the public IP to be associated with the VM or NIC that you specify even if it is already associated with another VM or NIC. If false, prevents the EIP from being associated with the VM or NIC that you specify if it is already associated with another VM or NIC. (By default, true in the public Cloud, false in a Net.) - :param pulumi.Input[str] nic_id: (Net only) The ID of the NIC. This parameter is required if the VM has more than one NIC attached. Otherwise, you need to specify the `vm_id` parameter instead. You cannot specify both parameters at the same time. - :param pulumi.Input[str] private_ip: (Net only) The primary or secondary private IP of the specified NIC. By default, the primary private IP. - :param pulumi.Input[str] public_ip: The public IP. This parameter is required unless you use the `public_ip_id` parameter. - :param pulumi.Input[str] public_ip_id: The allocation ID of the public IP. This parameter is required unless you use the `public_ip` parameter. - :param pulumi.Input[str] vm_id: The ID of the VM.
- In the public Cloud, this parameter is required.
- In a Net, this parameter is required if the VM has only one NIC. Otherwise, you need to specify the `nic_id` parameter instead. You cannot specify both parameters at the same time. - """ - if allow_relink is not None: - pulumi.set(__self__, "allow_relink", allow_relink) - if nic_id is not None: - pulumi.set(__self__, "nic_id", nic_id) - if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) - if public_ip is not None: - pulumi.set(__self__, "public_ip", public_ip) - if public_ip_id is not None: - pulumi.set(__self__, "public_ip_id", public_ip_id) - if vm_id is not None: - pulumi.set(__self__, "vm_id", vm_id) - - @property - @pulumi.getter(name="allowRelink") - def allow_relink(self) -> Optional[pulumi.Input[bool]]: - """ - If true, allows the public IP to be associated with the VM or NIC that you specify even if it is already associated with another VM or NIC. If false, prevents the EIP from being associated with the VM or NIC that you specify if it is already associated with another VM or NIC. (By default, true in the public Cloud, false in a Net.) - """ - return pulumi.get(self, "allow_relink") - - @allow_relink.setter - def allow_relink(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "allow_relink", value) - - @property - @pulumi.getter(name="nicId") - def nic_id(self) -> Optional[pulumi.Input[str]]: - """ - (Net only) The ID of the NIC. This parameter is required if the VM has more than one NIC attached. Otherwise, you need to specify the `vm_id` parameter instead. You cannot specify both parameters at the same time. - """ - return pulumi.get(self, "nic_id") - - @nic_id.setter - def nic_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "nic_id", value) - - @property - @pulumi.getter(name="privateIp") - def private_ip(self) -> Optional[pulumi.Input[str]]: - """ - (Net only) The primary or secondary private IP of the specified NIC. By default, the primary private IP. - """ - return pulumi.get(self, "private_ip") - - @private_ip.setter - def private_ip(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "private_ip", value) - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> Optional[pulumi.Input[str]]: - """ - The public IP. This parameter is required unless you use the `public_ip_id` parameter. - """ - return pulumi.get(self, "public_ip") - - @public_ip.setter - def public_ip(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_ip", value) - - @property - @pulumi.getter(name="publicIpId") - def public_ip_id(self) -> Optional[pulumi.Input[str]]: - """ - The allocation ID of the public IP. This parameter is required unless you use the `public_ip` parameter. - """ - return pulumi.get(self, "public_ip_id") - - @public_ip_id.setter - def public_ip_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_ip_id", value) - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the VM.
- In the public Cloud, this parameter is required.
- In a Net, this parameter is required if the VM has only one NIC. Otherwise, you need to specify the `nic_id` parameter instead. You cannot specify both parameters at the same time. - """ - return pulumi.get(self, "vm_id") - - @vm_id.setter - def vm_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "vm_id", value) - - -@pulumi.input_type -class _PublicIpLinkState: - def __init__(__self__, *, - allow_relink: Optional[pulumi.Input[bool]] = None, - link_public_ip_id: Optional[pulumi.Input[str]] = None, - nic_account_id: Optional[pulumi.Input[str]] = None, - nic_id: Optional[pulumi.Input[str]] = None, - private_ip: Optional[pulumi.Input[str]] = None, - public_ip: Optional[pulumi.Input[str]] = None, - public_ip_id: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['PublicIpLinkTagArgs']]]] = None, - vm_id: Optional[pulumi.Input[str]] = None): - """ - Input properties used for looking up and filtering PublicIpLink resources. - :param pulumi.Input[bool] allow_relink: If true, allows the public IP to be associated with the VM or NIC that you specify even if it is already associated with another VM or NIC. If false, prevents the EIP from being associated with the VM or NIC that you specify if it is already associated with another VM or NIC. (By default, true in the public Cloud, false in a Net.) - :param pulumi.Input[str] link_public_ip_id: (Net only) The ID representing the association of the public IP with the VM or the NIC. - :param pulumi.Input[str] nic_id: (Net only) The ID of the NIC. This parameter is required if the VM has more than one NIC attached. Otherwise, you need to specify the `vm_id` parameter instead. You cannot specify both parameters at the same time. - :param pulumi.Input[str] private_ip: (Net only) The primary or secondary private IP of the specified NIC. By default, the primary private IP. - :param pulumi.Input[str] public_ip: The public IP. This parameter is required unless you use the `public_ip_id` parameter. - :param pulumi.Input[str] public_ip_id: The allocation ID of the public IP. This parameter is required unless you use the `public_ip` parameter. - :param pulumi.Input[str] vm_id: The ID of the VM.
- In the public Cloud, this parameter is required.
- In a Net, this parameter is required if the VM has only one NIC. Otherwise, you need to specify the `nic_id` parameter instead. You cannot specify both parameters at the same time. - """ - if allow_relink is not None: - pulumi.set(__self__, "allow_relink", allow_relink) - if link_public_ip_id is not None: - pulumi.set(__self__, "link_public_ip_id", link_public_ip_id) - if nic_account_id is not None: - pulumi.set(__self__, "nic_account_id", nic_account_id) - if nic_id is not None: - pulumi.set(__self__, "nic_id", nic_id) - if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) - if public_ip is not None: - pulumi.set(__self__, "public_ip", public_ip) - if public_ip_id is not None: - pulumi.set(__self__, "public_ip_id", public_ip_id) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if tags is not None: - pulumi.set(__self__, "tags", tags) - if vm_id is not None: - pulumi.set(__self__, "vm_id", vm_id) - - @property - @pulumi.getter(name="allowRelink") - def allow_relink(self) -> Optional[pulumi.Input[bool]]: - """ - If true, allows the public IP to be associated with the VM or NIC that you specify even if it is already associated with another VM or NIC. If false, prevents the EIP from being associated with the VM or NIC that you specify if it is already associated with another VM or NIC. (By default, true in the public Cloud, false in a Net.) - """ - return pulumi.get(self, "allow_relink") - - @allow_relink.setter - def allow_relink(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "allow_relink", value) - - @property - @pulumi.getter(name="linkPublicIpId") - def link_public_ip_id(self) -> Optional[pulumi.Input[str]]: - """ - (Net only) The ID representing the association of the public IP with the VM or the NIC. - """ - return pulumi.get(self, "link_public_ip_id") - - @link_public_ip_id.setter - def link_public_ip_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "link_public_ip_id", value) - - @property - @pulumi.getter(name="nicAccountId") - def nic_account_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "nic_account_id") - - @nic_account_id.setter - def nic_account_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "nic_account_id", value) - - @property - @pulumi.getter(name="nicId") - def nic_id(self) -> Optional[pulumi.Input[str]]: - """ - (Net only) The ID of the NIC. This parameter is required if the VM has more than one NIC attached. Otherwise, you need to specify the `vm_id` parameter instead. You cannot specify both parameters at the same time. - """ - return pulumi.get(self, "nic_id") - - @nic_id.setter - def nic_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "nic_id", value) - - @property - @pulumi.getter(name="privateIp") - def private_ip(self) -> Optional[pulumi.Input[str]]: - """ - (Net only) The primary or secondary private IP of the specified NIC. By default, the primary private IP. - """ - return pulumi.get(self, "private_ip") - - @private_ip.setter - def private_ip(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "private_ip", value) - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> Optional[pulumi.Input[str]]: - """ - The public IP. This parameter is required unless you use the `public_ip_id` parameter. - """ - return pulumi.get(self, "public_ip") - - @public_ip.setter - def public_ip(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_ip", value) - - @property - @pulumi.getter(name="publicIpId") - def public_ip_id(self) -> Optional[pulumi.Input[str]]: - """ - The allocation ID of the public IP. This parameter is required unless you use the `public_ip` parameter. - """ - return pulumi.get(self, "public_ip_id") - - @public_ip_id.setter - def public_ip_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_ip_id", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PublicIpLinkTagArgs']]]]: - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PublicIpLinkTagArgs']]]]): - pulumi.set(self, "tags", value) - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the VM.
- In the public Cloud, this parameter is required.
- In a Net, this parameter is required if the VM has only one NIC. Otherwise, you need to specify the `nic_id` parameter instead. You cannot specify both parameters at the same time. - """ - return pulumi.get(self, "vm_id") - - @vm_id.setter - def vm_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "vm_id", value) - - -class PublicIpLink(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - allow_relink: Optional[pulumi.Input[bool]] = None, - nic_id: Optional[pulumi.Input[str]] = None, - private_ip: Optional[pulumi.Input[str]] = None, - public_ip: Optional[pulumi.Input[str]] = None, - public_ip_id: Optional[pulumi.Input[str]] = None, - vm_id: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - Manages a public IP link. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-EIPs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-publicip). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - public_ip01 = outscale.PublicIp("publicIp01") - vm01 = outscale.Vm("vm01", - image_id=var["image_id"], - vm_type=var["vm_type"], - keypair_name=var["keypair_name"], - security_group_ids=[var["security_group_id"]]) - ``` - ### Link a public IP address to a VM - - ```python - import pulumi - import pulumi_outscale as outscale - - public_ip_link01 = outscale.PublicIpLink("publicIpLink01", - vm_id=outscale_vm["vm01"]["vm_id"], - public_ip=outscale_public_ip["public_ip01"]["public_ip"]) - ``` - - ## Import - - A public IP link can be imported using the public IP or the public IP link ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/publicIpLink:PublicIpLink ImportedPublicIpLink eipassoc-12345678 - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[bool] allow_relink: If true, allows the public IP to be associated with the VM or NIC that you specify even if it is already associated with another VM or NIC. If false, prevents the EIP from being associated with the VM or NIC that you specify if it is already associated with another VM or NIC. (By default, true in the public Cloud, false in a Net.) - :param pulumi.Input[str] nic_id: (Net only) The ID of the NIC. This parameter is required if the VM has more than one NIC attached. Otherwise, you need to specify the `vm_id` parameter instead. You cannot specify both parameters at the same time. - :param pulumi.Input[str] private_ip: (Net only) The primary or secondary private IP of the specified NIC. By default, the primary private IP. - :param pulumi.Input[str] public_ip: The public IP. This parameter is required unless you use the `public_ip_id` parameter. - :param pulumi.Input[str] public_ip_id: The allocation ID of the public IP. This parameter is required unless you use the `public_ip` parameter. - :param pulumi.Input[str] vm_id: The ID of the VM.
- In the public Cloud, this parameter is required.
- In a Net, this parameter is required if the VM has only one NIC. Otherwise, you need to specify the `nic_id` parameter instead. You cannot specify both parameters at the same time. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: Optional[PublicIpLinkArgs] = None, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages a public IP link. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-EIPs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-publicip). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - public_ip01 = outscale.PublicIp("publicIp01") - vm01 = outscale.Vm("vm01", - image_id=var["image_id"], - vm_type=var["vm_type"], - keypair_name=var["keypair_name"], - security_group_ids=[var["security_group_id"]]) - ``` - ### Link a public IP address to a VM - - ```python - import pulumi - import pulumi_outscale as outscale - - public_ip_link01 = outscale.PublicIpLink("publicIpLink01", - vm_id=outscale_vm["vm01"]["vm_id"], - public_ip=outscale_public_ip["public_ip01"]["public_ip"]) - ``` - - ## Import - - A public IP link can be imported using the public IP or the public IP link ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/publicIpLink:PublicIpLink ImportedPublicIpLink eipassoc-12345678 - ``` - - :param str resource_name: The name of the resource. - :param PublicIpLinkArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(PublicIpLinkArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - allow_relink: Optional[pulumi.Input[bool]] = None, - nic_id: Optional[pulumi.Input[str]] = None, - private_ip: Optional[pulumi.Input[str]] = None, - public_ip: Optional[pulumi.Input[str]] = None, - public_ip_id: Optional[pulumi.Input[str]] = None, - vm_id: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = PublicIpLinkArgs.__new__(PublicIpLinkArgs) - - __props__.__dict__["allow_relink"] = allow_relink - __props__.__dict__["nic_id"] = nic_id - __props__.__dict__["private_ip"] = private_ip - __props__.__dict__["public_ip"] = public_ip - __props__.__dict__["public_ip_id"] = public_ip_id - __props__.__dict__["vm_id"] = vm_id - __props__.__dict__["link_public_ip_id"] = None - __props__.__dict__["nic_account_id"] = None - __props__.__dict__["request_id"] = None - __props__.__dict__["tags"] = None - super(PublicIpLink, __self__).__init__( - 'outscale:index/publicIpLink:PublicIpLink', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - allow_relink: Optional[pulumi.Input[bool]] = None, - link_public_ip_id: Optional[pulumi.Input[str]] = None, - nic_account_id: Optional[pulumi.Input[str]] = None, - nic_id: Optional[pulumi.Input[str]] = None, - private_ip: Optional[pulumi.Input[str]] = None, - public_ip: Optional[pulumi.Input[str]] = None, - public_ip_id: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PublicIpLinkTagArgs']]]]] = None, - vm_id: Optional[pulumi.Input[str]] = None) -> 'PublicIpLink': - """ - Get an existing PublicIpLink resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[bool] allow_relink: If true, allows the public IP to be associated with the VM or NIC that you specify even if it is already associated with another VM or NIC. If false, prevents the EIP from being associated with the VM or NIC that you specify if it is already associated with another VM or NIC. (By default, true in the public Cloud, false in a Net.) - :param pulumi.Input[str] link_public_ip_id: (Net only) The ID representing the association of the public IP with the VM or the NIC. - :param pulumi.Input[str] nic_id: (Net only) The ID of the NIC. This parameter is required if the VM has more than one NIC attached. Otherwise, you need to specify the `vm_id` parameter instead. You cannot specify both parameters at the same time. - :param pulumi.Input[str] private_ip: (Net only) The primary or secondary private IP of the specified NIC. By default, the primary private IP. - :param pulumi.Input[str] public_ip: The public IP. This parameter is required unless you use the `public_ip_id` parameter. - :param pulumi.Input[str] public_ip_id: The allocation ID of the public IP. This parameter is required unless you use the `public_ip` parameter. - :param pulumi.Input[str] vm_id: The ID of the VM.
- In the public Cloud, this parameter is required.
- In a Net, this parameter is required if the VM has only one NIC. Otherwise, you need to specify the `nic_id` parameter instead. You cannot specify both parameters at the same time. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _PublicIpLinkState.__new__(_PublicIpLinkState) - - __props__.__dict__["allow_relink"] = allow_relink - __props__.__dict__["link_public_ip_id"] = link_public_ip_id - __props__.__dict__["nic_account_id"] = nic_account_id - __props__.__dict__["nic_id"] = nic_id - __props__.__dict__["private_ip"] = private_ip - __props__.__dict__["public_ip"] = public_ip - __props__.__dict__["public_ip_id"] = public_ip_id - __props__.__dict__["request_id"] = request_id - __props__.__dict__["tags"] = tags - __props__.__dict__["vm_id"] = vm_id - return PublicIpLink(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="allowRelink") - def allow_relink(self) -> pulumi.Output[Optional[bool]]: - """ - If true, allows the public IP to be associated with the VM or NIC that you specify even if it is already associated with another VM or NIC. If false, prevents the EIP from being associated with the VM or NIC that you specify if it is already associated with another VM or NIC. (By default, true in the public Cloud, false in a Net.) - """ - return pulumi.get(self, "allow_relink") - - @property - @pulumi.getter(name="linkPublicIpId") - def link_public_ip_id(self) -> pulumi.Output[str]: - """ - (Net only) The ID representing the association of the public IP with the VM or the NIC. - """ - return pulumi.get(self, "link_public_ip_id") - - @property - @pulumi.getter(name="nicAccountId") - def nic_account_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "nic_account_id") - - @property - @pulumi.getter(name="nicId") - def nic_id(self) -> pulumi.Output[str]: - """ - (Net only) The ID of the NIC. This parameter is required if the VM has more than one NIC attached. Otherwise, you need to specify the `vm_id` parameter instead. You cannot specify both parameters at the same time. - """ - return pulumi.get(self, "nic_id") - - @property - @pulumi.getter(name="privateIp") - def private_ip(self) -> pulumi.Output[str]: - """ - (Net only) The primary or secondary private IP of the specified NIC. By default, the primary private IP. - """ - return pulumi.get(self, "private_ip") - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> pulumi.Output[str]: - """ - The public IP. This parameter is required unless you use the `public_ip_id` parameter. - """ - return pulumi.get(self, "public_ip") - - @property - @pulumi.getter(name="publicIpId") - def public_ip_id(self) -> pulumi.Output[str]: - """ - The allocation ID of the public IP. This parameter is required unless you use the `public_ip` parameter. - """ - return pulumi.get(self, "public_ip_id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def tags(self) -> pulumi.Output[Sequence['outputs.PublicIpLinkTag']]: - return pulumi.get(self, "tags") - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> pulumi.Output[str]: - """ - The ID of the VM.
- In the public Cloud, this parameter is required.
- In a Net, this parameter is required if the VM has only one NIC. Otherwise, you need to specify the `nic_id` parameter instead. You cannot specify both parameters at the same time. - """ - return pulumi.get(self, "vm_id") - diff --git a/sdk/python/pulumi_outscale/pulumi-plugin.json b/sdk/python/pulumi_outscale/pulumi-plugin.json deleted file mode 100644 index 9ba7c52..0000000 --- a/sdk/python/pulumi_outscale/pulumi-plugin.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "resource": true, - "name": "outscale" -} diff --git a/sdk/python/pulumi_outscale/py.typed b/sdk/python/pulumi_outscale/py.typed deleted file mode 100644 index e69de29..0000000 diff --git a/sdk/python/pulumi_outscale/route.py b/sdk/python/pulumi_outscale/route.py deleted file mode 100644 index 2fdb0ec..0000000 --- a/sdk/python/pulumi_outscale/route.py +++ /dev/null @@ -1,702 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities - -__all__ = ['RouteArgs', 'Route'] - -@pulumi.input_type -class RouteArgs: - def __init__(__self__, *, - destination_ip_range: pulumi.Input[str], - route_table_id: pulumi.Input[str], - await_active_state: Optional[pulumi.Input[bool]] = None, - gateway_id: Optional[pulumi.Input[str]] = None, - nat_service_id: Optional[pulumi.Input[str]] = None, - net_peering_id: Optional[pulumi.Input[str]] = None, - nic_id: Optional[pulumi.Input[str]] = None, - vm_id: Optional[pulumi.Input[str]] = None): - """ - The set of arguments for constructing a Route resource. - :param pulumi.Input[str] destination_ip_range: The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - :param pulumi.Input[str] route_table_id: The ID of the route table for which you want to create a route. - :param pulumi.Input[bool] await_active_state: By default or if set to true, waits for the route to be in the `active` state to declare its successful creation.
If false, the created route is in the `active` state if available, or the `blackhole` state if not available. - :param pulumi.Input[str] gateway_id: The ID of an Internet service or virtual gateway attached to your Net. - :param pulumi.Input[str] nat_service_id: The ID of a NAT service. - :param pulumi.Input[str] net_peering_id: The ID of a Net peering. - :param pulumi.Input[str] nic_id: The ID of a NIC. - :param pulumi.Input[str] vm_id: The ID of a NAT VM in your Net (attached to exactly one NIC). - """ - pulumi.set(__self__, "destination_ip_range", destination_ip_range) - pulumi.set(__self__, "route_table_id", route_table_id) - if await_active_state is not None: - pulumi.set(__self__, "await_active_state", await_active_state) - if gateway_id is not None: - pulumi.set(__self__, "gateway_id", gateway_id) - if nat_service_id is not None: - pulumi.set(__self__, "nat_service_id", nat_service_id) - if net_peering_id is not None: - pulumi.set(__self__, "net_peering_id", net_peering_id) - if nic_id is not None: - pulumi.set(__self__, "nic_id", nic_id) - if vm_id is not None: - pulumi.set(__self__, "vm_id", vm_id) - - @property - @pulumi.getter(name="destinationIpRange") - def destination_ip_range(self) -> pulumi.Input[str]: - """ - The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - """ - return pulumi.get(self, "destination_ip_range") - - @destination_ip_range.setter - def destination_ip_range(self, value: pulumi.Input[str]): - pulumi.set(self, "destination_ip_range", value) - - @property - @pulumi.getter(name="routeTableId") - def route_table_id(self) -> pulumi.Input[str]: - """ - The ID of the route table for which you want to create a route. - """ - return pulumi.get(self, "route_table_id") - - @route_table_id.setter - def route_table_id(self, value: pulumi.Input[str]): - pulumi.set(self, "route_table_id", value) - - @property - @pulumi.getter(name="awaitActiveState") - def await_active_state(self) -> Optional[pulumi.Input[bool]]: - """ - By default or if set to true, waits for the route to be in the `active` state to declare its successful creation.
If false, the created route is in the `active` state if available, or the `blackhole` state if not available. - """ - return pulumi.get(self, "await_active_state") - - @await_active_state.setter - def await_active_state(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "await_active_state", value) - - @property - @pulumi.getter(name="gatewayId") - def gateway_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of an Internet service or virtual gateway attached to your Net. - """ - return pulumi.get(self, "gateway_id") - - @gateway_id.setter - def gateway_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "gateway_id", value) - - @property - @pulumi.getter(name="natServiceId") - def nat_service_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of a NAT service. - """ - return pulumi.get(self, "nat_service_id") - - @nat_service_id.setter - def nat_service_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "nat_service_id", value) - - @property - @pulumi.getter(name="netPeeringId") - def net_peering_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of a Net peering. - """ - return pulumi.get(self, "net_peering_id") - - @net_peering_id.setter - def net_peering_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "net_peering_id", value) - - @property - @pulumi.getter(name="nicId") - def nic_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of a NIC. - """ - return pulumi.get(self, "nic_id") - - @nic_id.setter - def nic_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "nic_id", value) - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of a NAT VM in your Net (attached to exactly one NIC). - """ - return pulumi.get(self, "vm_id") - - @vm_id.setter - def vm_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "vm_id", value) - - -@pulumi.input_type -class _RouteState: - def __init__(__self__, *, - await_active_state: Optional[pulumi.Input[bool]] = None, - creation_method: Optional[pulumi.Input[str]] = None, - destination_ip_range: Optional[pulumi.Input[str]] = None, - destination_service_id: Optional[pulumi.Input[str]] = None, - gateway_id: Optional[pulumi.Input[str]] = None, - nat_access_point: Optional[pulumi.Input[str]] = None, - nat_service_id: Optional[pulumi.Input[str]] = None, - net_peering_id: Optional[pulumi.Input[str]] = None, - nic_id: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - route_table_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - vm_account_id: Optional[pulumi.Input[str]] = None, - vm_id: Optional[pulumi.Input[str]] = None): - """ - Input properties used for looking up and filtering Route resources. - :param pulumi.Input[bool] await_active_state: By default or if set to true, waits for the route to be in the `active` state to declare its successful creation.
If false, the created route is in the `active` state if available, or the `blackhole` state if not available. - :param pulumi.Input[str] creation_method: The method used to create the route. - :param pulumi.Input[str] destination_ip_range: The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - :param pulumi.Input[str] destination_service_id: The ID of the OUTSCALE service. - :param pulumi.Input[str] gateway_id: The ID of an Internet service or virtual gateway attached to your Net. - :param pulumi.Input[str] nat_service_id: The ID of a NAT service. - :param pulumi.Input[str] net_peering_id: The ID of a Net peering. - :param pulumi.Input[str] nic_id: The ID of a NIC. - :param pulumi.Input[str] route_table_id: The ID of the route table for which you want to create a route. - :param pulumi.Input[str] state: The state of a route in the route table (always `active`). - :param pulumi.Input[str] vm_account_id: The account ID of the owner of the VM. - :param pulumi.Input[str] vm_id: The ID of a NAT VM in your Net (attached to exactly one NIC). - """ - if await_active_state is not None: - pulumi.set(__self__, "await_active_state", await_active_state) - if creation_method is not None: - pulumi.set(__self__, "creation_method", creation_method) - if destination_ip_range is not None: - pulumi.set(__self__, "destination_ip_range", destination_ip_range) - if destination_service_id is not None: - pulumi.set(__self__, "destination_service_id", destination_service_id) - if gateway_id is not None: - pulumi.set(__self__, "gateway_id", gateway_id) - if nat_access_point is not None: - pulumi.set(__self__, "nat_access_point", nat_access_point) - if nat_service_id is not None: - pulumi.set(__self__, "nat_service_id", nat_service_id) - if net_peering_id is not None: - pulumi.set(__self__, "net_peering_id", net_peering_id) - if nic_id is not None: - pulumi.set(__self__, "nic_id", nic_id) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if route_table_id is not None: - pulumi.set(__self__, "route_table_id", route_table_id) - if state is not None: - pulumi.set(__self__, "state", state) - if vm_account_id is not None: - pulumi.set(__self__, "vm_account_id", vm_account_id) - if vm_id is not None: - pulumi.set(__self__, "vm_id", vm_id) - - @property - @pulumi.getter(name="awaitActiveState") - def await_active_state(self) -> Optional[pulumi.Input[bool]]: - """ - By default or if set to true, waits for the route to be in the `active` state to declare its successful creation.
If false, the created route is in the `active` state if available, or the `blackhole` state if not available. - """ - return pulumi.get(self, "await_active_state") - - @await_active_state.setter - def await_active_state(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "await_active_state", value) - - @property - @pulumi.getter(name="creationMethod") - def creation_method(self) -> Optional[pulumi.Input[str]]: - """ - The method used to create the route. - """ - return pulumi.get(self, "creation_method") - - @creation_method.setter - def creation_method(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "creation_method", value) - - @property - @pulumi.getter(name="destinationIpRange") - def destination_ip_range(self) -> Optional[pulumi.Input[str]]: - """ - The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - """ - return pulumi.get(self, "destination_ip_range") - - @destination_ip_range.setter - def destination_ip_range(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "destination_ip_range", value) - - @property - @pulumi.getter(name="destinationServiceId") - def destination_service_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the OUTSCALE service. - """ - return pulumi.get(self, "destination_service_id") - - @destination_service_id.setter - def destination_service_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "destination_service_id", value) - - @property - @pulumi.getter(name="gatewayId") - def gateway_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of an Internet service or virtual gateway attached to your Net. - """ - return pulumi.get(self, "gateway_id") - - @gateway_id.setter - def gateway_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "gateway_id", value) - - @property - @pulumi.getter(name="natAccessPoint") - def nat_access_point(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "nat_access_point") - - @nat_access_point.setter - def nat_access_point(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "nat_access_point", value) - - @property - @pulumi.getter(name="natServiceId") - def nat_service_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of a NAT service. - """ - return pulumi.get(self, "nat_service_id") - - @nat_service_id.setter - def nat_service_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "nat_service_id", value) - - @property - @pulumi.getter(name="netPeeringId") - def net_peering_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of a Net peering. - """ - return pulumi.get(self, "net_peering_id") - - @net_peering_id.setter - def net_peering_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "net_peering_id", value) - - @property - @pulumi.getter(name="nicId") - def nic_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of a NIC. - """ - return pulumi.get(self, "nic_id") - - @nic_id.setter - def nic_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "nic_id", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter(name="routeTableId") - def route_table_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the route table for which you want to create a route. - """ - return pulumi.get(self, "route_table_id") - - @route_table_id.setter - def route_table_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "route_table_id", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - The state of a route in the route table (always `active`). - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - @property - @pulumi.getter(name="vmAccountId") - def vm_account_id(self) -> Optional[pulumi.Input[str]]: - """ - The account ID of the owner of the VM. - """ - return pulumi.get(self, "vm_account_id") - - @vm_account_id.setter - def vm_account_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "vm_account_id", value) - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of a NAT VM in your Net (attached to exactly one NIC). - """ - return pulumi.get(self, "vm_id") - - @vm_id.setter - def vm_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "vm_id", value) - - -class Route(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - await_active_state: Optional[pulumi.Input[bool]] = None, - destination_ip_range: Optional[pulumi.Input[str]] = None, - gateway_id: Optional[pulumi.Input[str]] = None, - nat_service_id: Optional[pulumi.Input[str]] = None, - net_peering_id: Optional[pulumi.Input[str]] = None, - nic_id: Optional[pulumi.Input[str]] = None, - route_table_id: Optional[pulumi.Input[str]] = None, - vm_id: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - Manages a route. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Route-Tables.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-route). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - net01 = outscale.Net("net01", ip_range="10.0.0.0/16") - route_table01 = outscale.RouteTable("routeTable01", net_id=net01.net_id) - internet_service01 = outscale.InternetService("internetService01") - internet_service_link01 = outscale.InternetServiceLink("internetServiceLink01", - internet_service_id=internet_service01.internet_service_id, - net_id=net01.net_id) - ``` - ### Create a route to an Internet service - - ```python - import pulumi - import pulumi_outscale as outscale - - route01 = outscale.Route("route01", - gateway_id=outscale_internet_service["internet_service01"]["internet_service_id"], - destination_ip_range="0.0.0.0/0", - route_table_id=outscale_route_table["route_table01"]["route_table_id"]) - ``` - - ## Import - - A route can be imported using the route table ID and the destination IP range. For exampleconsole - - ```sh - $ pulumi import outscale:index/route:Route outscale_routeImportedRoute rtb-12345678_10.0.0.0/0 - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[bool] await_active_state: By default or if set to true, waits for the route to be in the `active` state to declare its successful creation.
If false, the created route is in the `active` state if available, or the `blackhole` state if not available. - :param pulumi.Input[str] destination_ip_range: The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - :param pulumi.Input[str] gateway_id: The ID of an Internet service or virtual gateway attached to your Net. - :param pulumi.Input[str] nat_service_id: The ID of a NAT service. - :param pulumi.Input[str] net_peering_id: The ID of a Net peering. - :param pulumi.Input[str] nic_id: The ID of a NIC. - :param pulumi.Input[str] route_table_id: The ID of the route table for which you want to create a route. - :param pulumi.Input[str] vm_id: The ID of a NAT VM in your Net (attached to exactly one NIC). - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: RouteArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages a route. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Route-Tables.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-route). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - net01 = outscale.Net("net01", ip_range="10.0.0.0/16") - route_table01 = outscale.RouteTable("routeTable01", net_id=net01.net_id) - internet_service01 = outscale.InternetService("internetService01") - internet_service_link01 = outscale.InternetServiceLink("internetServiceLink01", - internet_service_id=internet_service01.internet_service_id, - net_id=net01.net_id) - ``` - ### Create a route to an Internet service - - ```python - import pulumi - import pulumi_outscale as outscale - - route01 = outscale.Route("route01", - gateway_id=outscale_internet_service["internet_service01"]["internet_service_id"], - destination_ip_range="0.0.0.0/0", - route_table_id=outscale_route_table["route_table01"]["route_table_id"]) - ``` - - ## Import - - A route can be imported using the route table ID and the destination IP range. For exampleconsole - - ```sh - $ pulumi import outscale:index/route:Route outscale_routeImportedRoute rtb-12345678_10.0.0.0/0 - ``` - - :param str resource_name: The name of the resource. - :param RouteArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(RouteArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - await_active_state: Optional[pulumi.Input[bool]] = None, - destination_ip_range: Optional[pulumi.Input[str]] = None, - gateway_id: Optional[pulumi.Input[str]] = None, - nat_service_id: Optional[pulumi.Input[str]] = None, - net_peering_id: Optional[pulumi.Input[str]] = None, - nic_id: Optional[pulumi.Input[str]] = None, - route_table_id: Optional[pulumi.Input[str]] = None, - vm_id: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = RouteArgs.__new__(RouteArgs) - - __props__.__dict__["await_active_state"] = await_active_state - if destination_ip_range is None and not opts.urn: - raise TypeError("Missing required property 'destination_ip_range'") - __props__.__dict__["destination_ip_range"] = destination_ip_range - __props__.__dict__["gateway_id"] = gateway_id - __props__.__dict__["nat_service_id"] = nat_service_id - __props__.__dict__["net_peering_id"] = net_peering_id - __props__.__dict__["nic_id"] = nic_id - if route_table_id is None and not opts.urn: - raise TypeError("Missing required property 'route_table_id'") - __props__.__dict__["route_table_id"] = route_table_id - __props__.__dict__["vm_id"] = vm_id - __props__.__dict__["creation_method"] = None - __props__.__dict__["destination_service_id"] = None - __props__.__dict__["nat_access_point"] = None - __props__.__dict__["request_id"] = None - __props__.__dict__["state"] = None - __props__.__dict__["vm_account_id"] = None - super(Route, __self__).__init__( - 'outscale:index/route:Route', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - await_active_state: Optional[pulumi.Input[bool]] = None, - creation_method: Optional[pulumi.Input[str]] = None, - destination_ip_range: Optional[pulumi.Input[str]] = None, - destination_service_id: Optional[pulumi.Input[str]] = None, - gateway_id: Optional[pulumi.Input[str]] = None, - nat_access_point: Optional[pulumi.Input[str]] = None, - nat_service_id: Optional[pulumi.Input[str]] = None, - net_peering_id: Optional[pulumi.Input[str]] = None, - nic_id: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - route_table_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - vm_account_id: Optional[pulumi.Input[str]] = None, - vm_id: Optional[pulumi.Input[str]] = None) -> 'Route': - """ - Get an existing Route resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[bool] await_active_state: By default or if set to true, waits for the route to be in the `active` state to declare its successful creation.
If false, the created route is in the `active` state if available, or the `blackhole` state if not available. - :param pulumi.Input[str] creation_method: The method used to create the route. - :param pulumi.Input[str] destination_ip_range: The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - :param pulumi.Input[str] destination_service_id: The ID of the OUTSCALE service. - :param pulumi.Input[str] gateway_id: The ID of an Internet service or virtual gateway attached to your Net. - :param pulumi.Input[str] nat_service_id: The ID of a NAT service. - :param pulumi.Input[str] net_peering_id: The ID of a Net peering. - :param pulumi.Input[str] nic_id: The ID of a NIC. - :param pulumi.Input[str] route_table_id: The ID of the route table for which you want to create a route. - :param pulumi.Input[str] state: The state of a route in the route table (always `active`). - :param pulumi.Input[str] vm_account_id: The account ID of the owner of the VM. - :param pulumi.Input[str] vm_id: The ID of a NAT VM in your Net (attached to exactly one NIC). - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _RouteState.__new__(_RouteState) - - __props__.__dict__["await_active_state"] = await_active_state - __props__.__dict__["creation_method"] = creation_method - __props__.__dict__["destination_ip_range"] = destination_ip_range - __props__.__dict__["destination_service_id"] = destination_service_id - __props__.__dict__["gateway_id"] = gateway_id - __props__.__dict__["nat_access_point"] = nat_access_point - __props__.__dict__["nat_service_id"] = nat_service_id - __props__.__dict__["net_peering_id"] = net_peering_id - __props__.__dict__["nic_id"] = nic_id - __props__.__dict__["request_id"] = request_id - __props__.__dict__["route_table_id"] = route_table_id - __props__.__dict__["state"] = state - __props__.__dict__["vm_account_id"] = vm_account_id - __props__.__dict__["vm_id"] = vm_id - return Route(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="awaitActiveState") - def await_active_state(self) -> pulumi.Output[Optional[bool]]: - """ - By default or if set to true, waits for the route to be in the `active` state to declare its successful creation.
If false, the created route is in the `active` state if available, or the `blackhole` state if not available. - """ - return pulumi.get(self, "await_active_state") - - @property - @pulumi.getter(name="creationMethod") - def creation_method(self) -> pulumi.Output[str]: - """ - The method used to create the route. - """ - return pulumi.get(self, "creation_method") - - @property - @pulumi.getter(name="destinationIpRange") - def destination_ip_range(self) -> pulumi.Output[str]: - """ - The IP range used for the destination match, in CIDR notation (for example, `10.0.0.0/24`). - """ - return pulumi.get(self, "destination_ip_range") - - @property - @pulumi.getter(name="destinationServiceId") - def destination_service_id(self) -> pulumi.Output[str]: - """ - The ID of the OUTSCALE service. - """ - return pulumi.get(self, "destination_service_id") - - @property - @pulumi.getter(name="gatewayId") - def gateway_id(self) -> pulumi.Output[Optional[str]]: - """ - The ID of an Internet service or virtual gateway attached to your Net. - """ - return pulumi.get(self, "gateway_id") - - @property - @pulumi.getter(name="natAccessPoint") - def nat_access_point(self) -> pulumi.Output[str]: - return pulumi.get(self, "nat_access_point") - - @property - @pulumi.getter(name="natServiceId") - def nat_service_id(self) -> pulumi.Output[Optional[str]]: - """ - The ID of a NAT service. - """ - return pulumi.get(self, "nat_service_id") - - @property - @pulumi.getter(name="netPeeringId") - def net_peering_id(self) -> pulumi.Output[Optional[str]]: - """ - The ID of a Net peering. - """ - return pulumi.get(self, "net_peering_id") - - @property - @pulumi.getter(name="nicId") - def nic_id(self) -> pulumi.Output[str]: - """ - The ID of a NIC. - """ - return pulumi.get(self, "nic_id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="routeTableId") - def route_table_id(self) -> pulumi.Output[str]: - """ - The ID of the route table for which you want to create a route. - """ - return pulumi.get(self, "route_table_id") - - @property - @pulumi.getter - def state(self) -> pulumi.Output[str]: - """ - The state of a route in the route table (always `active`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="vmAccountId") - def vm_account_id(self) -> pulumi.Output[str]: - """ - The account ID of the owner of the VM. - """ - return pulumi.get(self, "vm_account_id") - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> pulumi.Output[str]: - """ - The ID of a NAT VM in your Net (attached to exactly one NIC). - """ - return pulumi.get(self, "vm_id") - diff --git a/sdk/python/pulumi_outscale/route_table.py b/sdk/python/pulumi_outscale/route_table.py deleted file mode 100644 index d0fd8a8..0000000 --- a/sdk/python/pulumi_outscale/route_table.py +++ /dev/null @@ -1,385 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['RouteTableArgs', 'RouteTable'] - -@pulumi.input_type -class RouteTableArgs: - def __init__(__self__, *, - net_id: pulumi.Input[str], - tags: Optional[pulumi.Input[Sequence[pulumi.Input['RouteTableTagArgs']]]] = None): - """ - The set of arguments for constructing a RouteTable resource. - :param pulumi.Input[str] net_id: The ID of the Net for which you want to create a route table. - :param pulumi.Input[Sequence[pulumi.Input['RouteTableTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - """ - pulumi.set(__self__, "net_id", net_id) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="netId") - def net_id(self) -> pulumi.Input[str]: - """ - The ID of the Net for which you want to create a route table. - """ - return pulumi.get(self, "net_id") - - @net_id.setter - def net_id(self, value: pulumi.Input[str]): - pulumi.set(self, "net_id", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RouteTableTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RouteTableTagArgs']]]]): - pulumi.set(self, "tags", value) - - -@pulumi.input_type -class _RouteTableState: - def __init__(__self__, *, - link_route_tables: Optional[pulumi.Input[Sequence[pulumi.Input['RouteTableLinkRouteTableArgs']]]] = None, - net_id: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - route_propagating_virtual_gateways: Optional[pulumi.Input[Sequence[pulumi.Input['RouteTableRoutePropagatingVirtualGatewayArgs']]]] = None, - route_table_id: Optional[pulumi.Input[str]] = None, - routes: Optional[pulumi.Input[Sequence[pulumi.Input['RouteTableRouteArgs']]]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['RouteTableTagArgs']]]] = None): - """ - Input properties used for looking up and filtering RouteTable resources. - :param pulumi.Input[Sequence[pulumi.Input['RouteTableLinkRouteTableArgs']]] link_route_tables: One or more associations between the route table and Subnets. - :param pulumi.Input[str] net_id: The ID of the Net for which you want to create a route table. - :param pulumi.Input[Sequence[pulumi.Input['RouteTableRoutePropagatingVirtualGatewayArgs']]] route_propagating_virtual_gateways: Information about virtual gateways propagating routes. - :param pulumi.Input[str] route_table_id: The ID of the route table. - :param pulumi.Input[Sequence[pulumi.Input['RouteTableRouteArgs']]] routes: One or more routes in the route table. - :param pulumi.Input[Sequence[pulumi.Input['RouteTableTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - """ - if link_route_tables is not None: - pulumi.set(__self__, "link_route_tables", link_route_tables) - if net_id is not None: - pulumi.set(__self__, "net_id", net_id) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if route_propagating_virtual_gateways is not None: - pulumi.set(__self__, "route_propagating_virtual_gateways", route_propagating_virtual_gateways) - if route_table_id is not None: - pulumi.set(__self__, "route_table_id", route_table_id) - if routes is not None: - pulumi.set(__self__, "routes", routes) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="linkRouteTables") - def link_route_tables(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RouteTableLinkRouteTableArgs']]]]: - """ - One or more associations between the route table and Subnets. - """ - return pulumi.get(self, "link_route_tables") - - @link_route_tables.setter - def link_route_tables(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RouteTableLinkRouteTableArgs']]]]): - pulumi.set(self, "link_route_tables", value) - - @property - @pulumi.getter(name="netId") - def net_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Net for which you want to create a route table. - """ - return pulumi.get(self, "net_id") - - @net_id.setter - def net_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "net_id", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter(name="routePropagatingVirtualGateways") - def route_propagating_virtual_gateways(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RouteTableRoutePropagatingVirtualGatewayArgs']]]]: - """ - Information about virtual gateways propagating routes. - """ - return pulumi.get(self, "route_propagating_virtual_gateways") - - @route_propagating_virtual_gateways.setter - def route_propagating_virtual_gateways(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RouteTableRoutePropagatingVirtualGatewayArgs']]]]): - pulumi.set(self, "route_propagating_virtual_gateways", value) - - @property - @pulumi.getter(name="routeTableId") - def route_table_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the route table. - """ - return pulumi.get(self, "route_table_id") - - @route_table_id.setter - def route_table_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "route_table_id", value) - - @property - @pulumi.getter - def routes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RouteTableRouteArgs']]]]: - """ - One or more routes in the route table. - """ - return pulumi.get(self, "routes") - - @routes.setter - def routes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RouteTableRouteArgs']]]]): - pulumi.set(self, "routes", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RouteTableTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RouteTableTagArgs']]]]): - pulumi.set(self, "tags", value) - - -class RouteTable(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - net_id: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RouteTableTagArgs']]]]] = None, - __props__=None): - """ - Manages a route table. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Route-Tables.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-routetable). - - ## Example Usage - ### Required resource - - ```python - import pulumi - import pulumi_outscale as outscale - - net01 = outscale.Net("net01", ip_range="10.0.0.0/16") - ``` - ### Create a route table - - ```python - import pulumi - import pulumi_outscale as outscale - - route_table01 = outscale.RouteTable("routeTable01", net_id=outscale_net["net01"]["net_id"]) - ``` - - ## Import - - A route table can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/routeTable:RouteTable ImportedRouteTable rtb-12345678 - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] net_id: The ID of the Net for which you want to create a route table. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RouteTableTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: RouteTableArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages a route table. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Route-Tables.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-routetable). - - ## Example Usage - ### Required resource - - ```python - import pulumi - import pulumi_outscale as outscale - - net01 = outscale.Net("net01", ip_range="10.0.0.0/16") - ``` - ### Create a route table - - ```python - import pulumi - import pulumi_outscale as outscale - - route_table01 = outscale.RouteTable("routeTable01", net_id=outscale_net["net01"]["net_id"]) - ``` - - ## Import - - A route table can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/routeTable:RouteTable ImportedRouteTable rtb-12345678 - ``` - - :param str resource_name: The name of the resource. - :param RouteTableArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(RouteTableArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - net_id: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RouteTableTagArgs']]]]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = RouteTableArgs.__new__(RouteTableArgs) - - if net_id is None and not opts.urn: - raise TypeError("Missing required property 'net_id'") - __props__.__dict__["net_id"] = net_id - __props__.__dict__["tags"] = tags - __props__.__dict__["link_route_tables"] = None - __props__.__dict__["request_id"] = None - __props__.__dict__["route_propagating_virtual_gateways"] = None - __props__.__dict__["route_table_id"] = None - __props__.__dict__["routes"] = None - super(RouteTable, __self__).__init__( - 'outscale:index/routeTable:RouteTable', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - link_route_tables: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RouteTableLinkRouteTableArgs']]]]] = None, - net_id: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - route_propagating_virtual_gateways: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RouteTableRoutePropagatingVirtualGatewayArgs']]]]] = None, - route_table_id: Optional[pulumi.Input[str]] = None, - routes: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RouteTableRouteArgs']]]]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RouteTableTagArgs']]]]] = None) -> 'RouteTable': - """ - Get an existing RouteTable resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RouteTableLinkRouteTableArgs']]]] link_route_tables: One or more associations between the route table and Subnets. - :param pulumi.Input[str] net_id: The ID of the Net for which you want to create a route table. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RouteTableRoutePropagatingVirtualGatewayArgs']]]] route_propagating_virtual_gateways: Information about virtual gateways propagating routes. - :param pulumi.Input[str] route_table_id: The ID of the route table. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RouteTableRouteArgs']]]] routes: One or more routes in the route table. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RouteTableTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _RouteTableState.__new__(_RouteTableState) - - __props__.__dict__["link_route_tables"] = link_route_tables - __props__.__dict__["net_id"] = net_id - __props__.__dict__["request_id"] = request_id - __props__.__dict__["route_propagating_virtual_gateways"] = route_propagating_virtual_gateways - __props__.__dict__["route_table_id"] = route_table_id - __props__.__dict__["routes"] = routes - __props__.__dict__["tags"] = tags - return RouteTable(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="linkRouteTables") - def link_route_tables(self) -> pulumi.Output[Sequence['outputs.RouteTableLinkRouteTable']]: - """ - One or more associations between the route table and Subnets. - """ - return pulumi.get(self, "link_route_tables") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> pulumi.Output[str]: - """ - The ID of the Net for which you want to create a route table. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="routePropagatingVirtualGateways") - def route_propagating_virtual_gateways(self) -> pulumi.Output[Sequence['outputs.RouteTableRoutePropagatingVirtualGateway']]: - """ - Information about virtual gateways propagating routes. - """ - return pulumi.get(self, "route_propagating_virtual_gateways") - - @property - @pulumi.getter(name="routeTableId") - def route_table_id(self) -> pulumi.Output[str]: - """ - The ID of the route table. - """ - return pulumi.get(self, "route_table_id") - - @property - @pulumi.getter - def routes(self) -> pulumi.Output[Sequence['outputs.RouteTableRoute']]: - """ - One or more routes in the route table. - """ - return pulumi.get(self, "routes") - - @property - @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Sequence['outputs.RouteTableTag']]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - diff --git a/sdk/python/pulumi_outscale/route_table_link.py b/sdk/python/pulumi_outscale/route_table_link.py deleted file mode 100644 index c368a5b..0000000 --- a/sdk/python/pulumi_outscale/route_table_link.py +++ /dev/null @@ -1,340 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities - -__all__ = ['RouteTableLinkArgs', 'RouteTableLink'] - -@pulumi.input_type -class RouteTableLinkArgs: - def __init__(__self__, *, - route_table_id: pulumi.Input[str], - subnet_id: pulumi.Input[str]): - """ - The set of arguments for constructing a RouteTableLink resource. - :param pulumi.Input[str] route_table_id: The ID of the route table. - :param pulumi.Input[str] subnet_id: The ID of the Subnet. - """ - pulumi.set(__self__, "route_table_id", route_table_id) - pulumi.set(__self__, "subnet_id", subnet_id) - - @property - @pulumi.getter(name="routeTableId") - def route_table_id(self) -> pulumi.Input[str]: - """ - The ID of the route table. - """ - return pulumi.get(self, "route_table_id") - - @route_table_id.setter - def route_table_id(self, value: pulumi.Input[str]): - pulumi.set(self, "route_table_id", value) - - @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> pulumi.Input[str]: - """ - The ID of the Subnet. - """ - return pulumi.get(self, "subnet_id") - - @subnet_id.setter - def subnet_id(self, value: pulumi.Input[str]): - pulumi.set(self, "subnet_id", value) - - -@pulumi.input_type -class _RouteTableLinkState: - def __init__(__self__, *, - link_route_table_id: Optional[pulumi.Input[str]] = None, - main: Optional[pulumi.Input[bool]] = None, - request_id: Optional[pulumi.Input[str]] = None, - route_table_id: Optional[pulumi.Input[str]] = None, - subnet_id: Optional[pulumi.Input[str]] = None): - """ - Input properties used for looking up and filtering RouteTableLink resources. - :param pulumi.Input[str] link_route_table_id: The ID of the association between the route table and the Subnet. - :param pulumi.Input[bool] main: If true, the route table is the main one. - :param pulumi.Input[str] route_table_id: The ID of the route table. - :param pulumi.Input[str] subnet_id: The ID of the Subnet. - """ - if link_route_table_id is not None: - pulumi.set(__self__, "link_route_table_id", link_route_table_id) - if main is not None: - pulumi.set(__self__, "main", main) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if route_table_id is not None: - pulumi.set(__self__, "route_table_id", route_table_id) - if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) - - @property - @pulumi.getter(name="linkRouteTableId") - def link_route_table_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the association between the route table and the Subnet. - """ - return pulumi.get(self, "link_route_table_id") - - @link_route_table_id.setter - def link_route_table_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "link_route_table_id", value) - - @property - @pulumi.getter - def main(self) -> Optional[pulumi.Input[bool]]: - """ - If true, the route table is the main one. - """ - return pulumi.get(self, "main") - - @main.setter - def main(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "main", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter(name="routeTableId") - def route_table_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the route table. - """ - return pulumi.get(self, "route_table_id") - - @route_table_id.setter - def route_table_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "route_table_id", value) - - @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Subnet. - """ - return pulumi.get(self, "subnet_id") - - @subnet_id.setter - def subnet_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "subnet_id", value) - - -class RouteTableLink(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - route_table_id: Optional[pulumi.Input[str]] = None, - subnet_id: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - Manages a route table link. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Route-Tables.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-routetable). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - net01 = outscale.Net("net01", ip_range="10.0.0.0/16") - subnet01 = outscale.Subnet("subnet01", - net_id=net01.net_id, - ip_range="10.0.0.0/18") - route_table01 = outscale.RouteTable("routeTable01", net_id=net01.net_id) - ``` - ### Link a route table to a subnet - - ```python - import pulumi - import pulumi_outscale as outscale - - route_table_link01 = outscale.RouteTableLink("routeTableLink01", - subnet_id=outscale_subnet["subnet01"]["subnet_id"], - route_table_id=outscale_route_table["route_table01"]["route_table_id"]) - ``` - - ## Import - - A route table link can be imported using the route table ID and the route table link ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/routeTableLink:RouteTableLink ImportedRouteTableLink rtb-12345678_rtbassoc-87654321 - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] route_table_id: The ID of the route table. - :param pulumi.Input[str] subnet_id: The ID of the Subnet. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: RouteTableLinkArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages a route table link. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Route-Tables.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-routetable). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - net01 = outscale.Net("net01", ip_range="10.0.0.0/16") - subnet01 = outscale.Subnet("subnet01", - net_id=net01.net_id, - ip_range="10.0.0.0/18") - route_table01 = outscale.RouteTable("routeTable01", net_id=net01.net_id) - ``` - ### Link a route table to a subnet - - ```python - import pulumi - import pulumi_outscale as outscale - - route_table_link01 = outscale.RouteTableLink("routeTableLink01", - subnet_id=outscale_subnet["subnet01"]["subnet_id"], - route_table_id=outscale_route_table["route_table01"]["route_table_id"]) - ``` - - ## Import - - A route table link can be imported using the route table ID and the route table link ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/routeTableLink:RouteTableLink ImportedRouteTableLink rtb-12345678_rtbassoc-87654321 - ``` - - :param str resource_name: The name of the resource. - :param RouteTableLinkArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(RouteTableLinkArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - route_table_id: Optional[pulumi.Input[str]] = None, - subnet_id: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = RouteTableLinkArgs.__new__(RouteTableLinkArgs) - - if route_table_id is None and not opts.urn: - raise TypeError("Missing required property 'route_table_id'") - __props__.__dict__["route_table_id"] = route_table_id - if subnet_id is None and not opts.urn: - raise TypeError("Missing required property 'subnet_id'") - __props__.__dict__["subnet_id"] = subnet_id - __props__.__dict__["link_route_table_id"] = None - __props__.__dict__["main"] = None - __props__.__dict__["request_id"] = None - super(RouteTableLink, __self__).__init__( - 'outscale:index/routeTableLink:RouteTableLink', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - link_route_table_id: Optional[pulumi.Input[str]] = None, - main: Optional[pulumi.Input[bool]] = None, - request_id: Optional[pulumi.Input[str]] = None, - route_table_id: Optional[pulumi.Input[str]] = None, - subnet_id: Optional[pulumi.Input[str]] = None) -> 'RouteTableLink': - """ - Get an existing RouteTableLink resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] link_route_table_id: The ID of the association between the route table and the Subnet. - :param pulumi.Input[bool] main: If true, the route table is the main one. - :param pulumi.Input[str] route_table_id: The ID of the route table. - :param pulumi.Input[str] subnet_id: The ID of the Subnet. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _RouteTableLinkState.__new__(_RouteTableLinkState) - - __props__.__dict__["link_route_table_id"] = link_route_table_id - __props__.__dict__["main"] = main - __props__.__dict__["request_id"] = request_id - __props__.__dict__["route_table_id"] = route_table_id - __props__.__dict__["subnet_id"] = subnet_id - return RouteTableLink(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="linkRouteTableId") - def link_route_table_id(self) -> pulumi.Output[str]: - """ - The ID of the association between the route table and the Subnet. - """ - return pulumi.get(self, "link_route_table_id") - - @property - @pulumi.getter - def main(self) -> pulumi.Output[bool]: - """ - If true, the route table is the main one. - """ - return pulumi.get(self, "main") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="routeTableId") - def route_table_id(self) -> pulumi.Output[str]: - """ - The ID of the route table. - """ - return pulumi.get(self, "route_table_id") - - @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> pulumi.Output[str]: - """ - The ID of the Subnet. - """ - return pulumi.get(self, "subnet_id") - diff --git a/sdk/python/pulumi_outscale/security_group.py b/sdk/python/pulumi_outscale/security_group.py deleted file mode 100644 index 8aaf522..0000000 --- a/sdk/python/pulumi_outscale/security_group.py +++ /dev/null @@ -1,607 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['SecurityGroupArgs', 'SecurityGroup'] - -@pulumi.input_type -class SecurityGroupArgs: - def __init__(__self__, *, - description: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None, - remove_default_outbound_rule: Optional[pulumi.Input[bool]] = None, - security_group_name: Optional[pulumi.Input[str]] = None, - tag: Optional[pulumi.Input[Mapping[str, Any]]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityGroupTagArgs']]]] = None): - """ - The set of arguments for constructing a SecurityGroup resource. - :param pulumi.Input[str] description: A description for the security group, with a maximum length of 255 [ASCII printable characters](https://en.wikipedia.org/wiki/ASCII#Printable_characters). - :param pulumi.Input[str] net_id: The ID of the Net for the security group. - :param pulumi.Input[bool] remove_default_outbound_rule: (Net only) By default or if set to false, the security group is created with a default outbound rule allowing all outbound flows. If set to true, the security group is created without a default outbound rule. For an existing security group, setting this parameter to true deletes the security group and creates a new one. - :param pulumi.Input[str] security_group_name: The name of the security group.
- This name must not start with `sg-`.
- This name must be unique and contain between 1 and 255 ASCII characters. Accented letters are not allowed. - :param pulumi.Input[Sequence[pulumi.Input['SecurityGroupTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - """ - if description is not None: - pulumi.set(__self__, "description", description) - if net_id is not None: - pulumi.set(__self__, "net_id", net_id) - if remove_default_outbound_rule is not None: - pulumi.set(__self__, "remove_default_outbound_rule", remove_default_outbound_rule) - if security_group_name is not None: - pulumi.set(__self__, "security_group_name", security_group_name) - if tag is not None: - pulumi.set(__self__, "tag", tag) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter - def description(self) -> Optional[pulumi.Input[str]]: - """ - A description for the security group, with a maximum length of 255 [ASCII printable characters](https://en.wikipedia.org/wiki/ASCII#Printable_characters). - """ - return pulumi.get(self, "description") - - @description.setter - def description(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "description", value) - - @property - @pulumi.getter(name="netId") - def net_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Net for the security group. - """ - return pulumi.get(self, "net_id") - - @net_id.setter - def net_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "net_id", value) - - @property - @pulumi.getter(name="removeDefaultOutboundRule") - def remove_default_outbound_rule(self) -> Optional[pulumi.Input[bool]]: - """ - (Net only) By default or if set to false, the security group is created with a default outbound rule allowing all outbound flows. If set to true, the security group is created without a default outbound rule. For an existing security group, setting this parameter to true deletes the security group and creates a new one. - """ - return pulumi.get(self, "remove_default_outbound_rule") - - @remove_default_outbound_rule.setter - def remove_default_outbound_rule(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "remove_default_outbound_rule", value) - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the security group.
- This name must not start with `sg-`.
- This name must be unique and contain between 1 and 255 ASCII characters. Accented letters are not allowed. - """ - return pulumi.get(self, "security_group_name") - - @security_group_name.setter - def security_group_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "security_group_name", value) - - @property - @pulumi.getter - def tag(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: - return pulumi.get(self, "tag") - - @tag.setter - def tag(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): - pulumi.set(self, "tag", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SecurityGroupTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityGroupTagArgs']]]]): - pulumi.set(self, "tags", value) - - -@pulumi.input_type -class _SecurityGroupState: - def __init__(__self__, *, - account_id: Optional[pulumi.Input[str]] = None, - description: Optional[pulumi.Input[str]] = None, - inbound_rules: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityGroupInboundRuleArgs']]]] = None, - net_id: Optional[pulumi.Input[str]] = None, - outbound_rules: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityGroupOutboundRuleArgs']]]] = None, - remove_default_outbound_rule: Optional[pulumi.Input[bool]] = None, - request_id: Optional[pulumi.Input[str]] = None, - security_group_id: Optional[pulumi.Input[str]] = None, - security_group_name: Optional[pulumi.Input[str]] = None, - tag: Optional[pulumi.Input[Mapping[str, Any]]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityGroupTagArgs']]]] = None): - """ - Input properties used for looking up and filtering SecurityGroup resources. - :param pulumi.Input[str] account_id: The account ID that owns the source or destination security group. - :param pulumi.Input[str] description: A description for the security group, with a maximum length of 255 [ASCII printable characters](https://en.wikipedia.org/wiki/ASCII#Printable_characters). - :param pulumi.Input[Sequence[pulumi.Input['SecurityGroupInboundRuleArgs']]] inbound_rules: The inbound rules associated with the security group. - :param pulumi.Input[str] net_id: The ID of the Net for the security group. - :param pulumi.Input[Sequence[pulumi.Input['SecurityGroupOutboundRuleArgs']]] outbound_rules: The outbound rules associated with the security group. - :param pulumi.Input[bool] remove_default_outbound_rule: (Net only) By default or if set to false, the security group is created with a default outbound rule allowing all outbound flows. If set to true, the security group is created without a default outbound rule. For an existing security group, setting this parameter to true deletes the security group and creates a new one. - :param pulumi.Input[str] security_group_id: The ID of the security group. - :param pulumi.Input[str] security_group_name: The name of the security group.
- This name must not start with `sg-`.
- This name must be unique and contain between 1 and 255 ASCII characters. Accented letters are not allowed. - :param pulumi.Input[Sequence[pulumi.Input['SecurityGroupTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - """ - if account_id is not None: - pulumi.set(__self__, "account_id", account_id) - if description is not None: - pulumi.set(__self__, "description", description) - if inbound_rules is not None: - pulumi.set(__self__, "inbound_rules", inbound_rules) - if net_id is not None: - pulumi.set(__self__, "net_id", net_id) - if outbound_rules is not None: - pulumi.set(__self__, "outbound_rules", outbound_rules) - if remove_default_outbound_rule is not None: - pulumi.set(__self__, "remove_default_outbound_rule", remove_default_outbound_rule) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if security_group_id is not None: - pulumi.set(__self__, "security_group_id", security_group_id) - if security_group_name is not None: - pulumi.set(__self__, "security_group_name", security_group_name) - if tag is not None: - pulumi.set(__self__, "tag", tag) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> Optional[pulumi.Input[str]]: - """ - The account ID that owns the source or destination security group. - """ - return pulumi.get(self, "account_id") - - @account_id.setter - def account_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "account_id", value) - - @property - @pulumi.getter - def description(self) -> Optional[pulumi.Input[str]]: - """ - A description for the security group, with a maximum length of 255 [ASCII printable characters](https://en.wikipedia.org/wiki/ASCII#Printable_characters). - """ - return pulumi.get(self, "description") - - @description.setter - def description(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "description", value) - - @property - @pulumi.getter(name="inboundRules") - def inbound_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SecurityGroupInboundRuleArgs']]]]: - """ - The inbound rules associated with the security group. - """ - return pulumi.get(self, "inbound_rules") - - @inbound_rules.setter - def inbound_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityGroupInboundRuleArgs']]]]): - pulumi.set(self, "inbound_rules", value) - - @property - @pulumi.getter(name="netId") - def net_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Net for the security group. - """ - return pulumi.get(self, "net_id") - - @net_id.setter - def net_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "net_id", value) - - @property - @pulumi.getter(name="outboundRules") - def outbound_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SecurityGroupOutboundRuleArgs']]]]: - """ - The outbound rules associated with the security group. - """ - return pulumi.get(self, "outbound_rules") - - @outbound_rules.setter - def outbound_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityGroupOutboundRuleArgs']]]]): - pulumi.set(self, "outbound_rules", value) - - @property - @pulumi.getter(name="removeDefaultOutboundRule") - def remove_default_outbound_rule(self) -> Optional[pulumi.Input[bool]]: - """ - (Net only) By default or if set to false, the security group is created with a default outbound rule allowing all outbound flows. If set to true, the security group is created without a default outbound rule. For an existing security group, setting this parameter to true deletes the security group and creates a new one. - """ - return pulumi.get(self, "remove_default_outbound_rule") - - @remove_default_outbound_rule.setter - def remove_default_outbound_rule(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "remove_default_outbound_rule", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the security group. - """ - return pulumi.get(self, "security_group_id") - - @security_group_id.setter - def security_group_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "security_group_id", value) - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the security group.
- This name must not start with `sg-`.
- This name must be unique and contain between 1 and 255 ASCII characters. Accented letters are not allowed. - """ - return pulumi.get(self, "security_group_name") - - @security_group_name.setter - def security_group_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "security_group_name", value) - - @property - @pulumi.getter - def tag(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: - return pulumi.get(self, "tag") - - @tag.setter - def tag(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): - pulumi.set(self, "tag", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SecurityGroupTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityGroupTagArgs']]]]): - pulumi.set(self, "tags", value) - - -class SecurityGroup(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - description: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None, - remove_default_outbound_rule: Optional[pulumi.Input[bool]] = None, - security_group_name: Optional[pulumi.Input[str]] = None, - tag: Optional[pulumi.Input[Mapping[str, Any]]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SecurityGroupTagArgs']]]]] = None, - __props__=None): - """ - Manages a security group. - - Security groups you create to use in a Net contain a default outbound rule that allows all outbound flows. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Security-Groups.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-securitygroup). - - ## Example Usage - ### Optional resource - - ```python - import pulumi - import pulumi_outscale as outscale - - net01 = outscale.Net("net01", ip_range="10.0.0.0/16") - ``` - ### Create a security group for a Net - - ```python - import pulumi - import pulumi_outscale as outscale - - security_group01 = outscale.SecurityGroup("securityGroup01", - description="Terraform security group", - security_group_name="terraform-security-group", - net_id=outscale_net["net01"]["net_id"]) - ``` - ### Create a security group for a Net without the default outbound rule - - ```python - import pulumi - import pulumi_outscale as outscale - - security_group02 = outscale.SecurityGroup("securityGroup02", - remove_default_outbound_rule=True, - description="Terraform security group without outbound rule", - security_group_name="terraform-security-group-empty", - net_id=outscale_net["net01"]["net_id"]) - ``` - - ## Import - - A security group can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/securityGroup:SecurityGroup ImportedSecurityGroup sg-87654321 - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] description: A description for the security group, with a maximum length of 255 [ASCII printable characters](https://en.wikipedia.org/wiki/ASCII#Printable_characters). - :param pulumi.Input[str] net_id: The ID of the Net for the security group. - :param pulumi.Input[bool] remove_default_outbound_rule: (Net only) By default or if set to false, the security group is created with a default outbound rule allowing all outbound flows. If set to true, the security group is created without a default outbound rule. For an existing security group, setting this parameter to true deletes the security group and creates a new one. - :param pulumi.Input[str] security_group_name: The name of the security group.
- This name must not start with `sg-`.
- This name must be unique and contain between 1 and 255 ASCII characters. Accented letters are not allowed. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SecurityGroupTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: Optional[SecurityGroupArgs] = None, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages a security group. - - Security groups you create to use in a Net contain a default outbound rule that allows all outbound flows. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Security-Groups.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-securitygroup). - - ## Example Usage - ### Optional resource - - ```python - import pulumi - import pulumi_outscale as outscale - - net01 = outscale.Net("net01", ip_range="10.0.0.0/16") - ``` - ### Create a security group for a Net - - ```python - import pulumi - import pulumi_outscale as outscale - - security_group01 = outscale.SecurityGroup("securityGroup01", - description="Terraform security group", - security_group_name="terraform-security-group", - net_id=outscale_net["net01"]["net_id"]) - ``` - ### Create a security group for a Net without the default outbound rule - - ```python - import pulumi - import pulumi_outscale as outscale - - security_group02 = outscale.SecurityGroup("securityGroup02", - remove_default_outbound_rule=True, - description="Terraform security group without outbound rule", - security_group_name="terraform-security-group-empty", - net_id=outscale_net["net01"]["net_id"]) - ``` - - ## Import - - A security group can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/securityGroup:SecurityGroup ImportedSecurityGroup sg-87654321 - ``` - - :param str resource_name: The name of the resource. - :param SecurityGroupArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(SecurityGroupArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - description: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None, - remove_default_outbound_rule: Optional[pulumi.Input[bool]] = None, - security_group_name: Optional[pulumi.Input[str]] = None, - tag: Optional[pulumi.Input[Mapping[str, Any]]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SecurityGroupTagArgs']]]]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = SecurityGroupArgs.__new__(SecurityGroupArgs) - - __props__.__dict__["description"] = description - __props__.__dict__["net_id"] = net_id - __props__.__dict__["remove_default_outbound_rule"] = remove_default_outbound_rule - __props__.__dict__["security_group_name"] = security_group_name - __props__.__dict__["tag"] = tag - __props__.__dict__["tags"] = tags - __props__.__dict__["account_id"] = None - __props__.__dict__["inbound_rules"] = None - __props__.__dict__["outbound_rules"] = None - __props__.__dict__["request_id"] = None - __props__.__dict__["security_group_id"] = None - super(SecurityGroup, __self__).__init__( - 'outscale:index/securityGroup:SecurityGroup', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - account_id: Optional[pulumi.Input[str]] = None, - description: Optional[pulumi.Input[str]] = None, - inbound_rules: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SecurityGroupInboundRuleArgs']]]]] = None, - net_id: Optional[pulumi.Input[str]] = None, - outbound_rules: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SecurityGroupOutboundRuleArgs']]]]] = None, - remove_default_outbound_rule: Optional[pulumi.Input[bool]] = None, - request_id: Optional[pulumi.Input[str]] = None, - security_group_id: Optional[pulumi.Input[str]] = None, - security_group_name: Optional[pulumi.Input[str]] = None, - tag: Optional[pulumi.Input[Mapping[str, Any]]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SecurityGroupTagArgs']]]]] = None) -> 'SecurityGroup': - """ - Get an existing SecurityGroup resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] account_id: The account ID that owns the source or destination security group. - :param pulumi.Input[str] description: A description for the security group, with a maximum length of 255 [ASCII printable characters](https://en.wikipedia.org/wiki/ASCII#Printable_characters). - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SecurityGroupInboundRuleArgs']]]] inbound_rules: The inbound rules associated with the security group. - :param pulumi.Input[str] net_id: The ID of the Net for the security group. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SecurityGroupOutboundRuleArgs']]]] outbound_rules: The outbound rules associated with the security group. - :param pulumi.Input[bool] remove_default_outbound_rule: (Net only) By default or if set to false, the security group is created with a default outbound rule allowing all outbound flows. If set to true, the security group is created without a default outbound rule. For an existing security group, setting this parameter to true deletes the security group and creates a new one. - :param pulumi.Input[str] security_group_id: The ID of the security group. - :param pulumi.Input[str] security_group_name: The name of the security group.
- This name must not start with `sg-`.
- This name must be unique and contain between 1 and 255 ASCII characters. Accented letters are not allowed. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SecurityGroupTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _SecurityGroupState.__new__(_SecurityGroupState) - - __props__.__dict__["account_id"] = account_id - __props__.__dict__["description"] = description - __props__.__dict__["inbound_rules"] = inbound_rules - __props__.__dict__["net_id"] = net_id - __props__.__dict__["outbound_rules"] = outbound_rules - __props__.__dict__["remove_default_outbound_rule"] = remove_default_outbound_rule - __props__.__dict__["request_id"] = request_id - __props__.__dict__["security_group_id"] = security_group_id - __props__.__dict__["security_group_name"] = security_group_name - __props__.__dict__["tag"] = tag - __props__.__dict__["tags"] = tags - return SecurityGroup(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> pulumi.Output[str]: - """ - The account ID that owns the source or destination security group. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter - def description(self) -> pulumi.Output[Optional[str]]: - """ - A description for the security group, with a maximum length of 255 [ASCII printable characters](https://en.wikipedia.org/wiki/ASCII#Printable_characters). - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter(name="inboundRules") - def inbound_rules(self) -> pulumi.Output[Sequence['outputs.SecurityGroupInboundRule']]: - """ - The inbound rules associated with the security group. - """ - return pulumi.get(self, "inbound_rules") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> pulumi.Output[str]: - """ - The ID of the Net for the security group. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="outboundRules") - def outbound_rules(self) -> pulumi.Output[Sequence['outputs.SecurityGroupOutboundRule']]: - """ - The outbound rules associated with the security group. - """ - return pulumi.get(self, "outbound_rules") - - @property - @pulumi.getter(name="removeDefaultOutboundRule") - def remove_default_outbound_rule(self) -> pulumi.Output[Optional[bool]]: - """ - (Net only) By default or if set to false, the security group is created with a default outbound rule allowing all outbound flows. If set to true, the security group is created without a default outbound rule. For an existing security group, setting this parameter to true deletes the security group and creates a new one. - """ - return pulumi.get(self, "remove_default_outbound_rule") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> pulumi.Output[str]: - """ - The ID of the security group. - """ - return pulumi.get(self, "security_group_id") - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> pulumi.Output[str]: - """ - The name of the security group.
- This name must not start with `sg-`.
- This name must be unique and contain between 1 and 255 ASCII characters. Accented letters are not allowed. - """ - return pulumi.get(self, "security_group_name") - - @property - @pulumi.getter - def tag(self) -> pulumi.Output[Optional[Mapping[str, Any]]]: - return pulumi.get(self, "tag") - - @property - @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Sequence['outputs.SecurityGroupTag']]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - diff --git a/sdk/python/pulumi_outscale/security_group_rule.py b/sdk/python/pulumi_outscale/security_group_rule.py deleted file mode 100644 index dbe3713..0000000 --- a/sdk/python/pulumi_outscale/security_group_rule.py +++ /dev/null @@ -1,719 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['SecurityGroupRuleArgs', 'SecurityGroupRule'] - -@pulumi.input_type -class SecurityGroupRuleArgs: - def __init__(__self__, *, - flow: pulumi.Input[str], - security_group_id: pulumi.Input[str], - from_port_range: Optional[pulumi.Input[int]] = None, - ip_protocol: Optional[pulumi.Input[str]] = None, - ip_range: Optional[pulumi.Input[str]] = None, - rules: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityGroupRuleRuleArgs']]]] = None, - security_group_account_id_to_link: Optional[pulumi.Input[str]] = None, - security_group_name_to_link: Optional[pulumi.Input[str]] = None, - to_port_range: Optional[pulumi.Input[int]] = None): - """ - The set of arguments for constructing a SecurityGroupRule resource. - :param pulumi.Input[str] flow: The direction of the flow: `Inbound` or `Outbound`. You can specify `Outbound` for Nets only. - :param pulumi.Input[str] security_group_id: The ID of the security group for which you want to create a rule. - :param pulumi.Input[int] from_port_range: The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - :param pulumi.Input[str] ip_protocol: The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - :param pulumi.Input[str] ip_range: The IP range for the security group rule, in CIDR notation (for example, 10.0.0.0/16). If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - :param pulumi.Input[Sequence[pulumi.Input['SecurityGroupRuleRuleArgs']]] rules: Information about the security group rule to create. If you specify this parent parameter and its subparameters, you cannot specify the following parent parameters: `from_port_range`, `ip_protocol`, `ip_range`, and `to_port_range`. - :param pulumi.Input[str] security_group_account_id_to_link: The account ID that owns the source or destination security group specified in the `security_group_name_to_link` parameter. - :param pulumi.Input[str] security_group_name_to_link: The ID of a source or destination security group that you want to link to the security group of the rule. - :param pulumi.Input[int] to_port_range: The end of the port range for the TCP and UDP protocols, or an ICMP code number. If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - """ - pulumi.set(__self__, "flow", flow) - pulumi.set(__self__, "security_group_id", security_group_id) - if from_port_range is not None: - pulumi.set(__self__, "from_port_range", from_port_range) - if ip_protocol is not None: - pulumi.set(__self__, "ip_protocol", ip_protocol) - if ip_range is not None: - pulumi.set(__self__, "ip_range", ip_range) - if rules is not None: - pulumi.set(__self__, "rules", rules) - if security_group_account_id_to_link is not None: - pulumi.set(__self__, "security_group_account_id_to_link", security_group_account_id_to_link) - if security_group_name_to_link is not None: - pulumi.set(__self__, "security_group_name_to_link", security_group_name_to_link) - if to_port_range is not None: - pulumi.set(__self__, "to_port_range", to_port_range) - - @property - @pulumi.getter - def flow(self) -> pulumi.Input[str]: - """ - The direction of the flow: `Inbound` or `Outbound`. You can specify `Outbound` for Nets only. - """ - return pulumi.get(self, "flow") - - @flow.setter - def flow(self, value: pulumi.Input[str]): - pulumi.set(self, "flow", value) - - @property - @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> pulumi.Input[str]: - """ - The ID of the security group for which you want to create a rule. - """ - return pulumi.get(self, "security_group_id") - - @security_group_id.setter - def security_group_id(self, value: pulumi.Input[str]): - pulumi.set(self, "security_group_id", value) - - @property - @pulumi.getter(name="fromPortRange") - def from_port_range(self) -> Optional[pulumi.Input[int]]: - """ - The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - """ - return pulumi.get(self, "from_port_range") - - @from_port_range.setter - def from_port_range(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "from_port_range", value) - - @property - @pulumi.getter(name="ipProtocol") - def ip_protocol(self) -> Optional[pulumi.Input[str]]: - """ - The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - """ - return pulumi.get(self, "ip_protocol") - - @ip_protocol.setter - def ip_protocol(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ip_protocol", value) - - @property - @pulumi.getter(name="ipRange") - def ip_range(self) -> Optional[pulumi.Input[str]]: - """ - The IP range for the security group rule, in CIDR notation (for example, 10.0.0.0/16). If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - """ - return pulumi.get(self, "ip_range") - - @ip_range.setter - def ip_range(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ip_range", value) - - @property - @pulumi.getter - def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SecurityGroupRuleRuleArgs']]]]: - """ - Information about the security group rule to create. If you specify this parent parameter and its subparameters, you cannot specify the following parent parameters: `from_port_range`, `ip_protocol`, `ip_range`, and `to_port_range`. - """ - return pulumi.get(self, "rules") - - @rules.setter - def rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityGroupRuleRuleArgs']]]]): - pulumi.set(self, "rules", value) - - @property - @pulumi.getter(name="securityGroupAccountIdToLink") - def security_group_account_id_to_link(self) -> Optional[pulumi.Input[str]]: - """ - The account ID that owns the source or destination security group specified in the `security_group_name_to_link` parameter. - """ - return pulumi.get(self, "security_group_account_id_to_link") - - @security_group_account_id_to_link.setter - def security_group_account_id_to_link(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "security_group_account_id_to_link", value) - - @property - @pulumi.getter(name="securityGroupNameToLink") - def security_group_name_to_link(self) -> Optional[pulumi.Input[str]]: - """ - The ID of a source or destination security group that you want to link to the security group of the rule. - """ - return pulumi.get(self, "security_group_name_to_link") - - @security_group_name_to_link.setter - def security_group_name_to_link(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "security_group_name_to_link", value) - - @property - @pulumi.getter(name="toPortRange") - def to_port_range(self) -> Optional[pulumi.Input[int]]: - """ - The end of the port range for the TCP and UDP protocols, or an ICMP code number. If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - """ - return pulumi.get(self, "to_port_range") - - @to_port_range.setter - def to_port_range(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "to_port_range", value) - - -@pulumi.input_type -class _SecurityGroupRuleState: - def __init__(__self__, *, - flow: Optional[pulumi.Input[str]] = None, - from_port_range: Optional[pulumi.Input[int]] = None, - ip_protocol: Optional[pulumi.Input[str]] = None, - ip_range: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - rules: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityGroupRuleRuleArgs']]]] = None, - security_group_account_id_to_link: Optional[pulumi.Input[str]] = None, - security_group_id: Optional[pulumi.Input[str]] = None, - security_group_name: Optional[pulumi.Input[str]] = None, - security_group_name_to_link: Optional[pulumi.Input[str]] = None, - to_port_range: Optional[pulumi.Input[int]] = None): - """ - Input properties used for looking up and filtering SecurityGroupRule resources. - :param pulumi.Input[str] flow: The direction of the flow: `Inbound` or `Outbound`. You can specify `Outbound` for Nets only. - :param pulumi.Input[int] from_port_range: The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - :param pulumi.Input[str] ip_protocol: The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - :param pulumi.Input[str] ip_range: The IP range for the security group rule, in CIDR notation (for example, 10.0.0.0/16). If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - :param pulumi.Input[str] net_id: The ID of the Net for the security group. - :param pulumi.Input[Sequence[pulumi.Input['SecurityGroupRuleRuleArgs']]] rules: Information about the security group rule to create. If you specify this parent parameter and its subparameters, you cannot specify the following parent parameters: `from_port_range`, `ip_protocol`, `ip_range`, and `to_port_range`. - :param pulumi.Input[str] security_group_account_id_to_link: The account ID that owns the source or destination security group specified in the `security_group_name_to_link` parameter. - :param pulumi.Input[str] security_group_id: The ID of the security group for which you want to create a rule. - :param pulumi.Input[str] security_group_name: (Public Cloud only) The name of a source or destination security group that you want to link to the security group of the rule. - :param pulumi.Input[str] security_group_name_to_link: The ID of a source or destination security group that you want to link to the security group of the rule. - :param pulumi.Input[int] to_port_range: The end of the port range for the TCP and UDP protocols, or an ICMP code number. If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - """ - if flow is not None: - pulumi.set(__self__, "flow", flow) - if from_port_range is not None: - pulumi.set(__self__, "from_port_range", from_port_range) - if ip_protocol is not None: - pulumi.set(__self__, "ip_protocol", ip_protocol) - if ip_range is not None: - pulumi.set(__self__, "ip_range", ip_range) - if net_id is not None: - pulumi.set(__self__, "net_id", net_id) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if rules is not None: - pulumi.set(__self__, "rules", rules) - if security_group_account_id_to_link is not None: - pulumi.set(__self__, "security_group_account_id_to_link", security_group_account_id_to_link) - if security_group_id is not None: - pulumi.set(__self__, "security_group_id", security_group_id) - if security_group_name is not None: - pulumi.set(__self__, "security_group_name", security_group_name) - if security_group_name_to_link is not None: - pulumi.set(__self__, "security_group_name_to_link", security_group_name_to_link) - if to_port_range is not None: - pulumi.set(__self__, "to_port_range", to_port_range) - - @property - @pulumi.getter - def flow(self) -> Optional[pulumi.Input[str]]: - """ - The direction of the flow: `Inbound` or `Outbound`. You can specify `Outbound` for Nets only. - """ - return pulumi.get(self, "flow") - - @flow.setter - def flow(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "flow", value) - - @property - @pulumi.getter(name="fromPortRange") - def from_port_range(self) -> Optional[pulumi.Input[int]]: - """ - The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - """ - return pulumi.get(self, "from_port_range") - - @from_port_range.setter - def from_port_range(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "from_port_range", value) - - @property - @pulumi.getter(name="ipProtocol") - def ip_protocol(self) -> Optional[pulumi.Input[str]]: - """ - The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - """ - return pulumi.get(self, "ip_protocol") - - @ip_protocol.setter - def ip_protocol(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ip_protocol", value) - - @property - @pulumi.getter(name="ipRange") - def ip_range(self) -> Optional[pulumi.Input[str]]: - """ - The IP range for the security group rule, in CIDR notation (for example, 10.0.0.0/16). If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - """ - return pulumi.get(self, "ip_range") - - @ip_range.setter - def ip_range(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ip_range", value) - - @property - @pulumi.getter(name="netId") - def net_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Net for the security group. - """ - return pulumi.get(self, "net_id") - - @net_id.setter - def net_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "net_id", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter - def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SecurityGroupRuleRuleArgs']]]]: - """ - Information about the security group rule to create. If you specify this parent parameter and its subparameters, you cannot specify the following parent parameters: `from_port_range`, `ip_protocol`, `ip_range`, and `to_port_range`. - """ - return pulumi.get(self, "rules") - - @rules.setter - def rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityGroupRuleRuleArgs']]]]): - pulumi.set(self, "rules", value) - - @property - @pulumi.getter(name="securityGroupAccountIdToLink") - def security_group_account_id_to_link(self) -> Optional[pulumi.Input[str]]: - """ - The account ID that owns the source or destination security group specified in the `security_group_name_to_link` parameter. - """ - return pulumi.get(self, "security_group_account_id_to_link") - - @security_group_account_id_to_link.setter - def security_group_account_id_to_link(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "security_group_account_id_to_link", value) - - @property - @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the security group for which you want to create a rule. - """ - return pulumi.get(self, "security_group_id") - - @security_group_id.setter - def security_group_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "security_group_id", value) - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> Optional[pulumi.Input[str]]: - """ - (Public Cloud only) The name of a source or destination security group that you want to link to the security group of the rule. - """ - return pulumi.get(self, "security_group_name") - - @security_group_name.setter - def security_group_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "security_group_name", value) - - @property - @pulumi.getter(name="securityGroupNameToLink") - def security_group_name_to_link(self) -> Optional[pulumi.Input[str]]: - """ - The ID of a source or destination security group that you want to link to the security group of the rule. - """ - return pulumi.get(self, "security_group_name_to_link") - - @security_group_name_to_link.setter - def security_group_name_to_link(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "security_group_name_to_link", value) - - @property - @pulumi.getter(name="toPortRange") - def to_port_range(self) -> Optional[pulumi.Input[int]]: - """ - The end of the port range for the TCP and UDP protocols, or an ICMP code number. If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - """ - return pulumi.get(self, "to_port_range") - - @to_port_range.setter - def to_port_range(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "to_port_range", value) - - -class SecurityGroupRule(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - flow: Optional[pulumi.Input[str]] = None, - from_port_range: Optional[pulumi.Input[int]] = None, - ip_protocol: Optional[pulumi.Input[str]] = None, - ip_range: Optional[pulumi.Input[str]] = None, - rules: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SecurityGroupRuleRuleArgs']]]]] = None, - security_group_account_id_to_link: Optional[pulumi.Input[str]] = None, - security_group_id: Optional[pulumi.Input[str]] = None, - security_group_name_to_link: Optional[pulumi.Input[str]] = None, - to_port_range: Optional[pulumi.Input[int]] = None, - __props__=None): - """ - Manages a security group rule. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Security-Group-Rules.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-securitygrouprule). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - security_group01 = outscale.SecurityGroup("securityGroup01", - description="Terraform target security group for SG rule from IP and SG", - security_group_name="terraform-security-group-test-01") - security_group02 = outscale.SecurityGroup("securityGroup02", - description="Terraform source security group for SG rule from SG", - security_group_name="terraform-security-group-test-02") - ``` - ### Set an inbound rule from an IP range - - ```python - import pulumi - import pulumi_outscale as outscale - - security_group_rule01 = outscale.SecurityGroupRule("securityGroupRule01", - flow="Inbound", - security_group_id=outscale_security_group["security_group01"]["security_group_id"], - from_port_range=80, - to_port_range=80, - ip_protocol="tcp", - ip_range="10.0.0.0/16") - ``` - ### Set an inbound rule from another security group - - ```python - import pulumi - import pulumi_outscale as outscale - - security_group_rule02 = outscale.SecurityGroupRule("securityGroupRule02", - flow="Inbound", - security_group_id=outscale_security_group["security_group01"]["security_group_id"], - rules=[outscale.SecurityGroupRuleRuleArgs( - from_port_range=22, - to_port_range=22, - ip_protocol="tcp", - security_groups_members=[outscale.SecurityGroupRuleRuleSecurityGroupsMemberArgs( - account_id="012345678910", - security_group_name="terraform-security-group-test-02", - )], - )]) - ``` - - ## Import - - A security group rule can be imported using the following format`SecurityGroupId_Flow_IpProtocol_FromPortRange_ToPortRange_IpRange`. For exampleconsole - - ```sh - $ pulumi import outscale:index/securityGroupRule:SecurityGroupRule ImportedRule sg-87654321_outbound_-1_-1_-1_10.0.0.0/16 - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] flow: The direction of the flow: `Inbound` or `Outbound`. You can specify `Outbound` for Nets only. - :param pulumi.Input[int] from_port_range: The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - :param pulumi.Input[str] ip_protocol: The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - :param pulumi.Input[str] ip_range: The IP range for the security group rule, in CIDR notation (for example, 10.0.0.0/16). If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SecurityGroupRuleRuleArgs']]]] rules: Information about the security group rule to create. If you specify this parent parameter and its subparameters, you cannot specify the following parent parameters: `from_port_range`, `ip_protocol`, `ip_range`, and `to_port_range`. - :param pulumi.Input[str] security_group_account_id_to_link: The account ID that owns the source or destination security group specified in the `security_group_name_to_link` parameter. - :param pulumi.Input[str] security_group_id: The ID of the security group for which you want to create a rule. - :param pulumi.Input[str] security_group_name_to_link: The ID of a source or destination security group that you want to link to the security group of the rule. - :param pulumi.Input[int] to_port_range: The end of the port range for the TCP and UDP protocols, or an ICMP code number. If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: SecurityGroupRuleArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages a security group rule. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Security-Group-Rules.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-securitygrouprule). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - security_group01 = outscale.SecurityGroup("securityGroup01", - description="Terraform target security group for SG rule from IP and SG", - security_group_name="terraform-security-group-test-01") - security_group02 = outscale.SecurityGroup("securityGroup02", - description="Terraform source security group for SG rule from SG", - security_group_name="terraform-security-group-test-02") - ``` - ### Set an inbound rule from an IP range - - ```python - import pulumi - import pulumi_outscale as outscale - - security_group_rule01 = outscale.SecurityGroupRule("securityGroupRule01", - flow="Inbound", - security_group_id=outscale_security_group["security_group01"]["security_group_id"], - from_port_range=80, - to_port_range=80, - ip_protocol="tcp", - ip_range="10.0.0.0/16") - ``` - ### Set an inbound rule from another security group - - ```python - import pulumi - import pulumi_outscale as outscale - - security_group_rule02 = outscale.SecurityGroupRule("securityGroupRule02", - flow="Inbound", - security_group_id=outscale_security_group["security_group01"]["security_group_id"], - rules=[outscale.SecurityGroupRuleRuleArgs( - from_port_range=22, - to_port_range=22, - ip_protocol="tcp", - security_groups_members=[outscale.SecurityGroupRuleRuleSecurityGroupsMemberArgs( - account_id="012345678910", - security_group_name="terraform-security-group-test-02", - )], - )]) - ``` - - ## Import - - A security group rule can be imported using the following format`SecurityGroupId_Flow_IpProtocol_FromPortRange_ToPortRange_IpRange`. For exampleconsole - - ```sh - $ pulumi import outscale:index/securityGroupRule:SecurityGroupRule ImportedRule sg-87654321_outbound_-1_-1_-1_10.0.0.0/16 - ``` - - :param str resource_name: The name of the resource. - :param SecurityGroupRuleArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(SecurityGroupRuleArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - flow: Optional[pulumi.Input[str]] = None, - from_port_range: Optional[pulumi.Input[int]] = None, - ip_protocol: Optional[pulumi.Input[str]] = None, - ip_range: Optional[pulumi.Input[str]] = None, - rules: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SecurityGroupRuleRuleArgs']]]]] = None, - security_group_account_id_to_link: Optional[pulumi.Input[str]] = None, - security_group_id: Optional[pulumi.Input[str]] = None, - security_group_name_to_link: Optional[pulumi.Input[str]] = None, - to_port_range: Optional[pulumi.Input[int]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = SecurityGroupRuleArgs.__new__(SecurityGroupRuleArgs) - - if flow is None and not opts.urn: - raise TypeError("Missing required property 'flow'") - __props__.__dict__["flow"] = flow - __props__.__dict__["from_port_range"] = from_port_range - __props__.__dict__["ip_protocol"] = ip_protocol - __props__.__dict__["ip_range"] = ip_range - __props__.__dict__["rules"] = rules - __props__.__dict__["security_group_account_id_to_link"] = security_group_account_id_to_link - if security_group_id is None and not opts.urn: - raise TypeError("Missing required property 'security_group_id'") - __props__.__dict__["security_group_id"] = security_group_id - __props__.__dict__["security_group_name_to_link"] = security_group_name_to_link - __props__.__dict__["to_port_range"] = to_port_range - __props__.__dict__["net_id"] = None - __props__.__dict__["request_id"] = None - __props__.__dict__["security_group_name"] = None - super(SecurityGroupRule, __self__).__init__( - 'outscale:index/securityGroupRule:SecurityGroupRule', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - flow: Optional[pulumi.Input[str]] = None, - from_port_range: Optional[pulumi.Input[int]] = None, - ip_protocol: Optional[pulumi.Input[str]] = None, - ip_range: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - rules: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SecurityGroupRuleRuleArgs']]]]] = None, - security_group_account_id_to_link: Optional[pulumi.Input[str]] = None, - security_group_id: Optional[pulumi.Input[str]] = None, - security_group_name: Optional[pulumi.Input[str]] = None, - security_group_name_to_link: Optional[pulumi.Input[str]] = None, - to_port_range: Optional[pulumi.Input[int]] = None) -> 'SecurityGroupRule': - """ - Get an existing SecurityGroupRule resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] flow: The direction of the flow: `Inbound` or `Outbound`. You can specify `Outbound` for Nets only. - :param pulumi.Input[int] from_port_range: The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - :param pulumi.Input[str] ip_protocol: The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - :param pulumi.Input[str] ip_range: The IP range for the security group rule, in CIDR notation (for example, 10.0.0.0/16). If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - :param pulumi.Input[str] net_id: The ID of the Net for the security group. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SecurityGroupRuleRuleArgs']]]] rules: Information about the security group rule to create. If you specify this parent parameter and its subparameters, you cannot specify the following parent parameters: `from_port_range`, `ip_protocol`, `ip_range`, and `to_port_range`. - :param pulumi.Input[str] security_group_account_id_to_link: The account ID that owns the source or destination security group specified in the `security_group_name_to_link` parameter. - :param pulumi.Input[str] security_group_id: The ID of the security group for which you want to create a rule. - :param pulumi.Input[str] security_group_name: (Public Cloud only) The name of a source or destination security group that you want to link to the security group of the rule. - :param pulumi.Input[str] security_group_name_to_link: The ID of a source or destination security group that you want to link to the security group of the rule. - :param pulumi.Input[int] to_port_range: The end of the port range for the TCP and UDP protocols, or an ICMP code number. If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _SecurityGroupRuleState.__new__(_SecurityGroupRuleState) - - __props__.__dict__["flow"] = flow - __props__.__dict__["from_port_range"] = from_port_range - __props__.__dict__["ip_protocol"] = ip_protocol - __props__.__dict__["ip_range"] = ip_range - __props__.__dict__["net_id"] = net_id - __props__.__dict__["request_id"] = request_id - __props__.__dict__["rules"] = rules - __props__.__dict__["security_group_account_id_to_link"] = security_group_account_id_to_link - __props__.__dict__["security_group_id"] = security_group_id - __props__.__dict__["security_group_name"] = security_group_name - __props__.__dict__["security_group_name_to_link"] = security_group_name_to_link - __props__.__dict__["to_port_range"] = to_port_range - return SecurityGroupRule(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter - def flow(self) -> pulumi.Output[str]: - """ - The direction of the flow: `Inbound` or `Outbound`. You can specify `Outbound` for Nets only. - """ - return pulumi.get(self, "flow") - - @property - @pulumi.getter(name="fromPortRange") - def from_port_range(self) -> pulumi.Output[Optional[int]]: - """ - The beginning of the port range for the TCP and UDP protocols, or an ICMP type number. - """ - return pulumi.get(self, "from_port_range") - - @property - @pulumi.getter(name="ipProtocol") - def ip_protocol(self) -> pulumi.Output[Optional[str]]: - """ - The IP protocol name (`tcp`, `udp`, `icmp`, or `-1` for all protocols). By default, `-1`. In a Net, this can also be an IP protocol number. For more information, see the [IANA.org website](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - """ - return pulumi.get(self, "ip_protocol") - - @property - @pulumi.getter(name="ipRange") - def ip_range(self) -> pulumi.Output[Optional[str]]: - """ - The IP range for the security group rule, in CIDR notation (for example, 10.0.0.0/16). If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - """ - return pulumi.get(self, "ip_range") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> pulumi.Output[str]: - """ - The ID of the Net for the security group. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def rules(self) -> pulumi.Output[Optional[Sequence['outputs.SecurityGroupRuleRule']]]: - """ - Information about the security group rule to create. If you specify this parent parameter and its subparameters, you cannot specify the following parent parameters: `from_port_range`, `ip_protocol`, `ip_range`, and `to_port_range`. - """ - return pulumi.get(self, "rules") - - @property - @pulumi.getter(name="securityGroupAccountIdToLink") - def security_group_account_id_to_link(self) -> pulumi.Output[Optional[str]]: - """ - The account ID that owns the source or destination security group specified in the `security_group_name_to_link` parameter. - """ - return pulumi.get(self, "security_group_account_id_to_link") - - @property - @pulumi.getter(name="securityGroupId") - def security_group_id(self) -> pulumi.Output[str]: - """ - The ID of the security group for which you want to create a rule. - """ - return pulumi.get(self, "security_group_id") - - @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> pulumi.Output[str]: - """ - (Public Cloud only) The name of a source or destination security group that you want to link to the security group of the rule. - """ - return pulumi.get(self, "security_group_name") - - @property - @pulumi.getter(name="securityGroupNameToLink") - def security_group_name_to_link(self) -> pulumi.Output[Optional[str]]: - """ - The ID of a source or destination security group that you want to link to the security group of the rule. - """ - return pulumi.get(self, "security_group_name_to_link") - - @property - @pulumi.getter(name="toPortRange") - def to_port_range(self) -> pulumi.Output[Optional[int]]: - """ - The end of the port range for the TCP and UDP protocols, or an ICMP code number. If you specify this parameter, you cannot specify the `rules` parameter and its subparameters. - """ - return pulumi.get(self, "to_port_range") - diff --git a/sdk/python/pulumi_outscale/server_certificate.py b/sdk/python/pulumi_outscale/server_certificate.py deleted file mode 100644 index 66eb0f6..0000000 --- a/sdk/python/pulumi_outscale/server_certificate.py +++ /dev/null @@ -1,519 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities - -__all__ = ['ServerCertificateArgs', 'ServerCertificate'] - -@pulumi.input_type -class ServerCertificateArgs: - def __init__(__self__, *, - body: Optional[pulumi.Input[str]] = None, - chain: Optional[pulumi.Input[str]] = None, - dry_run: Optional[pulumi.Input[str]] = None, - name: Optional[pulumi.Input[str]] = None, - path: Optional[pulumi.Input[str]] = None, - private_key: Optional[pulumi.Input[str]] = None): - """ - The set of arguments for constructing a ServerCertificate resource. - :param pulumi.Input[str] body: The PEM-encoded X509 certificate. - :param pulumi.Input[str] chain: The PEM-encoded intermediate certification authorities. - :param pulumi.Input[str] name: A unique name for the certificate. Constraints: 1-128 alphanumeric characters, pluses (+), equals (=), commas (,), periods (.), at signs (@), minuses (-), or underscores (_). - :param pulumi.Input[str] path: The path to the server certificate, set to a slash (/) if not specified. - :param pulumi.Input[str] private_key: The PEM-encoded private key matching the certificate. - """ - if body is not None: - pulumi.set(__self__, "body", body) - if chain is not None: - pulumi.set(__self__, "chain", chain) - if dry_run is not None: - pulumi.set(__self__, "dry_run", dry_run) - if name is not None: - pulumi.set(__self__, "name", name) - if path is not None: - pulumi.set(__self__, "path", path) - if private_key is not None: - pulumi.set(__self__, "private_key", private_key) - - @property - @pulumi.getter - def body(self) -> Optional[pulumi.Input[str]]: - """ - The PEM-encoded X509 certificate. - """ - return pulumi.get(self, "body") - - @body.setter - def body(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "body", value) - - @property - @pulumi.getter - def chain(self) -> Optional[pulumi.Input[str]]: - """ - The PEM-encoded intermediate certification authorities. - """ - return pulumi.get(self, "chain") - - @chain.setter - def chain(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "chain", value) - - @property - @pulumi.getter(name="dryRun") - def dry_run(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "dry_run") - - @dry_run.setter - def dry_run(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "dry_run", value) - - @property - @pulumi.getter - def name(self) -> Optional[pulumi.Input[str]]: - """ - A unique name for the certificate. Constraints: 1-128 alphanumeric characters, pluses (+), equals (=), commas (,), periods (.), at signs (@), minuses (-), or underscores (_). - """ - return pulumi.get(self, "name") - - @name.setter - def name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def path(self) -> Optional[pulumi.Input[str]]: - """ - The path to the server certificate, set to a slash (/) if not specified. - """ - return pulumi.get(self, "path") - - @path.setter - def path(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "path", value) - - @property - @pulumi.getter(name="privateKey") - def private_key(self) -> Optional[pulumi.Input[str]]: - """ - The PEM-encoded private key matching the certificate. - """ - return pulumi.get(self, "private_key") - - @private_key.setter - def private_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "private_key", value) - - -@pulumi.input_type -class _ServerCertificateState: - def __init__(__self__, *, - body: Optional[pulumi.Input[str]] = None, - chain: Optional[pulumi.Input[str]] = None, - dry_run: Optional[pulumi.Input[str]] = None, - expiration_date: Optional[pulumi.Input[str]] = None, - name: Optional[pulumi.Input[str]] = None, - orn: Optional[pulumi.Input[str]] = None, - path: Optional[pulumi.Input[str]] = None, - private_key: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - upload_date: Optional[pulumi.Input[str]] = None): - """ - Input properties used for looking up and filtering ServerCertificate resources. - :param pulumi.Input[str] body: The PEM-encoded X509 certificate. - :param pulumi.Input[str] chain: The PEM-encoded intermediate certification authorities. - :param pulumi.Input[str] expiration_date: The date at which the server certificate expires. - :param pulumi.Input[str] name: A unique name for the certificate. Constraints: 1-128 alphanumeric characters, pluses (+), equals (=), commas (,), periods (.), at signs (@), minuses (-), or underscores (_). - :param pulumi.Input[str] orn: The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - :param pulumi.Input[str] path: The path to the server certificate, set to a slash (/) if not specified. - :param pulumi.Input[str] private_key: The PEM-encoded private key matching the certificate. - :param pulumi.Input[str] upload_date: The date at which the server certificate has been uploaded. - """ - if body is not None: - pulumi.set(__self__, "body", body) - if chain is not None: - pulumi.set(__self__, "chain", chain) - if dry_run is not None: - pulumi.set(__self__, "dry_run", dry_run) - if expiration_date is not None: - pulumi.set(__self__, "expiration_date", expiration_date) - if name is not None: - pulumi.set(__self__, "name", name) - if orn is not None: - pulumi.set(__self__, "orn", orn) - if path is not None: - pulumi.set(__self__, "path", path) - if private_key is not None: - pulumi.set(__self__, "private_key", private_key) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if upload_date is not None: - pulumi.set(__self__, "upload_date", upload_date) - - @property - @pulumi.getter - def body(self) -> Optional[pulumi.Input[str]]: - """ - The PEM-encoded X509 certificate. - """ - return pulumi.get(self, "body") - - @body.setter - def body(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "body", value) - - @property - @pulumi.getter - def chain(self) -> Optional[pulumi.Input[str]]: - """ - The PEM-encoded intermediate certification authorities. - """ - return pulumi.get(self, "chain") - - @chain.setter - def chain(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "chain", value) - - @property - @pulumi.getter(name="dryRun") - def dry_run(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "dry_run") - - @dry_run.setter - def dry_run(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "dry_run", value) - - @property - @pulumi.getter(name="expirationDate") - def expiration_date(self) -> Optional[pulumi.Input[str]]: - """ - The date at which the server certificate expires. - """ - return pulumi.get(self, "expiration_date") - - @expiration_date.setter - def expiration_date(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "expiration_date", value) - - @property - @pulumi.getter - def name(self) -> Optional[pulumi.Input[str]]: - """ - A unique name for the certificate. Constraints: 1-128 alphanumeric characters, pluses (+), equals (=), commas (,), periods (.), at signs (@), minuses (-), or underscores (_). - """ - return pulumi.get(self, "name") - - @name.setter - def name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def orn(self) -> Optional[pulumi.Input[str]]: - """ - The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - """ - return pulumi.get(self, "orn") - - @orn.setter - def orn(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "orn", value) - - @property - @pulumi.getter - def path(self) -> Optional[pulumi.Input[str]]: - """ - The path to the server certificate, set to a slash (/) if not specified. - """ - return pulumi.get(self, "path") - - @path.setter - def path(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "path", value) - - @property - @pulumi.getter(name="privateKey") - def private_key(self) -> Optional[pulumi.Input[str]]: - """ - The PEM-encoded private key matching the certificate. - """ - return pulumi.get(self, "private_key") - - @private_key.setter - def private_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "private_key", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter(name="uploadDate") - def upload_date(self) -> Optional[pulumi.Input[str]]: - """ - The date at which the server certificate has been uploaded. - """ - return pulumi.get(self, "upload_date") - - @upload_date.setter - def upload_date(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "upload_date", value) - - -class ServerCertificate(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - body: Optional[pulumi.Input[str]] = None, - chain: Optional[pulumi.Input[str]] = None, - dry_run: Optional[pulumi.Input[str]] = None, - name: Optional[pulumi.Input[str]] = None, - path: Optional[pulumi.Input[str]] = None, - private_key: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - Manages a server certificate. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Server-Certificates-in-EIM.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-servercertificate). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - server_certificate01 = outscale.ServerCertificate("serverCertificate01", - body=(lambda path: open(path).read())(""), - chain=(lambda path: open(path).read())(""), - private_key=(lambda path: open(path).read())(""), - path="") - ``` - - ## Import - - A server certificate can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/serverCertificate:ServerCertificate ImportedServerCertificate 0123456789 - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] body: The PEM-encoded X509 certificate. - :param pulumi.Input[str] chain: The PEM-encoded intermediate certification authorities. - :param pulumi.Input[str] name: A unique name for the certificate. Constraints: 1-128 alphanumeric characters, pluses (+), equals (=), commas (,), periods (.), at signs (@), minuses (-), or underscores (_). - :param pulumi.Input[str] path: The path to the server certificate, set to a slash (/) if not specified. - :param pulumi.Input[str] private_key: The PEM-encoded private key matching the certificate. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: Optional[ServerCertificateArgs] = None, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages a server certificate. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Server-Certificates-in-EIM.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-servercertificate). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - server_certificate01 = outscale.ServerCertificate("serverCertificate01", - body=(lambda path: open(path).read())(""), - chain=(lambda path: open(path).read())(""), - private_key=(lambda path: open(path).read())(""), - path="") - ``` - - ## Import - - A server certificate can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/serverCertificate:ServerCertificate ImportedServerCertificate 0123456789 - ``` - - :param str resource_name: The name of the resource. - :param ServerCertificateArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(ServerCertificateArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - body: Optional[pulumi.Input[str]] = None, - chain: Optional[pulumi.Input[str]] = None, - dry_run: Optional[pulumi.Input[str]] = None, - name: Optional[pulumi.Input[str]] = None, - path: Optional[pulumi.Input[str]] = None, - private_key: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = ServerCertificateArgs.__new__(ServerCertificateArgs) - - __props__.__dict__["body"] = body - __props__.__dict__["chain"] = chain - __props__.__dict__["dry_run"] = dry_run - __props__.__dict__["name"] = name - __props__.__dict__["path"] = path - __props__.__dict__["private_key"] = private_key - __props__.__dict__["expiration_date"] = None - __props__.__dict__["orn"] = None - __props__.__dict__["request_id"] = None - __props__.__dict__["upload_date"] = None - super(ServerCertificate, __self__).__init__( - 'outscale:index/serverCertificate:ServerCertificate', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - body: Optional[pulumi.Input[str]] = None, - chain: Optional[pulumi.Input[str]] = None, - dry_run: Optional[pulumi.Input[str]] = None, - expiration_date: Optional[pulumi.Input[str]] = None, - name: Optional[pulumi.Input[str]] = None, - orn: Optional[pulumi.Input[str]] = None, - path: Optional[pulumi.Input[str]] = None, - private_key: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - upload_date: Optional[pulumi.Input[str]] = None) -> 'ServerCertificate': - """ - Get an existing ServerCertificate resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] body: The PEM-encoded X509 certificate. - :param pulumi.Input[str] chain: The PEM-encoded intermediate certification authorities. - :param pulumi.Input[str] expiration_date: The date at which the server certificate expires. - :param pulumi.Input[str] name: A unique name for the certificate. Constraints: 1-128 alphanumeric characters, pluses (+), equals (=), commas (,), periods (.), at signs (@), minuses (-), or underscores (_). - :param pulumi.Input[str] orn: The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - :param pulumi.Input[str] path: The path to the server certificate, set to a slash (/) if not specified. - :param pulumi.Input[str] private_key: The PEM-encoded private key matching the certificate. - :param pulumi.Input[str] upload_date: The date at which the server certificate has been uploaded. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _ServerCertificateState.__new__(_ServerCertificateState) - - __props__.__dict__["body"] = body - __props__.__dict__["chain"] = chain - __props__.__dict__["dry_run"] = dry_run - __props__.__dict__["expiration_date"] = expiration_date - __props__.__dict__["name"] = name - __props__.__dict__["orn"] = orn - __props__.__dict__["path"] = path - __props__.__dict__["private_key"] = private_key - __props__.__dict__["request_id"] = request_id - __props__.__dict__["upload_date"] = upload_date - return ServerCertificate(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter - def body(self) -> pulumi.Output[Optional[str]]: - """ - The PEM-encoded X509 certificate. - """ - return pulumi.get(self, "body") - - @property - @pulumi.getter - def chain(self) -> pulumi.Output[Optional[str]]: - """ - The PEM-encoded intermediate certification authorities. - """ - return pulumi.get(self, "chain") - - @property - @pulumi.getter(name="dryRun") - def dry_run(self) -> pulumi.Output[Optional[str]]: - return pulumi.get(self, "dry_run") - - @property - @pulumi.getter(name="expirationDate") - def expiration_date(self) -> pulumi.Output[str]: - """ - The date at which the server certificate expires. - """ - return pulumi.get(self, "expiration_date") - - @property - @pulumi.getter - def name(self) -> pulumi.Output[str]: - """ - A unique name for the certificate. Constraints: 1-128 alphanumeric characters, pluses (+), equals (=), commas (,), periods (.), at signs (@), minuses (-), or underscores (_). - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter - def orn(self) -> pulumi.Output[str]: - """ - The Outscale Resource Name (ORN) of the server certificate. For more information, see [Resource Identifiers > Outscale Resource Names (ORNs)](https://docs.outscale.com/en/userguide/Resource-Identifiers.html#_outscale_resource_names_orns). - """ - return pulumi.get(self, "orn") - - @property - @pulumi.getter - def path(self) -> pulumi.Output[str]: - """ - The path to the server certificate, set to a slash (/) if not specified. - """ - return pulumi.get(self, "path") - - @property - @pulumi.getter(name="privateKey") - def private_key(self) -> pulumi.Output[Optional[str]]: - """ - The PEM-encoded private key matching the certificate. - """ - return pulumi.get(self, "private_key") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="uploadDate") - def upload_date(self) -> pulumi.Output[str]: - """ - The date at which the server certificate has been uploaded. - """ - return pulumi.get(self, "upload_date") - diff --git a/sdk/python/pulumi_outscale/snapshot.py b/sdk/python/pulumi_outscale/snapshot.py deleted file mode 100644 index b79ce35..0000000 --- a/sdk/python/pulumi_outscale/snapshot.py +++ /dev/null @@ -1,757 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['SnapshotArgs', 'Snapshot'] - -@pulumi.input_type -class SnapshotArgs: - def __init__(__self__, *, - description: Optional[pulumi.Input[str]] = None, - file_location: Optional[pulumi.Input[str]] = None, - snapshot_size: Optional[pulumi.Input[int]] = None, - source_region_name: Optional[pulumi.Input[str]] = None, - source_snapshot_id: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['SnapshotTagArgs']]]] = None, - volume_id: Optional[pulumi.Input[str]] = None): - """ - The set of arguments for constructing a Snapshot resource. - :param pulumi.Input[str] description: A description for the snapshot. - :param pulumi.Input[str] file_location: (When importing) The pre-signed URL of the snapshot you want to import, or the normal URL of the snapshot if you have permission on the OOS bucket. For more information, see [Configuring a Pre-signed URL](https://docs.outscale.com/en/userguide/Configuring-a-Pre-signed-URL.html) or [Managing Access to Your Buckets and Objects](https://docs.outscale.com/en/userguide/Managing-Access-to-Your-Buckets-and-Objects.html). - :param pulumi.Input[int] snapshot_size: (When importing) The size of the snapshot you want to create in your account, in bytes. This size must be greater than or equal to the size of the original, uncompressed snapshot. - :param pulumi.Input[str] source_region_name: (When copying) The name of the source Region, which must be the same as the Region of your account. - :param pulumi.Input[str] source_snapshot_id: (When copying) The ID of the snapshot you want to copy. - :param pulumi.Input[Sequence[pulumi.Input['SnapshotTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - :param pulumi.Input[str] volume_id: (When creating) The ID of the volume you want to create a snapshot of. - """ - if description is not None: - pulumi.set(__self__, "description", description) - if file_location is not None: - pulumi.set(__self__, "file_location", file_location) - if snapshot_size is not None: - pulumi.set(__self__, "snapshot_size", snapshot_size) - if source_region_name is not None: - pulumi.set(__self__, "source_region_name", source_region_name) - if source_snapshot_id is not None: - pulumi.set(__self__, "source_snapshot_id", source_snapshot_id) - if tags is not None: - pulumi.set(__self__, "tags", tags) - if volume_id is not None: - pulumi.set(__self__, "volume_id", volume_id) - - @property - @pulumi.getter - def description(self) -> Optional[pulumi.Input[str]]: - """ - A description for the snapshot. - """ - return pulumi.get(self, "description") - - @description.setter - def description(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "description", value) - - @property - @pulumi.getter(name="fileLocation") - def file_location(self) -> Optional[pulumi.Input[str]]: - """ - (When importing) The pre-signed URL of the snapshot you want to import, or the normal URL of the snapshot if you have permission on the OOS bucket. For more information, see [Configuring a Pre-signed URL](https://docs.outscale.com/en/userguide/Configuring-a-Pre-signed-URL.html) or [Managing Access to Your Buckets and Objects](https://docs.outscale.com/en/userguide/Managing-Access-to-Your-Buckets-and-Objects.html). - """ - return pulumi.get(self, "file_location") - - @file_location.setter - def file_location(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "file_location", value) - - @property - @pulumi.getter(name="snapshotSize") - def snapshot_size(self) -> Optional[pulumi.Input[int]]: - """ - (When importing) The size of the snapshot you want to create in your account, in bytes. This size must be greater than or equal to the size of the original, uncompressed snapshot. - """ - return pulumi.get(self, "snapshot_size") - - @snapshot_size.setter - def snapshot_size(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "snapshot_size", value) - - @property - @pulumi.getter(name="sourceRegionName") - def source_region_name(self) -> Optional[pulumi.Input[str]]: - """ - (When copying) The name of the source Region, which must be the same as the Region of your account. - """ - return pulumi.get(self, "source_region_name") - - @source_region_name.setter - def source_region_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "source_region_name", value) - - @property - @pulumi.getter(name="sourceSnapshotId") - def source_snapshot_id(self) -> Optional[pulumi.Input[str]]: - """ - (When copying) The ID of the snapshot you want to copy. - """ - return pulumi.get(self, "source_snapshot_id") - - @source_snapshot_id.setter - def source_snapshot_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "source_snapshot_id", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SnapshotTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SnapshotTagArgs']]]]): - pulumi.set(self, "tags", value) - - @property - @pulumi.getter(name="volumeId") - def volume_id(self) -> Optional[pulumi.Input[str]]: - """ - (When creating) The ID of the volume you want to create a snapshot of. - """ - return pulumi.get(self, "volume_id") - - @volume_id.setter - def volume_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "volume_id", value) - - -@pulumi.input_type -class _SnapshotState: - def __init__(__self__, *, - account_alias: Optional[pulumi.Input[str]] = None, - account_id: Optional[pulumi.Input[str]] = None, - creation_date: Optional[pulumi.Input[str]] = None, - description: Optional[pulumi.Input[str]] = None, - file_location: Optional[pulumi.Input[str]] = None, - permissions_to_create_volumes: Optional[pulumi.Input[Sequence[pulumi.Input['SnapshotPermissionsToCreateVolumeArgs']]]] = None, - progress: Optional[pulumi.Input[int]] = None, - request_id: Optional[pulumi.Input[str]] = None, - snapshot_id: Optional[pulumi.Input[str]] = None, - snapshot_size: Optional[pulumi.Input[int]] = None, - source_region_name: Optional[pulumi.Input[str]] = None, - source_snapshot_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['SnapshotTagArgs']]]] = None, - volume_id: Optional[pulumi.Input[str]] = None, - volume_size: Optional[pulumi.Input[int]] = None): - """ - Input properties used for looking up and filtering Snapshot resources. - :param pulumi.Input[str] account_alias: The account alias of the owner of the snapshot. - :param pulumi.Input[str] account_id: The account ID of the owner of the snapshot. - :param pulumi.Input[str] creation_date: The date and time of creation of the snapshot. - :param pulumi.Input[str] description: A description for the snapshot. - :param pulumi.Input[str] file_location: (When importing) The pre-signed URL of the snapshot you want to import, or the normal URL of the snapshot if you have permission on the OOS bucket. For more information, see [Configuring a Pre-signed URL](https://docs.outscale.com/en/userguide/Configuring-a-Pre-signed-URL.html) or [Managing Access to Your Buckets and Objects](https://docs.outscale.com/en/userguide/Managing-Access-to-Your-Buckets-and-Objects.html). - :param pulumi.Input[Sequence[pulumi.Input['SnapshotPermissionsToCreateVolumeArgs']]] permissions_to_create_volumes: Permissions for the resource. - :param pulumi.Input[int] progress: The progress of the snapshot, as a percentage. - :param pulumi.Input[str] snapshot_id: The ID of the snapshot. - :param pulumi.Input[int] snapshot_size: (When importing) The size of the snapshot you want to create in your account, in bytes. This size must be greater than or equal to the size of the original, uncompressed snapshot. - :param pulumi.Input[str] source_region_name: (When copying) The name of the source Region, which must be the same as the Region of your account. - :param pulumi.Input[str] source_snapshot_id: (When copying) The ID of the snapshot you want to copy. - :param pulumi.Input[str] state: The state of the snapshot (`in-queue` \\| `completed` \\| `error`). - :param pulumi.Input[Sequence[pulumi.Input['SnapshotTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - :param pulumi.Input[str] volume_id: (When creating) The ID of the volume you want to create a snapshot of. - :param pulumi.Input[int] volume_size: The size of the volume used to create the snapshot, in gibibytes (GiB). - """ - if account_alias is not None: - pulumi.set(__self__, "account_alias", account_alias) - if account_id is not None: - pulumi.set(__self__, "account_id", account_id) - if creation_date is not None: - pulumi.set(__self__, "creation_date", creation_date) - if description is not None: - pulumi.set(__self__, "description", description) - if file_location is not None: - pulumi.set(__self__, "file_location", file_location) - if permissions_to_create_volumes is not None: - pulumi.set(__self__, "permissions_to_create_volumes", permissions_to_create_volumes) - if progress is not None: - pulumi.set(__self__, "progress", progress) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if snapshot_id is not None: - pulumi.set(__self__, "snapshot_id", snapshot_id) - if snapshot_size is not None: - pulumi.set(__self__, "snapshot_size", snapshot_size) - if source_region_name is not None: - pulumi.set(__self__, "source_region_name", source_region_name) - if source_snapshot_id is not None: - pulumi.set(__self__, "source_snapshot_id", source_snapshot_id) - if state is not None: - pulumi.set(__self__, "state", state) - if tags is not None: - pulumi.set(__self__, "tags", tags) - if volume_id is not None: - pulumi.set(__self__, "volume_id", volume_id) - if volume_size is not None: - pulumi.set(__self__, "volume_size", volume_size) - - @property - @pulumi.getter(name="accountAlias") - def account_alias(self) -> Optional[pulumi.Input[str]]: - """ - The account alias of the owner of the snapshot. - """ - return pulumi.get(self, "account_alias") - - @account_alias.setter - def account_alias(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "account_alias", value) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> Optional[pulumi.Input[str]]: - """ - The account ID of the owner of the snapshot. - """ - return pulumi.get(self, "account_id") - - @account_id.setter - def account_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "account_id", value) - - @property - @pulumi.getter(name="creationDate") - def creation_date(self) -> Optional[pulumi.Input[str]]: - """ - The date and time of creation of the snapshot. - """ - return pulumi.get(self, "creation_date") - - @creation_date.setter - def creation_date(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "creation_date", value) - - @property - @pulumi.getter - def description(self) -> Optional[pulumi.Input[str]]: - """ - A description for the snapshot. - """ - return pulumi.get(self, "description") - - @description.setter - def description(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "description", value) - - @property - @pulumi.getter(name="fileLocation") - def file_location(self) -> Optional[pulumi.Input[str]]: - """ - (When importing) The pre-signed URL of the snapshot you want to import, or the normal URL of the snapshot if you have permission on the OOS bucket. For more information, see [Configuring a Pre-signed URL](https://docs.outscale.com/en/userguide/Configuring-a-Pre-signed-URL.html) or [Managing Access to Your Buckets and Objects](https://docs.outscale.com/en/userguide/Managing-Access-to-Your-Buckets-and-Objects.html). - """ - return pulumi.get(self, "file_location") - - @file_location.setter - def file_location(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "file_location", value) - - @property - @pulumi.getter(name="permissionsToCreateVolumes") - def permissions_to_create_volumes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SnapshotPermissionsToCreateVolumeArgs']]]]: - """ - Permissions for the resource. - """ - return pulumi.get(self, "permissions_to_create_volumes") - - @permissions_to_create_volumes.setter - def permissions_to_create_volumes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SnapshotPermissionsToCreateVolumeArgs']]]]): - pulumi.set(self, "permissions_to_create_volumes", value) - - @property - @pulumi.getter - def progress(self) -> Optional[pulumi.Input[int]]: - """ - The progress of the snapshot, as a percentage. - """ - return pulumi.get(self, "progress") - - @progress.setter - def progress(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "progress", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter(name="snapshotId") - def snapshot_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the snapshot. - """ - return pulumi.get(self, "snapshot_id") - - @snapshot_id.setter - def snapshot_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "snapshot_id", value) - - @property - @pulumi.getter(name="snapshotSize") - def snapshot_size(self) -> Optional[pulumi.Input[int]]: - """ - (When importing) The size of the snapshot you want to create in your account, in bytes. This size must be greater than or equal to the size of the original, uncompressed snapshot. - """ - return pulumi.get(self, "snapshot_size") - - @snapshot_size.setter - def snapshot_size(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "snapshot_size", value) - - @property - @pulumi.getter(name="sourceRegionName") - def source_region_name(self) -> Optional[pulumi.Input[str]]: - """ - (When copying) The name of the source Region, which must be the same as the Region of your account. - """ - return pulumi.get(self, "source_region_name") - - @source_region_name.setter - def source_region_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "source_region_name", value) - - @property - @pulumi.getter(name="sourceSnapshotId") - def source_snapshot_id(self) -> Optional[pulumi.Input[str]]: - """ - (When copying) The ID of the snapshot you want to copy. - """ - return pulumi.get(self, "source_snapshot_id") - - @source_snapshot_id.setter - def source_snapshot_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "source_snapshot_id", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - The state of the snapshot (`in-queue` \\| `completed` \\| `error`). - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SnapshotTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SnapshotTagArgs']]]]): - pulumi.set(self, "tags", value) - - @property - @pulumi.getter(name="volumeId") - def volume_id(self) -> Optional[pulumi.Input[str]]: - """ - (When creating) The ID of the volume you want to create a snapshot of. - """ - return pulumi.get(self, "volume_id") - - @volume_id.setter - def volume_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "volume_id", value) - - @property - @pulumi.getter(name="volumeSize") - def volume_size(self) -> Optional[pulumi.Input[int]]: - """ - The size of the volume used to create the snapshot, in gibibytes (GiB). - """ - return pulumi.get(self, "volume_size") - - @volume_size.setter - def volume_size(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "volume_size", value) - - -class Snapshot(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - description: Optional[pulumi.Input[str]] = None, - file_location: Optional[pulumi.Input[str]] = None, - snapshot_size: Optional[pulumi.Input[int]] = None, - source_region_name: Optional[pulumi.Input[str]] = None, - source_snapshot_id: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SnapshotTagArgs']]]]] = None, - volume_id: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - Manages a snapshot. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Snapshots.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-snapshot). - - ## Example Usage - ### Required resource - - ```python - import pulumi - import pulumi_outscale as outscale - - volume01 = outscale.Volume("volume01", - size=40, - subregion_name=f"{var['region']}a") - ``` - ### Create a snapshot - - ```python - import pulumi - import pulumi_outscale as outscale - - snapshot01 = outscale.Snapshot("snapshot01", volume_id=outscale_volume["volume01"]["volume_id"]) - ``` - ### Copy a snapshot - - ```python - import pulumi - import pulumi_outscale as outscale - - snapshot02 = outscale.Snapshot("snapshot02", - description="Terraform snapshot copy", - source_region_name="eu-west-2", - source_snapshot_id="snap-12345678") - ``` - - ## Import - - A snapshot can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/snapshot:Snapshot ImportedSnapshot snap-12345678 - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] description: A description for the snapshot. - :param pulumi.Input[str] file_location: (When importing) The pre-signed URL of the snapshot you want to import, or the normal URL of the snapshot if you have permission on the OOS bucket. For more information, see [Configuring a Pre-signed URL](https://docs.outscale.com/en/userguide/Configuring-a-Pre-signed-URL.html) or [Managing Access to Your Buckets and Objects](https://docs.outscale.com/en/userguide/Managing-Access-to-Your-Buckets-and-Objects.html). - :param pulumi.Input[int] snapshot_size: (When importing) The size of the snapshot you want to create in your account, in bytes. This size must be greater than or equal to the size of the original, uncompressed snapshot. - :param pulumi.Input[str] source_region_name: (When copying) The name of the source Region, which must be the same as the Region of your account. - :param pulumi.Input[str] source_snapshot_id: (When copying) The ID of the snapshot you want to copy. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SnapshotTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - :param pulumi.Input[str] volume_id: (When creating) The ID of the volume you want to create a snapshot of. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: Optional[SnapshotArgs] = None, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages a snapshot. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Snapshots.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-snapshot). - - ## Example Usage - ### Required resource - - ```python - import pulumi - import pulumi_outscale as outscale - - volume01 = outscale.Volume("volume01", - size=40, - subregion_name=f"{var['region']}a") - ``` - ### Create a snapshot - - ```python - import pulumi - import pulumi_outscale as outscale - - snapshot01 = outscale.Snapshot("snapshot01", volume_id=outscale_volume["volume01"]["volume_id"]) - ``` - ### Copy a snapshot - - ```python - import pulumi - import pulumi_outscale as outscale - - snapshot02 = outscale.Snapshot("snapshot02", - description="Terraform snapshot copy", - source_region_name="eu-west-2", - source_snapshot_id="snap-12345678") - ``` - - ## Import - - A snapshot can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/snapshot:Snapshot ImportedSnapshot snap-12345678 - ``` - - :param str resource_name: The name of the resource. - :param SnapshotArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(SnapshotArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - description: Optional[pulumi.Input[str]] = None, - file_location: Optional[pulumi.Input[str]] = None, - snapshot_size: Optional[pulumi.Input[int]] = None, - source_region_name: Optional[pulumi.Input[str]] = None, - source_snapshot_id: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SnapshotTagArgs']]]]] = None, - volume_id: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = SnapshotArgs.__new__(SnapshotArgs) - - __props__.__dict__["description"] = description - __props__.__dict__["file_location"] = file_location - __props__.__dict__["snapshot_size"] = snapshot_size - __props__.__dict__["source_region_name"] = source_region_name - __props__.__dict__["source_snapshot_id"] = source_snapshot_id - __props__.__dict__["tags"] = tags - __props__.__dict__["volume_id"] = volume_id - __props__.__dict__["account_alias"] = None - __props__.__dict__["account_id"] = None - __props__.__dict__["creation_date"] = None - __props__.__dict__["permissions_to_create_volumes"] = None - __props__.__dict__["progress"] = None - __props__.__dict__["request_id"] = None - __props__.__dict__["snapshot_id"] = None - __props__.__dict__["state"] = None - __props__.__dict__["volume_size"] = None - super(Snapshot, __self__).__init__( - 'outscale:index/snapshot:Snapshot', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - account_alias: Optional[pulumi.Input[str]] = None, - account_id: Optional[pulumi.Input[str]] = None, - creation_date: Optional[pulumi.Input[str]] = None, - description: Optional[pulumi.Input[str]] = None, - file_location: Optional[pulumi.Input[str]] = None, - permissions_to_create_volumes: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SnapshotPermissionsToCreateVolumeArgs']]]]] = None, - progress: Optional[pulumi.Input[int]] = None, - request_id: Optional[pulumi.Input[str]] = None, - snapshot_id: Optional[pulumi.Input[str]] = None, - snapshot_size: Optional[pulumi.Input[int]] = None, - source_region_name: Optional[pulumi.Input[str]] = None, - source_snapshot_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SnapshotTagArgs']]]]] = None, - volume_id: Optional[pulumi.Input[str]] = None, - volume_size: Optional[pulumi.Input[int]] = None) -> 'Snapshot': - """ - Get an existing Snapshot resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] account_alias: The account alias of the owner of the snapshot. - :param pulumi.Input[str] account_id: The account ID of the owner of the snapshot. - :param pulumi.Input[str] creation_date: The date and time of creation of the snapshot. - :param pulumi.Input[str] description: A description for the snapshot. - :param pulumi.Input[str] file_location: (When importing) The pre-signed URL of the snapshot you want to import, or the normal URL of the snapshot if you have permission on the OOS bucket. For more information, see [Configuring a Pre-signed URL](https://docs.outscale.com/en/userguide/Configuring-a-Pre-signed-URL.html) or [Managing Access to Your Buckets and Objects](https://docs.outscale.com/en/userguide/Managing-Access-to-Your-Buckets-and-Objects.html). - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SnapshotPermissionsToCreateVolumeArgs']]]] permissions_to_create_volumes: Permissions for the resource. - :param pulumi.Input[int] progress: The progress of the snapshot, as a percentage. - :param pulumi.Input[str] snapshot_id: The ID of the snapshot. - :param pulumi.Input[int] snapshot_size: (When importing) The size of the snapshot you want to create in your account, in bytes. This size must be greater than or equal to the size of the original, uncompressed snapshot. - :param pulumi.Input[str] source_region_name: (When copying) The name of the source Region, which must be the same as the Region of your account. - :param pulumi.Input[str] source_snapshot_id: (When copying) The ID of the snapshot you want to copy. - :param pulumi.Input[str] state: The state of the snapshot (`in-queue` \\| `completed` \\| `error`). - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SnapshotTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - :param pulumi.Input[str] volume_id: (When creating) The ID of the volume you want to create a snapshot of. - :param pulumi.Input[int] volume_size: The size of the volume used to create the snapshot, in gibibytes (GiB). - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _SnapshotState.__new__(_SnapshotState) - - __props__.__dict__["account_alias"] = account_alias - __props__.__dict__["account_id"] = account_id - __props__.__dict__["creation_date"] = creation_date - __props__.__dict__["description"] = description - __props__.__dict__["file_location"] = file_location - __props__.__dict__["permissions_to_create_volumes"] = permissions_to_create_volumes - __props__.__dict__["progress"] = progress - __props__.__dict__["request_id"] = request_id - __props__.__dict__["snapshot_id"] = snapshot_id - __props__.__dict__["snapshot_size"] = snapshot_size - __props__.__dict__["source_region_name"] = source_region_name - __props__.__dict__["source_snapshot_id"] = source_snapshot_id - __props__.__dict__["state"] = state - __props__.__dict__["tags"] = tags - __props__.__dict__["volume_id"] = volume_id - __props__.__dict__["volume_size"] = volume_size - return Snapshot(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="accountAlias") - def account_alias(self) -> pulumi.Output[str]: - """ - The account alias of the owner of the snapshot. - """ - return pulumi.get(self, "account_alias") - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> pulumi.Output[str]: - """ - The account ID of the owner of the snapshot. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter(name="creationDate") - def creation_date(self) -> pulumi.Output[str]: - """ - The date and time of creation of the snapshot. - """ - return pulumi.get(self, "creation_date") - - @property - @pulumi.getter - def description(self) -> pulumi.Output[str]: - """ - A description for the snapshot. - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter(name="fileLocation") - def file_location(self) -> pulumi.Output[str]: - """ - (When importing) The pre-signed URL of the snapshot you want to import, or the normal URL of the snapshot if you have permission on the OOS bucket. For more information, see [Configuring a Pre-signed URL](https://docs.outscale.com/en/userguide/Configuring-a-Pre-signed-URL.html) or [Managing Access to Your Buckets and Objects](https://docs.outscale.com/en/userguide/Managing-Access-to-Your-Buckets-and-Objects.html). - """ - return pulumi.get(self, "file_location") - - @property - @pulumi.getter(name="permissionsToCreateVolumes") - def permissions_to_create_volumes(self) -> pulumi.Output[Sequence['outputs.SnapshotPermissionsToCreateVolume']]: - """ - Permissions for the resource. - """ - return pulumi.get(self, "permissions_to_create_volumes") - - @property - @pulumi.getter - def progress(self) -> pulumi.Output[int]: - """ - The progress of the snapshot, as a percentage. - """ - return pulumi.get(self, "progress") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="snapshotId") - def snapshot_id(self) -> pulumi.Output[str]: - """ - The ID of the snapshot. - """ - return pulumi.get(self, "snapshot_id") - - @property - @pulumi.getter(name="snapshotSize") - def snapshot_size(self) -> pulumi.Output[int]: - """ - (When importing) The size of the snapshot you want to create in your account, in bytes. This size must be greater than or equal to the size of the original, uncompressed snapshot. - """ - return pulumi.get(self, "snapshot_size") - - @property - @pulumi.getter(name="sourceRegionName") - def source_region_name(self) -> pulumi.Output[str]: - """ - (When copying) The name of the source Region, which must be the same as the Region of your account. - """ - return pulumi.get(self, "source_region_name") - - @property - @pulumi.getter(name="sourceSnapshotId") - def source_snapshot_id(self) -> pulumi.Output[str]: - """ - (When copying) The ID of the snapshot you want to copy. - """ - return pulumi.get(self, "source_snapshot_id") - - @property - @pulumi.getter - def state(self) -> pulumi.Output[str]: - """ - The state of the snapshot (`in-queue` \\| `completed` \\| `error`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Sequence['outputs.SnapshotTag']]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter(name="volumeId") - def volume_id(self) -> pulumi.Output[str]: - """ - (When creating) The ID of the volume you want to create a snapshot of. - """ - return pulumi.get(self, "volume_id") - - @property - @pulumi.getter(name="volumeSize") - def volume_size(self) -> pulumi.Output[int]: - """ - The size of the volume used to create the snapshot, in gibibytes (GiB). - """ - return pulumi.get(self, "volume_size") - diff --git a/sdk/python/pulumi_outscale/snapshot_attributes.py b/sdk/python/pulumi_outscale/snapshot_attributes.py deleted file mode 100644 index 50a99b6..0000000 --- a/sdk/python/pulumi_outscale/snapshot_attributes.py +++ /dev/null @@ -1,380 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['SnapshotAttributesArgs', 'SnapshotAttributes'] - -@pulumi.input_type -class SnapshotAttributesArgs: - def __init__(__self__, *, - snapshot_id: pulumi.Input[str], - permissions_to_create_volume_additions: Optional[pulumi.Input['SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs']] = None, - permissions_to_create_volume_removals: Optional[pulumi.Input[Sequence[pulumi.Input['SnapshotAttributesPermissionsToCreateVolumeRemovalArgs']]]] = None): - """ - The set of arguments for constructing a SnapshotAttributes resource. - :param pulumi.Input[str] snapshot_id: The ID of the snapshot. - :param pulumi.Input['SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs'] permissions_to_create_volume_additions: Information about the users to whom you want to give permissions for the resource. - :param pulumi.Input[Sequence[pulumi.Input['SnapshotAttributesPermissionsToCreateVolumeRemovalArgs']]] permissions_to_create_volume_removals: Information about the users from whom you want to remove permissions for the resource. - """ - pulumi.set(__self__, "snapshot_id", snapshot_id) - if permissions_to_create_volume_additions is not None: - pulumi.set(__self__, "permissions_to_create_volume_additions", permissions_to_create_volume_additions) - if permissions_to_create_volume_removals is not None: - pulumi.set(__self__, "permissions_to_create_volume_removals", permissions_to_create_volume_removals) - - @property - @pulumi.getter(name="snapshotId") - def snapshot_id(self) -> pulumi.Input[str]: - """ - The ID of the snapshot. - """ - return pulumi.get(self, "snapshot_id") - - @snapshot_id.setter - def snapshot_id(self, value: pulumi.Input[str]): - pulumi.set(self, "snapshot_id", value) - - @property - @pulumi.getter(name="permissionsToCreateVolumeAdditions") - def permissions_to_create_volume_additions(self) -> Optional[pulumi.Input['SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs']]: - """ - Information about the users to whom you want to give permissions for the resource. - """ - return pulumi.get(self, "permissions_to_create_volume_additions") - - @permissions_to_create_volume_additions.setter - def permissions_to_create_volume_additions(self, value: Optional[pulumi.Input['SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs']]): - pulumi.set(self, "permissions_to_create_volume_additions", value) - - @property - @pulumi.getter(name="permissionsToCreateVolumeRemovals") - def permissions_to_create_volume_removals(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SnapshotAttributesPermissionsToCreateVolumeRemovalArgs']]]]: - """ - Information about the users from whom you want to remove permissions for the resource. - """ - return pulumi.get(self, "permissions_to_create_volume_removals") - - @permissions_to_create_volume_removals.setter - def permissions_to_create_volume_removals(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SnapshotAttributesPermissionsToCreateVolumeRemovalArgs']]]]): - pulumi.set(self, "permissions_to_create_volume_removals", value) - - -@pulumi.input_type -class _SnapshotAttributesState: - def __init__(__self__, *, - account_id: Optional[pulumi.Input[str]] = None, - permissions_to_create_volume_additions: Optional[pulumi.Input['SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs']] = None, - permissions_to_create_volume_removals: Optional[pulumi.Input[Sequence[pulumi.Input['SnapshotAttributesPermissionsToCreateVolumeRemovalArgs']]]] = None, - request_id: Optional[pulumi.Input[str]] = None, - snapshot_id: Optional[pulumi.Input[str]] = None): - """ - Input properties used for looking up and filtering SnapshotAttributes resources. - :param pulumi.Input[str] account_id: The account ID of the owner of the snapshot. - :param pulumi.Input['SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs'] permissions_to_create_volume_additions: Information about the users to whom you want to give permissions for the resource. - :param pulumi.Input[Sequence[pulumi.Input['SnapshotAttributesPermissionsToCreateVolumeRemovalArgs']]] permissions_to_create_volume_removals: Information about the users from whom you want to remove permissions for the resource. - :param pulumi.Input[str] snapshot_id: The ID of the snapshot. - """ - if account_id is not None: - pulumi.set(__self__, "account_id", account_id) - if permissions_to_create_volume_additions is not None: - pulumi.set(__self__, "permissions_to_create_volume_additions", permissions_to_create_volume_additions) - if permissions_to_create_volume_removals is not None: - pulumi.set(__self__, "permissions_to_create_volume_removals", permissions_to_create_volume_removals) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if snapshot_id is not None: - pulumi.set(__self__, "snapshot_id", snapshot_id) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> Optional[pulumi.Input[str]]: - """ - The account ID of the owner of the snapshot. - """ - return pulumi.get(self, "account_id") - - @account_id.setter - def account_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "account_id", value) - - @property - @pulumi.getter(name="permissionsToCreateVolumeAdditions") - def permissions_to_create_volume_additions(self) -> Optional[pulumi.Input['SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs']]: - """ - Information about the users to whom you want to give permissions for the resource. - """ - return pulumi.get(self, "permissions_to_create_volume_additions") - - @permissions_to_create_volume_additions.setter - def permissions_to_create_volume_additions(self, value: Optional[pulumi.Input['SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs']]): - pulumi.set(self, "permissions_to_create_volume_additions", value) - - @property - @pulumi.getter(name="permissionsToCreateVolumeRemovals") - def permissions_to_create_volume_removals(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SnapshotAttributesPermissionsToCreateVolumeRemovalArgs']]]]: - """ - Information about the users from whom you want to remove permissions for the resource. - """ - return pulumi.get(self, "permissions_to_create_volume_removals") - - @permissions_to_create_volume_removals.setter - def permissions_to_create_volume_removals(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SnapshotAttributesPermissionsToCreateVolumeRemovalArgs']]]]): - pulumi.set(self, "permissions_to_create_volume_removals", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter(name="snapshotId") - def snapshot_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the snapshot. - """ - return pulumi.get(self, "snapshot_id") - - @snapshot_id.setter - def snapshot_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "snapshot_id", value) - - -class SnapshotAttributes(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - permissions_to_create_volume_additions: Optional[pulumi.Input[pulumi.InputType['SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs']]] = None, - permissions_to_create_volume_removals: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SnapshotAttributesPermissionsToCreateVolumeRemovalArgs']]]]] = None, - snapshot_id: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - Manages snapshot attributes. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Snapshots.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#updatesnapshot). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - volume01 = outscale.Volume("volume01", - subregion_name="eu-west-2a", - size=40) - snapshot01 = outscale.Snapshot("snapshot01", - volume_id=volume01.volume_id, - tags=[outscale.SnapshotTagArgs( - key="name", - value="terraform-snapshot-test", - )]) - ``` - ### Add permissions - - ```python - import pulumi - import pulumi_outscale as outscale - - snapshot_attributes01 = outscale.SnapshotAttributes("snapshotAttributes01", - snapshot_id=outscale_snapshot["snapshot01"]["snapshot_id"], - permissions_to_create_volume_additions=outscale.SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs( - account_ids=["012345678910"], - )) - ``` - ### Remove permissions - - ```python - import pulumi - import pulumi_outscale as outscale - - snapshot_attributes02 = outscale.SnapshotAttributes("snapshotAttributes02", - snapshot_id=outscale_snapshot["snapshot01"]["snapshot_id"], - permissions_to_create_volume_removals=[outscale.SnapshotAttributesPermissionsToCreateVolumeRemovalArgs( - account_ids=["012345678910"], - )]) - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[pulumi.InputType['SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs']] permissions_to_create_volume_additions: Information about the users to whom you want to give permissions for the resource. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SnapshotAttributesPermissionsToCreateVolumeRemovalArgs']]]] permissions_to_create_volume_removals: Information about the users from whom you want to remove permissions for the resource. - :param pulumi.Input[str] snapshot_id: The ID of the snapshot. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: SnapshotAttributesArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages snapshot attributes. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Snapshots.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#updatesnapshot). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - volume01 = outscale.Volume("volume01", - subregion_name="eu-west-2a", - size=40) - snapshot01 = outscale.Snapshot("snapshot01", - volume_id=volume01.volume_id, - tags=[outscale.SnapshotTagArgs( - key="name", - value="terraform-snapshot-test", - )]) - ``` - ### Add permissions - - ```python - import pulumi - import pulumi_outscale as outscale - - snapshot_attributes01 = outscale.SnapshotAttributes("snapshotAttributes01", - snapshot_id=outscale_snapshot["snapshot01"]["snapshot_id"], - permissions_to_create_volume_additions=outscale.SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs( - account_ids=["012345678910"], - )) - ``` - ### Remove permissions - - ```python - import pulumi - import pulumi_outscale as outscale - - snapshot_attributes02 = outscale.SnapshotAttributes("snapshotAttributes02", - snapshot_id=outscale_snapshot["snapshot01"]["snapshot_id"], - permissions_to_create_volume_removals=[outscale.SnapshotAttributesPermissionsToCreateVolumeRemovalArgs( - account_ids=["012345678910"], - )]) - ``` - - :param str resource_name: The name of the resource. - :param SnapshotAttributesArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(SnapshotAttributesArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - permissions_to_create_volume_additions: Optional[pulumi.Input[pulumi.InputType['SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs']]] = None, - permissions_to_create_volume_removals: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SnapshotAttributesPermissionsToCreateVolumeRemovalArgs']]]]] = None, - snapshot_id: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = SnapshotAttributesArgs.__new__(SnapshotAttributesArgs) - - __props__.__dict__["permissions_to_create_volume_additions"] = permissions_to_create_volume_additions - __props__.__dict__["permissions_to_create_volume_removals"] = permissions_to_create_volume_removals - if snapshot_id is None and not opts.urn: - raise TypeError("Missing required property 'snapshot_id'") - __props__.__dict__["snapshot_id"] = snapshot_id - __props__.__dict__["account_id"] = None - __props__.__dict__["request_id"] = None - super(SnapshotAttributes, __self__).__init__( - 'outscale:index/snapshotAttributes:SnapshotAttributes', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - account_id: Optional[pulumi.Input[str]] = None, - permissions_to_create_volume_additions: Optional[pulumi.Input[pulumi.InputType['SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs']]] = None, - permissions_to_create_volume_removals: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SnapshotAttributesPermissionsToCreateVolumeRemovalArgs']]]]] = None, - request_id: Optional[pulumi.Input[str]] = None, - snapshot_id: Optional[pulumi.Input[str]] = None) -> 'SnapshotAttributes': - """ - Get an existing SnapshotAttributes resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] account_id: The account ID of the owner of the snapshot. - :param pulumi.Input[pulumi.InputType['SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs']] permissions_to_create_volume_additions: Information about the users to whom you want to give permissions for the resource. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SnapshotAttributesPermissionsToCreateVolumeRemovalArgs']]]] permissions_to_create_volume_removals: Information about the users from whom you want to remove permissions for the resource. - :param pulumi.Input[str] snapshot_id: The ID of the snapshot. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _SnapshotAttributesState.__new__(_SnapshotAttributesState) - - __props__.__dict__["account_id"] = account_id - __props__.__dict__["permissions_to_create_volume_additions"] = permissions_to_create_volume_additions - __props__.__dict__["permissions_to_create_volume_removals"] = permissions_to_create_volume_removals - __props__.__dict__["request_id"] = request_id - __props__.__dict__["snapshot_id"] = snapshot_id - return SnapshotAttributes(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="accountId") - def account_id(self) -> pulumi.Output[str]: - """ - The account ID of the owner of the snapshot. - """ - return pulumi.get(self, "account_id") - - @property - @pulumi.getter(name="permissionsToCreateVolumeAdditions") - def permissions_to_create_volume_additions(self) -> pulumi.Output[Optional['outputs.SnapshotAttributesPermissionsToCreateVolumeAdditions']]: - """ - Information about the users to whom you want to give permissions for the resource. - """ - return pulumi.get(self, "permissions_to_create_volume_additions") - - @property - @pulumi.getter(name="permissionsToCreateVolumeRemovals") - def permissions_to_create_volume_removals(self) -> pulumi.Output[Optional[Sequence['outputs.SnapshotAttributesPermissionsToCreateVolumeRemoval']]]: - """ - Information about the users from whom you want to remove permissions for the resource. - """ - return pulumi.get(self, "permissions_to_create_volume_removals") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="snapshotId") - def snapshot_id(self) -> pulumi.Output[str]: - """ - The ID of the snapshot. - """ - return pulumi.get(self, "snapshot_id") - diff --git a/sdk/python/pulumi_outscale/snapshot_export_task.py b/sdk/python/pulumi_outscale/snapshot_export_task.py deleted file mode 100644 index b4341f2..0000000 --- a/sdk/python/pulumi_outscale/snapshot_export_task.py +++ /dev/null @@ -1,451 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['SnapshotExportTaskArgs', 'SnapshotExportTask'] - -@pulumi.input_type -class SnapshotExportTaskArgs: - def __init__(__self__, *, - osu_exports: pulumi.Input[Sequence[pulumi.Input['SnapshotExportTaskOsuExportArgs']]], - snapshot_id: pulumi.Input[str], - tags: Optional[pulumi.Input[Sequence[pulumi.Input['SnapshotExportTaskTagArgs']]]] = None): - """ - The set of arguments for constructing a SnapshotExportTask resource. - :param pulumi.Input[Sequence[pulumi.Input['SnapshotExportTaskOsuExportArgs']]] osu_exports: Information about the OOS export task to create. - :param pulumi.Input[str] snapshot_id: The ID of the snapshot to export. - :param pulumi.Input[Sequence[pulumi.Input['SnapshotExportTaskTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - """ - pulumi.set(__self__, "osu_exports", osu_exports) - pulumi.set(__self__, "snapshot_id", snapshot_id) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="osuExports") - def osu_exports(self) -> pulumi.Input[Sequence[pulumi.Input['SnapshotExportTaskOsuExportArgs']]]: - """ - Information about the OOS export task to create. - """ - return pulumi.get(self, "osu_exports") - - @osu_exports.setter - def osu_exports(self, value: pulumi.Input[Sequence[pulumi.Input['SnapshotExportTaskOsuExportArgs']]]): - pulumi.set(self, "osu_exports", value) - - @property - @pulumi.getter(name="snapshotId") - def snapshot_id(self) -> pulumi.Input[str]: - """ - The ID of the snapshot to export. - """ - return pulumi.get(self, "snapshot_id") - - @snapshot_id.setter - def snapshot_id(self, value: pulumi.Input[str]): - pulumi.set(self, "snapshot_id", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SnapshotExportTaskTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SnapshotExportTaskTagArgs']]]]): - pulumi.set(self, "tags", value) - - -@pulumi.input_type -class _SnapshotExportTaskState: - def __init__(__self__, *, - comment: Optional[pulumi.Input[str]] = None, - osu_exports: Optional[pulumi.Input[Sequence[pulumi.Input['SnapshotExportTaskOsuExportArgs']]]] = None, - progress: Optional[pulumi.Input[int]] = None, - request_id: Optional[pulumi.Input[str]] = None, - snapshot_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['SnapshotExportTaskTagArgs']]]] = None, - task_id: Optional[pulumi.Input[str]] = None): - """ - Input properties used for looking up and filtering SnapshotExportTask resources. - :param pulumi.Input[str] comment: If the snapshot export task fails, an error message appears. - :param pulumi.Input[Sequence[pulumi.Input['SnapshotExportTaskOsuExportArgs']]] osu_exports: Information about the OOS export task to create. - :param pulumi.Input[int] progress: The progress of the snapshot export task, as a percentage. - :param pulumi.Input[str] snapshot_id: The ID of the snapshot to export. - :param pulumi.Input[str] state: The state of the snapshot export task (`pending` \\| `active` \\| `completed` \\| `failed`). - :param pulumi.Input[Sequence[pulumi.Input['SnapshotExportTaskTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - :param pulumi.Input[str] task_id: The ID of the snapshot export task. - """ - if comment is not None: - pulumi.set(__self__, "comment", comment) - if osu_exports is not None: - pulumi.set(__self__, "osu_exports", osu_exports) - if progress is not None: - pulumi.set(__self__, "progress", progress) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if snapshot_id is not None: - pulumi.set(__self__, "snapshot_id", snapshot_id) - if state is not None: - pulumi.set(__self__, "state", state) - if tags is not None: - pulumi.set(__self__, "tags", tags) - if task_id is not None: - pulumi.set(__self__, "task_id", task_id) - - @property - @pulumi.getter - def comment(self) -> Optional[pulumi.Input[str]]: - """ - If the snapshot export task fails, an error message appears. - """ - return pulumi.get(self, "comment") - - @comment.setter - def comment(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "comment", value) - - @property - @pulumi.getter(name="osuExports") - def osu_exports(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SnapshotExportTaskOsuExportArgs']]]]: - """ - Information about the OOS export task to create. - """ - return pulumi.get(self, "osu_exports") - - @osu_exports.setter - def osu_exports(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SnapshotExportTaskOsuExportArgs']]]]): - pulumi.set(self, "osu_exports", value) - - @property - @pulumi.getter - def progress(self) -> Optional[pulumi.Input[int]]: - """ - The progress of the snapshot export task, as a percentage. - """ - return pulumi.get(self, "progress") - - @progress.setter - def progress(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "progress", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter(name="snapshotId") - def snapshot_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the snapshot to export. - """ - return pulumi.get(self, "snapshot_id") - - @snapshot_id.setter - def snapshot_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "snapshot_id", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - The state of the snapshot export task (`pending` \\| `active` \\| `completed` \\| `failed`). - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SnapshotExportTaskTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SnapshotExportTaskTagArgs']]]]): - pulumi.set(self, "tags", value) - - @property - @pulumi.getter(name="taskId") - def task_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the snapshot export task. - """ - return pulumi.get(self, "task_id") - - @task_id.setter - def task_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "task_id", value) - - -class SnapshotExportTask(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - osu_exports: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SnapshotExportTaskOsuExportArgs']]]]] = None, - snapshot_id: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SnapshotExportTaskTagArgs']]]]] = None, - __props__=None): - """ - Manages a snapshot export task. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Snapshots.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-snapshot). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - volume01 = outscale.Volume("volume01", - subregion_name=f"{var['region']}a", - size=40) - snapshot01 = outscale.Snapshot("snapshot01", volume_id=volume01.volume_id) - ``` - ### Create a snapshot export task - - ```python - import pulumi - import pulumi_outscale as outscale - - snapshot_export_task01 = outscale.SnapshotExportTask("snapshotExportTask01", - snapshot_id=outscale_snapshot["snapshot01"]["snapshot_id"], - osu_exports=[outscale.SnapshotExportTaskOsuExportArgs( - disk_image_format="qcow2", - osu_bucket="terraform-bucket", - osu_prefix="new-export", - osu_api_keys=[outscale.SnapshotExportTaskOsuExportOsuApiKeyArgs( - api_key_id=var["access_key_id"], - secret_key=var["secret_key_id"], - )], - )], - tags=[outscale.SnapshotExportTaskTagArgs( - key="Name", - value="terraform-snapshot-export-task", - )]) - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SnapshotExportTaskOsuExportArgs']]]] osu_exports: Information about the OOS export task to create. - :param pulumi.Input[str] snapshot_id: The ID of the snapshot to export. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SnapshotExportTaskTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: SnapshotExportTaskArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages a snapshot export task. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Snapshots.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-snapshot). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - volume01 = outscale.Volume("volume01", - subregion_name=f"{var['region']}a", - size=40) - snapshot01 = outscale.Snapshot("snapshot01", volume_id=volume01.volume_id) - ``` - ### Create a snapshot export task - - ```python - import pulumi - import pulumi_outscale as outscale - - snapshot_export_task01 = outscale.SnapshotExportTask("snapshotExportTask01", - snapshot_id=outscale_snapshot["snapshot01"]["snapshot_id"], - osu_exports=[outscale.SnapshotExportTaskOsuExportArgs( - disk_image_format="qcow2", - osu_bucket="terraform-bucket", - osu_prefix="new-export", - osu_api_keys=[outscale.SnapshotExportTaskOsuExportOsuApiKeyArgs( - api_key_id=var["access_key_id"], - secret_key=var["secret_key_id"], - )], - )], - tags=[outscale.SnapshotExportTaskTagArgs( - key="Name", - value="terraform-snapshot-export-task", - )]) - ``` - - :param str resource_name: The name of the resource. - :param SnapshotExportTaskArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(SnapshotExportTaskArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - osu_exports: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SnapshotExportTaskOsuExportArgs']]]]] = None, - snapshot_id: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SnapshotExportTaskTagArgs']]]]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = SnapshotExportTaskArgs.__new__(SnapshotExportTaskArgs) - - if osu_exports is None and not opts.urn: - raise TypeError("Missing required property 'osu_exports'") - __props__.__dict__["osu_exports"] = osu_exports - if snapshot_id is None and not opts.urn: - raise TypeError("Missing required property 'snapshot_id'") - __props__.__dict__["snapshot_id"] = snapshot_id - __props__.__dict__["tags"] = tags - __props__.__dict__["comment"] = None - __props__.__dict__["progress"] = None - __props__.__dict__["request_id"] = None - __props__.__dict__["state"] = None - __props__.__dict__["task_id"] = None - super(SnapshotExportTask, __self__).__init__( - 'outscale:index/snapshotExportTask:SnapshotExportTask', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - comment: Optional[pulumi.Input[str]] = None, - osu_exports: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SnapshotExportTaskOsuExportArgs']]]]] = None, - progress: Optional[pulumi.Input[int]] = None, - request_id: Optional[pulumi.Input[str]] = None, - snapshot_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SnapshotExportTaskTagArgs']]]]] = None, - task_id: Optional[pulumi.Input[str]] = None) -> 'SnapshotExportTask': - """ - Get an existing SnapshotExportTask resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] comment: If the snapshot export task fails, an error message appears. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SnapshotExportTaskOsuExportArgs']]]] osu_exports: Information about the OOS export task to create. - :param pulumi.Input[int] progress: The progress of the snapshot export task, as a percentage. - :param pulumi.Input[str] snapshot_id: The ID of the snapshot to export. - :param pulumi.Input[str] state: The state of the snapshot export task (`pending` \\| `active` \\| `completed` \\| `failed`). - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SnapshotExportTaskTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - :param pulumi.Input[str] task_id: The ID of the snapshot export task. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _SnapshotExportTaskState.__new__(_SnapshotExportTaskState) - - __props__.__dict__["comment"] = comment - __props__.__dict__["osu_exports"] = osu_exports - __props__.__dict__["progress"] = progress - __props__.__dict__["request_id"] = request_id - __props__.__dict__["snapshot_id"] = snapshot_id - __props__.__dict__["state"] = state - __props__.__dict__["tags"] = tags - __props__.__dict__["task_id"] = task_id - return SnapshotExportTask(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter - def comment(self) -> pulumi.Output[str]: - """ - If the snapshot export task fails, an error message appears. - """ - return pulumi.get(self, "comment") - - @property - @pulumi.getter(name="osuExports") - def osu_exports(self) -> pulumi.Output[Sequence['outputs.SnapshotExportTaskOsuExport']]: - """ - Information about the OOS export task to create. - """ - return pulumi.get(self, "osu_exports") - - @property - @pulumi.getter - def progress(self) -> pulumi.Output[int]: - """ - The progress of the snapshot export task, as a percentage. - """ - return pulumi.get(self, "progress") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="snapshotId") - def snapshot_id(self) -> pulumi.Output[str]: - """ - The ID of the snapshot to export. - """ - return pulumi.get(self, "snapshot_id") - - @property - @pulumi.getter - def state(self) -> pulumi.Output[str]: - """ - The state of the snapshot export task (`pending` \\| `active` \\| `completed` \\| `failed`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Sequence['outputs.SnapshotExportTaskTag']]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter(name="taskId") - def task_id(self) -> pulumi.Output[str]: - """ - The ID of the snapshot export task. - """ - return pulumi.get(self, "task_id") - diff --git a/sdk/python/pulumi_outscale/subnet.py b/sdk/python/pulumi_outscale/subnet.py deleted file mode 100644 index 10e65dd..0000000 --- a/sdk/python/pulumi_outscale/subnet.py +++ /dev/null @@ -1,510 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['SubnetArgs', 'Subnet'] - -@pulumi.input_type -class SubnetArgs: - def __init__(__self__, *, - ip_range: pulumi.Input[str], - net_id: pulumi.Input[str], - map_public_ip_on_launch: Optional[pulumi.Input[bool]] = None, - subregion_name: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['SubnetTagArgs']]]] = None): - """ - The set of arguments for constructing a Subnet resource. - :param pulumi.Input[str] ip_range: The IP range in the Subnet, in CIDR notation (for example, `10.0.0.0/16`).
- The IP range of the Subnet can be either the same as the Net one if you create only a single Subnet in this Net, or a subset of the Net one. In case of several Subnets in a Net, their IP ranges must not overlap. The smallest Subnet you can create uses a /29 netmask (eight IPs). For more information, see [About VPCs](https://docs.outscale.com/en/userguide/About-VPCs.html). - :param pulumi.Input[str] net_id: The ID of the Net for which you want to create a Subnet. - :param pulumi.Input[bool] map_public_ip_on_launch: If true, a public IP is assigned to the network interface cards (NICs) created in the specified Subnet. - :param pulumi.Input[str] subregion_name: The name of the Subregion in which you want to create the Subnet. - :param pulumi.Input[Sequence[pulumi.Input['SubnetTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - """ - pulumi.set(__self__, "ip_range", ip_range) - pulumi.set(__self__, "net_id", net_id) - if map_public_ip_on_launch is not None: - pulumi.set(__self__, "map_public_ip_on_launch", map_public_ip_on_launch) - if subregion_name is not None: - pulumi.set(__self__, "subregion_name", subregion_name) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="ipRange") - def ip_range(self) -> pulumi.Input[str]: - """ - The IP range in the Subnet, in CIDR notation (for example, `10.0.0.0/16`).
- The IP range of the Subnet can be either the same as the Net one if you create only a single Subnet in this Net, or a subset of the Net one. In case of several Subnets in a Net, their IP ranges must not overlap. The smallest Subnet you can create uses a /29 netmask (eight IPs). For more information, see [About VPCs](https://docs.outscale.com/en/userguide/About-VPCs.html). - """ - return pulumi.get(self, "ip_range") - - @ip_range.setter - def ip_range(self, value: pulumi.Input[str]): - pulumi.set(self, "ip_range", value) - - @property - @pulumi.getter(name="netId") - def net_id(self) -> pulumi.Input[str]: - """ - The ID of the Net for which you want to create a Subnet. - """ - return pulumi.get(self, "net_id") - - @net_id.setter - def net_id(self, value: pulumi.Input[str]): - pulumi.set(self, "net_id", value) - - @property - @pulumi.getter(name="mapPublicIpOnLaunch") - def map_public_ip_on_launch(self) -> Optional[pulumi.Input[bool]]: - """ - If true, a public IP is assigned to the network interface cards (NICs) created in the specified Subnet. - """ - return pulumi.get(self, "map_public_ip_on_launch") - - @map_public_ip_on_launch.setter - def map_public_ip_on_launch(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "map_public_ip_on_launch", value) - - @property - @pulumi.getter(name="subregionName") - def subregion_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the Subregion in which you want to create the Subnet. - """ - return pulumi.get(self, "subregion_name") - - @subregion_name.setter - def subregion_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "subregion_name", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SubnetTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SubnetTagArgs']]]]): - pulumi.set(self, "tags", value) - - -@pulumi.input_type -class _SubnetState: - def __init__(__self__, *, - available_ips_count: Optional[pulumi.Input[int]] = None, - ip_range: Optional[pulumi.Input[str]] = None, - map_public_ip_on_launch: Optional[pulumi.Input[bool]] = None, - net_id: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - subnet_id: Optional[pulumi.Input[str]] = None, - subregion_name: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['SubnetTagArgs']]]] = None): - """ - Input properties used for looking up and filtering Subnet resources. - :param pulumi.Input[int] available_ips_count: The number of available IPs in the Subnets. - :param pulumi.Input[str] ip_range: The IP range in the Subnet, in CIDR notation (for example, `10.0.0.0/16`).
- The IP range of the Subnet can be either the same as the Net one if you create only a single Subnet in this Net, or a subset of the Net one. In case of several Subnets in a Net, their IP ranges must not overlap. The smallest Subnet you can create uses a /29 netmask (eight IPs). For more information, see [About VPCs](https://docs.outscale.com/en/userguide/About-VPCs.html). - :param pulumi.Input[bool] map_public_ip_on_launch: If true, a public IP is assigned to the network interface cards (NICs) created in the specified Subnet. - :param pulumi.Input[str] net_id: The ID of the Net for which you want to create a Subnet. - :param pulumi.Input[str] state: The state of the Subnet (`pending` \\| `available` \\| `deleted`). - :param pulumi.Input[str] subnet_id: The ID of the Subnet. - :param pulumi.Input[str] subregion_name: The name of the Subregion in which you want to create the Subnet. - :param pulumi.Input[Sequence[pulumi.Input['SubnetTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - """ - if available_ips_count is not None: - pulumi.set(__self__, "available_ips_count", available_ips_count) - if ip_range is not None: - pulumi.set(__self__, "ip_range", ip_range) - if map_public_ip_on_launch is not None: - pulumi.set(__self__, "map_public_ip_on_launch", map_public_ip_on_launch) - if net_id is not None: - pulumi.set(__self__, "net_id", net_id) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if state is not None: - pulumi.set(__self__, "state", state) - if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) - if subregion_name is not None: - pulumi.set(__self__, "subregion_name", subregion_name) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="availableIpsCount") - def available_ips_count(self) -> Optional[pulumi.Input[int]]: - """ - The number of available IPs in the Subnets. - """ - return pulumi.get(self, "available_ips_count") - - @available_ips_count.setter - def available_ips_count(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "available_ips_count", value) - - @property - @pulumi.getter(name="ipRange") - def ip_range(self) -> Optional[pulumi.Input[str]]: - """ - The IP range in the Subnet, in CIDR notation (for example, `10.0.0.0/16`).
- The IP range of the Subnet can be either the same as the Net one if you create only a single Subnet in this Net, or a subset of the Net one. In case of several Subnets in a Net, their IP ranges must not overlap. The smallest Subnet you can create uses a /29 netmask (eight IPs). For more information, see [About VPCs](https://docs.outscale.com/en/userguide/About-VPCs.html). - """ - return pulumi.get(self, "ip_range") - - @ip_range.setter - def ip_range(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ip_range", value) - - @property - @pulumi.getter(name="mapPublicIpOnLaunch") - def map_public_ip_on_launch(self) -> Optional[pulumi.Input[bool]]: - """ - If true, a public IP is assigned to the network interface cards (NICs) created in the specified Subnet. - """ - return pulumi.get(self, "map_public_ip_on_launch") - - @map_public_ip_on_launch.setter - def map_public_ip_on_launch(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "map_public_ip_on_launch", value) - - @property - @pulumi.getter(name="netId") - def net_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Net for which you want to create a Subnet. - """ - return pulumi.get(self, "net_id") - - @net_id.setter - def net_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "net_id", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - The state of the Subnet (`pending` \\| `available` \\| `deleted`). - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Subnet. - """ - return pulumi.get(self, "subnet_id") - - @subnet_id.setter - def subnet_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "subnet_id", value) - - @property - @pulumi.getter(name="subregionName") - def subregion_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the Subregion in which you want to create the Subnet. - """ - return pulumi.get(self, "subregion_name") - - @subregion_name.setter - def subregion_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "subregion_name", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SubnetTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SubnetTagArgs']]]]): - pulumi.set(self, "tags", value) - - -class Subnet(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - ip_range: Optional[pulumi.Input[str]] = None, - map_public_ip_on_launch: Optional[pulumi.Input[bool]] = None, - net_id: Optional[pulumi.Input[str]] = None, - subregion_name: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SubnetTagArgs']]]]] = None, - __props__=None): - """ - Manages a Subnet. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPCs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-subnet). - - ## Example Usage - ### Required resource - - ```python - import pulumi - import pulumi_outscale as outscale - - net01 = outscale.Net("net01", ip_range="10.0.0.0/16") - ``` - ### Create a subnet - - ```python - import pulumi - import pulumi_outscale as outscale - - subnet01 = outscale.Subnet("subnet01", - net_id=outscale_net["net01"]["net_id"], - ip_range="10.0.0.0/18") - ``` - - ## Import - - A subnet can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/subnet:Subnet ImportedSubnet subnet-12345678 - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] ip_range: The IP range in the Subnet, in CIDR notation (for example, `10.0.0.0/16`).
- The IP range of the Subnet can be either the same as the Net one if you create only a single Subnet in this Net, or a subset of the Net one. In case of several Subnets in a Net, their IP ranges must not overlap. The smallest Subnet you can create uses a /29 netmask (eight IPs). For more information, see [About VPCs](https://docs.outscale.com/en/userguide/About-VPCs.html). - :param pulumi.Input[bool] map_public_ip_on_launch: If true, a public IP is assigned to the network interface cards (NICs) created in the specified Subnet. - :param pulumi.Input[str] net_id: The ID of the Net for which you want to create a Subnet. - :param pulumi.Input[str] subregion_name: The name of the Subregion in which you want to create the Subnet. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SubnetTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: SubnetArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages a Subnet. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPCs.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-subnet). - - ## Example Usage - ### Required resource - - ```python - import pulumi - import pulumi_outscale as outscale - - net01 = outscale.Net("net01", ip_range="10.0.0.0/16") - ``` - ### Create a subnet - - ```python - import pulumi - import pulumi_outscale as outscale - - subnet01 = outscale.Subnet("subnet01", - net_id=outscale_net["net01"]["net_id"], - ip_range="10.0.0.0/18") - ``` - - ## Import - - A subnet can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/subnet:Subnet ImportedSubnet subnet-12345678 - ``` - - :param str resource_name: The name of the resource. - :param SubnetArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(SubnetArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - ip_range: Optional[pulumi.Input[str]] = None, - map_public_ip_on_launch: Optional[pulumi.Input[bool]] = None, - net_id: Optional[pulumi.Input[str]] = None, - subregion_name: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SubnetTagArgs']]]]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = SubnetArgs.__new__(SubnetArgs) - - if ip_range is None and not opts.urn: - raise TypeError("Missing required property 'ip_range'") - __props__.__dict__["ip_range"] = ip_range - __props__.__dict__["map_public_ip_on_launch"] = map_public_ip_on_launch - if net_id is None and not opts.urn: - raise TypeError("Missing required property 'net_id'") - __props__.__dict__["net_id"] = net_id - __props__.__dict__["subregion_name"] = subregion_name - __props__.__dict__["tags"] = tags - __props__.__dict__["available_ips_count"] = None - __props__.__dict__["request_id"] = None - __props__.__dict__["state"] = None - __props__.__dict__["subnet_id"] = None - super(Subnet, __self__).__init__( - 'outscale:index/subnet:Subnet', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - available_ips_count: Optional[pulumi.Input[int]] = None, - ip_range: Optional[pulumi.Input[str]] = None, - map_public_ip_on_launch: Optional[pulumi.Input[bool]] = None, - net_id: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - subnet_id: Optional[pulumi.Input[str]] = None, - subregion_name: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SubnetTagArgs']]]]] = None) -> 'Subnet': - """ - Get an existing Subnet resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[int] available_ips_count: The number of available IPs in the Subnets. - :param pulumi.Input[str] ip_range: The IP range in the Subnet, in CIDR notation (for example, `10.0.0.0/16`).
- The IP range of the Subnet can be either the same as the Net one if you create only a single Subnet in this Net, or a subset of the Net one. In case of several Subnets in a Net, their IP ranges must not overlap. The smallest Subnet you can create uses a /29 netmask (eight IPs). For more information, see [About VPCs](https://docs.outscale.com/en/userguide/About-VPCs.html). - :param pulumi.Input[bool] map_public_ip_on_launch: If true, a public IP is assigned to the network interface cards (NICs) created in the specified Subnet. - :param pulumi.Input[str] net_id: The ID of the Net for which you want to create a Subnet. - :param pulumi.Input[str] state: The state of the Subnet (`pending` \\| `available` \\| `deleted`). - :param pulumi.Input[str] subnet_id: The ID of the Subnet. - :param pulumi.Input[str] subregion_name: The name of the Subregion in which you want to create the Subnet. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SubnetTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _SubnetState.__new__(_SubnetState) - - __props__.__dict__["available_ips_count"] = available_ips_count - __props__.__dict__["ip_range"] = ip_range - __props__.__dict__["map_public_ip_on_launch"] = map_public_ip_on_launch - __props__.__dict__["net_id"] = net_id - __props__.__dict__["request_id"] = request_id - __props__.__dict__["state"] = state - __props__.__dict__["subnet_id"] = subnet_id - __props__.__dict__["subregion_name"] = subregion_name - __props__.__dict__["tags"] = tags - return Subnet(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="availableIpsCount") - def available_ips_count(self) -> pulumi.Output[int]: - """ - The number of available IPs in the Subnets. - """ - return pulumi.get(self, "available_ips_count") - - @property - @pulumi.getter(name="ipRange") - def ip_range(self) -> pulumi.Output[str]: - """ - The IP range in the Subnet, in CIDR notation (for example, `10.0.0.0/16`).
- The IP range of the Subnet can be either the same as the Net one if you create only a single Subnet in this Net, or a subset of the Net one. In case of several Subnets in a Net, their IP ranges must not overlap. The smallest Subnet you can create uses a /29 netmask (eight IPs). For more information, see [About VPCs](https://docs.outscale.com/en/userguide/About-VPCs.html). - """ - return pulumi.get(self, "ip_range") - - @property - @pulumi.getter(name="mapPublicIpOnLaunch") - def map_public_ip_on_launch(self) -> pulumi.Output[Optional[bool]]: - """ - If true, a public IP is assigned to the network interface cards (NICs) created in the specified Subnet. - """ - return pulumi.get(self, "map_public_ip_on_launch") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> pulumi.Output[str]: - """ - The ID of the Net for which you want to create a Subnet. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def state(self) -> pulumi.Output[str]: - """ - The state of the Subnet (`pending` \\| `available` \\| `deleted`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> pulumi.Output[str]: - """ - The ID of the Subnet. - """ - return pulumi.get(self, "subnet_id") - - @property - @pulumi.getter(name="subregionName") - def subregion_name(self) -> pulumi.Output[str]: - """ - The name of the Subregion in which you want to create the Subnet. - """ - return pulumi.get(self, "subregion_name") - - @property - @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Sequence['outputs.SubnetTag']]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - diff --git a/sdk/python/pulumi_outscale/tag.py b/sdk/python/pulumi_outscale/tag.py deleted file mode 100644 index 6b4bb45..0000000 --- a/sdk/python/pulumi_outscale/tag.py +++ /dev/null @@ -1,206 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['TagArgs', 'Tag'] - -@pulumi.input_type -class TagArgs: - def __init__(__self__, *, - resource_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - tag: Optional[pulumi.Input[Sequence[pulumi.Input['TagTagArgs']]]] = None): - """ - The set of arguments for constructing a Tag resource. - """ - if resource_ids is not None: - pulumi.set(__self__, "resource_ids", resource_ids) - if tag is not None: - pulumi.set(__self__, "tag", tag) - - @property - @pulumi.getter(name="resourceIds") - def resource_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "resource_ids") - - @resource_ids.setter - def resource_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "resource_ids", value) - - @property - @pulumi.getter - def tag(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TagTagArgs']]]]: - return pulumi.get(self, "tag") - - @tag.setter - def tag(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TagTagArgs']]]]): - pulumi.set(self, "tag", value) - - -@pulumi.input_type -class _TagState: - def __init__(__self__, *, - request_id: Optional[pulumi.Input[str]] = None, - resource_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - tag: Optional[pulumi.Input[Sequence[pulumi.Input['TagTagArgs']]]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['TagTagArgs']]]] = None): - """ - Input properties used for looking up and filtering Tag resources. - """ - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if resource_ids is not None: - pulumi.set(__self__, "resource_ids", resource_ids) - if tag is not None: - pulumi.set(__self__, "tag", tag) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter(name="resourceIds") - def resource_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "resource_ids") - - @resource_ids.setter - def resource_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "resource_ids", value) - - @property - @pulumi.getter - def tag(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TagTagArgs']]]]: - return pulumi.get(self, "tag") - - @tag.setter - def tag(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TagTagArgs']]]]): - pulumi.set(self, "tag", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TagTagArgs']]]]: - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TagTagArgs']]]]): - pulumi.set(self, "tags", value) - - -class Tag(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - resource_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - tag: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TagTagArgs']]]]] = None, - __props__=None): - """ - Create a Tag resource with the given unique name, props, and options. - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: Optional[TagArgs] = None, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Create a Tag resource with the given unique name, props, and options. - :param str resource_name: The name of the resource. - :param TagArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(TagArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - resource_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - tag: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TagTagArgs']]]]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = TagArgs.__new__(TagArgs) - - __props__.__dict__["resource_ids"] = resource_ids - __props__.__dict__["tag"] = tag - __props__.__dict__["request_id"] = None - __props__.__dict__["tags"] = None - super(Tag, __self__).__init__( - 'outscale:index/tag:Tag', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - request_id: Optional[pulumi.Input[str]] = None, - resource_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - tag: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TagTagArgs']]]]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TagTagArgs']]]]] = None) -> 'Tag': - """ - Get an existing Tag resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _TagState.__new__(_TagState) - - __props__.__dict__["request_id"] = request_id - __props__.__dict__["resource_ids"] = resource_ids - __props__.__dict__["tag"] = tag - __props__.__dict__["tags"] = tags - return Tag(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="resourceIds") - def resource_ids(self) -> pulumi.Output[Optional[Sequence[str]]]: - return pulumi.get(self, "resource_ids") - - @property - @pulumi.getter - def tag(self) -> pulumi.Output[Optional[Sequence['outputs.TagTag']]]: - return pulumi.get(self, "tag") - - @property - @pulumi.getter - def tags(self) -> pulumi.Output[Sequence['outputs.TagTag']]: - return pulumi.get(self, "tags") - diff --git a/sdk/python/pulumi_outscale/virtual_gateway.py b/sdk/python/pulumi_outscale/virtual_gateway.py deleted file mode 100644 index 6f3aab7..0000000 --- a/sdk/python/pulumi_outscale/virtual_gateway.py +++ /dev/null @@ -1,420 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['VirtualGatewayArgs', 'VirtualGateway'] - -@pulumi.input_type -class VirtualGatewayArgs: - def __init__(__self__, *, - connection_type: pulumi.Input[str], - net_to_virtual_gateway_links: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualGatewayNetToVirtualGatewayLinkArgs']]]] = None, - request_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualGatewayTagArgs']]]] = None, - virtual_gateway_id: Optional[pulumi.Input[str]] = None): - """ - The set of arguments for constructing a VirtualGateway resource. - :param pulumi.Input[str] connection_type: The type of VPN connection supported by the virtual gateway (only `ipsec.1` is supported). - :param pulumi.Input[Sequence[pulumi.Input['VirtualGatewayNetToVirtualGatewayLinkArgs']]] net_to_virtual_gateway_links: The Net to which the virtual gateway is attached. - :param pulumi.Input[str] state: The state of the virtual gateway (`pending` \\| `available` \\| `deleting` \\| `deleted`). - :param pulumi.Input[Sequence[pulumi.Input['VirtualGatewayTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - :param pulumi.Input[str] virtual_gateway_id: The ID of the virtual gateway. - """ - pulumi.set(__self__, "connection_type", connection_type) - if net_to_virtual_gateway_links is not None: - pulumi.set(__self__, "net_to_virtual_gateway_links", net_to_virtual_gateway_links) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if state is not None: - pulumi.set(__self__, "state", state) - if tags is not None: - pulumi.set(__self__, "tags", tags) - if virtual_gateway_id is not None: - pulumi.set(__self__, "virtual_gateway_id", virtual_gateway_id) - - @property - @pulumi.getter(name="connectionType") - def connection_type(self) -> pulumi.Input[str]: - """ - The type of VPN connection supported by the virtual gateway (only `ipsec.1` is supported). - """ - return pulumi.get(self, "connection_type") - - @connection_type.setter - def connection_type(self, value: pulumi.Input[str]): - pulumi.set(self, "connection_type", value) - - @property - @pulumi.getter(name="netToVirtualGatewayLinks") - def net_to_virtual_gateway_links(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VirtualGatewayNetToVirtualGatewayLinkArgs']]]]: - """ - The Net to which the virtual gateway is attached. - """ - return pulumi.get(self, "net_to_virtual_gateway_links") - - @net_to_virtual_gateway_links.setter - def net_to_virtual_gateway_links(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualGatewayNetToVirtualGatewayLinkArgs']]]]): - pulumi.set(self, "net_to_virtual_gateway_links", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - The state of the virtual gateway (`pending` \\| `available` \\| `deleting` \\| `deleted`). - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VirtualGatewayTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualGatewayTagArgs']]]]): - pulumi.set(self, "tags", value) - - @property - @pulumi.getter(name="virtualGatewayId") - def virtual_gateway_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the virtual gateway. - """ - return pulumi.get(self, "virtual_gateway_id") - - @virtual_gateway_id.setter - def virtual_gateway_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "virtual_gateway_id", value) - - -@pulumi.input_type -class _VirtualGatewayState: - def __init__(__self__, *, - connection_type: Optional[pulumi.Input[str]] = None, - net_to_virtual_gateway_links: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualGatewayNetToVirtualGatewayLinkArgs']]]] = None, - request_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualGatewayTagArgs']]]] = None, - virtual_gateway_id: Optional[pulumi.Input[str]] = None): - """ - Input properties used for looking up and filtering VirtualGateway resources. - :param pulumi.Input[str] connection_type: The type of VPN connection supported by the virtual gateway (only `ipsec.1` is supported). - :param pulumi.Input[Sequence[pulumi.Input['VirtualGatewayNetToVirtualGatewayLinkArgs']]] net_to_virtual_gateway_links: The Net to which the virtual gateway is attached. - :param pulumi.Input[str] state: The state of the virtual gateway (`pending` \\| `available` \\| `deleting` \\| `deleted`). - :param pulumi.Input[Sequence[pulumi.Input['VirtualGatewayTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - :param pulumi.Input[str] virtual_gateway_id: The ID of the virtual gateway. - """ - if connection_type is not None: - pulumi.set(__self__, "connection_type", connection_type) - if net_to_virtual_gateway_links is not None: - pulumi.set(__self__, "net_to_virtual_gateway_links", net_to_virtual_gateway_links) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if state is not None: - pulumi.set(__self__, "state", state) - if tags is not None: - pulumi.set(__self__, "tags", tags) - if virtual_gateway_id is not None: - pulumi.set(__self__, "virtual_gateway_id", virtual_gateway_id) - - @property - @pulumi.getter(name="connectionType") - def connection_type(self) -> Optional[pulumi.Input[str]]: - """ - The type of VPN connection supported by the virtual gateway (only `ipsec.1` is supported). - """ - return pulumi.get(self, "connection_type") - - @connection_type.setter - def connection_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "connection_type", value) - - @property - @pulumi.getter(name="netToVirtualGatewayLinks") - def net_to_virtual_gateway_links(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VirtualGatewayNetToVirtualGatewayLinkArgs']]]]: - """ - The Net to which the virtual gateway is attached. - """ - return pulumi.get(self, "net_to_virtual_gateway_links") - - @net_to_virtual_gateway_links.setter - def net_to_virtual_gateway_links(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualGatewayNetToVirtualGatewayLinkArgs']]]]): - pulumi.set(self, "net_to_virtual_gateway_links", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - The state of the virtual gateway (`pending` \\| `available` \\| `deleting` \\| `deleted`). - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VirtualGatewayTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualGatewayTagArgs']]]]): - pulumi.set(self, "tags", value) - - @property - @pulumi.getter(name="virtualGatewayId") - def virtual_gateway_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the virtual gateway. - """ - return pulumi.get(self, "virtual_gateway_id") - - @virtual_gateway_id.setter - def virtual_gateway_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "virtual_gateway_id", value) - - -class VirtualGateway(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - connection_type: Optional[pulumi.Input[str]] = None, - net_to_virtual_gateway_links: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VirtualGatewayNetToVirtualGatewayLinkArgs']]]]] = None, - request_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VirtualGatewayTagArgs']]]]] = None, - virtual_gateway_id: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - Manages a virtual gateway. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Virtual-Private-Gateways.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-virtualgateway). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - virtual_gateway01 = outscale.VirtualGateway("virtualGateway01", - connection_type="ipsec.1", - tags=[outscale.VirtualGatewayTagArgs( - key="name", - value="terraform-virtual-gateway", - )]) - ``` - - ## Import - - A virtual gateway can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/virtualGateway:VirtualGateway ImportedVirtualGateway vgw-12345678 - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] connection_type: The type of VPN connection supported by the virtual gateway (only `ipsec.1` is supported). - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VirtualGatewayNetToVirtualGatewayLinkArgs']]]] net_to_virtual_gateway_links: The Net to which the virtual gateway is attached. - :param pulumi.Input[str] state: The state of the virtual gateway (`pending` \\| `available` \\| `deleting` \\| `deleted`). - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VirtualGatewayTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - :param pulumi.Input[str] virtual_gateway_id: The ID of the virtual gateway. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: VirtualGatewayArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages a virtual gateway. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Virtual-Private-Gateways.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-virtualgateway). - - ## Example Usage - - ```python - import pulumi - import pulumi_outscale as outscale - - virtual_gateway01 = outscale.VirtualGateway("virtualGateway01", - connection_type="ipsec.1", - tags=[outscale.VirtualGatewayTagArgs( - key="name", - value="terraform-virtual-gateway", - )]) - ``` - - ## Import - - A virtual gateway can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/virtualGateway:VirtualGateway ImportedVirtualGateway vgw-12345678 - ``` - - :param str resource_name: The name of the resource. - :param VirtualGatewayArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(VirtualGatewayArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - connection_type: Optional[pulumi.Input[str]] = None, - net_to_virtual_gateway_links: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VirtualGatewayNetToVirtualGatewayLinkArgs']]]]] = None, - request_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VirtualGatewayTagArgs']]]]] = None, - virtual_gateway_id: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = VirtualGatewayArgs.__new__(VirtualGatewayArgs) - - if connection_type is None and not opts.urn: - raise TypeError("Missing required property 'connection_type'") - __props__.__dict__["connection_type"] = connection_type - __props__.__dict__["net_to_virtual_gateway_links"] = net_to_virtual_gateway_links - __props__.__dict__["request_id"] = request_id - __props__.__dict__["state"] = state - __props__.__dict__["tags"] = tags - __props__.__dict__["virtual_gateway_id"] = virtual_gateway_id - super(VirtualGateway, __self__).__init__( - 'outscale:index/virtualGateway:VirtualGateway', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - connection_type: Optional[pulumi.Input[str]] = None, - net_to_virtual_gateway_links: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VirtualGatewayNetToVirtualGatewayLinkArgs']]]]] = None, - request_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VirtualGatewayTagArgs']]]]] = None, - virtual_gateway_id: Optional[pulumi.Input[str]] = None) -> 'VirtualGateway': - """ - Get an existing VirtualGateway resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] connection_type: The type of VPN connection supported by the virtual gateway (only `ipsec.1` is supported). - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VirtualGatewayNetToVirtualGatewayLinkArgs']]]] net_to_virtual_gateway_links: The Net to which the virtual gateway is attached. - :param pulumi.Input[str] state: The state of the virtual gateway (`pending` \\| `available` \\| `deleting` \\| `deleted`). - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VirtualGatewayTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - :param pulumi.Input[str] virtual_gateway_id: The ID of the virtual gateway. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _VirtualGatewayState.__new__(_VirtualGatewayState) - - __props__.__dict__["connection_type"] = connection_type - __props__.__dict__["net_to_virtual_gateway_links"] = net_to_virtual_gateway_links - __props__.__dict__["request_id"] = request_id - __props__.__dict__["state"] = state - __props__.__dict__["tags"] = tags - __props__.__dict__["virtual_gateway_id"] = virtual_gateway_id - return VirtualGateway(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="connectionType") - def connection_type(self) -> pulumi.Output[str]: - """ - The type of VPN connection supported by the virtual gateway (only `ipsec.1` is supported). - """ - return pulumi.get(self, "connection_type") - - @property - @pulumi.getter(name="netToVirtualGatewayLinks") - def net_to_virtual_gateway_links(self) -> pulumi.Output[Sequence['outputs.VirtualGatewayNetToVirtualGatewayLink']]: - """ - The Net to which the virtual gateway is attached. - """ - return pulumi.get(self, "net_to_virtual_gateway_links") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def state(self) -> pulumi.Output[str]: - """ - The state of the virtual gateway (`pending` \\| `available` \\| `deleting` \\| `deleted`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Sequence['outputs.VirtualGatewayTag']]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter(name="virtualGatewayId") - def virtual_gateway_id(self) -> pulumi.Output[str]: - """ - The ID of the virtual gateway. - """ - return pulumi.get(self, "virtual_gateway_id") - diff --git a/sdk/python/pulumi_outscale/virtual_gateway_link.py b/sdk/python/pulumi_outscale/virtual_gateway_link.py deleted file mode 100644 index 83c0568..0000000 --- a/sdk/python/pulumi_outscale/virtual_gateway_link.py +++ /dev/null @@ -1,334 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['VirtualGatewayLinkArgs', 'VirtualGatewayLink'] - -@pulumi.input_type -class VirtualGatewayLinkArgs: - def __init__(__self__, *, - net_id: pulumi.Input[str], - virtual_gateway_id: pulumi.Input[str], - dry_run: Optional[pulumi.Input[str]] = None): - """ - The set of arguments for constructing a VirtualGatewayLink resource. - :param pulumi.Input[str] net_id: The ID of the Net to which you want to attach the virtual gateway. - :param pulumi.Input[str] virtual_gateway_id: The ID of the virtual gateway. - """ - pulumi.set(__self__, "net_id", net_id) - pulumi.set(__self__, "virtual_gateway_id", virtual_gateway_id) - if dry_run is not None: - pulumi.set(__self__, "dry_run", dry_run) - - @property - @pulumi.getter(name="netId") - def net_id(self) -> pulumi.Input[str]: - """ - The ID of the Net to which you want to attach the virtual gateway. - """ - return pulumi.get(self, "net_id") - - @net_id.setter - def net_id(self, value: pulumi.Input[str]): - pulumi.set(self, "net_id", value) - - @property - @pulumi.getter(name="virtualGatewayId") - def virtual_gateway_id(self) -> pulumi.Input[str]: - """ - The ID of the virtual gateway. - """ - return pulumi.get(self, "virtual_gateway_id") - - @virtual_gateway_id.setter - def virtual_gateway_id(self, value: pulumi.Input[str]): - pulumi.set(self, "virtual_gateway_id", value) - - @property - @pulumi.getter(name="dryRun") - def dry_run(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "dry_run") - - @dry_run.setter - def dry_run(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "dry_run", value) - - -@pulumi.input_type -class _VirtualGatewayLinkState: - def __init__(__self__, *, - dry_run: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None, - net_to_virtual_gateway_links: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualGatewayLinkNetToVirtualGatewayLinkArgs']]]] = None, - request_id: Optional[pulumi.Input[str]] = None, - virtual_gateway_id: Optional[pulumi.Input[str]] = None): - """ - Input properties used for looking up and filtering VirtualGatewayLink resources. - :param pulumi.Input[str] net_id: The ID of the Net to which you want to attach the virtual gateway. - :param pulumi.Input[str] virtual_gateway_id: The ID of the virtual gateway. - """ - if dry_run is not None: - pulumi.set(__self__, "dry_run", dry_run) - if net_id is not None: - pulumi.set(__self__, "net_id", net_id) - if net_to_virtual_gateway_links is not None: - pulumi.set(__self__, "net_to_virtual_gateway_links", net_to_virtual_gateway_links) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if virtual_gateway_id is not None: - pulumi.set(__self__, "virtual_gateway_id", virtual_gateway_id) - - @property - @pulumi.getter(name="dryRun") - def dry_run(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "dry_run") - - @dry_run.setter - def dry_run(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "dry_run", value) - - @property - @pulumi.getter(name="netId") - def net_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Net to which you want to attach the virtual gateway. - """ - return pulumi.get(self, "net_id") - - @net_id.setter - def net_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "net_id", value) - - @property - @pulumi.getter(name="netToVirtualGatewayLinks") - def net_to_virtual_gateway_links(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VirtualGatewayLinkNetToVirtualGatewayLinkArgs']]]]: - return pulumi.get(self, "net_to_virtual_gateway_links") - - @net_to_virtual_gateway_links.setter - def net_to_virtual_gateway_links(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualGatewayLinkNetToVirtualGatewayLinkArgs']]]]): - pulumi.set(self, "net_to_virtual_gateway_links", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter(name="virtualGatewayId") - def virtual_gateway_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the virtual gateway. - """ - return pulumi.get(self, "virtual_gateway_id") - - @virtual_gateway_id.setter - def virtual_gateway_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "virtual_gateway_id", value) - - -class VirtualGatewayLink(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - dry_run: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None, - virtual_gateway_id: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - Manages a virtual gateway link. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Virtual-Private-Gateways.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-virtualgateway). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - virtual_gateway01 = outscale.VirtualGateway("virtualGateway01", connection_type="ipsec.1") - net01 = outscale.Net("net01", ip_range="10.0.0.0/16") - ``` - ### Link a virtual gateway to a Net - - ```python - import pulumi - import pulumi_outscale as outscale - - virtual_gateway_link01 = outscale.VirtualGatewayLink("virtualGatewayLink01", - virtual_gateway_id=outscale_virtual_gateway["virtual_gateway01"]["virtual_gateway_id"], - net_id=outscale_net["net01"]["net_id"]) - ``` - - ## Import - - A virtual gateway link can be imported using its virtual gateway ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/virtualGatewayLink:VirtualGatewayLink ImportedVirtualGatewayLink vgw-12345678 - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] net_id: The ID of the Net to which you want to attach the virtual gateway. - :param pulumi.Input[str] virtual_gateway_id: The ID of the virtual gateway. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: VirtualGatewayLinkArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages a virtual gateway link. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Virtual-Private-Gateways.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-virtualgateway). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - virtual_gateway01 = outscale.VirtualGateway("virtualGateway01", connection_type="ipsec.1") - net01 = outscale.Net("net01", ip_range="10.0.0.0/16") - ``` - ### Link a virtual gateway to a Net - - ```python - import pulumi - import pulumi_outscale as outscale - - virtual_gateway_link01 = outscale.VirtualGatewayLink("virtualGatewayLink01", - virtual_gateway_id=outscale_virtual_gateway["virtual_gateway01"]["virtual_gateway_id"], - net_id=outscale_net["net01"]["net_id"]) - ``` - - ## Import - - A virtual gateway link can be imported using its virtual gateway ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/virtualGatewayLink:VirtualGatewayLink ImportedVirtualGatewayLink vgw-12345678 - ``` - - :param str resource_name: The name of the resource. - :param VirtualGatewayLinkArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(VirtualGatewayLinkArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - dry_run: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None, - virtual_gateway_id: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = VirtualGatewayLinkArgs.__new__(VirtualGatewayLinkArgs) - - __props__.__dict__["dry_run"] = dry_run - if net_id is None and not opts.urn: - raise TypeError("Missing required property 'net_id'") - __props__.__dict__["net_id"] = net_id - if virtual_gateway_id is None and not opts.urn: - raise TypeError("Missing required property 'virtual_gateway_id'") - __props__.__dict__["virtual_gateway_id"] = virtual_gateway_id - __props__.__dict__["net_to_virtual_gateway_links"] = None - __props__.__dict__["request_id"] = None - super(VirtualGatewayLink, __self__).__init__( - 'outscale:index/virtualGatewayLink:VirtualGatewayLink', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - dry_run: Optional[pulumi.Input[str]] = None, - net_id: Optional[pulumi.Input[str]] = None, - net_to_virtual_gateway_links: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VirtualGatewayLinkNetToVirtualGatewayLinkArgs']]]]] = None, - request_id: Optional[pulumi.Input[str]] = None, - virtual_gateway_id: Optional[pulumi.Input[str]] = None) -> 'VirtualGatewayLink': - """ - Get an existing VirtualGatewayLink resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] net_id: The ID of the Net to which you want to attach the virtual gateway. - :param pulumi.Input[str] virtual_gateway_id: The ID of the virtual gateway. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _VirtualGatewayLinkState.__new__(_VirtualGatewayLinkState) - - __props__.__dict__["dry_run"] = dry_run - __props__.__dict__["net_id"] = net_id - __props__.__dict__["net_to_virtual_gateway_links"] = net_to_virtual_gateway_links - __props__.__dict__["request_id"] = request_id - __props__.__dict__["virtual_gateway_id"] = virtual_gateway_id - return VirtualGatewayLink(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="dryRun") - def dry_run(self) -> pulumi.Output[str]: - return pulumi.get(self, "dry_run") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> pulumi.Output[str]: - """ - The ID of the Net to which you want to attach the virtual gateway. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter(name="netToVirtualGatewayLinks") - def net_to_virtual_gateway_links(self) -> pulumi.Output[Sequence['outputs.VirtualGatewayLinkNetToVirtualGatewayLink']]: - return pulumi.get(self, "net_to_virtual_gateway_links") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="virtualGatewayId") - def virtual_gateway_id(self) -> pulumi.Output[str]: - """ - The ID of the virtual gateway. - """ - return pulumi.get(self, "virtual_gateway_id") - diff --git a/sdk/python/pulumi_outscale/virtual_gateway_route_propagation.py b/sdk/python/pulumi_outscale/virtual_gateway_route_propagation.py deleted file mode 100644 index 95c5b79..0000000 --- a/sdk/python/pulumi_outscale/virtual_gateway_route_propagation.py +++ /dev/null @@ -1,322 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities - -__all__ = ['VirtualGatewayRoutePropagationArgs', 'VirtualGatewayRoutePropagation'] - -@pulumi.input_type -class VirtualGatewayRoutePropagationArgs: - def __init__(__self__, *, - enable: pulumi.Input[bool], - route_table_id: pulumi.Input[str], - virtual_gateway_id: pulumi.Input[str]): - """ - The set of arguments for constructing a VirtualGatewayRoutePropagation resource. - :param pulumi.Input[bool] enable: If true, a virtual gateway can propagate routes to a specified route table of a Net. If false, the propagation is disabled. - :param pulumi.Input[str] route_table_id: The ID of the route table. - :param pulumi.Input[str] virtual_gateway_id: The ID of the virtual gateway. - """ - pulumi.set(__self__, "enable", enable) - pulumi.set(__self__, "route_table_id", route_table_id) - pulumi.set(__self__, "virtual_gateway_id", virtual_gateway_id) - - @property - @pulumi.getter - def enable(self) -> pulumi.Input[bool]: - """ - If true, a virtual gateway can propagate routes to a specified route table of a Net. If false, the propagation is disabled. - """ - return pulumi.get(self, "enable") - - @enable.setter - def enable(self, value: pulumi.Input[bool]): - pulumi.set(self, "enable", value) - - @property - @pulumi.getter(name="routeTableId") - def route_table_id(self) -> pulumi.Input[str]: - """ - The ID of the route table. - """ - return pulumi.get(self, "route_table_id") - - @route_table_id.setter - def route_table_id(self, value: pulumi.Input[str]): - pulumi.set(self, "route_table_id", value) - - @property - @pulumi.getter(name="virtualGatewayId") - def virtual_gateway_id(self) -> pulumi.Input[str]: - """ - The ID of the virtual gateway. - """ - return pulumi.get(self, "virtual_gateway_id") - - @virtual_gateway_id.setter - def virtual_gateway_id(self, value: pulumi.Input[str]): - pulumi.set(self, "virtual_gateway_id", value) - - -@pulumi.input_type -class _VirtualGatewayRoutePropagationState: - def __init__(__self__, *, - enable: Optional[pulumi.Input[bool]] = None, - request_id: Optional[pulumi.Input[str]] = None, - route_table_id: Optional[pulumi.Input[str]] = None, - virtual_gateway_id: Optional[pulumi.Input[str]] = None): - """ - Input properties used for looking up and filtering VirtualGatewayRoutePropagation resources. - :param pulumi.Input[bool] enable: If true, a virtual gateway can propagate routes to a specified route table of a Net. If false, the propagation is disabled. - :param pulumi.Input[str] route_table_id: The ID of the route table. - :param pulumi.Input[str] virtual_gateway_id: The ID of the virtual gateway. - """ - if enable is not None: - pulumi.set(__self__, "enable", enable) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if route_table_id is not None: - pulumi.set(__self__, "route_table_id", route_table_id) - if virtual_gateway_id is not None: - pulumi.set(__self__, "virtual_gateway_id", virtual_gateway_id) - - @property - @pulumi.getter - def enable(self) -> Optional[pulumi.Input[bool]]: - """ - If true, a virtual gateway can propagate routes to a specified route table of a Net. If false, the propagation is disabled. - """ - return pulumi.get(self, "enable") - - @enable.setter - def enable(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enable", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter(name="routeTableId") - def route_table_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the route table. - """ - return pulumi.get(self, "route_table_id") - - @route_table_id.setter - def route_table_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "route_table_id", value) - - @property - @pulumi.getter(name="virtualGatewayId") - def virtual_gateway_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the virtual gateway. - """ - return pulumi.get(self, "virtual_gateway_id") - - @virtual_gateway_id.setter - def virtual_gateway_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "virtual_gateway_id", value) - - -class VirtualGatewayRoutePropagation(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - enable: Optional[pulumi.Input[bool]] = None, - route_table_id: Optional[pulumi.Input[str]] = None, - virtual_gateway_id: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - Manages a virtual gateway route propagation. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Routing-Configuration-for-VPN-Connections.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#updateroutepropagation). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - virtual_gateway01 = outscale.VirtualGateway("virtualGateway01", connection_type="ipsec.1") - net01 = outscale.Net("net01", ip_range="10.0.0.0/16") - route_table01 = outscale.RouteTable("routeTable01", net_id=net01.net_id) - virtual_gateway_link01 = outscale.VirtualGatewayLink("virtualGatewayLink01", - virtual_gateway_id=virtual_gateway01.virtual_gateway_id, - net_id=net01.net_id) - ``` - ### Activate the propagation of routes to a route table of a Net by a virtual gateway - - ```python - import pulumi - import pulumi_outscale as outscale - - virtual_gateway_route_propagation01 = outscale.VirtualGatewayRoutePropagation("virtualGatewayRoutePropagation01", - enable=True, - virtual_gateway_id=outscale_virtual_gateway["virtual_gateway01"]["virtual_gateway_id"], - route_table_id=outscale_route_table["route_table01"]["route_table_id"], - opts=pulumi.ResourceOptions(depends_on=[outscale_virtual_gateway_link["virtual_gateway_link01"]])) - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[bool] enable: If true, a virtual gateway can propagate routes to a specified route table of a Net. If false, the propagation is disabled. - :param pulumi.Input[str] route_table_id: The ID of the route table. - :param pulumi.Input[str] virtual_gateway_id: The ID of the virtual gateway. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: VirtualGatewayRoutePropagationArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages a virtual gateway route propagation. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Routing-Configuration-for-VPN-Connections.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#updateroutepropagation). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - virtual_gateway01 = outscale.VirtualGateway("virtualGateway01", connection_type="ipsec.1") - net01 = outscale.Net("net01", ip_range="10.0.0.0/16") - route_table01 = outscale.RouteTable("routeTable01", net_id=net01.net_id) - virtual_gateway_link01 = outscale.VirtualGatewayLink("virtualGatewayLink01", - virtual_gateway_id=virtual_gateway01.virtual_gateway_id, - net_id=net01.net_id) - ``` - ### Activate the propagation of routes to a route table of a Net by a virtual gateway - - ```python - import pulumi - import pulumi_outscale as outscale - - virtual_gateway_route_propagation01 = outscale.VirtualGatewayRoutePropagation("virtualGatewayRoutePropagation01", - enable=True, - virtual_gateway_id=outscale_virtual_gateway["virtual_gateway01"]["virtual_gateway_id"], - route_table_id=outscale_route_table["route_table01"]["route_table_id"], - opts=pulumi.ResourceOptions(depends_on=[outscale_virtual_gateway_link["virtual_gateway_link01"]])) - ``` - - :param str resource_name: The name of the resource. - :param VirtualGatewayRoutePropagationArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(VirtualGatewayRoutePropagationArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - enable: Optional[pulumi.Input[bool]] = None, - route_table_id: Optional[pulumi.Input[str]] = None, - virtual_gateway_id: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = VirtualGatewayRoutePropagationArgs.__new__(VirtualGatewayRoutePropagationArgs) - - if enable is None and not opts.urn: - raise TypeError("Missing required property 'enable'") - __props__.__dict__["enable"] = enable - if route_table_id is None and not opts.urn: - raise TypeError("Missing required property 'route_table_id'") - __props__.__dict__["route_table_id"] = route_table_id - if virtual_gateway_id is None and not opts.urn: - raise TypeError("Missing required property 'virtual_gateway_id'") - __props__.__dict__["virtual_gateway_id"] = virtual_gateway_id - __props__.__dict__["request_id"] = None - super(VirtualGatewayRoutePropagation, __self__).__init__( - 'outscale:index/virtualGatewayRoutePropagation:VirtualGatewayRoutePropagation', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - enable: Optional[pulumi.Input[bool]] = None, - request_id: Optional[pulumi.Input[str]] = None, - route_table_id: Optional[pulumi.Input[str]] = None, - virtual_gateway_id: Optional[pulumi.Input[str]] = None) -> 'VirtualGatewayRoutePropagation': - """ - Get an existing VirtualGatewayRoutePropagation resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[bool] enable: If true, a virtual gateway can propagate routes to a specified route table of a Net. If false, the propagation is disabled. - :param pulumi.Input[str] route_table_id: The ID of the route table. - :param pulumi.Input[str] virtual_gateway_id: The ID of the virtual gateway. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _VirtualGatewayRoutePropagationState.__new__(_VirtualGatewayRoutePropagationState) - - __props__.__dict__["enable"] = enable - __props__.__dict__["request_id"] = request_id - __props__.__dict__["route_table_id"] = route_table_id - __props__.__dict__["virtual_gateway_id"] = virtual_gateway_id - return VirtualGatewayRoutePropagation(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter - def enable(self) -> pulumi.Output[bool]: - """ - If true, a virtual gateway can propagate routes to a specified route table of a Net. If false, the propagation is disabled. - """ - return pulumi.get(self, "enable") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="routeTableId") - def route_table_id(self) -> pulumi.Output[str]: - """ - The ID of the route table. - """ - return pulumi.get(self, "route_table_id") - - @property - @pulumi.getter(name="virtualGatewayId") - def virtual_gateway_id(self) -> pulumi.Output[str]: - """ - The ID of the virtual gateway. - """ - return pulumi.get(self, "virtual_gateway_id") - diff --git a/sdk/python/pulumi_outscale/vm.py b/sdk/python/pulumi_outscale/vm.py deleted file mode 100644 index 4c5f4b6..0000000 --- a/sdk/python/pulumi_outscale/vm.py +++ /dev/null @@ -1,1971 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['VmArgs', 'Vm'] - -@pulumi.input_type -class VmArgs: - def __init__(__self__, *, - image_id: pulumi.Input[str], - block_device_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['VmBlockDeviceMappingArgs']]]] = None, - bsu_optimized: Optional[pulumi.Input[bool]] = None, - deletion_protection: Optional[pulumi.Input[bool]] = None, - get_admin_password: Optional[pulumi.Input[bool]] = None, - is_source_dest_checked: Optional[pulumi.Input[bool]] = None, - keypair_name: Optional[pulumi.Input[str]] = None, - nested_virtualization: Optional[pulumi.Input[bool]] = None, - nics: Optional[pulumi.Input[Sequence[pulumi.Input['VmNicArgs']]]] = None, - performance: Optional[pulumi.Input[str]] = None, - placement_subregion_name: Optional[pulumi.Input[str]] = None, - placement_tenancy: Optional[pulumi.Input[str]] = None, - primary_nics: Optional[pulumi.Input[Sequence[pulumi.Input['VmPrimaryNicArgs']]]] = None, - private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - security_group_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - state: Optional[pulumi.Input[str]] = None, - subnet_id: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['VmTagArgs']]]] = None, - user_data: Optional[pulumi.Input[str]] = None, - vm_id: Optional[pulumi.Input[str]] = None, - vm_initiated_shutdown_behavior: Optional[pulumi.Input[str]] = None, - vm_type: Optional[pulumi.Input[str]] = None): - """ - The set of arguments for constructing a Vm resource. - :param pulumi.Input[str] image_id: The ID of the OMI used to create the VM. You can find the list of OMIs by calling the [ReadImages](https://docs.outscale.com/api#readimages) method. - :param pulumi.Input[Sequence[pulumi.Input['VmBlockDeviceMappingArgs']]] block_device_mappings: One or more block device mappings. - :param pulumi.Input[bool] deletion_protection: If true, you cannot delete the VM unless you change this parameter back to false. - :param pulumi.Input[bool] get_admin_password: (Windows VM only) If true, waits for the administrator password of the VM to become available in order to retrieve the VM. The password is exported to the `admin_password` attribute. - :param pulumi.Input[bool] is_source_dest_checked: (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - :param pulumi.Input[str] keypair_name: The name of the keypair. - :param pulumi.Input[bool] nested_virtualization: (dedicated tenancy only) If true, nested virtualization is enabled. If false, it is disabled. - :param pulumi.Input[Sequence[pulumi.Input['VmNicArgs']]] nics: One or more NICs. If you specify this parameter, you must not specify the `subnet_id` and `subregion_name` parameters. To define a NIC as the primary network interface of the VM, use the `primary_nic` argument. - :param pulumi.Input[str] performance: The performance of the VM (`medium` | `high` | `highest`). Updating this parameter will trigger a stop/start of the VM. - :param pulumi.Input[str] placement_subregion_name: The name of the Subregion where the VM is placed. - :param pulumi.Input[str] placement_tenancy: The tenancy of the VM (`default` | `dedicated`). - :param pulumi.Input[Sequence[pulumi.Input['VmPrimaryNicArgs']]] primary_nics: The primary network interface of the VM. - :param pulumi.Input[Sequence[pulumi.Input[str]]] private_ips: One or more private IPs of the VM. - :param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: One or more IDs of security group for the VMs. - :param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_names: One or more names of security groups for the VMs. - :param pulumi.Input[str] state: The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - :param pulumi.Input[str] subnet_id: The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `nics` parameter. - :param pulumi.Input[Sequence[pulumi.Input['VmTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - :param pulumi.Input[str] user_data: Data or script used to add a specific configuration to the VM. It must be Base64-encoded, either directly or using the base64encode. Updating this parameter will trigger a stop/start of the VM. - :param pulumi.Input[str] vm_id: The ID of the VM. - :param pulumi.Input[str] vm_initiated_shutdown_behavior: The VM behavior when you stop it. By default or if set to `stop`, the VM stops. If set to `restart`, the VM stops then automatically restarts. If set to `terminate`, the VM stops and is terminated. - :param pulumi.Input[str] vm_type: The type of VM (`t2.small` by default). Updating this parameter will trigger a stop/start of the VM.
For more information, see [Instance Types](https://docs.outscale.com/en/userguide/Instance-Types.html). - """ - pulumi.set(__self__, "image_id", image_id) - if block_device_mappings is not None: - pulumi.set(__self__, "block_device_mappings", block_device_mappings) - if bsu_optimized is not None: - pulumi.set(__self__, "bsu_optimized", bsu_optimized) - if deletion_protection is not None: - pulumi.set(__self__, "deletion_protection", deletion_protection) - if get_admin_password is not None: - pulumi.set(__self__, "get_admin_password", get_admin_password) - if is_source_dest_checked is not None: - pulumi.set(__self__, "is_source_dest_checked", is_source_dest_checked) - if keypair_name is not None: - pulumi.set(__self__, "keypair_name", keypair_name) - if nested_virtualization is not None: - pulumi.set(__self__, "nested_virtualization", nested_virtualization) - if nics is not None: - pulumi.set(__self__, "nics", nics) - if performance is not None: - pulumi.set(__self__, "performance", performance) - if placement_subregion_name is not None: - pulumi.set(__self__, "placement_subregion_name", placement_subregion_name) - if placement_tenancy is not None: - pulumi.set(__self__, "placement_tenancy", placement_tenancy) - if primary_nics is not None: - pulumi.set(__self__, "primary_nics", primary_nics) - if private_ips is not None: - pulumi.set(__self__, "private_ips", private_ips) - if security_group_ids is not None: - pulumi.set(__self__, "security_group_ids", security_group_ids) - if security_group_names is not None: - pulumi.set(__self__, "security_group_names", security_group_names) - if state is not None: - pulumi.set(__self__, "state", state) - if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) - if tags is not None: - pulumi.set(__self__, "tags", tags) - if user_data is not None: - pulumi.set(__self__, "user_data", user_data) - if vm_id is not None: - pulumi.set(__self__, "vm_id", vm_id) - if vm_initiated_shutdown_behavior is not None: - pulumi.set(__self__, "vm_initiated_shutdown_behavior", vm_initiated_shutdown_behavior) - if vm_type is not None: - pulumi.set(__self__, "vm_type", vm_type) - - @property - @pulumi.getter(name="imageId") - def image_id(self) -> pulumi.Input[str]: - """ - The ID of the OMI used to create the VM. You can find the list of OMIs by calling the [ReadImages](https://docs.outscale.com/api#readimages) method. - """ - return pulumi.get(self, "image_id") - - @image_id.setter - def image_id(self, value: pulumi.Input[str]): - pulumi.set(self, "image_id", value) - - @property - @pulumi.getter(name="blockDeviceMappings") - def block_device_mappings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VmBlockDeviceMappingArgs']]]]: - """ - One or more block device mappings. - """ - return pulumi.get(self, "block_device_mappings") - - @block_device_mappings.setter - def block_device_mappings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VmBlockDeviceMappingArgs']]]]): - pulumi.set(self, "block_device_mappings", value) - - @property - @pulumi.getter(name="bsuOptimized") - def bsu_optimized(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "bsu_optimized") - - @bsu_optimized.setter - def bsu_optimized(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "bsu_optimized", value) - - @property - @pulumi.getter(name="deletionProtection") - def deletion_protection(self) -> Optional[pulumi.Input[bool]]: - """ - If true, you cannot delete the VM unless you change this parameter back to false. - """ - return pulumi.get(self, "deletion_protection") - - @deletion_protection.setter - def deletion_protection(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "deletion_protection", value) - - @property - @pulumi.getter(name="getAdminPassword") - def get_admin_password(self) -> Optional[pulumi.Input[bool]]: - """ - (Windows VM only) If true, waits for the administrator password of the VM to become available in order to retrieve the VM. The password is exported to the `admin_password` attribute. - """ - return pulumi.get(self, "get_admin_password") - - @get_admin_password.setter - def get_admin_password(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "get_admin_password", value) - - @property - @pulumi.getter(name="isSourceDestChecked") - def is_source_dest_checked(self) -> Optional[pulumi.Input[bool]]: - """ - (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - """ - return pulumi.get(self, "is_source_dest_checked") - - @is_source_dest_checked.setter - def is_source_dest_checked(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "is_source_dest_checked", value) - - @property - @pulumi.getter(name="keypairName") - def keypair_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the keypair. - """ - return pulumi.get(self, "keypair_name") - - @keypair_name.setter - def keypair_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "keypair_name", value) - - @property - @pulumi.getter(name="nestedVirtualization") - def nested_virtualization(self) -> Optional[pulumi.Input[bool]]: - """ - (dedicated tenancy only) If true, nested virtualization is enabled. If false, it is disabled. - """ - return pulumi.get(self, "nested_virtualization") - - @nested_virtualization.setter - def nested_virtualization(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "nested_virtualization", value) - - @property - @pulumi.getter - def nics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VmNicArgs']]]]: - """ - One or more NICs. If you specify this parameter, you must not specify the `subnet_id` and `subregion_name` parameters. To define a NIC as the primary network interface of the VM, use the `primary_nic` argument. - """ - return pulumi.get(self, "nics") - - @nics.setter - def nics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VmNicArgs']]]]): - pulumi.set(self, "nics", value) - - @property - @pulumi.getter - def performance(self) -> Optional[pulumi.Input[str]]: - """ - The performance of the VM (`medium` | `high` | `highest`). Updating this parameter will trigger a stop/start of the VM. - """ - return pulumi.get(self, "performance") - - @performance.setter - def performance(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "performance", value) - - @property - @pulumi.getter(name="placementSubregionName") - def placement_subregion_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the Subregion where the VM is placed. - """ - return pulumi.get(self, "placement_subregion_name") - - @placement_subregion_name.setter - def placement_subregion_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "placement_subregion_name", value) - - @property - @pulumi.getter(name="placementTenancy") - def placement_tenancy(self) -> Optional[pulumi.Input[str]]: - """ - The tenancy of the VM (`default` | `dedicated`). - """ - return pulumi.get(self, "placement_tenancy") - - @placement_tenancy.setter - def placement_tenancy(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "placement_tenancy", value) - - @property - @pulumi.getter(name="primaryNics") - def primary_nics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VmPrimaryNicArgs']]]]: - """ - The primary network interface of the VM. - """ - return pulumi.get(self, "primary_nics") - - @primary_nics.setter - def primary_nics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VmPrimaryNicArgs']]]]): - pulumi.set(self, "primary_nics", value) - - @property - @pulumi.getter(name="privateIps") - def private_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - One or more private IPs of the VM. - """ - return pulumi.get(self, "private_ips") - - @private_ips.setter - def private_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "private_ips", value) - - @property - @pulumi.getter(name="securityGroupIds") - def security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - One or more IDs of security group for the VMs. - """ - return pulumi.get(self, "security_group_ids") - - @security_group_ids.setter - def security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "security_group_ids", value) - - @property - @pulumi.getter(name="securityGroupNames") - def security_group_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - One or more names of security groups for the VMs. - """ - return pulumi.get(self, "security_group_names") - - @security_group_names.setter - def security_group_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "security_group_names", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `nics` parameter. - """ - return pulumi.get(self, "subnet_id") - - @subnet_id.setter - def subnet_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "subnet_id", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VmTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VmTagArgs']]]]): - pulumi.set(self, "tags", value) - - @property - @pulumi.getter(name="userData") - def user_data(self) -> Optional[pulumi.Input[str]]: - """ - Data or script used to add a specific configuration to the VM. It must be Base64-encoded, either directly or using the base64encode. Updating this parameter will trigger a stop/start of the VM. - """ - return pulumi.get(self, "user_data") - - @user_data.setter - def user_data(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "user_data", value) - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the VM. - """ - return pulumi.get(self, "vm_id") - - @vm_id.setter - def vm_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "vm_id", value) - - @property - @pulumi.getter(name="vmInitiatedShutdownBehavior") - def vm_initiated_shutdown_behavior(self) -> Optional[pulumi.Input[str]]: - """ - The VM behavior when you stop it. By default or if set to `stop`, the VM stops. If set to `restart`, the VM stops then automatically restarts. If set to `terminate`, the VM stops and is terminated. - """ - return pulumi.get(self, "vm_initiated_shutdown_behavior") - - @vm_initiated_shutdown_behavior.setter - def vm_initiated_shutdown_behavior(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "vm_initiated_shutdown_behavior", value) - - @property - @pulumi.getter(name="vmType") - def vm_type(self) -> Optional[pulumi.Input[str]]: - """ - The type of VM (`t2.small` by default). Updating this parameter will trigger a stop/start of the VM.
For more information, see [Instance Types](https://docs.outscale.com/en/userguide/Instance-Types.html). - """ - return pulumi.get(self, "vm_type") - - @vm_type.setter - def vm_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "vm_type", value) - - -@pulumi.input_type -class _VmState: - def __init__(__self__, *, - admin_password: Optional[pulumi.Input[str]] = None, - architecture: Optional[pulumi.Input[str]] = None, - block_device_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['VmBlockDeviceMappingArgs']]]] = None, - block_device_mappings_createds: Optional[pulumi.Input[Sequence[pulumi.Input['VmBlockDeviceMappingsCreatedArgs']]]] = None, - bsu_optimized: Optional[pulumi.Input[bool]] = None, - client_token: Optional[pulumi.Input[str]] = None, - creation_date: Optional[pulumi.Input[str]] = None, - deletion_protection: Optional[pulumi.Input[bool]] = None, - get_admin_password: Optional[pulumi.Input[bool]] = None, - hypervisor: Optional[pulumi.Input[str]] = None, - image_id: Optional[pulumi.Input[str]] = None, - is_source_dest_checked: Optional[pulumi.Input[bool]] = None, - keypair_name: Optional[pulumi.Input[str]] = None, - launch_number: Optional[pulumi.Input[int]] = None, - nested_virtualization: Optional[pulumi.Input[bool]] = None, - net_id: Optional[pulumi.Input[str]] = None, - nics: Optional[pulumi.Input[Sequence[pulumi.Input['VmNicArgs']]]] = None, - os_family: Optional[pulumi.Input[str]] = None, - performance: Optional[pulumi.Input[str]] = None, - placement_subregion_name: Optional[pulumi.Input[str]] = None, - placement_tenancy: Optional[pulumi.Input[str]] = None, - primary_nics: Optional[pulumi.Input[Sequence[pulumi.Input['VmPrimaryNicArgs']]]] = None, - private_dns_name: Optional[pulumi.Input[str]] = None, - private_ip: Optional[pulumi.Input[str]] = None, - private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - product_codes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - public_dns_name: Optional[pulumi.Input[str]] = None, - public_ip: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - reservation_id: Optional[pulumi.Input[str]] = None, - root_device_name: Optional[pulumi.Input[str]] = None, - root_device_type: Optional[pulumi.Input[str]] = None, - security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - security_group_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - security_groups: Optional[pulumi.Input[Sequence[pulumi.Input['VmSecurityGroupArgs']]]] = None, - state: Optional[pulumi.Input[str]] = None, - state_reason: Optional[pulumi.Input[str]] = None, - subnet_id: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['VmTagArgs']]]] = None, - user_data: Optional[pulumi.Input[str]] = None, - vm_id: Optional[pulumi.Input[str]] = None, - vm_initiated_shutdown_behavior: Optional[pulumi.Input[str]] = None, - vm_type: Optional[pulumi.Input[str]] = None): - """ - Input properties used for looking up and filtering Vm resources. - :param pulumi.Input[str] architecture: The architecture of the VM (`i386` \\| `x86_64`). - :param pulumi.Input[Sequence[pulumi.Input['VmBlockDeviceMappingArgs']]] block_device_mappings: One or more block device mappings. - :param pulumi.Input[Sequence[pulumi.Input['VmBlockDeviceMappingsCreatedArgs']]] block_device_mappings_createds: The block device mapping of the VM. - :param pulumi.Input[str] client_token: A unique identifier which enables you to manage the idempotency. - :param pulumi.Input[str] creation_date: The date and time of creation of the VM. - :param pulumi.Input[bool] deletion_protection: If true, you cannot delete the VM unless you change this parameter back to false. - :param pulumi.Input[bool] get_admin_password: (Windows VM only) If true, waits for the administrator password of the VM to become available in order to retrieve the VM. The password is exported to the `admin_password` attribute. - :param pulumi.Input[str] hypervisor: The hypervisor type of the VMs (`ovm` \\| `xen`). - :param pulumi.Input[str] image_id: The ID of the OMI used to create the VM. You can find the list of OMIs by calling the [ReadImages](https://docs.outscale.com/api#readimages) method. - :param pulumi.Input[bool] is_source_dest_checked: (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - :param pulumi.Input[str] keypair_name: The name of the keypair. - :param pulumi.Input[int] launch_number: The number for the VM when launching a group of several VMs (for example, `0`, `1`, `2`, and so on). - :param pulumi.Input[bool] nested_virtualization: (dedicated tenancy only) If true, nested virtualization is enabled. If false, it is disabled. - :param pulumi.Input[str] net_id: The ID of the Net for the NIC. - :param pulumi.Input[Sequence[pulumi.Input['VmNicArgs']]] nics: One or more NICs. If you specify this parameter, you must not specify the `subnet_id` and `subregion_name` parameters. To define a NIC as the primary network interface of the VM, use the `primary_nic` argument. - :param pulumi.Input[str] os_family: Indicates the operating system (OS) of the VM. - :param pulumi.Input[str] performance: The performance of the VM (`medium` | `high` | `highest`). Updating this parameter will trigger a stop/start of the VM. - :param pulumi.Input[str] placement_subregion_name: The name of the Subregion where the VM is placed. - :param pulumi.Input[str] placement_tenancy: The tenancy of the VM (`default` | `dedicated`). - :param pulumi.Input[Sequence[pulumi.Input['VmPrimaryNicArgs']]] primary_nics: The primary network interface of the VM. - :param pulumi.Input[str] private_dns_name: The name of the private DNS. - :param pulumi.Input[str] private_ip: The private IP of the NIC. - :param pulumi.Input[Sequence[pulumi.Input[str]]] private_ips: One or more private IPs of the VM. - :param pulumi.Input[Sequence[pulumi.Input[str]]] product_codes: The product codes associated with the OMI used to create the VM. - :param pulumi.Input[str] public_dns_name: The name of the public DNS. - :param pulumi.Input[str] public_ip: The public IP of the VM. - :param pulumi.Input[str] reservation_id: The reservation ID of the VM. - :param pulumi.Input[str] root_device_name: The name of the root device for the VM (for example, `/dev/vda1`). - :param pulumi.Input[str] root_device_type: The type of root device used by the VM (always `bsu`). - :param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: One or more IDs of security group for the VMs. - :param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_names: One or more names of security groups for the VMs. - :param pulumi.Input[Sequence[pulumi.Input['VmSecurityGroupArgs']]] security_groups: One or more security groups associated with the VM. - :param pulumi.Input[str] state: The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - :param pulumi.Input[str] state_reason: The reason explaining the current state of the VM. - :param pulumi.Input[str] subnet_id: The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `nics` parameter. - :param pulumi.Input[Sequence[pulumi.Input['VmTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - :param pulumi.Input[str] user_data: Data or script used to add a specific configuration to the VM. It must be Base64-encoded, either directly or using the base64encode. Updating this parameter will trigger a stop/start of the VM. - :param pulumi.Input[str] vm_id: The ID of the VM. - :param pulumi.Input[str] vm_initiated_shutdown_behavior: The VM behavior when you stop it. By default or if set to `stop`, the VM stops. If set to `restart`, the VM stops then automatically restarts. If set to `terminate`, the VM stops and is terminated. - :param pulumi.Input[str] vm_type: The type of VM (`t2.small` by default). Updating this parameter will trigger a stop/start of the VM.
For more information, see [Instance Types](https://docs.outscale.com/en/userguide/Instance-Types.html). - """ - if admin_password is not None: - pulumi.set(__self__, "admin_password", admin_password) - if architecture is not None: - pulumi.set(__self__, "architecture", architecture) - if block_device_mappings is not None: - pulumi.set(__self__, "block_device_mappings", block_device_mappings) - if block_device_mappings_createds is not None: - pulumi.set(__self__, "block_device_mappings_createds", block_device_mappings_createds) - if bsu_optimized is not None: - pulumi.set(__self__, "bsu_optimized", bsu_optimized) - if client_token is not None: - pulumi.set(__self__, "client_token", client_token) - if creation_date is not None: - pulumi.set(__self__, "creation_date", creation_date) - if deletion_protection is not None: - pulumi.set(__self__, "deletion_protection", deletion_protection) - if get_admin_password is not None: - pulumi.set(__self__, "get_admin_password", get_admin_password) - if hypervisor is not None: - pulumi.set(__self__, "hypervisor", hypervisor) - if image_id is not None: - pulumi.set(__self__, "image_id", image_id) - if is_source_dest_checked is not None: - pulumi.set(__self__, "is_source_dest_checked", is_source_dest_checked) - if keypair_name is not None: - pulumi.set(__self__, "keypair_name", keypair_name) - if launch_number is not None: - pulumi.set(__self__, "launch_number", launch_number) - if nested_virtualization is not None: - pulumi.set(__self__, "nested_virtualization", nested_virtualization) - if net_id is not None: - pulumi.set(__self__, "net_id", net_id) - if nics is not None: - pulumi.set(__self__, "nics", nics) - if os_family is not None: - pulumi.set(__self__, "os_family", os_family) - if performance is not None: - pulumi.set(__self__, "performance", performance) - if placement_subregion_name is not None: - pulumi.set(__self__, "placement_subregion_name", placement_subregion_name) - if placement_tenancy is not None: - pulumi.set(__self__, "placement_tenancy", placement_tenancy) - if primary_nics is not None: - pulumi.set(__self__, "primary_nics", primary_nics) - if private_dns_name is not None: - pulumi.set(__self__, "private_dns_name", private_dns_name) - if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) - if private_ips is not None: - pulumi.set(__self__, "private_ips", private_ips) - if product_codes is not None: - pulumi.set(__self__, "product_codes", product_codes) - if public_dns_name is not None: - pulumi.set(__self__, "public_dns_name", public_dns_name) - if public_ip is not None: - pulumi.set(__self__, "public_ip", public_ip) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if reservation_id is not None: - pulumi.set(__self__, "reservation_id", reservation_id) - if root_device_name is not None: - pulumi.set(__self__, "root_device_name", root_device_name) - if root_device_type is not None: - pulumi.set(__self__, "root_device_type", root_device_type) - if security_group_ids is not None: - pulumi.set(__self__, "security_group_ids", security_group_ids) - if security_group_names is not None: - pulumi.set(__self__, "security_group_names", security_group_names) - if security_groups is not None: - pulumi.set(__self__, "security_groups", security_groups) - if state is not None: - pulumi.set(__self__, "state", state) - if state_reason is not None: - pulumi.set(__self__, "state_reason", state_reason) - if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) - if tags is not None: - pulumi.set(__self__, "tags", tags) - if user_data is not None: - pulumi.set(__self__, "user_data", user_data) - if vm_id is not None: - pulumi.set(__self__, "vm_id", vm_id) - if vm_initiated_shutdown_behavior is not None: - pulumi.set(__self__, "vm_initiated_shutdown_behavior", vm_initiated_shutdown_behavior) - if vm_type is not None: - pulumi.set(__self__, "vm_type", vm_type) - - @property - @pulumi.getter(name="adminPassword") - def admin_password(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "admin_password") - - @admin_password.setter - def admin_password(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "admin_password", value) - - @property - @pulumi.getter - def architecture(self) -> Optional[pulumi.Input[str]]: - """ - The architecture of the VM (`i386` \\| `x86_64`). - """ - return pulumi.get(self, "architecture") - - @architecture.setter - def architecture(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "architecture", value) - - @property - @pulumi.getter(name="blockDeviceMappings") - def block_device_mappings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VmBlockDeviceMappingArgs']]]]: - """ - One or more block device mappings. - """ - return pulumi.get(self, "block_device_mappings") - - @block_device_mappings.setter - def block_device_mappings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VmBlockDeviceMappingArgs']]]]): - pulumi.set(self, "block_device_mappings", value) - - @property - @pulumi.getter(name="blockDeviceMappingsCreateds") - def block_device_mappings_createds(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VmBlockDeviceMappingsCreatedArgs']]]]: - """ - The block device mapping of the VM. - """ - return pulumi.get(self, "block_device_mappings_createds") - - @block_device_mappings_createds.setter - def block_device_mappings_createds(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VmBlockDeviceMappingsCreatedArgs']]]]): - pulumi.set(self, "block_device_mappings_createds", value) - - @property - @pulumi.getter(name="bsuOptimized") - def bsu_optimized(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "bsu_optimized") - - @bsu_optimized.setter - def bsu_optimized(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "bsu_optimized", value) - - @property - @pulumi.getter(name="clientToken") - def client_token(self) -> Optional[pulumi.Input[str]]: - """ - A unique identifier which enables you to manage the idempotency. - """ - return pulumi.get(self, "client_token") - - @client_token.setter - def client_token(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "client_token", value) - - @property - @pulumi.getter(name="creationDate") - def creation_date(self) -> Optional[pulumi.Input[str]]: - """ - The date and time of creation of the VM. - """ - return pulumi.get(self, "creation_date") - - @creation_date.setter - def creation_date(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "creation_date", value) - - @property - @pulumi.getter(name="deletionProtection") - def deletion_protection(self) -> Optional[pulumi.Input[bool]]: - """ - If true, you cannot delete the VM unless you change this parameter back to false. - """ - return pulumi.get(self, "deletion_protection") - - @deletion_protection.setter - def deletion_protection(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "deletion_protection", value) - - @property - @pulumi.getter(name="getAdminPassword") - def get_admin_password(self) -> Optional[pulumi.Input[bool]]: - """ - (Windows VM only) If true, waits for the administrator password of the VM to become available in order to retrieve the VM. The password is exported to the `admin_password` attribute. - """ - return pulumi.get(self, "get_admin_password") - - @get_admin_password.setter - def get_admin_password(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "get_admin_password", value) - - @property - @pulumi.getter - def hypervisor(self) -> Optional[pulumi.Input[str]]: - """ - The hypervisor type of the VMs (`ovm` \\| `xen`). - """ - return pulumi.get(self, "hypervisor") - - @hypervisor.setter - def hypervisor(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "hypervisor", value) - - @property - @pulumi.getter(name="imageId") - def image_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the OMI used to create the VM. You can find the list of OMIs by calling the [ReadImages](https://docs.outscale.com/api#readimages) method. - """ - return pulumi.get(self, "image_id") - - @image_id.setter - def image_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "image_id", value) - - @property - @pulumi.getter(name="isSourceDestChecked") - def is_source_dest_checked(self) -> Optional[pulumi.Input[bool]]: - """ - (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - """ - return pulumi.get(self, "is_source_dest_checked") - - @is_source_dest_checked.setter - def is_source_dest_checked(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "is_source_dest_checked", value) - - @property - @pulumi.getter(name="keypairName") - def keypair_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the keypair. - """ - return pulumi.get(self, "keypair_name") - - @keypair_name.setter - def keypair_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "keypair_name", value) - - @property - @pulumi.getter(name="launchNumber") - def launch_number(self) -> Optional[pulumi.Input[int]]: - """ - The number for the VM when launching a group of several VMs (for example, `0`, `1`, `2`, and so on). - """ - return pulumi.get(self, "launch_number") - - @launch_number.setter - def launch_number(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "launch_number", value) - - @property - @pulumi.getter(name="nestedVirtualization") - def nested_virtualization(self) -> Optional[pulumi.Input[bool]]: - """ - (dedicated tenancy only) If true, nested virtualization is enabled. If false, it is disabled. - """ - return pulumi.get(self, "nested_virtualization") - - @nested_virtualization.setter - def nested_virtualization(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "nested_virtualization", value) - - @property - @pulumi.getter(name="netId") - def net_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Net for the NIC. - """ - return pulumi.get(self, "net_id") - - @net_id.setter - def net_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "net_id", value) - - @property - @pulumi.getter - def nics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VmNicArgs']]]]: - """ - One or more NICs. If you specify this parameter, you must not specify the `subnet_id` and `subregion_name` parameters. To define a NIC as the primary network interface of the VM, use the `primary_nic` argument. - """ - return pulumi.get(self, "nics") - - @nics.setter - def nics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VmNicArgs']]]]): - pulumi.set(self, "nics", value) - - @property - @pulumi.getter(name="osFamily") - def os_family(self) -> Optional[pulumi.Input[str]]: - """ - Indicates the operating system (OS) of the VM. - """ - return pulumi.get(self, "os_family") - - @os_family.setter - def os_family(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "os_family", value) - - @property - @pulumi.getter - def performance(self) -> Optional[pulumi.Input[str]]: - """ - The performance of the VM (`medium` | `high` | `highest`). Updating this parameter will trigger a stop/start of the VM. - """ - return pulumi.get(self, "performance") - - @performance.setter - def performance(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "performance", value) - - @property - @pulumi.getter(name="placementSubregionName") - def placement_subregion_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the Subregion where the VM is placed. - """ - return pulumi.get(self, "placement_subregion_name") - - @placement_subregion_name.setter - def placement_subregion_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "placement_subregion_name", value) - - @property - @pulumi.getter(name="placementTenancy") - def placement_tenancy(self) -> Optional[pulumi.Input[str]]: - """ - The tenancy of the VM (`default` | `dedicated`). - """ - return pulumi.get(self, "placement_tenancy") - - @placement_tenancy.setter - def placement_tenancy(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "placement_tenancy", value) - - @property - @pulumi.getter(name="primaryNics") - def primary_nics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VmPrimaryNicArgs']]]]: - """ - The primary network interface of the VM. - """ - return pulumi.get(self, "primary_nics") - - @primary_nics.setter - def primary_nics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VmPrimaryNicArgs']]]]): - pulumi.set(self, "primary_nics", value) - - @property - @pulumi.getter(name="privateDnsName") - def private_dns_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the private DNS. - """ - return pulumi.get(self, "private_dns_name") - - @private_dns_name.setter - def private_dns_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "private_dns_name", value) - - @property - @pulumi.getter(name="privateIp") - def private_ip(self) -> Optional[pulumi.Input[str]]: - """ - The private IP of the NIC. - """ - return pulumi.get(self, "private_ip") - - @private_ip.setter - def private_ip(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "private_ip", value) - - @property - @pulumi.getter(name="privateIps") - def private_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - One or more private IPs of the VM. - """ - return pulumi.get(self, "private_ips") - - @private_ips.setter - def private_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "private_ips", value) - - @property - @pulumi.getter(name="productCodes") - def product_codes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - The product codes associated with the OMI used to create the VM. - """ - return pulumi.get(self, "product_codes") - - @product_codes.setter - def product_codes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "product_codes", value) - - @property - @pulumi.getter(name="publicDnsName") - def public_dns_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the public DNS. - """ - return pulumi.get(self, "public_dns_name") - - @public_dns_name.setter - def public_dns_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_dns_name", value) - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> Optional[pulumi.Input[str]]: - """ - The public IP of the VM. - """ - return pulumi.get(self, "public_ip") - - @public_ip.setter - def public_ip(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_ip", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter(name="reservationId") - def reservation_id(self) -> Optional[pulumi.Input[str]]: - """ - The reservation ID of the VM. - """ - return pulumi.get(self, "reservation_id") - - @reservation_id.setter - def reservation_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "reservation_id", value) - - @property - @pulumi.getter(name="rootDeviceName") - def root_device_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the root device for the VM (for example, `/dev/vda1`). - """ - return pulumi.get(self, "root_device_name") - - @root_device_name.setter - def root_device_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "root_device_name", value) - - @property - @pulumi.getter(name="rootDeviceType") - def root_device_type(self) -> Optional[pulumi.Input[str]]: - """ - The type of root device used by the VM (always `bsu`). - """ - return pulumi.get(self, "root_device_type") - - @root_device_type.setter - def root_device_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "root_device_type", value) - - @property - @pulumi.getter(name="securityGroupIds") - def security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - One or more IDs of security group for the VMs. - """ - return pulumi.get(self, "security_group_ids") - - @security_group_ids.setter - def security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "security_group_ids", value) - - @property - @pulumi.getter(name="securityGroupNames") - def security_group_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - One or more names of security groups for the VMs. - """ - return pulumi.get(self, "security_group_names") - - @security_group_names.setter - def security_group_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "security_group_names", value) - - @property - @pulumi.getter(name="securityGroups") - def security_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VmSecurityGroupArgs']]]]: - """ - One or more security groups associated with the VM. - """ - return pulumi.get(self, "security_groups") - - @security_groups.setter - def security_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VmSecurityGroupArgs']]]]): - pulumi.set(self, "security_groups", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - @property - @pulumi.getter(name="stateReason") - def state_reason(self) -> Optional[pulumi.Input[str]]: - """ - The reason explaining the current state of the VM. - """ - return pulumi.get(self, "state_reason") - - @state_reason.setter - def state_reason(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state_reason", value) - - @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `nics` parameter. - """ - return pulumi.get(self, "subnet_id") - - @subnet_id.setter - def subnet_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "subnet_id", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VmTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VmTagArgs']]]]): - pulumi.set(self, "tags", value) - - @property - @pulumi.getter(name="userData") - def user_data(self) -> Optional[pulumi.Input[str]]: - """ - Data or script used to add a specific configuration to the VM. It must be Base64-encoded, either directly or using the base64encode. Updating this parameter will trigger a stop/start of the VM. - """ - return pulumi.get(self, "user_data") - - @user_data.setter - def user_data(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "user_data", value) - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the VM. - """ - return pulumi.get(self, "vm_id") - - @vm_id.setter - def vm_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "vm_id", value) - - @property - @pulumi.getter(name="vmInitiatedShutdownBehavior") - def vm_initiated_shutdown_behavior(self) -> Optional[pulumi.Input[str]]: - """ - The VM behavior when you stop it. By default or if set to `stop`, the VM stops. If set to `restart`, the VM stops then automatically restarts. If set to `terminate`, the VM stops and is terminated. - """ - return pulumi.get(self, "vm_initiated_shutdown_behavior") - - @vm_initiated_shutdown_behavior.setter - def vm_initiated_shutdown_behavior(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "vm_initiated_shutdown_behavior", value) - - @property - @pulumi.getter(name="vmType") - def vm_type(self) -> Optional[pulumi.Input[str]]: - """ - The type of VM (`t2.small` by default). Updating this parameter will trigger a stop/start of the VM.
For more information, see [Instance Types](https://docs.outscale.com/en/userguide/Instance-Types.html). - """ - return pulumi.get(self, "vm_type") - - @vm_type.setter - def vm_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "vm_type", value) - - -class Vm(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - block_device_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VmBlockDeviceMappingArgs']]]]] = None, - bsu_optimized: Optional[pulumi.Input[bool]] = None, - deletion_protection: Optional[pulumi.Input[bool]] = None, - get_admin_password: Optional[pulumi.Input[bool]] = None, - image_id: Optional[pulumi.Input[str]] = None, - is_source_dest_checked: Optional[pulumi.Input[bool]] = None, - keypair_name: Optional[pulumi.Input[str]] = None, - nested_virtualization: Optional[pulumi.Input[bool]] = None, - nics: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VmNicArgs']]]]] = None, - performance: Optional[pulumi.Input[str]] = None, - placement_subregion_name: Optional[pulumi.Input[str]] = None, - placement_tenancy: Optional[pulumi.Input[str]] = None, - primary_nics: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VmPrimaryNicArgs']]]]] = None, - private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - security_group_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - state: Optional[pulumi.Input[str]] = None, - subnet_id: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VmTagArgs']]]]] = None, - user_data: Optional[pulumi.Input[str]] = None, - vm_id: Optional[pulumi.Input[str]] = None, - vm_initiated_shutdown_behavior: Optional[pulumi.Input[str]] = None, - vm_type: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - Manages a virtual machine (VM). - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Instances.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-vm). - - ## Example Usage - ### Optional resource - - ```python - import pulumi - import pulumi_outscale as outscale - - keypair01 = outscale.Keypair("keypair01", keypair_name="terraform-keypair-for-vm") - ``` - ### Create a VM with block device mappings - - ```python - import pulumi - import pulumi_outscale as outscale - - vm02 = outscale.Vm("vm02", - image_id=var["image_id"], - vm_type=var["vm_type"], - keypair_name=var["keypair_name"], - block_device_mappings=[ - outscale.VmBlockDeviceMappingArgs( - device_name="/dev/sda1", - bsu=outscale.VmBlockDeviceMappingBsuArgs( - volume_size=15, - volume_type="gp2", - snapshot_id=var["snapshot_id"], - ), - ), - outscale.VmBlockDeviceMappingArgs( - device_name="/dev/sdb", - bsu=outscale.VmBlockDeviceMappingBsuArgs( - volume_size=22, - volume_type="io1", - iops=150, - delete_on_vm_deletion=True, - ), - ), - ]) - ``` - ### Create a VM in a Net with a network - - ```python - import pulumi - import pulumi_outscale as outscale - - net01 = outscale.Net("net01", - ip_range="10.0.0.0/16", - tags=[outscale.NetTagArgs( - key="name", - value="terraform-net-for-vm", - )]) - subnet01 = outscale.Subnet("subnet01", - net_id=net01.net_id, - ip_range="10.0.0.0/24", - subregion_name="eu-west-2b", - tags=[outscale.SubnetTagArgs( - key="name", - value="terraform-subnet-for-vm", - )]) - security_group01 = outscale.SecurityGroup("securityGroup01", - description="Terraform security group for VM", - security_group_name="terraform-security-group-for-vm", - net_id=net01.net_id) - internet_service01 = outscale.InternetService("internetService01") - route_table01 = outscale.RouteTable("routeTable01", - net_id=net01.net_id, - tags=[outscale.RouteTableTagArgs( - key="name", - value="terraform-route-table-for-vm", - )]) - route_table_link01 = outscale.RouteTableLink("routeTableLink01", - route_table_id=route_table01.route_table_id, - subnet_id=subnet01.subnet_id) - internet_service_link01 = outscale.InternetServiceLink("internetServiceLink01", - internet_service_id=internet_service01.internet_service_id, - net_id=net01.net_id) - route01 = outscale.Route("route01", - gateway_id=internet_service01.internet_service_id, - destination_ip_range="0.0.0.0/0", - route_table_id=route_table01.route_table_id) - vm03 = outscale.Vm("vm03", - image_id=var["image_id"], - vm_type=var["vm_type"], - keypair_name=var["keypair_name"], - security_group_ids=[security_group01.security_group_id], - subnet_id=subnet01.subnet_id) - ``` - ### Create a VM with a NIC - - ```python - import pulumi - import pulumi_outscale as outscale - - net02 = outscale.Net("net02", - ip_range="10.0.0.0/16", - tags=[outscale.NetTagArgs( - key="name", - value="terraform-net-for-vm-with-nic", - )]) - subnet02 = outscale.Subnet("subnet02", - net_id=net02.net_id, - ip_range="10.0.0.0/24", - subregion_name="eu-west-2a", - tags=[outscale.SubnetTagArgs( - key="name", - value="terraform-subnet-for-vm-with-nic", - )]) - nic01 = outscale.Nic("nic01", subnet_id=subnet02.subnet_id) - vm04 = outscale.Vm("vm04", - image_id=var["image_id"], - vm_type="c4.large", - keypair_name=var["keypair_name"], - primary_nics=[outscale.VmPrimaryNicArgs( - nic_id=nic01.nic_id, - device_number=0, - )]) - ``` - - ## Import - - A VM can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/vm:Vm ImportedVm i-12345678 - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VmBlockDeviceMappingArgs']]]] block_device_mappings: One or more block device mappings. - :param pulumi.Input[bool] deletion_protection: If true, you cannot delete the VM unless you change this parameter back to false. - :param pulumi.Input[bool] get_admin_password: (Windows VM only) If true, waits for the administrator password of the VM to become available in order to retrieve the VM. The password is exported to the `admin_password` attribute. - :param pulumi.Input[str] image_id: The ID of the OMI used to create the VM. You can find the list of OMIs by calling the [ReadImages](https://docs.outscale.com/api#readimages) method. - :param pulumi.Input[bool] is_source_dest_checked: (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - :param pulumi.Input[str] keypair_name: The name of the keypair. - :param pulumi.Input[bool] nested_virtualization: (dedicated tenancy only) If true, nested virtualization is enabled. If false, it is disabled. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VmNicArgs']]]] nics: One or more NICs. If you specify this parameter, you must not specify the `subnet_id` and `subregion_name` parameters. To define a NIC as the primary network interface of the VM, use the `primary_nic` argument. - :param pulumi.Input[str] performance: The performance of the VM (`medium` | `high` | `highest`). Updating this parameter will trigger a stop/start of the VM. - :param pulumi.Input[str] placement_subregion_name: The name of the Subregion where the VM is placed. - :param pulumi.Input[str] placement_tenancy: The tenancy of the VM (`default` | `dedicated`). - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VmPrimaryNicArgs']]]] primary_nics: The primary network interface of the VM. - :param pulumi.Input[Sequence[pulumi.Input[str]]] private_ips: One or more private IPs of the VM. - :param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: One or more IDs of security group for the VMs. - :param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_names: One or more names of security groups for the VMs. - :param pulumi.Input[str] state: The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - :param pulumi.Input[str] subnet_id: The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `nics` parameter. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VmTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - :param pulumi.Input[str] user_data: Data or script used to add a specific configuration to the VM. It must be Base64-encoded, either directly or using the base64encode. Updating this parameter will trigger a stop/start of the VM. - :param pulumi.Input[str] vm_id: The ID of the VM. - :param pulumi.Input[str] vm_initiated_shutdown_behavior: The VM behavior when you stop it. By default or if set to `stop`, the VM stops. If set to `restart`, the VM stops then automatically restarts. If set to `terminate`, the VM stops and is terminated. - :param pulumi.Input[str] vm_type: The type of VM (`t2.small` by default). Updating this parameter will trigger a stop/start of the VM.
For more information, see [Instance Types](https://docs.outscale.com/en/userguide/Instance-Types.html). - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: VmArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages a virtual machine (VM). - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Instances.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-vm). - - ## Example Usage - ### Optional resource - - ```python - import pulumi - import pulumi_outscale as outscale - - keypair01 = outscale.Keypair("keypair01", keypair_name="terraform-keypair-for-vm") - ``` - ### Create a VM with block device mappings - - ```python - import pulumi - import pulumi_outscale as outscale - - vm02 = outscale.Vm("vm02", - image_id=var["image_id"], - vm_type=var["vm_type"], - keypair_name=var["keypair_name"], - block_device_mappings=[ - outscale.VmBlockDeviceMappingArgs( - device_name="/dev/sda1", - bsu=outscale.VmBlockDeviceMappingBsuArgs( - volume_size=15, - volume_type="gp2", - snapshot_id=var["snapshot_id"], - ), - ), - outscale.VmBlockDeviceMappingArgs( - device_name="/dev/sdb", - bsu=outscale.VmBlockDeviceMappingBsuArgs( - volume_size=22, - volume_type="io1", - iops=150, - delete_on_vm_deletion=True, - ), - ), - ]) - ``` - ### Create a VM in a Net with a network - - ```python - import pulumi - import pulumi_outscale as outscale - - net01 = outscale.Net("net01", - ip_range="10.0.0.0/16", - tags=[outscale.NetTagArgs( - key="name", - value="terraform-net-for-vm", - )]) - subnet01 = outscale.Subnet("subnet01", - net_id=net01.net_id, - ip_range="10.0.0.0/24", - subregion_name="eu-west-2b", - tags=[outscale.SubnetTagArgs( - key="name", - value="terraform-subnet-for-vm", - )]) - security_group01 = outscale.SecurityGroup("securityGroup01", - description="Terraform security group for VM", - security_group_name="terraform-security-group-for-vm", - net_id=net01.net_id) - internet_service01 = outscale.InternetService("internetService01") - route_table01 = outscale.RouteTable("routeTable01", - net_id=net01.net_id, - tags=[outscale.RouteTableTagArgs( - key="name", - value="terraform-route-table-for-vm", - )]) - route_table_link01 = outscale.RouteTableLink("routeTableLink01", - route_table_id=route_table01.route_table_id, - subnet_id=subnet01.subnet_id) - internet_service_link01 = outscale.InternetServiceLink("internetServiceLink01", - internet_service_id=internet_service01.internet_service_id, - net_id=net01.net_id) - route01 = outscale.Route("route01", - gateway_id=internet_service01.internet_service_id, - destination_ip_range="0.0.0.0/0", - route_table_id=route_table01.route_table_id) - vm03 = outscale.Vm("vm03", - image_id=var["image_id"], - vm_type=var["vm_type"], - keypair_name=var["keypair_name"], - security_group_ids=[security_group01.security_group_id], - subnet_id=subnet01.subnet_id) - ``` - ### Create a VM with a NIC - - ```python - import pulumi - import pulumi_outscale as outscale - - net02 = outscale.Net("net02", - ip_range="10.0.0.0/16", - tags=[outscale.NetTagArgs( - key="name", - value="terraform-net-for-vm-with-nic", - )]) - subnet02 = outscale.Subnet("subnet02", - net_id=net02.net_id, - ip_range="10.0.0.0/24", - subregion_name="eu-west-2a", - tags=[outscale.SubnetTagArgs( - key="name", - value="terraform-subnet-for-vm-with-nic", - )]) - nic01 = outscale.Nic("nic01", subnet_id=subnet02.subnet_id) - vm04 = outscale.Vm("vm04", - image_id=var["image_id"], - vm_type="c4.large", - keypair_name=var["keypair_name"], - primary_nics=[outscale.VmPrimaryNicArgs( - nic_id=nic01.nic_id, - device_number=0, - )]) - ``` - - ## Import - - A VM can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/vm:Vm ImportedVm i-12345678 - ``` - - :param str resource_name: The name of the resource. - :param VmArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(VmArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - block_device_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VmBlockDeviceMappingArgs']]]]] = None, - bsu_optimized: Optional[pulumi.Input[bool]] = None, - deletion_protection: Optional[pulumi.Input[bool]] = None, - get_admin_password: Optional[pulumi.Input[bool]] = None, - image_id: Optional[pulumi.Input[str]] = None, - is_source_dest_checked: Optional[pulumi.Input[bool]] = None, - keypair_name: Optional[pulumi.Input[str]] = None, - nested_virtualization: Optional[pulumi.Input[bool]] = None, - nics: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VmNicArgs']]]]] = None, - performance: Optional[pulumi.Input[str]] = None, - placement_subregion_name: Optional[pulumi.Input[str]] = None, - placement_tenancy: Optional[pulumi.Input[str]] = None, - primary_nics: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VmPrimaryNicArgs']]]]] = None, - private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - security_group_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - state: Optional[pulumi.Input[str]] = None, - subnet_id: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VmTagArgs']]]]] = None, - user_data: Optional[pulumi.Input[str]] = None, - vm_id: Optional[pulumi.Input[str]] = None, - vm_initiated_shutdown_behavior: Optional[pulumi.Input[str]] = None, - vm_type: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = VmArgs.__new__(VmArgs) - - __props__.__dict__["block_device_mappings"] = block_device_mappings - __props__.__dict__["bsu_optimized"] = bsu_optimized - __props__.__dict__["deletion_protection"] = deletion_protection - __props__.__dict__["get_admin_password"] = get_admin_password - if image_id is None and not opts.urn: - raise TypeError("Missing required property 'image_id'") - __props__.__dict__["image_id"] = image_id - __props__.__dict__["is_source_dest_checked"] = is_source_dest_checked - __props__.__dict__["keypair_name"] = keypair_name - __props__.__dict__["nested_virtualization"] = nested_virtualization - __props__.__dict__["nics"] = nics - __props__.__dict__["performance"] = performance - __props__.__dict__["placement_subregion_name"] = placement_subregion_name - __props__.__dict__["placement_tenancy"] = placement_tenancy - __props__.__dict__["primary_nics"] = primary_nics - __props__.__dict__["private_ips"] = private_ips - __props__.__dict__["security_group_ids"] = security_group_ids - __props__.__dict__["security_group_names"] = security_group_names - __props__.__dict__["state"] = state - __props__.__dict__["subnet_id"] = subnet_id - __props__.__dict__["tags"] = tags - __props__.__dict__["user_data"] = user_data - __props__.__dict__["vm_id"] = vm_id - __props__.__dict__["vm_initiated_shutdown_behavior"] = vm_initiated_shutdown_behavior - __props__.__dict__["vm_type"] = vm_type - __props__.__dict__["admin_password"] = None - __props__.__dict__["architecture"] = None - __props__.__dict__["block_device_mappings_createds"] = None - __props__.__dict__["client_token"] = None - __props__.__dict__["creation_date"] = None - __props__.__dict__["hypervisor"] = None - __props__.__dict__["launch_number"] = None - __props__.__dict__["net_id"] = None - __props__.__dict__["os_family"] = None - __props__.__dict__["private_dns_name"] = None - __props__.__dict__["private_ip"] = None - __props__.__dict__["product_codes"] = None - __props__.__dict__["public_dns_name"] = None - __props__.__dict__["public_ip"] = None - __props__.__dict__["request_id"] = None - __props__.__dict__["reservation_id"] = None - __props__.__dict__["root_device_name"] = None - __props__.__dict__["root_device_type"] = None - __props__.__dict__["security_groups"] = None - __props__.__dict__["state_reason"] = None - super(Vm, __self__).__init__( - 'outscale:index/vm:Vm', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - admin_password: Optional[pulumi.Input[str]] = None, - architecture: Optional[pulumi.Input[str]] = None, - block_device_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VmBlockDeviceMappingArgs']]]]] = None, - block_device_mappings_createds: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VmBlockDeviceMappingsCreatedArgs']]]]] = None, - bsu_optimized: Optional[pulumi.Input[bool]] = None, - client_token: Optional[pulumi.Input[str]] = None, - creation_date: Optional[pulumi.Input[str]] = None, - deletion_protection: Optional[pulumi.Input[bool]] = None, - get_admin_password: Optional[pulumi.Input[bool]] = None, - hypervisor: Optional[pulumi.Input[str]] = None, - image_id: Optional[pulumi.Input[str]] = None, - is_source_dest_checked: Optional[pulumi.Input[bool]] = None, - keypair_name: Optional[pulumi.Input[str]] = None, - launch_number: Optional[pulumi.Input[int]] = None, - nested_virtualization: Optional[pulumi.Input[bool]] = None, - net_id: Optional[pulumi.Input[str]] = None, - nics: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VmNicArgs']]]]] = None, - os_family: Optional[pulumi.Input[str]] = None, - performance: Optional[pulumi.Input[str]] = None, - placement_subregion_name: Optional[pulumi.Input[str]] = None, - placement_tenancy: Optional[pulumi.Input[str]] = None, - primary_nics: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VmPrimaryNicArgs']]]]] = None, - private_dns_name: Optional[pulumi.Input[str]] = None, - private_ip: Optional[pulumi.Input[str]] = None, - private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - product_codes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - public_dns_name: Optional[pulumi.Input[str]] = None, - public_ip: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - reservation_id: Optional[pulumi.Input[str]] = None, - root_device_name: Optional[pulumi.Input[str]] = None, - root_device_type: Optional[pulumi.Input[str]] = None, - security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - security_group_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VmSecurityGroupArgs']]]]] = None, - state: Optional[pulumi.Input[str]] = None, - state_reason: Optional[pulumi.Input[str]] = None, - subnet_id: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VmTagArgs']]]]] = None, - user_data: Optional[pulumi.Input[str]] = None, - vm_id: Optional[pulumi.Input[str]] = None, - vm_initiated_shutdown_behavior: Optional[pulumi.Input[str]] = None, - vm_type: Optional[pulumi.Input[str]] = None) -> 'Vm': - """ - Get an existing Vm resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] architecture: The architecture of the VM (`i386` \\| `x86_64`). - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VmBlockDeviceMappingArgs']]]] block_device_mappings: One or more block device mappings. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VmBlockDeviceMappingsCreatedArgs']]]] block_device_mappings_createds: The block device mapping of the VM. - :param pulumi.Input[str] client_token: A unique identifier which enables you to manage the idempotency. - :param pulumi.Input[str] creation_date: The date and time of creation of the VM. - :param pulumi.Input[bool] deletion_protection: If true, you cannot delete the VM unless you change this parameter back to false. - :param pulumi.Input[bool] get_admin_password: (Windows VM only) If true, waits for the administrator password of the VM to become available in order to retrieve the VM. The password is exported to the `admin_password` attribute. - :param pulumi.Input[str] hypervisor: The hypervisor type of the VMs (`ovm` \\| `xen`). - :param pulumi.Input[str] image_id: The ID of the OMI used to create the VM. You can find the list of OMIs by calling the [ReadImages](https://docs.outscale.com/api#readimages) method. - :param pulumi.Input[bool] is_source_dest_checked: (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - :param pulumi.Input[str] keypair_name: The name of the keypair. - :param pulumi.Input[int] launch_number: The number for the VM when launching a group of several VMs (for example, `0`, `1`, `2`, and so on). - :param pulumi.Input[bool] nested_virtualization: (dedicated tenancy only) If true, nested virtualization is enabled. If false, it is disabled. - :param pulumi.Input[str] net_id: The ID of the Net for the NIC. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VmNicArgs']]]] nics: One or more NICs. If you specify this parameter, you must not specify the `subnet_id` and `subregion_name` parameters. To define a NIC as the primary network interface of the VM, use the `primary_nic` argument. - :param pulumi.Input[str] os_family: Indicates the operating system (OS) of the VM. - :param pulumi.Input[str] performance: The performance of the VM (`medium` | `high` | `highest`). Updating this parameter will trigger a stop/start of the VM. - :param pulumi.Input[str] placement_subregion_name: The name of the Subregion where the VM is placed. - :param pulumi.Input[str] placement_tenancy: The tenancy of the VM (`default` | `dedicated`). - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VmPrimaryNicArgs']]]] primary_nics: The primary network interface of the VM. - :param pulumi.Input[str] private_dns_name: The name of the private DNS. - :param pulumi.Input[str] private_ip: The private IP of the NIC. - :param pulumi.Input[Sequence[pulumi.Input[str]]] private_ips: One or more private IPs of the VM. - :param pulumi.Input[Sequence[pulumi.Input[str]]] product_codes: The product codes associated with the OMI used to create the VM. - :param pulumi.Input[str] public_dns_name: The name of the public DNS. - :param pulumi.Input[str] public_ip: The public IP of the VM. - :param pulumi.Input[str] reservation_id: The reservation ID of the VM. - :param pulumi.Input[str] root_device_name: The name of the root device for the VM (for example, `/dev/vda1`). - :param pulumi.Input[str] root_device_type: The type of root device used by the VM (always `bsu`). - :param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: One or more IDs of security group for the VMs. - :param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_names: One or more names of security groups for the VMs. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VmSecurityGroupArgs']]]] security_groups: One or more security groups associated with the VM. - :param pulumi.Input[str] state: The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - :param pulumi.Input[str] state_reason: The reason explaining the current state of the VM. - :param pulumi.Input[str] subnet_id: The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `nics` parameter. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VmTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - :param pulumi.Input[str] user_data: Data or script used to add a specific configuration to the VM. It must be Base64-encoded, either directly or using the base64encode. Updating this parameter will trigger a stop/start of the VM. - :param pulumi.Input[str] vm_id: The ID of the VM. - :param pulumi.Input[str] vm_initiated_shutdown_behavior: The VM behavior when you stop it. By default or if set to `stop`, the VM stops. If set to `restart`, the VM stops then automatically restarts. If set to `terminate`, the VM stops and is terminated. - :param pulumi.Input[str] vm_type: The type of VM (`t2.small` by default). Updating this parameter will trigger a stop/start of the VM.
For more information, see [Instance Types](https://docs.outscale.com/en/userguide/Instance-Types.html). - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _VmState.__new__(_VmState) - - __props__.__dict__["admin_password"] = admin_password - __props__.__dict__["architecture"] = architecture - __props__.__dict__["block_device_mappings"] = block_device_mappings - __props__.__dict__["block_device_mappings_createds"] = block_device_mappings_createds - __props__.__dict__["bsu_optimized"] = bsu_optimized - __props__.__dict__["client_token"] = client_token - __props__.__dict__["creation_date"] = creation_date - __props__.__dict__["deletion_protection"] = deletion_protection - __props__.__dict__["get_admin_password"] = get_admin_password - __props__.__dict__["hypervisor"] = hypervisor - __props__.__dict__["image_id"] = image_id - __props__.__dict__["is_source_dest_checked"] = is_source_dest_checked - __props__.__dict__["keypair_name"] = keypair_name - __props__.__dict__["launch_number"] = launch_number - __props__.__dict__["nested_virtualization"] = nested_virtualization - __props__.__dict__["net_id"] = net_id - __props__.__dict__["nics"] = nics - __props__.__dict__["os_family"] = os_family - __props__.__dict__["performance"] = performance - __props__.__dict__["placement_subregion_name"] = placement_subregion_name - __props__.__dict__["placement_tenancy"] = placement_tenancy - __props__.__dict__["primary_nics"] = primary_nics - __props__.__dict__["private_dns_name"] = private_dns_name - __props__.__dict__["private_ip"] = private_ip - __props__.__dict__["private_ips"] = private_ips - __props__.__dict__["product_codes"] = product_codes - __props__.__dict__["public_dns_name"] = public_dns_name - __props__.__dict__["public_ip"] = public_ip - __props__.__dict__["request_id"] = request_id - __props__.__dict__["reservation_id"] = reservation_id - __props__.__dict__["root_device_name"] = root_device_name - __props__.__dict__["root_device_type"] = root_device_type - __props__.__dict__["security_group_ids"] = security_group_ids - __props__.__dict__["security_group_names"] = security_group_names - __props__.__dict__["security_groups"] = security_groups - __props__.__dict__["state"] = state - __props__.__dict__["state_reason"] = state_reason - __props__.__dict__["subnet_id"] = subnet_id - __props__.__dict__["tags"] = tags - __props__.__dict__["user_data"] = user_data - __props__.__dict__["vm_id"] = vm_id - __props__.__dict__["vm_initiated_shutdown_behavior"] = vm_initiated_shutdown_behavior - __props__.__dict__["vm_type"] = vm_type - return Vm(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="adminPassword") - def admin_password(self) -> pulumi.Output[str]: - return pulumi.get(self, "admin_password") - - @property - @pulumi.getter - def architecture(self) -> pulumi.Output[str]: - """ - The architecture of the VM (`i386` \\| `x86_64`). - """ - return pulumi.get(self, "architecture") - - @property - @pulumi.getter(name="blockDeviceMappings") - def block_device_mappings(self) -> pulumi.Output[Optional[Sequence['outputs.VmBlockDeviceMapping']]]: - """ - One or more block device mappings. - """ - return pulumi.get(self, "block_device_mappings") - - @property - @pulumi.getter(name="blockDeviceMappingsCreateds") - def block_device_mappings_createds(self) -> pulumi.Output[Sequence['outputs.VmBlockDeviceMappingsCreated']]: - """ - The block device mapping of the VM. - """ - return pulumi.get(self, "block_device_mappings_createds") - - @property - @pulumi.getter(name="bsuOptimized") - def bsu_optimized(self) -> pulumi.Output[bool]: - return pulumi.get(self, "bsu_optimized") - - @property - @pulumi.getter(name="clientToken") - def client_token(self) -> pulumi.Output[str]: - """ - A unique identifier which enables you to manage the idempotency. - """ - return pulumi.get(self, "client_token") - - @property - @pulumi.getter(name="creationDate") - def creation_date(self) -> pulumi.Output[str]: - """ - The date and time of creation of the VM. - """ - return pulumi.get(self, "creation_date") - - @property - @pulumi.getter(name="deletionProtection") - def deletion_protection(self) -> pulumi.Output[bool]: - """ - If true, you cannot delete the VM unless you change this parameter back to false. - """ - return pulumi.get(self, "deletion_protection") - - @property - @pulumi.getter(name="getAdminPassword") - def get_admin_password(self) -> pulumi.Output[Optional[bool]]: - """ - (Windows VM only) If true, waits for the administrator password of the VM to become available in order to retrieve the VM. The password is exported to the `admin_password` attribute. - """ - return pulumi.get(self, "get_admin_password") - - @property - @pulumi.getter - def hypervisor(self) -> pulumi.Output[str]: - """ - The hypervisor type of the VMs (`ovm` \\| `xen`). - """ - return pulumi.get(self, "hypervisor") - - @property - @pulumi.getter(name="imageId") - def image_id(self) -> pulumi.Output[str]: - """ - The ID of the OMI used to create the VM. You can find the list of OMIs by calling the [ReadImages](https://docs.outscale.com/api#readimages) method. - """ - return pulumi.get(self, "image_id") - - @property - @pulumi.getter(name="isSourceDestChecked") - def is_source_dest_checked(self) -> pulumi.Output[bool]: - """ - (Net only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT VM to perform network address translation (NAT) in a Net. - """ - return pulumi.get(self, "is_source_dest_checked") - - @property - @pulumi.getter(name="keypairName") - def keypair_name(self) -> pulumi.Output[str]: - """ - The name of the keypair. - """ - return pulumi.get(self, "keypair_name") - - @property - @pulumi.getter(name="launchNumber") - def launch_number(self) -> pulumi.Output[int]: - """ - The number for the VM when launching a group of several VMs (for example, `0`, `1`, `2`, and so on). - """ - return pulumi.get(self, "launch_number") - - @property - @pulumi.getter(name="nestedVirtualization") - def nested_virtualization(self) -> pulumi.Output[Optional[bool]]: - """ - (dedicated tenancy only) If true, nested virtualization is enabled. If false, it is disabled. - """ - return pulumi.get(self, "nested_virtualization") - - @property - @pulumi.getter(name="netId") - def net_id(self) -> pulumi.Output[str]: - """ - The ID of the Net for the NIC. - """ - return pulumi.get(self, "net_id") - - @property - @pulumi.getter - def nics(self) -> pulumi.Output[Sequence['outputs.VmNic']]: - """ - One or more NICs. If you specify this parameter, you must not specify the `subnet_id` and `subregion_name` parameters. To define a NIC as the primary network interface of the VM, use the `primary_nic` argument. - """ - return pulumi.get(self, "nics") - - @property - @pulumi.getter(name="osFamily") - def os_family(self) -> pulumi.Output[str]: - """ - Indicates the operating system (OS) of the VM. - """ - return pulumi.get(self, "os_family") - - @property - @pulumi.getter - def performance(self) -> pulumi.Output[str]: - """ - The performance of the VM (`medium` | `high` | `highest`). Updating this parameter will trigger a stop/start of the VM. - """ - return pulumi.get(self, "performance") - - @property - @pulumi.getter(name="placementSubregionName") - def placement_subregion_name(self) -> pulumi.Output[str]: - """ - The name of the Subregion where the VM is placed. - """ - return pulumi.get(self, "placement_subregion_name") - - @property - @pulumi.getter(name="placementTenancy") - def placement_tenancy(self) -> pulumi.Output[str]: - """ - The tenancy of the VM (`default` | `dedicated`). - """ - return pulumi.get(self, "placement_tenancy") - - @property - @pulumi.getter(name="primaryNics") - def primary_nics(self) -> pulumi.Output[Sequence['outputs.VmPrimaryNic']]: - """ - The primary network interface of the VM. - """ - return pulumi.get(self, "primary_nics") - - @property - @pulumi.getter(name="privateDnsName") - def private_dns_name(self) -> pulumi.Output[str]: - """ - The name of the private DNS. - """ - return pulumi.get(self, "private_dns_name") - - @property - @pulumi.getter(name="privateIp") - def private_ip(self) -> pulumi.Output[str]: - """ - The private IP of the NIC. - """ - return pulumi.get(self, "private_ip") - - @property - @pulumi.getter(name="privateIps") - def private_ips(self) -> pulumi.Output[Optional[Sequence[str]]]: - """ - One or more private IPs of the VM. - """ - return pulumi.get(self, "private_ips") - - @property - @pulumi.getter(name="productCodes") - def product_codes(self) -> pulumi.Output[Sequence[str]]: - """ - The product codes associated with the OMI used to create the VM. - """ - return pulumi.get(self, "product_codes") - - @property - @pulumi.getter(name="publicDnsName") - def public_dns_name(self) -> pulumi.Output[str]: - """ - The name of the public DNS. - """ - return pulumi.get(self, "public_dns_name") - - @property - @pulumi.getter(name="publicIp") - def public_ip(self) -> pulumi.Output[str]: - """ - The public IP of the VM. - """ - return pulumi.get(self, "public_ip") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="reservationId") - def reservation_id(self) -> pulumi.Output[str]: - """ - The reservation ID of the VM. - """ - return pulumi.get(self, "reservation_id") - - @property - @pulumi.getter(name="rootDeviceName") - def root_device_name(self) -> pulumi.Output[str]: - """ - The name of the root device for the VM (for example, `/dev/vda1`). - """ - return pulumi.get(self, "root_device_name") - - @property - @pulumi.getter(name="rootDeviceType") - def root_device_type(self) -> pulumi.Output[str]: - """ - The type of root device used by the VM (always `bsu`). - """ - return pulumi.get(self, "root_device_type") - - @property - @pulumi.getter(name="securityGroupIds") - def security_group_ids(self) -> pulumi.Output[Optional[Sequence[str]]]: - """ - One or more IDs of security group for the VMs. - """ - return pulumi.get(self, "security_group_ids") - - @property - @pulumi.getter(name="securityGroupNames") - def security_group_names(self) -> pulumi.Output[Optional[Sequence[str]]]: - """ - One or more names of security groups for the VMs. - """ - return pulumi.get(self, "security_group_names") - - @property - @pulumi.getter(name="securityGroups") - def security_groups(self) -> pulumi.Output[Sequence['outputs.VmSecurityGroup']]: - """ - One or more security groups associated with the VM. - """ - return pulumi.get(self, "security_groups") - - @property - @pulumi.getter - def state(self) -> pulumi.Output[Optional[str]]: - """ - The state of the VM (`running` | `stopped`). If set to `stopped`, the VM is stopped regardless of the value of the `vm_initiated_shutdown_behavior` argument. - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="stateReason") - def state_reason(self) -> pulumi.Output[str]: - """ - The reason explaining the current state of the VM. - """ - return pulumi.get(self, "state_reason") - - @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> pulumi.Output[str]: - """ - The ID of the Subnet in which you want to create the VM. If you specify this parameter, you must not specify the `nics` parameter. - """ - return pulumi.get(self, "subnet_id") - - @property - @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Sequence['outputs.VmTag']]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter(name="userData") - def user_data(self) -> pulumi.Output[Optional[str]]: - """ - Data or script used to add a specific configuration to the VM. It must be Base64-encoded, either directly or using the base64encode. Updating this parameter will trigger a stop/start of the VM. - """ - return pulumi.get(self, "user_data") - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> pulumi.Output[str]: - """ - The ID of the VM. - """ - return pulumi.get(self, "vm_id") - - @property - @pulumi.getter(name="vmInitiatedShutdownBehavior") - def vm_initiated_shutdown_behavior(self) -> pulumi.Output[str]: - """ - The VM behavior when you stop it. By default or if set to `stop`, the VM stops. If set to `restart`, the VM stops then automatically restarts. If set to `terminate`, the VM stops and is terminated. - """ - return pulumi.get(self, "vm_initiated_shutdown_behavior") - - @property - @pulumi.getter(name="vmType") - def vm_type(self) -> pulumi.Output[str]: - """ - The type of VM (`t2.small` by default). Updating this parameter will trigger a stop/start of the VM.
For more information, see [Instance Types](https://docs.outscale.com/en/userguide/Instance-Types.html). - """ - return pulumi.get(self, "vm_type") - diff --git a/sdk/python/pulumi_outscale/volume.py b/sdk/python/pulumi_outscale/volume.py deleted file mode 100644 index 9f521eb..0000000 --- a/sdk/python/pulumi_outscale/volume.py +++ /dev/null @@ -1,641 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['VolumeArgs', 'Volume'] - -@pulumi.input_type -class VolumeArgs: - def __init__(__self__, *, - subregion_name: pulumi.Input[str], - iops: Optional[pulumi.Input[int]] = None, - size: Optional[pulumi.Input[int]] = None, - snapshot_id: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['VolumeTagArgs']]]] = None, - termination_snapshot_name: Optional[pulumi.Input[str]] = None, - volume_type: Optional[pulumi.Input[str]] = None): - """ - The set of arguments for constructing a Volume resource. - :param pulumi.Input[str] subregion_name: The Subregion in which you want to create the volume. - :param pulumi.Input[int] iops: The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - :param pulumi.Input[int] size: The size of the volume, in gibibytes (GiB). The maximum allowed size for a volume is 14901 GiB. This parameter is required if the volume is not created from a snapshot (`snapshot_id` unspecified). - :param pulumi.Input[str] snapshot_id: The ID of the snapshot from which you want to create the volume. - :param pulumi.Input[Sequence[pulumi.Input['VolumeTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - :param pulumi.Input[str] termination_snapshot_name: Whether you want to create a snapshot before the volume deletion. - :param pulumi.Input[str] volume_type: The type of volume you want to create (`io1` \\| `gp2` \\| `standard`). If not specified, a `standard` volume is created.
- For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - """ - pulumi.set(__self__, "subregion_name", subregion_name) - if iops is not None: - pulumi.set(__self__, "iops", iops) - if size is not None: - pulumi.set(__self__, "size", size) - if snapshot_id is not None: - pulumi.set(__self__, "snapshot_id", snapshot_id) - if tags is not None: - pulumi.set(__self__, "tags", tags) - if termination_snapshot_name is not None: - pulumi.set(__self__, "termination_snapshot_name", termination_snapshot_name) - if volume_type is not None: - pulumi.set(__self__, "volume_type", volume_type) - - @property - @pulumi.getter(name="subregionName") - def subregion_name(self) -> pulumi.Input[str]: - """ - The Subregion in which you want to create the volume. - """ - return pulumi.get(self, "subregion_name") - - @subregion_name.setter - def subregion_name(self, value: pulumi.Input[str]): - pulumi.set(self, "subregion_name", value) - - @property - @pulumi.getter - def iops(self) -> Optional[pulumi.Input[int]]: - """ - The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - """ - return pulumi.get(self, "iops") - - @iops.setter - def iops(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "iops", value) - - @property - @pulumi.getter - def size(self) -> Optional[pulumi.Input[int]]: - """ - The size of the volume, in gibibytes (GiB). The maximum allowed size for a volume is 14901 GiB. This parameter is required if the volume is not created from a snapshot (`snapshot_id` unspecified). - """ - return pulumi.get(self, "size") - - @size.setter - def size(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "size", value) - - @property - @pulumi.getter(name="snapshotId") - def snapshot_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the snapshot from which you want to create the volume. - """ - return pulumi.get(self, "snapshot_id") - - @snapshot_id.setter - def snapshot_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "snapshot_id", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VolumeTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VolumeTagArgs']]]]): - pulumi.set(self, "tags", value) - - @property - @pulumi.getter(name="terminationSnapshotName") - def termination_snapshot_name(self) -> Optional[pulumi.Input[str]]: - """ - Whether you want to create a snapshot before the volume deletion. - """ - return pulumi.get(self, "termination_snapshot_name") - - @termination_snapshot_name.setter - def termination_snapshot_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "termination_snapshot_name", value) - - @property - @pulumi.getter(name="volumeType") - def volume_type(self) -> Optional[pulumi.Input[str]]: - """ - The type of volume you want to create (`io1` \\| `gp2` \\| `standard`). If not specified, a `standard` volume is created.
- For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - """ - return pulumi.get(self, "volume_type") - - @volume_type.setter - def volume_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "volume_type", value) - - -@pulumi.input_type -class _VolumeState: - def __init__(__self__, *, - creation_date: Optional[pulumi.Input[str]] = None, - iops: Optional[pulumi.Input[int]] = None, - linked_volumes: Optional[pulumi.Input[Sequence[pulumi.Input['VolumeLinkedVolumeArgs']]]] = None, - request_id: Optional[pulumi.Input[str]] = None, - size: Optional[pulumi.Input[int]] = None, - snapshot_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - subregion_name: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['VolumeTagArgs']]]] = None, - termination_snapshot_name: Optional[pulumi.Input[str]] = None, - volume_id: Optional[pulumi.Input[str]] = None, - volume_type: Optional[pulumi.Input[str]] = None): - """ - Input properties used for looking up and filtering Volume resources. - :param pulumi.Input[str] creation_date: The date and time of creation of the volume. - :param pulumi.Input[int] iops: The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - :param pulumi.Input[Sequence[pulumi.Input['VolumeLinkedVolumeArgs']]] linked_volumes: Information about your volume attachment. - :param pulumi.Input[int] size: The size of the volume, in gibibytes (GiB). The maximum allowed size for a volume is 14901 GiB. This parameter is required if the volume is not created from a snapshot (`snapshot_id` unspecified). - :param pulumi.Input[str] snapshot_id: The ID of the snapshot from which you want to create the volume. - :param pulumi.Input[str] state: The state of the volume (`creating` \\| `available` \\| `in-use` \\| `updating` \\| `deleting` \\| `error`). - :param pulumi.Input[str] subregion_name: The Subregion in which you want to create the volume. - :param pulumi.Input[Sequence[pulumi.Input['VolumeTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - :param pulumi.Input[str] termination_snapshot_name: Whether you want to create a snapshot before the volume deletion. - :param pulumi.Input[str] volume_id: The ID of the volume. - :param pulumi.Input[str] volume_type: The type of volume you want to create (`io1` \\| `gp2` \\| `standard`). If not specified, a `standard` volume is created.
- For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - """ - if creation_date is not None: - pulumi.set(__self__, "creation_date", creation_date) - if iops is not None: - pulumi.set(__self__, "iops", iops) - if linked_volumes is not None: - pulumi.set(__self__, "linked_volumes", linked_volumes) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if size is not None: - pulumi.set(__self__, "size", size) - if snapshot_id is not None: - pulumi.set(__self__, "snapshot_id", snapshot_id) - if state is not None: - pulumi.set(__self__, "state", state) - if subregion_name is not None: - pulumi.set(__self__, "subregion_name", subregion_name) - if tags is not None: - pulumi.set(__self__, "tags", tags) - if termination_snapshot_name is not None: - pulumi.set(__self__, "termination_snapshot_name", termination_snapshot_name) - if volume_id is not None: - pulumi.set(__self__, "volume_id", volume_id) - if volume_type is not None: - pulumi.set(__self__, "volume_type", volume_type) - - @property - @pulumi.getter(name="creationDate") - def creation_date(self) -> Optional[pulumi.Input[str]]: - """ - The date and time of creation of the volume. - """ - return pulumi.get(self, "creation_date") - - @creation_date.setter - def creation_date(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "creation_date", value) - - @property - @pulumi.getter - def iops(self) -> Optional[pulumi.Input[int]]: - """ - The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - """ - return pulumi.get(self, "iops") - - @iops.setter - def iops(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "iops", value) - - @property - @pulumi.getter(name="linkedVolumes") - def linked_volumes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VolumeLinkedVolumeArgs']]]]: - """ - Information about your volume attachment. - """ - return pulumi.get(self, "linked_volumes") - - @linked_volumes.setter - def linked_volumes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VolumeLinkedVolumeArgs']]]]): - pulumi.set(self, "linked_volumes", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter - def size(self) -> Optional[pulumi.Input[int]]: - """ - The size of the volume, in gibibytes (GiB). The maximum allowed size for a volume is 14901 GiB. This parameter is required if the volume is not created from a snapshot (`snapshot_id` unspecified). - """ - return pulumi.get(self, "size") - - @size.setter - def size(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "size", value) - - @property - @pulumi.getter(name="snapshotId") - def snapshot_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the snapshot from which you want to create the volume. - """ - return pulumi.get(self, "snapshot_id") - - @snapshot_id.setter - def snapshot_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "snapshot_id", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - The state of the volume (`creating` \\| `available` \\| `in-use` \\| `updating` \\| `deleting` \\| `error`). - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - @property - @pulumi.getter(name="subregionName") - def subregion_name(self) -> Optional[pulumi.Input[str]]: - """ - The Subregion in which you want to create the volume. - """ - return pulumi.get(self, "subregion_name") - - @subregion_name.setter - def subregion_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "subregion_name", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VolumeTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VolumeTagArgs']]]]): - pulumi.set(self, "tags", value) - - @property - @pulumi.getter(name="terminationSnapshotName") - def termination_snapshot_name(self) -> Optional[pulumi.Input[str]]: - """ - Whether you want to create a snapshot before the volume deletion. - """ - return pulumi.get(self, "termination_snapshot_name") - - @termination_snapshot_name.setter - def termination_snapshot_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "termination_snapshot_name", value) - - @property - @pulumi.getter(name="volumeId") - def volume_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the volume. - """ - return pulumi.get(self, "volume_id") - - @volume_id.setter - def volume_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "volume_id", value) - - @property - @pulumi.getter(name="volumeType") - def volume_type(self) -> Optional[pulumi.Input[str]]: - """ - The type of volume you want to create (`io1` \\| `gp2` \\| `standard`). If not specified, a `standard` volume is created.
- For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - """ - return pulumi.get(self, "volume_type") - - @volume_type.setter - def volume_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "volume_type", value) - - -class Volume(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - iops: Optional[pulumi.Input[int]] = None, - size: Optional[pulumi.Input[int]] = None, - snapshot_id: Optional[pulumi.Input[str]] = None, - subregion_name: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VolumeTagArgs']]]]] = None, - termination_snapshot_name: Optional[pulumi.Input[str]] = None, - volume_type: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - Manages a volume. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Volumes.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-volume). - - ## Example Usage - ### Creating an io1 volume - - ```python - import pulumi - import pulumi_outscale as outscale - - volume01 = outscale.Volume("volume01", - iops=100, - size=10, - subregion_name=f"{var['region']}a", - volume_type="io1") - ``` - ### Creating a snapshot before volume deletion - - ```python - import pulumi - import pulumi_outscale as outscale - - volume01 = outscale.Volume("volume01", - size=40, - subregion_name=f"{var['region']}a", - termination_snapshot_name="deleting_volume_snap") - ``` - - ## Import - - A volume can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/volume:Volume ImportedVolume vol-12345678 - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[int] iops: The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - :param pulumi.Input[int] size: The size of the volume, in gibibytes (GiB). The maximum allowed size for a volume is 14901 GiB. This parameter is required if the volume is not created from a snapshot (`snapshot_id` unspecified). - :param pulumi.Input[str] snapshot_id: The ID of the snapshot from which you want to create the volume. - :param pulumi.Input[str] subregion_name: The Subregion in which you want to create the volume. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VolumeTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - :param pulumi.Input[str] termination_snapshot_name: Whether you want to create a snapshot before the volume deletion. - :param pulumi.Input[str] volume_type: The type of volume you want to create (`io1` \\| `gp2` \\| `standard`). If not specified, a `standard` volume is created.
- For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: VolumeArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages a volume. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Volumes.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-volume). - - ## Example Usage - ### Creating an io1 volume - - ```python - import pulumi - import pulumi_outscale as outscale - - volume01 = outscale.Volume("volume01", - iops=100, - size=10, - subregion_name=f"{var['region']}a", - volume_type="io1") - ``` - ### Creating a snapshot before volume deletion - - ```python - import pulumi - import pulumi_outscale as outscale - - volume01 = outscale.Volume("volume01", - size=40, - subregion_name=f"{var['region']}a", - termination_snapshot_name="deleting_volume_snap") - ``` - - ## Import - - A volume can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/volume:Volume ImportedVolume vol-12345678 - ``` - - :param str resource_name: The name of the resource. - :param VolumeArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(VolumeArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - iops: Optional[pulumi.Input[int]] = None, - size: Optional[pulumi.Input[int]] = None, - snapshot_id: Optional[pulumi.Input[str]] = None, - subregion_name: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VolumeTagArgs']]]]] = None, - termination_snapshot_name: Optional[pulumi.Input[str]] = None, - volume_type: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = VolumeArgs.__new__(VolumeArgs) - - __props__.__dict__["iops"] = iops - __props__.__dict__["size"] = size - __props__.__dict__["snapshot_id"] = snapshot_id - if subregion_name is None and not opts.urn: - raise TypeError("Missing required property 'subregion_name'") - __props__.__dict__["subregion_name"] = subregion_name - __props__.__dict__["tags"] = tags - __props__.__dict__["termination_snapshot_name"] = termination_snapshot_name - __props__.__dict__["volume_type"] = volume_type - __props__.__dict__["creation_date"] = None - __props__.__dict__["linked_volumes"] = None - __props__.__dict__["request_id"] = None - __props__.__dict__["state"] = None - __props__.__dict__["volume_id"] = None - super(Volume, __self__).__init__( - 'outscale:index/volume:Volume', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - creation_date: Optional[pulumi.Input[str]] = None, - iops: Optional[pulumi.Input[int]] = None, - linked_volumes: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VolumeLinkedVolumeArgs']]]]] = None, - request_id: Optional[pulumi.Input[str]] = None, - size: Optional[pulumi.Input[int]] = None, - snapshot_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - subregion_name: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VolumeTagArgs']]]]] = None, - termination_snapshot_name: Optional[pulumi.Input[str]] = None, - volume_id: Optional[pulumi.Input[str]] = None, - volume_type: Optional[pulumi.Input[str]] = None) -> 'Volume': - """ - Get an existing Volume resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] creation_date: The date and time of creation of the volume. - :param pulumi.Input[int] iops: The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VolumeLinkedVolumeArgs']]]] linked_volumes: Information about your volume attachment. - :param pulumi.Input[int] size: The size of the volume, in gibibytes (GiB). The maximum allowed size for a volume is 14901 GiB. This parameter is required if the volume is not created from a snapshot (`snapshot_id` unspecified). - :param pulumi.Input[str] snapshot_id: The ID of the snapshot from which you want to create the volume. - :param pulumi.Input[str] state: The state of the volume (`creating` \\| `available` \\| `in-use` \\| `updating` \\| `deleting` \\| `error`). - :param pulumi.Input[str] subregion_name: The Subregion in which you want to create the volume. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VolumeTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - :param pulumi.Input[str] termination_snapshot_name: Whether you want to create a snapshot before the volume deletion. - :param pulumi.Input[str] volume_id: The ID of the volume. - :param pulumi.Input[str] volume_type: The type of volume you want to create (`io1` \\| `gp2` \\| `standard`). If not specified, a `standard` volume is created.
- For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _VolumeState.__new__(_VolumeState) - - __props__.__dict__["creation_date"] = creation_date - __props__.__dict__["iops"] = iops - __props__.__dict__["linked_volumes"] = linked_volumes - __props__.__dict__["request_id"] = request_id - __props__.__dict__["size"] = size - __props__.__dict__["snapshot_id"] = snapshot_id - __props__.__dict__["state"] = state - __props__.__dict__["subregion_name"] = subregion_name - __props__.__dict__["tags"] = tags - __props__.__dict__["termination_snapshot_name"] = termination_snapshot_name - __props__.__dict__["volume_id"] = volume_id - __props__.__dict__["volume_type"] = volume_type - return Volume(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="creationDate") - def creation_date(self) -> pulumi.Output[str]: - """ - The date and time of creation of the volume. - """ - return pulumi.get(self, "creation_date") - - @property - @pulumi.getter - def iops(self) -> pulumi.Output[int]: - """ - The number of I/O operations per second (IOPS). This parameter must be specified only if you create an `io1` volume. The maximum number of IOPS allowed for `io1` volumes is `13000` with a maximum performance ratio of 300 IOPS per gibibyte. - """ - return pulumi.get(self, "iops") - - @property - @pulumi.getter(name="linkedVolumes") - def linked_volumes(self) -> pulumi.Output[Sequence['outputs.VolumeLinkedVolume']]: - """ - Information about your volume attachment. - """ - return pulumi.get(self, "linked_volumes") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def size(self) -> pulumi.Output[int]: - """ - The size of the volume, in gibibytes (GiB). The maximum allowed size for a volume is 14901 GiB. This parameter is required if the volume is not created from a snapshot (`snapshot_id` unspecified). - """ - return pulumi.get(self, "size") - - @property - @pulumi.getter(name="snapshotId") - def snapshot_id(self) -> pulumi.Output[str]: - """ - The ID of the snapshot from which you want to create the volume. - """ - return pulumi.get(self, "snapshot_id") - - @property - @pulumi.getter - def state(self) -> pulumi.Output[str]: - """ - The state of the volume (`creating` \\| `available` \\| `in-use` \\| `updating` \\| `deleting` \\| `error`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="subregionName") - def subregion_name(self) -> pulumi.Output[str]: - """ - The Subregion in which you want to create the volume. - """ - return pulumi.get(self, "subregion_name") - - @property - @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Sequence['outputs.VolumeTag']]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter(name="terminationSnapshotName") - def termination_snapshot_name(self) -> pulumi.Output[Optional[str]]: - """ - Whether you want to create a snapshot before the volume deletion. - """ - return pulumi.get(self, "termination_snapshot_name") - - @property - @pulumi.getter(name="volumeId") - def volume_id(self) -> pulumi.Output[str]: - """ - The ID of the volume. - """ - return pulumi.get(self, "volume_id") - - @property - @pulumi.getter(name="volumeType") - def volume_type(self) -> pulumi.Output[str]: - """ - The type of volume you want to create (`io1` \\| `gp2` \\| `standard`). If not specified, a `standard` volume is created.
- For more information about volume types, see [About Volumes > Volume Types and IOPS](https://docs.outscale.com/en/userguide/About-Volumes.html#_volume_types_and_iops). - """ - return pulumi.get(self, "volume_type") - diff --git a/sdk/python/pulumi_outscale/volumes_link.py b/sdk/python/pulumi_outscale/volumes_link.py deleted file mode 100644 index feeaaf3..0000000 --- a/sdk/python/pulumi_outscale/volumes_link.py +++ /dev/null @@ -1,436 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities - -__all__ = ['VolumesLinkArgs', 'VolumesLink'] - -@pulumi.input_type -class VolumesLinkArgs: - def __init__(__self__, *, - device_name: pulumi.Input[str], - vm_id: pulumi.Input[str], - volume_id: pulumi.Input[str], - delete_on_vm_termination: Optional[pulumi.Input[bool]] = None, - force_unlink: Optional[pulumi.Input[bool]] = None): - """ - The set of arguments for constructing a VolumesLink resource. - :param pulumi.Input[str] device_name: The name of the device. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - :param pulumi.Input[str] vm_id: The ID of the VM you want to attach the volume to. - :param pulumi.Input[str] volume_id: The ID of the volume you want to attach. - """ - pulumi.set(__self__, "device_name", device_name) - pulumi.set(__self__, "vm_id", vm_id) - pulumi.set(__self__, "volume_id", volume_id) - if delete_on_vm_termination is not None: - pulumi.set(__self__, "delete_on_vm_termination", delete_on_vm_termination) - if force_unlink is not None: - pulumi.set(__self__, "force_unlink", force_unlink) - - @property - @pulumi.getter(name="deviceName") - def device_name(self) -> pulumi.Input[str]: - """ - The name of the device. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - """ - return pulumi.get(self, "device_name") - - @device_name.setter - def device_name(self, value: pulumi.Input[str]): - pulumi.set(self, "device_name", value) - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> pulumi.Input[str]: - """ - The ID of the VM you want to attach the volume to. - """ - return pulumi.get(self, "vm_id") - - @vm_id.setter - def vm_id(self, value: pulumi.Input[str]): - pulumi.set(self, "vm_id", value) - - @property - @pulumi.getter(name="volumeId") - def volume_id(self) -> pulumi.Input[str]: - """ - The ID of the volume you want to attach. - """ - return pulumi.get(self, "volume_id") - - @volume_id.setter - def volume_id(self, value: pulumi.Input[str]): - pulumi.set(self, "volume_id", value) - - @property - @pulumi.getter(name="deleteOnVmTermination") - def delete_on_vm_termination(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "delete_on_vm_termination") - - @delete_on_vm_termination.setter - def delete_on_vm_termination(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "delete_on_vm_termination", value) - - @property - @pulumi.getter(name="forceUnlink") - def force_unlink(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "force_unlink") - - @force_unlink.setter - def force_unlink(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "force_unlink", value) - - -@pulumi.input_type -class _VolumesLinkState: - def __init__(__self__, *, - delete_on_vm_termination: Optional[pulumi.Input[bool]] = None, - device_name: Optional[pulumi.Input[str]] = None, - force_unlink: Optional[pulumi.Input[bool]] = None, - request_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - vm_id: Optional[pulumi.Input[str]] = None, - volume_id: Optional[pulumi.Input[str]] = None): - """ - Input properties used for looking up and filtering VolumesLink resources. - :param pulumi.Input[str] device_name: The name of the device. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - :param pulumi.Input[str] state: The state of the attachment of the volume (`attaching` | `detaching` | `attached` | `detached`). - :param pulumi.Input[str] vm_id: The ID of the VM you want to attach the volume to. - :param pulumi.Input[str] volume_id: The ID of the volume you want to attach. - """ - if delete_on_vm_termination is not None: - pulumi.set(__self__, "delete_on_vm_termination", delete_on_vm_termination) - if device_name is not None: - pulumi.set(__self__, "device_name", device_name) - if force_unlink is not None: - pulumi.set(__self__, "force_unlink", force_unlink) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if state is not None: - pulumi.set(__self__, "state", state) - if vm_id is not None: - pulumi.set(__self__, "vm_id", vm_id) - if volume_id is not None: - pulumi.set(__self__, "volume_id", volume_id) - - @property - @pulumi.getter(name="deleteOnVmTermination") - def delete_on_vm_termination(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "delete_on_vm_termination") - - @delete_on_vm_termination.setter - def delete_on_vm_termination(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "delete_on_vm_termination", value) - - @property - @pulumi.getter(name="deviceName") - def device_name(self) -> Optional[pulumi.Input[str]]: - """ - The name of the device. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - """ - return pulumi.get(self, "device_name") - - @device_name.setter - def device_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "device_name", value) - - @property - @pulumi.getter(name="forceUnlink") - def force_unlink(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "force_unlink") - - @force_unlink.setter - def force_unlink(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "force_unlink", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - The state of the attachment of the volume (`attaching` | `detaching` | `attached` | `detached`). - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the VM you want to attach the volume to. - """ - return pulumi.get(self, "vm_id") - - @vm_id.setter - def vm_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "vm_id", value) - - @property - @pulumi.getter(name="volumeId") - def volume_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the volume you want to attach. - """ - return pulumi.get(self, "volume_id") - - @volume_id.setter - def volume_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "volume_id", value) - - -class VolumesLink(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - delete_on_vm_termination: Optional[pulumi.Input[bool]] = None, - device_name: Optional[pulumi.Input[str]] = None, - force_unlink: Optional[pulumi.Input[bool]] = None, - vm_id: Optional[pulumi.Input[str]] = None, - volume_id: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - Manages a volume link. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Volumes.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-volume). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - volume01 = outscale.Volume("volume01", - subregion_name=f"{var['region']}a", - size=40) - vm01 = outscale.Vm("vm01", - image_id=var["image_id"], - vm_type=var["vm_type"], - keypair_name=var["keypair_name"], - security_group_ids=[var["security_group_id"]]) - ``` - ### Link a volume to a VM - - ```python - import pulumi - import pulumi_outscale as outscale - - volumes_link01 = outscale.VolumesLink("volumesLink01", - device_name="/dev/xvdc", - volume_id=outscale_volume["volume01"]["id"], - vm_id=outscale_vm["vm01"]["id"]) - ``` - - ## Import - - A volume link can be imported using a volume ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/volumesLink:VolumesLink ImportedVolumeLink vol-12345678 - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] device_name: The name of the device. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - :param pulumi.Input[str] vm_id: The ID of the VM you want to attach the volume to. - :param pulumi.Input[str] volume_id: The ID of the volume you want to attach. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: VolumesLinkArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages a volume link. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Volumes.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-volume). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - volume01 = outscale.Volume("volume01", - subregion_name=f"{var['region']}a", - size=40) - vm01 = outscale.Vm("vm01", - image_id=var["image_id"], - vm_type=var["vm_type"], - keypair_name=var["keypair_name"], - security_group_ids=[var["security_group_id"]]) - ``` - ### Link a volume to a VM - - ```python - import pulumi - import pulumi_outscale as outscale - - volumes_link01 = outscale.VolumesLink("volumesLink01", - device_name="/dev/xvdc", - volume_id=outscale_volume["volume01"]["id"], - vm_id=outscale_vm["vm01"]["id"]) - ``` - - ## Import - - A volume link can be imported using a volume ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/volumesLink:VolumesLink ImportedVolumeLink vol-12345678 - ``` - - :param str resource_name: The name of the resource. - :param VolumesLinkArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(VolumesLinkArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - delete_on_vm_termination: Optional[pulumi.Input[bool]] = None, - device_name: Optional[pulumi.Input[str]] = None, - force_unlink: Optional[pulumi.Input[bool]] = None, - vm_id: Optional[pulumi.Input[str]] = None, - volume_id: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = VolumesLinkArgs.__new__(VolumesLinkArgs) - - __props__.__dict__["delete_on_vm_termination"] = delete_on_vm_termination - if device_name is None and not opts.urn: - raise TypeError("Missing required property 'device_name'") - __props__.__dict__["device_name"] = device_name - __props__.__dict__["force_unlink"] = force_unlink - if vm_id is None and not opts.urn: - raise TypeError("Missing required property 'vm_id'") - __props__.__dict__["vm_id"] = vm_id - if volume_id is None and not opts.urn: - raise TypeError("Missing required property 'volume_id'") - __props__.__dict__["volume_id"] = volume_id - __props__.__dict__["request_id"] = None - __props__.__dict__["state"] = None - super(VolumesLink, __self__).__init__( - 'outscale:index/volumesLink:VolumesLink', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - delete_on_vm_termination: Optional[pulumi.Input[bool]] = None, - device_name: Optional[pulumi.Input[str]] = None, - force_unlink: Optional[pulumi.Input[bool]] = None, - request_id: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - vm_id: Optional[pulumi.Input[str]] = None, - volume_id: Optional[pulumi.Input[str]] = None) -> 'VolumesLink': - """ - Get an existing VolumesLink resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] device_name: The name of the device. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - :param pulumi.Input[str] state: The state of the attachment of the volume (`attaching` | `detaching` | `attached` | `detached`). - :param pulumi.Input[str] vm_id: The ID of the VM you want to attach the volume to. - :param pulumi.Input[str] volume_id: The ID of the volume you want to attach. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _VolumesLinkState.__new__(_VolumesLinkState) - - __props__.__dict__["delete_on_vm_termination"] = delete_on_vm_termination - __props__.__dict__["device_name"] = device_name - __props__.__dict__["force_unlink"] = force_unlink - __props__.__dict__["request_id"] = request_id - __props__.__dict__["state"] = state - __props__.__dict__["vm_id"] = vm_id - __props__.__dict__["volume_id"] = volume_id - return VolumesLink(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="deleteOnVmTermination") - def delete_on_vm_termination(self) -> pulumi.Output[Optional[bool]]: - return pulumi.get(self, "delete_on_vm_termination") - - @property - @pulumi.getter(name="deviceName") - def device_name(self) -> pulumi.Output[str]: - """ - The name of the device. For a root device, you must use `/dev/sda1`. For other volumes, you must use `/dev/sdX`, `/dev/sdXX`, `/dev/xvdX`, or `/dev/xvdXX` (where the first `X` is a letter between `b` and `z`, and the second `X` is a letter between `a` and `z`). - """ - return pulumi.get(self, "device_name") - - @property - @pulumi.getter(name="forceUnlink") - def force_unlink(self) -> pulumi.Output[bool]: - return pulumi.get(self, "force_unlink") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def state(self) -> pulumi.Output[str]: - """ - The state of the attachment of the volume (`attaching` | `detaching` | `attached` | `detached`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="vmId") - def vm_id(self) -> pulumi.Output[str]: - """ - The ID of the VM you want to attach the volume to. - """ - return pulumi.get(self, "vm_id") - - @property - @pulumi.getter(name="volumeId") - def volume_id(self) -> pulumi.Output[str]: - """ - The ID of the volume you want to attach. - """ - return pulumi.get(self, "volume_id") - diff --git a/sdk/python/pulumi_outscale/vpn_connection.py b/sdk/python/pulumi_outscale/vpn_connection.py deleted file mode 100644 index 20602af..0000000 --- a/sdk/python/pulumi_outscale/vpn_connection.py +++ /dev/null @@ -1,580 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['VpnConnectionArgs', 'VpnConnection'] - -@pulumi.input_type -class VpnConnectionArgs: - def __init__(__self__, *, - client_gateway_id: pulumi.Input[str], - connection_type: pulumi.Input[str], - virtual_gateway_id: pulumi.Input[str], - static_routes_only: Optional[pulumi.Input[bool]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['VpnConnectionTagArgs']]]] = None): - """ - The set of arguments for constructing a VpnConnection resource. - :param pulumi.Input[str] client_gateway_id: The ID of the client gateway. - :param pulumi.Input[str] connection_type: The type of VPN connection (only `ipsec.1` is supported). - :param pulumi.Input[str] virtual_gateway_id: The ID of the virtual gateway. - :param pulumi.Input[bool] static_routes_only: If false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see [CreateVpnConnectionRoute](https://docs.outscale.com/api#createvpnconnectionroute) and [DeleteVpnConnectionRoute](https://docs.outscale.com/api#deletevpnconnectionroute). - :param pulumi.Input[Sequence[pulumi.Input['VpnConnectionTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - """ - pulumi.set(__self__, "client_gateway_id", client_gateway_id) - pulumi.set(__self__, "connection_type", connection_type) - pulumi.set(__self__, "virtual_gateway_id", virtual_gateway_id) - if static_routes_only is not None: - pulumi.set(__self__, "static_routes_only", static_routes_only) - if tags is not None: - pulumi.set(__self__, "tags", tags) - - @property - @pulumi.getter(name="clientGatewayId") - def client_gateway_id(self) -> pulumi.Input[str]: - """ - The ID of the client gateway. - """ - return pulumi.get(self, "client_gateway_id") - - @client_gateway_id.setter - def client_gateway_id(self, value: pulumi.Input[str]): - pulumi.set(self, "client_gateway_id", value) - - @property - @pulumi.getter(name="connectionType") - def connection_type(self) -> pulumi.Input[str]: - """ - The type of VPN connection (only `ipsec.1` is supported). - """ - return pulumi.get(self, "connection_type") - - @connection_type.setter - def connection_type(self, value: pulumi.Input[str]): - pulumi.set(self, "connection_type", value) - - @property - @pulumi.getter(name="virtualGatewayId") - def virtual_gateway_id(self) -> pulumi.Input[str]: - """ - The ID of the virtual gateway. - """ - return pulumi.get(self, "virtual_gateway_id") - - @virtual_gateway_id.setter - def virtual_gateway_id(self, value: pulumi.Input[str]): - pulumi.set(self, "virtual_gateway_id", value) - - @property - @pulumi.getter(name="staticRoutesOnly") - def static_routes_only(self) -> Optional[pulumi.Input[bool]]: - """ - If false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see [CreateVpnConnectionRoute](https://docs.outscale.com/api#createvpnconnectionroute) and [DeleteVpnConnectionRoute](https://docs.outscale.com/api#deletevpnconnectionroute). - """ - return pulumi.get(self, "static_routes_only") - - @static_routes_only.setter - def static_routes_only(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "static_routes_only", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VpnConnectionTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VpnConnectionTagArgs']]]]): - pulumi.set(self, "tags", value) - - -@pulumi.input_type -class _VpnConnectionState: - def __init__(__self__, *, - client_gateway_configuration: Optional[pulumi.Input[str]] = None, - client_gateway_id: Optional[pulumi.Input[str]] = None, - connection_type: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - routes: Optional[pulumi.Input[Sequence[pulumi.Input['VpnConnectionRouteArgs']]]] = None, - state: Optional[pulumi.Input[str]] = None, - static_routes_only: Optional[pulumi.Input[bool]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['VpnConnectionTagArgs']]]] = None, - vgw_telemetries: Optional[pulumi.Input[Sequence[pulumi.Input['VpnConnectionVgwTelemetryArgs']]]] = None, - virtual_gateway_id: Optional[pulumi.Input[str]] = None, - vpn_connection_id: Optional[pulumi.Input[str]] = None): - """ - Input properties used for looking up and filtering VpnConnection resources. - :param pulumi.Input[str] client_gateway_configuration: Example configuration for the client gateway. - :param pulumi.Input[str] client_gateway_id: The ID of the client gateway. - :param pulumi.Input[str] connection_type: The type of VPN connection (only `ipsec.1` is supported). - :param pulumi.Input[Sequence[pulumi.Input['VpnConnectionRouteArgs']]] routes: Information about one or more static routes associated with the VPN connection, if any. - :param pulumi.Input[str] state: The state of the IPSEC tunnel (`UP` \\| `DOWN`). - :param pulumi.Input[bool] static_routes_only: If false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see [CreateVpnConnectionRoute](https://docs.outscale.com/api#createvpnconnectionroute) and [DeleteVpnConnectionRoute](https://docs.outscale.com/api#deletevpnconnectionroute). - :param pulumi.Input[Sequence[pulumi.Input['VpnConnectionTagArgs']]] tags: A tag to add to this resource. You can specify this argument several times. - :param pulumi.Input[Sequence[pulumi.Input['VpnConnectionVgwTelemetryArgs']]] vgw_telemetries: Information about the current state of one or more of the VPN tunnels. - :param pulumi.Input[str] virtual_gateway_id: The ID of the virtual gateway. - :param pulumi.Input[str] vpn_connection_id: The ID of the VPN connection. - """ - if client_gateway_configuration is not None: - pulumi.set(__self__, "client_gateway_configuration", client_gateway_configuration) - if client_gateway_id is not None: - pulumi.set(__self__, "client_gateway_id", client_gateway_id) - if connection_type is not None: - pulumi.set(__self__, "connection_type", connection_type) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if routes is not None: - pulumi.set(__self__, "routes", routes) - if state is not None: - pulumi.set(__self__, "state", state) - if static_routes_only is not None: - pulumi.set(__self__, "static_routes_only", static_routes_only) - if tags is not None: - pulumi.set(__self__, "tags", tags) - if vgw_telemetries is not None: - pulumi.set(__self__, "vgw_telemetries", vgw_telemetries) - if virtual_gateway_id is not None: - pulumi.set(__self__, "virtual_gateway_id", virtual_gateway_id) - if vpn_connection_id is not None: - pulumi.set(__self__, "vpn_connection_id", vpn_connection_id) - - @property - @pulumi.getter(name="clientGatewayConfiguration") - def client_gateway_configuration(self) -> Optional[pulumi.Input[str]]: - """ - Example configuration for the client gateway. - """ - return pulumi.get(self, "client_gateway_configuration") - - @client_gateway_configuration.setter - def client_gateway_configuration(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "client_gateway_configuration", value) - - @property - @pulumi.getter(name="clientGatewayId") - def client_gateway_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the client gateway. - """ - return pulumi.get(self, "client_gateway_id") - - @client_gateway_id.setter - def client_gateway_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "client_gateway_id", value) - - @property - @pulumi.getter(name="connectionType") - def connection_type(self) -> Optional[pulumi.Input[str]]: - """ - The type of VPN connection (only `ipsec.1` is supported). - """ - return pulumi.get(self, "connection_type") - - @connection_type.setter - def connection_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "connection_type", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter - def routes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VpnConnectionRouteArgs']]]]: - """ - Information about one or more static routes associated with the VPN connection, if any. - """ - return pulumi.get(self, "routes") - - @routes.setter - def routes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VpnConnectionRouteArgs']]]]): - pulumi.set(self, "routes", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - The state of the IPSEC tunnel (`UP` \\| `DOWN`). - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - @property - @pulumi.getter(name="staticRoutesOnly") - def static_routes_only(self) -> Optional[pulumi.Input[bool]]: - """ - If false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see [CreateVpnConnectionRoute](https://docs.outscale.com/api#createvpnconnectionroute) and [DeleteVpnConnectionRoute](https://docs.outscale.com/api#deletevpnconnectionroute). - """ - return pulumi.get(self, "static_routes_only") - - @static_routes_only.setter - def static_routes_only(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "static_routes_only", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VpnConnectionTagArgs']]]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VpnConnectionTagArgs']]]]): - pulumi.set(self, "tags", value) - - @property - @pulumi.getter(name="vgwTelemetries") - def vgw_telemetries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VpnConnectionVgwTelemetryArgs']]]]: - """ - Information about the current state of one or more of the VPN tunnels. - """ - return pulumi.get(self, "vgw_telemetries") - - @vgw_telemetries.setter - def vgw_telemetries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VpnConnectionVgwTelemetryArgs']]]]): - pulumi.set(self, "vgw_telemetries", value) - - @property - @pulumi.getter(name="virtualGatewayId") - def virtual_gateway_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the virtual gateway. - """ - return pulumi.get(self, "virtual_gateway_id") - - @virtual_gateway_id.setter - def virtual_gateway_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "virtual_gateway_id", value) - - @property - @pulumi.getter(name="vpnConnectionId") - def vpn_connection_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the VPN connection. - """ - return pulumi.get(self, "vpn_connection_id") - - @vpn_connection_id.setter - def vpn_connection_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "vpn_connection_id", value) - - -class VpnConnection(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - client_gateway_id: Optional[pulumi.Input[str]] = None, - connection_type: Optional[pulumi.Input[str]] = None, - static_routes_only: Optional[pulumi.Input[bool]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VpnConnectionTagArgs']]]]] = None, - virtual_gateway_id: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - Manages a VPN connection. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPN-Connections.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-vpnconnection). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - client_gateway01 = outscale.ClientGateway("clientGateway01", - bgp_asn=65000, - connection_type="ipsec.1", - public_ip="111.11.11.111") - virtual_gateway01 = outscale.VirtualGateway("virtualGateway01", connection_type="ipsec.1") - ``` - ### Create a VPN connection - - ```python - import pulumi - import pulumi_outscale as outscale - - vpn_connection01 = outscale.VpnConnection("vpnConnection01", - client_gateway_id=outscale_client_gateway["client_gateway01"]["client_gateway_id"], - virtual_gateway_id=outscale_virtual_gateway["virtual_gateway01"]["virtual_gateway_id"], - connection_type="ipsec.1", - static_routes_only=True, - tags=[outscale.VpnConnectionTagArgs( - key="Name", - value="vpn01", - )]) - ``` - - ## Import - - A VPN connection can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/vpnConnection:VpnConnection ImportedVPN vpn-12345678 - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] client_gateway_id: The ID of the client gateway. - :param pulumi.Input[str] connection_type: The type of VPN connection (only `ipsec.1` is supported). - :param pulumi.Input[bool] static_routes_only: If false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see [CreateVpnConnectionRoute](https://docs.outscale.com/api#createvpnconnectionroute) and [DeleteVpnConnectionRoute](https://docs.outscale.com/api#deletevpnconnectionroute). - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VpnConnectionTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - :param pulumi.Input[str] virtual_gateway_id: The ID of the virtual gateway. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: VpnConnectionArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages a VPN connection. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-VPN-Connections.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-vpnconnection). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - client_gateway01 = outscale.ClientGateway("clientGateway01", - bgp_asn=65000, - connection_type="ipsec.1", - public_ip="111.11.11.111") - virtual_gateway01 = outscale.VirtualGateway("virtualGateway01", connection_type="ipsec.1") - ``` - ### Create a VPN connection - - ```python - import pulumi - import pulumi_outscale as outscale - - vpn_connection01 = outscale.VpnConnection("vpnConnection01", - client_gateway_id=outscale_client_gateway["client_gateway01"]["client_gateway_id"], - virtual_gateway_id=outscale_virtual_gateway["virtual_gateway01"]["virtual_gateway_id"], - connection_type="ipsec.1", - static_routes_only=True, - tags=[outscale.VpnConnectionTagArgs( - key="Name", - value="vpn01", - )]) - ``` - - ## Import - - A VPN connection can be imported using its ID. For exampleconsole - - ```sh - $ pulumi import outscale:index/vpnConnection:VpnConnection ImportedVPN vpn-12345678 - ``` - - :param str resource_name: The name of the resource. - :param VpnConnectionArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(VpnConnectionArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - client_gateway_id: Optional[pulumi.Input[str]] = None, - connection_type: Optional[pulumi.Input[str]] = None, - static_routes_only: Optional[pulumi.Input[bool]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VpnConnectionTagArgs']]]]] = None, - virtual_gateway_id: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = VpnConnectionArgs.__new__(VpnConnectionArgs) - - if client_gateway_id is None and not opts.urn: - raise TypeError("Missing required property 'client_gateway_id'") - __props__.__dict__["client_gateway_id"] = client_gateway_id - if connection_type is None and not opts.urn: - raise TypeError("Missing required property 'connection_type'") - __props__.__dict__["connection_type"] = connection_type - __props__.__dict__["static_routes_only"] = static_routes_only - __props__.__dict__["tags"] = tags - if virtual_gateway_id is None and not opts.urn: - raise TypeError("Missing required property 'virtual_gateway_id'") - __props__.__dict__["virtual_gateway_id"] = virtual_gateway_id - __props__.__dict__["client_gateway_configuration"] = None - __props__.__dict__["request_id"] = None - __props__.__dict__["routes"] = None - __props__.__dict__["state"] = None - __props__.__dict__["vgw_telemetries"] = None - __props__.__dict__["vpn_connection_id"] = None - super(VpnConnection, __self__).__init__( - 'outscale:index/vpnConnection:VpnConnection', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - client_gateway_configuration: Optional[pulumi.Input[str]] = None, - client_gateway_id: Optional[pulumi.Input[str]] = None, - connection_type: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - routes: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VpnConnectionRouteArgs']]]]] = None, - state: Optional[pulumi.Input[str]] = None, - static_routes_only: Optional[pulumi.Input[bool]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VpnConnectionTagArgs']]]]] = None, - vgw_telemetries: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VpnConnectionVgwTelemetryArgs']]]]] = None, - virtual_gateway_id: Optional[pulumi.Input[str]] = None, - vpn_connection_id: Optional[pulumi.Input[str]] = None) -> 'VpnConnection': - """ - Get an existing VpnConnection resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] client_gateway_configuration: Example configuration for the client gateway. - :param pulumi.Input[str] client_gateway_id: The ID of the client gateway. - :param pulumi.Input[str] connection_type: The type of VPN connection (only `ipsec.1` is supported). - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VpnConnectionRouteArgs']]]] routes: Information about one or more static routes associated with the VPN connection, if any. - :param pulumi.Input[str] state: The state of the IPSEC tunnel (`UP` \\| `DOWN`). - :param pulumi.Input[bool] static_routes_only: If false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see [CreateVpnConnectionRoute](https://docs.outscale.com/api#createvpnconnectionroute) and [DeleteVpnConnectionRoute](https://docs.outscale.com/api#deletevpnconnectionroute). - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VpnConnectionTagArgs']]]] tags: A tag to add to this resource. You can specify this argument several times. - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VpnConnectionVgwTelemetryArgs']]]] vgw_telemetries: Information about the current state of one or more of the VPN tunnels. - :param pulumi.Input[str] virtual_gateway_id: The ID of the virtual gateway. - :param pulumi.Input[str] vpn_connection_id: The ID of the VPN connection. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _VpnConnectionState.__new__(_VpnConnectionState) - - __props__.__dict__["client_gateway_configuration"] = client_gateway_configuration - __props__.__dict__["client_gateway_id"] = client_gateway_id - __props__.__dict__["connection_type"] = connection_type - __props__.__dict__["request_id"] = request_id - __props__.__dict__["routes"] = routes - __props__.__dict__["state"] = state - __props__.__dict__["static_routes_only"] = static_routes_only - __props__.__dict__["tags"] = tags - __props__.__dict__["vgw_telemetries"] = vgw_telemetries - __props__.__dict__["virtual_gateway_id"] = virtual_gateway_id - __props__.__dict__["vpn_connection_id"] = vpn_connection_id - return VpnConnection(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="clientGatewayConfiguration") - def client_gateway_configuration(self) -> pulumi.Output[str]: - """ - Example configuration for the client gateway. - """ - return pulumi.get(self, "client_gateway_configuration") - - @property - @pulumi.getter(name="clientGatewayId") - def client_gateway_id(self) -> pulumi.Output[str]: - """ - The ID of the client gateway. - """ - return pulumi.get(self, "client_gateway_id") - - @property - @pulumi.getter(name="connectionType") - def connection_type(self) -> pulumi.Output[str]: - """ - The type of VPN connection (only `ipsec.1` is supported). - """ - return pulumi.get(self, "connection_type") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter - def routes(self) -> pulumi.Output[Sequence['outputs.VpnConnectionRoute']]: - """ - Information about one or more static routes associated with the VPN connection, if any. - """ - return pulumi.get(self, "routes") - - @property - @pulumi.getter - def state(self) -> pulumi.Output[str]: - """ - The state of the IPSEC tunnel (`UP` \\| `DOWN`). - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="staticRoutesOnly") - def static_routes_only(self) -> pulumi.Output[Optional[bool]]: - """ - If false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see [CreateVpnConnectionRoute](https://docs.outscale.com/api#createvpnconnectionroute) and [DeleteVpnConnectionRoute](https://docs.outscale.com/api#deletevpnconnectionroute). - """ - return pulumi.get(self, "static_routes_only") - - @property - @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Sequence['outputs.VpnConnectionTag']]]: - """ - A tag to add to this resource. You can specify this argument several times. - """ - return pulumi.get(self, "tags") - - @property - @pulumi.getter(name="vgwTelemetries") - def vgw_telemetries(self) -> pulumi.Output[Sequence['outputs.VpnConnectionVgwTelemetry']]: - """ - Information about the current state of one or more of the VPN tunnels. - """ - return pulumi.get(self, "vgw_telemetries") - - @property - @pulumi.getter(name="virtualGatewayId") - def virtual_gateway_id(self) -> pulumi.Output[str]: - """ - The ID of the virtual gateway. - """ - return pulumi.get(self, "virtual_gateway_id") - - @property - @pulumi.getter(name="vpnConnectionId") - def vpn_connection_id(self) -> pulumi.Output[str]: - """ - The ID of the VPN connection. - """ - return pulumi.get(self, "vpn_connection_id") - diff --git a/sdk/python/pulumi_outscale/vpn_connection_route.py b/sdk/python/pulumi_outscale/vpn_connection_route.py deleted file mode 100644 index df3b15a..0000000 --- a/sdk/python/pulumi_outscale/vpn_connection_route.py +++ /dev/null @@ -1,294 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import copy -import warnings -import pulumi -import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload -from . import _utilities - -__all__ = ['VpnConnectionRouteInitArgs', 'VpnConnectionRoute'] - -@pulumi.input_type -class VpnConnectionRouteInitArgs: - def __init__(__self__, *, - destination_ip_range: pulumi.Input[str], - vpn_connection_id: pulumi.Input[str]): - """ - The set of arguments for constructing a VpnConnectionRoute resource. - :param pulumi.Input[str] destination_ip_range: The network prefix of the route, in CIDR notation (for example, `10.12.0.0/16`). - :param pulumi.Input[str] vpn_connection_id: The ID of the target VPN connection of the static route. - """ - pulumi.set(__self__, "destination_ip_range", destination_ip_range) - pulumi.set(__self__, "vpn_connection_id", vpn_connection_id) - - @property - @pulumi.getter(name="destinationIpRange") - def destination_ip_range(self) -> pulumi.Input[str]: - """ - The network prefix of the route, in CIDR notation (for example, `10.12.0.0/16`). - """ - return pulumi.get(self, "destination_ip_range") - - @destination_ip_range.setter - def destination_ip_range(self, value: pulumi.Input[str]): - pulumi.set(self, "destination_ip_range", value) - - @property - @pulumi.getter(name="vpnConnectionId") - def vpn_connection_id(self) -> pulumi.Input[str]: - """ - The ID of the target VPN connection of the static route. - """ - return pulumi.get(self, "vpn_connection_id") - - @vpn_connection_id.setter - def vpn_connection_id(self, value: pulumi.Input[str]): - pulumi.set(self, "vpn_connection_id", value) - - -@pulumi.input_type -class _VpnConnectionRouteState: - def __init__(__self__, *, - destination_ip_range: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - vpn_connection_id: Optional[pulumi.Input[str]] = None): - """ - Input properties used for looking up and filtering VpnConnectionRoute resources. - :param pulumi.Input[str] destination_ip_range: The network prefix of the route, in CIDR notation (for example, `10.12.0.0/16`). - :param pulumi.Input[str] vpn_connection_id: The ID of the target VPN connection of the static route. - """ - if destination_ip_range is not None: - pulumi.set(__self__, "destination_ip_range", destination_ip_range) - if request_id is not None: - pulumi.set(__self__, "request_id", request_id) - if vpn_connection_id is not None: - pulumi.set(__self__, "vpn_connection_id", vpn_connection_id) - - @property - @pulumi.getter(name="destinationIpRange") - def destination_ip_range(self) -> Optional[pulumi.Input[str]]: - """ - The network prefix of the route, in CIDR notation (for example, `10.12.0.0/16`). - """ - return pulumi.get(self, "destination_ip_range") - - @destination_ip_range.setter - def destination_ip_range(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "destination_ip_range", value) - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "request_id") - - @request_id.setter - def request_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "request_id", value) - - @property - @pulumi.getter(name="vpnConnectionId") - def vpn_connection_id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the target VPN connection of the static route. - """ - return pulumi.get(self, "vpn_connection_id") - - @vpn_connection_id.setter - def vpn_connection_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "vpn_connection_id", value) - - -class VpnConnectionRoute(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - destination_ip_range: Optional[pulumi.Input[str]] = None, - vpn_connection_id: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - Manages a VPN connection route. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Routing-Configuration-for-VPN-Connections.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-vpnconnection). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - client_gateway01 = outscale.ClientGateway("clientGateway01", - bgp_asn=65000, - public_ip="111.11.11.111", - connection_type="ipsec.1") - virtual_gateway01 = outscale.VirtualGateway("virtualGateway01", connection_type="ipsec.1") - vpn_connection01 = outscale.VpnConnection("vpnConnection01", - client_gateway_id=client_gateway01.client_gateway_id, - virtual_gateway_id=virtual_gateway01.virtual_gateway_id, - connection_type="ipsec.1", - static_routes_only=True) - ``` - ### Create a static route to a VPN connection - - ```python - import pulumi - import pulumi_outscale as outscale - - vpn_connection_route01 = outscale.VpnConnectionRoute("vpnConnectionRoute01", - vpn_connection_id=outscale_vpn_connection["vpn_connection01"]["vpn_connection_id"], - destination_ip_range="10.0.0.0/16") - ``` - - ## Import - - A VPN connection route can be imported using the VPN connection ID and the route destination IP range. For exampleconsole - - ```sh - $ pulumi import outscale:index/vpnConnectionRoute:VpnConnectionRoute ImportedRoute vpn-12345678_10.0.0.0/0 - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] destination_ip_range: The network prefix of the route, in CIDR notation (for example, `10.12.0.0/16`). - :param pulumi.Input[str] vpn_connection_id: The ID of the target VPN connection of the static route. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: VpnConnectionRouteInitArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Manages a VPN connection route. - - For more information on this resource, see the [User Guide](https://docs.outscale.com/en/userguide/About-Routing-Configuration-for-VPN-Connections.html).\\ - For more information on this resource actions, see the [API documentation](https://docs.outscale.com/api#3ds-outscale-api-vpnconnection). - - ## Example Usage - ### Required resources - - ```python - import pulumi - import pulumi_outscale as outscale - - client_gateway01 = outscale.ClientGateway("clientGateway01", - bgp_asn=65000, - public_ip="111.11.11.111", - connection_type="ipsec.1") - virtual_gateway01 = outscale.VirtualGateway("virtualGateway01", connection_type="ipsec.1") - vpn_connection01 = outscale.VpnConnection("vpnConnection01", - client_gateway_id=client_gateway01.client_gateway_id, - virtual_gateway_id=virtual_gateway01.virtual_gateway_id, - connection_type="ipsec.1", - static_routes_only=True) - ``` - ### Create a static route to a VPN connection - - ```python - import pulumi - import pulumi_outscale as outscale - - vpn_connection_route01 = outscale.VpnConnectionRoute("vpnConnectionRoute01", - vpn_connection_id=outscale_vpn_connection["vpn_connection01"]["vpn_connection_id"], - destination_ip_range="10.0.0.0/16") - ``` - - ## Import - - A VPN connection route can be imported using the VPN connection ID and the route destination IP range. For exampleconsole - - ```sh - $ pulumi import outscale:index/vpnConnectionRoute:VpnConnectionRoute ImportedRoute vpn-12345678_10.0.0.0/0 - ``` - - :param str resource_name: The name of the resource. - :param VpnConnectionRouteInitArgs args: The arguments to use to populate this resource's properties. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - def __init__(__self__, resource_name: str, *args, **kwargs): - resource_args, opts = _utilities.get_resource_args_opts(VpnConnectionRouteInitArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - destination_ip_range: Optional[pulumi.Input[str]] = None, - vpn_connection_id: Optional[pulumi.Input[str]] = None, - __props__=None): - opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) - if not isinstance(opts, pulumi.ResourceOptions): - raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.id is None: - if __props__ is not None: - raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') - __props__ = VpnConnectionRouteInitArgs.__new__(VpnConnectionRouteInitArgs) - - if destination_ip_range is None and not opts.urn: - raise TypeError("Missing required property 'destination_ip_range'") - __props__.__dict__["destination_ip_range"] = destination_ip_range - if vpn_connection_id is None and not opts.urn: - raise TypeError("Missing required property 'vpn_connection_id'") - __props__.__dict__["vpn_connection_id"] = vpn_connection_id - __props__.__dict__["request_id"] = None - super(VpnConnectionRoute, __self__).__init__( - 'outscale:index/vpnConnectionRoute:VpnConnectionRoute', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - destination_ip_range: Optional[pulumi.Input[str]] = None, - request_id: Optional[pulumi.Input[str]] = None, - vpn_connection_id: Optional[pulumi.Input[str]] = None) -> 'VpnConnectionRoute': - """ - Get an existing VpnConnectionRoute resource's state with the given name, id, and optional extra - properties used to qualify the lookup. - - :param str resource_name: The unique name of the resulting resource. - :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] destination_ip_range: The network prefix of the route, in CIDR notation (for example, `10.12.0.0/16`). - :param pulumi.Input[str] vpn_connection_id: The ID of the target VPN connection of the static route. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _VpnConnectionRouteState.__new__(_VpnConnectionRouteState) - - __props__.__dict__["destination_ip_range"] = destination_ip_range - __props__.__dict__["request_id"] = request_id - __props__.__dict__["vpn_connection_id"] = vpn_connection_id - return VpnConnectionRoute(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="destinationIpRange") - def destination_ip_range(self) -> pulumi.Output[str]: - """ - The network prefix of the route, in CIDR notation (for example, `10.12.0.0/16`). - """ - return pulumi.get(self, "destination_ip_range") - - @property - @pulumi.getter(name="requestId") - def request_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "request_id") - - @property - @pulumi.getter(name="vpnConnectionId") - def vpn_connection_id(self) -> pulumi.Output[str]: - """ - The ID of the target VPN connection of the static route. - """ - return pulumi.get(self, "vpn_connection_id") - diff --git a/sdk/python/setup.py b/sdk/python/setup.py deleted file mode 100644 index dc6de9e..0000000 --- a/sdk/python/setup.py +++ /dev/null @@ -1,44 +0,0 @@ -# coding=utf-8 -# *** 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! *** - -import errno -from setuptools import setup, find_packages -from setuptools.command.install import install -from subprocess import check_call - - -VERSION = "0.0.0" -def readme(): - try: - with open('README.md', encoding='utf-8') as f: - return f.read() - except FileNotFoundError: - return "outscale Pulumi Package - Development Version" - - -setup(name='pulumi_outscale', - python_requires='>=3.7', - version=VERSION, - description="A Pulumi package for creating and managing outscale cloud resources.", - long_description=readme(), - long_description_content_type='text/markdown', - keywords='pulumi outscale category/cloud', - url='https://www.pulumi.com', - project_urls={ - 'Repository': 'https://github.com/outscale/pulumi-outscale' - }, - license='Apache-2.0', - packages=find_packages(), - package_data={ - 'pulumi_outscale': [ - 'py.typed', - 'pulumi-plugin.json', - ] - }, - install_requires=[ - 'parver>=0.2.1', - 'pulumi>=3.0.0,<4.0.0', - 'semver>=2.8.1' - ], - zip_safe=False)