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
- {
- ///